From 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 04:35:58 +1000 Subject: In the interests of readability and consistent style... --- c_fl_button.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'c_fl_button.h') diff --git a/c_fl_button.h b/c_fl_button.h index 21e18dc..239689a 100644 --- a/c_fl_button.h +++ b/c_fl_button.h @@ -4,15 +4,15 @@ #define FL_BUTTON_GUARD -typedef void* my_fl_button; +typedef void* BUTTON; -extern "C" my_fl_button new_fl_button(int x, int y, int w, int h, char * label); -extern "C" void free_fl_button(my_fl_button f); +extern "C" BUTTON new_fl_button(int x, int y, int w, int h, char* label); +extern "C" void free_fl_button(BUTTON b); -extern "C" int fl_button_get_state(my_fl_button b); -extern "C" void fl_button_set_state(my_fl_button b, int s); -extern "C" void fl_button_set_only(my_fl_button b); +extern "C" int fl_button_get_state(BUTTON b); +extern "C" void fl_button_set_state(BUTTON b, int s); +extern "C" void fl_button_set_only(BUTTON b); #endif -- cgit