Ullrich Köthe
692123408b
generalized the new def_raw() feature
...
[SVN r8168]
2000-11-10 15:54:08 +00:00
Ullrich Köthe
aed148838f
added to from_python() functions to gen_extclass.py
...
(these were formerly only present on extclass.h and thus overwritten)
[SVN r8164]
2000-11-10 13:37:53 +00:00
Ullrich Köthe
03dbf0387a
added new feature: def_raw()
...
[SVN r8162]
2000-11-10 11:44:42 +00:00
Dave Abrahams
f6e12ce904
Add missing from_python functions for const T *const& and T* const&
...
[SVN r8159]
2000-11-08 20:10:14 +00:00
Dave Abrahams
d82ecf0887
added "set_attribute" member function to allow arbitrary Python objects to be added to an extension class.
...
[SVN r8143]
2000-11-06 05:10:14 +00:00
Dave Abrahams
22d66cb992
Integrated Ullrich Koethe's brilliant from_python_experiment
...
removed special-case MSVC code
added much commentary
removed unused py_copy_to_new_value_holder
[SVN r8136]
2000-11-04 22:34:31 +00:00
Dave Abrahams
2973d4fd8d
minor cleanup
...
[SVN r8132]
2000-11-04 10:07:38 +00:00
Dave Abrahams
8fdc849980
quick fix
...
[SVN r8128]
2000-11-04 06:21:51 +00:00
Dave Abrahams
562b478b1a
Removed the need for the phantom base class that screwed up inheritance
...
hierarchies, introduced error-prone ordering dependencies, and complexified
logic in many places!
Added some explanatory comments, removed wasteful m_self member of HeldInstance
[SVN r8122]
2000-11-04 05:51:10 +00:00
Ullrich Köthe
48315568c4
*** empty log message ***
...
[SVN r8099]
2000-11-02 17:39:01 +00:00
Dave Abrahams
5083505524
formatting fixes
...
[SVN r8060]
2000-10-28 23:05:51 +00:00
Dave Abrahams
5fb7b91365
Handle non-const reference arguments to constructors
...
[SVN r8040]
2000-10-28 17:20:54 +00:00
Dave Abrahams
e6d48af917
Removed trivial default constructor definition
...
[SVN r8006]
2000-10-19 14:48:00 +00:00
Dave Abrahams
74f06fb1ee
Move all base<->derived conversion stuff into ExtensionClassBase, where it belongs. Clean up some formatting.
...
[SVN r8002]
2000-10-18 14:55:26 +00:00
Ullrich Köthe
b43865d494
fixed bug in the conversion tests
...
[SVN r7998]
2000-10-18 13:22:56 +00:00
Ullrich Köthe
c2d449d47e
added explanatory comments
...
[SVN r7979]
2000-10-17 20:39:31 +00:00
Ullrich Köthe
dc3b9c510d
changes according to Dave's code review (coding conventions, moving functions around etc.)
...
[SVN r7978]
2000-10-17 20:05:26 +00:00
Ullrich Köthe
ab5f450e45
fixed reference counting bug
...
[SVN r7973]
2000-10-17 18:59:41 +00:00
Ullrich Köthe
3f0eb18183
added more test
...
changed some function names
[SVN r7972]
2000-10-17 17:34:41 +00:00
Ullrich Köthe
26bf57c4e9
added ExtensionClass<...>::declare_base(...) which
...
- declares a wrapped C++ class to be a base class of another wrapped class
- enables conversions between those classes
- ensures that base class methods are inherited by the subclass
[SVN r7971]
2000-10-17 14:50:07 +00:00
Dave Abrahams
bbc7a4cd1f
Now this whole file is automatically generated by gen_extclass.py. This was neccessary if I was every going to be able to honestly claim to provide arbitrary argument support using gen_all.py.
...
[SVN r7954]
2000-10-16 01:27:06 +00:00
Ullrich Köthe
12a881ead5
This commit was generated by cvs2svn to compensate for changes in r315,
...
which included commits to RCS files with non-trunk default branches.
[SVN r7932]
2000-10-13 13:49:34 +00:00