11 lines
509 B
C++
11 lines
509 B
C++
|
#include "../../src/Library/AttackLibrary.hpp"
|
||
|
#include "BaseLibrary.cpp"
|
||
|
#define export extern "C"
|
||
|
|
||
|
export const CreatureLib::Library::AttackLibrary* CreatureLib_AttackLibrary_Construct(size_t initialCapacity = 32) {
|
||
|
return new CreatureLib::Library::AttackLibrary(initialCapacity);
|
||
|
};
|
||
|
|
||
|
export void CreatureLib_AttackLibrary_Destruct(const CreatureLib::Library::AttackLibrary* p) { delete p; }
|
||
|
|
||
|
BASELIBRARY(CreatureLib_AttackLibrary, CreatureLib::Library::AttackLibrary, CreatureLib::Library::AttackData);
|