Fix clang compile warnings (#3396)

This commit is contained in:
Benbuck Nason
2024-05-08 01:43:47 -07:00
committed by GitHub
parent 07eae7c424
commit 432a940735
6 changed files with 24 additions and 9 deletions

View File

@ -17,7 +17,10 @@ extern "C" {
typedef void *mem_allocator_t;
#ifndef GC_FINALIZER_T_DEFINED
#define GC_FINALIZER_T_DEFINED
typedef void (*gc_finalizer_t)(void *obj, void *data);
#endif
mem_allocator_t
mem_allocator_create(void *mem, uint32_t size);