[patch] export zend_on_timeout()
| From: | Antony Dovgal | Date: | Mon, 21 Nov 2011 22:12:59 +0000 |
| Subject: | [patch] export zend_on_timeout() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-56463@lists.php.net to get a copy of this message | ||
Hello all.
I'd like to commit a one-liner to 5_4/trunk if there are no objections.
See it in the attachment.
Stas, do you mind if I commit it to 5_4 now?
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP
Index: Zend/zend.h =================================================================== --- Zend/zend.h (revision 319511) +++ Zend/zend.h (working copy) @@ -683,7 +683,7 @@ #endif extern ZEND_API void (*zend_ticks_function)(int ticks); extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0); -extern void (*zend_on_timeout)(int seconds TSRMLS_DC); +extern ZEND_API void (*zend_on_timeout)(int seconds TSRMLS_DC); extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC); extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap); extern ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);
Index: Zend/zend.h =================================================================== --- Zend/zend.h (revision 319511) +++ Zend/zend.h (working copy) @@ -683,7 +683,7 @@ #endif extern ZEND_API void (*zend_ticks_function)(int ticks); extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0); -extern void (*zend_on_timeout)(int seconds TSRMLS_DC); +extern ZEND_API void (*zend_on_timeout)(int seconds TSRMLS_DC); extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC); extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap); extern ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);