/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2009 Jan Nieuwenhuizen <janneke@gnu.org>
+ Copyright (C) 2004--2011 Jan Nieuwenhuizen <janneke@gnu.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
scm_call_3 (proc,
performances (),
output_channel,
- scm_long2num (*first_performance_number));
+ scm_from_long (*first_performance_number));
*first_performance_number += scm_ilength (performances_);
}
if (scores_ == SCM_EOL)
return 0;
paper_->set_variable (ly_symbol2scm ("first-page-number"),
- scm_long2num (*first_page_number));
+ scm_from_long (*first_page_number));
paper_->set_variable (ly_symbol2scm ("is-last-bookpart"),
ly_bool2scm (is_last));
/* Generate all stencils to trigger font loads. */
scm_call_3 (proc,
performances (),
output,
- scm_long2num (*first_performance_number));
+ scm_from_long (*first_performance_number));
*first_performance_number += scm_ilength (performances_);
}