We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36fbdf9 commit bd0eb8fCopy full SHA for bd0eb8f
src/DaedalusVm.cc
@@ -155,7 +155,9 @@ ZkString ZkDaedalusVm_popString(ZkDaedalusVm* slf) {
155
ZkDaedalusInstance* ZkDaedalusVm_popInstance(ZkDaedalusVm* slf) {
156
ZKC_TRACE_FN();
157
ZKC_CHECK_NULL(slf);
158
- ZKC_RETURN_CATCH(ZKC_WRAP_NEW(slf->handle.pop_instance()));
+
159
+ auto* instance = new ZkDaedalusInstance(slf->handle.pop_instance());
160
+ ZKC_RETURN_CATCH(instance);
161
}
162
163
ZkDaedalusInstance* ZkDaedalusVm_getGlobalSelf(ZkDaedalusVm* slf) {
0 commit comments