Cleanup: order shape_len after shape argument

This matches nearly all other argument ordering in Blender,
including Python mathutils API.
This commit is contained in:
2021-02-18 13:32:35 +11:00
parent 10a54bbd06
commit e79916eb47
3 changed files with 5 additions and 8 deletions

View File

@@ -48,6 +48,6 @@ typedef struct BPyGPUBuffer {
size_t bpygpu_Buffer_size(BPyGPUBuffer *buffer);
BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(const int format,
const int shape_len,
const Py_ssize_t *shape,
const int shape_len,
void *buffer);