Todo: 集成多平台 解决因SaiNiu线程抢占资源问题 本地提交测试环境打包 和 正式打包脚本与正式环境打包bat 提交Python32环境包 改进多日志文件生成情况修改打包日志细节
This commit is contained in:
26
Utils/PythonNew32/include/pystats.h
Normal file
26
Utils/PythonNew32/include/pystats.h
Normal file
@@ -0,0 +1,26 @@
|
||||
// Statistics on Python performance (public API).
|
||||
//
|
||||
// Define _Py_INCREF_STAT_INC() and _Py_DECREF_STAT_INC() used by Py_INCREF()
|
||||
// and Py_DECREF().
|
||||
//
|
||||
// See Include/cpython/pystats.h for the full API.
|
||||
|
||||
#ifndef Py_PYSTATS_H
|
||||
#define Py_PYSTATS_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(Py_STATS) && !defined(Py_LIMITED_API)
|
||||
# define Py_CPYTHON_PYSTATS_H
|
||||
# include "cpython/pystats.h"
|
||||
# undef Py_CPYTHON_PYSTATS_H
|
||||
#else
|
||||
# define _Py_INCREF_STAT_INC() ((void)0)
|
||||
# define _Py_DECREF_STAT_INC() ((void)0)
|
||||
#endif // !Py_STATS
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // !Py_PYSTATS_H
|
||||
Reference in New Issue
Block a user