source: trunk/processor/head.m4

Last change on this file was 1560, checked in by moo, 2 weeks ago

support for autoload in xcache_get

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1dnl === program start ========================================
2divert(0)
3ifdef(`XCACHE_ENABLE_TEST', `
4m4_errprint(`AUTOCHECK INFO: runtime autocheck Enabled (debug build)')
5', `
6m4_errprint(`AUTOCHECK INFO: runtime autocheck Disabled (optimized build)')
7')
8
9#include <string.h>
10#include <stdio.h>
11
12#include "php.h"
13#include "zend_extensions.h"
14#include "zend_compile.h"
15#include "zend_API.h"
16#include "zend_ini.h"
17
18EXPORT(`#include <stddef.h>')
19EXPORT(`#include "xcache.h"')
20EXPORT(`#include "mod_cacher/xc_cache.h"')
21EXPORT(`#include "xcache/xc_shm.h"')
22EXPORT(`#include "xcache/xc_allocator.h"')
23#include "xc_processor.h"
24#include "xcache/xc_const_string.h"
25#include "xcache/xc_utils.h"
26#include "util/xc_align.h"
27#include "util/xc_trace.h"
28#include "util/xc_util.h"
29#include "xcache_globals.h"
30
31#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
32extern unsigned int zend_hash_canary;
33#endif
34dnl
35
36#ifdef DEBUG_SIZE
37static int xc_totalsize = 0;
38#endif
39
40#include "processor/debug.h"
41#include "processor/types.h"
42include(__dir__`/types.m4')
43
44/* {{{ call op_array ctor handler */
45extern zend_bool xc_have_op_array_ctor;
46static void xc_zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
47{
48    if (extension->op_array_ctor) {
49        extension->op_array_ctor(op_array);
50    }
51}
52/* }}} */
53#include "processor/processor-t.h"
54
55#include "processor/string-helper.h"
56include(__dir__`/string-helper.m4')
57
58include(__dir__`/class-helper.m4')
59
60#include "processor/var-helper.h"
61include(__dir__`/var-helper.m4')
Note: See TracBrowser for help on using the repository browser.