Nyx Node
|
Classes | |
struct | nyx_boolean_t |
Struct describing a JSON boolean. More... | |
Functions | |
nyx_boolean_t * | nyx_boolean_t::nyx_boolean_new () |
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. | |
__INLINE__ 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. | |
__INLINE__ nyx_boolean_t * | nyx_boolean_t::nyx_boolean_from (bool value) |
Returns a JSON boolean object holding the value of the provided argument. | |
nyx_boolean_t * nyx_boolean_new | ( | ) |
Allocates a new JSON boolean object.
void nyx_boolean_free | ( | nyx_boolean_t * | object | ) |
Frees memory of the provided JSON boolean object.
object | The provided JSON boolean object. |
bool nyx_boolean_get | ( | const nyx_boolean_t * | object | ) |
Get the value of the provided JSON boolean object.
object | The provided JSON boolean object. |
__INLINE__ bool nyx_boolean_set | ( | nyx_boolean_t * | object, |
bool | value ) |
Set the value of the provided JSON boolean object.
object | The provided JSON boolean object. |
value | The value for the provided JSON boolean object. |
true
if the value was modified, false
otherwise. str_t nyx_boolean_to_string | ( | const nyx_boolean_t * | object | ) |
Returns a string representing the provided JSON boolean object.
object | The provided object. |
__INLINE__ nyx_boolean_t * nyx_boolean_from | ( | bool | value | ) |
Returns a JSON boolean object holding the value of the provided argument.
value | The value for the new JSON boolean object. |