lua-users home
lua-l archive

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


On Thu, Sep 10, 2009 at 9:18 AM, Anurag Sharma
<anurag.sharma.101@gmail.com> wrote:
> signature of the function is as follows
> get_version(char* a, int b)

> status = extLua:get_version(Version,10)

Using the colon here causes the trouble; that line is exactly equivalent to

status = extLua.get_version(extLua,Version,10)

So you are passing 3 parameters!

Just use a dot and see what happens

steve d.