From: Martin DeMello Date: 2009-06-16T13:58:27+09:00 Subject: Re: wrapping a C struct[] constant On Tue, Jun 16, 2009 at 1:55 AM, Joel VanderWerf wrote: > Martin DeMello wrote: >> >> If it can convert an array of structs into a ruby array, that's *all* of >> what I'm looking for. > > How is the length stored? A separate field? Or is it fixed length? In true C style, you need to pass in a pointer in which the length is returned :) I'm not thinking of anything magical; I'd expect to pass in the length as a parameter. martin