]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rhythmic-head.cc
* lily/include/lily-guile.hh: many new ly_ functions. Thanks to
[lilypond.git] / lily / rhythmic-head.cc
index 02ed3bd664bf15f27611cdd833aebf537d7f29a5..71f91ae36b9397ab35ef41ef5e848a5e4aaea415 100644 (file)
@@ -32,7 +32,7 @@ int
 Rhythmic_head::dot_count (Grob*me) 
 {
   return get_dots (me)
-    ? gh_scm2int (get_dots (me)->get_property ("dot-count")) : 0;
+    ? ly_scm2int (get_dots (me)->get_property ("dot-count")) : 0;
 }
 
 void
@@ -45,7 +45,7 @@ int
 Rhythmic_head::duration_log (Grob*me) 
 {
   SCM s = me->get_property ("duration-log");
-  return gh_number_p (s) ? gh_scm2int (s) : 0;
+  return ly_number_p (s) ? ly_scm2int (s) : 0;
 }
 
 ADD_INTERFACE (Rhythmic_head,"rhythmic-head-interface",