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_double_window.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'c_fl_double_window.cpp') diff --git a/c_fl_double_window.cpp b/c_fl_double_window.cpp index 7a9899c..67d0736 100644 --- a/c_fl_double_window.cpp +++ b/c_fl_double_window.cpp @@ -4,24 +4,24 @@ #include "c_fl_double_window.h" -my_fl_double_window new_fl_double_window(int x, int y, int w, int h, char * label) { - Fl_Double_Window *window = new Fl_Double_Window(x, y, w, h, label); - return window; +DOUBLEWINDOW new_fl_double_window(int x, int y, int w, int h, char* label) { + Fl_Double_Window *d = new Fl_Double_Window(x, y, w, h, label); + return d; } -my_fl_double_window new_fl_double_window2(int w, int h) { - Fl_Double_Window *window = new Fl_Double_Window(w, h); - return window; +DOUBLEWINDOW new_fl_double_window2(int w, int h) { + Fl_Double_Window *d = new Fl_Double_Window(w, h); + return d; } -void free_fl_double_window(my_fl_double_window f) { - delete reinterpret_cast(f); +void free_fl_double_window(DOUBLEWINDOW d) { + delete reinterpret_cast(d); } -void fl_double_window_show(my_fl_double_window f) { - reinterpret_cast(f)->show(); +void fl_double_window_show(DOUBLEWINDOW d) { + reinterpret_cast(d)->show(); } -- cgit