home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / adaada.zip / ADAADA.ZIP / SRC / CW_ADA / CW_SYS.ADA < prev    next >
Text File  |  1994-10-12  |  1KB  |  47 lines

  1. -- Copyright (c) 1994 ARINC Research Corporation
  2. -- From material copyright (c) 1991, 1992 Premia Corporation
  3. --
  4. -- This material may be reproduced by or for the US Government pursuant 
  5. -- to the copyright license under DFAR Clause 252.227-7013 (1988)
  6. --
  7. -- Developed for US Air Force under contract no. F41608-90-D-0544-0005
  8. --
  9. -- MODIFICATIONS
  10. --   94/06 - J. Neuse, SD/OSE/EA  - Initial code
  11. --   94/10 - O. Sluder, SD/OSE/EA - Cleanup
  12.  
  13. with SYSTEM;
  14.  
  15. -- ************
  16. -- *          *
  17. -- *  CW_SYS  *  SPEC
  18. -- *          *
  19. -- ************
  20.  
  21. package CW_SYS is
  22.  
  23.   -- The following pragmas are required by the Meridian OpenAda for
  24.   -- Windows 2.0 compiler in the package spec and body of code to be
  25.   -- included in a DLL, or an application calling the DLL will 
  26.   -- general protection fault
  27.   pragma SUPPRESS (elaboration_check);
  28.   pragma SUPPRESS (storage_check);
  29.  
  30.   -- ..............
  31.   -- .            .
  32.   -- .  MemAlloc  .  SPEC
  33.   -- .            .
  34.   -- ..............
  35.  
  36.   function MemAlloc (size : in integer) return SYSTEM.ADDRESS;
  37.  
  38.   -- .............
  39.   -- .           .
  40.   -- .  MemFree  .  SPEC
  41.   -- .           .
  42.   -- .............
  43.  
  44.   procedure MemFree (blockptr : in SYSTEM.ADDRESS);
  45.  
  46. end CW_SYS;
  47.