[Mono-devel-list] Enums in mono c api

Joe Ante joe at otee.dk
Mon Mar 28 23:27:19 EST 2005


I am calling a c function using mono's internal call. In the function call i
am passing a C# enum into the c function.

How do i determine the size of the enum in the c code? It seems to be passed
by value and accepting it as a 4 byte integer seems to work but is that
always correct?

Joachim Ante

More information about the Mono-devel-list mailing list