Exemplo n.º 1
0
def renderInclude(out, definition):
    hppincludes = includes.get(definition.name, [])
    if hppincludes: print >> out

    for include in hppincludes:
        print >> out, "#include <cssompp/%s.hpp>" % include

    print >> out
    print >> out, "#include <cssom/typedefs.h>"
Exemplo n.º 2
0
def renderInclude(out, definition):
  hppincludes = includes.get(definition.name, [])
  if hppincludes: print >>out

  for include in hppincludes:
    print >>out, "#include <cssompp/%s.hpp>" % include

  print >>out
  print >>out, "#include <cssom/typedefs.h>"
Exemplo n.º 3
0
def renderInclude(out, definition):
    hppincludes = set()
    hppincludes.update(includes.get(definition.name, []))

    print >> out
    print >> out, "#include <cssom/typedefs.h>"

    if hppincludes: print >> out
    for include in hppincludes:
        print >> out, "#include <cssom/%s.h>" % include
Exemplo n.º 4
0
def renderInclude(out, definition):
  hppincludes = set()
  hppincludes.update(includes.get(definition.name, []))

  print >>out
  print >>out, "#include <cssom/typedefs.h>"

  if hppincludes: print >>out
  for include in hppincludes:
    print >>out, "#include <cssom/%s.h>" % include