lua-users home
lua-l archive

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


does this mean i can do a call (using lua_call) from my C++ program into
lua's string.dump function to 'dump' out the binary of that function?

thanks...

----- Original Message ----- 
From: "Wim Couwenberg" <w.couwenberg@chello.nl>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, August 22, 2003 6:20 PM
Subject: Re: Can i get bytecode of a function


> > can i get the compiled bytecode of just a function which is runing
> > inside lua?
>
> In Lua 5, yes.  See the entry for "string.dump" in
>
>     http://www.lua.org/manual/5.0/manual.html#5.3
>
> --
> Wim
>