summaryrefslogtreecommitdiff
path: root/src/fltk.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-11-17 17:15:53 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-11-17 17:15:53 +1300
commit619b3da9fbb37c57aedfc039cc813f6acf5569be (patch)
tree5577d1594900cd5e23afbc792d31ba9a40818d55 /src/fltk.ads
parentf5f77c762534ed15adc557009d1a645e5fd998a5 (diff)
Refactored Finalize subprograms and made note of potential future Widget issues there in fltk.ads
Diffstat (limited to 'src/fltk.ads')
-rw-r--r--src/fltk.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fltk.ads b/src/fltk.ads
index e686934..e0ebf1c 100644
--- a/src/fltk.ads
+++ b/src/fltk.ads
@@ -399,8 +399,8 @@ private
-- a mess, really just all sorts of problems.
type Wrapper is new Ada.Finalization.Limited_Controlled with
record
- Void_Ptr : Storage.Integer_Address;
- Needs_Dealloc : Boolean := True;
+ Void_Ptr : Storage.Integer_Address := Null_Pointer;
+ Needs_Dealloc : Boolean := True;
end record;
overriding procedure Initialize