Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LibGit2Sharp/Core/NativeMethods.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs
index a9453529..720f083c 100644
--- a/LibGit2Sharp/Core/NativeMethods.cs
+++ b/LibGit2Sharp/Core/NativeMethods.cs
@@ -272,7 +272,9 @@ namespace LibGit2Sharp.Core
internal static extern OidSafeHandle git_commit_tree_id(GitObjectSafeHandle commit);
[DllImport(libgit2)]
- internal static extern int git_config_delete_entry(ConfigurationSafeHandle cfg, string name);
+ internal static extern int git_config_delete_entry(
+ ConfigurationSafeHandle cfg,
+ [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof (StrictUtf8Marshaler))] string name);
[DllImport(libgit2)]
internal static extern int git_config_find_global(GitBuf global_config_path);