summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-07 17:57:35 -0400
committerAdam <Adam@anope.org>2016-10-07 17:57:35 -0400
commit005434abce2f7f741f92fc81f24fb0a61c38ce56 (patch)
tree1e2642f5d41a1291b53f76d643cabc802481c655 /src
parent068f10c987ff114d3b950cf2b416dd86c46d542c (diff)
Set shared library suffix to .so, add missing serializable type GetTypes definition
Diffstat (limited to 'src')
-rw-r--r--src/serialize.cpp5
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)