[fpc-devel] Publishing symbol outside of "exports"
Anton Kavalenka
anton.k at tut.by
Mon Nov 4 12:23:36 CET 2013
Dear FPC-All!
If there is possibility publishing .SO export symbol outside the main
file exports section?
I'm playing with http://bugs.freepascal.org/view.php?id=17805
I can include into .SO project the following unit. It compiles but does
not export symbol.
unit reshdr;
{$mode objfpc}
interface
var rh : pointer; external name 'FPC_RESLOCATION';
implementation
exports
rh;
end.
but FPC_RESLOCATION gets exported only when mentioned in main module
export section.
regards,
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20131104/90a5c2dd/attachment.html>
More information about the fpc-devel
mailing list