summaryrefslogtreecommitdiff
path: root/ext/ncurses/php_ncurses.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-27 17:03:53 +0000
committerWez Furlong <wez@php.net>2002-09-27 17:03:53 +0000
commitdd6d22b6a103313aed54920f6927eb4439c3a493 (patch)
treede8237977032acba78fa268fc0c9bbeaedbd3f3b /ext/ncurses/php_ncurses.h
parent69e677cda7dfa3c1b7b55aa8db5cfd247abc0a8f (diff)
downloadphp-git-dd6d22b6a103313aed54920f6927eb4439c3a493.tar.gz
Implement some more window routines, add pad functions.
Add panel functions when libpanel is also detected. Register STDSCR constant during ncurses_init().
Diffstat (limited to 'ext/ncurses/php_ncurses.h')
-rw-r--r--ext/ncurses/php_ncurses.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/ncurses/php_ncurses.h b/ext/ncurses/php_ncurses.h
index 0d4d9dc010..333b10efa7 100644
--- a/ext/ncurses/php_ncurses.h
+++ b/ext/ncurses/php_ncurses.h
@@ -21,7 +21,13 @@
#include <curses.h>
-extern int le_ncurses;
+extern int le_ncurses_windows;
+
+#if HAVE_NCURSES_PANEL
+# include <panel.h>
+extern int le_ncurses_panels;
+#endif
+
extern zend_module_entry ncurses_module_entry;
#define phpext_ncurses_ptr &ncurses_module_entry