#include <stdio.h>
#include "Integra/integra_id.h"
#include "globals.h"
#include "debug.h"
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. |
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().