Skip to content

Commit d37e243

Browse files
Merge pull request #611 from insertinterestingnamehere/pxd
Add additional get_dim_size overload to dynd/cpp/array.pxd.
2 parents fac6e65 + 7577c4e commit d37e243

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dynd/cpp/array.pxd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cdef extern from 'dynd/array.hpp' namespace 'dynd::nd' nogil:
2727
type get_dtype(size_t)
2828
intptr_t get_ndim()
2929
intptr_t get_dim_size() except +translate_exception
30+
intptr_t get_dim_size(intptr_t) except +translate_exception
3031

3132
array p(string)
3233

@@ -41,7 +42,7 @@ cdef extern from 'dynd/array.hpp' namespace 'dynd::nd' nogil:
4142
array eval() except +translate_exception
4243
array cast(type) except +translate_exception
4344
array ucast(type, ssize_t) except +translate_exception
44-
45+
4546
# These should only be used with versions of Cython later than 0.23.
4647
# Otherwise the exception handler isn't properly applied and the
4748
# resulting uncaught C++ exceptions can crash the Python interpreter.

0 commit comments

Comments
 (0)