rasqal_calloc_memory

Name

rasqal_calloc_memory --  Allocate zeroed array of items inside rasqal.

Synopsis

void* rasqal_calloc_memory (size_t nmemb, size_t size);

Arguments

nmemb

number of members

size

size of item

Description

Some systems require memory allocated in a library to be deallocated in that library. This function allows memory to be allocated inside the rasqal shared library that can be freed inside rasqal either internally or via rasqal_free_memory.

Return value

the address of the allocated memory or NULL on failure