From a4b6a06f372923fb38ae4d3c7e0429ce93ea7748 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 15 Apr 2018 19:41:33 +1000 Subject: Started process of polishing packages --- src/fltk-widgets-buttons-light.adb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fltk-widgets-buttons-light.adb') 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); -- cgit