1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Improve stringify of expressions

This commit is contained in:
Ted John
2020-02-24 19:25:18 +00:00
parent ae0c2638e3
commit dfd45651dc
4 changed files with 122 additions and 67 deletions

View File

@@ -115,6 +115,7 @@ void dukglue_register_property(duk_context* ctx,
duk_uint_t flags = DUK_DEFPROP_HAVE_GETTER
| DUK_DEFPROP_HAVE_SETTER
| DUK_DEFPROP_SET_ENUMERABLE
| DUK_DEFPROP_HAVE_CONFIGURABLE /* set not configurable (from JS) */
| DUK_DEFPROP_FORCE /* allow overriding built-ins and previously defined properties */;