A question about scm_{to,from}_locale_string()

2011-06-11 Thread Peter TB Brett
Hi folks, gEDA currently uses scm_to_locale_string() and scm_from_locale_string() to convert C char* strings to and from SCM strings. All of our strings are encoded as UTF-8, but we can't use scm_to_utf8_stringn() and scm_from_utf8_string() because they don't exist in Guile 1.8.8 (which we're goi

Re: A question about scm_{to,from}_locale_string()

2011-06-11 Thread Ludovic Courtès
Hello, Peter TB Brett skribis: > All of our strings are encoded as UTF-8, but we can't use > scm_to_utf8_stringn() and scm_from_utf8_string() because they don't > exist in Guile 1.8.8 (which we're going to have to continue to support > for some time). > > The question, then, is whether using scm

Guile + Mercury / GC

2011-06-11 Thread Tomas By
Hi all, After upgrading to Guile 2.0.1, my Mercury - Guile app stopped working. | $ ./test | 0xac44040 is not a GC visible pointer location | GC_is_visible test failed | Aborted | $ All source files for a minimal example shown below. Any help appreciated. /Tomas ---test.c