[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Registering C funcs with args
- From: Jose Mendoza <joseymendoza@...>
- Date: Sun, 14 Jul 2002 21:35:29 -0700 (PDT)
Hi! I'm new to Lua, and I was wondering, how do you
register C functions with arguments in Lua? I've read
the reference manual, and I think there's no example
of that there.
BOOL DisplayString(lua_State * L, const char
*pString);
How would you register something like this? Or is
wrong in the first place? The original function was
without the lua_State (obviously).
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com