summaryrefslogtreecommitdiff
path: root/src/fltk-static_callback_conversions.ads
blob: 1e10c03fe1486c344f065221d3b730ed9c35a636 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58


--  Programmed by Jedidiah Barber
--  Released into the public domain


limited with

    FLTK.Static;


private package FLTK.Static_Callback_Conversions is


    function To_Awake_Access
           (Addy : in Storage.Integer_Address)
        return FLTK.Static.Awake_Handler;

    function To_Address
           (Call : in FLTK.Static.Awake_Handler)
        return Storage.Integer_Address;

    function To_Timeout_Access
           (Addy : in Storage.Integer_Address)
        return FLTK.Static.Timeout_Handler;

    function To_Address
           (Call : in FLTK.Static.Timeout_Handler)
        return Storage.Integer_Address;

    function To_Idle_Access
           (Addy : in Storage.Integer_Address)
        return FLTK.Static.Idle_Handler;

    function To_Address
           (Call : in FLTK.Static.Idle_Handler)
        return Storage.Integer_Address;

    function To_Clipboard_Access
           (Addy : in Storage.Integer_Address)
        return FLTK.Static.Clipboard_Notify_Handler;

    function To_Address
           (Call : in FLTK.Static.Clipboard_Notify_Handler)
        return Storage.Integer_Address;

    function To_File_Access
           (Addy : in Storage.Integer_Address)
        return FLTK.Static.File_Handler;

    function To_Address
           (Call : in FLTK.Static.File_Handler)
        return Storage.Integer_Address;


end FLTK.Static_Callback_Conversions;