Hopefully fixing bhl_ref_arg with bhl_cusom_rw
This commit is contained in:
parent
0e1fd074ed
commit
a5685a99a1
|
@ -330,7 +330,9 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{%- if has_token(arg, 'bhl_ref_arg') ~%}
|
||||
var dv = stack.Pop();
|
||||
{{arg_prefix}}{{arg.name}} = dv;
|
||||
{%- if not has_token(arg.type, 'bhl_custom_rw') -%}
|
||||
{{ _self.val2native(arg.type, 'dv', arg_prefix ~ 'ref_' ~ arg.name) }};
|
||||
{%- endif ~%}
|
||||
{%- else ~%}
|
||||
var dv = stack.Pop();
|
||||
{{ _self.val2native(arg.type, 'dv', arg_prefix ~ arg.name) }};
|
||||
|
|
Loading…
Reference in New Issue