Searched refs:python_buffer (Results 1 – 2 of 2) sorted by relevance
/external/python/cffi/cffi/ |
D | api.py | 346 def from_buffer(self, cdecl, python_buffer=_unspecified, argument 357 if python_buffer is _unspecified: 358 cdecl, python_buffer = self.BCharA, cdecl 361 return self._backend.from_buffer(cdecl, python_buffer,
|
/external/python/cffi/doc/source/ |
D | ref.rst | 200 **ffi.from_buffer([cdecl,] python_buffer, require_writable=False)**: 222 can directly pass ``ffi.from_buffer(python_buffer)`` as argument to 225 *New in version 1.10:* the ``python_buffer`` can be anything supporting 247 obtained from ``python_buffer`` is read-only (e.g. if ``python_buffer`` is 251 call ``ffi.memmove(python_buffer, b"", 0)``. This has no effect if the
|