mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Fix a load of warnings from implicit function declarations. A lot were caused by ctype.h and string.h stuff being used everywhere in GNUstep but not included anywhere - they're now included in common.h (at least string.h should also be in Foundation.h - on OS X it is implicitly included via some chain of things from Foundation.h).
All of the sel_* stuff is now replaced with the newer APIs. As a side-effect, a blob of code that was copied-and-pasted all over GNUstep has now been moved into ObjectiveC2 and just called. Class posing with libobjc2 will now throw an exception, rather than just aborting. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ad0e5323c
commit
f392469c64
11 changed files with 49 additions and 79 deletions
|
@ -811,7 +811,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
notification = [NSNotification notificationWithName: name
|
||||
object: object
|
||||
userInfo: userInfo];
|
||||
[recipient performSelector: sel_get_any_typed_uid([aSelector cString])
|
||||
[recipient performSelector: sel_registerTypedName_np([aSelector cString], 0)
|
||||
withObject: notification];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue