Hi, 

I'm finding my way around the c-capnproto implementation (from the 
OpenSourceRouting Github repository 
<https://github.com/opensourcerouting/c-capnproto>), and while using its 

$C.fieldgetset;
using C = import "/c.capnp";

accessors to write struct-members directly, was wondering whether it was 
yet able to do the same for union fields? It certainly understands how to 
write them as part of an enclosing type in the relevant write_MyType 
functions, but there doesn't appear to be the equivalent of a 
MyType_set_unionField.

I strongly suspect that it's either a misapprehension on my part, but any 
tips or background would be helpful.

Thanks,

Mike


-- 
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].
Visit this group at https://groups.google.com/group/capnproto.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/497475f7-ece4-418d-9be0-c7826b445371%40googlegroups.com.

Reply via email to