[fpc-devel]Export/import methods: possible?
s001 at hotbox.ru
Mon Nov 10 17:32:32 CET 2003
Just before fpc 2.0 is out, I'd like to ask if it would really be
hard to allow to import/export methods (including constructors
and destructors) like plain functions/procedures, e.x.:
exports TMyClass.Work name 'TMyClass_Work';
procedure TMyClass.Work; external 'mylib' name 'TMyClass_Work';
The reason I ask is because (I think) this would give some
(not elegant, but at least some) way to put class(es) implementation
into a shared lib.
More information about the fpc-devel