CreatureLib/CInterface/Library/ItemLibrary.cpp

12 lines
409 B
C++

#include "../../src/Library/ItemLibrary.hpp"
#include "BaseLibrary.cpp"
#include "Core.hpp"
using namespace CreatureLib::Library;
export const ItemLibrary* CreatureLib_ItemLibrary_Construct(size_t initialCapacity = 32) {
return new ItemLibrary(initialCapacity);
};
export void CreatureLib_ItemLibrary_Destruct(const ItemLibrary* p) { delete p; }
BASELIBRARY(CreatureLib_ItemLibrary, ItemLibrary, Item);