Add commented code for iterating over constant strings.

main
David Chisnall 8 years ago
parent c5cc4b9742
commit f48403d51c

@ -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;
}

Loading…
Cancel
Save