Rcpp Version 1.0.9
overhead_1.cpp
Go to the documentation of this file.
1 // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
2 
3 // This is a rewrite of the 'Writing R Extensions' section 5.10.1 example
4 
5 #include <Rcpp.h>
6 // using namespace Rcpp ;
7 
8 SEXP overhead_cpp(SEXP a, SEXP b) {
9  return R_NilValue ;
10 }
11 
12 extern "C" void R_init_overhead_1(DllInfo *info){
13 
14  R_CallMethodDef callMethods[] = {
15  {"overhead_cpp", (DL_FUNC) &overhead_cpp, 2},
16  {NULL, NULL, 0}
17  };
18 
19  R_registerRoutines(info, NULL, callMethods, NULL, NULL);
20 }
21 
void R_init_overhead_1(DllInfo *info)
Definition: overhead_1.cpp:12
SEXP overhead_cpp(SEXP a, SEXP b)
Definition: overhead_1.cpp:8