File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ 2014-03-09 Kevin Ushey <kevinushey@gmail.com>
2+
3+ * inst/include/Rcpp/vector/const_string_proxy.h: Workaround for issue
4+ with constructing proxies from CHARSXPs
5+
162014-03-08 Kevin Ushey <kevinushey@gmail.com>
27
3- * inst/include/Rcpp/proxy/proxy.h: Make sure proxys know about the
8+ * inst/include/Rcpp/proxy/proxy.h: Make sure proxies know about the
49 const char* wrap shortcut
510
6112014-03-08 Dirk Eddelbuettel <edd@debian.org>
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ namespace internal{
4141 * @param index index
4242 */
4343 const_string_proxy ( VECTOR& v, int index_ ) : parent(&v), index(index_){}
44+
45+ const_string_proxy (SEXP x): parent(0 ), index(0 ) {
46+ Vector<RTYPE> tmp (x);
47+ parent = &tmp;
48+ }
4449
4550 const_string_proxy ( const const_string_proxy& other ) :
4651 parent (other.parent), index(other.index){} ;
You can’t perform that action at this time.
0 commit comments