1010# define PY_ARRAY_UNIQUE_SYMBOL AK_ARRAY_API
1111# define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
1212
13- # include "auto_map.h"
1413# include "numpy/arrayobject.h"
1514# include "numpy/arrayscalars.h"
1615# include "numpy/halffloat.h"
16+ # include "auto_map.h"
17+ # include "utilities.h"
18+
1719
18- # define DEBUG_MSG_OBJ (msg , obj ) \
19- fprintf(stderr, "--- %s: %i: %s: ", __FILE__, __LINE__, __FUNCTION__); \
20- fprintf(stderr, #msg " "); \
21- PyObject_Print(obj, stderr, 0); \
22- fprintf(stderr, "\n"); \
23- fflush(stderr); \
20+ // # define DEBUG_MSG_OBJ(msg, obj) \
21+ // fprintf(stderr, "--- %s: %i: %s: ", __FILE__, __LINE__, __FUNCTION__); \
22+ // fprintf(stderr, #msg " "); \
23+ // PyObject_Print(obj, stderr, 0); \
24+ // fprintf(stderr, "\n"); \
25+ // fflush(stderr); \
2426
2527//------------------------------------------------------------------------------
2628// Common
2729
28- // static PyTypeObject AMType;
29- // static PyTypeObject FAMIType;
30- // static PyTypeObject FAMVType;
31- // static PyTypeObject FAMType;
3230PyObject * NonUniqueError ;
3331
3432// The main storage "table" is an array of TableElement
@@ -41,7 +39,6 @@ typedef struct TableElement{
4139# define LOAD 0.9
4240# define SCAN 16
4341
44- const static size_t UCS4_SIZE = sizeof (Py_UCS4 );
4542
4643// Partial, two-argument version of PyUnicode_FromKindAndData for consistent templating with bytes version.
4744static inline PyObject *
0 commit comments