]> git.donarmstrong.com Git - lilypond.git/blob - flower/test/main.cc
release: 0.1.44
[lilypond.git] / flower / test / main.cc
1 #include "flower-test.hh"
2 #include "varray.hh"
3
4 Array< fptr > *test_arr_p;
5
6 void reg_test (fptr f)
7 {
8  if (!test_arr_p)
9   test_arr_p = new Array<fptr>;
10  test_arr_p->push (f);
11 }
12
13 int
14 main ()
15 {
16  if (test_arr_p) {
17   for (int i=0; i < test_arr_p->size (); i++)
18     (*test_arr_p)[i] ();
19  }
20 }