|
|
|
@ -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); */ \ |
|
|
|
|