13 lines
451 B
C++
13 lines
451 B
C++
|
#include "../../src/Library/TalentLibrary.hpp"
|
||
|
#include "../Core.hpp"
|
||
|
#include "BaseLibrary.cpp"
|
||
|
|
||
|
using namespace CreatureLib::Library;
|
||
|
|
||
|
export uint8_t CreatureLib_TalentLibrary_Construct(TalentLibrary*& library, size_t initialCapacity = 32) {
|
||
|
Try(library = new TalentLibrary(initialCapacity);)
|
||
|
};
|
||
|
|
||
|
export void CreatureLib_TalentLibrary_Destruct(const TalentLibrary* p) { delete p; }
|
||
|
|
||
|
BASELIBRARY(CreatureLib_TalentLibrary, TalentLibrary, Talent);
|