mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Update sendv test for corrected implementation
This commit is contained in:
parent
826f066e00
commit
3061f7e30e
1 changed files with 6 additions and 5 deletions
|
@ -8,12 +8,13 @@ int obj_increment_retaincount (id object) = #0;
|
|||
void
|
||||
send (id obj, string cmd, string str)
|
||||
{
|
||||
@static @param params[1];
|
||||
@va_list va_list = {1, params};
|
||||
SEL sel;
|
||||
@static @param params[3];
|
||||
@va_list va_list = {3, params};
|
||||
SEL sel = sel_get_uid (cmd);
|
||||
|
||||
params[0].string_val = str;
|
||||
sel = sel_get_uid (cmd);
|
||||
params[0].pointer_val = obj;
|
||||
params[1].pointer_val = sel;
|
||||
params[2].string_val = str;
|
||||
obj_msg_sendv (obj, sel, va_list);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue