]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/misc.hh
* lily/staff-symbol-engraver.cc (acknowledge_grob): remove item ->
[lilypond.git] / lily / include / misc.hh
index d45eabe840e958dfd34685f0b08835fc08f9fdb2..811858e4bbaedf577f28ac02bc9bcce1481ea129 100644 (file)
@@ -7,34 +7,20 @@
 #include "array.hh"
 #include "interval.hh"
 
-double log_2(double x) ;
-int intlog2(int d);
+double log_2 (double x) ;
+int intlog2 (int d);
 
-#if 0
-                               // defined in real.hh
 inline int
-abs (int i){
-    return (i < 0)?-i:i;
+sign (int i)
+{
+  if (i<0)
+    return -1;
+  else if (i)
+    return 1;
+  else return 0;
 }
-#endif
 
-inline int
-sign (int i) {
-    if (i<0) return -1;
-    else if (i) return 1;
-    else return 0;
-}
-
-#ifndef STANDALONE
-#include "lily-proto.hh"
-Interval itemlist_width (const Link_array<Item> &its);
-#endif
 
-void set_frobnify (void*, size_t);
-int get_lower_bound (Array<Real> const& positions, Real x);
-Slice get_bounds_slice (Array<Real> const& positions, Real x);
-Interval get_bounds_iv (Array<Real> const& positions, Real x);
-Interval quantise_iv (Array<Real> const& positions, Real period, Real x);
 
 #endif