MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Vector

Method Vector

lout/container.cc:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103// ------------
104
105Vector::Vector(int initSize, bool ownerOfObjects)
106{
107 DBG_OBJ_CREATE ("lout::container::untyped::Vector");
108
109 numAlloc = initSize == 0 ? 1 : initSize;
110 this->ownerOfObjects = ownerOfObjects;
111 numElements = 0;
112 array = (Object**)malloc(numAlloc * sizeof(Object*));
113}
114
115Vector::~Vector()
116{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected