summaryrefslogtreecommitdiff
path: root/processor/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'processor/types.h')
-rw-r--r--processor/types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/processor/types.h b/processor/types.h
new file mode 100644
index 0000000..db464b7
--- /dev/null
+++ b/processor/types.h
@@ -0,0 +1,20 @@
+typedef zval *zval_ptr;
+typedef zval *zval_ptr_nullable;
+typedef char *xc_ztstring;
+#ifdef ZEND_ENGINE_2_4
+typedef zend_trait_alias *zend_trait_alias_ptr;
+typedef zend_trait_precedence *zend_trait_precedence_ptr;
+#endif
+#ifdef ZEND_ENGINE_2_3
+typedef int last_brk_cont_t;
+#else
+typedef zend_uint last_brk_cont_t;
+#endif
+
+typedef zend_uchar xc_zval_type_t;
+typedef int xc_op_type;
+typedef zend_uchar xc_opcode;
+#ifdef IS_UNICODE
+typedef UChar zstr_uchar;
+#endif
+typedef char zstr_char;