[fpc-devel] Pointer cache for fast class/pointer access.

Sven Barth pascaldragon at googlemail.com
Thu Jan 5 14:28:07 CET 2012


Am 05.01.2012 11:22, schrieb Michael Schnell:
> On 01/04/2012 07:14 PM, Hans-Peter Diettrich wrote:
>>>>
>>>> Better question: what common capabilitiers are implemented
>>>> differently in Object and TObject?
>>> The funny thing being that TObject is a class and not an Object :-)
>>
>>
>> That makes *what* difference?
>>
> I once for some reason tried to compile TurboVision with Lazarus. In
> TurboVision TObject is an object, in Lazarus TObject is a class.
>
> As this only was a test, after some lame efforts to solve the problem, I
> gave up.

AFAIK adding unit "objects" might have solved that (I have not tested 
that and thus I am simply guessing!). At least that unit contains a 
"TObject = object" declaration (see here at line 250: 
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/inc/objects.pp?view=markup).

Regards,
Sven




More information about the fpc-devel mailing list