Created
February 17, 2017 23:36
-
-
Save nathan-russell/8c7164504459318e01804261469d4f8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/hinterface.cpp | |
#include "hinterface.h" | |
// [[Rcpp::export]] | |
int call_bla_in_hinterface() | |
{ return hinterface::bla().first; } | |
// [[Rcpp::export("bla")]] | |
void bla_() | |
{ | |
std::pair<int, int> x = hinterface::bla(); | |
std::printf( | |
"x.first = %d\nx.second = %d\n", | |
x.first, x.second | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment