Gustavo J. A. M. Carneiro
003d69124e
Don't unit-test Glib:: types, as it requires special headers
2012-05-04 16:18:01 +01:00
Gustavo J. A. M. Carneiro
3d5389f88c
Fix testing of CppClassPtrParameter in reverse wrappers.
2011-01-27 18:18:05 +00:00
Gustavo J. A. M. Carneiro
40e90b93c2
Check for stdint.h; if not found use Paul Hsieh's pstdint.h.
2010-02-16 15:40:49 +00:00
Gustavo J. A. M. Carneiro
a6287ccc4b
Align virtual method handling code with other tools: to implement virtual method foo, now the user defines a method foo in Python, not _foo. Option pybindgen.settings.deprecated_virtuals added for backward compatibility.
2009-12-27 23:24:37 +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
6fb7893729
#401742 numeric operators with non-class right operand need more polish
2009-07-27 15:49:22 +01:00
Gustavo J. A. M. Carneiro
a143441eac
Revamp type matching system and const handling, is_const becomes deprecated.
...
Now types are specified with consts inside the type string, is_const is deprecated. The ctypeparser utility module, previously only used to canonicalize type strings, is used more extensively throughout pybindgen to provide type traits and type manipulation, where needed. gccxml type traits no longer used as consequence.
2008-09-02 11:06:24 +01:00
Gustavo J. A. M. Carneiro
49c62c8c03
Clean up the mess that became registering handlers for const types; add 'constness' to type handler codegeneration tests.
2008-07-03 18:22:31 +01:00
Gustavo J. A. M. Carneiro
ee6589e95d
Update tests/examples to use new add_constructor API
2008-05-19 14:19:15 +01:00
Gustavo J. A. M. Carneiro
86c183a37e
API change: Function(retval, name, params) now becomes Function(name, retval, params), as suggested by Mathieu Lacage.
2008-05-11 22:17:22 +01:00
Gustavo J. A. M. Carneiro
cc71d0cfc4
MSVC compatibility fixes.
2008-01-26 00:52:29 +00:00
Gustavo J. A. M. Carneiro
56f2b81907
Generate the typeid maps in the forward declarations section.
2008-01-06 14:51:49 +00:00
Gustavo J. A. M. Carneiro
e3d3782153
Nested (inside classes) classes and enums.
2007-12-28 19:34:12 +00:00
Gustavo J. A. M. Carneiro
5bc66e7d82
fix also the generation unit test
2007-12-17 15:43:58 +00:00
Gustavo J. A. M. Carneiro
39b17d52c0
Fix unit tests
2007-11-23 15:10:44 +00:00
Gustavo J. A. M. Carneiro
a30961eba7
Add support for PyObject* types (untested)
2007-09-13 16:19:31 +01:00
Gustavo J. A. M. Carneiro
aa7d7d1e39
Add propert support for C++ namespaces and Python submodules.
2007-08-25 15:37:17 +01:00
Gustavo J. A. M. Carneiro
7f54d80279
Test all combinations of caller_owns_return and transfer_ownership.
2007-06-10 16:29:33 +01:00
Gustavo J. A. M. Carneiro
bf1d3ada64
improve tests to cover c++ class type handlers
2007-06-10 16:13:24 +01:00
Gustavo J. A. M. Carneiro
96989183b8
Fix Parameter implementations to use self.value instead of self.name where appropriate.
2007-06-10 14:00:47 +01:00
Gustavo J. A. M. Carneiro
56958cd448
Add a new pybindgen.write_preamble() API, to write the #include <Python.h> and some other stuff needed to compile with Python < 2.5.
2007-06-03 23:09:11 +01:00
Gustavo J. A. M. Carneiro
67843fa924
refactor the build system to avoid generating .py[co] files in the source tree (which WAF doesn't like)
2007-06-02 15:02:23 +01:00
Gustavo J. A. M. Carneiro
b3c156cfeb
FunctionWrapper renamed to Function, module name changed accordingly.
2007-05-31 17:29:34 +01:00
Gustavo J. A. M. Carneiro
a0793416a6
add a module generator class
2007-05-31 16:16:38 +01:00
Gustavo J. A. M. Carneiro
df1774dd19
Add support for generating PyMethodDef function tables.
2007-05-31 14:10:51 +01:00
Gustavo J. A. M. Carneiro
3a1f8bbac3
add FunctionWrapper class
2007-05-31 01:00:33 +01:00
Gustavo J. A. M. Carneiro
bf2fb3313c
bool, double
2007-05-31 00:17:28 +01:00
Gustavo J. A. M. Carneiro
be54f0e73a
_
2007-05-29 20:04:09 +01:00