|
On Wed, Oct 5, 2011 at 3:27 PM, Oskar ForsslundIt's lua-trace, so it should be this code?
<matrixsmurfen@googlemail.com> wrote:
> i get wierd errors saying that i miss semicolons when i don't and such
> things
> have i missed something?
https://github.com/geoffleyland/luatrace/blob/master/c/c_hook.c
Looks fine to me. Problem might be with this line:
LUALIB_API int luaopen_luatrace_c_hook(lua_State *L)
in fact, try that without the __declspec(dllexport) first, because I
think the macro LUALIB_API might already do the trick.
steve d.