MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / EnsureBoolStorage

Function EnsureBoolStorage

include/cpp/VirtualArray.h:170–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 void EnsureStorage(const T &inValue) { EnsureObjectStorage(); }
169
170 inline void EnsureBoolStorage()
171 {
172 switch(store)
173 {
174 case hx::arrayNull:
175 case hx::arrayObject:
176 case hx::arrayFixed:
177 case hx::arrayBool:
178 return;
179 case hx::arrayEmpty:
180 MakeBoolArray();
181 break;
182 case hx::arrayInt:
183 case hx::arrayInt64:
184 case hx::arrayFloat:
185 case hx::arrayString:
186 MakeObjectArray();
187 break;
188 }
189 }
190 inline void EnsureStringStorage()
191 {
192 switch(store)

Callers 2

EnsureArrayStorageMethod · 0.85
EnsureStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected