Searched refs:o_type (Results 1 – 4 of 4) sorted by relevance
53 static struct json_object* json_object_new(enum json_type o_type);88 MC_DEBUG("\t%s:%p\n", json_type_to_name(obj->o_type), obj); in json_object_fini()182 json_type_to_name(jso->o_type), jso); in json_object_generic_delete()189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new() argument196 jso->o_type = o_type; in json_object_new()201 MC_DEBUG("json_object_new_%s: %p\n", json_type_to_name(jso->o_type), jso); in json_object_new()213 return (jso->o_type == type); in json_object_is_type()220 return jso->o_type; in json_object_get_type()241 switch(jso->o_type) in json_object_set_serializer()390 switch(jso->o_type) in json_object_get_object()[all …]
289 const char *json_type_to_name(enum json_type o_type) in json_type_to_name() argument291 int o_type_int = (int)o_type; in json_type_to_name()294 MC_ERROR("json_type_to_name: type %d is out of range [0,%d]\n", o_type, NELEM(json_type_name)); in json_type_to_name()297 return json_type_name[o_type]; in json_type_to_name()
23 enum json_type o_type; member
44 extern const char *json_type_to_name(enum json_type o_type);