1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build js 6 7 package runtime 8 9 // resetMemoryDataView signals the JS front-end that WebAssembly's memory.grow instruction has been used. 10 // This allows the front-end to replace the old DataView object with a new one. 11 // 12 //go:wasmimport gojs runtime.resetMemoryDataView 13 func resetMemoryDataView() 14