On 07 Feb 2008, at 10:56, Peter Vreman wrote:

Disabling self is not possible. It is required and also used in our RTL:

     class function TObject.InstanceSize : SizeInt;
       begin
          InstanceSize:=pSizeInt(pointer(self)+vmtInstanceSize)^;
       end;

Instance size is a regular class method, not a static class method.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to