MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / dynlibCacheInsert

Function dynlibCacheInsert

src/attributes.cpp:3501–3509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3499 // Dynlib cache that allows lookup by either file path or code contents
3500
3501 void dynlibCacheInsert(const std::string& cacheDir,
3502 const std::string& file,
3503 const std::string& code,
3504 const SourceCppDynlib& dynlib)
3505 {
3506 Rcpp::Environment rcppEnv = Rcpp::Environment::namespace_env("Rcpp");
3507 Rcpp::Function dynlibInsertFunc = rcppEnv[".sourceCppDynlibInsert"];
3508 dynlibInsertFunc(cacheDir, file, code, dynlib.toList());
3509 }
3510
3511 void dynlibCacheInsertFile(const std::string& cacheDir,
3512 const std::string& file,

Callers 2

dynlibCacheInsertFileFunction · 0.85
dynlibCacheInsertCodeFunction · 0.85

Calls 2

namespace_envFunction · 0.85
toListMethod · 0.45

Tested by

no test coverage detected