summaryrefslogtreecommitdiffstats
path: root/xhprof-arginfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xhprof-arginfo.patch')
-rw-r--r--xhprof-arginfo.patch54
1 files changed, 0 insertions, 54 deletions
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 <philip@c90b9560-bf6c-de11-be94-00142212c4b1>
-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
-