2014-05-08 22:15:15 +02:00
|
|
|
from wrap_generator import *
|
|
|
|
|
|
|
|
# The module
|
2014-05-30 23:08:32 +02:00
|
|
|
mod = module_(full_name = "my_moduleB", doc = " Doc of my_module ")
|
2014-05-30 19:21:38 +02:00
|
|
|
mod.use_module('my_module')
|
2014-05-30 23:08:32 +02:00
|
|
|
mod.add_include("<triqs/../test/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")
|
|
|
|
|
2014-05-30 19:21:38 +02:00
|
|
|
mod.generate_code()
|
2014-05-08 22:15:15 +02:00
|
|
|
|