Pointer to memory obtained from the native heap via a call to malloc. In some cases it might be necessary to use memory obtained from malloc. For example, Memory helps accomplish the following idiom:
void *buf = malloc(BUF_LEN * sizeof(char)); call_some_function(buf); free(buf);
The {@link #finalize} method will free allocated memory whenthis object is no longer referenced. @author Sheng Liang, originator @author Todd Fast, suitability modifications @author Timothy Wall @see Pointer
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |