Index: mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl |
index 964b25438e27b10cbaa00b89c5c2a3d03751d202..320a1b5a50477534f93945c1f2dcf38ce627fd1f 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl |
@@ -75,6 +75,9 @@ using {{enum|get_name_for_kind(flatten_nested_kind=True)}}_Data = |
{#--- Interface parameter definitions #} |
{%- for interface in interfaces %} |
{%- for method in interface.methods %} |
+{%- if method.ordinal_comment %} |
+// {{method.ordinal_comment}} |
+{%- endif %} |
{%- set method_name = "k%s_%s_Name"|format(interface.name, method.name) %} |
constexpr uint32_t {{method_name}} = {{method.ordinal}}; |
{%- set struct = method.param_struct %} |