Various projects using Raspberry Pi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
4.6 KiB

11 years ago
  1. with Interfaces.C; use Interfaces.C;
  2. with Interfaces.C.Extensions;
  3. package stdint_h is
  4. -- Copyright (C) 1997,1998,1999,2000,2001,2006 Free Software Foundation, Inc.
  5. -- This file is part of the GNU C Library.
  6. -- The GNU C Library is free software; you can redistribute it and/or
  7. -- modify it under the terms of the GNU Lesser General Public
  8. -- License as published by the Free Software Foundation; either
  9. -- version 2.1 of the License, or (at your option) any later version.
  10. -- The GNU C Library is distributed in the hope that it will be useful,
  11. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. -- Lesser General Public License for more details.
  14. -- You should have received a copy of the GNU Lesser General Public
  15. -- License along with the GNU C Library; if not, write to the Free
  16. -- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  17. -- 02111-1307 USA.
  18. -- * ISO C99: 7.18 Integer types <stdint.h>
  19. --
  20. -- Exact integral types.
  21. -- Signed.
  22. -- There is some amount of overlap with <sys/types.h> as known by inet code
  23. subtype int8_t is signed_char; -- /usr/include/stdint.h:37
  24. subtype int16_t is short; -- /usr/include/stdint.h:38
  25. subtype int32_t is int; -- /usr/include/stdint.h:39
  26. subtype int64_t is Long_Long_Integer; -- /usr/include/stdint.h:44
  27. -- Unsigned.
  28. subtype uint8_t is unsigned_char; -- /usr/include/stdint.h:49
  29. subtype uint16_t is unsigned_short; -- /usr/include/stdint.h:50
  30. subtype uint32_t is unsigned; -- /usr/include/stdint.h:52
  31. subtype uint64_t is Extensions.unsigned_long_long; -- /usr/include/stdint.h:59
  32. -- Small types.
  33. -- Signed.
  34. subtype int_least8_t is signed_char; -- /usr/include/stdint.h:66
  35. subtype int_least16_t is short; -- /usr/include/stdint.h:67
  36. subtype int_least32_t is int; -- /usr/include/stdint.h:68
  37. subtype int_least64_t is Long_Long_Integer; -- /usr/include/stdint.h:73
  38. -- Unsigned.
  39. subtype uint_least8_t is unsigned_char; -- /usr/include/stdint.h:77
  40. subtype uint_least16_t is unsigned_short; -- /usr/include/stdint.h:78
  41. subtype uint_least32_t is unsigned; -- /usr/include/stdint.h:79
  42. subtype uint_least64_t is Extensions.unsigned_long_long; -- /usr/include/stdint.h:84
  43. -- Fast types.
  44. -- Signed.
  45. subtype int_fast8_t is signed_char; -- /usr/include/stdint.h:91
  46. subtype int_fast16_t is int; -- /usr/include/stdint.h:97
  47. subtype int_fast32_t is int; -- /usr/include/stdint.h:98
  48. subtype int_fast64_t is Long_Long_Integer; -- /usr/include/stdint.h:100
  49. -- Unsigned.
  50. subtype uint_fast8_t is unsigned_char; -- /usr/include/stdint.h:104
  51. subtype uint_fast16_t is unsigned; -- /usr/include/stdint.h:110
  52. subtype uint_fast32_t is unsigned; -- /usr/include/stdint.h:111
  53. subtype uint_fast64_t is Extensions.unsigned_long_long; -- /usr/include/stdint.h:113
  54. -- Types for `void *' pointers.
  55. subtype intptr_t is int; -- /usr/include/stdint.h:126
  56. subtype uintptr_t is unsigned; -- /usr/include/stdint.h:129
  57. -- Largest integral types.
  58. subtype intmax_t is Long_Long_Integer; -- /usr/include/stdint.h:139
  59. subtype uintmax_t is Extensions.unsigned_long_long; -- /usr/include/stdint.h:141
  60. -- The ISO C99 standard specifies that in C++ implementations these
  61. -- macros should only be defined if explicitly requested.
  62. -- Limits of integral types.
  63. -- Minimum of signed integral types.
  64. -- Maximum of signed integral types.
  65. -- Maximum of unsigned integral types.
  66. -- Minimum of signed integral types having a minimum size.
  67. -- Maximum of signed integral types having a minimum size.
  68. -- Maximum of unsigned integral types having a minimum size.
  69. -- Minimum of fast signed integral types having a minimum size.
  70. -- Maximum of fast signed integral types having a minimum size.
  71. -- Maximum of fast unsigned integral types having a minimum size.
  72. -- Values to test for integral types holding `void *' pointer.
  73. -- Minimum for largest signed integral type.
  74. -- Maximum for largest signed integral type.
  75. -- Maximum for largest unsigned integral type.
  76. -- Limits of other integer types.
  77. -- Limits of `ptrdiff_t' type.
  78. -- Limits of `sig_atomic_t'.
  79. -- Limit of `size_t' type.
  80. -- Limits of `wchar_t'.
  81. -- These constants might also be defined in <wchar.h>.
  82. -- Limits of `wint_t'.
  83. -- The ISO C99 standard specifies that in C++ implementations these
  84. -- should only be defined if explicitly requested.
  85. -- Signed.
  86. -- Unsigned.
  87. -- Maximal type.
  88. end stdint_h;