MCPcopy Index your code
hub / github.com/IBM/Project_CodeNet / attr_create

Function attr_create

tools/json-graph/src/jgflib.c:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23const char *filename;
24
25static Attr attr_create(jsmntok_t *key, jsmntok_t *value)
26{
27 Attr a = malloc(sizeof(*a));
28 a->key = key;
29 a->value = value;
30 a->next = NULL;
31 return a;
32}
33
34Attr attr_find(Attr attrs, const char *key)
35{

Callers 2

jgf_parseFunction · 0.85
jsonml_attributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected