mirror of
https://github.com/google/pebble.git
synced 2025-06-24 01:56:16 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
15
third_party/nanopb/tests/common/malloc_wrappers_syshdr.h
vendored
Normal file
15
third_party/nanopb/tests/common/malloc_wrappers_syshdr.h
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* This is just a wrapper in order to get our own malloc wrappers into nanopb core. */
|
||||
|
||||
#define pb_realloc(ptr,size) realloc_with_check(ptr,size)
|
||||
#define pb_free(ptr) free_with_check(ptr)
|
||||
|
||||
#ifdef PB_OLD_SYSHDR
|
||||
#include PB_OLD_SYSHDR
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include <malloc_wrappers.h>
|
Loading…
Add table
Add a link
Reference in a new issue