From fbe66f16df4aff21fa4a5262752db288d097c34b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Jan 2013 13:40:10 +0100 Subject: php-pecl-xhprof: git snapshot + php 5.5 fix --- xhprof-arginfo.patch | 54 ---------------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 xhprof-arginfo.patch (limited to 'xhprof-arginfo.patch') diff --git a/xhprof-arginfo.patch b/xhprof-arginfo.patch deleted file mode 100644 index 60fefbe..0000000 --- a/xhprof-arginfo.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 0b3d4054d86b5a52d258623be1497c0c1c3f9a54 Mon Sep 17 00:00:00 2001 -From: philip -Date: Wed, 7 Apr 2010 18:17:09 +0000 -Subject: [PATCH] Added arginfo for reflection - -git-svn-id: https://svn.php.net/repository/pecl/xhprof/trunk@297630 c90b9560-bf6c-de11-be94-00142212c4b1 ---- - extension/xhprof.c | 23 +++++++++++++++++++---- - 1 files changed, 19 insertions(+), 4 deletions(-) - -diff --git a/extension/xhprof.c b/extension/xhprof.c -index eabb165..7001d12 100644 ---- a/extension/xhprof.c -+++ b/extension/xhprof.c -@@ -280,6 +280,21 @@ static ZEND_DLEXPORT void (*_zend_execute_internal) (zend_execute_data *data, - static inline char **hp_strings_in_zval(zval *values); - static inline void hp_array_del(char **name_array); - -+/* {{{ arginfo */ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_xhprof_enable, 0, 0, 0) -+ ZEND_ARG_INFO(0, flags) -+ ZEND_ARG_INFO(0, options) -+ZEND_END_ARG_INFO() -+ -+ZEND_BEGIN_ARG_INFO(arginfo_xhprof_disable, 0) -+ZEND_END_ARG_INFO() -+ -+ZEND_BEGIN_ARG_INFO(arginfo_xhprof_sample_enable, 0) -+ZEND_END_ARG_INFO() -+ -+ZEND_BEGIN_ARG_INFO(arginfo_xhprof_sample_disable, 0) -+ZEND_END_ARG_INFO() -+ - /** - * ********************* - * PHP EXTENSION GLOBALS -@@ -287,10 +302,10 @@ static ZEND_DLEXPORT void (*_zend_execute_internal) (zend_execute_data *data, - */ - /* List of functions implemented/exposed by xhprof */ - zend_function_entry xhprof_functions[] = { -- PHP_FE(xhprof_enable, NULL) -- PHP_FE(xhprof_disable, NULL) -- PHP_FE(xhprof_sample_enable, NULL) -- PHP_FE(xhprof_sample_disable, NULL) -+ PHP_FE(xhprof_enable, arginfo_xhprof_enable) -+ PHP_FE(xhprof_disable, arginfo_xhprof_disable) -+ PHP_FE(xhprof_sample_enable, arginfo_xhprof_sample_enable) -+ PHP_FE(xhprof_sample_disable, arginfo_xhprof_sample_disable) - {NULL, NULL, NULL} - }; - --- -1.7.5.4 - -- cgit