summaryrefslogtreecommitdiff
path: root/src/member.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/member.h')
-rw-r--r--src/member.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/member.h b/src/member.h
index b465399..7aa01d8 100644
--- a/src/member.h
+++ b/src/member.h
@@ -33,25 +33,28 @@ public:
/**
* Initialize the member
* @param zend_class_entry
+ * @param tsrm_ls
*/
- void initialize(struct _zend_class_entry *entry)
+ void initialize(struct _zend_class_entry *entry TSRMLS_DC)
{
- if (_flags == Const) constant(entry);
- else declare(entry);
+ if (_flags == Const) constant(entry TSRMLS_CC);
+ else declare(entry TSRMLS_CC);
}
protected:
/**
* Internal method to declare the property as constant
* @param zend_class_entry
+ * @param tsrm_ls
*/
- virtual void constant(struct _zend_class_entry *entry) = 0;
+ virtual void constant(struct _zend_class_entry *entry TSRMLS_DC) = 0;
/**
* Internal method to declare the property
* @param zend_class_entry
+ * @param tsrm_ls
*/
- virtual void declare(struct _zend_class_entry *entry) = 0;
+ virtual void declare(struct _zend_class_entry *entry TSRMLS_DC) = 0;
protected:
/**