summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-buttons-light.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-buttons-light.adb')
-rw-r--r--src/fltk-widgets-buttons-light.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fltk-widgets-buttons-light.adb b/src/fltk-widgets-buttons-light.adb
index 21c9efc..dc258b2 100644
--- a/src/fltk-widgets-buttons-light.adb
+++ b/src/fltk-widgets-buttons-light.adb
@@ -16,10 +16,12 @@ package body FLTK.Widgets.Buttons.Light is
procedure light_button_set_draw_hook
(W, D : in System.Address);
pragma Import (C, light_button_set_draw_hook, "light_button_set_draw_hook");
+ pragma Inline (light_button_set_draw_hook);
procedure light_button_set_handle_hook
(W, H : in System.Address);
pragma Import (C, light_button_set_handle_hook, "light_button_set_handle_hook");
+ pragma Inline (light_button_set_handle_hook);
@@ -29,10 +31,12 @@ package body FLTK.Widgets.Buttons.Light is
Text : in Interfaces.C.char_array)
return System.Address;
pragma Import (C, new_fl_light_button, "new_fl_light_button");
+ pragma Inline (new_fl_light_button);
procedure free_fl_light_button
(B : in System.Address);
pragma Import (C, free_fl_light_button, "free_fl_light_button");
+ pragma Inline (free_fl_light_button);
@@ -40,12 +44,14 @@ package body FLTK.Widgets.Buttons.Light is
procedure fl_light_button_draw
(W : in System.Address);
pragma Import (C, fl_light_button_draw, "fl_light_button_draw");
+ pragma Inline (fl_light_button_draw);
function fl_light_button_handle
(W : in System.Address;
E : in Interfaces.C.int)
return Interfaces.C.int;
pragma Import (C, fl_light_button_handle, "fl_light_button_handle");
+ pragma Inline (fl_light_button_handle);