File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1627,9 +1627,10 @@ bool Cppyy::IsStaticMethod(TCppMethod_t method)
16271627// return (TCppIndex_t)0; // unknown class?
16281628// }
16291629
1630- std::vector<Cppyy::TCppScope_t> Cppyy::GetDatamembers (TCppScope_t scope)
1630+ void Cppyy::GetDatamembers (TCppScope_t scope, std::vector<TCppScope_t>& datamembers )
16311631{
1632- return Cpp::GetDatamembers (scope);
1632+ Cpp::GetDatamembers (scope, datamembers);
1633+ Cpp::GetStaticDatamembers (scope, datamembers);
16331634}
16341635
16351636bool Cppyy::CheckDatamember (TCppScope_t scope, const std::string& name) {
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ namespace Cppyy {
334334 // RPY_EXPORTED
335335 // TCppIndex_t GetNumDatamembers(TCppScope_t scope, bool accept_namespace = false) { return 0; }
336336 RPY_EXPORTED
337- std::vector<TCppScope_t> GetDatamembers (TCppScope_t scope );
337+ void GetDatamembers (TCppScope_t scope, std::vector<TCppScope_t>& datamembers );
338338 // GetDatamemberName is unused.
339339 // RPY_EXPORTED
340340 // std::string GetDatamemberName(TCppScope_t scope, TCppIndex_t idata) { return ""; }
You can’t perform that action at this time.
0 commit comments