summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_button.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
commit2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (patch)
tree6a112a0f3db36b622a71bccf9a2b7dc0130e6e2e /src/fltk_binding/c_fl_button.h
parent524edbb4463b66d61e92c92a7020d9d09b82e744 (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'src/fltk_binding/c_fl_button.h')
-rw-r--r--src/fltk_binding/c_fl_button.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fltk_binding/c_fl_button.h b/src/fltk_binding/c_fl_button.h
index 21e18dc..239689a 100644
--- a/src/fltk_binding/c_fl_button.h
+++ b/src/fltk_binding/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