>>>>> "m" == mips  <mips / cyberspace.org> writes:

m> +    *px = NUM2INT(rb_ary_entry(arr, 0));
m> +    *py = NUM2INT(rb_ary_entry(arr, 1));


  best to write it, in your case

       *px = NUM2INT(RARRAY(arr)->ptr[0]);
       *py = NUM2INT(RARRAY(arr)->ptr[1]);

 NUM2INT() is a macro and you can call many times rb_ary_entry()

m> The coordinates sent to the reposition function are now good (instead
m> of the pointer values sent before :), but there is still no display of
m> the menu, so i'm lost and i dunno what is the problem.

 How do you use it ? it seems to work with me, with your modifications.


Guy Decoux