lua-users home
lua-l archive

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

Anyone ever do/think of doing this?

Use the LUA state to create an easy way to pass data between C functions, without ever actually executing any LUA script. The state would act as a message holder, using the stack functions.

Any idea on the extra overhead of such a method?

lua_pushstring(LS,"This is a string!");

like that... ?


Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free!