Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: zach <[email protected]>
  • Loading branch information
Marton6 and zshipko authored Mar 12, 2024
1 parent 8fdc32b commit 823f407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extism.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func (plugin *Plugin) SetInput(data []byte) (uint64, error) {
return plugin.SetInputWithContext(context.Background(), data)
}

// SetInput sets the input data for the plugin to be used in the next WebAssembly function call.
// SetInputWithContext sets the input data for the plugin to be used in the next WebAssembly function call.
func (plugin *Plugin) SetInputWithContext(ctx context.Context, data []byte) (uint64, error) {
_, err := plugin.Runtime.Extism.ExportedFunction("reset").Call(ctx)
if err != nil {
Expand Down

0 comments on commit 823f407

Please sign in to comment.