lilypond-1.3.125
[lilypond.git] / flowertest / flower-test.hh
blobb5bde0f420aec634c47dcdf1c4db19181ead4ffc
1 /*
2 flower-test.hh -- declare
4 source file of the Flower Library
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef FLOWER_TEST_HH
11 #define FLOWER_TEST_HH
12 #include <iostream.h>
14 #define ADD_TEST(f) \
15 struct f ## Init {\
16 f ## Init () { reg_test(f); }\
17 } f ## init\
19 typedef void (*fptr)(void);
21 void reg_test (fptr f);
23 #endif // FLOWER_TEST_HH
25 flower-test.hh -- declare
27 source file of the Flower Library
29 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
33 #ifndef FLOWER_TEST_HH
34 #define FLOWER_TEST_HH
35 #include <iostream.h>
37 #define ADD_TEST(f) \
38 struct f ## Init {\
39 f ## Init () { reg_test(f); }\
40 } f ## init\
42 typedef void (*fptr)(void);
44 void reg_test (fptr f);
46 #endif // FLOWER_TEST_HH