cvs: php-src(PHP_5_1) /sapi/embed php_embed.h

From: Date: Thu, 29 Dec 2005 06:02:18 +0000
Subject: cvs: php-src(PHP_5_1) /sapi/embed php_embed.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36283@lists.php.net to get a copy of this message
pollita Thu Dec 29 06:02:18 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/sapi/embed php_embed.h Log: MFH(r-1.7) Silence compiler warning: unused variable http://cvs.php.net/viewcvs.cgi/php-src/sapi/embed/php_embed.h?r1=1.6&r2=1.6.2.1&diff_format=u Index: php-src/sapi/embed/php_embed.h diff -u php-src/sapi/embed/php_embed.h:1.6 php-src/sapi/embed/php_embed.h:1.6.2.1 --- php-src/sapi/embed/php_embed.h:1.6 Wed Aug 3 14:08:49 2005 +++ php-src/sapi/embed/php_embed.h Thu Dec 29 06:02:17 2005 @@ -15,7 +15,7 @@ | Author: Edin Kadribasic <edink@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: php_embed.h,v 1.6 2005/08/03 14:08:49 sniper Exp $ */ +/* $Id: php_embed.h,v 1.6.2.1 2005/12/29 06:02:17 pollita Exp $ */ #ifndef _PHP_EMBED_H_ #define _PHP_EMBED_H_ @@ -32,18 +32,24 @@ #define PTSRMLS_DC , PTSRMLS_D #define PTSRMLS_C &tsrm_ls #define PTSRMLS_CC , PTSRMLS_C + +#define PHP_EMBED_START_BLOCK(x,y) { \ + void ***tsrm_ls; \ + php_embed_init(x, y PTSRMLS_CC); \ + zend_first_try { + #else #define PTSRMLS_D #define PTSRMLS_DC #define PTSRMLS_C #define PTSRMLS_CC -#endif #define PHP_EMBED_START_BLOCK(x,y) { \ - void ***tsrm_ls; \ - php_embed_init(x, y PTSRMLS_CC); \ + php_embed_init(x, y); \ zend_first_try { +#endif + #define PHP_EMBED_END_BLOCK() \ } zend_catch { \ /* int exit_status = EG(exit_status); */ \

« previous php.cvs (#36283) next »