2020-02-29 13:09:03 +00:00
|
|
|
#include "../../src/Library/SpeciesLibrary.hpp"
|
2020-02-29 13:52:15 +00:00
|
|
|
#include "BaseLibrary.cpp"
|
2020-02-29 13:09:03 +00:00
|
|
|
#define export extern "C"
|
|
|
|
|
|
|
|
export const CreatureLib::Library::SpeciesLibrary* CreatureLib_SpeciesLibrary_Construct(size_t initialCapacity = 32) {
|
|
|
|
return new CreatureLib::Library::SpeciesLibrary(initialCapacity);
|
|
|
|
};
|
|
|
|
|
|
|
|
export void CreatureLib_SpeciesLibrary_Destruct(const CreatureLib::Library::SpeciesLibrary* p) { delete p; }
|
|
|
|
|
2020-02-29 13:52:15 +00:00
|
|
|
BASELIBRARY(CreatureLib_SpeciesLibrary, CreatureLib::Library::SpeciesLibrary, CreatureLib::Library::CreatureSpecies);
|