Hi folks!

Hopefully here is the right place to ask CFFI user related questions.
What would be an appropriate CFFI definition for the following C entities?

1) typedef enum {
       a = 0x01,
       b = 0x02,
       c = a | b,
       d = 0x04 | c
   } test;

2) typedef char XXX[8];

How are the C arrays handled in CFFI?

Any feedback is very much appreciated!

Regards
Nik