// Generated by cpp4r: do not edit by hand
// clang-format off


#include "cpp4r/declarations.hpp"
#include <R_ext/Visibility.h>

// main.cpp
std::string hash_raw(raws x);
extern "C" SEXP _tinycache_hash_raw(SEXP x) {
  BEGIN_CPP4R
    return cpp4r::as_sexp(hash_raw(cpp4r::as_cpp<cpp4r::decay_t<raws>>(x)));
  END_CPP4R
}
// main.cpp
SEXP hash(SEXP x);
extern "C" SEXP _tinycache_hash(SEXP x) {
  BEGIN_CPP4R
    return cpp4r::as_sexp(hash(cpp4r::as_cpp<cpp4r::decay_t<SEXP>>(x)));
  END_CPP4R
}

extern "C" {
static const R_CallMethodDef CallEntries[] = {
    {"_tinycache_hash_raw", (DL_FUNC) &_tinycache_hash_raw, 1},
    {"_tinycache_hash", (DL_FUNC) &_tinycache_hash, 1},
    {NULL, NULL, 0}
};
}
extern "C" attribute_visible void R_init_tinycache(DllInfo* dll){
  R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
  R_useDynamicSymbols(dll, FALSE);
  R_forceSymbols(dll, TRUE);
}
