fpc/tests/test/tfwork1.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

14 lines
228 B
ObjectPascal

{ %target=darwin }
{ %cpu=i386,powerpc }
{$linkframework Carbon}
type
CFStringRef = pointer;
function CFSTR( c: PChar ): CFStringRef; external name '___CFStringMakeConstantString'; mwpascal;
begin
CFSTR('hello');
end.