Lines 152-158
Link Here
|
152 |
|
152 |
|
153 |
|
153 |
|
154 |
cdef void *pd_alloc(v.ibv_pd *pd, void *pd_context, size_t size, |
154 |
cdef void *pd_alloc(v.ibv_pd *pd, void *pd_context, size_t size, |
155 |
size_t alignment, v.uint64_t resource_type): |
155 |
size_t alignment, v.uint64_t resource_type) noexcept: |
156 |
""" |
156 |
""" |
157 |
Parent Domain allocator wrapper. This function is used to wrap a |
157 |
Parent Domain allocator wrapper. This function is used to wrap a |
158 |
user-defined Python alloc function which should be a part of pd_context. |
158 |
user-defined Python alloc function which should be a part of pd_context. |
Lines 174-180
Link Here
|
174 |
|
174 |
|
175 |
|
175 |
|
176 |
cdef void pd_free(v.ibv_pd *pd, void *pd_context, void *ptr, |
176 |
cdef void pd_free(v.ibv_pd *pd, void *pd_context, void *ptr, |
177 |
v.uint64_t resource_type): |
177 |
v.uint64_t resource_type) noexcept: |
178 |
""" |
178 |
""" |
179 |
Parent Domain deallocator wrapper. This function is used to wrap a |
179 |
Parent Domain deallocator wrapper. This function is used to wrap a |
180 |
user-defined Python free function which should be part of pd_context. |
180 |
user-defined Python free function which should be part of pd_context. |