Nyx Node
|
Struct describing a JSON number. More...
#include <nyx_node.h>
Public Member Functions | |
nyx_number_t * | nyx_number_new () |
Allocates a new JSON number object. | |
void | nyx_number_free (nyx_number_t *object) |
Frees memory of the provided JSON number object. | |
double | nyx_number_get (const nyx_number_t *object) |
Get the value of the provided JSON number object. | |
__INLINE__ bool | nyx_number_set (nyx_number_t *object, double value) |
Set the value of the provided JSON number object. | |
str_t | nyx_number_to_string (const nyx_number_t *object) |
Returns a string representing the provided JSON number object. | |
__INLINE__ nyx_number_t * | nyx_number_from (double value) |
Returns a JSON number object holding the value of the provided argument. | |
Public Attributes | |
nyx_object_t | base |
??? | |
double | value |
??? | |
Struct describing a JSON number.