[fpc-pascal] external variable

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 29 16:32:09 CEST 2008


On 28 Sep 2008, at 22:26, Felipe Monteiro de Carvalho wrote:

> APPKIT_EXTERN NSString *NSToolbarSpaceItemIdentifier;
>
> How would it be possible to access them in Pascal?
>
> var NSToolbarSpaceItemIdentifier: CFStringRef; external;

var NSToolbarSpaceItemIdentifier: CFStringRef; cvar; external;

(the cvar specifier ensures that the name is properly mangled for the  
target platform)


Jonas



More information about the fpc-pascal mailing list