pere.noel
9/1/2006 6:04:00 AM
Timothy Hunter <TimHunter@nc.rr.com> wrote:
> Assuming you're using one of the rb_str_new family of functions to
> create Ruby String objects from C strings, Ruby makes a copy of the C
> string in Ruby-managed memory. In general Ruby objects are always in
> Ruby-managed memory unless you're wrapping one of your own C structures
> into a Ruby object with Data_Wrap_Struct.
ok, fine, thanks, for this precise answer !
--
une bévue