pragma Pure (C);
|
Declaration's based on C's <limits.h>
|
Known child units
|
Exceptions
|
Type Summary
|
Constants and Named Numbers
|
Other Items:
|
|
type short is new Short_Integer;
|
|
type long is range -(2 ** (System.Parameters.long_bits - 1))
.. +(2 ** (System.Parameters.long_bits - 1)) - 1;
|
|
|
|
|
|
|
|
type ptrdiff_t is
range -(2 ** (Standard'Address_Size - 1)) ..
+(2 ** (Standard'Address_Size - 1) - 1);
|
|
type size_t is mod 2 ** Standard'Address_Size;
|
Floating-Point
|
|
|
type double is new Standard.Long_Float;
|
|
type long_double is new Standard.Long_Long_Float;
|
Characters and Strings
|
|
type char is new Character;
|
|
function To_C (Item : Character) return char;
|
|
|
|
|
function To_C
(Item : in String;
Append_Nul : in Boolean := True)
return char_array;
|
|
function To_Ada
(Item : in char_array;
Trim_Nul : in Boolean := True)
return String;
|
|
procedure To_C
(Item : in String;
Target : out char_array;
Count : out size_t;
Append_Nul : in Boolean := True);
|
|
procedure To_Ada
(Item : in char_array;
Target : out String;
Count : out Natural;
Trim_Nul : in Boolean := True);
|
Wide Character and Wide String
|
|
type wchar_t is new Wide_Character;
for wchar_t'Size use Standard'Wchar_T_Size;
|
|
function To_C (Item : in Wide_Character) return wchar_t;
|
|
|
|
|
function To_C
(Item : in Wide_String;
Append_Nul : in Boolean := True)
return wchar_array;
|
|
function To_Ada
(Item : in wchar_array;
Trim_Nul : in Boolean := True)
return Wide_String;
|
|
procedure To_C
(Item : in Wide_String;
Target : out wchar_array;
Count : out size_t;
Append_Nul : in Boolean := True);
|
|
procedure To_Ada
(Item : in wchar_array;
Target : out Wide_String;
Count : out Natural;
Trim_Nul : in Boolean := True);
|
|