diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
commit | b4438b2fbe895694be98e6e8426103deefc51448 (patch) | |
tree | 760d86cd7c06420a91dad102cc9546aee73146fc /body/fltk-show_argv.ads | |
parent | a4703a65b015140cd4a7a985db66264875ade734 (diff) |
Split public API and private implementation files into different directories
Diffstat (limited to 'body/fltk-show_argv.ads')
-rw-r--r-- | body/fltk-show_argv.ads | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/body/fltk-show_argv.ads b/body/fltk-show_argv.ads new file mode 100644 index 0000000..231b875 --- /dev/null +++ b/body/fltk-show_argv.ads @@ -0,0 +1,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; + + |