Re: Zero-based arrays with the FFI
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Zero-based arrays with the FFI
- From: Geoff Leyland <geoff_leyland@...>
- Date: 2011年3月18日 18:10:31 +1300
On 18/03/2011, at 6:08 PM, Romulo wrote:
> Couldn't you just ignore the zero'th element in the case of ffi array?
> In other words, create an array with size n+1?
That was what I meant by my first option, and having tried the second for a bit, I'd say yes, that seems to be a good idea.