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_window.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'c_fl_window.cpp') diff --git a/c_fl_window.cpp b/c_fl_window.cpp index 64a1c38..f409e34 100644 --- a/c_fl_window.cpp +++ b/c_fl_window.cpp @@ -4,24 +4,24 @@ #include "c_fl_window.h" -my_fl_window new_fl_window(int x, int y, int w, int h, char * label) { - Fl_Window *window = new Fl_Window(x, y, w, h, label); - return window; +WINDOW new_fl_window(int x, int y, int w, int h, char* label) { + Fl_Window *n = new Fl_Window(x, y, w, h, label); + return n; } -my_fl_window new_fl_window2(int w, int h) { - Fl_Window *window = new Fl_Window(w, h); - return window; +WINDOW new_fl_window2(int w, int h) { + Fl_Window *n = new Fl_Window(w, h); + return n; } -void free_fl_window(my_fl_window f) { - delete reinterpret_cast(f); +void free_fl_window(WINDOW n) { + delete reinterpret_cast(n); } -void fl_window_show(my_fl_window f) { - reinterpret_cast(f)->show(); +void fl_window_show(WINDOW n) { + reinterpret_cast(n)->show(); } -- cgit