mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
chore: upgrade ffigen
This commit is contained in:
parent
825f3f9926
commit
2fd43f3efe
6 changed files with 8186 additions and 15490 deletions
File diff suppressed because it is too large
Load diff
|
@ -193,7 +193,8 @@ int numHunks(Pointer<git_patch> patch) => libgit2.git_patch_num_hunks(patch);
|
|||
Map<String, dynamic> hunk(Pointer<git_patch> patch, int hunkIdx) {
|
||||
final out = calloc<Pointer<git_diff_hunk>>();
|
||||
final linesInHunk = calloc<Int32>();
|
||||
final error = libgit2.git_patch_get_hunk(out, linesInHunk, patch, hunkIdx);
|
||||
final error =
|
||||
libgit2.git_patch_get_hunk(out, linesInHunk.cast(), patch, hunkIdx);
|
||||
final result = <String, dynamic>{};
|
||||
|
||||
if (error < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue