CreatureLib/CInterface/Library/ItemLibrary.cpp

12 lines
422 B
C++
Raw Permalink Normal View History

#include "../../src/Library/ItemLibrary.hpp"
#include "../Core.hpp"
#include "BaseLibrary.cpp"
using namespace CreatureLib::Library;
2022-04-02 10:33:26 +00:00
export_func const ItemLibrary* CreatureLib_ItemLibrary_Construct(size_t initialCapacity = 32) {
return new ItemLibrary(initialCapacity);
};
2022-04-02 10:33:26 +00:00
export_func void CreatureLib_ItemLibrary_Destruct(const ItemLibrary* p) { delete p; }
BASELIBRARY(CreatureLib_ItemLibrary, ItemLibrary, Item);