Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::memory::Renew Macro
C++
#define Renew(type,p,sz) ((type*)Reallocate(p, sizeof(type)*sz))
Parameters 
Description 
type 
type to use for sizeof(type) * sz for resulting size. 
pointer to realloc 
sz 
count of elements in the array 

Reallocates an array of type.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!