]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.63
authorfred <fred>
Sun, 24 Mar 2002 19:40:36 +0000 (19:40 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:40:36 +0000 (19:40 +0000)
flower/include/parray.hh
lily/include/local-key-reg.hh

index ed120740558fa0cd1ceda63bb8ecfa24cabae87e..e003d462231a1808b6b2327c76aa63ad317449d3 100644 (file)
 
 #include "varray.hh"
 
+/**
+  an array of pointers.
+
+  TODO
+  should init to 0.
+ */
 template<class T>
-class Pointer_array : public Array<T>
+class Link_array : public Array<T>
 {
 public:
     int find_i (T t) const{
@@ -31,4 +37,5 @@ public:
            return 0;
     }
 };
+
 #endif // PARRAY_HH
index 4921bd03aaf7f5083cee4b6c6e825c331364708f..19e11b9d4e5872e898aee9bd99be0ddd3c1ba238 100644 (file)
@@ -7,6 +7,7 @@
 
 #ifndef LOCALKEYREG_HH
 #define LOCALKEYREG_HH
+
 #include "register.hh"
 #include "key.hh"
 #include "parray.hh"
@@ -16,8 +17,8 @@ struct Local_key_register : Request_register {
     Key const *key_C_;
     Array<Note_req* > mel_l_arr_;
     Array<Item* > support_l_arr_;
-    Pointer_array<Item * > forced_l_arr_;
-    Pointer_array<Item *> tied_l_arr_;
+    Link_array<Item * > forced_l_arr_;
+    Link_array<Item *> tied_l_arr_;
     /* *************** */
     virtual void process_requests();
     virtual void acknowledge_element(Staff_elem_info);