git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@110593 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@110039 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 21), |
|
11 |
- CALLMETHOD_DEF(R_tally_iit_parse, 5), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 25), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 6), |
|
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@102487 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 25), |
|
11 |
- CALLMETHOD_DEF(R_tally_iit_parse, 6), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 21), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 5), |
|
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@102485 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 21), |
|
11 |
- CALLMETHOD_DEF(R_tally_iit_parse, 5), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 25), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 6), |
|
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@93316 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 22), |
|
11 |
- CALLMETHOD_DEF(R_tally_iit_parse, 6), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 21), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 5), |
|
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@90225 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 21), |
|
11 |
- CALLMETHOD_DEF(R_tally_iit_parse, 5), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 22), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 6), |
|
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@89724 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@88343 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@86188 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@80611 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@74871 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,11 +7,14 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 17), |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 18), |
|
11 | 11 |
CALLMETHOD_DEF(R_tally_iit_parse, 4), |
12 | 12 |
|
13 | 13 |
/* bamreader.c */ |
14 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
15 |
+ |
|
16 |
+ /* genome.c */ |
|
17 |
+ CALLMETHOD_DEF(R_Genome_getSeq, 6), |
|
15 | 18 |
|
16 | 19 |
{NULL, NULL, 0} |
17 | 20 |
}; |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@69806 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -7,8 +7,9 @@ |
7 | 7 |
static const R_CallMethodDef callMethods[] = { |
8 | 8 |
|
9 | 9 |
/* bamtally.c */ |
10 |
- CALLMETHOD_DEF(R_Bamtally_iit, 19), |
|
11 |
- |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 17), |
|
11 |
+ CALLMETHOD_DEF(R_tally_iit_parse, 4), |
|
12 |
+ |
|
12 | 13 |
/* bamreader.c */ |
13 | 14 |
CALLMETHOD_DEF(R_Bamread_new, 1), |
14 | 15 |
|
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@68172 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+#include <R_ext/Rdynload.h> |
|
2 |
+ |
|
3 |
+#include "gmapR.h" |
|
4 |
+ |
|
5 |
+#define CALLMETHOD_DEF(fun, numArgs) {#fun, (DL_FUNC) &fun, numArgs} |
|
6 |
+ |
|
7 |
+static const R_CallMethodDef callMethods[] = { |
|
8 |
+ |
|
9 |
+ /* bamtally.c */ |
|
10 |
+ CALLMETHOD_DEF(R_Bamtally_iit, 19), |
|
11 |
+ |
|
12 |
+ /* bamreader.c */ |
|
13 |
+ CALLMETHOD_DEF(R_Bamread_new, 1), |
|
14 |
+ |
|
15 |
+ {NULL, NULL, 0} |
|
16 |
+}; |
|
17 |
+ |
|
18 |
+void R_init_gmapR(DllInfo *info) |
|
19 |
+{ |
|
20 |
+ R_registerRoutines(info, NULL, callMethods, NULL, NULL); |
|
21 |
+} |