rogue
Loading...
Searching...
No Matches
Macros
numpy.h File Reference
#include <numpy/arrayobject.h>
#include <numpy/ndarraytypes.h>

Go to the source code of this file.

Macros

#define NPY_API_SYMBOL_ATTRIBUTE
 Central NumPy C-API include point for Rogue.
 
#define PY_ARRAY_UNIQUE_SYMBOL   Py_Array_Rogue
 

Macro Definition Documentation

◆ NPY_API_SYMBOL_ATTRIBUTE

#define NPY_API_SYMBOL_ATTRIBUTE

Central NumPy C-API include point for Rogue.

This header performs the one-time NumPy C-API symbol import for Rogue by defining the unique API symbol and including NumPy core headers.

Other translation units that include NumPy headers should define NO_IMPORT_ARRAY before including NumPy C-API headers to avoid duplicate import definitions.

Definition at line 16 of file numpy.h.

◆ PY_ARRAY_UNIQUE_SYMBOL

#define PY_ARRAY_UNIQUE_SYMBOL   Py_Array_Rogue

Definition at line 17 of file numpy.h.