]> git.donarmstrong.com Git - lilypond.git/commitdiff
(GUILE_ELLIPSIS): define to get clean
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 21 Oct 2005 15:21:53 +0000 (15:21 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 21 Oct 2005 15:21:53 +0000 (15:21 +0000)
compile on MOSX

ChangeLog
Documentation/topdocs/NEWS.tely
input/test/boxed-stencil.ly
lily/include/lily-guile.hh
lily/include/ly-module.hh

index 1577a55b8cf9c90a9e4734458d3e52c6df2db886..f7962d78f2732c8b486a4be6e0bac81dff29ff37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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().
index b8fb79aea9cfe621f5c2fb4f7500b7cbcd1d7e6c..b98793315979814179dfa677ba585ccff21cec20 100644 (file)
@@ -188,7 +188,7 @@ Texts over multi measure rests can stretch the corresponding measure,
 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
index 415853155dd135d6edbbb86b3517c00d1c16426d..6ff226d390038ae0006cd882e25c100326f92cbc 100644 (file)
@@ -21,7 +21,7 @@ grob. " }
   \override Score.RehearsalMark  #'stencil =
   #(make-stencil-boxer 0.15 0.3 Text_interface::print)
   b8
-  \revert Stem  % stencil
+  \revert Stem #'stencil
 
 
   c4. c4 \mark "F" c1 
index ad01de36948d566777400d0293501ad10a6d232f..920f9968b90344b92f2f7fa74750f2836d0afd4d 100644 (file)
 
 #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"
@@ -145,7 +154,7 @@ SCM ly_kpathsea_find_file (SCM);
 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
@@ -154,10 +163,10 @@ typedef SCM (*Scheme_function_1) (SCM);
 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
index c7c16ee7c5116491569d8fc88cdf8a1dd4d2f1bb..17b5e804c19fe57848af59bc46b99ae99e965729 100644 (file)
@@ -23,7 +23,7 @@ void clear_anonymous_modules ();
 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