diff options
author | Wez Furlong <wez@php.net> | 2002-09-27 22:33:14 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-09-27 22:33:14 +0000 |
commit | 65d3e611f99616bdc5c7862c83cf6a1fc203efc0 (patch) | |
tree | d9598d178f8edcf4908c01723a930bc03df16e0c /ext/ncurses/php_ncurses.h | |
parent | dd6d22b6a103313aed54920f6927eb4439c3a493 (diff) | |
download | php-git-65d3e611f99616bdc5c7862c83cf6a1fc203efc0.tar.gz |
More ncurses functions and constants.
Diffstat (limited to 'ext/ncurses/php_ncurses.h')
-rw-r--r-- | ext/ncurses/php_ncurses.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/ncurses/php_ncurses.h b/ext/ncurses/php_ncurses.h index 333b10efa7..24e147eda1 100644 --- a/ext/ncurses/php_ncurses.h +++ b/ext/ncurses/php_ncurses.h @@ -47,15 +47,9 @@ PHP_RINIT_FUNCTION(ncurses); PHP_RSHUTDOWN_FUNCTION(ncurses); PHP_MINFO_FUNCTION(ncurses); -/* - Declare any global variables you may need between the BEGIN - and END macros here: - ZEND_BEGIN_MODULE_GLOBALS(ncurses) - int global_value; - char *global_string; + int registered_constants; ZEND_END_MODULE_GLOBALS(ncurses) -*/ /* In every function that needs to use variables in php_ncurses_globals, do call NCURSES_LS_FETCH(); after declaring other variables used by @@ -72,6 +66,8 @@ ZEND_END_MODULE_GLOBALS(ncurses) #define NCURSES_LS_FETCH() #endif +ZEND_EXTERN_MODULE_GLOBALS(ncurses); + #endif /* PHP_NCURSES_H */ |