mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	[HTML5] Rename heapCopy to heapSlice.
New heapCopy function copies a TypedArray to the heap.
This commit is contained in:
		
							parent
							
								
									41c64533b0
								
							
						
					
					
						commit
						751a6f9a63
					
				
					 3 changed files with 18 additions and 4 deletions
				
			
		|  | @ -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); | ||||
| 	}, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fabio Alessandrelli
						Fabio Alessandrelli