lua-users home
lua-l archive

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


On 20 January 2011 21:23, Mike Pall <mikelu-1101@mike.de> wrote:
> I hope the docs clear up many of your questions. If not, then
> please ask here. Feedback welcome!

Just to check I haven't missed anything - am I correct to think that
if I create a uint8_t by e.g. ui8 = ffi.new("uint8_t") then there's no
way of assigning to it directly from Lua. Instead I want to do ui8 =
ffi.new("uint8_t[1]") and then do ui8[0] = whatever?

Alex