From 64f64835dda909e106a4516d64d004b6813a9c1d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 17 Aug 2023 08:22:25 +0200 Subject: Fix typos in names of Doxygen items (#729) --- FL/Fl_Widget.H | 2 +- FL/fl_callback_macros.H | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index fc7091225..3036ea582 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -79,7 +79,7 @@ struct FL_EXPORT Fl_Label { The destructor of this class is virtual, allowing for additional code to deallocate resources when the user data is deleted. - \see FL_FUNCTION_CALLBACK, FL_METHOD_CALLBACK, FL_INLINE_CALLBACK + \see FL_FUNCTION_CALLBACK_3, FL_METHOD_CALLBACK_1, FL_INLINE_CALLBACK_2 \see Fl_Widget::callback(Fl_Callback*, Fl_Callback_User_Data*, bool) \see Fl_Widget::user_data(Fl_Callback_User_Data*, bool) */ diff --git a/FL/fl_callback_macros.H b/FL/fl_callback_macros.H index 589606377..5553a08cf 100644 --- a/FL/fl_callback_macros.H +++ b/FL/fl_callback_macros.H @@ -55,10 +55,10 @@ #include ... Fl_Button *btn1 = new Fl_Button(10, 10, 100, 20, "Beep"); - FL_FUNCTION_CALLBACK(btn1, fl_beep); + FL_FUNCTION_CALLBACK_0(btn1, fl_beep); ... Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello"); - FL_FUNCTION_CALLBACK(btn2, + FL_FUNCTION_CALLBACK_5(btn2, fl_message, const char *, text, "Hello\n%d %d %d %d", int, a, 1, int, b, 2, int, c, 3, int, d, 4 -- cgit v1.2.3