summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-05 19:37:24 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-05 19:37:24 +0000
commit02656952c1ca3e5814d44ad26e2c1a0598d93fd3 (patch)
tree4f8ab41d14f8cef13ff55387dbbc426ef7ddd9af /numpy/core/src
parent8c293949830d75c9e43740ba9b98d8bc6d587a76 (diff)
downloadnumpy-02656952c1ca3e5814d44ad26e2c1a0598d93fd3.tar.gz
Added Chris Stawarz patch for solaris.
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/arraymethods.c1
-rw-r--r--numpy/core/src/scalartypes.inc.src4
2 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 7814f1096..98206314f 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -754,7 +754,6 @@ static char doc_searchsorted[] = "a.searchsorted(v)\n"\
" be placed. This method is helpful for histograming. \n"\
" Note: No warning is given if the boundaries, in a, are not \n"\
" in ascending order.";
-;
static PyObject *
array_searchsorted(PyArrayObject *self, PyObject *args)
diff --git a/numpy/core/src/scalartypes.inc.src b/numpy/core/src/scalartypes.inc.src
index a47819913..4e5e96fdd 100644
--- a/numpy/core/src/scalartypes.inc.src
+++ b/numpy/core/src/scalartypes.inc.src
@@ -9,7 +9,7 @@ static int PyArrayScalar_Offset[PyArray_NTYPES+1];
#type=Bool, signed char, short, int, long, longlong, unsigned char, unsigned short, unsigned int, unsigned long, ulonglong, float, double, longdouble, cfloat, cdouble, clongdouble, PyObject *,char#
*/
typedef struct {
- PyObject_HEAD;
+ PyObject_HEAD
@type@ obval;
} Py@name@ScalarObject;
/**end repeat**/
@@ -37,7 +37,7 @@ static PyTypeObject Py@NAME@ArrType_Type = {
#define PyUnicodeScalarObject PyUnicodeObject
typedef struct {
- PyObject_VAR_HEAD;
+ PyObject_VAR_HEAD
char *obval;
PyArray_Descr *descr;
int flags;