|
From: Babolcai A. <and...@gm...> - 2010-06-09 11:49:48
|
Hello, I am trying to tell swig to generate an enum:uint wrapper for my C++ enums. The problem is that I have to use 0x80000000 as a value in my enums . This results in this error when using VS C#2008: "error CS0266: Cannot implicitly convert type 'uint' to 'int'. An explicit conversion exists (are you missing a cast?)" Currently I am modifying the generated C# code each time by adding :uint after the enum name, but it would be great if the generated code would contain this definition automatically. Thanks in advance. -- Andrej Babolčai |