fpc/tests/test/tfwork2.pp
Jonas Maebe a3c9dc5ec6 + support for {$linkframework x} to link to framework x (Darwin only)
+ support for {$frameworkpath x} and -Ffx to add x to the directories to
    search for frameworks (Darwin only)

git-svn-id: trunk@8165 -
2007-07-25 15:42:30 +00:00

17 lines
292 B
ObjectPascal

{ %target=linux,solaris,freebsd,win32 }
{ %fail }
{ %opt=-Sew }
{ just some random non-darwin targets }
{$linkframework Carbon}
type
CFStringRef = pointer;
function CFSTR( c: PChar ): CFStringRef; external name '___CFStringMakeConstantString'; mwpascal;
begin
CFSTR('hello');
end.