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>"
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>"
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
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