Skip to content

Commit

Permalink
Add PyArray_CompareString to multiarray_api instead of
Browse files Browse the repository at this point in the history
array_api so as not to disturb the current order of the API.
  • Loading branch information
charris committed May 22, 2008
1 parent 39b8259 commit ed22270
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -83,4 +84,3 @@ PyArray_ElementStrides
PyArray_Item_INCREF
PyArray_Item_XDECREF
PyArray_FieldNames
PyArray_CompareString
1 change: 1 addition & 0 deletions numpy/core/code_generators/multiarray_api_order.txt
Expand Up @@ -83,3 +83,4 @@ PyArray_DescrAlignConverter2
PyArray_SearchsideConverter
PyArray_CheckAxis
PyArray_OverflowMultiplyList
PyArray_CompareString
2 changes: 1 addition & 1 deletion numpy/core/src/arrayobject.c
Expand Up @@ -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)
Expand Down

0 comments on commit ed22270

Please sign in to comment.