summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk.adb
blob: cc2d4076877ec1a4ee5a27d67aa430279d7a72f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


with Interfaces.C;
with System;


package body FLTK is


    function fl_run return Interfaces.C.int;
    pragma Import (C, fl_run, "fl_run");




    function Run return Integer is
    begin
        return Integer (fl_run);
    end Run;




    procedure Initialize
           (This : in out Wrapper) is
    begin
        This.Void_Ptr := System.Null_Address;
    end Initialize;


end FLTK;