File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11Package: nanonext
22Type: Package
33Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
4- Version: 0.9.2.9040
4+ Version: 0.9.2.9041
55Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
66 a socket library providing high-performance scalability protocols, a
77 cross-platform standard for messaging and communications. Serves as a
Original file line number Diff line number Diff line change 1- # nanonext 0.9.2.9040 (development)
1+ # nanonext 0.9.2.9041 (development)
22
33#### New Features
44
Original file line number Diff line number Diff line change @@ -768,10 +768,10 @@ SEXP rnng_unresolved(SEXP x) {
768768 SEXP value = Rf_findVarInFrame (x , nano_DataSymbol );
769769 if (value == R_UnboundValue )
770770 value = Rf_findVarInFrame (x , nano_ResultSymbol );
771- xc = Rf_inherits (value , "unresolvedValue" );
771+ xc = TYPEOF ( value ) == ENVSXP ? Rf_inherits (value , "unresolvedValue" ) : value == nano_unresolved ;
772772 break ;
773773 case LGLSXP :
774- xc = Rf_inherits ( x , "unresolvedValue" ) ;
774+ xc = x == nano_unresolved ;
775775 break ;
776776 default :
777777 xc = 0 ;
Original file line number Diff line number Diff line change @@ -466,10 +466,8 @@ fakelist <- `class<-`("test", "nanoListener")
466466nanotesterr(start(fakelist ), " valid Listener" )
467467nanotesterr(close(fakelist ), " valid Listener" )
468468unres <- `class<-`(NA , " unresolvedValue" )
469- nanotest(unresolved(unres ))
470- nanotestp(unres )
471- unres <- `class<-`(" " , " unresolvedValue" )
472469nanotest(! unresolved(unres ))
470+ nanotestp(unres )
473471nanotest(identical(call_aio(" a" ), " a" ))
474472nanotestn(stop_aio(" a" ))
475473
You can’t perform that action at this time.
0 commit comments