mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 15:57:36 +02:00
Allow Cyc_apply to receive 0 scheme args
This commit is contained in:
parent
d8171527b9
commit
bf561a66e1
1 changed files with 4 additions and 1 deletions
|
@ -2128,7 +2128,10 @@ void Cyc_apply(void *data, int argc, closure cont, object prim, ...){
|
|||
//printf("\n");
|
||||
|
||||
va_end(ap);
|
||||
apply(data, cont, prim, (object)&args[0]);
|
||||
apply(data, cont, prim,
|
||||
(argc > 0)
|
||||
? (object)&args[0]
|
||||
: nil);
|
||||
}
|
||||
// END apply
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue