File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1710,9 +1710,9 @@ std::string Cppyy::GetTypeAsString(TCppType_t type)
1710
1710
return Cpp::GetTypeAsString (type);
1711
1711
}
1712
1712
1713
- intptr_t Cppyy::GetDatamemberOffset (TCppScope_t var)
1713
+ intptr_t Cppyy::GetDatamemberOffset (TCppScope_t var, TCppScope_t klass )
1714
1714
{
1715
- return Cpp::GetVariableOffset (Cpp::GetUnderlyingScope (var));
1715
+ return Cpp::GetVariableOffset (Cpp::GetUnderlyingScope (var), klass );
1716
1716
}
1717
1717
1718
1718
// static inline
Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ namespace Cppyy {
349
349
RPY_EXPORTED
350
350
std::string GetTypeAsString (TCppType_t type);
351
351
RPY_EXPORTED
352
- intptr_t GetDatamemberOffset (TCppScope_t var);
352
+ intptr_t GetDatamemberOffset (TCppScope_t var, TCppScope_t klass = nullptr );
353
353
RPY_EXPORTED
354
354
bool CheckDatamember (TCppScope_t scope, const std::string& name);
355
355
You can’t perform that action at this time.
0 commit comments