Re: cvs: php4 /ext/sablot sablot.c
| From: | Rasmus Lerdorf | Date: | Fri, 10 Aug 2001 12:35:19 +0000 |
| Subject: | Re: cvs: php4 /ext/sablot sablot.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6696@lists.php.net to get a copy of this message | ||
You broke the extension again!
php_sablot.h has:
typedef struct _php_sablot_globals {
zval *errorHandler;
php_sablot_error *errors;
php_sablot_error errors_start;
char *output_transform_file; /* For output transformations */
int last_errno; /* Global last_errno, if no handle is found */
SablotHandle processor;
} php_sablot_globals
And now it won't build.
This is a PHP extension, not a Zend extension. We already have most of
the PHP_* macros, I don't see why we shouldn't have these as well.
-Rasmus
On Fri, 10 Aug 2001, Zeev Suraski wrote:
> zeev Fri Aug 10 08:28:15 2001 EDT
>
> Modified files:
> /php4/ext/sablot sablot.c
> Log:
> build fix
>
>
> Index: php4/ext/sablot/sablot.c
> diff -u php4/ext/sablot/sablot.c:1.49 php4/ext/sablot/sablot.c:1.50
> --- php4/ext/sablot/sablot.c:1.49 Fri Aug 10 05:48:47 2001
> +++ php4/ext/sablot/sablot.c Fri Aug 10 08:28:15 2001
> @@ -166,7 +166,7 @@
> _php_sablot_sh_close
> };
>
> -PHP_DECLARE_MODULE_GLOBALS(sablot)
> +ZEND_DECLARE_MODULE_GLOBALS(sablot)
>
> static unsigned char sixth_arg_force_ref[] = { 6, BYREF_NONE, BYREF_NONE, BYREF_NONE,
> BYREF_NONE, BYREF_NONE, BYREF_FORCE };
> static unsigned char third_arg_force_ref[] = { 4, BYREF_NONE, BYREF_NONE, BYREF_FORCE,
> BYREF_NONE };
>
>
>
>