1. 12 Dec, 2016 1 commit
    • Jason Rhinelander's avatar
      Adds automatic casting on assignment of non-pyobject types (#551) · 3f1ff3f4
      Jason Rhinelander authored
      This adds automatic casting when assigning to python types like dict,
      list, and attributes.  Instead of:
      
          dict["key"] = py::cast(val);
          m.attr("foo") = py::cast(true);
          list.append(py::cast(42));
      
      you can now simply write:
      
          dict["key"] = val;
          m.attr("foo") = true;
          list.append(42);
      
      Casts needing extra parameters (e.g. for a non-default rvp) still
      require the py::cast() call. set::add() is also supported.
      
      All usage is channeled through a SFINAE implementation which either just returns or casts. 
      
      Combined non-converting handle and autocasting template methods via a
      helper method that either just returns (handle) or casts (C++ type).
      3f1ff3f4
  2. 20 Oct, 2016 1 commit
  3. 13 Sep, 2016 1 commit
  4. 06 Sep, 2016 2 commits
  5. 19 Aug, 2016 1 commit
  6. 03 Jun, 2016 2 commits
  7. 05 May, 2016 1 commit
  8. 28 Apr, 2016 2 commits
  9. 26 Apr, 2016 1 commit
  10. 21 Mar, 2016 1 commit
  11. 12 Feb, 2016 1 commit
  12. 07 Feb, 2016 1 commit
  13. 17 Jan, 2016 1 commit
  14. 12 Dec, 2015 1 commit
    • John Travers's avatar
      Add ldflags to compile command · f7e43029
      John Travers authored
      On my system (Mac OS with custom Python installation) I had to add the ldflags argument to python-config to get things working.
      f7e43029
  15. 18 Oct, 2015 1 commit
  16. 15 Oct, 2015 2 commits
  17. 13 Oct, 2015 2 commits