[fpc-devel]bugs to close

Johannes Berg johannes at sipsolutions.com
Wed Nov 26 14:19:28 CET 2003


> I agree with you, but not everyone agrees here. That is the reason why it
> is still open

Just my 2 cents worth:

If you know what you're doing, you can export it:

procedure TMyClass.ExpoFunc;
begin
end;

procedure TMyClass_ExpoFunc(const obj: pointer); export;
begin
  TMyClass(obj).ExpoFunc;
end;

Granted, its more code to write, but its a bit of a safeguard. If you
don't know what you're doing exporting a method would be a bad idea.

johannes
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <johannes at sipsolutions.de>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031126/93c2753c/attachment.sig>


More information about the fpc-devel mailing list