MOS Source Code
Loading...
Searching...
No Matches
malloc_wrappers_syshdr.h
Go to the documentation of this file.
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>