diff options
Diffstat (limited to 'tests/main.c')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c index 1a86769..265a0ea 100644 --- a/tests/main.c +++ b/tests/main.c @@ -204,7 +204,7 @@ static void test_load_gl(void) { fprintf(stderr, "Unexpected error (alloc failure)\n"); FAIL_TEST_CLEANUP(full_path); } - if(amal_program_register_extern_func(&program, create_buffer_view_auto("print_extern_num"), print_extern_num, sizeof(i64)) != 0) { + if(amal_program_register_extern_func(&program, create_buffer_view_auto("glfwWindowShouldClose"), glfwWindowShouldClose, sizeof(void*)) != 0) { fprintf(stderr, "Unexpected error (alloc failure)\n"); FAIL_TEST_CLEANUP(full_path); } |