#include <R.h>
#include <Rinternals.h>
#include <Rversion.h>
#include <R_ext/Rdynload.h>

// Declare your C functions
extern SEXP parse_trans_names(SEXP);
extern SEXP calc_boot_row_vals(SEXP);

static const R_CallMethodDef CallEntries[] = {
    {"calc_boot_row_vals", (DL_FUNC) &calc_boot_row_vals, 4},
    {"parse_trans_names", (DL_FUNC) &parse_trans_names, 1},
    {NULL, NULL, 0}  // End of the list
};

void R_init_mypackage(DllInfo *dll) {
    /* Register routines */
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);

    /* Disable symbol search */
    R_useDynamicSymbols(dll, FALSE);
}
