| Index: Source/bindings/templates/union.h
|
| diff --git a/Source/bindings/templates/union.h b/Source/bindings/templates/union.h
|
| index ac47522a903a2312ebb906efb2ef55a1356f0810..24d0bb7373bf82186c797fd43e0c24633469346c 100644
|
| --- a/Source/bindings/templates/union.h
|
| +++ b/Source/bindings/templates/union.h
|
| @@ -28,6 +28,7 @@ public:
|
| bool is{{member.type_name}}() const { return m_type == {{member.specific_type_enum}}; }
|
| {{member.rvalue_cpp_type}} getAs{{member.type_name}}() const;
|
| void set{{member.type_name}}({{member.rvalue_cpp_type}});
|
| + static {{container.cpp_class}} from{{member.type_name}}({{member.rvalue_cpp_type}});
|
|
|
| {% endfor %}
|
| {% if container.needs_trace %}
|
|
|