File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -584,10 +584,10 @@ internal static extern int git_filter_unregister(
584
584
#region git_libgit2_opts
585
585
586
586
// Bindings for git_libgit2_opts(int option, ...):
587
- // Varargs can be bound using __arglist in .NET, but I had trouble getting that working with Mono.
588
- // Instead of using __arglist, I enumerate the possible signatures here.
589
587
// Currently only GIT_OPT_GET_SEARCH_PATH and GIT_OPT_SET_SEARCH_PATH are supported,
590
588
// but other overloads could be added using a similar pattern.
589
+ // CallingConvention.Cdecl is used to allow binding the the C varargs signature, and each possible call signature must be enumerated.
590
+ // __argslist was an option, but is an undocumented feature that should likely not be used here.
591
591
592
592
// git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH, int level, git_buf *buf)
593
593
[ DllImport ( libgit2 , CallingConvention = CallingConvention . Cdecl ) ]
You can’t perform that action at this time.
0 commit comments