#define LUMIERA_ERROR_DECLARE(err)
Forward declare an error constant.
int lumiera_streq(const char *a, const char *b)
check 2 strings for identity.
static void lumiera_free(void *mem)
Free previously allocated memory.
Lumiera error handling (C interface).
int lumiera_strncmp(const char *a, const char *b, size_t len)
Compare two C strings.
void * lumiera_calloc(size_t n, size_t size)
Allocate cleared memory for an array.
void * lumiera_realloc(void *ptr, size_t size)
Change the size of a memory block.
void * lumiera_malloc(size_t sz)
Allocate memory.
char * lumiera_strndup(const char *str, size_t len)
Duplicate a C string.
void lumiera_safeclib_set_resourcecollector(void *hook)
Install the resourcecollector run hook.