diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 04:35:58 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 04:35:58 +1000 |
commit | 2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (patch) | |
tree | 6a112a0f3db36b622a71bccf9a2b7dc0130e6e2e /src/fltk_binding/c_fl_check_button.cpp | |
parent | 524edbb4463b66d61e92c92a7020d9d09b82e744 (diff) |
In the interests of readability and consistent style...
Diffstat (limited to 'src/fltk_binding/c_fl_check_button.cpp')
-rw-r--r-- | src/fltk_binding/c_fl_check_button.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fltk_binding/c_fl_check_button.cpp b/src/fltk_binding/c_fl_check_button.cpp index 2eafd0f..e737942 100644 --- a/src/fltk_binding/c_fl_check_button.cpp +++ b/src/fltk_binding/c_fl_check_button.cpp @@ -4,13 +4,13 @@ #include "c_fl_check_button.h" -my_fl_check_button new_fl_check_button(int x, int y, int w, int h, char * label) { - Fl_Check_Button *button = new Fl_Check_Button(x, y, w, h, label); - return button; +CHECKBUTTON new_fl_check_button(int x, int y, int w, int h, char* label) { + Fl_Check_Button *b = new Fl_Check_Button(x, y, w, h, label); + return b; } -void free_fl_check_button(my_fl_check_button b) { +void free_fl_check_button(CHECKBUTTON b) { delete reinterpret_cast<Fl_Check_Button*>(b); } |