16 Commits

Author SHA1 Message Date
rdb
b65ad853fe Support C++11/14 features: nullptr, decltype, unicode literals, custom literals, alignof 2015-10-12 23:32:50 +02:00
rdb
8e76328b3b Fix Bullet support (Broken float division in default args in interrogate) 2015-04-09 13:08:17 +02:00
rdb
9513046e59 Various substantial changes to Interrogate:
* Allow arbitrary selection of optional keyword arguments in some cases
* Reduce code bloat of generated bindings
* Work around awkward resolution of set_shader_input overloads
* Document the code a bit better
* Make coercion a bit cleaner for reference counted types
* A few optimization tweaks
* Use generic errors in NDEBUG build to reduce size of string pool
2015-02-15 13:48:13 +01:00
rdb
6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb
5437a3e5a9 Allow const variables with initializers to be used in expressions (like enum definitions). Also fix compiler warning. 2014-09-14 22:02:16 +00:00
David Rose
58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose
fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose
611a10f796 try again to satisfy compilers 2008-01-17 01:22:57 +00:00
David Rose
651513d595 use reinterpret_cast for 64-bit architecture 2007-09-13 19:25:09 +00:00
David Rose
843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose
3496d7fedc be more forgiving with || and && in #if expressions 2003-01-21 19:29:31 +00:00
David Rose
861c762e7d first wave of new ffi/interrogate 2001-10-02 22:25:32 +00:00
David Rose
ae2466fb2f eliminate compiler warnings 2001-08-04 20:58:12 +00:00
David Rose
2f4e207edb Update copyright header 2001-05-25 21:27:38 +00:00
David Rose
fcb24f02ef remove tab characters 2001-05-25 15:56:49 +00:00
David Rose
7a78284129 Initial revision 2000-10-04 00:15:23 +00:00