]> git.donarmstrong.com Git - lilypond.git/blob - flower/test/flower-test.hh
release: 0.1.44
[lilypond.git] / flower / test / flower-test.hh
1 /*
2   flower-test.hh -- declare 
3
4   source file of the Flower Library
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef FLOWER_TEST_HH
11 #define FLOWER_TEST_HH
12 #include <iostream.h>
13
14 #define ADD_TEST(f) \
15 struct f ## Init {\
16     f ## Init () { reg_test(f); }\
17 } f ## init\
18
19 typedef void (*fptr)(void);
20
21 void reg_test (fptr f);
22
23 #endif // FLOWER_TEST_HH