Robert Bradshaw wrote:
> Yes, I'm thinking of "api" functions, mangled and all, but without
> the __pyx_capi object. Actually, I don't know if this would work, as
> the .so files may not be loaded in the right order.

Well, it wouldn't work due to symbol export restrictions (as Dag noted).
Plus, you'd loose a lot for basically no gain. The current mechanism is
arbitrarily portable, almost as fast as a direct call, and provides a
simple form of module encapsulation to support future API extensions
without breaking existing modules.

If you want inlined functions and/or direct calls, use .pxd inline
functions and/or include or link your file into the module, instead of
using separate modules.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to