summaryrefslogtreecommitdiff
path: root/src/callable.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-06 14:44:03 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-06 14:44:03 +0200
commit9bc5d1ed595e0ff0b7cec9a87d06a7923c211ebd (patch)
tree56681046544fce1bad3466a77b62194a4978ec89 /src/callable.h
parent97269e8159b419fa624980ce70de908f22c4982c (diff)
removed all zend dependencies from the public extension object, and moved it into the src directory
Diffstat (limited to 'src/callable.h')
-rw-r--r--src/callable.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/callable.h b/src/callable.h
index aef5649..65ce719 100644
--- a/src/callable.h
+++ b/src/callable.h
@@ -9,12 +9,6 @@
*/
/**
- * Forward definitions
- */
-struct _zend_function_entry;
-struct _zend_arg_info;
-
-/**
* Set up namespace
*/
namespace Php {
@@ -99,7 +93,7 @@ public:
* @param classname Optional class name
* @param flags Access flags
*/
- void initialize(struct _zend_function_entry *entry, const char *classname = nullptr, int flags = 0) const;
+ void initialize(zend_function_entry *entry, const char *classname = nullptr, int flags = 0) const;
/**
* Fill function info
@@ -107,7 +101,7 @@ public:
* @param ns Active namespace
* @param classname Optional class name
*/
- void initialize(struct _zend_arg_info *info, const char *classname = nullptr) const;
+ void initialize(zend_arg_info *info, const char *classname = nullptr) const;
protected:
@@ -139,7 +133,7 @@ protected:
* The arguments
* @var zend_arg_info[]
*/
- struct _zend_arg_info *_argv = nullptr;
+ zend_arg_info *_argv = nullptr;
/**
* Private helper method to fill an argument object