[f2py] pointers supported in f90 modules?

Pearu Peterson pearu@cens.ioc.ee
Wed, 29 Aug 2001 14:56:59 +0200 (EET)


On Wed, 29 Aug 2001, Ben Cornett wrote:

> It just occurred to me that I don't really need support from f2py for module
> pointer data.  I never want to access this pointer from python.  What I do need
> is a way to keep it from segfaulting.  Is there a way of telling f2py to ignore
> certain data items?
> 

Sure. By not describing it in the signature file:
1) Generate signature file using f2py flag -h
2) Edit the signature file by removing unwanted/unneeded statements.
3) Rerun f2py on the signature file to produce *module.c files.

Regards,
	Pearu