passing a tuple of floats to C++

Michael Hudson mwh at python.net
Tue Jul 23 11:41:15 EDT 2002


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