You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
488 B
24 lines
488 B
/* ecore extension for PHP */
|
|
|
|
#ifndef PHP_ECORE_H
|
|
# define PHP_ECORE_H
|
|
|
|
extern zend_module_entry ecore_module_entry;
|
|
# define phpext_ecore_ptr &ecore_module_entry
|
|
|
|
# define PHP_ECORE_VERSION "0.1.0"
|
|
|
|
# if defined(ZTS) && defined(COMPILE_DL_ECORE)
|
|
ZEND_TSRMLS_CACHE_EXTERN()
|
|
# endif
|
|
|
|
#endif /* PHP_ECORE_H */
|
|
|
|
ZEND_BEGIN_MODULE_GLOBALS(ecore)
|
|
zend_long scale;
|
|
ZEND_END_MODULE_GLOBALS(ecore)
|
|
|
|
ZEND_EXTERN_MODULE_GLOBALS(ecore)
|
|
|
|
#define TEST_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(ecore, v)
|