]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/src/terminal_interface-curses-forms-field_types-user.ads
ncurses 5.0
[ncurses.git] / Ada95 / src / terminal_interface-curses-forms-field_types-user.ads
similarity index 94%
rename from Ada95/ada_include/terminal_interface-curses-forms-field_types-user.ads
rename to Ada95/src/terminal_interface-curses-forms-field_types-user.ads
index f06459b8c25ebf9657696fc66a40290033e5fb0c..f93a904fad2fb2bb410a9234b3a3b5bd3e3bef64 100644 (file)
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
---  $Revision: 1.4 $
---  Binding Version 00.93
+--  $Revision: 1.9 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
-with Ada.Unchecked_Deallocation;
-with Terminal_Interface.Curses.Aux;
+with Interfaces.C;
 
 package Terminal_Interface.Curses.Forms.Field_Types.User is
-   pragma Preelaborate (User);
+   pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_Types.User);
+   use type Interfaces.C.int;
+   subtype C_Int is Interfaces.C.int;
 
    type User_Defined_Field_Type is abstract new Field_Type with null record;
    --  This is the root of the mechanism we use to create field types in
@@ -75,7 +76,7 @@ package Terminal_Interface.Curses.Forms.Field_Types.User is
    --  | Private Part.
    --  | Used by the Choice child package.
 private
-   use type Interfaces.C.Int;
+   use type Interfaces.C.int;
 
    function C_Generic_Type   return C_Field_Type;