parameters: (target, source, env)
return_statement: return (targets, source)
docstring: Produces a list of outputs from the MIDL compiler
docstring_summary: Produces a list of outputs from the MIDL compiler
docstring_tokens: Produces a list of outputs from the MIDL compiler
function: def midl_emitter(target, source, env):
      """Produces a list of outputs from the MIDL compiler"""
      base, _ = SCons.Util.splitext(str(target[0]))
      tlb = target[0]
      incl = base + '.h'
      interface = base + '_i.c'
      targets = [tlb, incl, interface]
  
      midlcom = env['MIDLCOM']
  
      if midlcom.find('/proxy') != -1:
          proxy = base + '_p.c'
          targets.append(proxy)
      if midlcom.find('/dlldata') != -1:
          dlldata = base + '_data.c'
          targets.append(dlldata)
  
      return (targets, source)
function_tokens: def midl_emitter ( target , source , env ) : base , _ = SCons . Util . splitext ( str ( target [ 0 ] ) ) tlb = target [ 0 ] incl = base + '.h' interface = base + '_i.c' targets = [ tlb , incl , interface ] midlcom = env [ 'MIDLCOM' ] if midlcom . find ( '/proxy' ) != - 1 : proxy = base + '_p.c' targets . append ( proxy ) if midlcom . find ( '/dlldata' ) != - 1 : dlldata = base + '_data.c' targets . append ( dlldata ) return ( targets , source )