1 /* This is just a wrapper in order to get our own malloc wrappers into nanopb core. */ 2 3 #define pb_realloc(ptr,size) counting_realloc(ptr,size) 4 #define pb_free(ptr) counting_free(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