[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Zero-based arrays with the FFI
- From: Daurnimator <quae@...>
- Date: Sat, 19 Mar 2011 10:46:23 +1100
On 18 March 2011 21:23, Mike Pall <mikelu-1103@mike.de> wrote:
> [No, this doesn't change the 1-based semantics of {} and #, etc.]
>
> --Mike
>
I don't have luajit on me to check...
does
print(#ffi.new("double[3]"))
show 3, 2 or just error?
I question this, as getting the last element by doing #object may be invalid