@@ -14886,6 +14886,43 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_CommandExists(PyObject *self, Py
14886
14886
}
14887
14887
14888
14888
14889
+ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_UserCommandExists(PyObject *self, PyObject *args) {
14890
+ PyObject *resultobj = 0;
14891
+ lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
14892
+ char *arg2 = (char *) 0 ;
14893
+ void *argp1 = 0 ;
14894
+ int res1 = 0 ;
14895
+ int res2 ;
14896
+ char *buf2 = 0 ;
14897
+ int alloc2 = 0 ;
14898
+ PyObject *swig_obj[2] ;
14899
+ bool result;
14900
+
14901
+ if (!SWIG_Python_UnpackTuple(args, "SBCommandInterpreter_UserCommandExists", 2, 2, swig_obj)) SWIG_fail;
14902
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreter, 0 | 0 );
14903
+ if (!SWIG_IsOK(res1)) {
14904
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreter_UserCommandExists" "', argument " "1"" of type '" "lldb::SBCommandInterpreter *""'");
14905
+ }
14906
+ arg1 = reinterpret_cast< lldb::SBCommandInterpreter * >(argp1);
14907
+ res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14908
+ if (!SWIG_IsOK(res2)) {
14909
+ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_UserCommandExists" "', argument " "2"" of type '" "char const *""'");
14910
+ }
14911
+ arg2 = reinterpret_cast< char * >(buf2);
14912
+ {
14913
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
14914
+ result = (bool)(arg1)->UserCommandExists((char const *)arg2);
14915
+ SWIG_PYTHON_THREAD_END_ALLOW;
14916
+ }
14917
+ resultobj = SWIG_From_bool(static_cast< bool >(result));
14918
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
14919
+ return resultobj;
14920
+ fail:
14921
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
14922
+ return NULL;
14923
+ }
14924
+
14925
+
14889
14926
SWIGINTERN PyObject *_wrap_SBCommandInterpreter_AliasExists(PyObject *self, PyObject *args) {
14890
14927
PyObject *resultobj = 0;
14891
14928
lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
@@ -84338,6 +84375,7 @@ static PyMethodDef SwigMethods[] = {
84338
84375
{ "SBCommandInterpreter_GetQuitStatus", _wrap_SBCommandInterpreter_GetQuitStatus, METH_O, "SBCommandInterpreter_GetQuitStatus(SBCommandInterpreter self) -> int"},
84339
84376
{ "SBCommandInterpreter_ResolveCommand", _wrap_SBCommandInterpreter_ResolveCommand, METH_VARARGS, "SBCommandInterpreter_ResolveCommand(SBCommandInterpreter self, char const * command_line, SBCommandReturnObject result)"},
84340
84377
{ "SBCommandInterpreter_CommandExists", _wrap_SBCommandInterpreter_CommandExists, METH_VARARGS, "SBCommandInterpreter_CommandExists(SBCommandInterpreter self, char const * cmd) -> bool"},
84378
+ { "SBCommandInterpreter_UserCommandExists", _wrap_SBCommandInterpreter_UserCommandExists, METH_VARARGS, "SBCommandInterpreter_UserCommandExists(SBCommandInterpreter self, char const * cmd) -> bool"},
84341
84379
{ "SBCommandInterpreter_AliasExists", _wrap_SBCommandInterpreter_AliasExists, METH_VARARGS, "SBCommandInterpreter_AliasExists(SBCommandInterpreter self, char const * cmd) -> bool"},
84342
84380
{ "SBCommandInterpreter_GetBroadcaster", _wrap_SBCommandInterpreter_GetBroadcaster, METH_O, "SBCommandInterpreter_GetBroadcaster(SBCommandInterpreter self) -> SBBroadcaster"},
84343
84381
{ "SBCommandInterpreter_GetBroadcasterClass", _wrap_SBCommandInterpreter_GetBroadcasterClass, METH_NOARGS, "SBCommandInterpreter_GetBroadcasterClass() -> char const *"},
@@ -90640,6 +90678,7 @@ SWIG_init(void) {
90640
90678
SWIG_Python_SetConstant(d, "eTypeIsMetatype",SWIG_From_int(static_cast< int >(lldb::eTypeIsMetatype)));
90641
90679
SWIG_Python_SetConstant(d, "eTypeHasUnboundGeneric",SWIG_From_int(static_cast< int >(lldb::eTypeHasUnboundGeneric)));
90642
90680
SWIG_Python_SetConstant(d, "eTypeHasDynamicSelf",SWIG_From_int(static_cast< int >(lldb::eTypeHasDynamicSelf)));
90681
+ SWIG_Python_SetConstant(d, "eTypeIsPack",SWIG_From_int(static_cast< int >(lldb::eTypeIsPack)));
90643
90682
SWIG_Python_SetConstant(d, "eCommandRequiresTarget",SWIG_From_int(static_cast< int >(lldb::eCommandRequiresTarget)));
90644
90683
SWIG_Python_SetConstant(d, "eCommandRequiresProcess",SWIG_From_int(static_cast< int >(lldb::eCommandRequiresProcess)));
90645
90684
SWIG_Python_SetConstant(d, "eCommandRequiresThread",SWIG_From_int(static_cast< int >(lldb::eCommandRequiresThread)));
0 commit comments