* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/****************************************************************************
* Author: Juergen Pfeifer, 1995,1997 *
/****************************************************************************
* Author: Juergen Pfeifer, 1995,1997 *
****************************************************************************/
/***************************************************************************
****************************************************************************/
/***************************************************************************
/* "Template" macro to generate function to set application specific hook */
#define GEN_HOOK_SET_FUNCTION( typ, name ) \
NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (MENU *menu, Menu_Hook func )\
{\
/* "Template" macro to generate function to set application specific hook */
#define GEN_HOOK_SET_FUNCTION( typ, name ) \
NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (MENU *menu, Menu_Hook func )\
{\
#define GEN_HOOK_GET_FUNCTION( typ, name ) \
NCURSES_IMPEXP Menu_Hook NCURSES_API typ ## _ ## name ( const MENU *menu )\
{\
#define GEN_HOOK_GET_FUNCTION( typ, name ) \
NCURSES_IMPEXP Menu_Hook NCURSES_API typ ## _ ## name ( const MENU *menu )\
{\
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : Menu init function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : Menu init function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : Menu finalization function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : Menu finalization function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : Item init function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : Item init function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
|
| Return Values : Item finalization function address or NULL
+--------------------------------------------------------------------------*/
|
| Return Values : Item finalization function address or NULL
+--------------------------------------------------------------------------*/