From 54b1c70a7c43ad8c7dfa90833c1194a6a6dd7c69 Mon Sep 17 00:00:00 2001 From: AngelGamer29JA Date: Thu, 27 Oct 2022 02:38:18 -0500 Subject: [PATCH] fix: Uncaught TypeError: Invalid FFI pointer type, expected null, integer or BigInt --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index d63430d..5a3025f 100644 --- a/mod.ts +++ b/mod.ts @@ -61,7 +61,7 @@ const sdl2 = Deno.dlopen(getLibraryPath("SDL2"), { }, "SDL_CreateWindow": { "parameters": [ - "pointer", + "buffer", "i32", "i32", "i32",