summaryrefslogtreecommitdiff
path: root/processor/types.h
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-11-09 06:49:44 +0000
committerXuefer <xuefer@gmail.com>2014-11-09 06:49:44 +0000
commit977ff39373429681d4bf43a1d7b61b64cd30993a (patch)
tree5125063fbbc6a51eeb29683c78b99daec4470595 /processor/types.h
parenteefebd8773e8f29f5d00f6c03b0b10eb5661f34c (diff)
downloadxcache-977ff39373429681d4bf43a1d7b61b64cd30993a.tar.gz
xcache-977ff39373429681d4bf43a1d7b61b64cd30993a.zip
separate plain c code to .h files
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1555 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
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;