mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c5f49ccbcb
commit
0708409c1b
180 changed files with 2181 additions and 2156 deletions
|
@ -148,7 +148,7 @@ initSerializerInfo(_NSSerializerInfo* info, NSMutableData *d, BOOL u)
|
|||
Class c;
|
||||
|
||||
c = GSObjCClass(d);
|
||||
info->data = d;
|
||||
info->data = d;
|
||||
info->appImp = (void (*)(NSData*,SEL,const void*,unsigned))get_imp(c, appSel);
|
||||
info->datImp = (void* (*)(NSMutableData*,SEL))get_imp(c, datSel);
|
||||
info->lenImp = (unsigned int (*)(NSData*,SEL))get_imp(c, lenSel);
|
||||
|
@ -247,7 +247,7 @@ serializeToInfo(id object, _NSSerializerInfo* info)
|
|||
{
|
||||
unichar buffer[slen];
|
||||
[object getCharacters: buffer];
|
||||
memcpy((*info->datImp)(info->data, datSel) + dlen, buffer,
|
||||
memcpy((*info->datImp)(info->data, datSel) + dlen, buffer,
|
||||
slen*sizeof(unichar));
|
||||
}
|
||||
else
|
||||
|
@ -494,7 +494,7 @@ initDeserializerInfo(_NSDeserializerInfo* info, NSData *d, unsigned *c, BOOL m)
|
|||
|
||||
if (*c + 11 < l && memcmp(&b[*c-1], "GNUstepSer", 10) == 0)
|
||||
{
|
||||
*c += 9;
|
||||
*c += 9;
|
||||
(*info->debImp)(d, debSel, &u, 1, c);
|
||||
NSLog(@"Serialised data version %d not supported ..."
|
||||
@" try another version of GNUstep");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue