lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 4527: remove declarations of undefined callbacks (issue 251500043


From: nine . fierce . ballads
Subject: Issue 4527: remove declarations of undefined callbacks (issue 251500043 by address@hidden)
Date: Mon, 27 Jul 2015 14:58:00 +0000

Reviewers: ,

Message:
While working with David's script from this thread:

http://lists.gnu.org/archive/html/lilypond-devel/2015-07/msg00096.html
I noticed that a bunch of callbacks are declared but not defined.

Description:
remove declarations of undefined callbacks

Please review this at https://codereview.appspot.com/251500043/

Affected files (+0, -16 lines):
  M lily/include/align-interface.hh
  M lily/include/axis-group-interface.hh
  M lily/include/beam.hh
  M lily/include/break-align-interface.hh
  M lily/include/breathing-sign.hh
  M lily/include/hara-kiri-group-spanner.hh
  M lily/include/multi-measure-rest.hh
  M lily/include/note-head.hh
  M lily/include/repeated-music.hh
  M lily/include/rest.hh
  M lily/include/side-position-interface.hh
  M lily/include/stem.hh
  M lily/include/tie.hh


Index: lily/include/align-interface.hh
diff --git a/lily/include/align-interface.hh b/lily/include/align-interface.hh index f893b75efd9172279de8b639c0ab5f1e5402cc49..66548410f4b3484a0018d23a9223411514d825a0 100644
--- a/lily/include/align-interface.hh
+++ b/lily/include/align-interface.hh
@@ -29,7 +29,6 @@ class Align_interface
 public:
   DECLARE_SCHEME_CALLBACK (align_to_minimum_distances, (SCM));
   DECLARE_SCHEME_CALLBACK (align_to_ideal_distances, (SCM));
-  DECLARE_SCHEME_CALLBACK (full_score_pure_minimum_translations, (SCM));
   static void align_elements_to_minimum_distances (Grob *, Axis a);
   static void align_elements_to_ideal_distances (Grob *);
static vector<Real> get_minimum_translations (Grob *, vector<Grob *> const &, Axis a);
Index: lily/include/axis-group-interface.hh
diff --git a/lily/include/axis-group-interface.hh b/lily/include/axis-group-interface.hh index cd16c1e95f0bacd84bd26ff60ad126ab199597ce..1987d9289bb0b3239184bcd9c95bdbd39508e3dc 100644
--- a/lily/include/axis-group-interface.hh
+++ b/lily/include/axis-group-interface.hh
@@ -46,8 +46,6 @@ class Axis_group_interface
   DECLARE_SCHEME_CALLBACK (calc_staff_staff_spacing, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_pure_staff_staff_spacing, (SCM, SCM, SCM));
   DECLARE_SCHEME_CALLBACK (calc_pure_relevant_grobs, (SCM));
-  DECLARE_SCHEME_CALLBACK (calc_pure_relevant_items, (SCM));
-  DECLARE_SCHEME_CALLBACK (calc_pure_relevant_spanners, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_pure_y_common, (SCM));
   static SCM internal_calc_pure_relevant_grobs (Grob *, const string&);
   static Interval relative_group_extent (vector<Grob *> const &list,
Index: lily/include/beam.hh
diff --git a/lily/include/beam.hh b/lily/include/beam.hh
index a1b651a357c787fe98d466e1c02c0fa4145d0d8e..afa3a805ab71ca1a82e64516aeb83fbf464ba80f 100644
--- a/lily/include/beam.hh
+++ b/lily/include/beam.hh
@@ -75,7 +75,6 @@ public:
   DECLARE_SCHEME_CALLBACK (calc_beaming, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_stem_shorten, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
-  DECLARE_SCHEME_CALLBACK (calc_positions, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_normal_stems, (SCM));
   DECLARE_SCHEME_CALLBACK (set_stem_lengths, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM));
Index: lily/include/break-align-interface.hh
diff --git a/lily/include/break-align-interface.hh b/lily/include/break-align-interface.hh index 55c1e34f970f3a5b776fdf90afbd76795f2376dd..5eba16efeece5218d6a5d016adc64d871311ad3f 100644
--- a/lily/include/break-align-interface.hh
+++ b/lily/include/break-align-interface.hh
@@ -31,7 +31,6 @@ public:
   static void add_element (Grob *me, Grob *add);
   static SCM break_align_order (Item *me);
   DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM element));
-  DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element));
 };

 struct Break_aligned_interface
Index: lily/include/breathing-sign.hh
diff --git a/lily/include/breathing-sign.hh b/lily/include/breathing-sign.hh
index c140bfd1b42a7df0d5014fd0e831908fb87f42bf..5718bf24733570f53b415e79098f83cfa47fd7a0 100644
--- a/lily/include/breathing-sign.hh
+++ b/lily/include/breathing-sign.hh
@@ -21,8 +21,6 @@ class Grob;
 class Breathing_sign
 {
 public:
-  DECLARE_SCHEME_CALLBACK (print, (SCM));
-  DECLARE_SCHEME_CALLBACK (railtracks, (SCM));
   DECLARE_SCHEME_CALLBACK (divisio_minima, (SCM));
   DECLARE_SCHEME_CALLBACK (divisio_maior, (SCM));
   DECLARE_SCHEME_CALLBACK (divisio_maxima, (SCM));
Index: lily/include/hara-kiri-group-spanner.hh
diff --git a/lily/include/hara-kiri-group-spanner.hh b/lily/include/hara-kiri-group-spanner.hh index 41d0c52496d96a1bd5fb7a54ae39d47215691d40..b8ccba5beed63ec346634eea4ecafce578245715 100644
--- a/lily/include/hara-kiri-group-spanner.hh
+++ b/lily/include/hara-kiri-group-spanner.hh
@@ -31,7 +31,6 @@ public:
   DECLARE_SCHEME_CALLBACK (calc_skylines, (SCM smob));
   DECLARE_SCHEME_CALLBACK (pure_height, (SCM smob, SCM start, SCM end));
   DECLARE_SCHEME_CALLBACK (force_hara_kiri_in_y_parent_callback, (SCM));
-  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
   DECLARE_GROB_INTERFACE ();
   static bool request_suicide (Grob *me, int start, int end);
   static bool request_suicide_alone (Grob *me, int start, int end);
Index: lily/include/multi-measure-rest.hh
diff --git a/lily/include/multi-measure-rest.hh b/lily/include/multi-measure-rest.hh index 0c4dd88b6f3b1be1b8bdf2ce4dc5fd3537b85312..bf3c7083a77e1d1b96d4b765ee47a35adc348877 100644
--- a/lily/include/multi-measure-rest.hh
+++ b/lily/include/multi-measure-rest.hh
@@ -33,7 +33,6 @@ public:
   static void add_column (Grob *, Item *);
   DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
   DECLARE_SCHEME_CALLBACK (set_text_rods, (SCM));
-  DECLARE_SCHEME_CALLBACK (centered_stencil, (SCM));

   static void calculate_spacing_rods (Grob *me, Real length);
   static Stencil big_rest (Grob *, Real);
Index: lily/include/note-head.hh
diff --git a/lily/include/note-head.hh b/lily/include/note-head.hh
index 451bdb9f8d65adbf33469cea7a7b79d18ca75449..d14fbcfe775e2a86f813f9f8d2af99ec4570e3aa 100644
--- a/lily/include/note-head.hh
+++ b/lily/include/note-head.hh
@@ -27,7 +27,6 @@ class Note_head
 {
 public:
   DECLARE_SCHEME_CALLBACK (print, (SCM));
-  DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
   DECLARE_SCHEME_CALLBACK (stem_x_shift, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_stem_attachment, (SCM));
   DECLARE_SCHEME_CALLBACK (include_ledger_line_height, (SCM));
Index: lily/include/repeated-music.hh
diff --git a/lily/include/repeated-music.hh b/lily/include/repeated-music.hh
index e0e7cdf3769c54d070310610740cff6693947508..a346f6a388c7150d22e4872f9274fe0f8af59c7d 100644
--- a/lily/include/repeated-music.hh
+++ b/lily/include/repeated-music.hh
@@ -62,7 +62,6 @@ public:

   /* How often do we repeat? */
   static int repeat_count (Music *);
-  DECLARE_SCHEME_CALLBACK (relative_callback, (SCM, SCM));

   static Moment body_get_length (Music *);
   static Moment alternatives_get_length (Music *, bool fold);
Index: lily/include/rest.hh
diff --git a/lily/include/rest.hh b/lily/include/rest.hh
index d8ddde60f36337aac0de6bc244b7a8e6181a7762..548e031e557e8171b4fe3e91e17b5c72cd4e930e 100644
--- a/lily/include/rest.hh
+++ b/lily/include/rest.hh
@@ -36,7 +36,6 @@ public:
   static SCM brew_internal_stencil (Grob *, bool);
   static SCM generic_extent_callback (Grob *, Axis);
   static void translate (Grob *me, int dy);
-  DECLARE_SCHEME_CALLBACK (polyphonic_offset_callback, (SCM));
   DECLARE_SCHEME_CALLBACK (print, (SCM));
   DECLARE_SCHEME_CALLBACK (width, (SCM));
   DECLARE_SCHEME_CALLBACK (height, (SCM));
Index: lily/include/side-position-interface.hh
diff --git a/lily/include/side-position-interface.hh b/lily/include/side-position-interface.hh index ac0e2c7c0f785ef9c7c15f1a0fbb2430b5654e43..c98189f0875bb09976e25e4d3de43a36791dde3f 100644
--- a/lily/include/side-position-interface.hh
+++ b/lily/include/side-position-interface.hh
@@ -32,8 +32,6 @@ struct Side_position_interface
 {
 public:

-  DECLARE_SCHEME_CALLBACK (y_aligned_on_support_refpoints, (SCM element));
- DECLARE_SCHEME_CALLBACK (pure_y_aligned_on_support_refpoints, (SCM element, SCM start, SCM end));
   DECLARE_SCHEME_CALLBACK (x_aligned_side, (SCM element, SCM current));
   DECLARE_SCHEME_CALLBACK (y_aligned_side, (SCM element, SCM current));
DECLARE_SCHEME_CALLBACK (pure_y_aligned_side, (SCM element, SCM start, SCM end, SCM current));
Index: lily/include/stem.hh
diff --git a/lily/include/stem.hh b/lily/include/stem.hh
index 23ece790d2cb5913c852db6ffecf023488f4b683..0aeb83ee6aa88e2356bc77c443c8d795ba5be589 100644
--- a/lily/include/stem.hh
+++ b/lily/include/stem.hh
@@ -66,7 +66,6 @@ public:
   DECLARE_SCHEME_CALLBACK (calc_default_direction, (SCM));
   DECLARE_SCHEME_CALLBACK (offset_callback, (SCM element));
   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
-  DECLARE_SCHEME_CALLBACK (calc_beaming, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_length, (SCM));
   DECLARE_SCHEME_CALLBACK (pure_calc_length, (SCM, SCM, SCM));
   DECLARE_SCHEME_CALLBACK (calc_stem_begin_position, (SCM));
Index: lily/include/tie.hh
diff --git a/lily/include/tie.hh b/lily/include/tie.hh
index 162637e514d40579cda173d06c7a23fd04491371..186c0a4d386dc7f27a33156c3296ebf54528f351 100644
--- a/lily/include/tie.hh
+++ b/lily/include/tie.hh
@@ -38,7 +38,6 @@ public:
                                  Tie_details const &);
   static SCM get_default_control_points (Spanner *);
   DECLARE_SCHEME_CALLBACK (print, (SCM));
-  DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM));
   static bool less (Grob *s1, Grob *s2);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]