js-runtime: Support js functions in zig.readObject
This commit is contained in:
parent
e67fdd75e3
commit
c587350c71
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ const zig = {
|
||||||
readObject(block, memory) {
|
readObject(block, memory) {
|
||||||
switch (block.getU8(0)) {
|
switch (block.getU8(0)) {
|
||||||
case 0:
|
case 0:
|
||||||
|
case 6:
|
||||||
case 7:
|
case 7:
|
||||||
return values[block.getU64(8)];
|
return values[block.getU64(8)];
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue