X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fprob-scheme.cc;h=f54769df4c60410bee29b690e5f20a5d47033c7a;hb=f2a614956b218b9e500020ac45a0c17301968428;hp=0f8c0f6baeb01ab2076a2bb4a721b4aa2cdb6975;hpb=3d8089a42af6304edb8dad56220e845c84832bb2;p=lilypond.git diff --git a/lily/prob-scheme.cc b/lily/prob-scheme.cc index 0f8c0f6bae..f54769df4c 100644 --- a/lily/prob-scheme.cc +++ b/lily/prob-scheme.cc @@ -1,9 +1,20 @@ /* - paper-system-scheme.cc -- implement Prob bindings + 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--2009 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 "prob.hh" @@ -25,7 +36,7 @@ LY_DEFINE (ly_prob_set_property_x, "ly:prob-set-property!", */ LY_DEFINE (ly_prob_property_p, "ly:prob-property?", 2, 1, 0, (SCM obj, SCM sym), - "Is boolean prop @var{sym} set?") + "Is boolean prop @var{sym} of @var{sym} set?") { return scm_equal_p (SCM_BOOL_T, ly_prob_property (obj, sym, SCM_BOOL_F)); } @@ -92,7 +103,7 @@ LY_DEFINE (ly_prob_mutable_properties, "ly:prob-mutable-properties", LY_DEFINE (ly_prob_immutable_properties, "ly:prob-immutable-properties", 1, 0, 0, (SCM prob), - "Retrieve an alist of mutable properties.") + "Retrieve an alist of immutable properties.") { LY_ASSERT_SMOB (Prob, prob, 1); Prob *ps = unsmob_prob (prob);