__init__(self,
decls,
module_name,
boost_python_ns_name=' bp ' ,
call_policies_resolver_=None,
types_db=None,
target_configuration=None,
enable_indexing_suite=True,
doc_extractor=None)
(Constructor)
| source code
|
Constructor.
- Parameters:
decls (list of declaration_t) - Declarations that should be exposed in the final module.
module_name (str) - The name of the final module.
boost_python_ns_name (str) - The alias for the boost::python namespace.
call_policies_resolver_ (callable) - Callable that takes one declaration (calldef_t) as input and
returns a call policy object which should be used for this
declaration.
types_db (types_database_t) - ...todo...
target_configuration (target_configuration_t) - A target configuration object can be used to customize the
generated source code to a particular compiler or a particular
version of Boost.Python.
doc_extractor (callable) - callable, that takes as argument declaration reference and
returns documentation string
already_exposed_dbs (list of strings) - list of files/directories other modules, this module depends on,
generated their code too
- Overrides:
pygccxml.declarations.decl_visitor.decl_visitor_t.__init__
|