diff options
author | Renaud Aubin <renaud.aubin@gmail.com> | 2019-05-27 22:17:44 +0200 |
---|---|---|
committer | Renaud Aubin <renaud.aubin@gmail.com> | 2019-06-05 19:32:44 +0200 |
commit | f7f12ba7f277d4c074382b5434123dc66b8791b8 (patch) | |
tree | 64c27f854d22abea1c8684c31f7b7ce1123e3f04 /sources/shiboken2/generator/generator.cpp | |
parent | f4d1a606a0fe5f15ea89779ca3f1bbb9673c2cc6 (diff) |
Implement the Buffer Protocol on VoidPtr
Some use cases need direct data access for performance,
e.g. initializing QPolygonF data with numpy.frombuffer. Implementing the
Buffer Protocol as described in PEP3118 will allow direct data
access.
Change-Id: I13c46055b1cba115d099f1becb64c4cd04acdf0e
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/generator/generator.cpp')
0 files changed, 0 insertions, 0 deletions