GeezerVison is showing github.com — Fix issue 198. · boostorg/python@467a89e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/object/class.cpp +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -618,7 +618,7 @@ namespace objects |
618 | 618 | { |
619 | 619 | object property( |
620 | 620 | (python::detail::new_reference) |
621 | | - PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("Osss"), fget.ptr(), 0, 0, docstr)); |
| 621 | + PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("Osss"), fget.ptr(), (char*)NULL, (char*)NULL, docstr)); |
622 | 622 |
|
623 | 623 | this->setattr(name, property); |
624 | 624 | } |
@@ -628,7 +628,7 @@ namespace objects |
628 | 628 | { |
629 | 629 | object property( |
630 | 630 | (python::detail::new_reference) |
631 | | - PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("OOss"), fget.ptr(), fset.ptr(), 0, docstr)); |
| 631 | + PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("OOss"), fget.ptr(), fset.ptr(), (char*)NULL, docstr)); |
632 | 632 |
|
633 | 633 | this->setattr(name, property); |
634 | 634 | } |
|