mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
Patches from Kienenberger, Yamato, Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b6341c9181
commit
38bdebb9a8
28 changed files with 668 additions and 31541 deletions
|
@ -565,7 +565,7 @@ my_method_get_next_argument (arglist_t argframe,
|
|||
if (args_retained)
|
||||
[*(id*)datum retain];
|
||||
break;
|
||||
|
||||
CASE_TYPE(_C_CLASS, Class);
|
||||
CASE_TYPE(_C_SEL, SEL);
|
||||
CASE_TYPE(_C_LNG, long);
|
||||
CASE_TYPE(_C_ULNG, unsigned long);
|
||||
|
@ -580,8 +580,13 @@ my_method_get_next_argument (arglist_t argframe,
|
|||
CASE_TYPE(_C_CHARPTR, char*);
|
||||
CASE_TYPE(_C_PTR, void*);
|
||||
default:
|
||||
[self notImplemented: _cmd];
|
||||
// memcpy (datum, va_arg (ap, void*), objc_sizeof_type(tmptype));
|
||||
{
|
||||
int copysize;
|
||||
copysize = objc_sizeof_type(tmptype);
|
||||
memcpy(datum,
|
||||
va_arg(ap, typeof(char[copysize])),
|
||||
copysize);
|
||||
} /* default */
|
||||
}
|
||||
datum = my_method_get_next_argument (argframe, &tmptype);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue