([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:
Andrew McCallum 1996-01-12 16:54:39 +00:00
parent 9df43faaa7
commit 0c9741f506

View file

@ -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;
}