CreatureLib/CInterface/Library/SpeciesLibrary.cpp

12 lines
444 B
C++

#include "../../src/Library/SpeciesLibrary.hpp"
#include "BaseLibrary.cpp"
#include "Core.hpp"
using namespace CreatureLib::Library;
export const SpeciesLibrary* CreatureLib_SpeciesLibrary_Construct(size_t initialCapacity = 32) {
return new SpeciesLibrary(initialCapacity);
};
export void CreatureLib_SpeciesLibrary_Destruct(const SpeciesLibrary* p) { delete p; }
BASELIBRARY(CreatureLib_SpeciesLibrary, SpeciesLibrary, CreatureSpecies);