mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
update go-ffmpreg to v0.2.5 (pulls in latest tetratelabs/wazero) (#3203)
This commit is contained in:
10
vendor/github.com/tetratelabs/wazero/api/wasm.go
generated
vendored
10
vendor/github.com/tetratelabs/wazero/api/wasm.go
generated
vendored
@ -151,9 +151,13 @@ type Module interface {
|
||||
|
||||
// ExportedFunction returns a function exported from this module or nil if it wasn't.
|
||||
//
|
||||
// Note: The default wazero.ModuleConfig attempts to invoke `_start`, which
|
||||
// in rare cases can close the module. When in doubt, check IsClosed prior
|
||||
// to invoking a function export after instantiation.
|
||||
// # Notes
|
||||
// - The default wazero.ModuleConfig attempts to invoke `_start`, which
|
||||
// in rare cases can close the module. When in doubt, check IsClosed prior
|
||||
// to invoking a function export after instantiation.
|
||||
// - The semantics of host functions assumes the existence of an "importing module" because, for example, the host function needs access to
|
||||
// the memory of the importing module. Therefore, direct use of ExportedFunction is forbidden for host modules.
|
||||
// Practically speaking, it is usually meaningless to directly call a host function from Go code as it is already somewhere in Go code.
|
||||
ExportedFunction(name string) Function
|
||||
|
||||
// ExportedFunctionDefinitions returns all the exported function
|
||||
|
Reference in New Issue
Block a user