Hi! 
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. 
-- 
Best regards, 
Nikolai Zhubr 
 

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to