diff options
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; }; |