1 /* This is just a wrapper in order to get our own malloc wrappers into nanopb core. */
2 
3 #define pb_realloc(ptr,size) realloc_with_check(ptr,size)
4 #define pb_free(ptr) free_with_check(ptr)
5 
6 #ifdef PB_OLD_SYSHDR
7 #include PB_OLD_SYSHDR
8 #else
9 #include <stdint.h>
10 #include <stddef.h>
11 #include <stdbool.h>
12 #include <string.h>
13 #endif
14 
15 #include <malloc_wrappers.h>
16