File: support.ads

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (17 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
with GNATCOLL.Scripts;         use GNATCOLL.Scripts;

package Support is

   type Cache_Data is record
      Data : Integer := 0;
      Inst : Instance_List_Access;
   end record;
   type Cache_Data_Access is access all Cache_Data;

   function Lookup return Cache_Data_Access;
   procedure Destroy (Self : in out Cache_Data_Access);

   procedure Set_Data (CI : in out Class_Instance; Data : Cache_Data_Access);
   function Get_Data (CI : Class_Instance) return Cache_Data_Access;

end Support;