| Index: Source/bindings/templates/conversions.cpp
|
| diff --git a/Source/bindings/templates/conversions.cpp b/Source/bindings/templates/conversions.cpp
|
| index cb48705d6c57b8ea7919d39c604f3986987ec2f3..fdf9d7815aed9abea7f9c0e074b5894594c9be78 100644
|
| --- a/Source/bindings/templates/conversions.cpp
|
| +++ b/Source/bindings/templates/conversions.cpp
|
| @@ -29,3 +29,12 @@ if ({{item.check_expression}})
|
| {% endif %}{# item.check_expression #}
|
| {% endif %}{# item.error_message #}
|
| {% endmacro %}
|
| +
|
| +
|
| +{% macro declare_enum_validation_variable(enum_values) %}
|
| +static const char* validValues[] = {
|
| +{% for enum_value in enum_values %}
|
| + "{{enum_value}}",
|
| +{% endfor %}
|
| +};
|
| +{%-endmacro %}
|
|
|