squareball  0.2.0.53-dd5b
A general-purpose library for C99
sb-mem.h
Go to the documentation of this file.
1 /*
2  * squareball: A general-purpose library for C99.
3  * Copyright (C) 2014-2018 Rafael G. Martins <rafael@rafaelmartins.eng.br>
4  *
5  * This program can be distributed under the terms of the BSD License.
6  * See the file LICENSE.
7  */
8 
9 #ifndef _SQUAREBALL_MEM_H
10 #define _SQUAREBALL_MEM_H
11 
12 #include <stddef.h>
13 
31 typedef void (*sb_free_func_t) (void *ptr);
32 
40 void* sb_malloc(size_t size);
41 
50 void* sb_realloc(void *ptr, size_t size);
51 
54 #endif /* _SQUAREBALL_MEM_H */
void(* sb_free_func_t)(void *ptr)
Definition: sb-mem.h:31
void * sb_realloc(void *ptr, size_t size)
void * sb_malloc(size_t size)