diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 11:33:53 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 11:33:53 +0100 |
commit | 52fe0c39457421e075959179ee6b64a20b96f0d9 (patch) | |
tree | e6dd000114d104bf6286d74682feb694b3cb97a3 /src/mixedobject.h | |
parent | fa02aa127d2c4261d15123829e44f6d997444abc (diff) |
types are not a C++11 class, introduced FixedValue class that can not change type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
Diffstat (limited to 'src/mixedobject.h')
-rw-r--r-- | src/mixedobject.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mixedobject.h b/src/mixedobject.h index 55a27ec..4db74da 100644 --- a/src/mixedobject.h +++ b/src/mixedobject.h @@ -17,7 +17,17 @@ namespace Php { */ struct MixedObject { + /** + * The actual object is the first member, so that casting + * the MixedObject to a zend_object will also result in a valid pointer + * @var zend_object + */ zend_object php; + + /** + * Pointer to the C++ implementation + * @var Base + */ Base *cpp; }; |