Code Review
/
apps
/
agl-service-can-low-level.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix list formatting in readme
[apps/agl-service-can-low-level.git]
/
tests
/
common
/
malloc_wrappers_syshdr.h
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>