At least don't talk about allocation sizes in the public API

This commit is contained in:
Eric Fischer
2014-02-05 23:35:35 -08:00
parent d630aa917e
commit 68e0784cc3
2 changed files with 7 additions and 15 deletions
-7
View File
@@ -1,9 +1,3 @@
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
typedef enum json_type {
JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,
} json_type;
@@ -19,7 +13,6 @@ typedef struct json_object {
struct json_object **keys;
struct json_object **values;
int length;
int __allocated;
} json_object;
json_object *json_parse(FILE *f, json_object *current);