-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathlonglong.h
More file actions
20 lines (15 loc) · 994 Bytes
/
longlong.h
File metadata and controls
20 lines (15 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef RCPP_LONG_LONG_H
#define RCPP_LONG_LONG_H
namespace Rcpp{
namespace traits{
template<> struct r_sexptype_traits<long long>{ enum{ rtype = REALSXP } ; } ;
template<> struct r_sexptype_traits<unsigned long long>{ enum{ rtype = REALSXP } ; } ;
template<> struct r_type_traits<long long>{ typedef r_type_primitive_tag r_category ; } ;
template<> struct r_type_traits< std::pair<const std::string,long long> >{ typedef r_type_primitive_tag r_category ; } ;
template<> struct r_type_traits<unsigned long long>{ typedef r_type_primitive_tag r_category ; } ;
template<> struct r_type_traits< std::pair<const std::string,unsigned long long> >{ typedef r_type_primitive_tag r_category ; } ;
template <> struct wrap_type_traits<long long> { typedef wrap_type_primitive_tag wrap_category; } ;
template <> struct wrap_type_traits<unsigned long long> { typedef wrap_type_primitive_tag wrap_category; } ;
}
}
#endif