lua-users home
lua-l archive

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

On Wed, Oct 5, 2011 at 3:27 PM, Oskar Forsslund
<> wrote:
> i get wierd errors saying that i miss semicolons when i don't and such
> things
> have i missed something?

It's lua-trace, so it should be this code?

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.