|
If I may make a guess, a bool has a size of 1, and the three Boolean values are being aligned to four bytes.
Have a nice day J Jim Bellinger
-----Original Message-----
In pinvoke4.cs simplestruct is defined as:
public struct
SimpleStruct { In libtest.c simplestruct is defined as:
typedef struct {
However, when mono_create_trampoline the size of the returned by: mono_class_value_size (sig->ret->data.klass, NULL) is 8. Why is it not 16? I guess the answer is it should be 16 but I'm doing something stupid. Neale Ferguson |
- [Mono-list] pinvoke4 Ferguson, Neale
- Re: [Mono-list] pinvoke4 Dietmar Maurer
- James F. Bellinger
