@@ -224,11 +224,11 @@ internal static extern int git_rebase_next(
224
224
RebaseSafeHandle rebase ) ;
225
225
226
226
[ DllImport ( libgit2 ) ]
227
- internal static extern int git_rebase_commit (
227
+ internal static extern unsafe int git_rebase_commit (
228
228
ref GitOid id ,
229
229
RebaseSafeHandle rebase ,
230
- SignatureSafeHandle author ,
231
- SignatureSafeHandle committer ,
230
+ git_signature * author ,
231
+ git_signature * committer ,
232
232
IntPtr message_encoding ,
233
233
IntPtr message ) ;
234
234
@@ -237,9 +237,9 @@ internal static extern int git_rebase_abort(
237
237
RebaseSafeHandle rebase ) ;
238
238
239
239
[ DllImport ( libgit2 ) ]
240
- internal static extern int git_rebase_finish (
240
+ internal static extern unsafe int git_rebase_finish (
241
241
RebaseSafeHandle repo ,
242
- SignatureSafeHandle signature ) ;
242
+ git_signature * signature ) ;
243
243
244
244
[ DllImport ( libgit2 ) ]
245
245
internal static extern void git_rebase_free (
@@ -285,18 +285,18 @@ internal static extern unsafe int git_clone(
285
285
ref GitCloneOptions opts ) ;
286
286
287
287
[ DllImport ( libgit2 ) ]
288
- internal static extern IntPtr git_commit_author ( GitObjectSafeHandle commit ) ;
288
+ internal static extern unsafe git_signature * git_commit_author ( GitObjectSafeHandle commit ) ;
289
289
290
290
[ DllImport ( libgit2 ) ]
291
- internal static extern IntPtr git_commit_committer ( GitObjectSafeHandle commit ) ;
291
+ internal static extern unsafe git_signature * git_commit_committer ( GitObjectSafeHandle commit ) ;
292
292
293
293
[ DllImport ( libgit2 ) ]
294
294
internal static extern unsafe int git_commit_create_from_ids (
295
295
out GitOid id ,
296
296
git_repository * repo ,
297
297
[ 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 ,
300
300
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string encoding ,
301
301
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
302
302
ref GitOid tree ,
@@ -810,8 +810,8 @@ internal static extern unsafe int git_note_create(
810
810
out GitOid noteOid ,
811
811
git_repository * repo ,
812
812
[ 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 ,
815
815
ref GitOid oid ,
816
816
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string note ,
817
817
int force ) ;
@@ -837,8 +837,8 @@ internal static extern unsafe int git_note_read(
837
837
internal static extern unsafe int git_note_remove (
838
838
git_repository * repo ,
839
839
[ 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 ,
842
842
ref GitOid oid ) ;
843
843
844
844
[ DllImport ( libgit2 ) ]
@@ -1102,7 +1102,7 @@ internal static extern ReflogEntrySafeHandle git_reflog_entry_byindex(
1102
1102
SafeHandle entry ) ;
1103
1103
1104
1104
[ DllImport ( libgit2 ) ]
1105
- internal static extern IntPtr git_reflog_entry_committer (
1105
+ internal static extern unsafe git_signature * git_reflog_entry_committer (
1106
1106
SafeHandle entry ) ;
1107
1107
1108
1108
[ DllImport ( libgit2 ) ]
@@ -1471,30 +1471,30 @@ internal static extern unsafe int git_revparse_ext(
1471
1471
internal static extern void git_revwalk_simplify_first_parent ( RevWalkerSafeHandle walk ) ;
1472
1472
1473
1473
[ DllImport ( libgit2 ) ]
1474
- internal static extern void git_signature_free ( IntPtr signature ) ;
1474
+ internal static extern unsafe void git_signature_free ( git_signature * signature ) ;
1475
1475
1476
1476
[ 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 ,
1479
1479
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
1480
1480
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string email ,
1481
1481
long time ,
1482
1482
int offset ) ;
1483
1483
1484
1484
[ 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 ,
1487
1487
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
1488
1488
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string email ) ;
1489
1489
1490
1490
[ 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 ) ;
1492
1492
1493
1493
[ DllImport ( libgit2 ) ]
1494
1494
internal static extern unsafe int git_stash_save (
1495
1495
out GitOid id ,
1496
1496
git_repository * repo ,
1497
- SignatureSafeHandle stasher ,
1497
+ git_signature * stasher ,
1498
1498
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
1499
1499
StashModifiers flags ) ;
1500
1500
@@ -1650,7 +1650,7 @@ internal static extern unsafe int git_tag_annotation_create(
1650
1650
git_repository * repo ,
1651
1651
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
1652
1652
GitObjectSafeHandle target ,
1653
- SignatureSafeHandle signature ,
1653
+ git_signature * signature ,
1654
1654
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ) ;
1655
1655
1656
1656
[ DllImport ( libgit2 ) ]
@@ -1659,7 +1659,7 @@ internal static extern unsafe int git_tag_create(
1659
1659
git_repository * repo ,
1660
1660
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string name ,
1661
1661
GitObjectSafeHandle target ,
1662
- SignatureSafeHandle signature ,
1662
+ git_signature * signature ,
1663
1663
[ MarshalAs ( UnmanagedType . CustomMarshaler , MarshalCookie = UniqueId . UniqueIdentifier , MarshalTypeRef = typeof ( StrictUtf8Marshaler ) ) ] string message ,
1664
1664
[ MarshalAs ( UnmanagedType . Bool ) ]
1665
1665
bool force ) ;
@@ -1690,7 +1690,7 @@ internal static extern unsafe int git_tag_delete(
1690
1690
internal static extern string git_tag_name ( GitObjectSafeHandle tag ) ;
1691
1691
1692
1692
[ DllImport ( libgit2 ) ]
1693
- internal static extern IntPtr git_tag_tagger ( GitObjectSafeHandle tag ) ;
1693
+ internal static extern unsafe git_signature * git_tag_tagger ( GitObjectSafeHandle tag ) ;
1694
1694
1695
1695
[ DllImport ( libgit2 ) ]
1696
1696
internal static extern unsafe git_oid * git_tag_target_id ( GitObjectSafeHandle tag ) ;
0 commit comments