From a7bdeaaca648137fad87bde8c7ac75c8a74b6632 Mon Sep 17 00:00:00 2001 From: Ed J Date: Thu, 23 Mar 2023 20:25:01 +0000 Subject: [PATCH] support uint64 args --- genpp.pl | 1 + typemap | 2 ++ 2 files changed, 3 insertions(+) diff --git a/genpp.pl b/genpp.pl index 53c496f..63e45dc 100644 --- a/genpp.pl +++ b/genpp.pl @@ -16,6 +16,7 @@ uchar => ['byte', 'unsigned char'], c_string => ['char *', 'char *'], size_t => ['indx', 'size_t'], + uint64 => ['ulonglong', 'uint64_t'], int => [$INT_PDLTYPE, 'int'], ); our %type_alias = ( diff --git a/typemap b/typemap index 9fcd069..a888035 100644 --- a/typemap +++ b/typemap @@ -12,6 +12,8 @@ DMatchWrapper* T_PTROBJ_SPECIAL FileStorageWrapper* T_PTROBJ_SPECIAL FileNodeWrapper* T_PTROBJ_SPECIAL +uint64_t T_IV + INPUT T_PTROBJ_SPECIAL if (!SvOK($arg)) {