diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 19:52:06 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 19:52:06 +0100 |
commit | 110f379c083a9e061d2337efabb86f12ce0fa750 (patch) | |
tree | 3c5e541532607246feeecd8d9dea3f36f803071f /zend/constant.cpp | |
parent | b42532f1f49d9f404b100fe1a441de0c131673ee (diff) |
added functions Php::constant() to retrieve the value of a constant, and Php::defined() to find out if a constant is defined
Diffstat (limited to 'zend/constant.cpp')
-rw-r--r-- | zend/constant.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zend/constant.cpp b/zend/constant.cpp index 102e4f7..4123bba 100644 --- a/zend/constant.cpp +++ b/zend/constant.cpp @@ -96,14 +96,12 @@ Constant::Constant(const char *name, const std::string &value) : * @param clss Class to which the constant is added * @internal */ -void Constant::addTo(ClassBase &clss) +void Constant::addTo(ClassBase &clss) const { // pass on to the implementation _impl->addTo(clss); } - - /** * End of namespace */ |