summaryrefslogtreecommitdiff
path: root/src/c_fl_output.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-04-17 16:00:26 +1000
committerJed Barber <jjbarber@y7mail.com>2018-04-17 16:00:26 +1000
commit617353265e4dc4e0280b565f2cd9e7749ce52bfd (patch)
treeb03cbfad780fb426ef42660ff6e112cdcaeda9f4 /src/c_fl_output.h
parenta4b6a06f372923fb38ae4d3c7e0429ce93ea7748 (diff)
More polishing
Diffstat (limited to 'src/c_fl_output.h')
-rw-r--r--src/c_fl_output.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/c_fl_output.h b/src/c_fl_output.h
index 002240c..d5959ec 100644
--- a/src/c_fl_output.h
+++ b/src/c_fl_output.h
@@ -7,21 +7,22 @@
// using just "OUTPUT" doesn't compile for some reason
+// some sort of name clash?
typedef void* OUTPUTT;
-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" inline void output_set_draw_hook(OUTPUTT i, void * d);
+extern "C" inline void fl_output_draw(OUTPUTT i);
+extern "C" inline void output_set_handle_hook(OUTPUTT i, void * h);
+extern "C" inline 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);
+extern "C" inline OUTPUTT new_fl_output(int x, int y, int w, int h, char* label);
+extern "C" inline void free_fl_output(OUTPUTT i);
#endif