[Ruby] splatting arguments in a C extension

Aaron Patterson aaron at tenderlovemaking.com
Fri Feb 1 21:14:37 PST 2008


I'm writing a C extension, and I've got an array that I need to pass to
a function.  I need to splat the array that goes to the function though.
Anyone know how to do this?  I couldn't find much help in the docs.....

Thanks!

-- 
Aaron Patterson
http://tenderlovemaking.com/


More information about the Ruby mailing list