lua-users home
lua-l archive

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


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