#NEWLINE# def gen_rootcint_hook( self , node ) : #NEWLINE# #INDENT# 'Bind the .h file extension to the creation of a gen_rootcint instance' #NEWLINE# if ( not self . env [ 'GENROOTCINT_DICTNAME' ] ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# source = node . name #NEWLINE# out_node_dir = self . path . get_bld ( ) . make_node ( '_rootcint_dicts' ) . make_node ( self . env [ 'GENROOTCINT_DICTNAME' ] ) #NEWLINE# bld_node = out_node_dir #NEWLINE# out_node = bld_node . make_node ( source . replace ( '.h' , '.cxx' ) ) #NEWLINE# tsk = self . create_task ( 'gen_rootcint' , source , [ out_node ] ) #NEWLINE# self . source += tsk . outputs