| 103 | // ------------ |
| 104 | |
| 105 | Vector::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 | |
| 115 | Vector::~Vector() |
| 116 | { |
nothing calls this directly
no outgoing calls
no test coverage detected