mirror of
https://github.com/extism/extism.git
synced 2026-01-10 06:18:00 -05:00
fix(dotnet): typo in HostFunction constructor that prevents setting Host Function namespace (#418)
The only interesting part is this:
ba1baef9fb/dotnet/src/Extism.Sdk/HostFunction.cs (L68)
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Extism.Sdk
|
||||
NativeHandle = LibExtism.extism_function_new(functionName, inputs, inputTypes.Length, outputs, outputTypes.Length, CallbackImpl, userData, IntPtr.Zero);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(functionName))
|
||||
if (!string.IsNullOrEmpty(@namespace))
|
||||
{
|
||||
LibExtism.extism_function_set_namespace(NativeHandle, @namespace);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user