File: arrayobject.h

package info (click to toggle)
python-numarray 1.1.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,428 kB
  • ctags: 8,469
  • sloc: ansic: 92,018; python: 20,861; makefile: 263; sh: 13
file content (19 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#if !defined(__arrayobject_h)
#define __arrayobject_h

#if defined(PY_ARRAY_UNIQUE_SYMBOL) 
#define libnumeric_UNIQUE_SYMBOL PY_ARRAY_UNIQUE_SYMBOL
#define PyArray_API PY_ARRAY_UNIQUE_SYMBOL
#else
#define PyArray_API  libnumeric_API
#endif

#define import_array() import_libnumeric();

#define PyArray_Present()        (PyArray_API != NULL)
#define PyArray_isArray(o)       (PyArray_Present() && PyArray_Check(o))

#include "arraybase.h"
#include "libnumeric.h"

#endif