id header file More...
Go to the source code of this file.
Typedefs | |
| typedef unsigned long | ntg_id |
| Type to hold ids. | |
Functions | |
| ntg_id | ntg_id_new (void) |
| Return a new unique id. | |
| unsigned long | ntg_id_get_as_long (ntg_id id) |
| Utility method to cast an ntg_id to a unsigned long. | |
| char * | ntg_id_get_as_string (ntg_id id, const char *prefix) |
| Utility method to cast an ntg_id to a string. | |
id header file
| typedef unsigned long ntg_id |
Type to hold ids.
Used extensively for creating references between various structs
| unsigned long ntg_id_get_as_long | ( | ntg_id | id | ) |
Utility method to cast an ntg_id to a unsigned long.
Referenced by ntg_id_get_as_string().
| char* ntg_id_get_as_string | ( | ntg_id | id, | |
| const char * | prefix | |||
| ) |
Utility method to cast an ntg_id to a string.
References ntg_id_get_as_long(), and ntg_malloc().
| ntg_id ntg_id_new | ( | void | ) |
Return a new unique id.
The returned value is guaranteed to be unique within the current libIntegra process
References ntg_id_counter.
Referenced by ntg_instance_new().
1.6.1