From a0044ffc69cfe39a3b0b2d208e0952254555afc6 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 28 Feb 2014 19:18:07 +0000 Subject: Redo import of ncurses 5.9 (stripped). --- form/llib-lformw | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) (limited to 'form/llib-lformw') diff --git a/form/llib-lformw b/form/llib-lformw index 7690c5b0bd88..30c24b56029e 100644 --- a/form/llib-lformw +++ b/form/llib-lformw @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2002,2005 Free Software Foundation, Inc. * + * Copyright (c) 2002-2005,2010 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 * @@ -27,13 +27,13 @@ ****************************************************************************/ /**************************************************************************** - * Author: Thomas E. Dickey 2002,2005 * + * Author: Thomas E. Dickey 2002-2005,2010 * ****************************************************************************/ /* LINTLIBRARY */ /* ./f_trace.c */ -#include "form.priv.h" +#include #undef _nc_retrace_field_ptr FIELD **_nc_retrace_field_ptr( @@ -264,7 +264,7 @@ int move_field( /* ./fld_newftyp.c */ #undef _nc_Default_FieldType -const FIELDTYPE *_nc_Default_FieldType = {0}; +FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( @@ -396,6 +396,12 @@ NCURSES_BOOL data_ahead( #undef _nc_Default_Form FORM *_nc_Default_Form; +#undef new_form_sp +FORM *new_form_sp( + SCREEN *sp, + FIELD **fields) + { return(*(FORM **)0); } + #undef new_form FORM *new_form( FIELD **fields) @@ -424,6 +430,13 @@ int field_count( /* ./frm_driver.c */ +#undef _nc_get_fieldbuffer +void _nc_get_fieldbuffer( + FORM *form, + FIELD *field, + cchar_t *buf) + { /* void */ } + #undef _nc_Position_Form_Cursor int _nc_Position_Form_Cursor( FORM *form) @@ -689,9 +702,23 @@ typedef struct } enumARG; +typedef struct + { + char **kwds; + int ccase; + int cunique; + } +enumParams; + #undef TYPE_ENUM FIELDTYPE *TYPE_ENUM; +/* ./fty_generic.c */ + +#undef _nc_fty_generic +void _nc_fty_generic(void) + { /* void */ } + /* ./fty_int.c */ typedef struct @@ -702,6 +729,14 @@ typedef struct } integerARG; +typedef struct + { + int precision; + long low; + long high; + } +integerPARM; + #undef TYPE_INTEGER FIELDTYPE *TYPE_INTEGER; @@ -722,6 +757,14 @@ typedef struct } numericARG; +typedef struct + { + int precision; + double low; + double high; + } +thisPARM; + #undef TYPE_NUMERIC FIELDTYPE *TYPE_NUMERIC; -- cgit v1.2.3