mirror of
https://github.com/google/pebble.git
synced 2025-06-26 10:56:17 +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
10
third_party/nanopb/tests/common/malloc_wrappers.h
vendored
Normal file
10
third_party/nanopb/tests/common/malloc_wrappers.h
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
void* malloc_with_check(size_t size);
|
||||
void free_with_check(void *mem);
|
||||
void* realloc_with_check(void *ptr, size_t size);
|
||||
size_t get_alloc_count();
|
||||
size_t get_allocation_size(const void *mem);
|
||||
size_t get_alloc_bytes();
|
||||
void set_max_alloc_bytes(size_t max_bytes);
|
||||
size_t get_max_alloc_bytes();
|
Loading…
Add table
Add a link
Reference in a new issue