blob: 563abdd0d74a7cec4ac9102a41e3e50f1c3ccf3c [file] [log] [blame]
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build fuchsia,write_xunion_bytes_for_union
package fidl
func newCtx() MarshalerContext {
return MarshalerContext{
EncodeUnionsAsXUnionBytes: true,
}
}