diff options
Diffstat (limited to 'test/bun.js/ffi-test.c')
-rw-r--r-- | test/bun.js/ffi-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/bun.js/ffi-test.c b/test/bun.js/ffi-test.c index e508b2c11..0fe227385 100644 --- a/test/bun.js/ffi-test.c +++ b/test/bun.js/ffi-test.c @@ -118,6 +118,7 @@ void *getDeallocatorBuffer() { } int getDeallocatorCalledCount() { return deallocatorCalled; } +bool is_null(int32_t *ptr) { return ptr == NULL; } bool does_pointer_equal_42_as_int32_t(int32_t *ptr); bool does_pointer_equal_42_as_int32_t(int32_t *ptr) { return *ptr == 42; } |