|
Nyx Node
|

Data Structures | |
| struct | nyx_number_t |
| Struct describing a JSON number object. More... | |
Functions | |
| nyx_number_t * | nyx_number_t::nyx_number_new (void) |
| Allocates a new JSON number object. | |
| void | nyx_number_t::nyx_number_free (nyx_number_t *object) |
| Frees memory of the provided JSON number object. | |
| double | nyx_number_t::nyx_number_get (const nyx_number_t *object) |
| Get the value of the provided JSON number object. | |
| bool | nyx_number_t::nyx_number_set (nyx_number_t *object, double value) |
| Set the value of the provided JSON number object. | |
| str_t | nyx_number_t::nyx_number_to_string (const nyx_number_t *object) |
| Returns a string representing the provided JSON number object. | |
| __NYX_INLINE__ nyx_number_t * | nyx_number_t::nyx_number_from (double value) |
| Returns a JSON number object holding the value of the provided argument. | |
JSON Number Object.
| nyx_number_t * nyx_number_new | ( | void | ) |
Allocates a new JSON number object.
Definition at line 12 of file json_number.c.
| void nyx_number_free | ( | nyx_number_t * | object | ) |
Frees memory of the provided JSON number object.
| object | JSON number object. |
Definition at line 33 of file json_number.c.
| double nyx_number_get | ( | const nyx_number_t * | object | ) |
Get the value of the provided JSON number object.
| object | JSON number object. |
Definition at line 40 of file json_number.c.
| bool nyx_number_set | ( | nyx_number_t * | object, |
| double | value | ||
| ) |
Set the value of the provided JSON number object.
| object | JSON number object. |
| value | Value for the provided JSON number object. |
true if the value was modified, false otherwise. Definition at line 47 of file json_number.c.
| str_t nyx_number_to_string | ( | const nyx_number_t * | object | ) |
Returns a string representing the provided JSON number object.
| object | JSON number object. |
Definition at line 58 of file json_number.c.
| __NYX_INLINE__ nyx_number_t * nyx_number_from | ( | double | value | ) |
Returns a JSON number object holding the value of the provided argument.
| value | Value for the new JSON number object. |
Definition at line 770 of file nyx_node.h.