MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setWrapped

Method setWrapped

src/script/script_object.h:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 script::Engine* getEngine() {return &*m_internal->m_engine;}
119
120 virtual void setWrapped(const Handle& handle, bool own) {
121 if (m_own) {
122 m_handle.dispose();
123 }
124 m_handle = handle;
125 m_own = own;
126 }
127
128 template <typename Type = Value>
129 Type get(const std::string& name) {

Callers 2

getScriptObjectMethod · 0.80
addPaletteMethod · 0.80

Calls 1

disposeMethod · 0.45

Tested by

no test coverage detected