Skip to content

Commit c0a68f0

Browse files
committed
CRAN release 0.5.3
1 parent 5052b48 commit c0a68f0

File tree

3 files changed

+7
-27
lines changed

3 files changed

+7
-27
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: nanonext
22
Type: Package
33
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
4-
Version: 0.5.2.9002
4+
Version: 0.5.3
55
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
66
a socket library providing high-performance scalability protocols,
77
implementing a cross-platform standard for messaging and communications.

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# nanonext 0.5.2.9002 (development)
1+
# nanonext 0.5.3
22

33
#### Updates
44

R/opts.R

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@ setopt <- function(object,
5757
setopt.nanoSocket <- function(object,
5858
type = c("bool", "int", "ms", "size", "string", "uint64"),
5959
opt,
60-
value) {
61-
62-
invisible(.Call(rnng_socket_set, object, type, opt, value))
63-
64-
}
60+
value) invisible(.Call(rnng_socket_set, object, type, opt, value))
6561

6662
#' @examples
6763
#' s <- socket("req")
@@ -77,11 +73,7 @@ setopt.nanoSocket <- function(object,
7773
setopt.nanoContext <- function(object,
7874
type = c("bool", "int", "ms", "size", "string", "uint64"),
7975
opt,
80-
value) {
81-
82-
invisible(.Call(rnng_ctx_set, object, type, opt, value))
83-
84-
}
76+
value) invisible(.Call(rnng_ctx_set, object, type, opt, value))
8577

8678
#' @examples
8779
#' s <- socket("pair", dial = "inproc://nanonext", autostart = FALSE)
@@ -96,11 +88,7 @@ setopt.nanoContext <- function(object,
9688
setopt.nanoDialer <- function(object,
9789
type = c("bool", "int", "ms", "size", "string", "uint64"),
9890
opt,
99-
value) {
100-
101-
invisible(.Call(rnng_dialer_set, object, type, opt, value))
102-
103-
}
91+
value) invisible(.Call(rnng_dialer_set, object, type, opt, value))
10492

10593
#' @examples
10694
#' s <- socket("pair", listen = "inproc://nanonext", autostart = FALSE)
@@ -115,11 +103,7 @@ setopt.nanoDialer <- function(object,
115103
setopt.nanoListener <- function(object,
116104
type = c("bool", "int", "ms", "size", "string", "uint64"),
117105
opt,
118-
value) {
119-
120-
invisible(.Call(rnng_listener_set, object, type, opt, value))
121-
122-
}
106+
value) invisible(.Call(rnng_listener_set, object, type, opt, value))
123107

124108
#' @rdname setopt
125109
#' @method setopt nanoStream
@@ -128,9 +112,5 @@ setopt.nanoListener <- function(object,
128112
setopt.nanoStream <- function(object,
129113
type = c("bool", "int", "ms", "size", "string", "uint64"),
130114
opt,
131-
value) {
132-
133-
invisible(.Call(rnng_stream_set, object, type, opt, value))
134-
135-
}
115+
value) invisible(.Call(rnng_stream_set, object, type, opt, value))
136116

0 commit comments

Comments
 (0)