1 Star 3 Fork 1

badboy911 / thinkphp-c-eval

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
php_thinkphp.h 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
badboy911 提交于 2019-12-09 10:20 . 首次初始化
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2017 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef PHP_THINKPHP_H
#define PHP_THINKPHP_H
extern zend_module_entry thinkphp_module_entry;
#define phpext_thinkphp_ptr &thinkphp_module_entry
#define PHP_THINKPHP_VERSION "5.0.24" /* Replace with version number for your extension */
#ifdef PHP_WIN32
# define PHP_THINKPHP_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
# define PHP_THINKPHP_API __attribute__ ((visibility("default")))
#else
# define PHP_THINKPHP_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
/*
Declare any global variables you may need between the BEGIN
and END macros here:
ZEND_BEGIN_MODULE_GLOBALS(thinkphp)
zend_long global_value;
char *global_string;
ZEND_END_MODULE_GLOBALS(thinkphp)
*/
/* Always refer to the globals in your function as THINKPHP_G(variable).
You are encouraged to rename these macros something shorter, see
examples in any other php module directory.
*/
#define THINKPHP_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(thinkphp, v)
#if defined(ZTS) && defined(COMPILE_DL_THINKPHP)
ZEND_TSRMLS_CACHE_EXTERN()
#endif
#endif /* PHP_THINKPHP_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
C
1
https://gitee.com/badboy911/thinkphp-c-eval.git
git@gitee.com:badboy911/thinkphp-c-eval.git
badboy911
thinkphp-c-eval
thinkphp-c-eval
master

搜索帮助