Skip to content

Commit d2661db

Browse files
committed
[windows] Drop intptr_t usage and return Cpp::TCppIndex_t in EnumDataValue
1 parent 05a0011 commit d2661db

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bindings/pyroot/cppyy/CPyCppyy/src/Cppyy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ namespace Cppyy {
392392
CPPYY_IMPORT
393393
TCppType_t GetEnumConstantType(TCppScope_t scope);
394394
CPPYY_IMPORT
395-
long long GetEnumDataValue(TCppScope_t scope);
395+
TCppIndex_t GetEnumDataValue(TCppScope_t scope);
396396
CPPYY_IMPORT
397397
TCppScope_t InstantiateTemplate(
398398
TCppScope_t tmpl, Cpp::TemplateArgInfo* args, size_t args_size);

bindings/pyroot/cppyy/cppyy-backend/clingwrapper/src/cpp_cppyy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace Cppyy {
5353
typedef Cpp::TCppScope_t TCppObject_t;
5454
typedef Cpp::TCppFunction_t TCppMethod_t;
5555
typedef Cpp::TCppIndex_t TCppIndex_t;
56-
typedef intptr_t TCppFuncAddr_t;
56+
typedef Cpp::TCppFuncAddr_t TCppFuncAddr_t;
5757

5858
// // direct interpreter access -------------------------------------------------
5959
RPY_EXPORTED

0 commit comments

Comments
 (0)