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_box.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c_fl_box.cpp') diff --git a/c_fl_box.cpp b/c_fl_box.cpp index 01685f8..eeee320 100644 --- a/c_fl_box.cpp +++ b/c_fl_box.cpp @@ -4,13 +4,13 @@ #include "c_fl_box.h" -my_fl_box new_fl_box(int x, int y, int w, int h, char * label) { - Fl_Box *box = new Fl_Box(x, y, w, h, label); - return box; +BOX new_fl_box(int x, int y, int w, int h, char* label) { + Fl_Box *b = new Fl_Box(x, y, w, h, label); + return b; } -void free_fl_box(my_fl_box f) { - delete reinterpret_cast(f); +void free_fl_box(BOX b) { + delete reinterpret_cast(b); } -- cgit