| 74 | }; |
| 75 | |
| 76 | struct V8Array : V8ValueBase |
| 77 | { |
| 78 | inline int length() |
| 79 | { |
| 80 | return _.get_array_length(&_); |
| 81 | } |
| 82 | |
| 83 | inline V8Value *get(int index) |
| 84 | { |
| 85 | return (V8Value *)_.get_value_byindex(&_, index); |
| 86 | } |
| 87 | |
| 88 | inline void set(int index, V8ValueBase *value) |
| 89 | { |
| 90 | _.set_value_byindex(&_, index, (cef_v8value_t *)value); |
| 91 | } |
| 92 | |
| 93 | static inline V8Array *create(int length) |
| 94 | { |
| 95 | return (V8Array *)cef_v8value_create_array(length); |
| 96 | } |
| 97 | }; |
| 98 | |
| 99 | struct V8Object : V8ValueBase |
| 100 | { |
nothing calls this directly
no outgoing calls
no test coverage detected