ENH: add dtype and order to np.ctypeslib.as_array

March 12, 2023
12:32 p.m.
Hi, First-time contribution so I wanted to check in before pushing a PR. I'd like to add an 'order' and 'dtype' flags to np.ctypeslib.as_array. The order flag is for setting things as a Fortran array order while dtype is needed if all you have is a c_void_p (rather than a ctype array). I have a working version at: https://github.com/rjfarmer/numpy/tree/ctypelibs_as_array_flags Thoughts? Rob
710
Age (days ago)
710
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Farmer