Joel de Guzman
4d53fb97b6
update to defaults gen that fixes member functions with zero arguments (added a test in defaults.cpp)
...
[SVN r15162]
2002-09-04 22:36:05 +00:00
Joel de Guzman
d274a8395b
pardon, wrong commit. one more try. sorry.
...
[SVN r15161]
2002-09-04 22:10:37 +00:00
Joel de Guzman
ba86f516d8
Fixed case where member function has no arguments.
...
[SVN r15160]
2002-09-04 21:58:21 +00:00
Dave Abrahams
0453e05bb2
Suppress private inheritance warning
...
[SVN r15148]
2002-09-03 18:30:18 +00:00
Dave Abrahams
946a93164a
Remove colliding "MAX" macro
...
[SVN r15147]
2002-09-03 18:23:13 +00:00
Dave Abrahams
fe02cae4f7
Add missing #include
...
[SVN r15146]
2002-09-03 18:20:59 +00:00
Dave Abrahams
5762eb9b33
Add missing #include
...
[SVN r15145]
2002-09-03 16:57:17 +00:00
Dave Abrahams
73ffc4a13f
Support for free-function def() invocation (no module object)
...
Fix bugs relying on initialization of objects in the Python DLL
[SVN r15142]
2002-09-03 13:20:08 +00:00
Dave Abrahams
865ef2ab7f
Support for free-function def() invocation (no module object)
...
Fix bugs relying on initialization of objects in the Python DLL
[SVN r15139]
2002-09-03 05:51:15 +00:00
Dave Abrahams
7d35ed4eda
Move converter registration from body of individual Holder classes to
...
select_holder implementation, which prevents Holder instantiation in
case the class being wrapped is abstract.
[SVN r15138]
2002-09-03 05:48:20 +00:00
Joel de Guzman
6f7957fd40
Fixed G++ bug that complains of specialization provided after instantiation.
...
[SVN r15112]
2002-08-30 09:05:00 +00:00
Ralf W. Grosse-Kunstleve
ec4de3326e
bug fix: return type of __getstate__ may be any type
...
[SVN r15106]
2002-08-28 05:42:38 +00:00
Joel de Guzman
f030618d19
Initial speedup for EDG for the stub functions. The init<...> stuff is more involved...
...
[SVN r15097]
2002-08-26 15:09:33 +00:00
Dave Abrahams
780fff70c4
Removed unused bool_type
...
[SVN r15084]
2002-08-24 18:19:35 +00:00
Dave Abrahams
1d94d7e604
Added missing typename
...
[SVN r15082]
2002-08-24 16:52:19 +00:00
Dave Abrahams
2566b8732e
Remove extra semicolon
...
[SVN r15074]
2002-08-23 23:54:35 +00:00
Joel de Guzman
d4c50383af
Got init<..> working
...
[SVN r15073]
2002-08-23 23:30:29 +00:00
Joel de Guzman
0bbfa9b483
removed signature<...> and updated defaults.cpp test
...
[SVN r15071]
2002-08-23 21:00:31 +00:00
Dave Abrahams
bcaa1043ea
More smart pointer handling
...
[SVN r15069]
2002-08-23 18:07:27 +00:00
Dave Abrahams
0b33d1800d
automatic conversion to object for add_property()
...
[SVN r15065]
2002-08-23 04:15:37 +00:00
Dave Abrahams
cd6476e487
Allow different arguments to setstate
...
[SVN r15063]
2002-08-22 20:22:05 +00:00
Dave Abrahams
e1099e9370
Added make_tuple
...
[SVN r15052]
2002-08-22 13:20:58 +00:00
Dave Abrahams
68c8901c2a
Metrowerks workaround
...
[SVN r15051]
2002-08-22 13:18:36 +00:00
Joel de Guzman
cfb1aebf66
+ Added Ralf's test code
...
+ Fixed defaults_gen MACRO generation
+ Fixed signature for const member functions
[SVN r15047]
2002-08-22 05:23:45 +00:00
Joel de Guzman
087c09cc65
VC6 Workaronds (cleanup)
...
[SVN r15027]
2002-08-21 13:47:02 +00:00
Dave Abrahams
37efd93725
Bug fix
...
[SVN r15021]
2002-08-21 05:42:21 +00:00
Dave Abrahams
f96a898c51
VC6 fixups
...
[SVN r15018]
2002-08-21 01:46:03 +00:00
Joel de Guzman
b7e300d155
latest signature
...
[SVN r15010]
2002-08-20 21:35:37 +00:00
Joel de Guzman
78ae892db6
Committed the defaults stuff
...
(integrated from v2-dev branch)
[SVN r15008]
2002-08-20 21:09:59 +00:00
Joel de Guzman
6bdc89252e
Update (added init.hpp)
...
[SVN r15005]
2002-08-20 20:36:25 +00:00
Dave Abrahams
c104f0167f
VC7.1 alpha adjustments
...
[SVN r15003]
2002-08-20 19:22:14 +00:00
Dave Abrahams
6e3c6d1ba8
CWPro8.1 patch
...
[SVN r15000]
2002-08-20 16:58:48 +00:00
Dave Abrahams
3092e07281
Workaround VC6 bug
...
[SVN r14975]
2002-08-19 22:19:50 +00:00
Dave Abrahams
a5d53d1ac8
new class_<> objects are always added to the current scope
...
[SVN r14964]
2002-08-19 20:14:33 +00:00
Dave Abrahams
6e06ff048d
Automatic class def_init(), abstract class __init__ errors
...
Fixed line endings
Suppressed warnings
[SVN r14828]
2002-08-14 06:26:33 +00:00
Dave Abrahams
c5ee39f54b
Bug fix
...
[SVN r14803]
2002-08-13 05:07:50 +00:00
Dave Abrahams
fe3cf386c3
Python->C++ exception translation
...
[SVN r14800]
2002-08-13 00:45:09 +00:00
Dave Abrahams
2103e691db
initial commit
...
[SVN r14738]
2002-08-08 15:45:58 +00:00
Dave Abrahams
bd0257cbe5
Full docstring support
...
[SVN r14734]
2002-08-07 23:03:02 +00:00
Dave Abrahams
56e7b2a592
* object(f), where f is a function pointer now works. Returning a
...
* function pointer from a function should work also.
* make_function/make_constructor now return object instead of a raw pointer.
* module::setattr() now accepts anything which can be passed to object's constructor.
* Rework upcast<> to catch more errors at compile-time instead of infinite-looping.
* Rationalize class<>::def() in preparation for docstring support
* Partial docstring support in module::def (untested)
* dependent<> trick moved to detail namespace and separate header
* Added __doc__ attribute to C++ function wrapper objects
* Sunk implementation of function_object into a library source file.
[SVN r14724]
2002-08-06 23:59:27 +00:00
Dave Abrahams
2bdf958663
Suppress warnings by eliminating unneeded specializations of is_pointer_to_function<>.
...
[SVN r14721]
2002-08-06 23:32:52 +00:00
Dave Abrahams
bd8b6a2a64
Workaround a CWPro7.2 bug
...
[SVN r14720]
2002-08-06 23:23:28 +00:00
Dave Abrahams
88528e338b
Correct version for VC7.1 workaround
...
[SVN r14719]
2002-08-06 22:36:43 +00:00
Dave Abrahams
88b3bf1887
VC 7, 7.1a workaround
...
[SVN r14701]
2002-08-05 21:55:28 +00:00
Dave Abrahams
6907df1457
bug fixes
...
[SVN r14623]
2002-07-27 05:50:10 +00:00
Dave Abrahams
19036c14f5
handle<> -> object
...
[SVN r14603]
2002-07-25 18:07:25 +00:00
Dave Abrahams
ddb1236f2f
Begin transition away from handle<>
...
[SVN r14602]
2002-07-25 16:29:30 +00:00
Dave Abrahams
30ef9c6418
back_reference<> uses object instead of handle<>
...
[SVN r14600]
2002-07-25 15:20:06 +00:00
Dave Abrahams
8763fd1c53
scope default constructor gets current scope; killed scope::get()
...
[SVN r14599]
2002-07-25 14:52:11 +00:00
Dave Abrahams
5976005c4a
Make Boost.Python v1 work again
...
[SVN r14595]
2002-07-25 10:52:10 +00:00