generally no, unless you are using C++11 features or ms-bitfields On Thu, Sep 10, 2015 at 11:01 PM J Luis <[email protected]> wrote:
> Thanks, it's very late here and posting the case will take time. But one > thing before I go. > The fact that I'm using a Julia compiled with mingw64 and accessing a dll > built with VS could explain this, no? > > > > sexta-feira, 11 de Setembro de 2015 às 03:47:12 UTC+1, Jameson escreveu: > >> Yes (unless C doesn't have an equivalent representation), can you post >> the case? >> >> On Thu, Sep 10, 2015 at 10:43 PM J Luis <[email protected]> wrote: >> >>> Hi, >>> >>> When we have a immutable that mimics a C struct, are the results of >>> fieldoffsets() from the Julia side and offsetoff() at the C side supposed >>> to give the same result? >>> (Well, I already found one case were they don't) >>> >>
