[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to know calling convention inside __index function
- From: "John Labenski" <jlabenski@...>
- Date: Wed, 30 May 2007 17:29:26 -0400
On 5/30/07, PA <email@example.com> wrote:
On May 30, 2007, at 23:13, John Labenski wrote:
> So... can you determine if () was on the call to __(new)index and that
> a function is expected?
> Or that a '.' vs. a ':' was used?
But never say never :P
Oh well, so much for trying to be "clever".
Thanks, you've saved me from having to trace though the lua C code to
see if I was missing anything.
ps. I have to use the standard version of lua since wxLua is loadable
as a module, so I can't hack the C internals.