On Jul 6, 2009, at 11:51 PM, Gabriel Genellina wrote:

En Mon, 06 Jul 2009 13:29:21 -0300, Philip Semanchuk
<phi...@semanchuk.com> escribió:
On Jul 6, 2009, at 12:10 PM, Diez B. Roggisch wrote:
Philip Semanchuk wrote:

I can't figure out how to map a C variable of size_t via Python's
ctypes module.

from ctypes import c_size_t

D'oh! [slaps forehead]

That will teach me to RTFM. [...] You'd be surprised at the amount of Googling I did without learning this on my own.

Yep, seems like these terms in particular are hard to find. Searching for +ctypes +size_t, the first "good" result comes only at page 3. Bad luck...
:(

Fortunately, through my ignorance I may provide enlightenment...this conversation is now hit #3 on page 1 =)

If I paste the URL here, will I create an infinite loop?
http://www.google.com/search?q=%2Bctypes+%2Bsize_t


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to