|
The m17n Library
1.8.4
|
Functions | |
| MPlist * | mplist (void) |
| Create a property list object. More... | |
| MPlist * | mplist_copy (MPlist *plist) |
| Copy a property list. More... | |
| MPlist * | mplist_put (MPlist *plist, MSymbol key, void *val) |
| Set the value of a property in a property list. More... | |
| void * | mplist_get (MPlist *plist, MSymbol key) |
| Get the value of a property in a property list. More... | |
| MPlist * | mplist_put_func (MPlist *plist, MSymbol key, M17NFunc func) |
| Set the value (function pointer) of a property in a property list. More... | |
| M17NFunc | mplist_get_func (MPlist *plist, MSymbol key) |
| Get the value (function pointer) of a property in a property list. More... | |
| MPlist * | mplist_add (MPlist *plist, MSymbol key, void *val) |
| Add a property at the end of a property list. More... | |
| MPlist * | mplist_push (MPlist *plist, MSymbol key, void *val) |
| Add a property at the beginning of a property list. More... | |
| void * | mplist_pop (MPlist *plist) |
| Remove a property at the beginning of a property list. More... | |
| MPlist * | mplist_find_by_key (MPlist *plist, MSymbol key) |
| Find a property of a specific key in a property list. More... | |
| MPlist * | mplist_find_by_value (MPlist *plist, void *val) |
| Find a property of a specific value in a property list. More... | |
| MPlist * | mplist_next (MPlist *plist) |
| Return the next sublist of a property list. More... | |
| MPlist * | mplist_set (MPlist *plist, MSymbol key, void *val) |
| Set the first property in a property list. More... | |
| int | mplist_length (MPlist *plist) |
| Return the length of a property list. More... | |
| MSymbol | mplist_key (MPlist *plist) |
| Return the key of the first property in a property list. More... | |
| void * | mplist_value (MPlist *plist) |
| Return the value of the first property in a property list. More... | |
| MPlist * | mplist_deserialize (MText *mt) |
| Generate a property list by deserializing an M-text. More... | |
| MPlist * | mdebug_dump_plist (MPlist *plist, int indent) |
| Dump a property list. More... | |
Variables | |
| MSymbol | Minteger |
| Symbol whose name is "integer". More... | |
| MSymbol | Mplist |
| Symbol whose name is "plist". More... | |
| MSymbol | Mtext |
| Symbol whose name is "mtext". More... | |
Dump a property list.
The mdebug_dump_plist() function prints a property list plist in a human readable way to the stderr or to what specified by the environment variable MDEBUG_OUTPUT_FILE. indent specifies how many columns to indent the lines but the first one.