------art_19663_29926225.1209995035647
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Jan,

Alright, that makes sense, thanks for the information.  However, that
doesn't help me to understand how I can pass a Ruby array of objects to the
execute method.  Am I missing something here?  Can you help me with this?

--
Thanks!
Bryan

On Mon, May 5, 2008 at 6:31 AM, Jan Dvorak <jan.dvorak / kraxnet.cz> wrote:

> On Monday 05 May 2008 05:13:49 Bryan Richardson wrote:
>
> > static VALUE foo_new() {
>
> > static VALUE execute(VALUE foos) {
>
> ruby passes 'self' (current context) as the first argument of any C
> defined
> method, so you have to define it as:
>
> > static VALUE foo_new(VALUE self) {
>
> > static VALUE execute(VALUE self, VALUE foos) {
>
> Jan
>
>

------art_19663_29926225.1209995035647--