On Tue, Oct 6, 2015 at 12:07 PM, Antoine Pitrou <solip...@pitrou.net> wrote:
> On Tue, 6 Oct 2015 11:00:30 +0100 > David Cournapeau <courn...@gmail.com> wrote: > > > > Assuming one of the rumour is related to some comments I made some time > > (years ?) earlier, the context was the ability to hide exported symbols. > As > > you know, the issue is not to build extensions w/ multiple compilation > > units, but sharing functionalities between them without sharing them > > outside the extension. > > Can't you use the visibility attribute with gcc for this? > We do that already for gcc, I think the question was whether every platform supported this or not (and whether we should care). > Other Unix compilers probably provide something similar. The issue > doesn't exist on Windows by construction. > > > https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Function-Attributes.html#Function-Attributes > > By the way, external packages may reuse the npy_* functions, so I would > like them not the be hidden :-) > The npy_ functions in npymath were designed to be exported. Those would stay that way. David > > Regards > > Antoine. > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > https://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion