Rcpp Version 1.0.14
Loading...
Searching...
No Matches
overhead_2.c
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#include <R.h>
5#include <Rdefines.h>
6#include <R_ext/Rdynload.h>
7
8SEXP overhead_c(SEXP a, SEXP b) {
9 return R_NilValue ;
10}
11
12void R_init_overhead_2(DllInfo *info){
13
14 R_CallMethodDef callMethods[] = {
15 {"overhead_c", (DL_FUNC) &overhead_c, 2},
16 {NULL, NULL, 0}
17 };
18
19 R_registerRoutines(info, NULL, callMethods, NULL, NULL);
20}
21
SEXP overhead_c(SEXP a, SEXP b)
Definition overhead_2.c:8
void R_init_overhead_2(DllInfo *info)
Definition overhead_2.c:12