source: trunk/xcache_globals.h @ 435

Last change on this file since 435 was 435, checked in by moo, 8 years ago

copy internal table correctly, refix #59 which is broken by [429]

  • Property svn:eol-style set to native
File size: 820 bytes
Line 
1
2ZEND_BEGIN_MODULE_GLOBALS(xcache)
3    zend_bool initial_compile_file_called; /* true is origin_compile_file is called */
4    zend_bool cacher;      /* true if enabled */
5    zend_bool stat;
6    zend_bool experimental;
7#ifdef HAVE_XCACHE_OPTIMIZER
8    zend_bool optimizer;   /* true if enabled */
9#endif
10#ifdef HAVE_XCACHE_COVERAGER
11    zend_bool coverager;
12    zend_bool coverage_enabled;
13    HashTable *coverages;  /* coverages[file][line] = times */
14#endif
15    xc_stack_t *php_holds;
16    xc_stack_t *var_holds;
17    time_t request_time;
18    long   var_ttl;
19
20    HashTable internal_function_table;
21    HashTable internal_class_table;
22    zend_bool internal_table_copied;
23ZEND_END_MODULE_GLOBALS(xcache)
24
25ZEND_EXTERN_MODULE_GLOBALS(xcache)
26
27#ifdef ZTS
28# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
29#else
30# define XG(v) (xcache_globals.v)
31#endif
Note: See TracBrowser for help on using the repository browser.