You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[HTML5] Rename heapCopy to heapSlice.
New heapCopy function copies a TypedArray to the heap.
This commit is contained in:
@@ -86,7 +86,7 @@ const GodotHTTPRequest = {
|
||||
godot_xhr_send: function (xhrId, p_ptr, p_len) {
|
||||
let data = null;
|
||||
if (p_ptr && p_len) {
|
||||
data = GodotRuntime.heapCopy(HEAP8, p_ptr, p_len);
|
||||
data = GodotRuntime.heapSlice(HEAP8, p_ptr, p_len);
|
||||
}
|
||||
GodotHTTPRequest.requests[xhrId].send(data);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user