yutannihilation / savvy

A simple R extension interface using Rust
https://yutannihilation.github.io/savvy/guide/
MIT License
60 stars 3 forks source link

Add .def file #110

Closed yutannihilation closed 4 months ago

yutannihilation commented 4 months ago

Just hit https://github.com/extendr/rextendr/issues/211

yutannihilation commented 4 months ago

This is the convention.

Under Windows you can supply an exports definitions file called dllname-win.def: otherwise all entry points in objects (but not libraries) supplied to R CMD SHLIB will be exported from the DLL.

https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Creating-shared-objects