1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include "../helpers/Memory.hpp" #include <span> #include <optional> struct SState { std::span<const char*> rawArgvNoBinPath; std::optional<std::string> customPath; }; inline UP<SState> g_state = makeUnique<SState>();