summaryrefslogtreecommitdiff
path: root/src/init.c
blob: 66209f75f376c6905768626203c9d35aeb35c006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdlib.h>
//#include <stdio.h>
#include <R.h>
#include <Rinternals.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <R_ext/RS.h>
#include <R_ext/Rdynload.h>

extern void F77_NAME(cormadvecdp)(void *, void *, void *, void *, void *, void *);

static const R_FortranMethodDef FortMethods[] = {
   {"cormadvecdp", (DL_FUNC) &F77_NAME(cormadvecdp), 6},
   {NULL, NULL, 0}
};

void
R_init_RSC(DllInfo *dll)
{
   R_registerRoutines(dll, NULL, NULL, FortMethods, NULL);
   R_useDynamicSymbols(dll, FALSE);
}