File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1-
21useDynLib(Rcpp, .registration = TRUE)
32
43import(methods)
@@ -31,7 +30,8 @@ export(Module,
3130 demangle,
3231 sizeof,
3332 cpp_object_initializer,
34- cpp_object_dummy
33+ cpp_object_dummy,
34+ Rcpp.plugin.maker
3535 )
3636S3method( print, bytes )
3737exportClass(RcppClass)
Original file line number Diff line number Diff line change 1+ \name {Rcpp.plugin.maker }
2+ \alias {Rcpp.plugin.maker }
3+ \title {
4+ Facilitating making package plugins
5+ }
6+ \description {
7+ This function helps packages making inline plugins.
8+ }
9+ \usage {
10+ Rcpp.plugin.maker(
11+ include.before = " " ,
12+ include.after = " " ,
13+ LinkingTo = unique(c(package , " Rcpp" )),
14+ Depends = unique(c(package , " Rcpp" )),
15+ libs = " " ,
16+ Makevars = NULL ,
17+ Makevars.win = NULL ,
18+ package = " Rcpp"
19+ )
20+ }
21+ %- maybe also ' usage' for other objects documented here.
22+ \arguments {
23+ \item {include.before }{Code to be included before the \samp {Rcpp.h } file }
24+ \item {include.after }{Code to be included after the \samp {Rcpp.h } file }
25+ \item {LinkingTo }{Packages to be added to the \samp {LinkingTo } field }
26+ \item {Depends }{Packages to be added to the \samp {Depends } field }
27+ \item {libs }{library flags }
28+ \item {Makevars }{content for a \samp {Makevars } file , or \code {NULL }}
29+ \item {Makevars.win }{content for a \samp {Makevars.win } file , or \code {NULL }}
30+ \item {package }{The package this plugin is for . }
31+ }
32+ \value {
33+ A function that is suitable as a plugin. See for example the
34+ \samp {RcppArmadillo } package that uses this to create its inline plugin.
35+ }
36+ \keyword {interface }
You can’t perform that action at this time.
0 commit comments