"\n"
"\n"
"Moment is a point in musical time. "
- "It is consists of a pair of rationals (@var{m},@var{g}), "
+ "It is consists of a pair of rationals (@var{m}, @var{g}), "
"where @var{m} is the timing for the main\n"
"notes, and @var{g} the timing for grace notes. "
"In absence of grace notes, @var{g} is zero.\n")
return (*ma + *mb).smobbed_copy ();
}
-LY_DEFINE (ly_mul_moment,"ly:mul-moment",
+LY_DEFINE (ly_mul_moment, "ly:mul-moment",
2, 0, 0, (SCM a, SCM b),
"Multiply two moments.")
{
return (*ma * *mb).smobbed_copy ();
}
-LY_DEFINE (ly_div_moment,"ly:div-moment",
+LY_DEFINE (ly_div_moment, "ly:div-moment",
2, 0, 0, (SCM a, SCM b),
"Divide two moments.")
{
return (*ma / *mb).smobbed_copy ();
}
-LY_DEFINE (ly_moment_main_numerator,"ly:moment-main-numerator",
+LY_DEFINE (ly_moment_main_numerator, "ly:moment-main-numerator",
1, 0, 0, (SCM mom),
"Extract numerator from main timing.")
{
return scm_from_int (ma->main_part_.numerator ());
}
-LY_DEFINE (ly_moment_main_denominator,"ly:moment-main-denominator",
+LY_DEFINE (ly_moment_main_denominator, "ly:moment-main-denominator",
1, 0, 0, (SCM mom),
"Extract denominator from main timing.")
{
return scm_from_int (ma->main_part_.denominator ());
}
-LY_DEFINE (ly_moment_less_p,"ly:moment<?",
+LY_DEFINE (ly_moment_less_p, "ly:moment<?",
2, 0, 0, (SCM a, SCM b),
"Compare two moments.")
{