@@ -746,6 +746,10 @@ internal static extern int git_libgit2_opts(int option, uint level,
746746 [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl ) ]
747747 internal static extern int git_libgit2_opts ( int option , int enabled ) ;
748748
749+ // git_libgit2_opts(GIT_OPT_GET_*, int *enabled)
750+ [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl ) ]
751+ internal static extern unsafe int git_libgit2_opts ( int option , int * enabled ) ;
752+
749753 // git_libgit2_opts(GIT_OPT_SET_USER_AGENT, const char *path)
750754 [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl ) ]
751755 internal static extern int git_libgit2_opts ( int option ,
@@ -782,6 +786,10 @@ internal static extern int git_libgit2_opts_osxarm64(int option, IntPtr nop2, In
782786 [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl , EntryPoint = "git_libgit2_opts" ) ]
783787 internal static extern int git_libgit2_opts_osxarm64 ( int option , IntPtr nop2 , IntPtr nop3 , IntPtr nop4 , IntPtr nop5 , IntPtr nop6 , IntPtr nop7 , IntPtr nop8 , int enabled ) ;
784788
789+ // git_libgit2_opts(GIT_OPT_GET_*, int enabled)
790+ [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl , EntryPoint = "git_libgit2_opts" ) ]
791+ internal static extern unsafe int git_libgit2_opts_osxarm64 ( int option , IntPtr nop2 , IntPtr nop3 , IntPtr nop4 , IntPtr nop5 , IntPtr nop6 , IntPtr nop7 , IntPtr nop8 , int * enabled ) ;
792+
785793 // git_libgit2_opts(GIT_OPT_SET_USER_AGENT, const char *path)
786794 [ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl , EntryPoint = "git_libgit2_opts" ) ]
787795 internal static extern int git_libgit2_opts_osxarm64 ( int option , IntPtr nop2 , IntPtr nop3 , IntPtr nop4 , IntPtr nop5 , IntPtr nop6 , IntPtr nop7 , IntPtr nop8 ,
0 commit comments