from wrap_generator import * # The module module = module_(full_name = "pytriqs.wrap_test.test_g", doc = " Doc of my_module ") module.add_include("") module.add_include("") module.add_function (name = "make_bgf", signature = "block_gf_view (double a)", doc = "DOC of print_a") module.add_function (name = "pass_bgf", signature = "void (block_gf_view g) ", doc = "DOC of print_a") if __name__ == '__main__' : module.generate_code(mako_template = sys.argv[1], wrap_file = sys.argv[2]) module.generate_py_converter_header(mako_template = sys.argv[3], wrap_file = sys.argv[4])