X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcontext-mod.hh;h=a42ec91433a26d1b807a2191d80ec7c59342e359;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=d384d73a0481d2563700014974912d3817db0e37;hpb=01df8ad908c92687d0c352e5ad5f067e52809423;p=lilypond.git diff --git a/lily/include/context-mod.hh b/lily/include/context-mod.hh index d384d73a04..a42ec91433 100644 --- a/lily/include/context-mod.hh +++ b/lily/include/context-mod.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2010--2012 Reinhold Kainhofer + Copyright (C) 2010--2015 Reinhold Kainhofer LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,8 +34,11 @@ Modifications for an interpretation context as given in the input. */ -struct Context_mod +struct Context_mod : public Simple_smob { + SCM mark_smob (); + int print_smob (SCM, scm_print_state *); + static const char type_p_name_[]; private: SCM mods_; public: @@ -47,10 +50,7 @@ public: Context_mod (); Context_mod (Context_mod const &); Context_mod (SCM mod_list); - DECLARE_SIMPLE_SMOBS (Context_mod); }; -DECLARE_UNSMOB (Context_mod, context_mod); #endif /* CONTEXT_MOD_HH */ -