/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2011 Joe Neeman <joeneeman@gmail.com>
+ Copyright (C) 2011--2015 Joe Neeman <joeneeman@gmail.com>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "page-layout-problem.hh"
LY_DEFINE (ly_get_spacing_spec, "ly:get-spacing-spec", 2, 0, 0,
- (SCM from_scm, SCM to_scm),
- "Return the spacing spec going between the two given grobs,"
+ (SCM from_scm, SCM to_scm),
+ "Return the spacing spec going between the two given grobs,"
" @var{from_scm} and @var{to_scm}.")
{
LY_ASSERT_SMOB (Grob, from_scm, 1);
LY_ASSERT_SMOB (Grob, to_scm, 2);
- Grob *from = unsmob_grob (from_scm);
- Grob *to = unsmob_grob (to_scm);
+ Grob *from = unsmob<Grob> (from_scm);
+ Grob *to = unsmob<Grob> (to_scm);
return Page_layout_problem::get_spacing_spec (from, to, false, 0, 0);
}