Re: Where is the third argument?????
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Where is the third argument?????
- From: steve donovan <steve.j.donovan@...>
- Date: 2009年9月10日 09:25:47 +0200
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.