source: trunk/processor/head.m4

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

support for autoload in xcache_get

  • Property svn:eol-style set to native
File size: 1.5 KB
RevLine 
[1555]1dnl === program start ========================================
[1]2divert(0)
[1555]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
[1]9#include <string.h>
10#include <stdio.h>
11
12#include "php.h"
[189]13#include "zend_extensions.h"
[1]14#include "zend_compile.h"
15#include "zend_API.h"
[4]16#include "zend_ini.h"
[1]17
[1469]18EXPORT(`#include <stddef.h>')
[1443]19EXPORT(`#include "xcache.h"')
20EXPORT(`#include "mod_cacher/xc_cache.h"')
21EXPORT(`#include "xcache/xc_shm.h"')
22EXPORT(`#include "xcache/xc_allocator.h"')
[1444]23#include "xc_processor.h"
[994]24#include "xcache/xc_const_string.h"
[1051]25#include "xcache/xc_utils.h"
[1135]26#include "util/xc_align.h"
[1546]27#include "util/xc_trace.h"
[1554]28#include "util/xc_util.h"
[1]29#include "xcache_globals.h"
30
[58]31#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
32extern unsigned int zend_hash_canary;
33#endif
[1555]34dnl
[58]35
[1555]36#ifdef DEBUG_SIZE
37static int xc_totalsize = 0;
38#endif
[1]39
[1555]40#include "processor/debug.h"
41#include "processor/types.h"
42include(__dir__`/types.m4')
43
[1554]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)
[1458]47{
[1554]48    if (extension->op_array_ctor) {
49        extension->op_array_ctor(op_array);
50    }
[1458]51}
[1554]52/* }}} */
[1555]53#include "processor/processor-t.h"
[1468]54
[1555]55#include "processor/string-helper.h"
56include(__dir__`/string-helper.m4')
[1558]57
[1554]58include(__dir__`/class-helper.m4')
[1558]59
60#include "processor/var-helper.h"
61include(__dir__`/var-helper.m4')
Note: See TracBrowser for help on using the repository browser.