[pygccxml-development] Py++ and docstrings for virtual method
Brought to you by:
mbaas,
roman_yakovenko
From: Scott S. <sc...@bi...> - 2011-03-14 14:52:42
|
Hi again py++ friends, I had a question concerning docstrings for virtual methods. For a normal method, my docstring extractor is working great, resulting in bindings that generate looking like this: .def( "disableDebug" , (void ( ::myManager::* )( ) )( &::myManager::disableDebug ) , "disableDebug()\nDisable debug, returning the logging output to a sane level.") However, if the method is virtual, the generated wrapper looks more like this: .def( "getFoo" , (double ( ::myManager::* )( ) )(&::myManager::getFoo) , (double ( myManager_wrapper::* )( ) )(&myManager_wrapper::default_getFoo) ); In the call to the actual wrapper, no where is my method's documentation present. Is this a limitation of py++, or of boost python? Thanks! Scott |