Experimenting with proper object type for 'any'
This commit is contained in:
parent
d4ed9a50b1
commit
bbbfc2c011
|
@ -449,7 +449,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{%- macro native2val(type, native, value) -%}
|
||||
{# any special case #}
|
||||
{%- if type == 'any' -%}
|
||||
{{value}} = {{native}}
|
||||
{{value}}.SetObj({{native}}, Types.Any)
|
||||
{# bhl functor special case #}
|
||||
{%- elseif type == "ConfScript" -%}
|
||||
{{value}}.obj = {{native}}.fct.obj
|
||||
|
|
Loading…
Reference in New Issue