34 lines
590 B
C++
34 lines
590 B
C++
/*
|
|
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
|
*/
|
|
|
|
#include "module.hpp"
|
|
|
|
namespace keel {
|
|
|
|
static ox::Vector<const Module*> mods;
|
|
|
|
void registerModule(const Module *mod) noexcept {
|
|
mods.emplace_back(mod);
|
|
}
|
|
|
|
[[nodiscard]]
|
|
const ox::Vector<const Module*> &modules() noexcept {
|
|
return mods;
|
|
}
|
|
|
|
|
|
ox::Vector<TypeDescGenerator> Module::types() const noexcept {
|
|
return {};
|
|
}
|
|
|
|
ox::Vector<const keel::BaseConverter*> Module::converters() const noexcept {
|
|
return {};
|
|
}
|
|
|
|
ox::Vector<PackTransform> Module::packTransforms() const noexcept {
|
|
return {};
|
|
}
|
|
|
|
}
|