diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-09-17 22:05:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | dcd26bcfcc691f24508a7b6bf04c15042a4668ea (patch) | |
tree | f47df3dc79a5ac0b89507890d25843e9c724161b /tests/main.c | |
parent | b095aedd386e076d1f5a56b7384b836e653387d1 (diff) |
Fix function call resolved type
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); } |