]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/moment.cc
patch::: 1.3.96.jcn9
[lilypond.git] / lily / moment.cc
index b2f588e4af7f790216a44a5cb6559ee6b3a92cb8..ff21fb5ebffbf6f5a3a9befe24a4da8bdcc6c41c 100644 (file)
@@ -15,7 +15,7 @@
 
 IMPLEMENT_UNSMOB(Moment,moment);
 IMPLEMENT_SIMPLE_SMOBS(Moment);
-
+IMPLEMENT_TYPE_P (Moment, "moment?");
 
 SCM
 Moment::mark_smob (SCM)
@@ -66,7 +66,8 @@ make_rational (SCM n, SCM d)
 void
 init_moments ()
 {
-  scm_make_gsubr ("make-moment", 2 , 0, 0,  (SCM(*)()) make_rational);
+  scm_make_gsubr ("make-moment", 2 , 0, 0, (Scheme_function_unknown) make_rational);
+  scm_make_gsubr ("make-moment", 2 , 0, 0, (Scheme_function_unknown) make_rational);  
 }
 
 ADD_SCM_INIT_FUNC(moms,init_moments);