Skip to content

Commit

Permalink
src/yajl/yajl_tree.h: declare yajl_tree_parse_afs as a YAJL_API
Browse files Browse the repository at this point in the history
  • Loading branch information
robohack committed Mar 22, 2024
1 parent b7b7624 commit 6f12825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/yajl/yajl_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extern "C" {
#endif

/*+ an optional hook to allow use of custom yajl_alloc_funcs with yajl_tree_parse() +*/
extern yajl_alloc_funcs *yajl_tree_parse_afs;
extern YAJL_API yajl_alloc_funcs *yajl_tree_parse_afs;

/*+ possible data types that a yajl_val_s can hold +*/
typedef enum {
Expand Down
2 changes: 1 addition & 1 deletion src/yajl_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define STATUS_CONTINUE 1
#define STATUS_ABORT 0

yajl_alloc_funcs *yajl_tree_parse_afs = NULL;
YAJL_API yajl_alloc_funcs *yajl_tree_parse_afs = NULL;

struct stack_elem_s;
typedef struct stack_elem_s stack_elem_t;
Expand Down

0 comments on commit 6f12825

Please sign in to comment.