runic_obj_t runic_alloc_node(runic_t* r);¶
The above function signature outlines the operation regarding allocating a NODE.
Arguments:¶
r – Arunic_tobject that was returned as a result of a successful open operation. Attempting to use any other object is an invalid operation. The program will almost certainly return an invalidrunic_obj_t. Attempting to allocate objects with invalidrunic_tobjects is not encouraged.
Returns:¶
A runic_obj_t object which is of type NODE. In the event that file memory is full, no objects can be garbage collected, and there is no additional disk space, this operation may fail. If so, the runic_obj_t returned will have an offset of 0 and a base pointer equal to NULL.