]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-function.hh
Issue 4421/4: Make music functions callable from Scheme
[lilypond.git] / lily / include / music-function.hh
index aacb646e0de5a7d858eb0a88e392d2e3e3a59606..b0ed99732a6a06abf0f6b03ab44a8c6b09628526 100644 (file)
@@ -31,6 +31,8 @@ public:
   int print_smob (SCM, scm_print_state *);
   SCM get_signature () { return scm1 (); }
   SCM get_function () { return scm2 (); }
+  SCM call (SCM args);
+  LY_DECLARE_SMOB_PROC (&Music_function::call, 0, 0, 1);
 };
 
 #endif /* MUSIC_FUNCTION_HH */