File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,14 @@ NumPy C-API functions
118118
119119 typedef struct {
120120 char name[128]; /* multiple of 64 to keep the struct aligned */
121- PyDataMemAllocator allocator;
121+ PyDataMemAllocator allocator;
122122 } PyDataMem_Handler;
123123
124124 where the allocator structure is
125125
126126 .. code-block :: c
127- /* The declaration of free differs from PyMemAllocatorEx */
127+
128+ /* The declaration of free differs from PyMemAllocatorEx */
128129 typedef struct {
129130 void *ctx;
130131 void* (*malloc) (void *ctx, size_t size);
@@ -284,7 +285,7 @@ Discussion
284285----------
285286
286287The discussion on the mailing list led to the ``PyDataMemAllocator `` struct
287- with a ``context `` field like `` PyMemAllocatorEx ` ` but with a different
288+ with a ``context `` field like :c:type: ` PyMemAllocatorEx ` but with a different
288289signature for ``free ``.
289290
290291
You can’t perform that action at this time.
0 commit comments