mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-22 21:22:59 +00:00
Export string constants and annotate exported function implementations
Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
This commit is contained in:
parent
fb84b3b1e8
commit
0582eddd96
47 changed files with 769 additions and 945 deletions
|
@ -1089,13 +1089,10 @@ static id gs_weak_load(id obj)
|
|||
autorelease_sel = @selector(addObject:);
|
||||
autorelease_imp = [autorelease_class methodForSelector: autorelease_sel];
|
||||
|
||||
/* Make sure the constant string class works and set up well-known
|
||||
* string constants etc.
|
||||
/* Make sure the constant string class works.
|
||||
*/
|
||||
NSConstantStringClass = [NSString constantStringClass];
|
||||
|
||||
GSPrivateBuildStrings();
|
||||
|
||||
/* Now that the string class (and autorelease) is set up, we can set
|
||||
* the name of the lock to a string value safely.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue