Allow other 'binding' guids for a proto under 'bindings' key

This commit is contained in:
Justin C. Miller
2021-01-10 01:33:48 -08:00
parent e83b1e08f5
commit 578198a6c3

View File

@@ -17,7 +17,13 @@ struct {{ name }};
struct {{ name }} struct {{ name }}
{ {
{% if guid %}static constexpr uefi::guid guid{ {{ guid }} };{% endif %} {%- if guid %}
static constexpr uefi::guid guid{ {{ guid }} };
{%- endif -%}
{%- for binding in bindings %}
static constexpr uefi::guid {{ binding.name }}{ {{ binding.guid }} };
{%- endfor %}
{% for method in methods %} {% for method in methods %}
inline uefi::status {{ method.name }}( inline uefi::status {{ method.name }}(
{%- for arg in method.args -%} {%- for arg in method.args -%}