mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: use Object instead of dynamic
This commit is contained in:
parent
1972c6d1ab
commit
beed516c89
13 changed files with 84 additions and 56 deletions
|
@ -72,10 +72,10 @@ void apply({
|
|||
|
||||
final error = libgit2.git_stash_apply(repoPointer, index, options);
|
||||
|
||||
for (final p in pathPointers) {
|
||||
for (final p in pathPointers as List) {
|
||||
calloc.free(p);
|
||||
}
|
||||
calloc.free(strArray);
|
||||
calloc.free(strArray as Pointer);
|
||||
calloc.free(optsC);
|
||||
calloc.free(options);
|
||||
|
||||
|
@ -127,10 +127,10 @@ void pop({
|
|||
|
||||
final error = libgit2.git_stash_pop(repoPointer, index, options);
|
||||
|
||||
for (final p in pathPointers) {
|
||||
for (final p in pathPointers as List) {
|
||||
calloc.free(p);
|
||||
}
|
||||
calloc.free(strArray);
|
||||
calloc.free(strArray as Pointer);
|
||||
calloc.free(optsC);
|
||||
calloc.free(options);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue