Re: python to c API, passing a tuple array

2006-04-17 Thread imdognuts
Thanks for the solution! Farshid Lashkari wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > I want to pass something like this to a C function via the Python C > > API. > > mytuple = (("string_one", 1.2, 1.3), ("string_two", 1.4, 1.5), .., > > ., ) > > This tuple is dynamic in size, it needs

Re: python to c API, passing a tuple array

2006-04-14 Thread Farshid Lashkari
[EMAIL PROTECTED] wrote: > Hi, > I want to pass something like this to a C function via the Python C > API. > mytuple = (("string_one", 1.2, 1.3), ("string_two", 1.4, 1.5), .., > ., ) > This tuple is dynamic in size, it needs to be 3 X N dimensions. each > tuple in the > tuple array is of

python to c API, passing a tuple array

2006-04-14 Thread imdognuts
Hi, I want to pass something like this to a C function via the Python C API. mytuple = (("string_one", 1.2, 1.3), ("string_two", 1.4, 1.5), .., ., ) This tuple is dynamic in size, it needs to be 3 X N dimensions. each tuple in the tuple array is of the form (string, float, float) as descri