]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/html/terminal_interface-curses-forms-field_user_data_s.html
ncurses 4.2
[ncurses.git] / Ada95 / html / terminal_interface-curses-forms-field_user_data_s.html
index 7ad321ccdbee0208197377109db7535a97237ac1..16c28b0f54f9a14ec71c79315bf5aee9434ca046 100644 (file)
 <I>--                                                                          --</I>
 <I>--                                 S P E C                                  --</I>
 <I>--                                                                          --</I>
-<I>--  Version 00.92                                                           --</I>
+<I>------------------------------------------------------------------------------</I>
+<I>-- Copyright (c) 1998 Free Software Foundation, Inc.                        --</I>
 <I>--                                                                          --</I>
-<I>--  The ncurses Ada95 binding is copyrighted 1996 by                        --</I>
-<I>--  <A HREF="http://home.t-online.de/home/Juergen.Pfeifer">J&uuml;rgen Pfeifer</A>, Email: <A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen.Pfeifer@T-Online.de</A>                      --</I>
+<I>-- Permission is hereby granted, free of charge, to any person obtaining a  --</I>
+<I>-- copy of this software and associated documentation files (the            --</I>
+<I>-- "Software"), to deal in the Software without restriction, including      --</I>
+<I>-- without limitation the rights to use, copy, modify, merge, publish,      --</I>
+<I>-- distribute, distribute with modifications, sublicense, and/or sell       --</I>
+<I>-- copies of the Software, and to permit persons to whom the Software is    --</I>
+<I>-- furnished to do so, subject to the following conditions:                 --</I>
 <I>--                                                                          --</I>
-<I>--  Permission is hereby granted to reproduce and distribute this           --</I>
-<I>--  binding by any means and for any fee, whether alone or as part          --</I>
-<I>--  of a larger distribution, in source or in binary form, PROVIDED         --</I>
-<I>--  this notice is included with any such distribution, and is not          --</I>
-<I>--  removed from any of its header files. Mention of ncurses and the        --</I>
-<I>--  author of this binding in any applications linked with it is            --</I>
-<I>--  highly appreciated.                                                     --</I>
+<I>-- The above copyright notice and this permission notice shall be included  --</I>
+<I>-- in all copies or substantial portions of the Software.                   --</I>
 <I>--                                                                          --</I>
-<I>--  This binding comes AS IS with no warranty, implied or expressed.        --</I>
+<I>-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  --</I>
+<I>-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               --</I>
+<I>-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   --</I>
+<I>-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   --</I>
+<I>-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    --</I>
+<I>-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    --</I>
+<I>-- THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               --</I>
+<I>--                                                                          --</I>
+<I>-- Except as contained in this notice, the name(s) of the above copyright   --</I>
+<I>-- holders shall not be used in advertising or otherwise to promote the     --</I>
+<I>-- sale, use or other dealings in this Software without prior written       --</I>
+<I>-- authorization.                                                           --</I>
 <I>------------------------------------------------------------------------------</I>
+<I>--  <A HREF="http://home.t-online.de/home/Juergen.Pfeifer">J&uuml;rgen Pfeifer</A>, Email: <A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen.Pfeifer@T-Online.de</A>                      --</I>
 <I>--  Version Control:</I>
-<I>--  @Revision: 1.3 @</I>
+<I>--  @Revision: 1.4 @</I>
 <I>------------------------------------------------------------------------------</I>
 
 <B>generic</B>
    type User_Access <B>is</B> <B>access</B> User;
 <B>package</B> Terminal_Interface.Curses.Forms.Field_User_Data <B>is</B>
 
-   <I>--  The binding uses the C level user pointer already for its own</I>
-   <I>--  internal purposes. So you canĀ“t easily manipulate the user pointer</I>
-   <I>--  with the low level C routines for this field without taking care of</I>
-   <I>--  this special situation. If you want to read or write with C routines</I>
-   <I>--  the user pointer of this field, you should get first the low level</I>
-   <I>--  user pointer. This points to a record, that always has as its first</I>
-   <I>--  member the Ada95 user pointer for this field. You should never change</I>
-   <I>--  the low level user pointer of an Ada created field.</I>
-   <I>--</I>
    <I>--  |=====================================================================</I>
    <I>--  | Man page <A HREF="form_field_userptr.3x.html">form_field_userptr.3x</A></I>
    <I>--  |=====================================================================</I>
    <B>procedure</B> Set_User_Data (Fld  : <B>in</B> Field;
                             Data : <B>in</B> User_Access);
    <I>--  AKA: <A HREF="form_field_userptr.3x.html">set_field_userptr</A></I>
-   <B>pragma</B> Convention (C, Set_User_Data);
+   <B>pragma</B> Inline (Set_User_Data);
 
    <I>--  <A NAME="AFU_2">|</I>
    <B>procedure</B> Get_User_Data (Fld  : <B>in</B>  Field;
                             Data : <B>out</B> User_Access);
    <I>--  AKA: <A HREF="form_field_userptr.3x.html">field_userptr</A></I>
-   <B>pragma</B> Convention (C, Get_User_Data);
+   <B>pragma</B> Inline (Get_User_Data);
 
 <B>end</B> Terminal_Interface.Curses.Forms.Field_User_Data;