diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
commit | 2fd4198b78358cf2ba527296fafb5b1728e28ea8 (patch) | |
tree | 798098f25293908c7fae4e35e8761918460cdb3e /src/member.h | |
parent | 930ab4880b65885322eb7ca4772b8cdb49a2b0ae (diff) |
added tsrm parameter to all methods to make it compile on tsrm platforms
Diffstat (limited to 'src/member.h')
-rw-r--r-- | src/member.h | 13 |
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: /** |