[SciPy-user] C++ extensions

Robert Kern rkern at ucsd.edu
Tue Nov 9 00:57:04 CST 2004


Prabhu Ramachandran wrote:
>>>>>>"RK" == Robert Kern <rkern at ucsd.edu> writes:
> 
> 
>     RK> I'm pretty sure that you want to put all #include's as support
>     RK> code.  Everything in 'code' gets pasted into a function body.
> 
> Well support code could be used when you want to write functions that
> you don't want to wrap but want to call in the wrapped function.  I
> think headers are the way to go if you just want to specify the
> headers to include.

Yes, indeed. Last time I had to delve into weave, I just reflexively 
used the first thing I saw (somewhat more forgivably on my part, I 
needed both headers and support functions). And then I reflexively 
passed it on to an unsuspecting David.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the SciPy-user mailing list