mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Delete clang-format files and comments (#14079)
This commit is contained in:
@@ -193,7 +193,6 @@ void LuaCamera::Register(lua_State *L)
|
||||
registerClass(L, className, methods, metamethods);
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
const char LuaCamera::className[] = "Camera";
|
||||
const luaL_Reg LuaCamera::methods[] = {
|
||||
luamethod(LuaCamera, set_camera_mode),
|
||||
@@ -208,4 +207,3 @@ const luaL_Reg LuaCamera::methods[] = {
|
||||
|
||||
{0, 0}
|
||||
};
|
||||
// clang-format on
|
||||
|
@@ -115,7 +115,6 @@ ModChannel *ModChannelRef::getobject(lua_State *L, ModChannelRef *ref)
|
||||
return getGameDef(L)->getModChannel(ref->m_modchannel_name);
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
const char ModChannelRef::className[] = "ModChannelRef";
|
||||
const luaL_Reg ModChannelRef::methods[] = {
|
||||
luamethod(ModChannelRef, leave),
|
||||
@@ -123,4 +122,3 @@ const luaL_Reg ModChannelRef::methods[] = {
|
||||
luamethod(ModChannelRef, send_all),
|
||||
{0, 0},
|
||||
};
|
||||
// clang-format on
|
||||
|
@@ -59,7 +59,6 @@ void PlayerMetaRef::Register(lua_State *L)
|
||||
// lua_register(L, className, create_object);
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
const char PlayerMetaRef::className[] = "PlayerMetaRef";
|
||||
const luaL_Reg PlayerMetaRef::methods[] = {
|
||||
luamethod(MetaDataRef, contains),
|
||||
@@ -76,4 +75,3 @@ const luaL_Reg PlayerMetaRef::methods[] = {
|
||||
luamethod(MetaDataRef, equals),
|
||||
{0,0}
|
||||
};
|
||||
// clang-format on
|
||||
|
Reference in New Issue
Block a user