This may be a repost as I got a bounce...<br>
<br>
<br>
The problem I am looking at is that SDL uses un-named enums quite a
lot. In addition it does arithmetic on them to create other enums...<br>
<br>
enum<br>
{<br>
a_value,<br>
another_value,<br>
}<br>
<br>
then it does<br>
<br>
#define MAKE_MASK (n) (1<<n)<br>
<br>
enum<br>
{<br>
MAKE_MASK(a_value),<br>
MAKE_MASK(another_value)<br>
}<br>
<br>
In order to do this I can define a lisp function in my swig interface
which does the same thing, but for that to work you need someway of
getting to the value of the first enums.<br>
<span>
<br>
Justin</span>