[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Initialize a new class instance.
Source position: objpash.inc line 204
public class function TObject.InitInstance( |
instance: pointer |
):TObject; |
InitInstance initializes the memory pointer to by Instance. This means that the VMT is initialized, and the interface pointers are set up correctly. The function returns the newly initialized instance.
|
Allocate memory on the heap for a new instance |
|
|
TObject Constructor |