mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Fix Object type in GodotJSWrapper.
This commit is contained in:
parent
104af08e9d
commit
bf61af6ae9
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ const GodotJSWrapper = {
|
||||||
return GodotRuntime.getHeapValue(val, 'double');
|
return GodotRuntime.getHeapValue(val, 'double');
|
||||||
case 4:
|
case 4:
|
||||||
return GodotRuntime.parseString(GodotRuntime.getHeapValue(val, '*'));
|
return GodotRuntime.parseString(GodotRuntime.getHeapValue(val, '*'));
|
||||||
case 21: // OBJECT
|
case 24: // OBJECT
|
||||||
return GodotJSWrapper.get_proxied_value(GodotRuntime.getHeapValue(val, 'i64'));
|
return GodotJSWrapper.get_proxied_value(GodotRuntime.getHeapValue(val, 'i64'));
|
||||||
default:
|
default:
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|
@ -117,7 +117,7 @@ const GodotJSWrapper = {
|
||||||
}
|
}
|
||||||
const id = GodotJSWrapper.get_proxied(p_val);
|
const id = GodotJSWrapper.get_proxied(p_val);
|
||||||
GodotRuntime.setHeapValue(p_exchange, id, 'i64');
|
GodotRuntime.setHeapValue(p_exchange, id, 'i64');
|
||||||
return 21;
|
return 24; // OBJECT
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue