Last change
on this file was
6694,
checked in by westram, 15 years ago
|
- rename (GB_TEST_TRANSACTION → GB_test_transaction)
|
File size:
954 bytes
|
Line | |
---|
1 | // =============================================================== // |
---|
2 | // // |
---|
3 | // File : gb_ta.h // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Institute of Microbiology (Technical University Munich) // |
---|
7 | // http://www.arb-home.de/ // |
---|
8 | // // |
---|
9 | // =============================================================== // |
---|
10 | |
---|
11 | #ifndef GB_TA_H |
---|
12 | #define GB_TA_H |
---|
13 | |
---|
14 | #ifndef GB_MAIN_H |
---|
15 | #include "gb_main.h" |
---|
16 | #endif |
---|
17 | #ifndef GB_DATA_H |
---|
18 | #include "gb_data.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | inline void GB_test_transaction(GBDATA *gbd) { |
---|
22 | if (!GB_MAIN(gbd)->transaction) { |
---|
23 | GBK_terminate("No running transaction"); |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
27 | #else |
---|
28 | #error gb_ta.h included twice |
---|
29 | #endif // GB_TA_H |
---|
Note: See
TracBrowser
for help on using the repository browser.