Chromium Code Reviews| Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
| index 21f29680ab20c006e0888f05c07466d29a9b85b7..f6bea2c5dfb613db5149cc7a21480f13fd02c877 100644 |
| --- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
| @@ -21,9 +21,11 @@ class {{struct.name}} { |
| {{struct.name}}(); |
| ~{{struct.name}}(); |
| + |
|
yzshen1
2014/10/14 21:47:21
nit: This results in two empty lines in the genera
Aaron Boodman
2014/10/14 22:30:13
I see. That is unfortunate because it means we mus
yzshen1
2014/10/14 22:47:39
I think the generated code is what the users want
Aaron Boodman
2014/10/14 23:24:57
Does the SDK checkout guarantee clang is present?
yzshen1
2014/10/15 00:09:57
I don't know. :)
|
| {% if struct|is_cloneable_kind %} |
| {{struct.name}}Ptr Clone() const; |
| {%- endif %} |
| + bool Equals(const {{struct.name}}& other) const; |
| {#--- Getters #} |
| {% for field in struct.fields %} |