Win32 Extensions From C module

Gerhard Häring gerhard.haering at gmx.de
Sun Feb 16 16:28:31 EST 2003


Dale Hirt wrote:
> Hi all,
> 
> I am currently working on the subversion
> (http://subversion.tigris.org) python bindings.  It utilizes swig to
> help build some of the code, however, that is not a main concern.
> 
> I have a function that can take in a PyObject *, and I have figured
> out how it can determine if the type is a string, a FILE *, or an
> int.  What I currently cannot do is check, when only compiling on
> Win32, if it's type is a HANDLE.  The Win32 extensions define a
> PyHANDLE object, yet short of keeping a copy of his source code tree
> around, I don't know how I can say PyHANDLE_Check(), or get out the
> underlying HANDLE.

I'd just include the relevant .h file of the win32 extensions in my
project.

> [...] Is there a mailing list specifically for Win32 extensions,
> [...]

%google python win32 mailing list

==> http://mail.python.org/mailman/listinfo/python-win32

Gerhard
-- 
Favourite database:             http://www.postgresql.org/
Favourite programming language: http://www.python.org/
Combine the two:                http://pypgsql.sf.net/
Embedded database for Python:   http://pysqlite.sf.net/




More information about the Python-list mailing list