]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/engraver.cc
replace SCM_ASSERT_TYPE with LY_ASSERT_TYPE and friends
[lilypond.git] / lily / engraver.cc
index ac74d5e93064f9c808dccf6358fc95fae9465cc3..29f4b2f198be88d1ede0408fc7ee47f512281c4b 100644 (file)
@@ -96,8 +96,7 @@ LY_DEFINE (ly_set_grob_creation_callback, "ly:set-grob-creation-callback",
           "the grob to be created and the corresponding line number in the "
           "C++ source file.")
 {
-  SCM_ASSERT_TYPE(ly_is_procedure (cb), cb, SCM_ARG1, __FUNCTION__,
-                 "procedure");
+  LY_ASSERT_FIRST_TYPE (ly_is_procedure, cb);
 
   creation_callback = cb;