[fpc-pascal] Layout of class method
jonas.maebe at elis.ugent.be
Wed Mar 12 19:43:39 CET 2008
On 12 Mar 2008, at 18:44, Felipe Monteiro de Carvalho wrote:
> On Wed, Mar 12, 2008 at 6:10 AM, Jonas Maebe <jonas.maebe at elis.ugent.be
> > wrote:
>> To be able to interface
>> Objective-C code in an OOP way in FPC, support for some kind of
>> Objective Pascal dialect has to be added to the compiler. Everything
>> will probably break at one time or another.
> Ummm ... I'd like to keep compiler and sintax changes to absolute
> minimal. Ideally zero like now =P and I'm very close of having a fully
> object-oriented interface to objective-c.
> Alternatively maybe an extra method modifier could be easier to
> implement then a new dialect. One that guarantees that no hidden VTM
> parameter is on the method ... but I'm almost sure there is already
> some way of achieving that ...
In theory, declaring a class method as static should do that (as
mentioned before either here or on fpc-devel), but it doesn't at this
time. Feel free to file a bug.
More information about the fpc-pascal