We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb17924 commit 30110e3Copy full SHA for 30110e3
src/attributes.cpp
@@ -1958,6 +1958,11 @@ namespace attributes {
1958
if (!hasPackageInit && !nativeRoutines_.empty()) {
1959
ostr() << std::endl;
1960
ostr() << "static const R_CallMethodDef CallEntries[] = {" << std::endl;
1961
+ if (hasCppInterface()) {
1962
+ ostr() << " {\"" << registerCCallableExportedName() << "\", " <<
1963
+ "(DL_FUNC) &" << registerCCallableExportedName() << ", " <<
1964
+ 0 << "}," << std::endl;
1965
+ }
1966
for (std::size_t i=0;i<nativeRoutines_.size(); i++) {
1967
const Attribute& attr = nativeRoutines_[i];
1968
std::string routine = package() + "_" + attr.exportedName();
0 commit comments