From 3a9028302447ad84363c580b2152f30417186667 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 8 Jan 2025 14:33:30 +1300 Subject: Revised Input subhierarchy, separated bindings for Fl_Input and Fl_Input_ widgets --- src/c_fl_output.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/c_fl_output.h') diff --git a/src/c_fl_output.h b/src/c_fl_output.h index dba1b8a..174c32e 100644 --- a/src/c_fl_output.h +++ b/src/c_fl_output.h @@ -8,26 +8,19 @@ #define FL_OUTPUT_GUARD - - // using just "OUTPUT" doesn't compile for some reason // some sort of name clash? typedef void* OUTPUTT; +extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label); +extern "C" void free_fl_output(OUTPUTT i); -extern "C" void output_set_draw_hook(OUTPUTT i, void * d); extern "C" void fl_output_draw(OUTPUTT i); -extern "C" void output_set_handle_hook(OUTPUTT i, void * h); extern "C" int fl_output_handle(OUTPUTT i, int e); - - -extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label); -extern "C" void free_fl_output(OUTPUTT i); - - #endif + -- cgit