Getting rid of unused @bhl_itype
This commit is contained in:
parent
34c6ed167c
commit
4a626df4f7
|
@ -17,7 +17,7 @@ Here the example of bindings declaration:
|
|||
) : float
|
||||
|
||||
struct Vector2
|
||||
@bhl_native_class:Vector2 @bhl_custom_rw @bhl_no_itype
|
||||
@bhl_native_class:Vector2 @bhl_custom_rw
|
||||
|
||||
x : float
|
||||
y : float
|
||||
|
@ -54,4 +54,4 @@ Usage example:
|
|||
'meta' => $meta
|
||||
]
|
||||
)
|
||||
);
|
||||
);
|
||||
|
|
|
@ -37,8 +37,7 @@ function supported_tokens()
|
|||
'bhl_get',
|
||||
'bhl_set',
|
||||
'bhl_ref_arg',
|
||||
'bhl_bin_op',
|
||||
'bhl_itype'
|
||||
'bhl_bin_op'
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -493,11 +493,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{%- if has_token(type, 'bhl_custom_rw') -%}
|
||||
{{value}}.Encode({{native}})
|
||||
{%- else -%}
|
||||
{%if has_token(type, "bhl_itype") -%}
|
||||
{{value}}.SetObj({{native}}, {{native}}?.GetIType())
|
||||
{%- else -%}
|
||||
{{value}}.SetObj({{native}}, BHL_Types.Type_{{type.name|norm_name}})
|
||||
{%- endif -%}
|
||||
{{value}}.SetObj({{native}}, BHL_Types.Type_{{type.name|norm_name}})
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in New Issue