4 #include <R_ext/Rdynload.h>
7 #define DECLARATIONS(X) \
8 SEXP make ## X (SEXP Params, SEXP IVPs, SEXP T0); \
9 SEXP revive ## X (SEXP State, SEXP Params); \
10 SEXP run ## X (SEXP State, SEXP Times); \
11 SEXP geneal ## X (SEXP State); \
12 SEXP yaml ## X (SEXP State)
15 {"make" #X, (DL_FUNC) &make ## X, 3}, \
16 {"revive" #X, (DL_FUNC) &revive ## X, 2}, \
17 {"run" #X, (DL_FUNC) &run ## X, 2}, \
18 {"yaml" #X, (DL_FUNC) &yaml ## X, 1}, \
19 {"geneal" #X, (DL_FUNC) &geneal ## X, 1} \