- (void)performCorrectionOnData:(float *)data nsamples:(int)nsamples;





On 2-mrt-2006, at 22:57, Brian O'Brien wrote:

I have an ObjectiveC framework that is expecting an array of floating point numbers.
In pyhon how do I setup an array of floating point numbers and pass them to the ObjectiveC framework?

Do you mean a C array, that is the method has an 'float*' argument? If that is so you'll either have
to write a C function to perform the translation, or you'll have to write a category on the class that
will accept an NSArray and translates that to a C array.

Ronald



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Pyobjc-dev mailing list
Pyobjc-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev