2008/2/19, Nicolas Sceaux <[EMAIL PROTECTED]>:
> +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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user