pybind11/example
Jason Rhinelander 7de9f6c72d Tests can skip by exiting with 99; fix eigen test failure
This allows (and changes the current examples) to exit with status 99 to
skip a test instead of outputting a special string ("NumPy missing").

This also fixes the eigen test, which currently fails when eigen
headers are available but NumPy is not, to skip instead of failing when
NumPy isn't available.
2016-07-09 14:33:10 -04:00
..
CMakeLists.txt added exec functions 2016-07-08 10:05:24 +02:00
eigen.cpp Tests: Add further '2*' functions for matrices 2016-07-05 21:13:24 +01:00
eigen.py Tests can skip by exiting with 99; fix eigen test failure 2016-07-09 14:33:10 -04:00
eigen.ref Test that check() catches wrong order of elements 2016-07-05 21:46:50 +01: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 Fix typo which caused the C++ set test to be skipped 2016-06-01 23:48:24 +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 Use decltype to deduce return type of PyThread_create_key 2016-05-28 12:26:18 +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 Add callback examples with named parameters 2016-06-16 13:19:15 -05:00
example5.py Add callback examples with named parameters 2016-06-16 13:19:15 -05:00
example5.ref Add callback examples with named parameters 2016-06-16 13:19:15 -05:00
example6.cpp fixed many conversion warnings on clang 2016-05-29 13:40:40 +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 Tests can skip by exiting with 99; fix eigen test failure 2016-07-09 14:33:10 -04: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 Use decltype to deduce return type of PyThread_create_key 2016-05-28 12:26:18 +02:00
example10.py Tests can skip by exiting with 99; fix eigen test failure 2016-07-09 14:33:10 -04:00
example10.ref ability to prevent force casts in numpy arguments 2016-05-19 16:02:09 +02:00
example11.cpp Allow pybind11::arg to have 0, false, or "" as default values. 2016-06-15 12:48:15 -04:00
example11.py Allow pybind11::arg to have 0, false, or "" as default values. 2016-06-15 12:48:15 -04:00
example11.ref Allow pybind11::arg to have 0, false, or "" as default values. 2016-06-15 12:48:15 -04:00
example12.cpp Redesigned virtual call mechanism and user-facing syntax (breaking change!) 2016-05-26 13:36:24 +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 fix issues with std::vector<bool> overload in STL (fixes #216) 2016-05-30 11:28:21 +02:00
example17.py fix issues with std::vector<bool> overload in STL (fixes #216) 2016-05-30 11:28:21 +02:00
example17.ref fix issues with std::vector<bool> overload in STL (fixes #216) 2016-05-30 11:28:21 +02:00
example18_call.py added exec functions 2016-07-08 10:05:24 +02:00
example18.cpp complete rewrite of eval/exec patch 2016-07-08 10:52:10 +02:00
example18.py added exec functions 2016-07-08 10:05:24 +02:00
example18.ref complete rewrite of eval/exec patch 2016-07-08 10:52:10 +02:00
example.cpp added exec functions 2016-07-08 10:05:24 +02:00
example.h last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
issues.cpp minor formatting fix 2016-07-01 14:54:24 +02:00
issues.py Redesigned virtual call mechanism and user-facing syntax (breaking change!) 2016-05-26 13:36:24 +02:00
issues.ref Redesigned virtual call mechanism and user-facing syntax (breaking change!) 2016-05-26 13:36:24 +02:00
object.h Initial commit 2015-07-09 15:27:32 +02:00
run_test.py Tests can skip by exiting with 99; fix eigen test failure 2016-07-09 14:33:10 -04:00