mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
12 lines
260 B
Cython
12 lines
260 B
Cython
from libcpp.vector cimport vector
|
|
|
|
cdef class Pool:
|
|
cdef vector[void*] _addresses
|
|
|
|
cdef void* alloc(self, size_t number, size_t size) except NULL
|
|
cdef void* realloc(self, void* addr, size_t n) except NULL
|
|
|
|
|
|
cdef class Address:
|
|
cdef size_t addr
|