[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LuaSQL 2.2.0] ls_sqlite3.c: error: expected expression before / token
- From: Geoff Leyland <geoff_leyland@...>
- Date: Fri, 15 Apr 2011 13:37:14 +1200
On 15/04/2011, at 10:14 AM, Gilles Ganault wrote:
> ================== dummy2.c
> #include <stdio.h>
> #include "lua.h"
>
> int luaopen_dummy (lua_State *L) {
luaopen_dummy2
> puts("Hello from dummy");
> lua_pushnil(L);
> puts("Bye from dummy");
> return 0;
> }
>
> dummy2.so:
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ dummy2.c