X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fitem-scheme.cc;h=c316ac311e35eff0b35ec3e26695ce191adfd7cf;hb=6d209bd29394fe068438f602d50b8257b6f766ef;hp=2d561fbc060a3d9b0f69fd5faa684d5ebf5ffc2b;hpb=92e8f758e29427d28c413d1998c895b9c61932fd;p=lilypond.git diff --git a/lily/item-scheme.cc b/lily/item-scheme.cc index 2d561fbc06..c316ac311e 100644 --- a/lily/item-scheme.cc +++ b/lily/item-scheme.cc @@ -1,18 +1,28 @@ /* - item-scheme.cc -- implement Item bindings. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2012 Han-Wen Nienhuys - (c) 2005--2007 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "item.hh" - LY_DEFINE (ly_item_p, "ly:item?", - 1, 0, 0, (SCM g), - "Is @var{g} an @code{Item} object?") + 1, 0, 0, (SCM g), + "Is @var{g} an @code{Item} object?") { Grob *me = unsmob_grob (g); bool b = dynamic_cast (me); @@ -20,10 +30,10 @@ 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 direction of item @var{it}. @code{-1} means" - " end of line, @code{0}@tie{}unbroken, and" - " @code{1}@tie{}beginning of line.") + 1, 0, 0, (SCM it), + "The break status direction of item @var{it}. @w{@code{-1}} means" + " end of line, @code{0}@tie{}unbroken, and" + " @code{1}@tie{}beginning of line.") { LY_ASSERT_TYPE (unsmob_item, it, 1); Item *me = unsmob_item (it);