mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
353 B
16 lines
353 B
8 years ago
|
/* This is just a wrapper in order to get our own malloc wrappers into nanopb core. */
|
||
|
|
||
|
#define pb_realloc(ptr,size) counting_realloc(ptr,size)
|
||
|
#define pb_free(ptr) counting_free(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>
|