[Patches] [ python-Patches-1559219 ] Practical ctypes example

SourceForge.net noreply at sourceforge.net
Fri Nov 3 01:20:18 CET 2006


Patches item #1559219, was opened at 2006-09-15 11:01
Message generated for change (Comment added) made by leppton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1559219&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: leppton (leppton)
Assigned to: Thomas Heller (theller)
Summary: Practical ctypes example

Initial Comment:
Ctypes module documentation can be little hard to
grasp, so I wrote a practical example that reads all
function names from dll export directory.

It has structures, pointer arithmetic, and function
prototype with default parameters.

Maybe it fits somewhere in documentation...


----------------------------------------------------------------------

>Comment By: leppton (leppton)
Date: 2006-11-03 00:20

Message:
Logged In: YES 
user_id=1598785

Permission granted for MIT license. Can't help with ELFs,
I'm a windows guy :/

----------------------------------------------------------------------

Comment By: Thomas Heller (theller)
Date: 2006-11-02 20:41

Message:
Logged In: YES 
user_id=11105

I guess that a ~300 line module is too large to add to the
documentation.

OTOH, this module implements very useful functionality.  If
you give me the
permission to distribute this module under the MIT license,
I would like to
add it to a 'ctypeslib' supplemental package (which will
also contain other
useful stuff).

Oh, and the same functionality for ELF-based platforms would
be very nice ;-).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1559219&group_id=5470


More information about the Patches mailing list