Merge branch 'fix'
This commit is contained in:
commit
e45ed9da91
|
@ -684,7 +684,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{%- macro reg_interface(o, scope = 'types.ns') ~%}
|
||||
|
||||
{
|
||||
var ifs = new InterfaceSymbolNative("{{o.name|ns_last}}", null
|
||||
var ifs = new InterfaceSymbolNative(new Origin(), "{{o.name|ns_last}}", null
|
||||
|
||||
{% for m in o.getfuncs %}
|
||||
, new FuncSymbolNative(new Origin(), "{{m.name}}", {{m.returntype|bhl_type_ref}}, 0, null)
|
||||
|
@ -692,6 +692,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
{% endfor %}
|
||||
|
||||
);
|
||||
ifs.Setup();
|
||||
{{scope}}.{{o.name|ns_prefix}}Define(ifs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue