Fix Go binding build error (#1535)
This commit is contained in:
@ -134,8 +134,7 @@ func (self *Module) SetWasiAddrPool(addrPool [][]byte) {
|
||||
}
|
||||
|
||||
/* Set module's wasi domain lookup pool */
|
||||
func(self *Module) SetWasiNsLookupPool(nsLookupPool[][] byte)
|
||||
{
|
||||
func(self *Module) SetWasiNsLookupPool(nsLookupPool [][]byte) {
|
||||
var nsLookupPoolPtr **C.char
|
||||
var nsLookupPoolSize C.uint
|
||||
|
||||
@ -144,4 +143,4 @@ func(self *Module) SetWasiNsLookupPool(nsLookupPool[][] byte)
|
||||
nsLookupPoolSize = C.uint(len(nsLookupPool))
|
||||
}
|
||||
C.wasm_runtime_set_wasi_ns_lookup_pool(self.module, nsLookupPoolPtr, nsLookupPoolSize)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user