Engraver_group *get_daddy_engraver () const;
public:
+ using Translator::trampoline;
template <class T, void (T::*callback)(Grob_info)>
- static SCM ack_trampoline (SCM target, SCM grob, SCM source_engraver)
+ static SCM trampoline (SCM target, SCM grob, SCM source_engraver)
{
T *t = LY_ASSERT_SMOB (T, target, 1);
Grob *g = LY_ASSERT_SMOB (Grob, grob, 2);
{ \
return Callback_wrapper::make_smob<trampoline<NAME, mf> > (); \
} \
- template <void (NAME::*callback)(Grob_info)> \
+ template <void (NAME::*mf)(Grob_info)> \
static SCM method_finder () { \
- return Callback2_wrapper::make_smob<ack_trampoline <NAME, callback> > (); \
+ return Callback2_wrapper::make_smob<trampoline <NAME, mf> > (); \
} \
/* end #define */
static SCM
method_finder () { return SCM_UNDEFINED; }
- // Overriden in Engraver. Don't instantiate.
- template <class T, void (T::*)(Grob_info)>
- static SCM ack_trampoline (SCM, SCM, SCM);
-
virtual void derived_mark () const;
static SCM event_class_symbol (const char *ev_class);
SCM static_translator_description (const char *grobs,