This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_list


Maciej Stachowiak (and thi) wrote:

> Yes. You need to pass SCM_UNDEFINED as the last argument so gh_list
> knows how many arguments you passed it (C variadic functions are
> goofy that way.) In the case of your example:
>
>
> SCM_UNDEFINED);
> /*
> ^^^^^^^^^^^^^^^ */
> }
>
> int main (int argc, char **argv) {gh_enter (argc, argv, main_prog);}

OK you're right, my make-command went wrong.

Thanks,    Alex