diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-09 14:58:19 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-09 14:58:19 +1300 |
commit | 17473af7e8ed13e0a9399a69442f9839e5d83aef (patch) | |
tree | 6cd9adf8cde65847f34fbd1cf0ac61c3ad5936ea /src/c_fl_check_button.h | |
parent | 3a9028302447ad84363c580b2152f30417186667 (diff) |
Used C FFI to make Extra_Init and Extra_Final calls more consistent
Diffstat (limited to 'src/c_fl_check_button.h')
-rw-r--r-- | src/c_fl_check_button.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c_fl_check_button.h b/src/c_fl_check_button.h index c1b6ef0..2c25387 100644 --- a/src/c_fl_check_button.h +++ b/src/c_fl_check_button.h @@ -8,24 +8,24 @@ #define FL_CHECK_BUTTON_GUARD +extern "C" void fl_check_button_extra_init + (void * adaobj, int x, int y, int w, int h, const char * label); +extern "C" void fl_check_button_extra_final(void * adaobj); typedef void* CHECKBUTTON; - - extern "C" void check_button_set_draw_hook(CHECKBUTTON b, void * d); extern "C" void fl_check_button_draw(CHECKBUTTON b); extern "C" void check_button_set_handle_hook(CHECKBUTTON b, void * h); extern "C" int fl_check_button_handle(CHECKBUTTON b, int e); - - extern "C" CHECKBUTTON new_fl_check_button(int x, int y, int w, int h, char* label); extern "C" void free_fl_check_button(CHECKBUTTON b); #endif + |