bhl static struct methods

This commit is contained in:
wrenge 2023-10-13 16:50:00 +03:00
parent 727de643ee
commit cd57c03761
1 changed files with 5 additions and 1 deletions

View File

@ -642,7 +642,11 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
{% for m in o.getfuncs %}
{% if has_token(m, 'bhl_native_prefix') %}
{{ _self.reg_func_native(m, 'cl', '__self.', o) }}
{% if has_token(m, 'bhl_static') %}
{{ _self.reg_func_native(m, 'cl', '', o) }}
{% else %}
{{ _self.reg_func_native(m, 'cl', '__self.', o) }}
{% endif %}
{% else %}
{{ _self.method_partial(o, m, 'cl') }}
{% endif %}