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/161350393658.32515.14420830511163509920%40localhost.localdomain.

Reply via email to