mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 21:13:18 -08:00
dpp: create correct signature for functions with only required arguments
This commit is contained in:
parent
32b6f02157
commit
846cf3f377
2 changed files with 2 additions and 4 deletions
|
|
@ -693,9 +693,7 @@ put_fhead(void)
|
|||
fprintf(out, "cl_object %s(cl_narg narg", function_c_name);
|
||||
for (i = 0; i < nreq; i++)
|
||||
fprintf(out, ", cl_object %s", required[i]);
|
||||
if (nopt > 0 || rest_flag || key_flag)
|
||||
fprintf(out, ", ...");
|
||||
fprintf(out, ")\n{\n");
|
||||
fprintf(out, ", ...)\n{\n");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ extern ECL_API cl_object si_eval_with_env _ECL_ARGS((cl_narg narg, cl_object for
|
|||
|
||||
/* interpreter.c */
|
||||
|
||||
extern ECL_API cl_object si_interpreter_stack _ECL_ARGS((cl_narg narg));
|
||||
extern ECL_API cl_object si_interpreter_stack _ECL_ARGS((cl_narg narg, ...));
|
||||
extern ECL_API cl_object ecl_stack_frame_open(cl_env_ptr env, cl_object f, cl_index size);
|
||||
extern ECL_API void ecl_stack_frame_push(cl_object f, cl_object o);
|
||||
extern ECL_API void ecl_stack_frame_push_values(cl_object f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue