a few fixes: overwrite all my careful work in zipint_alias.h with zipint.h, so had to restore that.

PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
This commit is contained in:
Greg Beaver 2008-01-13 06:22:27 +00:00
parent c896933b7c
commit ccc0d6e32b
2 changed files with 50 additions and 46 deletions

View file

@ -274,9 +274,9 @@ static char * php_zipobj_get_zip_comment(struct zip *za, int *len TSRMLS_DC) /*
/* {{{ zend_function_entry */
static const zend_function_entry zip_functions[] = {
PHP_RAW_NAMED_FE("zip_open", zif_zip_open, NULL)
PHP_RAW_NAMED_FE("zip_close", zif_zip_close, NULL)
PHP_RAW_NAMED_FE("zip_read", zif_zip_read, NULL)
ZEND_RAW_FENTRY("zip_open", zif_zip_open, NULL, 0)
ZEND_RAW_FENTRY("zip_close", zif_zip_close, NULL, 0)
ZEND_RAW_FENTRY("zip_read", zif_zip_read, NULL, 0)
PHP_FE(zip_entry_open, NULL)
PHP_FE(zip_entry_close, NULL)
PHP_FE(zip_entry_read, NULL)