| 97 | }; |
| 98 | |
| 99 | struct V8Object : V8ValueBase |
| 100 | { |
| 101 | inline bool has(const cef_string_t *key) |
| 102 | { |
| 103 | return _.has_value_bykey(&_, key); |
| 104 | } |
| 105 | |
| 106 | inline V8Value *get(const cef_string_t *key) |
| 107 | { |
| 108 | return (V8Value *)_.get_value_bykey(&_, key); |
| 109 | } |
| 110 | |
| 111 | inline void set(const cef_string_t *key, V8ValueBase *value, cef_v8_propertyattribute_t attr) |
| 112 | { |
| 113 | _.set_value_bykey(&_, key, (cef_v8value_t *)value, attr); |
| 114 | } |
| 115 | |
| 116 | static inline V8Object *create() |
| 117 | { |
| 118 | return (V8Object *)cef_v8value_create_object(nullptr, nullptr); |
| 119 | } |
| 120 | }; |
| 121 | |
| 122 | typedef V8Value *(*V8FunctionHandler)(V8Value *const argv[], int argc); |
| 123 |
nothing calls this directly
no outgoing calls
no test coverage detected