[Lazarus] Pointer type handling

Kostas Michalopoulos badsectoracula at gmail.com
Tue Dec 10 11:54:04 CET 2013


On Mon, Dec 9, 2013 at 4:35 PM, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> procedure TImageDrawer.Draw(ABuffer: Pointer);
> begin
>   ...
>   if MyImage.DataType = "Uint16" then
>     data = PWord(ABuffer)^
>   else
>   if MyImage.DataType = "Uint8" then
>     data = PByte(ABuffer)^;
> end;

What is "data"?




More information about the Lazarus mailing list