summaryrefslogtreecommitdiff
path: root/src/mixedobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixedobject.h')
-rw-r--r--src/mixedobject.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mixedobject.h b/src/mixedobject.h
new file mode 100644
index 0000000..55a27ec
--- /dev/null
+++ b/src/mixedobject.h
@@ -0,0 +1,29 @@
+/**
+ * MixedObject.h
+ *
+ * Structure that combines a Zend object with an object in C++
+ *
+ * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
+ * @copyright 2013 Copernica BV
+ */
+
+/**
+ * Set up namespace
+ */
+namespace Php {
+
+/**
+ * Structure that combines a C++ object with a zend object
+ */
+struct MixedObject
+{
+ zend_object php;
+ Base *cpp;
+};
+
+/**
+ * End of namespace
+ */
+}
+
+