## package has a dynamic library
useDynLib(testrffi, .registration = TRUE, .fixes = "C_")

## and exported functions
exportPattern("load.*")
exportPattern("rffi\\..*")
exportPattern("api\\..*")