]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pfb-scheme.cc
fix brown paper bag design: calling conventions are platform dependent.
[lilypond.git] / lily / pfb-scheme.cc
index 29cbe15b4f2835f5b8080f2d632ef52339a276f2..f22a745ac7d6bcd745533ce2f5ed1acf52844581 100644 (file)
@@ -10,7 +10,7 @@ LY_DEFINE (ly_pfb_2_pfa, "ly:pfb->pfa",
           1, 0, 0, (SCM pfb_file_name),
           "Convert the contents of a PFB file to PFA.")
 {
-  LY_ASSERT_FIRST_TYPE(scm_is_string, pfb_file_name);
+  LY_ASSERT_TYPE (scm_is_string, pfb_file_name, 1);
 
   string file_name = ly_scm2string (pfb_file_name);
 
@@ -34,7 +34,7 @@ LY_DEFINE (ly_otf_2_cff, "ly:otf->cff",
           "Convert the contents of a OTF file to CFF file, returning it as "
           " a string.")
 {
-  LY_ASSERT_FIRST_TYPE(scm_is_string, otf_file_name);
+  LY_ASSERT_TYPE (scm_is_string, otf_file_name, 1);
 
   string file_name = ly_scm2string (otf_file_name);
   if (be_verbose_global)