[Numpy-svn] r5226 - in trunk/numpy/core: code_generators src

numpy-svn at scipy.org numpy-svn at scipy.org
Thu May 22 18:07:22 EDT 2008


Author: charris
Date: 2008-05-22 17:07:16 -0500 (Thu, 22 May 2008)
New Revision: 5226

Modified:
   trunk/numpy/core/code_generators/array_api_order.txt
   trunk/numpy/core/code_generators/multiarray_api_order.txt
   trunk/numpy/core/src/arrayobject.c
Log:
Add PyArray_CompareString to multiarray_api instead of
array_api so as not to disturb the current order of the API.


Modified: trunk/numpy/core/code_generators/array_api_order.txt
===================================================================
--- trunk/numpy/core/code_generators/array_api_order.txt	2008-05-22 18:06:53 UTC (rev 5225)
+++ trunk/numpy/core/code_generators/array_api_order.txt	2008-05-22 22:07:16 UTC (rev 5226)
@@ -1,5 +1,6 @@
-# The functions in the numpy_core C API
-# They are defined here so that the order is set.
+# The functions in the numpy_core C API. They are defined
+# here so that the order is set.  Do not append to this
+# list, append to multiarray_api_order.txt instead.
 PyArray_SetNumericOps
 PyArray_GetNumericOps
 PyArray_INCREF
@@ -83,4 +84,3 @@
 PyArray_Item_INCREF
 PyArray_Item_XDECREF
 PyArray_FieldNames
-PyArray_CompareString

Modified: trunk/numpy/core/code_generators/multiarray_api_order.txt
===================================================================
--- trunk/numpy/core/code_generators/multiarray_api_order.txt	2008-05-22 18:06:53 UTC (rev 5225)
+++ trunk/numpy/core/code_generators/multiarray_api_order.txt	2008-05-22 22:07:16 UTC (rev 5226)
@@ -83,3 +83,4 @@
 PyArray_SearchsideConverter
 PyArray_CheckAxis
 PyArray_OverflowMultiplyList
+PyArray_CompareString

Modified: trunk/numpy/core/src/arrayobject.c
===================================================================
--- trunk/numpy/core/src/arrayobject.c	2008-05-22 18:06:53 UTC (rev 5225)
+++ trunk/numpy/core/src/arrayobject.c	2008-05-22 22:07:16 UTC (rev 5226)
@@ -4433,7 +4433,7 @@
     return 0;
 }
 
-/*OBJECT_API
+/*MULTIARRAY_API
  */
 static int
 PyArray_CompareString(char *s1, char *s2, size_t len)




More information about the Numpy-svn mailing list