2014-05-08 22:15:15 +02:00
|
|
|
from wrap_generator import *
|
|
|
|
|
|
|
|
# The module
|
2014-05-16 19:35:48 +02:00
|
|
|
mod = module_(full_name = "pytriqs.wrap_test.my_moduleB", doc = " Doc of my_module ")
|
|
|
|
mod.add_include("<triqs/../pytriqs/wrap_test/b.hpp>")
|
2014-05-20 17:45:16 +02:00
|
|
|
mod.add_include("<pytriqs/converters/my_module.hpp>")
|
2014-05-08 22:15:15 +02:00
|
|
|
|
|
|
|
mod.add_function (name = "print_a2", signature = "void(A a)", doc = "DOC of print_a")
|
|
|
|
|
|
|
|
mod.generate_code(mako_template = sys.argv[1], wrap_file = sys.argv[2])
|
2014-05-16 19:35:48 +02:00
|
|
|
mod.generate_py_converter_header(mako_template = sys.argv[3], wrap_file = sys.argv[4])
|
2014-05-08 22:15:15 +02:00
|
|
|
|