pybind11/docs/advanced
Kota Yamaguchi e248869893
Fix undefined memoryview format (#2223)
* Fix undefined memoryview format

* Add missing <algorithm> header

* Add workaround for py27 array compatibility

* Workaround py27 memoryview behavior

* Fix memoryview constructor from buffer_info

* Workaround PyMemoryView_FromMemory availability in py27

* Fix up memoryview tests

* Update memoryview test from buffer to check signedness

* Use static factory method to create memoryview

* Remove ndim arg from memoryview::frombuffer and add tests

* Allow ndim=0 memoryview and documentation fixup

* Use void* to align to frombuffer method signature

* Add const variants of frombuffer and frommemory

* Add memory view section in doc

* Fix docs

* Add test for null buffer

* Workaround py27 nullptr behavior in test

* Rename frombuffer to from_buffer
2020-07-15 08:50:43 -07:00
..
cast Revert "Change __init__(self) to __new__(cls)" 2020-04-26 22:53:50 +02:00
pycpp Fix undefined memoryview format (#2223) 2020-07-15 08:50:43 -07:00
classes.rst Throw TypeError when subclasses forget to call __init__ (#2152) 2020-07-07 12:04:06 +02:00
embedding.rst Added function for reloading module (#1040) 2017-09-12 08:05:05 +02:00
exceptions.rst Add exception translation for std::overflow_error. (#1977) 2019-11-14 08:56:58 +01:00
functions.rst rename args_kw_only to kwonly 2020-04-26 18:07:51 +02:00
misc.rst Fix missing word typo 2018-04-02 21:10:38 -03:00
smart_ptrs.rst Replace PYBIND11_PLUGIN with PYBIND11_MODULE 2017-05-29 03:21:19 +02:00