[Ada] Conversion routines between GNAT.OS_Lib.OS_Time and long integer
authorDmitriy Anisimkov <anisimko@adacore.com>
Mon, 19 Aug 2019 08:37:13 +0000 (08:37 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 19 Aug 2019 08:37:13 +0000 (08:37 +0000)
commitc70220382300ae326ad63fe54c5a32da202d1f13
tree8fc7c89a82bfa995c8a6b135fc195d07d427af54
parent382b0e9771d77d482f6765454ec884936b62b15b
[Ada] Conversion routines between GNAT.OS_Lib.OS_Time and long integer

The new routines convert back and forth between private type OS_Time and
a long integer which can be used in package Ada.Calendar.Conversions
routines to convert to Ada.Calendar.Time.

2019-08-19  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

* libgnat/s-os_lib.ads, libgnat/s-os_lib.adb (To_Ada, To_C): New
routines.

From-SVN: r274661
gcc/ada/ChangeLog
gcc/ada/libgnat/s-os_lib.adb
gcc/ada/libgnat/s-os_lib.ads