lua-users home
lua-l archive

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

On Fri, Apr 19, 2019 at 3:35 PM Milind Gupta <> wrote:
> test.tostring(a)
Pointer returned is 0x000000000022F598
Number at the pointer is 2291096
Creation pointer is 0x000000000022F598
Number at creation pointer is 2291096

There's a clue here: the number you're getting in this output (2291096 base-10) is equal to the pointer (22F598 base-16) according to my programmer's calculator.

Unfortunately, my C skills are too rusty to debug beyond that.