We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8c52a commit bff3f24Copy full SHA for bff3f24
cpp11test/src/sum.cpp
@@ -1,10 +1,7 @@
1
#include <numeric>
2
#include "cpp11/doubles.hpp"
3
4
-[[cpp11::linking_to(foo)]]
5
-
6
-[[cpp11::register]] double
7
-sum_dbl_for_(cpp11::doubles x) {
+[[cpp11::register]] double sum_dbl_for_(cpp11::doubles x) {
8
double sum = 0.;
9
R_xlen_t n = x.size();
10
for (R_xlen_t i = 0; i < n; ++i) {
0 commit comments