|
Hallo, On 6/13/07, RJP Computing <rjpcomputing@gmail.com> wrote:
> > _G.print = <insert your function here> Thanks for the quick response. I was hoping to do this in C through the C API. Can I get an example of that?
lua_pushcfuntion(L, your_print); lua_setglobal(L, "print"); Cheers, -- -alex http://www.ventonegro.org/