Definitions of constructor functions for the memory data_object_t. More...
#include "data_object.h"
#include <sys/types.h>
Go to the source code of this file.
Typedefs | |
typedef void( | data_object_memory_free_func )(void *) |
A function used to free the data owned by a memory data_object_t. | |
Functions | |
Constructors | |
int | data_object_memory_new (data_object_t **obj, void *data, size_t size) |
Creates a new memory data object initialized with data. | |
int | data_object_memory_set_free_func (data_object_t *obj, data_object_memory_free_func *mem_free) |
Sets the function used to free the data held by the data object. |
Definitions of constructor functions for the memory data_object_t.
Definition in file data_object_memory.h.