You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

json_object_private.h 572 B

12345678910111213141516171819202122232425
  1. #ifndef _json_object_private_h_
  2. #define _json_object_private_h_
  3. typedef void (json_object_delete_fn)(struct json_object *o);
  4. typedef int (json_object_to_json_string_fn)(struct json_object *o,
  5. struct printbuf *pb);
  6. struct json_object
  7. {
  8. enum json_type o_type;
  9. json_object_delete_fn *_delete;
  10. json_object_to_json_string_fn *_to_json_string;
  11. int _ref_count;
  12. struct printbuf *_pb;
  13. union data {
  14. boolean c_boolean;
  15. double c_double;
  16. int c_int;
  17. struct lh_table *c_object;
  18. struct array_list *c_array;
  19. char *c_string;
  20. } o;
  21. };
  22. #endif

No Description

Contributors (1)