| Index: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| index 342bb0680fb828f93965f76aa5b0e325e5449a68..e7e38548fecc5774d1bb35f961cb89795d491e60 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| @@ -124,11 +124,6 @@ const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}} = {{cons
|
| {%- include "interface_definition.tmpl" %}
|
| {%- endfor %}
|
|
|
| -{#--- Union Serialization Helpers #}
|
| -{%- for union in unions %}
|
| -{%- include "union_serialization_definition.tmpl" %}
|
| -{%- endfor %}
|
| -
|
| {%- if variant %}
|
| } // namespace {{variant}}
|
| {%- endif %}
|
| @@ -145,6 +140,11 @@ namespace mojo {
|
| {%- endif %}
|
| {%- endfor %}
|
|
|
| +{#--- Union Serialization Helpers #}
|
| +{%- for union in unions %}
|
| +{%- include "union_serialization_definition.tmpl" %}
|
| +{%- endfor %}
|
| +
|
| } // namespace mojo
|
|
|
|
|
|
|