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

Function EnsureFloatStorage

include/cpp/VirtualArray.h:210–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209 }
210 inline void EnsureFloatStorage()
211 {
212 switch(store)
213 {
214 case hx::arrayNull:
215 case hx::arrayFloat:
216 case hx::arrayObject:
217 case hx::arrayFixed:
218 return;
219 case hx::arrayInt:
220 case hx::arrayInt64:
221 case hx::arrayEmpty:
222 MakeFloatArray();
223 break;
224 case hx::arrayBool:
225 case hx::arrayString:
226 MakeObjectArray();
227 break;
228 }
229 }
230
231 inline void EnsureIntStorage()
232 {

Callers 2

EnsureArrayStorageMethod · 0.85
EnsureStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected