[SciPy-user] C++ extensions
prabhu_r at users.sf.net
Tue Nov 9 00:35:49 CST 2004
>>>>> "DG" == David Grant <david at dwavesys.com> writes:
DG> David Grant wrote:
>> wrong. If you or anything else can help me, it would be
DG> Grr....I figured it out. I need to use the headers= arg.
DG> It isn't documented on scipy.org. Grrr.... I'll email Eric
DG> Jones and politely inform him. :-)
Well, the inline command is fully documented in the sources. :) Look
132 def inline(code,arg_names=,local_dict = None, global_dict = None,
133 force = 0,
135 verbose = 0,
136 support_code = None,
137 headers = ,
139 type_converters = None,
142 """ Inline C/C++ code within Python scripts.
[... snipped long docs ...]
Also, if you look at the examples directory the swig2_example.py and
vtk_example.py use the headers. I know, this is perhaps no excuse for
lack of docs but using the sources is generally a good idea. :)
I also think Fernando's examples ought to be cleaned up sometime and
put in the examples directory. It sure covers a lot of ground!
For now perhaps a link to his examples would be a good idea.
This is from an older mail from him on this list::
original source here:
More information about the SciPy-user