[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: default table in C functions
- From: Drake Wilson <drake@...>
- Date: Wed, 5 Jan 2011 07:37:32 -0700
Quoth jseb <email@example.com>, on 2011-01-05 15:32:51 +0100:
> The problem was that nothing was retrieved.
> So i've dumped the lua stack, at the very beginning of my C function.
> ** STACK DUMP (top: 2) **
> type [table] unknown @ 1 <- ??? unknown table
> type [table] unknown @ 2 <- my table
Could you perhaps show more of the source for your function, and how
you're calling it in Lua? In particular, if you call a function with
method syntax, there's an implicit first argument for the self-object,
which is often a table.
---> Drake Wilson