Implementation of the memory data_object_t. More...
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "data_object.h"
#include "data_object_internal.h"
#include "data_object_memory.h"
#include "type_limits.h"
#include "debug.h"
#include "util.h"
Go to the source code of this file.
Functions | |
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. |
Implementation of the memory data_object_t.
Definition in file data_object_memory.c.