Ruby Inline

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

Hi Unni

On 10/24/06, unni.tallman [email protected] wrote:

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

This might help:

http://on-ruby.blogspot.com/2006/07/rubyinline-going-bit-further.html

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!

pat eyler [email protected] wrote:

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

for this one :

Not Found

On 10/24/06, Une Bévue [email protected] wrote:

pat eyler [email protected] wrote:

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

for this one :

Not Found

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

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

Une Bévue wrote:

pat eyler [email protected] 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:
http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.html