[fpc-pascal]Allegro

Sebastian G√ľnther sguenther at gmx.de
Mon Feb 12 15:38:40 CET 2001


Matt Emson wrote:
> 
>   XXX = procedure; cdecl;
> 
> Is that valid syntax in FPC?? Is there any difference?? Seems to work in Delphi
> 5.0+ anyway.

This works in FPC as well. For example, the OpenGL unit uses such
constructs successfully:

var
  glClearIndex: procedure(c: Single); cdecl;



- Sebastian




More information about the fpc-pascal mailing list