A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2010-March/570205.html below:

Passing FILE * types using ctypes

Passing FILE * types using ctypes Passing FILE * types using ctypesZeeshan Quireshi zeeshan.quireshi at gmail.com
Wed Mar 3 18:50:19 EST 2010
Hello, I'm using ctypes to wrap a library i wrote. I am trying to pass
it a FILE *pointer, how do i open a file in Python and convert it to a
FILE *pointer. Or do i have to call the C library using ctypes first,
get the pointer and then pass it to my function.

Also, is there any automated way to convert c struct and enum
definitions to ctypes data types.

Zeeshan

More information about the Python-list 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