Browse code

Removed external C from some two functions!

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rtreemix@94928 bc3139a8-67e5-0310-9ffc-ced21a209358

Jasmina Bogojeska authored on 03/10/2014 09:56:46
Showing 1 changed files

... ...
@@ -36,7 +36,7 @@
36 36
 
37 37
 
38 38
 
39
-extern "C" {
39
+
40 40
 
41 41
 
42 42
 
... ...
@@ -53,7 +53,7 @@ array<string> C_get_profile(SEXP R_events);
53 53
 integer_matrix C_get_pattern(SEXP R_mat);
54 54
 
55 55
 
56
-
56
+extern "C" {
57 57
 SEXP R_int_matrix(integer_matrix C_mat);
58 58
 
59 59
 SEXP R_all_patterns(SEXP R_no_events);
... ...
@@ -133,7 +133,7 @@ SEXP R_distr(SEXP R_L, SEXP R_trees, SEXP R_alpha, SEXP R_sampling_mode,
133 133
 
134 134
 
135 135
 
136
-
136
+}
137 137
 
138 138
 
139 139
 // Function that converts an R character vector to an array of strings
... ...
@@ -231,7 +231,7 @@ integer_matrix C_get_pattern(SEXP R_mat) {
231 231
 }
232 232
 
233 233
 
234
-
234
+extern "C" {
235 235
 // Function for converting from the C structure integer_matrix to an R matrix of integers
236 236
 
237 237
 SEXP R_int_matrix(integer_matrix C_mat) {