2005-10-21 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/include/lily-guile.hh (GUILE_ELLIPSIS): define to get clean
+ compile on MOSX
+
+ * python/convertrules.py (conv): add rules.
+
* lily/grob.cc: remove is_empty()
* lily/grob-property.cc: remove add_to_list_property().
if the appropriate @code{spring-and-rods} callback is set.
@lilypond[relative=2,fragment,raggedright]
-\override MultiMeasureRestText #'callbacks #'springs-and-rods
+\override MultiMeasureRestText #'springs-and-rods
= #Multi_measure_rest::set_text_rods
c1 R1 R1^"Very long long long text"
@end lilypond
#include <libguile.h>
+
+/*
+ Hack for various MacOS incarnations.
+ */
+#ifndef GUILE_ELLIPSIS
+#define GUILE_ELLIPSIS
+#endif
+
+
#include "guile-compatibility.hh"
#include "interval.hh"
#include "lily-guile-macros.hh"
void add_scm_init_func (void (*) ());
extern "C" {
- typedef SCM (*Scheme_function_unknown) ();
+ typedef SCM (*Scheme_function_unknown) (GUILE_ELLIPSIS);
}
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 96
typedef SCM (*Scheme_function_2) (SCM, SCM);
typedef SCM (*Scheme_function_3) (SCM, SCM, SCM);
#else
-typedef SCM (*Scheme_function_0) (...);
-typedef SCM (*Scheme_function_1) (...);
-typedef SCM (*Scheme_function_2) (...);
-typedef SCM (*Scheme_function_3) (...);
+typedef SCM (*Scheme_function_0) (GUILE_ELLIPSIS);
+typedef SCM (*Scheme_function_1) (GUILE_ELLIPSIS);
+typedef SCM (*Scheme_function_2) (GUILE_ELLIPSIS);
+typedef SCM (*Scheme_function_3) (GUILE_ELLIPSIS);
#endif
#define scm_cdr ly_cdr
SCM ly_use_module (SCM mod, SCM used);
/* Ugh signature of scm_internal_hash_fold () is inaccurate. */
-typedef SCM (*Hash_closure_function) ();
+typedef SCM (*Hash_closure_function) (GUILE_ELLIPSIS);
#define MODULE_GC_KLUDGE