aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/sdl_window.c')
-rw-r--r--c_src/sdl_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/sdl_window.c b/c_src/sdl_window.c
index c644c09..4989ba5 100644
--- a/c_src/sdl_window.c
+++ b/c_src/sdl_window.c
@@ -14,6 +14,8 @@
#include "esdl2.h"
+NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_bool, SDL_bool)
+
void dtor_Window(ErlNifEnv* env, void* obj)
{
SDL_DestroyWindow(NIF_RES_GET(Window, obj));