summaryrefslogtreecommitdiff
path: root/gcc/ada/s-pack21.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-pack21.ads')
-rw-r--r--gcc/ada/s-pack21.ads16
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ada/s-pack21.ads b/gcc/ada/s-pack21.ads
index a0d5939f0d6..0454df05b48 100644
--- a/gcc/ada/s-pack21.ads
+++ b/gcc/ada/s-pack21.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -39,11 +39,21 @@ package System.Pack_21 is
type Bits_21 is mod 2 ** Bits;
for Bits_21'Size use Bits;
- function Get_21 (Arr : System.Address; N : Natural) return Bits_21;
+ -- In all subprograms below, Rev_SSO is set True if the array has the
+ -- non-default scalar storage order.
+
+ function Get_21
+ (Arr : System.Address;
+ N : Natural;
+ Rev_SSO : Boolean) return Bits_21 with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is extracted and returned.
- procedure Set_21 (Arr : System.Address; N : Natural; E : Bits_21);
+ procedure Set_21
+ (Arr : System.Address;
+ N : Natural;
+ E : Bits_21;
+ Rev_SSO : Boolean) with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is set to the given value.