[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua binding: How to implement C enum
- From: Ezequiel García <elezegarcia@...>
- Date: Thu, 15 Dec 2011 16:06:38 -0800 (PST)
--- El jue 15-dic-11, Patrick Rapin <toupie300@gmail.com> escribió:
> De: Patrick Rapin <toupie300@gmail.com>
>
> In my Pipeline project, enumeration values are strings.
> But you can OR bitfield values by just concatenating them
> with any
> not-alphanumerical separator.
> Moreover, the "~" character is used to denote AND NOT
> value
>
Did you use strtok? I remember some "strtok considered evil" or something...
Ezequiel.