old/new objc api updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33027 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-05-12 16:03:08 +00:00
parent 995276efc8
commit 5b47a4bd32
16 changed files with 62 additions and 18 deletions

View file

@ -574,7 +574,7 @@ static char *unescape(const char *from, char * to)
*/
@implementation NSURL
static unsigned urlAlign;
static NSUInteger urlAlign;
/**
* Create and return a file URL with the supplied path.<br />
@ -591,7 +591,7 @@ static unsigned urlAlign;
{
if (clientsLock == nil)
{
urlAlign = objc_alignof_type(@encode(parsedURL));
NSGetSizeAndAlignment(@encode(parsedURL), &urlAlign, 0);
clientsLock = [NSLock new];
}
}