VoxelEngine/src/logic/scripting/scripting_commons.hpp

12 lines
261 B
C++

#pragma once
#include <string>
#include <filesystem>
namespace scripting {
void load_script(const std::filesystem::path& name, bool throwable);
[[nodiscard]]
int load_script(int env, const std::string& type, const std::filesystem::path& file);
}