As title, the c-API has changed very much and our code should probably be updated using: https://github.com/numpy/numpy/blob/main/tools/replace_old_macros.sed