summaryrefslogtreecommitdiff
path: root/include/function.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2014-02-17 16:20:09 +0100
committerMartijn Otto <martijn.otto@copernica.com>2014-02-17 16:20:09 +0100
commitca595b1d7aa8ed4a482b8a5ea598ecc1a2636083 (patch)
tree3095d2df9968dbeec6400a192287d42d3312b54d /include/function.h
parent0d910d2ea41c93ccdc2a4d41cec57864504dbc6f (diff)
Some code cleanup
Diffstat (limited to 'include/function.h')
-rw-r--r--include/function.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/function.h b/include/function.h
index ea7584f..a722104 100644
--- a/include/function.h
+++ b/include/function.h
@@ -115,7 +115,7 @@ protected:
* @var integer
*/
int _required;
-
+
/**
* Total number of arguments
* @var integer
@@ -134,14 +134,13 @@ protected:
*/
HiddenPointer<Function> _ptr;
-protected:
/**
* Fill a function entry
* @param entry Entry to be filled
* @param classname Optional class name
* @param pub Is this a public property?
*/
- void fill(struct _zend_function_entry *entry, const char *classname=NULL, int flags=Flag(Zend::AccMemb::PUBLIC)) const;
+ void fill(struct _zend_function_entry *entry, const char *classname=NULL, MemberModifier flags = publicMember) const;
/**
* Fill function info
@@ -149,7 +148,7 @@ protected:
* @param classname Optional class name
*/
void fill(struct _zend_internal_function_info *info, const char *classname=NULL) const;
-
+
/**
* Extension has access to the private members
*/