Initial commit

This commit is contained in:
faumaray committed 2026-02-01 23:04:49 +03:00
commit a583c17916
56 files changed
+11025

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#include "echoion/api/Export.hpp"
#include "echoion/core/Core.hpp"
#include <memory>
namespace Echoion::Api {
CoreInterfacePtr CreateCore() {
return std::make_shared<Core::Core>();
}
void DestroyCore(ICoreInterface* core) {
delete core;
}
const char* GetApiVersion() {
return VERSION_STRING;
}
bool IsApiCompatible(uint32_t major, uint32_t minor) {
return major == VERSION_MAJOR && minor <= VERSION_MINOR;
}
} // namespace Echoion::Api