lua-users home
lua-l archive

alien question: how to get the address of a buffer object?

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


Hi,
Is there a way to get the address of a buffer object? I need to store
the address of a buffer in a structure that I'll pack with
alien.struct.pack. The only solution I have found till now involves
creating another buffer just to store and later retrieve the address
of the first one.
Thanks,
Cosmin.
PS: Hope it's ok to ask questions related to lua libraries on this
list (or should I go to luaforge?)

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