summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2015-02-03 22:54:26 +0100
committerJens Geyer <jensg@apache.org>2015-02-03 23:40:02 +0100
commitb3654df14cd4b391943eeab8124735a005fa7454 (patch)
tree424fc1e3dc1d5a50ca45d1ae687490f116e01b0f /Makefile.am
parent2663ec43ab5954d65d4bfb1509d963ac40019789 (diff)
downloadthrift-b3654df14cd4b391943eeab8124735a005fa7454.tar.gz
THRIFT-2189 add union support for go generator
Client: Go Patch: Anton Lindström <lindztr@gmail.com> and Jens Geyer This closes #369 This makes it possible to check if a field is set and skips adding new ones. Fields in unions are pointers by setting them as `t_field::T_OPTIONAL`. To be sure that exactly one and only one field is set in a union, we count the number of fields set and return an error if not exactly one field is set. This is a breaking change and will require fields in unions to be passed in as pointers.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions