[C++-sig] Get parameter info of function or method

2010-09-21 Thread Simon Warg


Hi,
I'm currently generating doc for my live boost.python classes,  
instances and function. But I can't find any way to retrieve the  
parameter info of functions and its signature because it has no  
__code__ attribute due to it's written I C++. Any solution to this?

___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Get parameter info of function or method

2010-09-21 Thread Ralf W. Grosse-Kunstleve
Boost.Python generates docstrings during compilation, which you can retrieve 
with
obj.__doc__
Some examples:
http://www.boost.org/doc/libs/1_44_0/libs/python/doc/v2/docstring_options.html
Ralf



- Original Message 
From: Simon Warg 
To: "cplusplus-sig@python.org" 
Sent: Tue, September 21, 2010 6:53:40 AM
Subject: [C++-sig] Get parameter info of function or method

> 
> Hi,
I'm currently generating doc for my live boost.python classes, instances and 
function. But I can't find any way to retrieve the parameter info of functions 
and its signature because it has no __code__ attribute due to it's written I 
C++. Any solution to this?
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig