summaryrefslogtreecommitdiff
path: root/fltk.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
commit32062c660307d5b34f46b1f7b75d17a184930e71 (patch)
tree6ab33672207fdef5b500e5a0bfded5190f05e79e /fltk.ads
parent2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (diff)
Text buffers, access types and line lengths
Diffstat (limited to 'fltk.ads')
-rw-r--r--fltk.ads22
1 files changed, 22 insertions, 0 deletions
diff --git a/fltk.ads b/fltk.ads
index 33363df..51f05c1 100644
--- a/fltk.ads
+++ b/fltk.ads
@@ -1,10 +1,32 @@
+with Ada.Finalization;
+private with System;
+
+
package FLTK is
function Run return Integer;
+ -- ugly implementation thing; never use this
+ -- just ignore the hand moving behind the curtain here
+ type Wrapper is abstract new Ada.Finalization.Limited_Controlled with private;
+
+
+private
+
+
+ type Wrapper is abstract new Ada.Finalization.Limited_Controlled with
+ record
+ Void_Ptr : System.Address;
+ end record;
+
+
+ overriding procedure Initialize
+ (This : in out Wrapper);
+
+
end FLTK;