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