Here we define the exported functions, types, etc... which need to be exported through a global C pointer.
Each dictionary contains name -> index pair.
Whenever you change one index, you break the ABI (and the ABI version number should be incremented). Whenever you add an item to one of the dict, the API needs to be updated in both setup_common.py and by adding an appropriate entry to cversion.txt (generate the hash via "python cversions.py").
When adding a function, make sure to use the next integer not used as an index (in case you use an existing index or jump, the build will stop and raise an exception, so it should hopefully not get unnoticed).
Variable | full_api |
Undocumented |
Variable | multiarray_api |
Undocumented |
Variable | multiarray_funcs_api |
Undocumented |
Variable | multiarray_global_vars |
Undocumented |
Variable | multiarray_scalar_bool_values |
Undocumented |
Variable | multiarray_types_api |
Undocumented |
Variable | ufunc_api |
Undocumented |
Variable | ufunc_funcs_api |
Undocumented |
Variable | ufunc_types_api |
Undocumented |