]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-guile.cc
Add .py files to SOURCE_FILES instead of EXTRA_DIST_FILES. Fixes dist.
[lilypond.git] / lily / lily-guile.cc
index 95610af236c505ebd58f806797a22f68fa8561ba..1763a5cebbe23593f744ec98def2bc3ea60bcc61 100644 (file)
@@ -1,7 +1,7 @@
 /*
   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
@@ -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);
 }
 
 /*