mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
class_::enable_pickling() in publicized interface; tested with everything incl. VC6 and 7.0
[SVN r22254]
This commit is contained in:
@@ -599,7 +599,7 @@ namespace objects
|
||||
this->setattr("__init__", object(f));
|
||||
}
|
||||
|
||||
void class_base::enable_pickling(bool getstate_manages_dict)
|
||||
void class_base::enable_pickling_(bool getstate_manages_dict)
|
||||
{
|
||||
setattr("__reduce__", object(make_instance_reduce_function()));
|
||||
setattr("__safe_for_unpickling__", object(true));
|
||||
|
||||
Reference in New Issue
Block a user