MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / V8Array

Class V8Array

core/src/renderer/v8_wrapper.h:76–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76struct 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
99struct V8Object : V8ValueBase
100{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected