Add operator==

This commit is contained in:
King_DuckZ 2020-04-30 23:05:13 +02:00
parent 6fc3422548
commit 97514085cb

View file

@ -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;