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 5b9cb46 commit f688928Copy full SHA for f688928
src/attributes.cpp
@@ -2539,8 +2539,11 @@ namespace attributes {
2539
ostr() << "# Register entry points for exported C++ functions"
2540
<< std::endl;
2541
ostr() << "methods::setLoadAction(function(ns) {" << std::endl;
2542
- ostr() << " .Call(`" << registerCCallableExportedName()
2543
- << "`, PACKAGE = '" << package() << "')"
+ ostr() << " .Call("
+ << (registration_ ? "`" : "'")
2544
+ << registerCCallableExportedName()
2545
2546
+ << ", PACKAGE = '" << package() << "')"
2547
<< std::endl << "})" << std::endl; // #nocov end
2548
}
2549
0 commit comments