| 1070 | |
| 1071 | private: |
| 1072 | static JSValue maxLength_get(JSContext* ctx, JSValue thisVal) |
| 1073 | { |
| 1074 | WidgetData data = GetWidgetData(thisVal); |
| 1075 | auto w = GetWindow(data._class, data._number); |
| 1076 | if (IsCustomWindow(w)) |
| 1077 | { |
| 1078 | return JS_NewInt32(ctx, GetWidgetMaxLength(w, data._widgetIndex)); |
| 1079 | } |
| 1080 | return JS_NewInt32(ctx, 0); |
| 1081 | } |
| 1082 | |
| 1083 | static JSValue maxLength_set(JSContext* ctx, JSValue thisVal, JSValue value) |
| 1084 | { |
nothing calls this directly
no test coverage detected