X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fsimple-closure.cc;h=48d2dab57b39d7da2d466cc45ee85c262cfd43ae;hb=f84c6604cf9b8bdc53b0f0367e20ce2fa13a0f19;hp=737bb3965be6e09ef6f9b09a2938bb582834c0eb;hpb=a200088f8b69a03e02c466feb7ed45722cd6a2f7;p=lilypond.git diff --git a/lily/simple-closure.cc b/lily/simple-closure.cc index 737bb3965b..48d2dab57b 100644 --- a/lily/simple-closure.cc +++ b/lily/simple-closure.cc @@ -1,10 +1,21 @@ /* - closure.cc -- chained closures. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2010 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 "simple-closure.hh" @@ -84,8 +95,8 @@ evaluate_with_simple_closure (SCM delayed_argument, } LY_DEFINE (ly_simple_closure_p, "ly:simple-closure?", - 1,0,0, (SCM clos), - "Type predicate.") + 1, 0, 0, (SCM clos), + "Is @var{clos} a simple closure?") { return scm_from_bool (is_simple_closure (clos)); } @@ -93,7 +104,7 @@ LY_DEFINE (ly_simple_closure_p, "ly:simple-closure?", LY_DEFINE (ly_make_simple_closure, "ly:make-simple-closure", 1, 0, 0, (SCM expr), "Make a simple closure. @var{expr} should be form of" - " @code{(@var{func} @var{a1} @var{A2} @dots{})}, and will be" + " @code{(@var{func} @var{a1} @var{a2} @dots{})}, and will be" " invoked as @code{(@var{func} @var{delayed-arg} @var{a1}" " @var{a2} @dots{})}.") {