From 0a482a01414e0d8ae6ddb6705f2f9507109c1daa Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 23:56:55 +0000 Subject: [PATCH] lilypond-1.3.94 --- lily/include/axis-group-interface.hh | 2 +- lily/include/hara-kiri-group-spanner.hh | 6 +++--- lily/include/span-bar.hh | 8 ++++---- lily/include/stem-tremolo.hh | 4 ++-- lily/include/stem.hh | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lily/include/axis-group-interface.hh b/lily/include/axis-group-interface.hh index 659905c2d4..258ff65dc4 100644 --- a/lily/include/axis-group-interface.hh +++ b/lily/include/axis-group-interface.hh @@ -28,7 +28,7 @@ */ struct Axis_group_interface { - static Interval group_extent_callback (Score_element *,Axis); + DECLARE_SCHEME_CALLBACK(group_extent_callback, (SCM smob, SCM axis)); static Interval relative_group_extent (Axis, Score_element * common, SCM list); static void add_element (Score_element* me, Score_element*); diff --git a/lily/include/hara-kiri-group-spanner.hh b/lily/include/hara-kiri-group-spanner.hh index 9f42879107..0c3268ea20 100644 --- a/lily/include/hara-kiri-group-spanner.hh +++ b/lily/include/hara-kiri-group-spanner.hh @@ -30,9 +30,9 @@ class Hara_kiri_group_spanner { public: - static Real force_hara_kiri_callback (Score_element * , Axis); - static Interval y_extent (Score_element * , Axis); - static Real force_hara_kiri_in_parent_callback (Score_element * , Axis); + DECLARE_SCHEME_CALLBACK(force_hara_kiri_callback, (SCM ,SCM)); + DECLARE_SCHEME_CALLBACK(y_extent, (SCM smob, SCM axis)); + DECLARE_SCHEME_CALLBACK(force_hara_kiri_in_parent_callback, (SCM ,SCM)); static void add_element (Score_element *me, Score_element *e); static void set_interface (Score_element*me); static bool has_interface (Score_element*); diff --git a/lily/include/span-bar.hh b/lily/include/span-bar.hh index b13a68364f..9b942fada0 100644 --- a/lily/include/span-bar.hh +++ b/lily/include/span-bar.hh @@ -31,10 +31,10 @@ public: static void add_bar (Score_element*,Score_element*); static void evaluate_glyph (Score_element*); static void evaluate_empty (Score_element*); - static Interval width_callback(Score_element *, Axis) ; - static SCM get_bar_size (SCM); - static SCM before_line_breaking (SCM); - static Real center_on_spanned_callback (Score_element*,Axis); + DECLARE_SCHEME_CALLBACK(width_callback, (SCM smob, SCM axis)); + DECLARE_SCHEME_CALLBACK(get_bar_size, (SCM )); + DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM )); + DECLARE_SCHEME_CALLBACK(center_on_spanned_callback, (SCM element, SCM axis)); }; #endif // SPAN_BAR_HH diff --git a/lily/include/stem-tremolo.hh b/lily/include/stem-tremolo.hh index c8c29a678a..81ef981d10 100644 --- a/lily/include/stem-tremolo.hh +++ b/lily/include/stem-tremolo.hh @@ -21,8 +21,8 @@ class Stem_tremolo public: static void set_interface (Score_element*); static bool has_interface (Score_element*); - static Interval dim_callback (Score_element*, Axis); - static SCM brew_molecule (SCM); + DECLARE_SCHEME_CALLBACK(dim_callback, (SCM smob, SCM axis)); + DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); static void set_stem (Score_element*me, Score_element *st); }; diff --git a/lily/include/stem.hh b/lily/include/stem.hh index 8c3e6f7691..55e30a0f5c 100644 --- a/lily/include/stem.hh +++ b/lily/include/stem.hh @@ -39,7 +39,7 @@ class Stem { public: - static SCM brew_molecule (SCM); + DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); /// log of the duration. Eg. 4 -> 16th note -> 2 flags static int flag_i (Score_element*) ; @@ -71,10 +71,10 @@ public: static Real get_default_stem_end_position (Score_element*me) ; static void position_noteheads(Score_element*); static Real stem_end_position (Score_element*) ; - static Real off_callback (Score_element *, Axis); + DECLARE_SCHEME_CALLBACK(off_callback, (SCM element, SCM axis)); static Molecule flag (Score_element*); - static SCM before_line_breaking (SCM); - static Interval dim_callback (Score_element *,Axis); + DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM )); + DECLARE_SCHEME_CALLBACK(dim_callback, (SCM smob, SCM axis)); static bool has_interface (Score_element*); static void set_interface (Score_element*); -- 2.39.5