Revision 775c7e1be4c58aaf8adccdd2b92d07aa9cdc265f authored by Matthias Templ on 14 January 2020, 05:10:03 UTC, committed by cran-robot on 14 January 2020, 05:10:03 UTC
1 parent d761b2f
Raw File
robCompositions_init.c
#include <R.h>
#include <Rinternals.h>
#include <stdlib.h> // for NULL
#include <R_ext/Rdynload.h>

/* FIXME: 
 Check these declarations against the C/Fortran source code.
 */

/* .C calls */
extern void da(void *, void *, void *, void *, void *);

/* .Call calls */
extern SEXP smoothingSplines_(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP);
extern SEXP smoothingSplinesValidation_(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP);

static const R_CMethodDef CEntries[] = {
  {"da", (DL_FUNC) &da, 6},
  {NULL, NULL, 0}
};

static const R_CallMethodDef CallEntries[] = {
  {"smoothingSplines_",           (DL_FUNC) &smoothingSplines_,           11},
  {"smoothingSplinesValidation_", (DL_FUNC) &smoothingSplinesValidation_,  9},
  {NULL, NULL, 0}
};

void R_init_robCompositions(DllInfo *dll)
{
  R_registerRoutines(dll, CEntries, CallEntries, NULL, NULL);
  R_useDynamicSymbols(dll, FALSE);
}
back to top