fpc/tests/test/tobjcl1.pp
Jonas Maebe 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works
the same as for exporting functions/procedures and variables: add the name
    of the class to the "exports" section of the library. By default, classes
    are only visible inside a shared library.

git-svn-id: branches/objc@13765 -
2009-09-27 15:40:52 +00:00

18 lines
198 B
ObjectPascal

{ %target=darwin }
{ %cpu=powerpc,powerpc64,i386,x86_64,arm }
{ %recompile }
{ %norun }
{$mode objfpc}
{$modeswitch objectivec1}
library tobjcl1;
uses
uobjcl1;
exports
MyLibObjCClass;
end.