TMethod stores Code and Data fields to represent a method.
TMethod = record Code: Pointer; Data: Pointer; end;
struct TMethod { void * Code; void * Data; };
The TMethod stores the Code and Data pointers for a method. This type can be used in a type cast of a method pointer to access the code and data parts of the method pointer.
You can also furnish a TMethod variable by assigning Data a pointer to an object, and assigning Code using System::TObject::MethodAddress, specifying the method name as a string parameter to that method.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|