X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fcontext-scheme.cc;h=f58a793ed4ef805fcbcf4cd47435e88de47edf82;hb=a02cfaa060e2c5b0d21236016ee5328d21c2f8cb;hp=4f3818ecd8a3cf87841fd7d9bccb4c34e7ca3759;hpb=caac677710724849651381d11577f61dd9618bcf;p=lilypond.git diff --git a/lily/context-scheme.cc b/lily/context-scheme.cc index 4f3818ecd8..f58a793ed4 100644 --- a/lily/context-scheme.cc +++ b/lily/context-scheme.cc @@ -211,15 +211,3 @@ LY_DEFINE (ly_context_events_below, "ly:context-events-below", Context *ctx = unsmob_context (context); return ctx->events_below ()->self_scm (); } - -LY_DEFINE (ly_make_event_class, "ly:make-event-class", - 2, 0, 0, (SCM context, SCM type), - "Make an event class (a list of types) from the given @var{type}" - " within the global context containing @var{context}.") -{ - LY_ASSERT_SMOB (Context, context, 1); - LY_ASSERT_TYPE (ly_is_symbol, type, 2); - - Context *ctx = unsmob_context (context); - return ctx->make_event_class (type); -}