Browse files

Add PyArray_CompareString to multiarray_api instead of

array_api so as not to disturb the current order of the API.
  • Loading branch information...
1 parent 39b8259 commit ed222704c323f2a7038790842ec32c1ba8b26a4d @charris charris committed May 22, 2008
View
6 numpy/core/code_generators/array_api_order.txt
@@ -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_ElementStrides
PyArray_Item_INCREF
PyArray_Item_XDECREF
PyArray_FieldNames
-PyArray_CompareString
View
1 numpy/core/code_generators/multiarray_api_order.txt
@@ -83,3 +83,4 @@ PyArray_DescrAlignConverter2
PyArray_SearchsideConverter
PyArray_CheckAxis
PyArray_OverflowMultiplyList
+PyArray_CompareString
View
2 numpy/core/src/arrayobject.c
@@ -4433,7 +4433,7 @@ PyArray_CompareUCS4(npy_ucs4 *s1, npy_ucs4 *s2, register size_t len)
return 0;
}
-/*OBJECT_API
+/*MULTIARRAY_API
*/
static int
PyArray_CompareString(char *s1, char *s2, size_t len)

0 comments on commit ed22270

Please sign in to comment.