[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?
From: |
Han-Wen Nienhuys |
Subject: |
Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme? |
Date: |
Wed, 20 Feb 2008 03:10:02 -0300 |
2008/2/19, Nicolas Sceaux <address@hidden>:
> +LY_DEFINE (ly_score_set_header_x, "ly:score-set-header!",
> + 2, 0, 0, (SCM score, SCM module),
> + "Set the score header.")
> +{
> + LY_ASSERT_SMOB (Score, score, 1);
> + SCM_ASSERT_TYPE (ly_is_module (module), module, SCM_ARG2,
> __FUNCTION__,
> + "module");
> +
> + Score *sc = unsmob_score (score);
> + return sc->get_header ();
> }
>
>
> Shoudn't ly:score-set-header! actually set the header, rather than
> returning it?
ah yes, a cut & paste error.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Reinhold Kainhofer, 2008/02/13
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Han-Wen Nienhuys, 2008/02/18
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Reinhold Kainhofer, 2008/02/19
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Han-Wen Nienhuys, 2008/02/20
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Nicolas Sceaux, 2008/02/20
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Reinhold Kainhofer, 2008/02/21
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Han-Wen Nienhuys, 2008/02/23
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Reinhold Kainhofer, 2008/02/23
- Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?, Han-Wen Nienhuys, 2008/02/24