passing a tuple of floats to C++
Joe Connellan
joec at mill.co.uk
Tue Jul 23 12:54:34 EDT 2002
only that I didn't know about it ;) (new to extending) got it sorted now,
thanks.
Michael Hudson wrote:
> Joe Connellan <joec at mill.co.uk> writes:
>
> > How would I go about passing a tuple of floats of an arbitrary (but
> > large) size to C++ - would I use PyArg_ParseTuple()?
>
> I wouldn't. What's wrong with PyTuple_GetItem?
>
> Cheers,
> M.
>
> --
> ARTHUR: Don't ask me how it works or I'll start to whimper.
> -- The Hitch-Hikers Guide to the Galaxy, Episode 11
More information about the Python-list
mailing list