Skip to content

Commit 8046a76

Browse files
committed
quick M-q on the new paragraph to indent properly
1 parent 6ab92eb commit 8046a76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vignettes/Rcpp-attributes.Rnw

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,11 @@ that code is not included more than once in a source file. You should
440440
use an include guard and be sure to pick a unique name for the corresponding
441441
\texttt{\#define}.
442442

443-
Also note the use of the \code{inline} keyword preceding the function. This isn't necessary for \code{sourceCpp} however if you are working on an R package then it's important to ensure that there are not multiple definitions of functions included from header files. Classes fully defined in header files automatically have inline semantics so don't require this treatment.
443+
Also note the use of the \code{inline} keyword preceding the function. This
444+
isn't necessary for \code{sourceCpp} however if you are working on an R package
445+
then it's important to ensure that there are not multiple definitions of
446+
functions included from header files. Classes fully defined in header files
447+
automatically have inline semantics so don't require this treatment.
444448

445449
To use this code in a source file you'd just include
446450
it based on it's relative path (being sure to use \texttt{"} as the

0 commit comments

Comments
 (0)