diff options
author | Adam <Adam@anope.org> | 2016-10-07 17:57:35 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-07 17:57:35 -0400 |
commit | 005434abce2f7f741f92fc81f24fb0a61c38ce56 (patch) | |
tree | 1e2642f5d41a1291b53f76d643cabc802481c655 /src | |
parent | 068f10c987ff114d3b950cf2b416dd86c46d542c (diff) |
Set shared library suffix to .so, add missing serializable type GetTypes definition
Diffstat (limited to 'src')
-rw-r--r-- | src/serialize.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/serialize.cpp b/src/serialize.cpp index 099151191..1cf9bcb58 100644 --- a/src/serialize.cpp +++ b/src/serialize.cpp @@ -255,6 +255,11 @@ TypeBase *TypeBase::Find(const Anope::string &name) return ServiceManager::Get()->FindService<TypeBase *>(name); } +const std::vector<TypeBase *>& TypeBase::GetTypes() +{ + return ServiceManager::Get()->FindServices<TypeBase *>(); +} + FieldBase::FieldBase(Module *c, const Anope::string &n, const Anope::string &t, bool d) : Service(c, FieldBase::NAME) , serialize_type(t) |