source: tags/cvs_2_svn/PERL2ARB/ARB.xs.default

Last change on this file was 5302, checked in by westram, 16 years ago
  • changed predefined prototype for P2A_find
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/* ARB.xs is generated from the following files:
2
3    ARB.xs.default
4    ../ARBDB/ad_prot.h
5    ../ARBDB/ad_t_prot.h
6    ../ARBDB/adGene.h
7
8*/
9
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14#include "EXTERN.h"
15#include "perl.h"
16#include "XSUB.h"
17#include "debug.h"
18#include "arbdb.h"
19#include "arbdbt.h"
20#include "adGene.h"
21#include "ARB_ext.c"
22#ifdef __cplusplus
23}
24#endif
25
26
27MODULE = ARB            PACKAGE = ARB    PREFIX = P2A_
28
29PROTOTYPES: ENABLE
30
31GBDATA *
32P2A_search(gbd,str,type_of_entry)
33        GBDATA *gbd
34        char *str
35        char *type_of_entry
36
37        CODE:
38        if (str[0] == 0) str = 0;
39        RETVAL = GB_search(gbd,str,GBP_gb_types(type_of_entry));
40        OUTPUT:
41        RETVAL
42
43
44GBDATA*
45P2A_find(gbd,key,gbs)
46        GBDATA *gbd
47        char *key
48        char *gbs
49
50        CODE:
51        RETVAL = GB_find(gbd,key,GBP_search_mode(gbs));
52        OUTPUT:
53        RETVAL
54
55
56GBDATA *
57P2A_create(father,key,type)
58        GBDATA *father
59        char *key
60        char *type
61
62        CODE:
63        RETVAL = GB_create(father,key,GBP_gb_types(type));
64        OUTPUT:
65        RETVAL
66
67char *
68P2A_request_undo_type(gb_main,type)
69        GBDATA *gb_main
70        char *type
71
72        CODE:
73        RETVAL = (char *)GB_request_undo_type(gb_main,GBP_undo_types(type));
74        OUTPUT:
75        RETVAL
76
77char *
78P2A_undo(gb_main,type)
79        GBDATA *gb_main
80        char *type
81
82        CODE:
83        RETVAL = (char *)GB_undo(gb_main,GBP_undo_types(type));
84        OUTPUT:
85        RETVAL
86
87char *
88P2A_undo_info(gb_main,type)
89        GBDATA *gb_main
90        char *type
91
92        CODE:
93        if (static_pntr) free(static_pntr);
94        static_pntr = GB_undo_info(gb_main,GBP_undo_types(type));
95        RETVAL = static_pntr;
96        OUTPUT:
97        RETVAL
98
99GBDATA *
100P2AT_open_table_field(gb_table,key,type)
101        GBDATA *gb_table
102        char *key
103        char *type
104
105        CODE:
106        RETVAL = GBT_open_table_field(gb_table,key,GBP_gb_types(type));
107        OUTPUT:
108        RETVAL
109
110
111char
112P2AT_complementNucleotide(c,T_or_U)
113        char c
114        char T_or_U
115
116        CODE:
117        RETVAL = GBT_complementNucleotide(c,T_or_U);
118        OUTPUT:
119        RETVAL
120
Note: See TracBrowser for help on using the repository browser.