X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fitem-scheme.cc;h=6e540a327d78c32533f7509bb26723e7103f50e3;hb=b0e58f4a55426db0c5152b6bd008da186941c511;hp=6baf4af6af363056d319d36c294fcb848cf1ab4a;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/lily/item-scheme.cc b/lily/item-scheme.cc index 6baf4af6af..6e540a327d 100644 --- a/lily/item-scheme.cc +++ b/lily/item-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2006 Han-Wen Nienhuys + (c) 2005--2009 Han-Wen Nienhuys */ @@ -21,10 +21,11 @@ LY_DEFINE (ly_item_p, "ly:item?", LY_DEFINE (ly_item_break_dir, "ly:item-break-dir", 1, 0, 0, (SCM it), - "The break status dir of item @var{it}. @code{-1} is end of " - "line, @code{0} unbroken, and @code{1} begin of line.") + "The break status direction of item @var{it}. @code{-1} means" + " end of line, @code{0}@tie{}unbroken, and" + " @code{1}@tie{}beginning of line.") { - Item *me = dynamic_cast (unsmob_grob (it)); - SCM_ASSERT_TYPE (me, it, SCM_ARG1, __FUNCTION__, "Item"); + LY_ASSERT_TYPE (unsmob_item, it, 1); + Item *me = unsmob_item (it); return scm_from_int (me->break_status_dir ()); }