summaryrefslogtreecommitdiff
path: root/zend/constant.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 19:52:06 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 19:52:06 +0100
commit110f379c083a9e061d2337efabb86f12ce0fa750 (patch)
tree3c5e541532607246feeecd8d9dea3f36f803071f /zend/constant.cpp
parentb42532f1f49d9f404b100fe1a441de0c131673ee (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.cpp4
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
*/