libCom: Make yajl_alloc.h usable
This commit is contained in:
@@ -13,6 +13,7 @@ SRC_DIRS += $(LIBCOM)/yacc
|
||||
|
||||
# Yet Another JSON Library
|
||||
SRC_DIRS += $(LIBCOM)/yajl
|
||||
INC += yajl_alloc.h
|
||||
INC += yajl_common.h
|
||||
INC += yajl_gen.h
|
||||
INC += yajl_parse.h
|
||||
|
||||
@@ -45,6 +45,6 @@
|
||||
#define YA_FREE(afs, ptr) (afs)->free((afs)->ctx, (ptr))
|
||||
#define YA_REALLOC(afs, ptr, sz) (afs)->realloc((afs)->ctx, (ptr), (sz))
|
||||
|
||||
void yajl_set_default_alloc_funcs(yajl_alloc_funcs * yaf);
|
||||
YAJL_API void yajl_set_default_alloc_funcs(yajl_alloc_funcs * yaf);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user