Marcus Wanner wrote:
On 8/3/2009 3:45 AM, Diez B. Roggisch wrote:
But you can cast the resulting pointer to an array of larger size, and there you are.

Ah, that makes sense. I had forgotten about ctypes.cast().

You *can* shoot yourself in the foot with Python, you just have to aim much more carefully than you do with C/C++.

-tkc


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

Reply via email to