Commit Graph

3394 Commits

Author SHA1 Message Date
Wenzel Jakob
edbdef7ccf fixed pybind::call value policy 2015-10-02 09:33:53 +02:00
Wenzel Jakob
6a32620db3 convenience function to create a pybind::handle<> to the python version of a C++ type 2015-10-02 00:42:33 +02:00
Wenzel Jakob
6918922332 allow enums values to be cast to integers 2015-10-01 21:32:23 +02:00
Wenzel Jakob
ac0fde988a don't throw an exception when python deallocates an object which still exists on the C++ side 2015-10-01 18:49:37 +02:00
Wenzel Jakob
6d6fd099db fixed testing infrastructure 2015-10-01 17:34:26 +02:00
Wenzel Jakob
be0e834b82 updated reference output 2015-10-01 17:13:38 +02:00
Wenzel Jakob
6c698fec59 Fix usage of WIN32 define 2015-10-01 17:13:38 +02:00
Wenzel Jakob
a2f6fde0dc support for overriding virtual functions 2015-10-01 17:13:35 +02:00
Wenzel Jakob
04358b02ed Always record the __module__ in newly created Python types 2015-10-01 16:45:28 +02:00
Wenzel Jakob
96c10530aa A few convenience functions for working with Python types
- Get a descriptive string after a Python exception (without changing the exception status)
- Convenience function to map from a C++ object to a Python handle
- Convenience to check if a pybind::function is defined by an underlying
  C++ implementation
- Get the type object of a pybind::handle
2015-10-01 16:44:30 +02:00
Wenzel Jakob
5257330e6a keyword processing bugfix 2015-09-14 16:38:47 +02:00
Wenzel Jakob
73a50a0441 Fix for radd/rsub/rmul/rdiv operator convenience wrappers 2015-09-11 17:09:47 +02:00
Wenzel Jakob
38ffb5232f handle errors in callbacks 2015-09-11 17:01:21 +02:00
Wenzel Jakob
5116b02e68 python 2.7 fix 2015-09-05 02:14:39 +02:00
Wenzel Jakob
570822102c support for ancient Python versions (2.7.x) 2015-09-04 23:49:23 +02:00
Wenzel Jakob
d557e1d3ad example6 fix 2015-09-01 22:56:40 +02:00
Wenzel Jakob
02f770d06c win32 compilation flag improvements 2015-09-01 22:51:34 +02:00
Wenzel Jakob
2b0339f44e refcounting fix 2015-09-01 22:51:03 +02:00
Wenzel Jakob
c47fc488d3 win32 build fix 2015-08-30 01:01:47 +02:00
Wenzel Jakob
a750031795 support strongly typed enum 2015-08-29 02:08:32 +02:00
Wenzel Jakob
bce10fae38 windows fixes 2015-08-28 17:58:24 +02:00
Wenzel Jakob
a9ee25a97e various minor compilation fixes 2015-08-28 17:53:31 +02:00
Wenzel Jakob
5d4d83da11 Merge branch 'master' of https://github.com/wjakob/pybind11 2015-08-28 17:49:27 +02:00
Wenzel Jakob
7b8e032c26 added a few basic number types 2015-08-28 17:49:15 +02:00
Wenzel Jakob
328aa14e0a linux compilation fixes 2015-08-26 17:23:23 +02:00
Wenzel Jakob
43dbdfd0e7 Merge branch 'master' of https://github.com/wjakob/pybind11 2015-08-24 15:32:50 +02:00
Wenzel Jakob
f5fae929a3 avoid std::string when creating signatures, and make nicer type names. binary size reduced by ~10% 2015-08-24 15:31:24 +02:00
Wenzel Jakob
b129af53cd Merge 2015-08-04 19:04:44 +02:00
Wenzel Jakob
d85215c18d quench clang warnings 2015-08-04 19:03:56 +02:00
Wenzel Jakob
d3a4a50207 Merge branch 'master' of https://github.com/wjakob/pybind11 2015-08-04 18:55:07 +02:00
Wenzel Jakob
efd9e987f5 windows fixes 2015-08-04 18:53:18 +02:00
Wenzel Jakob
10d992eb9c added logo 2015-08-04 14:03:12 +02:00
Wenzel Jakob
cd5cda715b cleaned up handling of warnings on clang 2015-08-03 12:17:54 +02:00
Wenzel Jakob
281aa0e668 nicer code separation, cleanup logic, std::function type caster 2015-07-31 04:10:38 +02:00
Wenzel Jakob
a576e6a8ca keyword argument support, removed last traces of std::function<> usage 2015-07-29 23:39:11 +02:00
Wenzel Jakob
71867830f5 switched cpp_function to use variadic arguments 2015-07-29 17:50:57 +02:00
Wenzel Jakob
fbe82bf94d code size reduction 2015-07-28 16:12:29 +02:00
Wenzel Jakob
43398a8548 complex number support 2015-07-28 16:12:20 +02:00
Wenzel Jakob
d4258bafef generate more compact binaries 2015-07-28 03:10:15 +02:00
Wenzel Jakob
fa70d30248 documentation extraction improvements 2015-07-23 14:43:34 +02:00
Wenzel Jakob
ad06e76f9f Documentation extraction tool 2015-07-22 01:05:41 +02:00
Wenzel Jakob
2ac80e77aa Better NumPy support 2015-07-22 01:00:06 +02:00
Wenzel Jakob
bd4a529319 more flexible function creation syntax 2015-07-11 18:55:41 +02:00
Wenzel Jakob
38bd71134a Initial commit 2015-07-09 15:27:32 +02:00