[pygccxml-development] Exposing templates
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2006-06-19 15:46:48
|
How are people generating bindings against template classes using the module_builder interface? The old experimental pypp api had a helper method of the ModuleBuilder that allowed the user to pass a template type and an alias name. Then when the module builder parse() method was run the module builder would automatically generate the needed code to instantiate the template type and create a typedef from the template type to the alias so the user could use the alias to look up the type later. If you are currently exposing template classes with pyplusplus, are you currently just manually coding something like this? Does anyone have any code that could be turned into something reusable to put into pyplusplus? -Allen |