Commit Graph

36 Commits

Author SHA1 Message Date
Gustavo Carneiro a58737740e Add handling for "char" type default parameter value, closes #41 2020-12-21 09:55:10 +00:00
Tom Henderson a6321cc6a1 Add support for unordered_map 2020-11-21 15:21:00 -08:00
Gustavo Carneiro 9f017f1577 s/nullptr/NULL/ (compat w/ old compilers) 2020-03-11 11:19:10 +00:00
Cosmos Nicolaou 521091b1f1 improve tests 2020-03-09 17:23:16 -07:00
Cosmos Nicolaou a38f492984 add test 2020-03-05 14:07:08 -08:00
PKUSZ-future-network-lab c9a9de3371 Bug 1368538: Support translating C++ exception into Python's standard exceptions 2014-09-14 20:00:55 +01:00
Gustavo J. A. M. Carneiro 2ae14a0852 Generation bug: local variables conflict with wrapper parameters 2012-03-18 22:28:23 +00:00
Gustavo J. A. M. Carneiro 3ac1a30e35 Bug #780945: Exception translation generates invalid code if return value is wrapped (i.e. not primitive) 2011-05-11 16:14:39 +01:00
Gustavo J. A. M. Carneiro 7ba02242f8 Add support for 'throw' annotations in functions and methods 2011-05-10 19:10:18 +01:00
Gustavo J. A. M. Carneiro 39db96d5b2 Add missing 'throw' modifiers as needed to method signatures in helper classes 2010-02-14 11:57:12 +00:00
Gustavo J. A. M. Carneiro 225436e711 Wrap enum pointer params 2010-01-19 11:00:21 +00:00
Gustavo J. A. M. Carneiro cdbc237f3a Wrap non-virtual protected methods as well 2010-01-17 18:01:42 +00:00
Gustavo J. A. M. Carneiro fdf3481ef3 Add return_internal_reference option support, similar to boost::python. 2009-12-02 15:02:38 +00:00
Gustavo J. A. M. Carneiro 3bd577d87d Lots of custodian=xxx bug fixes 2009-11-03 18:30:18 +00:00
Gustavo J. A. M. Carneiro 1294522f2a Add foreign_cpp_namespace option to CppException, and tests using std::exception. 2009-08-27 12:28:00 +01:00
Gustavo J. A. M. Carneiro d0f8984663 catch exceptions in constructors 2009-08-23 19:27:23 +01:00
Gustavo J. A. M. Carneiro 262c88f846 catch exceptions in method calls too 2009-08-23 19:16:42 +01:00
Gustavo J. A. M. Carneiro 1fcb8501e8 Add API to basically wrap C++ exceptions and catch them in free function calls. 2009-08-23 19:05:43 +01:00
Gustavo J. A. M. Carneiro f3f4e7df9c Implement support for enum reference parameters 2009-05-28 12:12:12 +01:00
Gustavo J. A. M. Carneiro 4afd533b9f Better support for typedefs 2009-04-29 18:47:36 +01:00
Gustavo J. A. M. Carneiro 7cfde86812 Add rudimentary support for std::map containers. 2009-04-27 18:17:21 +01:00
Gustavo J. A. M. Carneiro 34cf5869ec Partial support for pointer-to-container parameters 2008-12-10 12:11:45 +00:00
Gustavo J. A. M. Carneiro 20b51a7f92 Add a unit test for scanning/wrapping output reference to container parameter (e.g.std::vector<std::string> &outVec) 2008-10-04 17:26:23 +01:00
Gustavo J. A. M. Carneiro 4e41b8c02e Scanning of anonymous containers is now disabled by default, due to a bug in gccxml and the problems it causes. 2008-08-29 14:39:43 +01:00
Gustavo J. A. M. Carneiro 4302316a3c Filter out mapping containers for now; use the correct method to add a value for each container type, not always push_back. 2008-08-27 00:18:20 +01:00
Gustavo J. A. M. Carneiro 5877205b99 Add optional 'wrapper registry' support, which allows one-to-one mapping between C++ object and Python wrapper, so that two wrappers can be safely compared with the 'is' operator. 2008-08-22 15:44:35 +01:00
Gustavo J. A. M. Carneiro bacb4d90b9 Add support for unnamed (not typedef) containers. Not gccxml support yet, though. 2008-08-17 18:41:48 +01:00
Gustavo J. A. M. Carneiro 17b63ea5eb Add typehandler for container ref parameter 2008-08-17 15:44:51 +01:00
Gustavo J. A. M. Carneiro e5549bdbae Add container reverse wrappers unit tests 2008-08-16 23:02:26 +01:00
Gustavo J. A. M. Carneiro b6761ebac6 Paramters of a container parameter type now also accept a list instead of a proper container object 2008-08-16 18:34:08 +01:00
Gustavo J. A. M. Carneiro b46277c37e Test container as parameter. 2008-08-15 15:05:24 +01:00
Gustavo J. A. M. Carneiro 3f97bd258e Initial support for std sequence containers (limited testing / support, for now) 2008-08-14 23:22:00 +01:00
Gustavo J. A. M. Carneiro b8ccb8347b Add support for parameter default values specified via annotations. Closes LP#251343. 2008-07-25 19:05:16 +01:00
Gustavo J. A. M. Carneiro f3a0c9a33c Module.add_typedef API, implemented only for C++ classes/structs for now. 2008-07-15 00:28:58 +01:00
Gustavo J. A. M. Carneiro 6fe19f0ece Bug #242285: Impossible to use a float* parameter in a function or method to pass an array of floats. 2008-06-24 17:12:50 +01:00
Gustavo J. A. M. Carneiro 81b4f530b8 Move the former 'examples' into tests/, as they evolved to become more unit tests than examples. 2008-04-28 12:19:25 +01:00