Skip to content

Commit

Permalink
Update extract.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 1, 2019
1 parent 02065d6 commit 9ecc887
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dyld/extract.go
Expand Up @@ -13,12 +13,12 @@ package dyld
int
dsc_extract(void *f, const char* shared_cache_file_path, const char* extraction_root_path){
int (*extractor_proc)(const char* shared_cache_file_path,
const char* extraction_root_path,
void (^progress)(unsigned current, unsigned total));
const char* extraction_root_path,
void (^progress)(unsigned current, unsigned total));
extractor_proc = (int (*)(const char *))f;
int result = (*extractor_proc)(shared_cache_file_path,
extraction_root_path,
^(unsigned c, unsigned total) { printf("%d/%d\n", c, total); });
extraction_root_path,
^(unsigned c, unsigned total) { printf("%d/%d\n", c, total); });
return result;
}
*/
Expand Down

0 comments on commit 9ecc887

Please sign in to comment.