blob: 8c58d3fc2a1301c5292f9ab32828f1c757efb61c [file] [log] [blame]
{{/*
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
*/}}
{{- define "Filename:NaturalTypesSource" -}}
fidl/{{ .LibraryDots }}/cpp/natural_types.cc
{{- end }}
{{- define "File:NaturalTypesSource" -}}
{{- UseUnified -}}
// WARNING: This file is machine generated by fidlgen.
{{ range $experiment := .Experiments }}
// fidl_experiment = {{ $experiment }}
{{- end }}
#include <{{ .Library | Filename "NaturalTypesHeader" }}>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
{{ range .Structs }}{{ template "Struct:NaturalTypesSource" . }}{{ end }}
{{ range .Tables }}{{ template "Table:NaturalTypesSource" . }}{{ end }}
{{ range .Unions }}{{ template "Union:NaturalTypesSource" . }}{{ end }}
{{ range .Consts }}{{ template "Const:NaturalTypesSource" . }}{{ end }}
#pragma clang diagnostic pop
{{ EndOfFile }}
{{- end }}