Thanks Ian.

Yes, InternalData is a struct. I'll give AnyPointer a look!

On Tue, Feb 16, 2021, 2:32 PM Ian Denhardt <[email protected]> wrote:

> Quoting Matt Stern (2021-02-16 14:21:43)
>
> > Is this safe to do? If it's relevant, team A produces with C++ and
> > team B consumes with Java.
>
> No; the representations of Void and InternalData are different (I assume
> the latter is a struct), so you'll end up with two types that are
> wire-incompatible.
>
> Rather than using `Void`, you can use `AnyPointer`, in which case this
> will work provided that `InternalData` is some pointer type (struct,
> list, or interface).
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/CAL717_Rx1J0tLYBuT5fOSgh_Z3BU_Lj1my6Ap9i09R7zzKME0A%40mail.gmail.com.

Reply via email to