diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-11-18 01:36:17 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-11-18 01:36:17 +0100 |
commit | 9e3551ba1f00baa4a14215fda0c5d28aecfcdeba (patch) | |
tree | e5188ea94876b35c59c169e97c82de679bccc48c /Zend/zend_alloc.h | |
parent | f046189e34bdb52dc9d9f450cca4b5f78363d3cc (diff) | |
download | php-git-9e3551ba1f00baa4a14215fda0c5d28aecfcdeba.tar.gz |
Eliminated the TSRMLS_FETCH() in zend_set_memory_limit()
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r-- | Zend/zend_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index 0b4e74d897..020e37c972 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -139,7 +139,7 @@ inline static void * __zend_realloc(void *p, size_t len) #define safe_estrdup(ptr) ((ptr)?(estrdup(ptr)):STR_EMPTY_ALLOC()) #define safe_estrndup(ptr, len) ((ptr)?(estrndup((ptr), (len))):STR_EMPTY_ALLOC()) -ZEND_API int zend_set_memory_limit(size_t memory_limit); +ZEND_API int zend_set_memory_limit(size_t memory_limit TSRMLS_DC); ZEND_API void start_memory_manager(TSRMLS_D); ZEND_API void shutdown_memory_manager(int silent, int full_shutdown TSRMLS_DC); |