code/Array.cpp
// TODO(dainis): Add/Insert (int,float, ..) overloaded methods needed to avoid 
// path pointers for simple types
Add/Insert (int,float, ..) overloaded methods needed to avoid
path pointers for simple types
Add / Insert ( int float .. ) overloaded methods needed to avoid path pointers for simple types
bool32 Array::Add(void* data) {
    Assert(count <= size);
    if (count >= size)  {
        if (!Extend()) {
            return false;
        }
    }
    (items + count)->data = data;
    count++;
    return true;
}
bool32 Array :: Add ( void * data ) { Assert ( count <= size ) ; if ( count >= size ) { if ( ! Extend ( ) ) { return false ; } } ( items + count ) -> data = data ; count ++ ; return true ; }
TODO(dainis): Add/Insert (int,float, ..) overloaded methods needed to avoid
path pointers for simple types
TODO ( dainis ) : Add / Insert ( int float .. ) overloaded methods needed to avoid path pointers for simple types
// Add item at the end 