lua-users home
lua-l archive

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


Thank you Steve and Bhulat for relying.
I replaced : with a .

it works

Thanks again

Anurag
On Thu, Sep 10, 2009 at 12:55 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
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.