@@ -224,11 +224,11 @@ internal static extern int git_rebase_next(
224224RebaseSafeHandle rebase ) ;
225225
226226[ DllImport ( libgit2 ) ]
227- internal static extern int git_rebase_commit (
227+ internal static extern unsafe int git_rebase_commit (
228228ref GitOid id ,
229229RebaseSafeHandle rebase ,
230- SignatureSafeHandle author ,
231- SignatureSafeHandle committer ,
230+ git_signature * author ,
231+ git_signature * committer ,
232232IntPtr message_encoding ,
233233IntPtr message ) ;
234234
@@ -237,9 +237,9 @@ internal static extern int git_rebase_abort(
237237RebaseSafeHandle rebase ) ;
238238
239239[ DllImport ( libgit2 ) ]
240- internal static extern int git_rebase_finish (
240+ internal static extern unsafe int git_rebase_finish (
241241RebaseSafeHandle repo ,
242- SignatureSafeHandle signature ) ;
242+ git_signature * signature ) ;
243243
244244[ DllImport ( libgit2 ) ]
245245internal static extern void git_rebase_free (
@@ -285,18 +285,18 @@ internal static extern unsafe int git_clone(
285285ref GitCloneOptions opts ) ;
286286
287287[ DllImport ( libgit2 ) ]
288- internal static extern IntPtr git_commit_author ( GitObjectSafeHandle commit ) ;
288+ internal static extern unsafe git_signature * git_commit_author ( GitObjectSafeHandle commit ) ;
289289
290290[ DllImport ( libgit2 ) ]
291- internal static extern IntPtr git_commit_committer ( GitObjectSafeHandle commit ) ;
291+ internal static extern unsafe git_signature * git_commit_committer ( GitObjectSafeHandle commit ) ;
292292
293293[ DllImport ( libgit2 ) ]
294294internal static extern unsafe int git_commit_create_from_ids (
295295out GitOid id ,
296296git_repository * repo ,
297297[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string updateRef ,
298- SignatureSafeHandle author ,
299- SignatureSafeHandle committer ,
298+ git_signature * author ,
299+ git_signature * committer ,
300300[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string encoding ,
301301[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
302302ref GitOid tree ,
@@ -810,8 +810,8 @@ internal static extern unsafe int git_note_create(
810810out GitOid noteOid ,
811811git_repository * repo ,
812812[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string notes_ref ,
813- SignatureSafeHandle author ,
814- SignatureSafeHandle committer ,
813+ git_signature * author ,
814+ git_signature * committer ,
815815ref GitOid oid ,
816816[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string note ,
817817int force ) ;
@@ -837,8 +837,8 @@ internal static extern unsafe int git_note_read(
837837internal static extern unsafe int git_note_remove (
838838git_repository * repo ,
839839[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string notes_ref ,
840- SignatureSafeHandle author ,
841- SignatureSafeHandle committer ,
840+ git_signature * author ,
841+ git_signature * committer ,
842842ref GitOid oid ) ;
843843
844844[ DllImport ( libgit2 ) ]
@@ -1102,7 +1102,7 @@ internal static extern ReflogEntrySafeHandle git_reflog_entry_byindex(
11021102SafeHandle entry ) ;
11031103
11041104[ DllImport ( libgit2 ) ]
1105- internal static extern IntPtr git_reflog_entry_committer (
1105+ internal static extern unsafe git_signature * git_reflog_entry_committer (
11061106SafeHandle entry ) ;
11071107
11081108[ DllImport ( libgit2 ) ]
@@ -1471,30 +1471,30 @@ internal static extern unsafe int git_revparse_ext(
14711471internal static extern void git_revwalk_simplify_first_parent ( RevWalkerSafeHandle walk ) ;
14721472
14731473[ DllImport ( libgit2 ) ]
1474- internal static extern void git_signature_free ( IntPtr signature ) ;
1474+ internal static extern unsafe void git_signature_free ( git_signature * signature ) ;
14751475
14761476[ DllImport ( libgit2 ) ]
1477- internal static extern int git_signature_new (
1478- out SignatureSafeHandle signature ,
1477+ internal static extern unsafe int git_signature_new (
1478+ out git_signature * signature ,
14791479[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
14801480[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string email ,
14811481long time ,
14821482int offset ) ;
14831483
14841484[ DllImport ( libgit2 ) ]
1485- internal static extern int git_signature_now (
1486- out SignatureSafeHandle signature ,
1485+ internal static extern unsafe int git_signature_now (
1486+ out git_signature * signature ,
14871487[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
14881488[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string email ) ;
14891489
14901490[ DllImport ( libgit2 ) ]
1491- internal static extern int git_signature_dup ( out IntPtr dest , IntPtr sig ) ;
1491+ internal static extern unsafe int git_signature_dup ( out git_signature * dest , git_signature * sig ) ;
14921492
14931493[ DllImport ( libgit2 ) ]
14941494internal static extern unsafe int git_stash_save (
14951495out GitOid id ,
14961496git_repository * repo ,
1497- SignatureSafeHandle stasher ,
1497+ git_signature * stasher ,
14981498[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
14991499StashModifiers flags ) ;
15001500
@@ -1650,7 +1650,7 @@ internal static extern unsafe int git_tag_annotation_create(
16501650git_repository * repo ,
16511651[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
16521652GitObjectSafeHandle target ,
1653- SignatureSafeHandle signature ,
1653+ git_signature * signature ,
16541654[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ) ;
16551655
16561656[ DllImport ( libgit2 ) ]
@@ -1659,7 +1659,7 @@ internal static extern unsafe int git_tag_create(
16591659git_repository * repo ,
16601660[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
16611661GitObjectSafeHandle target ,
1662- SignatureSafeHandle signature ,
1662+ git_signature * signature ,
16631663[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
16641664[ MarshalAs ( UnmanagedType . Bool ) ]
16651665bool force ) ;
@@ -1690,7 +1690,7 @@ internal static extern unsafe int git_tag_delete(
16901690internal static extern string git_tag_name ( GitObjectSafeHandle tag ) ;
16911691
16921692[ DllImport ( libgit2 ) ]
1693- internal static extern IntPtr git_tag_tagger ( GitObjectSafeHandle tag ) ;
1693+ internal static extern unsafe git_signature * git_tag_tagger ( GitObjectSafeHandle tag ) ;
16941694
16951695[ DllImport ( libgit2 ) ]
16961696internal static extern unsafe git_oid * git_tag_target_id ( GitObjectSafeHandle tag ) ;
0 commit comments