trmsg_data_tree()
#
trmsg_data_tree()
returns a list of cloned records with instances stored in the data
hook, formatted for Webix usage.
Prototype
json_t *trmsg_data_tree(
json_t *list,
json_t *jn_filter // owned
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The list containing messages to be processed. |
|
|
A JSON object specifying filtering criteria. The ownership of this parameter is transferred to the function. |
Return Value
A JSON list of cloned records, structured for Webix. The caller is responsible for decrementing the reference count.
Notes
The returned JSON object must be manually decremented to avoid memory leaks.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples