c-template
safe_mem.h File Reference
#include <stdlib.h>
#include <stdbool.h>
Include dependency graph for safe_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  memory_object
 

Typedefs

typedef struct memory_object memory_object
 

Functions

int free_memory_object_data (memory_object *obj)
 
memory_object new_memory_object (void *input)
 

Typedef Documentation

◆ memory_object

typedef struct memory_object memory_object

Function Documentation

◆ free_memory_object_data()

int free_memory_object_data ( memory_object obj)

Definition at line 11 of file safe_mem.c.

Here is the caller graph for this function:

◆ new_memory_object()

memory_object new_memory_object ( void *  input)

Definition at line 30 of file safe_mem.c.

Here is the caller graph for this function: