| Index: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
| index 0c98df6ee108802e99b1a329db56a62b888658b6..85b8d6bd5f2841b91d7a6aa81e8bc7b5b4e81720 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
| @@ -126,6 +126,7 @@ using {{struct.name}}Ptr = mojo::NativeStructPtr;
|
| {%- else %}
|
| class {{struct.name}};
|
| class {{struct.name}}_Reader;
|
| +class {{struct.name}}DataView;
|
| {%- if struct|should_inline %}
|
| using {{struct.name}}Ptr = mojo::InlinedStructPtr<{{struct.name}}>;
|
| {%- else %}
|
| @@ -182,6 +183,7 @@ typedef mojo::StructPtr<{{union.name}}> {{union.name}}Ptr;
|
| {% for struct in structs %}
|
| {% if struct|should_inline and not struct|is_native_only_kind %}
|
| {% include "wrapper_class_declaration.tmpl" %}
|
| +{% include "struct_data_view_declaration.tmpl" %}
|
| {% endif %}
|
| {%- endfor %}
|
|
|
| @@ -189,6 +191,7 @@ typedef mojo::StructPtr<{{union.name}}> {{union.name}}Ptr;
|
| {% for struct in structs %}
|
| {% if not struct|should_inline and not struct|is_native_only_kind %}
|
| {% include "wrapper_class_declaration.tmpl" %}
|
| +{% include "struct_data_view_declaration.tmpl" %}
|
| {% endif %}
|
| {%- endfor %}
|
|
|
|
|