MCPcopy Create free account
hub / github.com/christophhart/HISE / create

Method create

hi_scripting/scripting/api/FixLayoutObjects.cpp:331–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331var Factory::create()
332{
333 if (initResult.wasOk())
334 {
335 auto b = allocator->allocate((int)getElementSizeInBytes());
336
337 auto r = new ObjectReference();
338 r->init(this, b, true);
339 singleObjects.add(r);
340
341 return var(r);
342 }
343
344 return var();
345}
346
347var Factory::createArray(int numElements)
348{

Callers 3

saveCurrentSampleMapMethod · 0.45
replaceAudioFileMethod · 0.45

Calls 5

varFunction · 0.85
wasOkMethod · 0.45
allocateMethod · 0.45
initMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected