SCM_I_CONSP
* lily/include/lily-guile.hh: inline scm_c[ad]r, scm_is_pair.
2005-07-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * flower/include/guile-compatibility.hh (SCM_I_CONSP): add
+ SCM_I_CONSP
+
* Documentation/user/invoking.itely (Invoking lilypond): add
LILYPOND_GC_YIELD documentation.
abort ();
return SCM_CAR (x);
}
+#define SCM_I_CONSP(x) SCM_CONSP(x)
inline SCM scm_caar (SCM x) { return SCM_CAAR (x); }
inline SCM scm_cdar (SCM x) { return SCM_CDAR (x); }
inline SCM scm_cadr (SCM x) { return SCM_CADR (x); }
create_items ();
// guh.
text_->set_property
- ("text", scm_makfrom0str (to_string (scm_to_int (bn)).to_str0 ()));
+ ("text", scm_number_to_string (bn, scm_from_int (10)));
}
}
}
#define scm_cdr ly_cdr
#define scm_car ly_car
+
+#ifndef scm_is_pair
#define scm_is_pair ly_is_pair
+#endif
inline SCM ly_car (SCM x) { return SCM_CAR (x); }
inline SCM ly_cdr (SCM x) { return SCM_CDR (x); }