squareball  0.2.0.43-8b14
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 
29 typedef void (*sb_free_func_t) (void *ptr);
30 
38 void* sb_malloc(size_t size);
39 
47 void* sb_realloc(void *ptr, size_t size);
48 
51 #endif /* _SQUAREBALL_MEM_H */
void(* sb_free_func_t)(void *ptr)
Definition: sb-mem.h:29
void * sb_realloc(void *ptr, size_t size)
void * sb_malloc(size_t size)