13 Star 69 Fork 22

johnsonyl/cpps

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
cpps_gcobject.cpp 517 Bytes
Copy Edit Raw Blame History
johnsonyl authored 2024-01-13 14:13 +08:00 . 优化cpps运行速度
#include "cpps/cpps.h"
namespace cpps
{
cpps_gcobject::cpps_gcobject()
{
//gclevel = 0;
gc_usecount = 0;
}
cpps_gcobject::~cpps_gcobject()
{
}
//void cpps_gcobject::setgcLevel(char l)
//{
// gclevel = l;
//}
//char cpps_gcobject::getgcLevel()
//{
// return gclevel;
//}
void cpps_gcobject::incruse()
{
gc_usecount++;
}
void cpps_gcobject::decruse()
{
gc_usecount--;
}
cpps::int32 cpps_gcobject::count()
{
return gc_usecount;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/cppscript/cpps.git
git@gitee.com:cppscript/cpps.git
cppscript
cpps
cpps
master

Search