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)
1627
1627
// return (TCppIndex_t)0; // unknown class?
1628
1628
// }
1629
1629
1630
- std::vector<Cppyy::TCppScope_t> Cppyy::GetDatamembers (TCppScope_t scope)
1630
+ void Cppyy::GetDatamembers (TCppScope_t scope, std::vector<TCppScope_t>& datamembers )
1631
1631
{
1632
- return Cpp::GetDatamembers (scope);
1632
+ Cpp::GetDatamembers (scope, datamembers);
1633
+ Cpp::GetStaticDatamembers (scope, datamembers);
1633
1634
}
1634
1635
1635
1636
bool 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 {
334
334
// RPY_EXPORTED
335
335
// TCppIndex_t GetNumDatamembers(TCppScope_t scope, bool accept_namespace = false) { return 0; }
336
336
RPY_EXPORTED
337
- std::vector<TCppScope_t> GetDatamembers (TCppScope_t scope );
337
+ void GetDatamembers (TCppScope_t scope, std::vector<TCppScope_t>& datamembers );
338
338
// GetDatamemberName is unused.
339
339
// RPY_EXPORTED
340
340
// std::string GetDatamemberName(TCppScope_t scope, TCppIndex_t idata) { return ""; }
You can’t perform that action at this time.
0 commit comments