| @@ -33,6 +33,7 @@ struct array_list | |||||
| size_t size; | size_t size; | ||||
| array_list_free_fn *free_fn; | array_list_free_fn *free_fn; | ||||
| }; | }; | ||||
| typedef struct array_list array_list; | |||||
| extern struct array_list* | extern struct array_list* | ||||
| array_list_new(array_list_free_fn *free_fn); | array_list_new(array_list_free_fn *free_fn); | ||||
| @@ -35,6 +35,7 @@ | |||||
| #include <stddef.h> | #include <stddef.h> | ||||
| #include "json_inttypes.h" | #include "json_inttypes.h" | ||||
| #include "printbuf.h" | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| @@ -145,21 +146,6 @@ struct json_object_iter | |||||
| }; | }; | ||||
| typedef struct json_object_iter json_object_iter; | typedef struct json_object_iter json_object_iter; | ||||
| /* forward structure definitions */ | |||||
| /** | |||||
| * @deprecated Unused in json-c sources | |||||
| */ | |||||
| typedef struct printbuf printbuf; | |||||
| /** | |||||
| * @deprecated Unused in json-c sources | |||||
| */ | |||||
| typedef struct lh_table lh_table; | |||||
| /** | |||||
| * @deprecated Unused in json-c sources | |||||
| */ | |||||
| typedef struct array_list array_list; | |||||
| typedef int json_bool; | typedef int json_bool; | ||||
| /** | /** | ||||
| @@ -139,6 +139,7 @@ struct lh_table { | |||||
| lh_hash_fn *hash_fn; | lh_hash_fn *hash_fn; | ||||
| lh_equal_fn *equal_fn; | lh_equal_fn *equal_fn; | ||||
| }; | }; | ||||
| typedef struct lh_table lh_table; | |||||
| /** | /** | ||||
| @@ -32,6 +32,7 @@ struct printbuf { | |||||
| int bpos; | int bpos; | ||||
| int size; | int size; | ||||
| }; | }; | ||||
| typedef struct printbuf printbuf; | |||||
| extern struct printbuf* | extern struct printbuf* | ||||
| printbuf_new(void); | printbuf_new(void); | ||||