File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 within package rather than current working directory.
99 * src/attributes.cpp: Execute tools::package_native_routine_registration_skeleton
1010 within package rather than current working directory.
11+ 2017-06-01 JJ Allaire <jj@rstudio.com>
12+
13+ * src/attributes.cpp: Fix registration for exports with name attribute.
1114
12152017-05-22 Dirk Eddelbuettel <edd@debian.org>
1316
Original file line number Diff line number Diff line change 1515 within package rather than current working directory.
1616 \item The R portion no longer uses \code {dir.exists } to no require R 3.2.0
1717 or newer (Elias Pipping in \ghpr {698 }).
18+ \item Fix native registration for exports with name attribute (\ghit {702 }).
1819 }
1920 }
2021}
Original file line number Diff line number Diff line change @@ -1962,7 +1962,7 @@ namespace attributes {
19621962 std::vector<std::size_t > routineArgs;
19631963 for (std::size_t i=0 ;i<nativeRoutines_.size (); i++) {
19641964 const Attribute& attr = nativeRoutines_[i];
1965- routineNames.push_back (package () + " _" + attr.exportedName ());
1965+ routineNames.push_back (package () + " _" + attr.function (). name ());
19661966 routineArgs.push_back (attr.function ().arguments ().size ());
19671967 }
19681968 if (hasCppInterface ()) {
You can’t perform that action at this time.
0 commit comments