Re: scm_from_zbyte_string

2012-11-16 Thread Mark H Weaver
Bruce Korb writes: > This is insufficient. There are the "to" functions > and the string extraction thingys that must be done. > But I really don't like that "scm_i_make_string()" call. Use 'scm_from_latin1_string' and 'scm_to_latin1_string', in combination with setting all the port encodings to

scm_from_zbyte_string

2012-11-16 Thread Bruce Korb
This is insufficient. There are the "to" functions and the string extraction thingys that must be done. But I really don't like that "scm_i_make_string()" call. SCM scm_from_zbyte_string (const char *str) { return scm_from_zbyte_stringn (str, -1); } SCM scm_from_