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