mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
Fix nuget pipeline (#17110)
Fix nuget pipeline by correcting the calling convention on c# delegate. --------- Co-authored-by: Randy Shuai <rashuai@microsoft.com>
This commit is contained in:
parent
e55e1b7da9
commit
f71b6944bf
1 changed files with 1 additions and 0 deletions
|
|
@ -1060,6 +1060,7 @@ namespace Microsoft.ML.OnnxRuntime
|
|||
}
|
||||
}
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
private delegate void OrtCallbackDelegate(IntPtr userData, IntPtr[] outputs, uint numOutputs, IntPtr status);
|
||||
|
||||
private static OrtCallbackDelegate ortCallback = new OrtCallbackDelegate(OrtCallback);
|
||||
|
|
|
|||
Loading…
Reference in a new issue