]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lily-guile.hh
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / lily / include / lily-guile.hh
index 621849edc6a01344922a1f270e858581d7419df2..6aa25f828a90ec8a3d980b3a7e89fa7b975c01c6 100644 (file)
@@ -45,6 +45,8 @@ string gulp_file_to_string (string fn, bool must_exist, int size);
 
 string ly_scm2string (SCM s);
 string ly_symbol2string (SCM);
+Rational ly_scm2rational (SCM);
+SCM ly_rational2scm (Rational);
 SCM ly_offset2scm (Offset);
 Offset ly_scm2offset (SCM);
 SCM ly_chain_assoc (SCM key, SCM achain);
@@ -169,6 +171,10 @@ typedef SCM (*Scheme_function_2) (GUILE_ELLIPSIS);
 typedef SCM (*Scheme_function_3) (GUILE_ELLIPSIS);
 #endif
 
+
+/*
+  Inline these for performance reasons.
+ */
 #define scm_cdr ly_cdr
 #define scm_car ly_car