Re: [wxlua-users] wrap variable arguments

2009-05-17 Thread John Labenski
On Wed, May 13, 2009 at 6:43 PM, klaas.holwerda wrote: > > > > Currently, each binding function is crafted to get and check the input > > parameter type with the minimum of code. Allowing a table like this > > means that we'd have to look through it and assign the variables as > > they come, keep

Re: [wxlua-users] wrap variable arguments

2009-05-13 Thread klaas.holwerda
John Labenski wrote: > wxLua does not save the string name of function parameters so they > can't be looked up later. I do use this facility in Python and like > it, but I think it might bloat the wxLua bindings even more. I did realize this one is not so easy. Is it a wxLua specific thing, or lu

Re: [wxlua-users] wrap variable arguments

2009-05-13 Thread John Labenski
On Mon, May 11, 2009 at 3:59 PM, klaas.holwerda wrote: > Hi, > > I want to wrap tuples like in python, but in lua its a table initialized > for a function with{}. > This makes it possible to mention only the parameters the user wants to > specify, and not a whole range, which is hard to remember i

Re: [wxlua-users] wrap variable arguments

2009-05-13 Thread lostgallifreyan
No other responses, so I'll try. I looked at the post for twenty minutes, again later that day, and breifly the next morning, hoping to learn from it if I couldn't help, and I'm stumped. :) I can't fully understand the question. Any way to reduce it to a simple form? (not dependent on the contex

[wxlua-users] wrap variable arguments

2009-05-11 Thread klaas.holwerda
Hi, I want to wrap tuples like in python, but in lua its a table initialized for a function with{}. This makes it possible to mention only the parameters the user wants to specify, and not a whole range, which is hard to remember in position etc. But in my case certain groups of arguments are re