summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_box.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
commit2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (patch)
tree6a112a0f3db36b622a71bccf9a2b7dc0130e6e2e /src/fltk_binding/c_fl_box.cpp
parent524edbb4463b66d61e92c92a7020d9d09b82e744 (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'src/fltk_binding/c_fl_box.cpp')
-rw-r--r--src/fltk_binding/c_fl_box.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fltk_binding/c_fl_box.cpp b/src/fltk_binding/c_fl_box.cpp
index 01685f8..eeee320 100644
--- a/src/fltk_binding/c_fl_box.cpp
+++ b/src/fltk_binding/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<Fl_Box*>(f);
+void free_fl_box(BOX b) {
+ delete reinterpret_cast<Fl_Box*>(b);
}