]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/axis-group-interface-scheme.cc
Adapt doc to reflect fix for #647.
[lilypond.git] / lily / axis-group-interface-scheme.cc
index d0470b5a75c1ffad648d8ba1f8d6865d787540ea..45236e6ca5a889efa7e05267315c99be7a4ff53f 100644 (file)
 
 LY_DEFINE (ly_relative_group_extent, "ly:relative-group-extent",
           3, 0, 0, (SCM elements, SCM common, SCM axis),
-          "Determine the extent of @var{elements} relative to @var{common} in the "
-          "@var{axis} direction.")
+          "Determine the extent of @var{elements} relative to @var{common} in the"
+          " @var{axis} direction.")
 {
   Grob_array *ga = unsmob_grob_array (elements);
 
   SCM_ASSERT_TYPE (ga || scm_is_pair (elements), elements, SCM_ARG1, __FUNCTION__, "list or Grob_array");
-  SCM_ASSERT_TYPE (unsmob_grob (common), common, SCM_ARG2, __FUNCTION__, "grob");
-  SCM_ASSERT_TYPE (is_axis (axis), axis, SCM_ARG3, __FUNCTION__, "axis");
+  LY_ASSERT_SMOB (Grob, common, 2);
+  LY_ASSERT_TYPE (is_axis, axis, 3);
 
   vector<Grob*> elts;
   if (!ga)