1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 10:21:11 +00:00

Merge branch 'anonymous_namespace' into 'master'

Move some code to unnamed namespace

See merge request OpenMW/openmw!3351
This commit is contained in:
psi29a 2023-08-19 09:30:09 +00:00
commit ebf803a00b

View File

@ -12,7 +12,7 @@
#include "luamanagerimp.hpp" #include "luamanagerimp.hpp"
namespace MWLua namespace
{ {
struct PlaySoundArgs struct PlaySoundArgs
{ {
@ -55,7 +55,10 @@ namespace MWLua
return MWSound::PlayMode::NoEnvNoScaling; return MWSound::PlayMode::NoEnvNoScaling;
return MWSound::PlayMode::NoEnv; return MWSound::PlayMode::NoEnv;
} }
}
namespace MWLua
{
sol::table initAmbientPackage(const Context& context) sol::table initAmbientPackage(const Context& context)
{ {
sol::table api(context.mLua->sol(), sol::create); sol::table api(context.mLua->sol(), sol::create);