添加 chef_prep_this()

This commit is contained in:
Aoran Zeng
2025-08-22 13:06:55 +08:00
parent 0a51b7ebd8
commit 12e69edb86
3 changed files with 15 additions and 13 deletions

View File

@@ -12,11 +12,6 @@
#pragma once
#define chef_allow_gsr(t) this->getfn = t##_getsrc; this->setfn = t##_setsrc; this->resetfn = t##_resetsrc;
#define chef_allow_s(t) this->getfn = NULL; this->setfn = t##_setsrc; this->resetfn = NULL;
#define chef_allow_sr(t) this->getfn = NULL; this->setfn = t##_setsrc; this->resetfn = t##_resetsrc;
#define chef_allow_gs(t) this->getfn = t##_getsrc; this->setfn = t##_setsrc; this->resetfn = NULL;
/**
* @brief 登记所有贡献者
*