On 1/7/07, Robert Kern <[EMAIL PROTECTED]> wrote:

Charles R Harris wrote:


<snip>

No, but as with mtrand, most of those arise from the fact that these
functions
are implemented in files other than the C file that contains the Python
module
code. In order for them to be called from the Python module code, they
need to
be exported, IIRMCC (If I Remember My C Correctly). This appears to be
true of
essentially every other extension module in my site-packages, so I don't
think
it's going to be much of a problem.


I don't think unnecessary public symbols are much of a problem, either, but
it bears on the question of breaking up the core numpy files. The parts
could be treated in the same way, i.e., compiled separately and linked, or
they could be treated as you suggested previously, declared static and the
code included into one base file. I suspect the inclusion route is a bit
easier from a portability standpoint, long link lists can be a problem and
the making of libraries is platform dependent.

Chuck
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to