35 lines
1.3 KiB
C
35 lines
1.3 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| Copyright © The PHP Group and Contributors. |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to the Modified BSD License that is |
|
|
| bundled with this package in the file LICENSE, and is available |
|
|
| through the World Wide Web at <https://www.php.net/license/>. |
|
|
| |
|
|
| SPDX-License-Identifier: BSD-3-Clause |
|
|
+----------------------------------------------------------------------+
|
|
| Author: |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef PHP_DL_TEST_H
|
|
# define PHP_DL_TEST_H
|
|
|
|
extern zend_module_entry dl_test_module_entry;
|
|
# define phpext_dl_test_ptr &dl_test_module_entry
|
|
|
|
# define PHP_DL_TEST_VERSION PHP_VERSION
|
|
|
|
# if defined(ZTS) && defined(COMPILE_DL_DL_TEST)
|
|
ZEND_TSRMLS_CACHE_EXTERN()
|
|
# endif
|
|
|
|
ZEND_BEGIN_MODULE_GLOBALS(dl_test)
|
|
zend_long long_value;
|
|
char *string_value;
|
|
ZEND_END_MODULE_GLOBALS(dl_test);
|
|
|
|
#define DT_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(dl_test, v)
|
|
|
|
#endif /* PHP_DL_TEST_H */
|