def match_c_top_matter(out, name): """ Generate top matter for match C file @param name The name of the output file @param out The output file object """ c_code_gen.common_top_matter(out, name) out.write("#include \"loci_log.h\"\n") out.write("#include <loci/loci.h>\n")
def match_h_top_matter(out, name): """ Generate top matter for the C file @param name The name of the output file @param ih_name The name of the internal header file @param out The output file object """ c_code_gen.common_top_matter(out, name) out.write(""" #include <loci/loci_base.h> """)