Cleanup: move public doc-strings into headers for 'python'
This commit is contained in:
@@ -48,6 +48,13 @@ typedef struct BPyGPUBuffer {
|
||||
} BPyGPUBuffer;
|
||||
|
||||
size_t bpygpu_Buffer_size(BPyGPUBuffer *buffer);
|
||||
/**
|
||||
* Create a buffer object
|
||||
*
|
||||
* \param shape: An array of `shape_len` integers representing the size of each dimension.
|
||||
* \param buffer: When not NULL holds a contiguous buffer
|
||||
* with the correct format from which the buffer will be initialized
|
||||
*/
|
||||
BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(const int format,
|
||||
const Py_ssize_t *shape,
|
||||
const int shape_len,
|
||||
|
||||
Reference in New Issue
Block a user