#include "item.hh"
LY_DEFINE (ly_spanner_bound, "ly:spanner-bound",
- 2, 0, 0, (SCM slur, SCM dir),
- "Get one of the bounds of @var{slur}. @var{dir} is @code{-1}"
+ 2, 0, 0, (SCM spanner, SCM dir),
+ "Get one of the bounds of @var{spanner}. @var{dir} is @code{-1}"
" for left, and @code{1} for right.")
{
- LY_ASSERT_TYPE (unsmob_spanner, slur, 1);
- LY_ASSERT_TYPE (is_direction, dir,2);
+ LY_ASSERT_TYPE (unsmob_spanner, spanner, 1);
+ LY_ASSERT_TYPE (is_direction, dir, 2);
- return unsmob_spanner (slur)->get_bound (to_dir (dir))->self_scm ();
+ return unsmob_spanner (spanner)->get_bound (to_dir (dir))->self_scm ();
}
/* TODO: maybe we should return a vector -- random access is more