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