X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fada%2Fterminal_interface-curses-forms-field_types-numeric__adb.htm;h=f490216351472152cc4f4da894bc32068eea2618;hp=a996109f1d5ae7348730d8171d8f59364324620d;hb=a90dd7b66fa711acd24d8181ea20e4f57d4b36cd;hpb=34d602f272c394e9a980438e636e1ce4d355f83b diff --git a/doc/html/ada/terminal_interface-curses-forms-field_types-numeric__adb.htm b/doc/html/ada/terminal_interface-curses-forms-field_types-numeric__adb.htm index a996109f..f4902163 100644 --- a/doc/html/ada/terminal_interface-curses-forms-field_types-numeric__adb.htm +++ b/doc/html/ada/terminal_interface-curses-forms-field_types-numeric__adb.htm @@ -24,7 +24,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -52,32 +53,32 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- @Revision: 1.14 @ --- @Date: 2014/05/24 21:31:05 @ +-- @Revision: 1.15 @ +-- @Date: 2020/02/02 23:34:34 @ -- Binding Version 01.00 ------------------------------------------------------------------------------ -with Interfaces.C; -with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; +with Interfaces.C; +with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; -package body Terminal_Interface.Curses.Forms.Field_Types.Numeric is +package body Terminal_Interface.Curses.Forms.Field_Types.Numeric is - procedure Set_Field_Type (Fld : Field; - Typ : Numeric_Field) + procedure Set_Field_Type (Fld : Field; + Typ : Numeric_Field) is - type Double is new Interfaces.C.double; + type Double is new Interfaces.C.double; - function Set_Fld_Type (F : Field := Fld; - Arg1 : C_Int; - Arg2 : Double; - Arg3 : Double) return Eti_Error; + function Set_Fld_Type (F : Field := Fld; + Arg1 : C_Int; + Arg2 : Double; + Arg3 : Double) return Eti_Error; pragma Import (C, Set_Fld_Type, "set_field_type_numeric"); begin - Eti_Exception (Set_Fld_Type (Arg1 => C_Int (Typ.Precision), - Arg2 => Double (Typ.Lower_Limit), - Arg3 => Double (Typ.Upper_Limit))); - Wrap_Builtin (Fld, Typ); - end Set_Field_Type; + Eti_Exception (Set_Fld_Type (Arg1 => C_Int (Typ.Precision), + Arg2 => Double (Typ.Lower_Limit), + Arg3 => Double (Typ.Upper_Limit))); + Wrap_Builtin (Fld, Typ); + end Set_Field_Type; -end Terminal_Interface.Curses.Forms.Field_Types.Numeric; +end Terminal_Interface.Curses.Forms.Field_Types.Numeric;