mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
After going to all of the effort of recomputing the frame size, actually store the one that we compute instead of accidentally discarding it.
It would probably be a good idea if we skipped the entire disassemble / reassemble code path if we've got sensible method encoding strings. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32908 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c427b04d6
commit
d190709e05
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ next_arg(const char *typePtr, NSArgumentInfo *info, char *outTypes)
|
||||||
p = objc_skip_type_qualifiers (p);
|
p = objc_skip_type_qualifiers (p);
|
||||||
}
|
}
|
||||||
alen = ptr - args;
|
alen = ptr - args;
|
||||||
sprintf(ret + rlen, "%d", (int)_argFrameLength);
|
rlen += sprintf(ret + rlen, "%d", (int)_argFrameLength);
|
||||||
|
|
||||||
_methodTypes = NSZoneMalloc(NSDefaultMallocZone(), alen + rlen + 1);
|
_methodTypes = NSZoneMalloc(NSDefaultMallocZone(), alen + rlen + 1);
|
||||||
strncpy((char*)_methodTypes, ret, rlen);
|
strncpy((char*)_methodTypes, ret, rlen);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue