mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
995276efc8
commit
5b47a4bd32
16 changed files with 62 additions and 18 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue