Gwyfile Library
|
Functions | |
GwyfileItem * | gwyfile_item_new_int64 (const char *name, int64_t value) |
Creates a new 64bit integer GWY file item. More... | |
int64_t | gwyfile_item_get_int64 (const GwyfileItem *item) |
Gets the 64bit integer value contained in a GWY file data item. More... | |
void | gwyfile_item_set_int64 (GwyfileItem *item, int64_t value) |
Sets the value of a 64bit integer GWY file item. More... | |
int64_t gwyfile_item_get_int64 | ( | const GwyfileItem * | item | ) |
Gets the 64bit integer value contained in a GWY file data item.
The item must be of the 64bit integer type. Use gwyfile_item_type() to check item type if the type may not match the expected type. Use gwyfile_object_get_with_type() to obtain object items ensuring the type.
item | A 64bit integer GWY file data item. |
item
. GwyfileItem* gwyfile_item_new_int64 | ( | const char * | name, |
int64_t | value | ||
) |
Creates a new 64bit integer GWY file item.
name | Item name. It must be a non-empty UTF-8-encoded string (usually, it should be an ASCII string). A copy of the string will be made. |
value | Item value. |
void gwyfile_item_set_int64 | ( | GwyfileItem * | item, |
int64_t | value | ||
) |
Sets the value of a 64bit integer GWY file item.
The item must be of the 64bit integer type.
item | A 64bit integer GWY file data item. |
value | New value for the item. |