File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ NumPy C-API functions
137137 The use of a ``size `` parameter in ``free `` differentiates this struct from
138138 the :c:type: `PyMemAllocatorEx ` struct in Python. This call signature is
139139 used internally in NumPy currently, and also in other places for instance
140- C++11 (maybe older): https://en.cppreference.com/w/cpp/memory/allocator/deallocate
141- C++17: https://en.cppreference.com/w/cpp/memory/polymorphic_allocator /deallocate
142- Rust (allocator_api): https://doc.rust-lang.org/std/alloc/trait.Allocator.html#tymethod.deallocate
140+ ` C++98 < https://en.cppreference.com/w/cpp/memory/allocator/deallocate> `,
141+ ` C++11 < https://en.cppreference.com/w/cpp/memory/allocator_traits /deallocate> `, and
142+ ` Rust (allocator_api) < https://doc.rust-lang.org/std/alloc/trait.Allocator.html#tymethod.deallocate> `.
143143
144144 The consumer of the `PyDataMemAllocator ` interface must keep track of ``size `` and make sure it is
145145 consistent with the parameter passed to the ``(m|c|re)alloc `` functions.
You can’t perform that action at this time.
0 commit comments