Mac objects and Delphi classes

Markus Gerwinski markus at gerwinski.de
Thu Oct 27 01:12:51 CEST 2005


Waldek Hebisch wrote:
> 1) Value versus reference model:
> 
> BP - value model (objects are values)
> OOE, Delphi, Mac - pointer model (object are pointer to values)

I have a question regarding your newly-proposed options:

> -fobjects-are-references -- choose reference model even if the declaration
>                             uses "object" keyword, on for Mac Pascal,
>                             off otherwise

So do I understand you right: By default (i.e. without this option), objects
will still be values, so the correct way of calling a method would be something
like `someObject^.doSomething'?

More generally spoken, without any options everything (esp. the way methods are
handled) will remain as it is now?

Regards,

  Markus




More information about the Gpc mailing list