From: nobu.nokada@... Date: 2004-01-08T21:54:36+09:00 Subject: Re: convert a C/C++ array to a Ruby array Hi, At Thu, 8 Jan 2004 18:46:21 +0900, elathan@phys.uoa.gr wrote: > Actually it is part of the functionallity a C++ Class embeds: > > Foo::Foo(int n, double *f); > double * Foo::Get(); > > Okay, I can grab 'n' from the constructor and use it as the length > of the Ruby/C array, but I wanted to make sure that there is no > general way to procceed without messing with the details of the > C/C++ code. If you can get the length from Foo, you can use it. What do you really intend, pseudo array? -- Nobu Nakada