Skip to content

Commit 6e4f8ad

Browse files
committed
Make sure proxys know about const char* wrap shortcut
1 parent 44c4320 commit 6e4f8ad

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-03-08 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/proxy/proxy.h: Make sure proxys know about the
4+
const char* wrap shortcut
5+
16
2014-03-08 Dirk Eddelbuettel <[email protected]>
27

38
* inst/include/Rcpp/proxy/Binding.h: Remove spurious ';' [g++ -pedantic]

inst/include/Rcpp/proxy/proxy.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
// forward decl of as (should put this somewhere better)
2121
// similar for wrap
2222
namespace Rcpp {
23-
template <typename T> T as(SEXP);
24-
template <typename T> SEXP wrap(const T& object);
23+
template <typename T> T as(SEXP);
24+
template <typename T> SEXP wrap(const T& object);
25+
inline SEXP wrap(const char* const v);
2526
}
2627

2728
#include <Rcpp/proxy/GenericProxy.h>

0 commit comments

Comments
 (0)