[fpc-pascal]Apple Mac pointer problem
Olle Raab
olle.r at automagika.se
Sun Sep 26 15:06:59 CEST 2004
04-09-24 08.49, skrev Skybuck at home.nl följande:
>
> ----- Original Message -----
> From: "Olle Raab" <olle.r at automagika.se>
> To: <fpc-pascal at lists.freepascal.org>
> Sent: Friday, September 24, 2004 8:10 AM
> Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
>
> 04-09-24 03.33, skrev Harald Houppermans följande:
>
>>> Though looking at the code again... why is testDataPointer declared (it
>>> doesn't seem to be used) ?
>>>
>>> In other words...
>>>
>>> 1. Does the routine expect a pointer to data ?
>>> 2. Does the routine expect a pointer to a pointer to data ?
>>> 3. Or does the routine expect like a var parameter... that means the data
>>> itself... like a const reference or something ;)
>>>
>>> For example pascal and delphi file routines and streams work with number
> 3
>>> ;)
>
> This kind of parameters do not exist on tradiional mac compilers, you have
> to use pointers.
>
> ----
>
> Well that is interesting in itself...
>
> I hope this only applies to macintosh operating system API's ?
Exactly, the above apply only when calling the macos api directly.
Olle
More information about the fpc-pascal
mailing list