Manipulating lua2C from Lua

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Manipulating lua2C from Lua

Pablo Saldo
How can I directly manipulating lua2C from Lua? I need to pass some args to
C, from a function called from another function, that was called from C,
such as lua_dostring('f("how", t.x, 4)'). Then I need f results into Lua2C,
with the results count in lua2C(1).

  (o,o)  Pablo Saldo  -  [hidden email]
  {`"'}  FUNDACAO UNIVERSIDADE FEDERAL DO RIO GRANDE
  -"-"-  ENGENHARIA DE COMPUTACAO

Reply | Threaded
Open this post in threaded view
|

Re: Manipulating lua2C from Lua

Roberto Ierusalimschy
I didn't understand exactly what you want to do, but it seems that the
"call" function could solve your problems.

-- Roberto