Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

TRemember

Structure to remember memory allocations

Declaration

Source position: intuition.pas line 1051

type TRemember = record

  NextRemember: PRemember;

  

Next memory block in List

  RememberSize: LongWord;

  

Size of Memory Block

  Memory: PByte;

  

Pointer to the allocated memory

end;

Description

This structure is used for remembering what memory has been allocated to date by a given routine, so that a premature abort or systematic exit can deallocate memory cleanly, easily, and completely

See also

AllocRemember

  

Allocate Memory with tracking to make freeing easy.

FreeRemember

  

Free memory allocated by calls to AllocRemember().


Documentation generated on: 2021-07-30