mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 02:39:27 +02:00

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 -
18 lines
198 B
ObjectPascal
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.
|