]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.13
authorfred <fred>
Wed, 11 Dec 1996 23:06:42 +0000 (23:06 +0000)
committerfred <fred>
Wed, 11 Dec 1996 23:06:42 +0000 (23:06 +0000)
flower/Sources.make
flower/textstr.hh
flower/vray.hh

index 044543beee9723e6ef6a157b3de9a9c23995b85c..c7efa127f99c416557580a90612034eaa6eec719 100644 (file)
@@ -10,5 +10,5 @@ hh=cursor.hh pcursor.hh lgetopt.hh link.hh list.hh dstream.hh \
        findcurs.hh unionfind.hh compare.hh handle.hh matrix.hh\
        smat.hh vsmat.hh  vector.hh  real.hh choleski.hh\
        tsmat.hh tvsmat.hh plist.hh associter.hh fproto.hh\
-       interval.hh scalar.hh
+       interval.hh scalar.hh sstack.hh
 
index c64a989c3ce501a5219cab18734184e44669701c..63369ac2584e2efffc3aab5bb5d6eb1415d5323d 100644 (file)
@@ -3,10 +3,8 @@
 
 #include <stdio.h>
 #include <ctype.h>
-
-//#include "globals.hh"
 #include "string.hh"
-#include "vray.hh"
+#include "sstack.hh"
 
 /// line counting input stream.
 class Text_stream
index ab6255109b66260c7e50e474851cc253f20ec94a..302499b2561616b85ca7464be203f9f6dff55acd 100644 (file)
@@ -156,21 +156,4 @@ public:
 
   */
 
-/// A simple stack based on svec.
-template<class T>
-class sstack : svec<T> {
- public:
-    T top() { return last(); }
-    T pop() {
-       assert(!empty());
-       T l = last();
-        svec<T>::pop();
-       return l;
-    }
-    void push(T l) { add(l); }
-    bool empty() { return svec<T>::empty(); } 
-};
-/**
-  Same as for #svec# goes here.
-*/
 #endif