Hi Mike, FWIW, I'm not sure if the authors of c-capnproto pay attention to this mailing list. You might have to contact them more directly. (Sorry, I've never used it myself.)
-Kenton On Tue, Jul 16, 2019 at 9:11 PM <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/capnproto/497475f7-ece4-418d-9be0-c7826b445371%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJouXQ%3Dc5m4PvJcJ_QZ-tGp1R1oBhXZyM%3D-rQQ2PqfD-aQcRXg%40mail.gmail.com.
