From f7900367116f333b5a4582b29a2c1f7d2d9b6453 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 26 Sep 2014 11:06:02 +0200 Subject: some cleanups for TSRMLS_FETCH and direct tsrm_ls usage in main --- main/php_output.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main/php_output.h') diff --git a/main/php_output.h b/main/php_output.h index 02b2b85d13..bcce8720e1 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -102,13 +102,8 @@ typedef struct _php_output_context { int op; php_output_buffer in; php_output_buffer out; -#ifdef ZTS - void ***tsrm_ls; -#endif } php_output_context; -#define PHP_OUTPUT_TSRMLS(ctx) TSRMLS_FETCH_FROM_CTX((ctx)->tsrm_ls) - /* 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 */ -- cgit v1.2.1