bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream
This commit is contained in:
Anatol Belski 2014-10-15 09:37:55 +02:00
parent 382f95e612
commit c00424e427
97 changed files with 377 additions and 12 deletions

View file

@ -104,6 +104,9 @@ typedef struct _php_output_context {
php_output_buffer out;
} php_output_context;
/* XXX remove this after TLS branch merge */
#define PHP_OUTPUT_TSRMLS(ctx)
/* old-style, stateless callback */
typedef void (*php_output_handler_func_t)(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode TSRMLS_DC);
/* new-style, opaque context callback */