From 617353265e4dc4e0280b565f2cd9e7749ce52bfd Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 17 Apr 2018 16:00:26 +1000 Subject: More polishing --- src/c_fl_clock.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/c_fl_clock.h') diff --git a/src/c_fl_clock.h b/src/c_fl_clock.h index 844f428..26255b0 100644 --- a/src/c_fl_clock.h +++ b/src/c_fl_clock.h @@ -11,16 +11,22 @@ typedef void* CLOCK; -extern "C" void clock_set_draw_hook(CLOCK c, void * d); -extern "C" void fl_clock_draw(CLOCK c); -extern "C" void clock_set_handle_hook(CLOCK c, void * h); -extern "C" int fl_clock_handle(CLOCK c, int e); +extern "C" inline void clock_set_draw_hook(CLOCK c, void * d); +extern "C" inline void fl_clock_draw(CLOCK c); +extern "C" inline void clock_set_handle_hook(CLOCK c, void * h); +extern "C" inline int fl_clock_handle(CLOCK c, int e); -extern "C" CLOCK new_fl_clock(int x, int y, int w, int h, char* label); -extern "C" void free_fl_clock(CLOCK c); +extern "C" inline CLOCK new_fl_clock(int x, int y, int w, int h, char* label); +extern "C" inline CLOCK new_fl_clock2(uchar k, int x, int y, int w, int h, char* label); +extern "C" inline void free_fl_clock(CLOCK c); + + + + +extern "C" inline void fl_clock_draw2(CLOCK c, int x, int y, int w, int h); #endif -- cgit