[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Newby question: How to change __index userdata method in C?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 3 Dec 2009 13:47:10 -0200
> Reading the Lua manual can be very frustrating. There are no code
> snippets given except pushing some number values around. But how to
> use the push_cclosure functions, lua_getmetatable, etc. in general
> usecases completely stays in the dark (except one tries to understands
> a l l of Lua in the complete picture)
The Lua manual is a "reference" manual. Its intend is not to teach the
language, but to document it. There are several other books intended
to teach Lua.
-- Roberto