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] |
thi wrote:SCM_UNDEFINED' and so walks off and weird things happen. you should > use something like: > > l2 = gh_list (something, something_else, SCM_UNDEFINED); > > happy hacking, > thi #include <guile/gh.h> void main_prog(int argc, char **argv) { SCM l1, l2; l1 = SCM_LIST2(gh_str02scm("filename"), gh_str02scm("bla")); gh_display(l1); gh_display(gh_str02scm(" is OK"));gh_newline(); l2 = gh_list(gh_str02scm("filename"), gh_str02scm("bla"), SCM_UNDEFINED); ^^^^^^^^^^^^^^^ ||||||||||||||| } int main (int argc, char **argv) { gh_enter (argc, argv, main_prog); } and nothing changes. I tried that before. Alex