Skip to content

Commit

Permalink
Add commented code for iterating over constant strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchisnall committed Apr 28, 2018
1 parent c5cc4b9 commit f48403d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,17 @@ void __objc_load(struct objc_init *init)
class_registerAlias_np(*alias->alias, alias->alias_name);
}
}
#if 0
// If future versions of the ABI need to do anything with constant strings,
// they may do so here.
for (struct nsstr *string = init->strings_begin ; string < init->strings_end ;
string++)
{
if (string->isa)
{
}
}
#endif
init->version = 0xffffffffffffffffULL;
}

Expand Down

0 comments on commit f48403d

Please sign in to comment.