Lines Matching refs:from_buffer
145 ffi.buffer(), ffi.from_buffer()
200 **ffi.from_buffer([cdecl,] python_buffer, require_writable=False)**:
203 buffer interface. Note that ``ffi.from_buffer()`` turns a generic
207 ``ffi.from_buffer()`` is meant to be used on objects
218 ``ffi.from_buffer()`` is alive.
222 can directly pass ``ffi.from_buffer(python_buffer)`` as argument to
241 ffi.from_buffer(x); p2 = ffi.cast("int *", p1)`` is that the older code
244 ``ffi.from_buffer("int[]", x)`` gives better array bound checking.)
280 In versions before 1.10, ``ffi.from_buffer()`` had restrictions on the
618 ``ffi.new()``, ``ffi.gc()``, ``ffi.from_buffer()`` or
629 with ffi.from_buffer(...) as p:
640 * on CPython, ``ffi.from_buffer(buf)`` locks the buffer, so ``ffi.release()``