repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.3.125
[lilypond.git]
/
flower
/
test
/
main.cc
blob
26aaf3cff991479ce3e9a1e80772ba3952cbcbed
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
{
18
for
(
int
i
=
0
;
i
<
test_arr_p
->
size
();
i
++)
19
(*
test_arr_p
)[
i
] ();
20
}
21
}