summaryrefslogtreecommitdiff
path: root/include/value.h
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 /include/value.h
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 'include/value.h')
-rw-r--r--include/value.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index a450755..dbd3788 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1158,6 +1158,11 @@ protected:
struct _zend_class_entry *classEntry(bool allowString = true) const;
/**
+ * Functions that need access to the privates
+ */
+ friend Value constant(const char *name, size_t size);
+
+ /**
* The Globals and Member classes can access the zval directly
*/
friend class Globals;