Squashed 'deps/nostalgia/' content from commit 9cb6bd4a
git-subtree-dir: deps/nostalgia git-subtree-split: 9cb6bd4a32e9f39a858f72443ff5c6d40489fe22
This commit is contained in:
20
src/nostalgia/modules/keelmodules.cpp
Normal file
20
src/nostalgia/modules/keelmodules.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||
*/
|
||||
|
||||
#include <nostalgia/core/keelmodule.hpp>
|
||||
#include <nostalgia/scene/keelmodule.hpp>
|
||||
|
||||
namespace nostalgia {
|
||||
|
||||
static bool modulesRegistered = false;
|
||||
void registerKeelModules() noexcept {
|
||||
if (modulesRegistered) {
|
||||
return;
|
||||
}
|
||||
modulesRegistered = true;
|
||||
keel::registerModule(core::keelModule());
|
||||
keel::registerModule(scene::keelModule());
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user