lua-users home
lua-l archive

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


On Monday 24 October 2005 17:23, Chris Marrin wrote:
[...]
>          Object* someFunction(double num);
[...]
> To make someFunction() visible to Lua, you add this to the
> initializeClass() method (which every class needs to implement):
>
>      registerFunction("someFunction", someFunction);

How does it know what the parameters to someFunction() are? Other than that, 
this sounds really rather good.

-- 
+- David Given --McQ-+ 
|  dg@cowlark.com    | Become immortal or die!
| (dg@tao-group.com) | 
+- www.cowlark.com --+ 

Attachment: pgplbFxJn4QDU.pgp
Description: PGP signature