| Index: mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl
|
| deleted file mode 100644
|
| index fbefce2d397192a0003377c120bca8d379184fc4..0000000000000000000000000000000000000000
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl
|
| +++ /dev/null
|
| @@ -1,23 +0,0 @@
|
| -{%- macro declare_params(prefix, parameters) %}
|
| -{%- for param in parameters -%}
|
| -{{param.kind|cpp_const_wrapper_type}} {{prefix}}{{param.name}}
|
| -{%- if not loop.last %}, {% endif %}
|
| -{%- endfor %}
|
| -{%- endmacro %}
|
| -
|
| -{%- macro declare_callback(method) -%}
|
| -mojo::Callback<void(
|
| -{%- for param in method.response_parameters -%}
|
| -{{param.kind|cpp_result_type}}
|
| -{%- if not loop.last %}, {% endif %}
|
| -{%- endfor -%}
|
| -)>
|
| -{%- endmacro -%}
|
| -
|
| -{%- macro declare_request_params(prefix, method) -%}
|
| -{{declare_params(prefix, method.parameters)}}
|
| -{%- if method.response_parameters != None -%}
|
| -{%- if method.parameters %}, {% endif %}
|
| -const {{declare_callback(method)}}& callback
|
| -{%- endif -%}
|
| -{%- endmacro -%}
|
|
|