From 2b4468a62a55d9f8520582f9aa2e420ab89ed7bd 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... --- src/fltk_binding/c_fl_radio_button.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fltk_binding/c_fl_radio_button.cpp') diff --git a/src/fltk_binding/c_fl_radio_button.cpp b/src/fltk_binding/c_fl_radio_button.cpp index 56f16c9..1cac323 100644 --- a/src/fltk_binding/c_fl_radio_button.cpp +++ b/src/fltk_binding/c_fl_radio_button.cpp @@ -4,13 +4,13 @@ #include "c_fl_radio_button.h" -my_fl_radio_button new_fl_radio_button(int x, int y, int w, int h, char * label) { - Fl_Radio_Button *button = new Fl_Radio_Button(x, y, w, h, label); - return button; +RADIOBUTTON new_fl_radio_button(int x, int y, int w, int h, char* label) { + Fl_Radio_Button *b = new Fl_Radio_Button(x, y, w, h, label); + return b; } -void free_fl_radio_button(my_fl_radio_button b) { +void free_fl_radio_button(RADIOBUTTON b) { delete reinterpret_cast(b); } -- cgit