Natools

Diff
Login

Differences From Artifact [eb6f847a7f]:

To Artifact [695396ae27]:


43
44
45
46
47
48
49

50
51
52
53
54
55
56
57
58
59
   Instance_Count : Integer := 0;

   type Counter is new Ada.Finalization.Limited_Controlled with record
      Instance_Number : Natural := 0;
   end record;

   function Factory return Counter;

   overriding procedure Finalize (Object : in out Counter);

   Pool : GNAT.Debug_Pools.Debug_Pool;

   package Refs is new Natools.References
     (Counter,
      System.Storage_Pools.Root_Storage_Pool'Class (Pool),
      System.Storage_Pools.Root_Storage_Pool'Class (Pool));

end Natools.Reference_Tests;







>










43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
   Instance_Count : Integer := 0;

   type Counter is new Ada.Finalization.Limited_Controlled with record
      Instance_Number : Natural := 0;
   end record;

   function Factory return Counter;
   overriding procedure Initialize (Object : in out Counter);
   overriding procedure Finalize (Object : in out Counter);

   Pool : GNAT.Debug_Pools.Debug_Pool;

   package Refs is new Natools.References
     (Counter,
      System.Storage_Pools.Root_Storage_Pool'Class (Pool),
      System.Storage_Pools.Root_Storage_Pool'Class (Pool));

end Natools.Reference_Tests;