]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-function-scheme.cc
Typo.
[lilypond.git] / lily / music-function-scheme.cc
index 06e57f083b7f51326a7248bdd2b589d4e51a3d54..b6473b19d190395c80030a1addb5c2dec702d364 100644 (file)
@@ -2,29 +2,29 @@
 
 LY_DEFINE (ly_music_function_p, "ly:music-function?", 1, 0, 0,
           (SCM x),
-          "Is @var{x} an @code{music-function}?")
+          "Is @var{x} a @code{music-function}?")
 {
   return is_music_function (x) ? SCM_BOOL_T : SCM_BOOL_F;
 }
                 
 LY_DEFINE (ly_music_function_extract, "ly:music-function-extract", 1, 0, 0,
           (SCM x),
-          "Return the Scheme function inside @var{x}")
+          "Return the Scheme function inside@tie{}@var{x}.")
 {
-  SCM_ASSERT_TYPE(is_music_function (x), x, SCM_ARG1, __FUNCTION__,
-                 "music function");
+  LY_ASSERT_TYPE (is_music_function, x, 1);
   
   return SCM_CELL_OBJECT_1(x);
 }
 
 LY_DEFINE (ly_make_music_function, "ly:make-music-function", 2, 0, 0,
           (SCM signature, SCM func),
-          "Make a function to process music, to be used for the "
-          "parser. @code{func} is the function, and @code{signature} describes "
-          "Its arguments. @code{signature} is a list containing either "
-          "@code{ly:music?} predicates or other type predicates.")
+          "Make a function to process music, to be used for the"
+          " parser.  @var{func} is the function, and @var{signature}"
+          " describes its arguments.  @var{signature} is a list"
+          " containing either @code{ly:music?} predicates or other type"
+          " predicates.")
 {
-  SCM_ASSERT_TYPE(ly_is_procedure (func), func, SCM_ARG1, __FUNCTION__, "function");
+  LY_ASSERT_TYPE (ly_is_procedure, func, 1);
   return  make_music_function (signature, func);
 }