mirror of
https://github.com/pocketpy/pocketpy
synced 2026-08-05 05:37:10 +08:00
Update bindings.c
This commit is contained in:
parent
08fce73bbb
commit
2ed21e8814
@ -88,7 +88,7 @@ static bool mpack_to_py(mpack_node_t node) {
|
|||||||
if(!mpack_to_py_ext) {
|
if(!mpack_to_py_ext) {
|
||||||
return RuntimeError("msgpack: mpack_to_py_ext is not set, cannot handle ext type");
|
return RuntimeError("msgpack: mpack_to_py_ext is not set, cannot handle ext type");
|
||||||
}
|
}
|
||||||
if(!mpack_to_py_ext(node)) return false;
|
if(!mpack_to_py_ext(tmp, node)) return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: return ValueError("msgpack: invalid node type");
|
default: return ValueError("msgpack: invalid node type");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user