summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xcache/xc_utils.h b/xcache/xc_utils.h
index 84ad288..0688059 100644
--- a/xcache/xc_utils.h
+++ b/xcache/xc_utils.h
@@ -1,6 +1,9 @@
#include "xcache.h"
#include "xc_compatibility.h"
+#define XCACHE_STRS(str) (str), sizeof(str)
+#define XCACHE_STRL(str) (str), (sizeof(str) - 1)
+
typedef zend_op_array *(zend_compile_file_t)(zend_file_handle *h, int type TSRMLS_DC);
typedef struct _xc_compilererror_t {