Skip to content

Commit 8f1d78d

Browse files
committed
Revert "style: Update method names to follow PascalCase convention"
This reverts commit 0832024.
1 parent 0832024 commit 8f1d78d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

emmy_debugger/include/emmy_debugger/debugger/emmy_debugger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Debugger: public std::enable_shared_from_this<Debugger>
9595

9696
void ClearVariableArenaRef();
9797

98-
void EnableDisplayCustomTypeInfo();
98+
void enableDisplayCustomTypeInfo();
9999
bool RegisterTypeName(const std::string& typeName, std::string& err);
100100

101101
private:

emmy_debugger/include/emmy_debugger/emmy_facade.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class EmmyFacade
5858
bool PipeListen(lua_State* L, const std::string& name, std::string& err);
5959
bool PipeConnect(lua_State* L, const std::string& name, std::string& err);
6060
int BreakHere(lua_State* L);
61-
bool EnableDisplayCustomTypeInfo(lua_State *L, std::string &err);
61+
bool enableDisplayCustomTypeInfo(lua_State *L, std::string &err);
6262
bool RegisterTypeName(lua_State *L, const std::string &typeName, std::string &err);
6363

6464
int OnConnect(bool suc);

emmy_debugger/src/debugger/emmy_debugger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ int Debugger::GetTypeFromName(const char* typeName) {
14431443
return -1; // 未知类型
14441444
}
14451445

1446-
void Debugger::EnableDisplayCustomTypeInfo() {
1446+
void Debugger::enableDisplayCustomTypeInfo() {
14471447
displayCustomTypeInfo = true;
14481448
}
14491449

emmy_debugger/src/debugger/emmy_debugger_lib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ int stop(lua_State* L)
121121
int enableDisplayCustomTypeInfo(lua_State* L)
122122
{
123123
std::string err;
124-
const auto suc = EmmyFacade::Get().EnableDisplayCustomTypeInfo(L, err);
124+
const auto suc = EmmyFacade::Get().enableDisplayCustomTypeInfo(L, err);
125125
lua_pushboolean(L, suc);
126126
if (suc) return 1;
127127
lua_pushstring(L, err.c_str());

emmy_debugger/src/emmy_facade.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,13 +397,13 @@ void EmmyFacade::Attach(lua_State *L) {
397397
lua_sethook(L, EmmyFacade::HookLua, LUA_MASKCALL | LUA_MASKLINE | LUA_MASKRET, 0);
398398
}
399399

400-
bool EmmyFacade::EnableDisplayCustomTypeInfo(lua_State *L, std::string &err) {
400+
bool EmmyFacade::enableDisplayCustomTypeInfo(lua_State *L, std::string &err) {
401401
auto debugger = GetDebugger(L);
402402
if (!debugger) {
403403
err = "Debugger does not exist";
404404
return false;
405405
}
406-
debugger->EnableDisplayCustomTypeInfo();
406+
debugger->enableDisplayCustomTypeInfo();
407407
return true;
408408
}
409409

0 commit comments

Comments
 (0)