[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The meaning of 'sugar' [Forked from Re: Why do we have ipairs?]
- From: Tom N Harris <telliamed@...>
- Date: Fri, 13 Jun 2014 20:33:46 -0400
On Friday, June 13, 2014 08:01:44 PM Rena wrote:
> That's what I've been doing for enums. I forgot all about luaL_checkoption,
> but it seems so silly to use a strcmp() loop when you can use a table.
I thought I was feeling a sense of déjà vu. Seems I was right.
Re: Converting strings to enum values (C API)
http://lua-users.org/lists/lua-l/2013-12/msg00159.html
--
tom <telliamed@whoopdedo.org>