首页 > dev > api > name > gb.realloc 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
GB.Realloc
void GB.Realloc ( void **addr , long len )

Shrinks or expands a previously allocated memory block.

You should use this function instead of realloc() if you need to allocate memory, as this function raises an error if the allocation failed, and the interpreter will tell you if you forgot to release an allocation.

参见

api/cat/memory