X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flily-guile.cc;h=1763a5cebbe23593f744ec98def2bc3ea60bcc61;hb=98b9439fda0b019a67cfe63b0c0c5bb99ded618e;hp=95610af236c505ebd58f806797a22f68fa8561ba;hpb=2d556e54796f00c0f041386738b048783c2637cc;p=lilypond.git diff --git a/lily/lily-guile.cc b/lily/lily-guile.cc index 95610af236..1763a5cebb 100644 --- a/lily/lily-guile.cc +++ b/lily/lily-guile.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1998--2010 Jan Nieuwenhuizen + Copyright (C) 1998--2011 Jan Nieuwenhuizen Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify @@ -138,12 +138,10 @@ ly_string2scm (string const &str) 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); } /*