Contents Previous Next

mxmlSetCustomHandlers()


Description

Set the handling functions for custom data. The load function accepts a node pointer and a data string and must return 0 on success and non-zero on error. The save function accepts a node pointer and must return a malloc'd string on success and NULL on error.

Syntax

void
mxmlSetCustomHandlers(
    mxml_custom_load_cb_t load,
    mxml_custom_save_cb_t save);

Arguments

NameDescription
loadLoad function
saveSave function

Returns

Nothing.


Contents Previous Next