A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-August/113247.html below:

[Python-Dev] Ctypes and the stdlib (was Re: LZMA compression support in 3.3)

[Python-Dev] Ctypes and the stdlib (was Re: LZMA compression support in 3.3) [Python-Dev] Ctypes and the stdlib (was Re: LZMA compression support in 3.3)Simon Cross hodgestar+pythondev at gmail.com
Sun Aug 28 13:40:43 CEST 2011
On Sun, Aug 28, 2011 at 6:58 AM, Terry Reedy <tjreedy at udel.edu> wrote:
> 2) It is not trivial to use it correctly. I think it needs a SWIG-like
> companion script that can write at least first-pass ctypes code from the .h
> header files. Or maybe it could/should use header info at runtime (with the
> .h bundled with a module).

This is sort of already available:

-- http://starship.python.net/crew/theller/ctypes/old/codegen.html
-- http://svn.python.org/projects/ctypes/trunk/ctypeslib/

It just appears to have never made it into CPython. I've used it
successfully on a small project.

Schiavo
Simon
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4