mirror of
https://github.com/extism/extism.git
synced 2026-01-10 22:37:58 -05:00
fix: typos
This commit is contained in:
@@ -9,7 +9,7 @@ module C
|
||||
attach_function :extism_call, [:int32, :string, :pointer, :uint64], :int32
|
||||
attach_function :extism_output_length, [:int32], :uint64
|
||||
attach_function :extism_output_get, [:int32, :pointer, :uint64], :void
|
||||
attack_function :extism_log_file, [:string, :pointer], :void
|
||||
attach_function :extism_log_file, [:string, :pointer], :void
|
||||
end
|
||||
|
||||
class Error < StandardError
|
||||
|
||||
@@ -29,7 +29,7 @@ pub unsafe extern "C" fn extism_plugin_register(
|
||||
plugins.push(plugin);
|
||||
let id = (plugins.len() - 1) as PluginIndex;
|
||||
info!("New plugin added: {id}");
|
||||
return id;
|
||||
id
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
Reference in New Issue
Block a user