summaryrefslogtreecommitdiff
path: root/src/fltk-show_argv.ads
blob: 231b87506694260482c15b029a5518d1e860156e (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


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


with

    Interfaces.C;


private package FLTK.Show_Argv is


    --  Used for implementing show(argc,argv)

    type Show_With_Args_Func is access procedure
           (CObj : in Storage.Integer_Address;
            Argc : in Interfaces.C.int;
            Argv : in Storage.Integer_Address);

    procedure Dispatch
           (Func : in Show_With_Args_Func;
            CObj : in Storage.Integer_Address);


private


    pragma Convention (C, Show_With_Args_Func);


end FLTK.Show_Argv;