source: tags/svn.1.5.4/PERL2ARB/ARB.default.xs

Last change on this file was 7624, checked in by westram, 13 years ago
  • merge from dev [7473] [7474] [7475] [7476] [7477] [7478] [7479]
    • NTREE
      • rewrote main (CLI parsing, handling different ways to startup)
      • some refactorings
      • show com-error-reason on startyp ("THIS PROGRAM HAS PROBLEMS TO OPEN INTERCLIENT COMMUNICATION…")
      • activated arb functions attributes
      • added awt_execute_macro (execute a macro by name)
      • added new CLI switch —execute (runs a macro after startup)
      • DRYed load_and_startup_main_window vs start_main_window_after_import
    • ARBDB
      • gb_local_data keeps track of opened/closed DBs
      • added GB_shell4perl (automatically closes all open databases on exit; macros working again)
    • removed dead code (macro related)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* --------------------------------------------------------------------------------
2 *  File      : ARB.default.xs
3 *  Purpose   : Skeleton and predefined functions for ARB perl interface 
4 *  Copyright : Lehrstuhl fuer Mikrobiologie, TU Muenchen
5 * -------------------------------------------------------------------------------- */
6
7#ifndef __cplusplus
8#error please compile as C++
9#endif
10
11#include "EXTERN.h"
12#include "perl.h"
13#include "XSUB.h"
14#include "debug.h"
15#include "arbdb.h"
16#include "arbdbt.h"
17#include "adGene.h"
18#include "ad_p_prot.h"
19#include "adperl.h"
20#include "ARB_ext.c"
21
22static GB_shell4perl perl_shell;
23
24/* --------------------------------------------------------------------------------
25 * if you get errors about undefined functions like
26 *
27 *       GBP_charPtr_2_XXX
28 *       GBP_XXX_2_charPtr
29 *
30 * you need to define them in ../ARBDB/adperl.c@enum_conversion_functions
31 */
32
33/* --------------------------------------------------------------------------------
34 * the following functions are hand-coded in ARB.default.xs:
35 */
36
37MODULE = ARB PACKAGE = ARB PREFIX = P2A_
38PROTOTYPES: ENABLE
39
40
41MODULE = ARB PACKAGE = BIO PREFIX = P2AT_
42
43
44# --------------------------------------------------------------------------------
45# functions below are auto-generated by ../TOOLS/arb_proto_2_xsub.cxx
46# using prototypes from the following files:
47#
48#    ../ARBDB/ad_prot.h
49#    ../ARBDB/ad_t_prot.h
50#    ../ARBDB/adGene.h
51# --------------------------------------------------------------------------------
52
Note: See TracBrowser for help on using the repository browser.