lua-users home
lua-l archive

Re: Zero-based arrays with the FFI

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

AltStyle によって変換されたページ (->オリジナル) /