]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-guile.cc
* scm/encoding.scm (read-encoding-file): split up large function,
[lilypond.git] / lily / lily-guile.cc
index 5a259137fd6166e983dc08055aec3f8f033977e7..d2b9eec3205c7fc803e8ed9c06e53a2634be21e5 100644 (file)
@@ -107,6 +107,7 @@ LY_DEFINE (ly_gulp_file, "ly:gulp-file",
           "Read the file @var{name}, and return its contents in a string.  "
           "The file is looked up using the search path.")
 {
+  SCM_ASSERT_TYPE (gh_string_p (name), name, SCM_ARG1, __FUNCTION__, "string");
   return scm_makfrom0str (gulp_file_to_string (ly_scm2string (name)).to_str0 ());
 }