-pl 39
+pl 39.mb2
+ - added more mensural style time signatures, old3/4, old6/8, old9/8
+ - redesigned old6/4, old9/4
+ - Updated refman.yo, lilypond-regtest.doc, clefs.ly, time.fly
+
+pl 39.hwn1
+ - consified mi2mu (pl 37.jcn1)
+
+pl 39.mb1
+ - bf: invisible clefs don't take any space, moved _8 below clef
+ - updated incipit example and macro
+
+pl 39.uu1
+ - delete graphical objects in reverse
+ - faq updates.
+
+********
+pl 39 (april 12)
- \property textstyle -> textStyle
pl 38.tca1
return Tarray;
}
+ T const *access_array () const
+ {
+ return array_p_;
+ }
void operator=(Array const & src)
{
set_size (src.size_);
public:
Link_array()
{}
+
+ Link_array(T * const *tp, int n)
+ : Array<void*> ((void **)tp, n)
+ {
+ }
+
Link_array (Link_array<T> const &src)
: Array<void*> (src)
{
Array<void*>::empty;
Array<void*>::reverse;
Array<void*>::tighten_maxsize;
+ T ** access_array () const
+ {
+ return (T**) Array<void*>::access_array();
+ }
T * get (int i)
{
return (T*) Array<void*>::get (i);
sort (compare, last+1, upper);
}
+template<class T>
+void
+junk_pointer_array (Link_array<T> &a)
+{
+ for (int i=0; i < a.size (); i++)
+ {
+ delete a[i];
+ }
+ a.clear ();
+}
+
#endif // PARRAY_HH
Rhythmic_grouping::junk()
{
delete interval_;
- for (int i=0; i < children.size(); i++)
- delete children[i];
+ junk_pointer_array (children);
init();
}
Score::~Score()
{
delete header_p_;
- for (int i=0; i < def_p_arr_.size (); i++)
- delete def_p_arr_[i];
+ junk_pointer_array (def_p_arr_);
delete music_p_;
}
void
clear_scores ()
{
- for (int i=0; i < score_global_array.size(); i++)
- {
- delete score_global_array[i];
- }
- score_global_array.clear();
+ junk_pointer_array (score_global_array);
+
inclusion_global_array.clear ();
delete header_global_p ;
header_global_p =0;