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") module.add_function (name = "make_sgf", signature = "gf_view (double a)", doc = "DOC of print_a") module.add_function (name = "pass_sgf", signature = "void (gf_view g)", doc = "DOC of print_a") if __name__ == '__main__' : module.generate_code()