home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / adapm_15.zip / pm_types.ads < prev    next >
Text File  |  1994-03-14  |  4KB  |  72 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                               PM Bindings                                --
  4. --                                                                          --
  5. --                                Pm_Types                                  --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: .11 $                              --
  10. --                                                                          --
  11. --     Copyright (c) 1994 Dimensional Media Systems, All Rights Reserved    --
  12. --                                                                          --
  13. --   The PM bindings are free software; you can redistribute them and/or    --
  14. --   modify them under terms of the GNU General Public License as published --
  15. --   by the Free Software Foundation; either version 2, or (at your         --
  16. --   option) any later version.  The PM bindings are distributed in the     --
  17. --   hope that they will be useful, but WITH OUT ANY WARRANTY; without even --
  18. --   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR    --
  19. --   PURPOSE.  See the GNU General Public License for more details.  You    --
  20. --   should have received a copy of the GNU General Public License          --
  21. --   distributed with The PM bindings; see file COPYING.  If not, write to  --
  22. --   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25. --                                                                          --
  26. --   For more information about these PM bindings and their usage with GNAT --
  27. --   you can contact Bill Yow at                                            --
  28. --                                                                          --  
  29. --      Dimensional Media Systems (DMS)                                     --
  30. --      1522 Festival Dr.                                                   --
  31. --      Houston TX, 77062                                                   --
  32. --      Phone - (713) 488-7050                                              --
  33. --      Email - Byow@mci.com                                                --
  34. --                                                                          --
  35. ------------------------------------------------------------------------------
  36.  
  37. package Pm_Types is
  38.  
  39.   --Base type for the PM interface packages
  40.  
  41.   type Byte is range -128 .. 127;
  42.   for Byte'size use 8;
  43.  
  44.   type U_Byte is range 0 .. 255;
  45.   for U_Byte'size use 8;
  46.  
  47.   type Short is range -32_768 .. 32_767;
  48.   for Short'size use 16;
  49.  
  50.   type U_Short is range 0 .. 65_535;
  51.   for U_Short'size use 16;
  52.  
  53.   type Long is range -2_147_483_648 .. 2_147_483_647;
  54.   for Long'size use 32;
  55.  
  56.   type U_Long is range 0 .. 4_294_967_295;
  57.   for U_Long'size use 32;
  58.  
  59.   type V_Long is range -9_223_372_036_854_775_808 
  60.                                .. 9_223_372_036_854_775_807;
  61.   for V_Long'size use 64;
  62.  
  63. --Compiler 1.76 could not compile this.
  64. --  type U_V_Long is range 0 .. 18_446_744_073_709_551_615;
  65. --  for U_V_Long'size use 64;
  66.  
  67. --  type U_V_Long is mod 18_446_744_073_709_551_616;
  68. --  for U_V_Long'size use 64;
  69.  
  70. end Pm_Types;
  71.   
  72.