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

Method createStack

hi_scripting/scripting/api/FixLayoutObjects.cpp:361–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361var Factory::createStack(int numElements)
362{
363 if (initResult.wasOk())
364 {
365 auto newElement = new Stack(getScriptProcessor(), numElements);
366 newElement->compareFunction = compareFunction;
367 newElement->init(this);
368 arrays.add(newElement);
369 return var(newElement);
370 }
371
372 return var();
373}
374
375
376

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected