Last change
on this file was
18303,
checked in by westram, 5 years ago
|
- enforce destruction order of shell created via GB_shell4perl and GB_test_shell_closed by storing the former in the latter
- move code from ~GB_shell4perl into close_global_shell.
- call close_global_shell either from ~GB_shell4perl or from ~GB_test_shell_closed.
- fixes #508
|
File size:
1017 bytes
|
Line | |
---|
1 | // ============================================================= // |
---|
2 | // // |
---|
3 | // File : adperl.h // |
---|
4 | // Purpose : special shell for perl // |
---|
5 | // // |
---|
6 | // Coded by Ralf Westram (coder@reallysoft.de) in April 2011 // |
---|
7 | // Institute of Microbiology (Technical University Munich) // |
---|
8 | // http://www.arb-home.de/ // |
---|
9 | // // |
---|
10 | // ============================================================= // |
---|
11 | |
---|
12 | #ifndef ADPERL_H |
---|
13 | #define ADPERL_H |
---|
14 | |
---|
15 | #ifndef ARBDB_H |
---|
16 | #include "arbdb.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | struct GB_shell4perl : virtual Noncopyable { |
---|
20 | // creates a global shell instance for use in arb perl code. |
---|
21 | // will exist until program terminates. |
---|
22 | GB_shell4perl(); |
---|
23 | ~GB_shell4perl(); |
---|
24 | }; |
---|
25 | |
---|
26 | |
---|
27 | #else |
---|
28 | #error adperl.h included twice |
---|
29 | #endif // ADPERL_H |
---|
Note: See
TracBrowser
for help on using the repository browser.