X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fduration-scheme.cc;h=1d840a753e2e9649005ad69ec6cd9f5acdf3fa31;hb=a7f82e4dc22fc6219a9fe0f6874f8c91e3f31f24;hp=0ecf130acfa361f49ae48c76be3490949e5e4cd2;hpb=51dd610fd06e1a5ebb8a8e84d13abd83feaafd55;p=lilypond.git diff --git a/lily/duration-scheme.cc b/lily/duration-scheme.cc index 0ecf130acf..1d840a753e 100644 --- a/lily/duration-scheme.cc +++ b/lily/duration-scheme.cc @@ -4,8 +4,7 @@ source file of the LilyPond music typesetter (c) 1997--2005 Jan Nieuwenhuizen - Han-Wen Nienhuys - + Han-Wen Nienhuys */ #include "duration.hh" @@ -26,7 +25,7 @@ Duration::less_p (SCM p1, SCM p2) LY_DEFINE (ly_duration_less_p, "ly:durationduration_log ()); @@ -99,7 +98,7 @@ LY_DEFINE (ly_duration_log, "ly:duration-log", LY_DEFINE (ly_duration_dot_count, "ly:duration-dot-count", 1, 0, 0, (SCM dur), - "Extract the dot count from @var{dur}") + "Extract the dot count from @var{dur}") { SCM_ASSERT_TYPE (unsmob_duration (dur), dur, SCM_ARG1, __FUNCTION__, "duration"); return scm_int2num (unsmob_duration (dur)->dot_count ()); @@ -107,7 +106,7 @@ LY_DEFINE (ly_duration_dot_count, "ly:duration-dot-count", LY_DEFINE (ly_intlog2, "ly:intlog2", 1, 0, 0, (SCM d), - "The 2-logarithm of 1/@var{d}.") + "The 2-logarithm of 1/@var{d}.") { SCM_ASSERT_TYPE (scm_is_number (d), d, SCM_ARG1, __FUNCTION__, "integer"); int log = intlog2 (scm_to_int (d)); @@ -116,7 +115,7 @@ LY_DEFINE (ly_intlog2, "ly:intlog2", LY_DEFINE (ly_duration_factor, "ly:duration-factor", 1, 0, 0, (SCM dur), - "Extract the compression factor from @var{dur}. Return as a pair.") + "Extract the compression factor from @var{dur}. Return as a pair.") { SCM_ASSERT_TYPE (unsmob_duration (dur), dur, SCM_ARG1, __FUNCTION__, "duration"); Rational r = unsmob_duration (dur)->factor ();