[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua/C++ binding library showdown: who's the best?
- From: David Given <dg@...>
- Date: Mon, 24 Oct 2005 17:44:54 +0100
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:
pgpNjyn4eUJxz.pgp
Description: PGP signature