Script module¶
-
class Script¶
- #include <script.h>
Script module.
Public Functions
-
inline Script(const hmodule_t &hmodule, const Memory::Pointer &func, const path &name)¶
Script object constructor.
- Parameters
hmodule – Handle to module where script is
func – Pointer to script main function
name – Script name string
-
inline ~Script()¶
Script object destructor.
-
inline constexpr path &GetName() noexcept¶
Gets script name.
- Return values
path& – Script name
-
inline void operator()()¶
Call main function.
-
inline Script(const hmodule_t &hmodule, const Memory::Pointer &func, const path &name)¶