]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/kpath.cc
* lily/lexer.ll: change is_string -> ly_c_string_p
[lilypond.git] / lily / kpath.cc
index b108346cfa7907db78c7ed159d1eec1a3fdc6454..63b288bea2d4daff8d737f4278c7c1bc013b804d 100644 (file)
@@ -152,7 +152,7 @@ LY_DEFINE (ly_kpathsea_gulp_file, "ly:kpathsea-gulp-file",
           "Read the file @var{name}, and return its contents in a string.  "
           "The file is looked up using the search path and kpathsea.")
 {
-  SCM_ASSERT_TYPE (is_string (name), name, SCM_ARG1, __FUNCTION__, "string");
+  SCM_ASSERT_TYPE (ly_c_string_p (name), name, SCM_ARG1, __FUNCTION__, "string");
   return scm_makfrom0str
     (kpathsea_gulp_file_to_string (ly_scm2string (name)).to_str0 ());
 }