mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
15 lines
324 B
C++
15 lines
324 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,
|
|
const std::string& fileName
|
|
);
|
|
}
|