Improving support for native enum types

This commit is contained in:
Pavel Shevaev 2023-09-11 14:17:48 +03:00
parent 7f6966f113
commit 2450fd0060
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
{
var en = new EnumSymbolNative(new Origin(), "{{o.name|ns_last}}"
#if !BHL_FRONT
, typeof({{o.name}})
, typeof({{token_or(o, 'bhl_native_class', o.name)}})
#else
, null
#endif