mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-03 09:34:50 +00:00
try to sort out ci only error on build related to CA2101
This commit is contained in:
@@ -41,7 +41,7 @@ public unsafe partial struct llmodel_prompt_context
|
|||||||
|
|
||||||
public float context_erase;
|
public float context_erase;
|
||||||
}
|
}
|
||||||
|
#pragma warning disable CA2101
|
||||||
internal static unsafe partial class NativeMethods
|
internal static unsafe partial class NativeMethods
|
||||||
{
|
{
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
@@ -105,3 +105,4 @@ internal static unsafe partial class NativeMethods
|
|||||||
[return: NativeTypeName("int32_t")]
|
[return: NativeTypeName("int32_t")]
|
||||||
public static extern int llmodel_threadCount([NativeTypeName("llmodel_model")] IntPtr model);
|
public static extern int llmodel_threadCount([NativeTypeName("llmodel_model")] IntPtr model);
|
||||||
}
|
}
|
||||||
|
#pragma warning restore CA2101
|
||||||
|
Reference in New Issue
Block a user