]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/function-documentation.cc
*** empty log message ***
[lilypond.git] / lily / function-documentation.cc
index d1eacb357dceffe6e88bf7530d846f254fa6bae2..5081d7eb58592dc082eabe6af715e3d000225dbc 100644 (file)
@@ -9,7 +9,7 @@
 #include <cstring>
 using namespace std;
 
-#include "string.hh"
+#include "std-string.hh"
 #include "lily-guile.hh"
 
 static SCM doc_hash_table;
@@ -25,11 +25,11 @@ void ly_add_function_documentation (SCM func,
   if (!doc_hash_table)
     doc_hash_table = scm_permanent_object (scm_c_make_hash_table (59));
 
-  String s = String (" - ") + "LilyPond procedure: " + fname + " " + varlist
+  string s = string (" - ") + "LilyPond procedure: " + fname + " " + varlist
     + "\n" + doc;
 
   scm_set_procedure_property_x (func, ly_symbol2scm ("documentation"),
-                               scm_makfrom0str (s.to_str0 ()));
+                               scm_makfrom0str (s.c_str ()));
   SCM entry = scm_cons (scm_makfrom0str (varlist), scm_makfrom0str (doc));
   scm_hashq_set_x (doc_hash_table, ly_symbol2scm (fname), entry);
 }