From: Roger Pack Date: 2009-01-29T05:08:05+09:00 Subject: [ruby-core:21645] Re: suggestions about ruby extension for odbtp --00163646c7b62b66e404619090c9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > What i have to do? follow the library "style" and leave like that or > after the execution of the query make my own allocator of the results > keeping a big array in memory? I tried to use memcpy after > Data_Get_Struct so i can copy the memory to leave the original untouched > but nothing. The code is here > I'd probably make a copy in Ruby, or create a finalizer that frees the memory. GL. -=r --00163646c7b62b66e404619090c9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

 
 

What i = have to do? follow the library "style" and leave like that or
= after the execution of the query make my own allocator of the results
keeping a big array in memory? I tried to use memcpy after
Data_Get_Stru= ct so i can copy the memory to leave the original untouched
but nothing.= The code is here
I'd probably make a copy in Ruby, or create a finalizer that frees= the memory.
GL.
-=3Dr
--00163646c7b62b66e404619090c9--