[Pyrex] Overlapped I/O

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Jun 25 03:29:13 CEST 2003


"Steve W. Hanawalt" <Steve.Hanawalt at silabs.com>:

> I tried this, but does this give me access from Python to the hEvent =
> member?

No, the C struct declaration on its own won't automatically give
Python access to anything. You need to wrap the C data structure in an
extension type.

Have you studied the Quick Guide to Pyrex?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list