Skip to content
Snippets Groups Projects
Commit 76d65db9 authored by Wim Lavrijsen's avatar Wim Lavrijsen
Browse files

allow global array access of builtin types

git-svn-id: http://root.cern.ch/svn/root/trunk@36487 27541ba8-7e3a-0410-8455-c3a389f83636
parent 88d8423e
Branches
Tags
No related merge requests found
......@@ -207,6 +207,9 @@ void PyROOT::PropertyProxy::Set( TGlobal* gbl )
std::string fullType = gbl->GetFullTypeName();
if ( fullType == "void*" ) // actually treated as address to void*
fullType = "void**";
if ( (int)gbl->GetArrayDim() != 0 ) {
fullType.append( "*" );
}
fConverter = CreateConverter( fullType, gbl->GetMaxIndex( 0 ) );
fName = gbl->GetName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment