]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
*** empty log message ***
[lilypond.git] / flower / axis.cc
index ab80403e025c403c65e59af5e382e5311cc3fe27..3cd973d58920c7646571a559e0a65adb4b77e6cf 100644 (file)
@@ -3,35 +3,15 @@
 
 
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include <assert.h>
 #include "axes.hh"
 
-String
-axis_name_str (Axis a)
-{
-  return to_str (char(a + 'x'));
-}
+#include "string.hh"
 
-/*
-  TODO inline these.
- */
-Axis
-post_incr(Axis &a)
-{
-  assert(a < NO_AXES);
-  Axis b= a;
-  a = Axis(int(a) + 1);
-  return b;
-}
-
-Axis
-incr(Axis &a)
+String
+axis_name_string (Axis a)
 {
-  assert(a < NO_AXES);
-  a = Axis(int(a) + 1);
-  return a;
+  return to_string (char (a + 'x'));
 }
-