parameters: (arr)
return_statement: return ctypes.cast(ptr, ctypes.c_void_p)
docstring: Return a void_p handle for a numpy array
  
      Parameters
      ----------
      arr: numpy.NDArray
          source numpy array
  
      Returns
      -------
      ptr:  ctypes.c_void_p
          pointer to the data
docstring_summary: Return a void_p handle for a numpy array
docstring_tokens: Return a void_p handle for a numpy array
function: def _get_np_int32_array_handle(arr):
      """Return a void_p handle for a numpy array
  
      Parameters
      ----------
      arr: numpy.NDArray
          source numpy array
  
      Returns
      -------
      ptr:  ctypes.c_void_p
          pointer to the data
      """
      assert arr.dtype == np.int32
      ptr = arr.ctypes.data_as(ctypes.POINTER(ctypes.c_int32))
      return ctypes.cast(ptr, ctypes.c_void_p)
function_tokens: def _get_np_int32_array_handle ( arr ) : assert arr . dtype == np . int32 ptr = arr . ctypes . data_as ( ctypes . POINTER ( ctypes . c_int32 ) ) return ctypes . cast ( ptr , ctypes . c_void_p )