Skip to content

Commit 54341e0

Browse files
committed
don't export internal Rust implementation
1 parent db2c589 commit 54341e0

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
S3method("$<-",savvy_blazr__sealed)
44
S3method("[[<-",savvy_blazr__sealed)
55
export(sum_with_threads)
6-
export(sum_with_threads_real)
76
useDynLib(blazr, .registration = TRUE)

R/000-wrappers.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ NULL
4343
#' @param n The number of threads used to compute this calculation (int).
4444
#'
4545
#' @return The sum of all elements of the input vector.
46-
#'
47-
#' @export
4846
`sum_with_threads_real` <- function(`x`, `n`) {
4947
.Call(savvy_sum_with_threads_real__impl, `x`, `n`)
5048
}

blazr.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: b96439b3-4184-410b-ad08-b3d443f15d8e
23

34
RestoreWorkspace: No
45
SaveWorkspace: No

man/sum_with_threads_real.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ use std::thread;
77
/// @param n The number of threads used to compute this calculation (int).
88
///
99
/// @return The sum of all elements of the input vector.
10-
///
11-
/// @export
1210
#[savvy]
1311
fn sum_with_threads_real(x: RealSexp, n: i32) -> savvy::Result<savvy::Sexp> {
1412
let x_rust = x.to_vec();

0 commit comments

Comments
 (0)