/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
Global_context *g = dynamic_cast<Global_context *> (Context::unsmob (context));
- LY_ASSERT_TYPE (Global_context::unsmob, context, 1);
+ LY_ASSERT_SMOB (Global_context, context, 1);
SCM output = g->get_output ();
progress_indication ("\n");
" @var{global}. The translator group is returned.")
{
Global_context *g = dynamic_cast<Global_context *> (Context::unsmob (global));
- LY_ASSERT_TYPE (Global_context::unsmob, global, 1);
+ LY_ASSERT_SMOB (Global_context, global, 1);
Translator_group *tg = new Translator_group ();
tg->connect_to_context (g);
" @var{ctx}. The context is returned in its final state.")
{
LY_ASSERT_SMOB (Music, mus, 1);
- LY_ASSERT_TYPE (Global_context::unsmob, ctx, 2);
+ LY_ASSERT_SMOB (Global_context, ctx, 2);
Music *music = Music::unsmob (mus);
if (!music)