@@ -60815,6 +60815,70 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetABIName(PyObject *self, PyObject *args) {
60815
60815
}
60816
60816
60817
60817
60818
+ SWIGINTERN PyObject *_wrap_SBTarget_GetLabel(PyObject *self, PyObject *args) {
60819
+ PyObject *resultobj = 0;
60820
+ lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
60821
+ void *argp1 = 0 ;
60822
+ int res1 = 0 ;
60823
+ PyObject *swig_obj[1] ;
60824
+ char *result = 0 ;
60825
+
60826
+ if (!args) SWIG_fail;
60827
+ swig_obj[0] = args;
60828
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBTarget, 0 | 0 );
60829
+ if (!SWIG_IsOK(res1)) {
60830
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_GetLabel" "', argument " "1"" of type '" "lldb::SBTarget const *""'");
60831
+ }
60832
+ arg1 = reinterpret_cast< lldb::SBTarget * >(argp1);
60833
+ {
60834
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
60835
+ result = (char *)((lldb::SBTarget const *)arg1)->GetLabel();
60836
+ SWIG_PYTHON_THREAD_END_ALLOW;
60837
+ }
60838
+ resultobj = SWIG_FromCharPtr((const char *)result);
60839
+ return resultobj;
60840
+ fail:
60841
+ return NULL;
60842
+ }
60843
+
60844
+
60845
+ SWIGINTERN PyObject *_wrap_SBTarget_SetLabel(PyObject *self, PyObject *args) {
60846
+ PyObject *resultobj = 0;
60847
+ lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
60848
+ char *arg2 = (char *) 0 ;
60849
+ void *argp1 = 0 ;
60850
+ int res1 = 0 ;
60851
+ int res2 ;
60852
+ char *buf2 = 0 ;
60853
+ int alloc2 = 0 ;
60854
+ PyObject *swig_obj[2] ;
60855
+ lldb::SBError result;
60856
+
60857
+ if (!SWIG_Python_UnpackTuple(args, "SBTarget_SetLabel", 2, 2, swig_obj)) SWIG_fail;
60858
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBTarget, 0 | 0 );
60859
+ if (!SWIG_IsOK(res1)) {
60860
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_SetLabel" "', argument " "1"" of type '" "lldb::SBTarget *""'");
60861
+ }
60862
+ arg1 = reinterpret_cast< lldb::SBTarget * >(argp1);
60863
+ res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
60864
+ if (!SWIG_IsOK(res2)) {
60865
+ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_SetLabel" "', argument " "2"" of type '" "char const *""'");
60866
+ }
60867
+ arg2 = reinterpret_cast< char * >(buf2);
60868
+ {
60869
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
60870
+ result = (arg1)->SetLabel((char const *)arg2);
60871
+ SWIG_PYTHON_THREAD_END_ALLOW;
60872
+ }
60873
+ resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 );
60874
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
60875
+ return resultobj;
60876
+ fail:
60877
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
60878
+ return NULL;
60879
+ }
60880
+
60881
+
60818
60882
SWIGINTERN PyObject *_wrap_SBTarget_GetDataByteSize(PyObject *self, PyObject *args) {
60819
60883
PyObject *resultobj = 0;
60820
60884
lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
@@ -90469,6 +90533,8 @@ static PyMethodDef SwigMethods[] = {
90469
90533
{ "SBTarget_GetAddressByteSize", _wrap_SBTarget_GetAddressByteSize, METH_O, "SBTarget_GetAddressByteSize(SBTarget self) -> uint32_t"},
90470
90534
{ "SBTarget_GetTriple", _wrap_SBTarget_GetTriple, METH_O, "SBTarget_GetTriple(SBTarget self) -> char const *"},
90471
90535
{ "SBTarget_GetABIName", _wrap_SBTarget_GetABIName, METH_O, "SBTarget_GetABIName(SBTarget self) -> char const *"},
90536
+ { "SBTarget_GetLabel", _wrap_SBTarget_GetLabel, METH_O, "SBTarget_GetLabel(SBTarget self) -> char const *"},
90537
+ { "SBTarget_SetLabel", _wrap_SBTarget_SetLabel, METH_VARARGS, "SBTarget_SetLabel(SBTarget self, char const * label) -> SBError"},
90472
90538
{ "SBTarget_GetDataByteSize", _wrap_SBTarget_GetDataByteSize, METH_O, "\n"
90473
90539
"SBTarget_GetDataByteSize(SBTarget self) -> uint32_t\n"
90474
90540
"\n"
0 commit comments