JST: JSON tools
1.0.0
JSON tools dynamic library for reading, manipulating and writing JSON tree
|
Go to the source code of this file.
Functions | |
JST_Error | JST_List_push_back (JST_List **first, JST_List **current, void *data) |
JST_Error | JST_List_move_to (JST_List *from, void *dest, LST_assign_t assign) |
For each item in list, call assign to transfert ownership of items and free the list, node by node. More... | |
Variables | |
const JST_List | JST_List_Zero = { .item = NULL, .next = NULL } |
JST_Error JST_List_move_to | ( | JST_List * | from, |
void * | dest, | ||
LST_assign_t | assign | ||
) |
For each item in list, call assign to transfert ownership of items and free the list, node by node.
from | the list to clear |
dest | the destination of transfert, a data structure (opaque here) |
assign | the callback able to make the transfert from JST_List to another data structure (opaque here) |
Definition at line 25 of file JST_list.c.
Definition at line 7 of file JST_list.c.
const JST_List JST_List_Zero = { .item = NULL, .next = NULL } |
Definition at line 5 of file JST_list.c.