diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-18 03:09:59 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-18 04:13:05 +0200 |
commit | 12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735 (patch) | |
tree | 8ca1a0c942a613659593ba57fe69d2dce370e9f9 /typemap | |
parent | db118471a871d0ca2af9b178b2f6e910e30fb0a6 (diff) | |
download | perl-URPM-12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735.tar perl-URPM-12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735.tar.gz perl-URPM-12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735.tar.bz2 perl-URPM-12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735.tar.xz perl-URPM-12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735.zip |
add support for int64, using Math::Int64 C API
previously it was missing on 32bit arches
Diffstat (limited to 'typemap')
-rw-r--r-- | typemap | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ URPM::DB T_PTROBJ URPM::Transaction T_PTROBJ URPM::Package T_PTROBJ + +TYPEMAP +int64_t T_INT64 +uint64_t T_UINT64 + +INPUT +T_INT64 + $var = SvI64($arg); + +T_UINT64 + $var = SvU64($arg); + +OUTPUT +T_INT64 + $arg = newSVi64($var); + +T_UINT64 + $arg = newSVu64($var); |