/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--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
void
Global_context::prepare (SCM sev)
{
- Stream_event *ev = unsmob_stream_event (sev);
+ Stream_event *ev = Stream_event::unsmob (sev);
Moment *mom = Moment::unsmob (ev->get_property ("moment"));
assert (mom);
else
return Context::get_default_interpreter ();
}
-
-Global_context *
-unsmob_global_context (SCM x)
-{
- return dynamic_cast<Global_context *> (Context::unsmob (x));
-}