summaryrefslogtreecommitdiff
path: root/processor/types.m4
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.m4
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.m4')
-rw-r--r--processor/types.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/processor/types.m4 b/processor/types.m4
new file mode 100644
index 0000000..9b8150c
--- /dev/null
+++ b/processor/types.m4
@@ -0,0 +1,21 @@
+define(`SIZEOF_zend_uint', `sizeof(zend_uint)')
+define(`COUNTOF_zend_uint', `1')
+define(`SIZEOF_int', `sizeof(int)')
+define(`COUNTOF_int', `1')
+define(`SIZEOF_zend_function', `sizeof(zend_function)')
+define(`COUNTOF_zend_function', `1')
+define(`SIZEOF_zval_ptr', `sizeof(zval_ptr)')
+define(`COUNTOF_zval_ptr', `1')
+define(`SIZEOF_zval_ptr_nullable', `sizeof(zval_ptr_nullable)')
+define(`COUNTOF_zval_ptr_nullable', `1')
+define(`SIZEOF_zend_trait_alias_ptr', `sizeof(zend_trait_alias)')
+define(`COUNTOF_zend_trait_alias_ptr', `1')
+define(`SIZEOF_zend_trait_precedence_ptr', `sizeof(zend_trait_precedence)')
+define(`COUNTOF_zend_trait_precedence_ptr', `1')
+define(`SIZEOF_xc_entry_name_t', `sizeof(xc_entry_name_t)')
+define(`COUNTOF_xc_entry_name_t', `1')
+define(`SIZEOF_xc_ztstring', `sizeof(xc_ztstring)')
+define(`COUNTOF_xc_ztstring', `1')
+
+EXPORT(`typedef struct _xc_dasm_t { const zend_op_array *active_op_array_src; } xc_dasm_t;')
+