projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39da3ef
)
Fixed SBValueList to have a __str__ function like all other SB classes. Previously...
author
Greg Clayton
<gclayton@apple.com>
Thu, 11 Apr 2013 22:24:25 +0000
(22:24 +0000)
committer
Greg Clayton
<gclayton@apple.com>
Thu, 11 Apr 2013 22:24:25 +0000
(22:24 +0000)
llvm-svn: 179327
lldb/scripts/Python/python-extensions.swig
patch
|
blob
|
history
diff --git
a/lldb/scripts/Python/python-extensions.swig
b/lldb/scripts/Python/python-extensions.swig
index
29e39ba
..
1ff0782
100644
(file)
--- a/
lldb/scripts/Python/python-extensions.swig
+++ b/
lldb/scripts/Python/python-extensions.swig
@@
-489,7
+489,7
@@
}
}
%extend lldb::SBValueList {
- PyObject *lldb::SBValueList::__
rep
r__ (){
+ PyObject *lldb::SBValueList::__
st
r__ (){
lldb::SBStream description;
const size_t n = $self->GetSize();
if (n)
@@
-507,7
+507,8
@@
--desc_len;
if (desc_len > 0)
return PyString_FromStringAndSize (desc, desc_len);
- return Py_None;
+ else
+ return PyString_FromString("");
}
}
%extend lldb::SBWatchpoint {