mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +01:00
13 lines
362 B
Python
13 lines
362 B
Python
from wrap_generator import *
|
|
|
|
# The module
|
|
mod = module_(full_name = "my_moduleB", doc = " Doc of my_module ")
|
|
mod.use_module('my_module')
|
|
mod.add_include("<triqs/../test/pytriqs/wrap_test/b.hpp>")
|
|
mod.add_include("<pytriqs/converters/my_module.hpp>")
|
|
|
|
mod.add_function (name = "print_a2", signature = "void(A a)", doc = "DOC of print_a")
|
|
|
|
mod.generate_code()
|
|
|