diff options
| author | 2023-05-13 19:53:26 +0200 | |
|---|---|---|
| committer | 2023-05-13 19:53:26 +0200 | |
| commit | 91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d (patch) | |
| tree | 41d3ff96c3dfcd46b5172db9bd418dd62cb780f9 /src/jplist.c | |
| parent | 834bb313405bce621610862e76891377ab6601d5 (diff) | |
| download | libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.gz libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.bz2 | |
Move PLIST_API to the headers
Diffstat (limited to 'src/jplist.c')
| -rw-r--r-- | src/jplist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jplist.c b/src/jplist.c index d6ea942..9263b36 100644 --- a/src/jplist.c +++ b/src/jplist.c | |||
| @@ -398,7 +398,7 @@ static int node_estimate_size(node_t node, uint64_t *size, uint32_t depth, int p | |||
| 398 | return PLIST_ERR_SUCCESS; | 398 | return PLIST_ERR_SUCCESS; |
| 399 | } | 399 | } |
| 400 | 400 | ||
| 401 | PLIST_API int plist_to_json(plist_t plist, char **json, uint32_t* length, int prettify) | 401 | int plist_to_json(plist_t plist, char **json, uint32_t* length, int prettify) |
| 402 | { | 402 | { |
| 403 | uint64_t size = 0; | 403 | uint64_t size = 0; |
| 404 | int res; | 404 | int res; |
| @@ -782,7 +782,7 @@ static plist_t parse_object(const char* js, jsmntok_info_t* ti, int* index) | |||
| 782 | return obj; | 782 | return obj; |
| 783 | } | 783 | } |
| 784 | 784 | ||
| 785 | PLIST_API int plist_from_json(const char *json, uint32_t length, plist_t * plist) | 785 | int plist_from_json(const char *json, uint32_t length, plist_t * plist) |
| 786 | { | 786 | { |
| 787 | if (!plist) { | 787 | if (!plist) { |
| 788 | return PLIST_ERR_INVALID_ARG; | 788 | return PLIST_ERR_INVALID_ARG; |
