[fpc-pascal] Layout of class method

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Mar 12 01:41:02 CET 2008


Hello,

I'd just like to confirm. Considering the following class method:

{$mode delphi}

interface

type

  TMyController = class(NSObject)
  public
    class function
applicationShouldTerminateAfterLastWindowClosed(param1: objc.id;
     param2: SEL; theApplication: objc.id): cbool; cdecl;
  end;

---
Does it have the exact same layout as the procedure bellow? i.e.
without hidden Self parameter.

function  applicationShouldTerminateAfterLastWindowClosed(param1: objc.id;
     param2: SEL; theApplication: objc.id): cbool; cdecl;

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list