summaryrefslogtreecommitdiff
path: root/include/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.h')
-rw-r--r--include/functions.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/functions.h b/include/functions.h
index 49f38b7..fc44f1c 100644
--- a/include/functions.h
+++ b/include/functions.h
@@ -9,6 +9,11 @@
*/
/**
+ * Define structures
+ */
+struct _zend_function_entry;
+
+/**
* Set up namespace
*/
namespace PhpCpp {
@@ -35,7 +40,7 @@ private:
* Retrieve the internal data
* @return zend_function_entry*
*/
- zend_function_entry *internal() const
+ _zend_function_entry *internal() const
{
return _entries;
}
@@ -44,7 +49,7 @@ private:
* The internal entries
* @var zend_function_entry*
*/
- zend_function_entry *_entries;
+ _zend_function_entry *_entries;
/**
* Vector of functions (we need this because the function objects must