mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([NSMethodSignature +signatureWithObjCTypes:]): Fix typo: change
objc_size_of_type to objc_sizeof_type. (Reported by Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9df43faaa7
commit
0c9741f506
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Implementation of NSMethodSignature for GNUStep
|
||||
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: August 1994
|
||||
|
@ -60,7 +60,7 @@ types_get_number_of_arguments (const char *types)
|
|||
bcopy(t, newMs->returnTypes, len);
|
||||
newMs->returnTypes[len-1] = '\0';
|
||||
newMs->argFrameLength = types_get_size_of_arguments(t);
|
||||
newMs->returnFrameLength = objc_size_of_type(t);
|
||||
newMs->returnFrameLength = objc_sizeof_type(t);
|
||||
newMs->numArgs = types_get_number_of_arguments(t);
|
||||
return newMs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue