File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/source/Plugins/ScriptInterpreter/Python Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ bool PythonList::Check(PyObject *py_obj) {
539
539
540
540
uint32_t PythonList::GetSize () const {
541
541
if (IsValid ())
542
- return PyList_GET_SIZE (m_py_obj);
542
+ return PyList_Size (m_py_obj);
543
543
return 0 ;
544
544
}
545
545
@@ -618,7 +618,7 @@ bool PythonTuple::Check(PyObject *py_obj) {
618
618
619
619
uint32_t PythonTuple::GetSize () const {
620
620
if (IsValid ())
621
- return PyTuple_GET_SIZE (m_py_obj);
621
+ return PyTuple_Size (m_py_obj);
622
622
return 0 ;
623
623
}
624
624
@@ -899,7 +899,7 @@ bool PythonFile::Check(PyObject *py_obj) {
899
899
const char *PythonException::toCString () const {
900
900
if (!m_repr_bytes)
901
901
return " unknown exception" ;
902
- return PyBytes_AS_STRING (m_repr_bytes);
902
+ return PyBytes_AsString (m_repr_bytes);
903
903
}
904
904
905
905
PythonException::PythonException (const char *caller) {
You can’t perform that action at this time.
0 commit comments