pybind11/example
Yung-Yu Chen 114bfeb762 pybind11::args should have been derived from tuple
args was derived from list, but cpp_function::dispatcher sends a tuple to it->impl (line #346 and #392 in pybind11.h).  As a result args::size() and args::operator[] don't work at all.  On my mac args::size() returns -1.  Making args a subclass of tuple fixes it.
2016-05-25 21:09:35 +08:00
..
eigen.cpp transparent conversion of dense and sparse Eigen types 2016-05-05 21:44:29 +02:00
eigen.py transparent conversion of dense and sparse Eigen types 2016-05-05 21:44:29 +02:00
eigen.ref transparent conversion of dense and sparse Eigen types 2016-05-05 21:44:29 +02:00
example1.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example1.py support for ancient Python versions (2.7.x) 2015-09-04 23:49:23 +02:00
example1.ref new move value policy 2016-04-25 23:04:27 +02:00
example2.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example2.py transparent std::array conversion (fixes #97) 2016-02-07 16:36:51 +01:00
example2.ref transparent std::array conversion (fixes #97) 2016-02-07 16:36:51 +01:00
example3.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example3.py Fix for radd/rsub/rmul/rdiv operator convenience wrappers 2015-09-11 17:09:47 +02:00
example3.ref new move value policy 2016-04-25 23:04:27 +02:00
example4.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example4.py enum comparison and conversion operations (closes #80) 2016-01-24 14:05:12 +01:00
example4.ref enum comparison and conversion operations (closes #80) 2016-01-24 14:05:12 +01:00
example5.cpp enable *args and **kwargs notation (closes #190) 2016-05-08 14:34:09 +02:00
example5.py Better testing for callable python functions 2016-03-10 16:31:38 -05:00
example5.ref Fixed expected test examples for more verbose error output. 2016-05-24 10:15:43 +02:00
example6.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example6.py support for ancient Python versions (2.7.x) 2015-09-04 23:49:23 +02:00
example6.ref new move value policy 2016-04-25 23:04:27 +02:00
example7.cpp redesigned format_descriptor<> and npy_format_descriptor<> 2016-05-04 22:36:57 +02:00
example7.py appveyor CI script 2015-10-18 18:01:33 +02:00
example7.ref updated reference output 2015-10-01 17:13:38 +02:00
example8.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example8.py improved handling of shared/smart pointers 2016-01-17 22:31:15 +01:00
example8.ref improved handling of shared/smart pointers 2016-01-17 22:31:15 +01:00
example9.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example9.py added module::import statement 2015-10-13 23:44:25 +02:00
example9.ref added module::import statement 2015-10-13 23:44:25 +02:00
example10.cpp ability to prevent force casts in numpy arguments 2016-05-19 16:02:09 +02:00
example10.py ability to prevent force casts in numpy arguments 2016-05-19 16:02:09 +02:00
example10.ref ability to prevent force casts in numpy arguments 2016-05-19 16:02:09 +02:00
example11.cpp pybind11::args should have been derived from tuple 2016-05-25 21:09:35 +08:00
example11.py nicer type_caster::load() calling conventions 2016-05-15 20:23:27 +02:00
example11.ref Fixed expected test examples for more verbose error output. 2016-05-24 10:15:43 +02:00
example12.cpp example12 clarifications 2016-05-21 01:11:11 +02:00
example12.py Example of bug in functions returning bool overriden in python 2016-02-23 23:48:05 +01:00
example12.ref PYBIND11_OVERLOAD_NAME and PYBIND11_OVERLOAD_PURE_NAME (fixes #205) 2016-05-24 23:42:14 +02:00
example13.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example13.py keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example13.ref keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example14.cpp enable passing C++ instances to void*-valued arguments 2016-04-30 21:28:45 +02:00
example14.py enable passing C++ instances to void*-valued arguments 2016-04-30 21:28:45 +02:00
example14.ref Fixed expected test examples for more verbose error output. 2016-05-24 10:15:43 +02:00
example15.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example15.py clarified pickle version requirements (fixes #186) 2016-04-30 23:16:31 +02:00
example15.ref pickling support (fixes #144) 2016-04-13 02:58:56 +02:00
example16.cpp minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00
example16.py fix testcases on Python 3.x 2016-04-13 14:42:17 +02:00
example16.ref fix testcases on Python 3.x 2016-04-13 14:42:17 +02:00
example17.cpp Merge branch 'stl_bind' 2016-05-16 12:33:20 +02:00
example17.py stl_bind redesign & cleanup pass 2016-05-16 12:12:58 +02:00
example17.ref stl_bind redesign & cleanup pass 2016-05-16 12:12:58 +02:00
example.cpp adding stl_binders 2016-05-15 20:46:07 +02:00
example.h last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
issues.cpp don't implicitly convert doubles to ints 2016-05-17 15:35:29 +02:00
issues.py don't implicitly convert doubles to ints 2016-05-17 15:35:29 +02:00
issues.ref PYBIND11_OVERLOAD_NAME and PYBIND11_OVERLOAD_PURE_NAME (fixes #205) 2016-05-24 23:42:14 +02:00
object.h Initial commit 2015-07-09 15:27:32 +02:00
run_test.py fixed run_test script 2016-02-20 21:19:30 +01:00