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
    • Kota Yamaguchi's avatar
      Fix undefined memoryview format (#2223) · e2488698
      Kota Yamaguchi authored
      * 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
      e2488698
  6. 12 Jul, 2020 2 commits
  7. 11 Jul, 2020 1 commit
  8. 10 Jul, 2020 2 commits
  9. 08 Jul, 2020 1 commit
  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
    • Thomas Köppe's avatar
      [common.h] Mark entry point as "unused". · eeb10448
      Thomas Köppe authored
      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.)
      eeb10448