[fpc-devel] Valid macpas syntax ?

Marc Weustink marc at dommelstein.net
Sun Dec 3 18:05:40 CET 2006


Hi,

While using lazarus's finddeclaration I ran in to following "errors",
and I wonder if it is a valid syntax. Since I'm not that deep into
macpas syntax, I ask it here.


1) using out as parametername

[FPCMacOSAll:16450]
type
  CGFunctionEvaluateCallback = procedure( info: UnivPtr; inp: {const}
Float32Ptr; out: Float32Ptr );



2) the * behind msgb (and what does it mean ?)

[FPCMacOSAll:80638]
type
  msgbPtr = ^msgb;
  msgb = record
    b_next: struct msgb *;  { next message on queue }
    b_prev: struct msgb *;  { previous message on queue }
    b_cont: struct msgb *;  { next message block of message }



Marc



More information about the fpc-devel mailing list