summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-15 04:21:56 -0800
committerJoshua Haberman <jhaberman@gmail.com>2019-01-15 04:21:56 -0800
commit1508648f30cbaf5a3590572b2313fb5b595a7946 (patch)
treec153db730ec3571981c7b1630ac724a5fef59b70 /upb/upb.h
parent754b9f1cfdf59104fa62cfaf99f21e5a817d281b (diff)
Build & fix the JIT.
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/upb.h b/upb/upb.h
index 07b0455..1c13dd9 100644
--- a/upb/upb.h
+++ b/upb/upb.h
@@ -262,6 +262,7 @@ size_t upb_arena_bytesallocated(const upb_arena *a);
UPB_INLINE upb_alloc *upb_arena_alloc(upb_arena *a) { return (upb_alloc*)a; }
/* Convenience wrappers around upb_alloc functions. */
+
UPB_INLINE void *upb_arena_malloc(upb_arena *a, size_t size) {
return upb_malloc(upb_arena_alloc(a), size);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback