From 91be9a9ace3e532a40a93f0c00d71fa34adce009 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Thu, 30 Apr 2009 08:36:59 +0000 Subject: Put number protocol and array attributes get/set in separate files. --- numpy/core/src/arrayobject.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'numpy/core/src/arrayobject.h') diff --git a/numpy/core/src/arrayobject.h b/numpy/core/src/arrayobject.h index bedbf6223..cd66e9108 100644 --- a/numpy/core/src/arrayobject.h +++ b/numpy/core/src/arrayobject.h @@ -42,7 +42,6 @@ typedef struct { PyObject *conjugate; } NumericOps; -extern NPY_NO_EXPORT NumericOps n_ops; extern NPY_NO_EXPORT PyArray_Descr **userdescrs; @@ -146,4 +145,7 @@ set_typeinfo(PyObject *dict); extern NPY_NO_EXPORT PyArray_Descr LONG_Descr; extern NPY_NO_EXPORT PyArray_Descr INT_Descr; +/* Number protocol */ +#include "arraynumber.h" + #endif -- cgit v1.2.1