TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ArrayResize< T > ( TMXArray< T >  array,
int  new_size,
int  reserve_size = 0 
)

sets a new size for the first dimension

Template Parameters
TType of array elements
Parameters
arrayArray for changing sizes
new_sizeNew size for the first dimension
reserve_sizeReserved
Returns
If executed successfully, it returns count of all elements contained in the array after resizing, otherwise, returns -1, and array is not resized