Skip to content

Commit

Permalink
增加注释
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Feb 1, 2024
1 parent 04e0d1e commit 5b382f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TestCore/a1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ extern "C" void _cdecl krnln_fnBAnd(PMDATA_INF pRetData, INT nArgCount, PMDATA_I
}


/// <summary>
/// 使用现代C++方法实现寻找文本,大约是核心库的300%速度
/// </summary>
/// <param name="pRetData"></param>
/// <param name="nArgCount"></param>
/// <param name="pArgInf"></param>
/// <returns></returns>
extern "C" void __cdecl krnln_fnInStr(PMDATA_INF pRetData, INT nArgCount, PMDATA_INF pArgInf) {
// 获取输入字符串
std::string_view inputString = pArgInf[0].m_pText;
Expand Down

0 comments on commit 5b382f7

Please sign in to comment.