MCPcopy Create free account
hub / github.com/binbyu/Reader / cJSON_AddULongToObject

Function cJSON_AddULongToObject

Reader/Jsondata.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8cJSON* cJSON_AddULongToObject(cJSON* const object, const char* const name, const u32 number)
9{
10 cJSON* item;
11 int n;
12 n = *((int*)&number);
13 item = cJSON_AddNumberToObject(object, name, n);
14 return item;
15}
16
17class json_point
18{

Callers 4

json_placement_tMethod · 0.85
json_keyset_tMethod · 0.85
json_tagitem_tMethod · 0.85
json_header_tMethod · 0.85

Calls 1

cJSON_AddNumberToObjectFunction · 0.85

Tested by

no test coverage detected