[Mono-list] C typedef to C#

Everaldo Canuto everaldo.canuto@bol.com.br
Mon, 09 Sep 2002 16:35:03 -0300


I 'm working on convert X11 header files to Mono, but I have one 
problem, how to convert C typedef instruction into C#.

Example:
typedef unsigned long XID;
typedef XID Window;

I  using "public struct XID uint {}", but generate a compiler error.

Sorry by my english, I'm from Brazil