Mercurial > hg > CbC > CbC_gcc
diff gcc/ada/uintp.ads @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/ada/uintp.ads Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/ada/uintp.ads Thu Feb 13 11:34:05 2020 +0900 @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2019, 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- -- @@ -248,6 +248,13 @@ function UI_From_Int (Input : Int) return Uint; -- Converts Int value to universal integer form + generic + type In_T is range <>; + function UI_From_Integral (Input : In_T) return Uint; + -- Likewise, but converts from any integer type. Must not be applied to + -- biased types (instantiation will provide a warning if actual is a biased + -- type). + function UI_From_CC (Input : Char_Code) return Uint; -- Converts Char_Code value to universal integer form