Skip to content

Commit b84730a

Browse files
committed
[lldb] Regenerate static bindings
1 parent 40c912e commit b84730a

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

lldb/bindings/python/static-binding/LLDBWrapPython.cpp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20113,6 +20113,41 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetError(PyObject *self, PyObje
2011320113
}
2011420114

2011520115

20116+
SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetValues(PyObject *self, PyObject *args) {
20117+
PyObject *resultobj = 0;
20118+
lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
20119+
lldb::DynamicValueType arg2 ;
20120+
void *argp1 = 0 ;
20121+
int res1 = 0 ;
20122+
int val2 ;
20123+
int ecode2 = 0 ;
20124+
PyObject *swig_obj[2] ;
20125+
lldb::SBValueList result;
20126+
20127+
(void)self;
20128+
if (!SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_GetValues", 2, 2, swig_obj)) SWIG_fail;
20129+
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 );
20130+
if (!SWIG_IsOK(res1)) {
20131+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetValues" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'");
20132+
}
20133+
arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1);
20134+
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
20135+
if (!SWIG_IsOK(ecode2)) {
20136+
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBCommandReturnObject_GetValues" "', argument " "2"" of type '" "lldb::DynamicValueType""'");
20137+
}
20138+
arg2 = static_cast< lldb::DynamicValueType >(val2);
20139+
{
20140+
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
20141+
result = (arg1)->GetValues(arg2);
20142+
SWIG_PYTHON_THREAD_END_ALLOW;
20143+
}
20144+
resultobj = SWIG_NewPointerObj((new lldb::SBValueList(result)), SWIGTYPE_p_lldb__SBValueList, SWIG_POINTER_OWN | 0 );
20145+
return resultobj;
20146+
fail:
20147+
return NULL;
20148+
}
20149+
20150+
2011620151
SWIGINTERN PyObject *_wrap_SBCommandReturnObject___repr__(PyObject *self, PyObject *args) {
2011720152
PyObject *resultobj = 0;
2011820153
lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
@@ -96661,6 +96696,7 @@ static PyMethodDef SwigMethods[] = {
9666196696
"SBCommandReturnObject_SetError(SBCommandReturnObject self, SBError error, char const * fallback_error_cstr=None)\n"
9666296697
"SBCommandReturnObject_SetError(SBCommandReturnObject self, char const * error_cstr)\n"
9666396698
""},
96699+
{ "SBCommandReturnObject_GetValues", _wrap_SBCommandReturnObject_GetValues, METH_VARARGS, "SBCommandReturnObject_GetValues(SBCommandReturnObject self, lldb::DynamicValueType use_dynamic) -> SBValueList"},
9666496700
{ "SBCommandReturnObject___repr__", _wrap_SBCommandReturnObject___repr__, METH_O, "SBCommandReturnObject___repr__(SBCommandReturnObject self) -> std::string"},
9666596701
{ "SBCommandReturnObject_SetImmediateOutputFile", _wrap_SBCommandReturnObject_SetImmediateOutputFile, METH_VARARGS, "\n"
9666696702
"SBCommandReturnObject_SetImmediateOutputFile(SBCommandReturnObject self, SBFile file)\n"

lldb/bindings/python/static-binding/lldb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,10 @@ def SetError(self, *args):
38583858
"""
38593859
return _lldb.SBCommandReturnObject_SetError(self, *args)
38603860

3861+
def GetValues(self, use_dynamic):
3862+
r"""GetValues(SBCommandReturnObject self, lldb::DynamicValueType use_dynamic) -> SBValueList"""
3863+
return _lldb.SBCommandReturnObject_GetValues(self, use_dynamic)
3864+
38613865
def __repr__(self):
38623866
r"""__repr__(SBCommandReturnObject self) -> std::string"""
38633867
return _lldb.SBCommandReturnObject___repr__(self)

0 commit comments

Comments
 (0)