CreatureLib/CInterface/Library/AttackLibrary.cpp

13 lines
460 B
C++
Raw Normal View History

#include "../../src/Library/AttackLibrary.hpp"
#include "../Core.hpp"
#include "BaseLibrary.cpp"
using namespace CreatureLib::Library;
2022-04-02 10:33:26 +00:00
export_func u8 CreatureLib_AttackLibrary_Construct(AttackLibrary*& library, size_t initialCapacity = 32) {
Try(library = new AttackLibrary(initialCapacity);)
};
2022-04-02 10:33:26 +00:00
export_func void CreatureLib_AttackLibrary_Destruct(const AttackLibrary* p) { delete p; }
BASELIBRARY(CreatureLib_AttackLibrary, AttackLibrary, AttackData);