[fpc-devel] Valid macpas syntax ?

Marco van de Voort marcov at stack.nl
Sun Dec 3 18:29:13 CET 2006


> 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 }

Looks like a goof up of some header translator. 10:1 that all three fields
should be msgbptr. Maybe the code was under ifdef and not used till now?



More information about the fpc-devel mailing list