/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1998--2010 Jan Nieuwenhuizen <janneke@gnu.org>
+ Copyright (C) 1998--2011 Jan Nieuwenhuizen <janneke@gnu.org>
Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
str.length ());
}
-
char *
-ly_scm2newstr (SCM str, size_t *lenp)
+ly_scm2str0 (SCM str)
{
- char* p = scm_to_locale_stringn(str, lenp);
- return p;
+ return scm_to_locale_string (str);
}
/*
parse_symbol_list (char const *symbols)
{
while (isspace (*symbols))
- *symbols++;
+ symbols++;
string s = symbols;
replace_all (&s, '\n', ' ');
replace_all (&s, '\t', ' ');