Proper retain for any Val in args
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
d5e8a9fe58
commit
8871e94a1b
|
@ -448,7 +448,8 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{%- macro val2native(type, value, native, is_arg = false) -%}
|
||||
{# any special case #}
|
||||
{%- if type == 'any' -%}
|
||||
{{native}} = {{value}}
|
||||
{{native}} = {{value}};
|
||||
{{native}}.Retain();
|
||||
{%- else -%}
|
||||
|
||||
{%~ if type is instanceof('\\mtgMetaFunc') -%}
|
||||
|
|
Loading…
Reference in New Issue