Skip to content
Snippets Groups Projects
Commit 589ffa9b authored by Axel Naumann's avatar Axel Naumann
Browse files

From Sebastien Binet: allow classes selected through a typedef to be loadable by that typedef.

Sort of fixes Savannah #30478


git-svn-id: http://root.cern.ch/svn/root/trunk@23727 27541ba8-7e3a-0410-8455-c3a389f83636
parent ff87799b
No related merge requests found
......@@ -49,6 +49,7 @@ class genDictionary(object) :
self.selectionname = 'Reflex::Selection'
self.unnamedNamespaces = []
self.globalNamespaceID = ''
self.typedefs_for_usr = []
# The next is to avoid a known problem with gccxml that it generates a
# references to id equal '_0' which is not defined anywhere
self.xref['_0'] = {'elem':'Unknown', 'attrs':{'id':'_0','name':''}, 'subelems':[]}
......@@ -323,6 +324,7 @@ class genDictionary(object) :
if not self.quiet:
print '--->> genreflex: INFO: Using typedef %s to select class %s' % (self.genTypeName(t['id']), self.genTypeName(catt['id']))
selec.append(catt)
self.typedefs_for_usr.append(t)
if self.resolvettd :
newselector = self.resolveSelectorTypedefs( self.selector.sel_classes )
if newselector:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment