|
|
@ -73,12 +73,12 @@ upb_alloc upb_alloc_global = {&upb_global_allocfunc}; |
|
|
|
|
|
|
|
|
|
|
|
/* Be conservative and choose 16 in case anyone is using SSE. */ |
|
|
|
/* Be conservative and choose 16 in case anyone is using SSE. */ |
|
|
|
|
|
|
|
|
|
|
|
typedef struct mem_block { |
|
|
|
struct mem_block { |
|
|
|
struct mem_block *next; |
|
|
|
struct mem_block *next; |
|
|
|
uint32_t size; |
|
|
|
uint32_t size; |
|
|
|
uint32_t cleanups; |
|
|
|
uint32_t cleanups; |
|
|
|
/* Data follows. */ |
|
|
|
/* Data follows. */ |
|
|
|
} mem_block; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
typedef struct cleanup_ent { |
|
|
|
typedef struct cleanup_ent { |
|
|
|
upb_cleanup_func *cleanup; |
|
|
|
upb_cleanup_func *cleanup; |
|
|
|