Ruby Inline

How to pass an integer array to a C function, in RubyInline???

Hi Unni

How to pass an integer array to a C function, in RubyInline???

This might help:

It passes an array into an RARRAY in a C function, but you can
probably extrapolate from there. There's a second (previous) article
about RubyInline here:

http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.htm

Good luck!

···

On 10/24/06, unni.tallman <unni.tallman@gmail.com> wrote:

--
thanks,
-pate
-------------------------

for this one :

Not Found

···

pat eyler <pat.eyler@gmail.com> wrote:

http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.htm

> http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.htm

for this one :

Not Found

(sorry, I dropped an l off the end. sloppy cut-n-paste)

···

On 10/24/06, Une Bévue <pere.noel@laponie.com.invalid> wrote:

pat eyler <pat.eyler@gmail.com> wrote:

--
thanks,
-pate
-------------------------

Une Bévue wrote:

···

pat eyler <pat.eyler@gmail.com> wrote:
> http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.htm
for this one :
Not Found

The trailing 'l' got lost. Should be: