Add operator==
This commit is contained in:
parent
6fc3422548
commit
97514085cb
1 changed files with 3 additions and 2 deletions
|
@ -45,12 +45,13 @@ namespace wren {
|
||||||
|
|
||||||
class VM {
|
class VM {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T> VM (T* conf);
|
||||||
VM (T* conf);
|
|
||||||
VM (const VM&) = delete;
|
VM (const VM&) = delete;
|
||||||
VM (VM&& other) = default;
|
VM (VM&& other) = default;
|
||||||
~VM() noexcept;
|
~VM() noexcept;
|
||||||
|
|
||||||
|
VM& operator= (VM&&) = default;
|
||||||
|
|
||||||
void interpret (const char* module_name, const char* script);
|
void interpret (const char* module_name, const char* script);
|
||||||
void call (const Handle& method);
|
void call (const Handle& method);
|
||||||
void release_handle (Handle& handle) noexcept;
|
void release_handle (Handle& handle) noexcept;
|
||||||
|
|
Loading…
Reference in a new issue