|
Nyx Node
|

Data Structures | |
| struct | nyx_boolean_t |
| Struct describing a JSON boolean object. More... | |
Functions | |
| nyx_boolean_t * | nyx_boolean_t::nyx_boolean_new (void) |
| Allocates a new JSON boolean object. | |
| void | nyx_boolean_t::nyx_boolean_free (nyx_boolean_t *object) |
| Frees memory of the provided JSON boolean object. | |
| bool | nyx_boolean_t::nyx_boolean_get (const nyx_boolean_t *object) |
| Get the value of the provided JSON boolean object. | |
| bool | nyx_boolean_t::nyx_boolean_set (nyx_boolean_t *object, bool value) |
| Set the value of the provided JSON boolean object. | |
| str_t | nyx_boolean_t::nyx_boolean_to_string (const nyx_boolean_t *object) |
| Returns a string representing the provided JSON boolean object. | |
| __NYX_INLINE__ nyx_boolean_t * | nyx_boolean_t::nyx_boolean_from (bool value) |
| Returns a JSON boolean object holding the value of the provided argument. | |
JSON Boolean Object.
| nyx_boolean_t * nyx_boolean_new | ( | void | ) |
Allocates a new JSON boolean object.
Definition at line 12 of file json_boolean.c.
| void nyx_boolean_free | ( | nyx_boolean_t * | object | ) |
Frees memory of the provided JSON boolean object.
| object | JSON boolean object. |
Definition at line 33 of file json_boolean.c.
| bool nyx_boolean_get | ( | const nyx_boolean_t * | object | ) |
Get the value of the provided JSON boolean object.
| object | JSON boolean object. |
Definition at line 40 of file json_boolean.c.
| bool nyx_boolean_set | ( | nyx_boolean_t * | object, |
| bool | value | ||
| ) |
Set the value of the provided JSON boolean object.
| object | JSON boolean object. |
| value | Value for the provided JSON boolean object. |
true if the value was modified, false otherwise. Definition at line 47 of file json_boolean.c.
| str_t nyx_boolean_to_string | ( | const nyx_boolean_t * | object | ) |
Returns a string representing the provided JSON boolean object.
| object | JSON boolean object. |
Definition at line 58 of file json_boolean.c.
| __NYX_INLINE__ nyx_boolean_t * nyx_boolean_from | ( | bool | value | ) |
Returns a JSON boolean object holding the value of the provided argument.
| value | Value for the new JSON boolean object. |
Definition at line 875 of file nyx_node.h.