ncurses 6.0 - patch 20161112
[ncurses.git] / menu / llib-lmenu
index 3623b85e3155c017b761ca52689eef97ae816731..96f067fc678ad912e40898775d5d1fec047dad66 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+ * Copyright (c) 1998-2010,2015 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            *
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey <dickey@clark.net> 1996,1997                   *
+ *  Author: Thomas E. Dickey       1996-on                                  *
  ****************************************************************************/
 /* LINTLIBRARY */
 
-/* ./m_adabind.c */
-
-#include "menu.priv.h"
-
-#undef _nc_ada_normalize_menu_opts
-void   _nc_ada_normalize_menu_opts(
-               int     *opt)
-               { /* void */ }
-
-#undef _nc_ada_normalize_item_opts
-void   _nc_ada_normalize_item_opts(
-               int     *opt)
-               { /* void */ }
-
-#undef _nc_get_item
-ITEM   *_nc_get_item(
-               const MENU *menu, 
-               int     idx)
-               { return(*(ITEM **)0); }
-
 /* ./m_attribs.c */
 
+#include <menu.priv.h>
+
 #undef set_menu_fore
 int    set_menu_fore(
                MENU    *menu, 
@@ -88,6 +70,14 @@ chtype       menu_grey(
 
 /* ./m_cursor.c */
 
+#undef _nc_menu_cursor_pos
+int    _nc_menu_cursor_pos(
+               const MENU *menu, 
+               const ITEM *item, 
+               int     *pY, 
+               int     *pX)
+               { return(*(int *)0); }
+
 #undef pos_menu_cursor
 int    pos_menu_cursor(
                const MENU *menu)
@@ -132,16 +122,21 @@ MENU      _nc_Default_Menu;
 ITEM   _nc_Default_Item;
 
 #undef _nc_Connect_Items
-bool   _nc_Connect_Items(
+NCURSES_BOOL _nc_Connect_Items(
                MENU    *menu, 
                ITEM    **items)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 #undef _nc_Disconnect_Items
 void   _nc_Disconnect_Items(
                MENU    *menu)
                { /* void */ }
 
+#undef _nc_Calculate_Text_Width
+int    _nc_Calculate_Text_Width(
+               const TEXT *item)
+               { return(*(int *)0); }
+
 #undef _nc_Calculate_Item_Length_and_Width
 void   _nc_Calculate_Item_Length_and_Width(
                MENU    *menu)
@@ -320,20 +315,20 @@ void      *item_userptr(
 #undef set_item_value
 int    set_item_value(
                ITEM    *item, 
-               bool    value)
+               NCURSES_BOOL value)
                { return(*(int *)0); }
 
 #undef item_value
-bool   item_value(
+NCURSES_BOOL item_value(
                const ITEM *item)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 /* ./m_item_vis.c */
 
 #undef item_visible
-bool   item_visible(
+NCURSES_BOOL item_visible(
                const ITEM *item)
-               { return(*(bool *)0); }
+               { return(*(NCURSES_BOOL *)0); }
 
 /* ./m_items.c */
 
@@ -355,6 +350,12 @@ int        item_count(
 
 /* ./m_new.c */
 
+#undef new_menu_sp
+MENU   *new_menu_sp(
+               SCREEN  *sp, 
+               ITEM    **items)
+               { return(*(MENU **)0); }
+
 #undef new_menu
 MENU   *new_menu(
                ITEM    **items)
@@ -491,6 +492,38 @@ WINDOW     *menu_sub(
                const MENU *menu)
                { return(*(WINDOW **)0); }
 
+/* ./m_trace.c */
+
+#undef _nc_retrace_item
+ITEM   *_nc_retrace_item(
+               ITEM    *code)
+               { return(*(ITEM **)0); }
+
+#undef _nc_retrace_item_ptr
+ITEM   **_nc_retrace_item_ptr(
+               ITEM    **code)
+               { return(*(ITEM ***)0); }
+
+#undef _nc_retrace_item_opts
+Item_Options _nc_retrace_item_opts(
+               Item_Options code)
+               { return(*(Item_Options *)0); }
+
+#undef _nc_retrace_menu
+MENU   *_nc_retrace_menu(
+               MENU    *code)
+               { return(*(MENU **)0); }
+
+#undef _nc_retrace_menu_hook
+Menu_Hook _nc_retrace_menu_hook(
+               Menu_Hook code)
+               { return(*(Menu_Hook *)0); }
+
+#undef _nc_retrace_menu_opts
+Menu_Options _nc_retrace_menu_opts(
+               Menu_Options code)
+               { return(*(Menu_Options *)0); }
+
 /* ./m_userptr.c */
 
 #undef set_menu_userptr