projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 5.7 - patch 20090927
[ncurses.git]
/
include
/
nc_panel.h
diff --git
a/include/nc_panel.h
b/include/nc_panel.h
index ece9594736835c8f58a2a529b49ce2460e0ab0de..6a9ffea396878f6e2ad38821c86db996fabd28c2 100644
(file)
--- a/
include/nc_panel.h
+++ b/
include/nc_panel.h
@@
-31,9
+31,8
@@
* and: Thomas E. Dickey *
****************************************************************************/
* and: Thomas E. Dickey *
****************************************************************************/
-
/*
/*
- * $Id: nc_panel.h,v 1.
6 2009/04/11 21:17:57
tom Exp $
+ * $Id: nc_panel.h,v 1.
7 2009/07/04 18:20:02
tom Exp $
*
* nc_panel.h
*
*
* nc_panel.h
*
@@
-45,29
+44,33
@@
#define NC_PANEL_H 1
#ifdef __cplusplus
#define NC_PANEL_H 1
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
#endif
-
struct panel;
/* Forward Declaration */
+
struct panel;
/* Forward Declaration */
-struct panelhook {
- struct panel* top_panel;
- struct panel* bottom_panel;
- struct panel* stdscr_pseudo_panel;
+ struct panelhook
+ {
+ struct panel *top_panel;
+ struct panel *bottom_panel;
+ struct panel *stdscr_pseudo_panel;
#if NO_LEAKS
#if NO_LEAKS
-
int (*destroy)
(struct panel *);
+
int (*destroy)
(struct panel *);
#endif
#endif
-};
-
-/* Retrieve the panelhook of the current screen */
-extern NCURSES_EXPORT(struct panelhook*) _nc_panelhook (void);
+ };
+ struct screen; /* Forward declaration */
+/* Retrieve the panelhook of the specified screen */
+ extern NCURSES_EXPORT(struct panelhook *)
+ _nc_panelhook (void);
#if NCURSES_SP_FUNCS
#if NCURSES_SP_FUNCS
-extern NCURSES_EXPORT(struct panelhook*) NCURSES_SP_NAME(_nc_panelhook) (SCREEN *);
+ extern NCURSES_EXPORT(struct panelhook *)
+ NCURSES_SP_NAME(_nc_panelhook) (SCREEN *);
#endif
#ifdef __cplusplus
}
#endif
#endif
#ifdef __cplusplus
}
#endif
-#endif /* NC_PANEL_H */
+#endif
/* NC_PANEL_H */