lua-users home
lua-l archive

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


On Sep 24, 2015 2:28 PM, "Ervin Hegedüs" <airween@gmail.com> wrote:
>
> Hi Tim
>
> thanks for the answer,
>
> On Thu, Sep 24, 2015 at 10:14:22AM -0700, Tim Hill wrote:
> >
> > > On Sep 24, 2015, at 4:40 AM, Ervin Hegedüs <airween@gmail.com> wrote:
> > >
> > >
> > > right, thanks. I'll review the lua_setfield(), after the first
> > > view, I've seen many other functions, eg. lua_creattable() (which
> > > also doesn't exists in the docs, as example - that's no problem,
> > > I just write this, because I'm learning it now...).
> > >
> > >
> >
> > Have you consulted the Lua reference?
> >
> > http://www.lua.org/docs.html
> >
> > This does indeed describe ALL the Lua C API in detail, including lua_createtable().
>
> yes, lua_createtable() is there, but - as I wrote - lua_seti() is
> exists only in Lua 5.3. I've followed this link:
> http://www.lua.org/pil/24.2.html
>
> and this doesn't contain the lua_seti(). Anyway, that's no
> problem, I think that slowly I collect all necessary info, what I
> need. If not, I'll ask you here :).
>
>
> Thanks,
>
> a.
>
>
> --
> I � UTF-8
>

In earlier versions you can usually use lua_rawseti instead.