1. 23 Jul, 2020 1 commit
  2. 22 Jul, 2020 1 commit
  3. 21 Jul, 2020 1 commit
  4. 20 Jul, 2020 1 commit
  5. 15 Jul, 2020 1 commit
    • Fix undefined memoryview format (#2223) · e2488698
      * 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
      Kota Yamaguchi committed
  6. 12 Jul, 2020 2 commits
  7. 11 Jul, 2020 1 commit
  8. 10 Jul, 2020 2 commits
  9. 08 Jul, 2020 1 commit
    • Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) · f980d76d
      * Change NAMESPACE_BEGIN and NAMESPACE_END macros into PYBIND11_NAMESPACE_BEGIN and PYBIND11_NAMESPACE_END
      
      * Fix sudden HomeBrew 'python not installed' error
      
      * Sweep difference in 'Class.__init__() must be called when overriding __init__' error message between CPython and PyPy under the rug
      
      * Homebrew updated to 3.8 yesterday.
      
      Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
      Yannick Jadoul committed
  10. 07 Jul, 2020 3 commits
  11. 30 Jun, 2020 8 commits
  12. 29 Jun, 2020 5 commits
  13. 18 Jun, 2020 1 commit
  14. 15 Jun, 2020 1 commit
  15. 10 Jun, 2020 9 commits
  16. 08 Jun, 2020 1 commit
  17. 04 Jun, 2020 1 commit
    • [common.h] Mark entry point as "unused". · eeb10448
      This change defines a new, portable macro PYBIND11_MAYBE_UNUSED to
      mark declarations as unused, and annotates the PYBIND11_MODULE entry
      point with this attribute.
      
      The purpose of this annotation is to facilitate dead code detection,
      which might otherwise consider the module entry point function dead,
      since it isn't otherwise used. (It is only used via FFI.)
      Thomas Köppe committed