diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-06-22 17:47:54 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-06-22 18:22:59 +0000 |
commit | e048f78b21438144bab781f2ba9ee33a2aae6772 (patch) | |
tree | 071f26db3a58abd216cade57b2478b25016f25fe | |
parent | cf24393421ca807899c599a53ddc5dcedb7c71dc (diff) | |
parent | 23e196feed9f559d4ae1fcf003c6360196309a19 (diff) | |
download | src-e048f78b21438144bab781f2ba9ee33a2aae6772.tar.gz src-e048f78b21438144bab781f2ba9ee33a2aae6772.zip |
Merge llvm-project release/16.x llvmorg-16.0.6-0-g7cbf1a259152
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-16.0.6-0-g7cbf1a259152 (aka 16.0.6 release).
PR: 271047
MFC after: 1 month
21 files changed, 41044 insertions, 41027 deletions
diff --git a/contrib/llvm-project/libcxx/include/__config b/contrib/llvm-project/libcxx/include/__config index d7ba71906e26..10815388389a 100644 --- a/contrib/llvm-project/libcxx/include/__config +++ b/contrib/llvm-project/libcxx/include/__config @@ -38,7 +38,7 @@ // _LIBCPP_VERSION represents the version of libc++, which matches the version of LLVM. // Given a LLVM release LLVM XX.YY.ZZ (e.g. LLVM 16.0.1 == 16.00.01), _LIBCPP_VERSION is // defined to XXYYZZ. -# define _LIBCPP_VERSION 160005 +# define _LIBCPP_VERSION 160006 # define _LIBCPP_CONCAT_IMPL(_X, _Y) _X##_Y # define _LIBCPP_CONCAT(_X, _Y) _LIBCPP_CONCAT_IMPL(_X, _Y) diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h index 6b094f383083..82830fe2baee 100644 --- a/lib/clang/freebsd_cc_version.h +++ b/lib/clang/freebsd_cc_version.h @@ -1,3 +1 @@ -/* $FreeBSD$ */ - #define FREEBSD_CC_VERSION 1400005 diff --git a/lib/clang/include/Plugins/Plugins.def b/lib/clang/include/Plugins/Plugins.def index 55ff6eae7c07..a1224b71fc75 100644 --- a/lib/clang/include/Plugins/Plugins.def +++ b/lib/clang/include/Plugins/Plugins.def @@ -1,4 +1,3 @@ -// $FreeBSD$ /*===- lldb/source/Plugin/Plugins.def ---------------------------*- C++ -*-===*\ |* *| |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| diff --git a/lib/clang/include/VCSVersion.inc b/lib/clang/include/VCSVersion.inc index 1daa9c25ab45..598871260c01 100644 --- a/lib/clang/include/VCSVersion.inc +++ b/lib/clang/include/VCSVersion.inc @@ -1,10 +1,8 @@ -// $FreeBSD$ - -#define LLVM_REVISION "llvmorg-16.0.5-0-g185b81e034ba" +#define LLVM_REVISION "llvmorg-16.0.6-0-g7cbf1a259152" #define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git" -#define CLANG_REVISION "llvmorg-16.0.5-0-g185b81e034ba" +#define CLANG_REVISION "llvmorg-16.0.6-0-g7cbf1a259152" #define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git" -#define LLDB_REVISION "llvmorg-16.0.5-0-g185b81e034ba" +#define LLDB_REVISION "llvmorg-16.0.6-0-g7cbf1a259152" #define LLDB_REPOSITORY "https://github.com/llvm/llvm-project.git" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index e99bc8fb4f95..d5aa1ce51f33 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,10 +1,8 @@ -/* $FreeBSD$ */ - -#define CLANG_VERSION 16.0.5 -#define CLANG_VERSION_STRING "16.0.5" +#define CLANG_VERSION 16.0.6 +#define CLANG_VERSION_STRING "16.0.6" #define CLANG_VERSION_MAJOR 16 #define CLANG_VERSION_MAJOR_STRING "16" #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 5 +#define CLANG_VERSION_PATCHLEVEL 6 #define CLANG_VENDOR "FreeBSD " diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index 0cd1e12a4108..b2c85aa23d19 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* This generated file is for internal use. Do not include it from headers. */ #ifdef CLANG_CONFIG_H diff --git a/lib/clang/include/lld/Common/Version.inc b/lib/clang/include/lld/Common/Version.inc index f6061c3e6784..20810f686dad 100644 --- a/lib/clang/include/lld/Common/Version.inc +++ b/lib/clang/include/lld/Common/Version.inc @@ -1,4 +1,4 @@ // Local identifier in __FreeBSD_version style #define LLD_FREEBSD_VERSION 1400006 -#define LLD_VERSION_STRING "16.0.5 (FreeBSD llvmorg-16.0.5-0-g185b81e034ba-" __XSTRING(LLD_FREEBSD_VERSION) ")" +#define LLD_VERSION_STRING "16.0.6 (FreeBSD llvmorg-16.0.6-0-g7cbf1a259152-" __XSTRING(LLD_FREEBSD_VERSION) ")" diff --git a/lib/clang/include/lldb/Host/Config.h b/lib/clang/include/lldb/Host/Config.h index 0e855b6b09c6..8f6bdf58790e 100644 --- a/lib/clang/include/lldb/Host/Config.h +++ b/lib/clang/include/lldb/Host/Config.h @@ -1,4 +1,3 @@ -// $FreeBSD$ //===-- Config.h -----------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/lib/clang/include/lldb/Version/Version.inc b/lib/clang/include/lldb/Version/Version.inc index 982e4714b182..99f8a8e09dea 100644 --- a/lib/clang/include/lldb/Version/Version.inc +++ b/lib/clang/include/lldb/Version/Version.inc @@ -1,6 +1,6 @@ -#define LLDB_VERSION 16.0.5 -#define LLDB_VERSION_STRING "16.0.5" +#define LLDB_VERSION 16.0.6 +#define LLDB_VERSION_STRING "16.0.6" #define LLDB_VERSION_MAJOR 16 #define LLDB_VERSION_MINOR 0 -#define LLDB_VERSION_PATCH 5 +#define LLDB_VERSION_PATCH 6 /* #undef LLDB_FULL_VERSION_STRING */ diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def index d0924c0914f3..e37ea136a87b 100644 --- a/lib/clang/include/llvm/Config/AsmParsers.def +++ b/lib/clang/include/llvm/Config/AsmParsers.def @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - #ifndef LLVM_ASM_PARSER # error Please define the macro LLVM_ASM_PARSER(TargetName) #endif diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def index 2a335aa93b42..819a52bc29e2 100644 --- a/lib/clang/include/llvm/Config/AsmPrinters.def +++ b/lib/clang/include/llvm/Config/AsmPrinters.def @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - #ifndef LLVM_ASM_PRINTER # error Please define the macro LLVM_ASM_PRINTER(TargetName) #endif diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def index 756ff37b4bf8..90ab73d82294 100644 --- a/lib/clang/include/llvm/Config/Disassemblers.def +++ b/lib/clang/include/llvm/Config/Disassemblers.def @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - #ifndef LLVM_DISASSEMBLER # error Please define the macro LLVM_DISASSEMBLER(TargetName) #endif diff --git a/lib/clang/include/llvm/Config/TargetMCAs.def b/lib/clang/include/llvm/Config/TargetMCAs.def index be6edaf3dd69..e7d4e60c0098 100644 --- a/lib/clang/include/llvm/Config/TargetMCAs.def +++ b/lib/clang/include/llvm/Config/TargetMCAs.def @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - #ifndef LLVM_TARGETMCA # error Please define the macro LLVM_TARGETMCA(TargetName) #endif diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def index b6cb6fee9dce..a9a64ccd4202 100644 --- a/lib/clang/include/llvm/Config/Targets.def +++ b/lib/clang/include/llvm/Config/Targets.def @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - #ifndef LLVM_TARGET # error Please define the macro LLVM_TARGET(TargetName) #endif diff --git a/lib/clang/include/llvm/Config/abi-breaking.h b/lib/clang/include/llvm/Config/abi-breaking.h index 1254d6218db3..eb90be1fe37b 100644 --- a/lib/clang/include/llvm/Config/abi-breaking.h +++ b/lib/clang/include/llvm/Config/abi-breaking.h @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*===------- llvm/Config/abi-breaking.h - llvm configuration -------*- C -*-===*/ /* */ /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */ diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index d97252910e45..78af3cbddcd1 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ #ifndef CONFIG_H #define CONFIG_H @@ -348,10 +347,10 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 16.0.5" +#define PACKAGE_STRING "LLVM 16.0.6" /* Define to the version of this package. */ -#define PACKAGE_VERSION "16.0.5" +#define PACKAGE_VERSION "16.0.6" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 82d246c949f0..cdf493029a3a 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ /* */ /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */ @@ -74,10 +73,10 @@ #define LLVM_VERSION_MINOR 0 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 5 +#define LLVM_VERSION_PATCH 6 /* LLVM version string */ -#define LLVM_VERSION_STRING "16.0.5" +#define LLVM_VERSION_STRING "16.0.6" /* Whether LLVM records statistics for use with GetStatistics(), * PrintStatistics() or PrintStatisticsJSON() diff --git a/lib/clang/include/llvm/Support/Extension.def b/lib/clang/include/llvm/Support/Extension.def index 07fb3782b6c3..afb3240cecc2 100644 --- a/lib/clang/include/llvm/Support/Extension.def +++ b/lib/clang/include/llvm/Support/Extension.def @@ -1,3 +1,2 @@ -// $FreeBSD$ //extension handlers #undef HANDLE_EXTENSION diff --git a/lib/clang/include/llvm/Support/VCSRevision.h b/lib/clang/include/llvm/Support/VCSRevision.h index 95353f30f7ec..02b970068e71 100644 --- a/lib/clang/include/llvm/Support/VCSRevision.h +++ b/lib/clang/include/llvm/Support/VCSRevision.h @@ -1,3 +1,2 @@ -/* $FreeBSD$ */ -#define LLVM_REVISION "llvmorg-16.0.5-0-g185b81e034ba" +#define LLVM_REVISION "llvmorg-16.0.6-0-g7cbf1a259152" #define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git" diff --git a/lib/clang/liblldb/LLDBWrapLua.cpp b/lib/clang/liblldb/LLDBWrapLua.cpp index ed5bec8c61da..73bd6373845b 100644 --- a/lib/clang/liblldb/LLDBWrapLua.cpp +++ b/lib/clang/liblldb/LLDBWrapLua.cpp @@ -1,45 +1,17 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#ifndef SWIGLUA +#define SWIG_VERSION 0x040101 #define SWIGLUA -#endif - #define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA #define SWIG_LUA_MODULE_GLOBAL - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template<typename T> class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); - SwigValueWrapper(const SwigValueWrapper<T>& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template <typename T> T SwigValueInit() { - return T(); -} -#endif - /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -210,6 +182,8 @@ template <typename T> T SwigValueInit() { #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 +#define SWIG_POINTER_CLEAR 0x8 +#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -281,7 +255,7 @@ template <typename T> T SwigValueInit() { SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this + allows returning the 'cast rank', for example, if you have this int food(double) int fooi(int); @@ -295,7 +269,13 @@ template <typename T> T SwigValueInit() { */ #define SWIG_OK (0) +/* Runtime errors are < 0 */ #define SWIG_ERROR (-1) +/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ +/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ +/* Errors < -200 are generic runtime specific errors */ +#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) + #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) @@ -310,7 +290,7 @@ template <typename T> T SwigValueInit() { #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ +/* Check, add and del object mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) @@ -456,7 +436,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) { Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { +SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { @@ -516,9 +496,9 @@ SWIG_TypeName(const swig_type_info *ty) { SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ + type, separated by vertical-bar characters. Choose the last + name. It should be the most specific; a fully resolved name + but not necessarily with default template parameters expanded. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -738,7 +718,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* Errors in SWIG */ +/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -754,7 +734,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define SWIG_NullReferenceError -13 - /* ----------------------------------------------------------------------------- * luarun.swg * @@ -1064,7 +1043,7 @@ typedef struct { /* Contract support */ #define SWIG_contract_assert(expr, msg) \ - if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else + do { if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } } while (0) /* helper #defines */ @@ -1583,7 +1562,7 @@ SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, i /* NEW: looks for the __getitem() fn this is a user provided get fn */ SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */ - if (lua_iscfunction(L,-1)) /* if its there */ + if (lua_iscfunction(L,-1)) /* if it's there */ { /* found it so call the fn & return its value */ lua_pushvalue(L,substack_start+1); /* the userdata */ lua_pushvalue(L,substack_start+2); /* the parameter */ @@ -1640,7 +1619,7 @@ SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SW lua_pushvalue(L,substack_start+2); /* key */ lua_rawget(L,-2); /* look for the fn */ lua_remove(L,-2); /* stack tidy, remove .fn table */ - if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */ + if (lua_isfunction(L,-1)) /* note: if it's a C function or lua function */ { /* found it so return the fn & let lua call it */ lua_remove(L,-2); /* stack tidy, remove metatable */ if(ret) @@ -1723,7 +1702,7 @@ SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int fi /* NEW: looks for the __setitem() fn this is a user provided set fn */ SWIG_Lua_get_table(L,"__setitem"); /* find the fn */ - if (lua_iscfunction(L,-1)) /* if its there */ + if (lua_iscfunction(L,-1)) /* if it's there */ { /* found it so call the fn & return its value */ lua_pushvalue(L,substack_start+1); /* the userdata */ lua_pushvalue(L,substack_start+2); /* the parameter */ @@ -2100,15 +2079,15 @@ SWIGINTERN void SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_clas SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L); /*forward declaration*/ /* The real function that resolves a metamethod. - * Function searches given class and all it's bases(recursively) for first instance of something that is - * not equal to SWIG_Lua_resolve_metatmethod. (Almost always this 'something' is actual metamethod implementation + * Function searches given class and all its bases (recursively) for first instance of something that is + * not equal to SWIG_Lua_resolve_metamethod. (Almost always this 'something' is actual metamethod implementation * and it is a SWIG-generated C function.). It returns value on the top of the L and there is no garbage below the * answer. * Returns 1 if found, 0 otherwise. * clss is class which metatable we will search for method * metamethod_name_idx is index in L where metamethod name (as string) lies - * skip_check allows to skip searching metamethod in givel clss and immideatelly go to searching in bases. skip_check - * is not caried to subsequent recursive calls - false is always passed. It is set to true only at first call from + * skip_check allows skipping searching metamethod in the given class and immediately going to searching in bases. skip_check + * is not carried to subsequent recursive calls - false is always passed. It is set to true only at first call from * SWIG_Lua_resolve_metamethod * */ SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx, @@ -2254,7 +2233,7 @@ SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class } } - lua_pop(L,1); /* remove inheritable metatmethods table */ + lua_pop(L,1); /* remove inheritable metamethods table */ /* Special handling for __tostring method */ lua_pushstring(L, "__tostring"); @@ -2514,6 +2493,7 @@ SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *t (if possible) */ SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags) { + int ret = SWIG_ERROR; swig_lua_userdata *usr; swig_cast_info *cast; /* special case: lua nil => NULL pointer */ @@ -2530,30 +2510,41 @@ SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */ if (usr) { + if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !usr->own) + { + return SWIG_ERROR_RELEASE_NOT_OWNED; + } if (flags & SWIG_POINTER_DISOWN) /* must disown the object */ { - usr->own=0; + usr->own = 0; } if (!type) /* special cast void*, no casting fn */ { *ptr=usr->ptr; - return SWIG_OK; /* ok */ + ret = SWIG_OK; + } + else + { + cast=SWIG_TypeCheck(usr->type->name,type); /* performs normal type checking */ + if (cast) + { + int newmemory = 0; + *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory); + assert(!newmemory); /* newmemory handling not yet implemented */ + ret = SWIG_OK; + } } - cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */ - if (cast) + if ((ret == SWIG_OK) && (flags & SWIG_POINTER_CLEAR)) { - int newmemory = 0; - *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory); - assert(!newmemory); /* newmemory handling not yet implemented */ - return SWIG_OK; /* ok */ + usr->ptr = 0; } } - return SWIG_ERROR; /* error */ + return ret; } SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags, int argnum,const char *func_name){ - void *result; + void *result = 0; if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){ luaL_error (L,"Error in %s, expected a %s at argument number %d\n", func_name,(type && type->str)?type->str:"void*",argnum); @@ -2946,6 +2937,54 @@ static swig_module_info swig_module = {swig_types, 236, 0, 0, 0, 0}; #define SWIG_LUACODE luaopen_lldb_luacode +#ifdef __cplusplus +#include <utility> +/* SwigValueWrapper is described in swig.swg */ +template<typename T> class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); + SwigValueWrapper(const SwigValueWrapper<T>& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template <typename T> T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif + + namespace swig { typedef struct{} LANGUAGE_OBJ; } @@ -3747,39 +3786,39 @@ static int LLDBSwigLuaCloseFileHandle(lua_State * L) { extern "C" { #endif static int _wrap_new_string__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - std::string *result = 0 ; - - SWIG_check_num_args("std::string::string",0,0) - result = (std::string *)new std::string(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + std::string *result = 0 ; + + SWIG_check_num_args("std::string::string",0,0) + result = (std::string *)new std::string(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_string__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - std::string *result = 0 ; - - SWIG_check_num_args("std::string::string",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("std::string::string",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (std::string *)new std::string((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + std::string *result = 0 ; + + SWIG_check_num_args("std::string::string",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("std::string::string",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (std::string *)new std::string((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -3794,7 +3833,7 @@ static int _wrap_new_string(lua_State* L) { return _wrap_new_string__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -3812,148 +3851,148 @@ static int _wrap_new_string(lua_State* L) { static int _wrap_string_size(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - unsigned int result; - - SWIG_check_num_args("std::string::size",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::size",1,"std::string const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_size",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + unsigned int result; + + SWIG_check_num_args("std::string::size",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::size",1,"std::string const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_size",1,SWIGTYPE_p_std__string); + } + + result = (unsigned int)((std::string const *)arg1)->size(); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (unsigned int)((std::string const *)arg1)->size(); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_string_length(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - unsigned int result; - - SWIG_check_num_args("std::string::length",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::length",1,"std::string const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_length",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + unsigned int result; + + SWIG_check_num_args("std::string::length",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::length",1,"std::string const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_length",1,SWIGTYPE_p_std__string); + } + + result = (unsigned int)((std::string const *)arg1)->length(); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (unsigned int)((std::string const *)arg1)->length(); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_string_empty(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - bool result; - - SWIG_check_num_args("std::string::empty",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::empty",1,"std::string const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_empty",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + bool result; + + SWIG_check_num_args("std::string::empty",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::empty",1,"std::string const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_empty",1,SWIGTYPE_p_std__string); + } + + result = (bool)((std::string const *)arg1)->empty(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((std::string const *)arg1)->empty(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_string_c_str(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("std::string::c_str",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::c_str",1,"std::string const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_c_str",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("std::string::c_str",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::c_str",1,"std::string const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_c_str",1,SWIGTYPE_p_std__string); + } + + result = (char *)((std::string const *)arg1)->c_str(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((std::string const *)arg1)->c_str(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_string_data(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("std::string::data",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::data",1,"std::string const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_data",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("std::string::data",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::data",1,"std::string const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_data",1,SWIGTYPE_p_std__string); + } + + result = (char *)((std::string const *)arg1)->data(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((std::string const *)arg1)->data(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_string_assign(lua_State* L) { - int SWIG_arg = 0; - std::string *arg1 = (std::string *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("std::string::assign",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::assign",1,"std::string *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("std::string::assign",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ - SWIG_fail_ptr("string_assign",1,SWIGTYPE_p_std__string); + { + int SWIG_arg = 0; + std::string *arg1 = (std::string *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("std::string::assign",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::assign",1,"std::string *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("std::string::assign",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){ + SWIG_fail_ptr("string_assign",1,SWIGTYPE_p_std__string); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->assign((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->assign((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -4011,99 +4050,99 @@ static const char *swig_string_base_names[] = {0}; static swig_lua_class _wrap_class_string = { "string", "string", &SWIGTYPE_p_std__string,_proxy__wrap_new_string, swig_delete_string, swig_string_methods, swig_string_attributes, &swig_string_Sf_SwigStatic, swig_string_meta, swig_string_bases, swig_string_base_names }; static int _wrap_new_SBAddress__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *result = 0 ; - - SWIG_check_num_args("lldb::SBAddress::SBAddress",0,0) - result = (lldb::SBAddress *)new lldb::SBAddress(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBAddress *result = 0 ; + + SWIG_check_num_args("lldb::SBAddress::SBAddress",0,0) + result = (lldb::SBAddress *)new lldb::SBAddress(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAddress__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = 0 ; - lldb::SBAddress *result = 0 ; - - SWIG_check_num_args("lldb::SBAddress::SBAddress",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBAddress const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = 0 ; + lldb::SBAddress *result = 0 ; + + SWIG_check_num_args("lldb::SBAddress::SBAddress",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBAddress const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (lldb::SBAddress *)new lldb::SBAddress((lldb::SBAddress const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBAddress *)new lldb::SBAddress((lldb::SBAddress const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAddress__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection arg1 ; - lldb::addr_t arg2 ; - lldb::SBSection *argp1 ; - lldb::SBAddress *result = 0 ; - - SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBSection"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection arg1 ; + lldb::addr_t arg2 ; + lldb::SBSection *argp1 ; + lldb::SBAddress *result = 0 ; + + SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBSection"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBSection); + } + arg1 = *argp1; + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (lldb::SBAddress *)new lldb::SBAddress(arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg1 = *argp1; - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (lldb::SBAddress *)new lldb::SBAddress(arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAddress__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::addr_t arg1 ; - lldb::SBTarget *arg2 = 0 ; - lldb::SBAddress *result = 0 ; - - SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::addr_t"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::SBTarget &"); - arg1 = (lldb::addr_t)lua_tointeger(L, 1); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("new_SBAddress",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::addr_t arg1 ; + lldb::SBTarget *arg2 = 0 ; + lldb::SBAddress *result = 0 ; + + SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::addr_t"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::SBTarget &"); + arg1 = (lldb::addr_t)lua_tointeger(L, 1); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("new_SBAddress",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::SBAddress *)new lldb::SBAddress(arg1,*arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBAddress *)new lldb::SBAddress(arg1,*arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -4118,7 +4157,7 @@ static int _wrap_new_SBAddress(lua_State* L) { return _wrap_new_SBAddress__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) { @@ -4132,7 +4171,7 @@ static int _wrap_new_SBAddress(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) { @@ -4151,7 +4190,7 @@ static int _wrap_new_SBAddress(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -4181,497 +4220,497 @@ static int _wrap_new_SBAddress(lua_State* L) { static int _wrap_SBAddress_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAddress::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::IsValid",1,"lldb::SBAddress const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_IsValid",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAddress::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::IsValid",1,"lldb::SBAddress const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_IsValid",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (bool)((lldb::SBAddress const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBAddress const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - - SWIG_check_num_args("lldb::SBAddress::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::Clear",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_Clear",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + + SWIG_check_num_args("lldb::SBAddress::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::Clear",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_Clear",1,SWIGTYPE_p_lldb__SBAddress); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetFileAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBAddress::GetFileAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFileAddress",1,"lldb::SBAddress const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetFileAddress",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBAddress::GetFileAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFileAddress",1,"lldb::SBAddress const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetFileAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetFileAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetFileAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBTarget *arg2 = 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBAddress::GetLoadAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",1,"lldb::SBAddress const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",2,"lldb::SBTarget const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBAddress_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBTarget *arg2 = 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBAddress::GetLoadAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",1,"lldb::SBAddress const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",2,"lldb::SBTarget const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBAddress_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetLoadAddress((lldb::SBTarget const &)*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetLoadAddress((lldb::SBTarget const &)*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_SetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::addr_t arg2 ; - lldb::SBTarget *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBAddress::SetLoadAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",1,"lldb::SBAddress *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",2,"lldb::addr_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",3,"lldb::SBTarget &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_SetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBAddress_SetLoadAddress",3,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::addr_t arg2 ; + lldb::SBTarget *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBAddress::SetLoadAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",1,"lldb::SBAddress *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",2,"lldb::addr_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",3,"lldb::SBTarget &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_SetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBAddress_SetLoadAddress",3,SWIGTYPE_p_lldb__SBTarget); + } + + (arg1)->SetLoadAddress(arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetLoadAddress(arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_OffsetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::addr_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBAddress::OffsetAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",1,"lldb::SBAddress *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_OffsetAddress",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::addr_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBAddress::OffsetAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",1,"lldb::SBAddress *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_OffsetAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (bool)(arg1)->OffsetAddress(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (bool)(arg1)->OffsetAddress(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAddress::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetDescription",1,"lldb::SBAddress *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetDescription",1,SWIGTYPE_p_lldb__SBAddress); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBAddress_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAddress::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetDescription",1,"lldb::SBAddress *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetDescription",1,SWIGTYPE_p_lldb__SBAddress); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBAddress_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetSection(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBAddress::GetSection",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSection",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetSection",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetSection(); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBAddress::GetSection",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSection",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetSection",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetSection(); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetOffset(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBAddress::GetOffset",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetOffset",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetOffset",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBAddress::GetOffset",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetOffset",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetOffset",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (lldb::addr_t)(arg1)->GetOffset(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetOffset(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_SetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBSection arg2 ; - lldb::addr_t arg3 ; - lldb::SBSection *argp2 ; - - SWIG_check_num_args("lldb::SBAddress::SetAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetAddress",1,"lldb::SBAddress *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SetAddress",2,"lldb::SBSection"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBAddress::SetAddress",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_SetAddress",1,SWIGTYPE_p_lldb__SBAddress); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBAddress_SetAddress",2,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBSection arg2 ; + lldb::addr_t arg3 ; + lldb::SBSection *argp2 ; + + SWIG_check_num_args("lldb::SBAddress::SetAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetAddress",1,"lldb::SBAddress *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SetAddress",2,"lldb::SBSection"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBAddress::SetAddress",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_SetAddress",1,SWIGTYPE_p_lldb__SBAddress); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBAddress_SetAddress",2,SWIGTYPE_p_lldb__SBSection); + } + arg2 = *argp2; + + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + (arg1)->SetAddress(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - (arg1)->SetAddress(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetSymbolContext(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - uint32_t arg2 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBAddress::GetSymbolContext",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",1,"lldb::SBAddress *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetSymbolContext",1,SWIGTYPE_p_lldb__SBAddress); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetSymbolContext(arg2); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + uint32_t arg2 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBAddress::GetSymbolContext",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",1,"lldb::SBAddress *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetSymbolContext",1,SWIGTYPE_p_lldb__SBAddress); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetSymbolContext(arg2); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBAddress::GetModule",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetModule",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetModule",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetModule(); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBAddress::GetModule",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetModule",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetModule",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetModule(); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetCompileUnit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBCompileUnit result; - - SWIG_check_num_args("lldb::SBAddress::GetCompileUnit",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetCompileUnit",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetCompileUnit",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetCompileUnit(); { - lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit((const lldb::SBCompileUnit &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBCompileUnit result; + + SWIG_check_num_args("lldb::SBAddress::GetCompileUnit",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetCompileUnit",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetCompileUnit",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetCompileUnit(); + { + lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetFunction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBFunction result; - - SWIG_check_num_args("lldb::SBAddress::GetFunction",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFunction",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetFunction",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetFunction(); { - lldb::SBFunction * resultptr = new lldb::SBFunction((const lldb::SBFunction &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBFunction result; + + SWIG_check_num_args("lldb::SBAddress::GetFunction",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFunction",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetFunction",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetFunction(); + { + lldb::SBFunction * resultptr = new lldb::SBFunction(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBAddress::GetBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetBlock",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetBlock",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBAddress::GetBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetBlock",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetBlock",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetSymbol(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBAddress::GetSymbol",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbol",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetSymbol",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetSymbol(); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBAddress::GetSymbol",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbol",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetSymbol",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetSymbol(); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress_GetLineEntry(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - lldb::SBLineEntry result; - - SWIG_check_num_args("lldb::SBAddress::GetLineEntry",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLineEntry",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress_GetLineEntry",1,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->GetLineEntry(); { - lldb::SBLineEntry * resultptr = new lldb::SBLineEntry((const lldb::SBLineEntry &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + lldb::SBLineEntry result; + + SWIG_check_num_args("lldb::SBAddress::GetLineEntry",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLineEntry",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress_GetLineEntry",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->GetLineEntry(); + { + lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAddress___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBAddress::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::__repr__",1,"lldb::SBAddress *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBAddress___tostring",1,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBAddress::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::__repr__",1,"lldb::SBAddress *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBAddress___tostring",1,SWIGTYPE_p_lldb__SBAddress); + } + + result = lldb_SBAddress___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBAddress___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -4742,112 +4781,112 @@ static const char *swig_SBAddress_base_names[] = {0}; static swig_lua_class _wrap_class_SBAddress = { "SBAddress", "SBAddress", &SWIGTYPE_p_lldb__SBAddress,_proxy__wrap_new_SBAddress, swig_delete_SBAddress, swig_SBAddress_methods, swig_SBAddress_attributes, &swig_SBAddress_Sf_SwigStatic, swig_SBAddress_meta, swig_SBAddress_bases, swig_SBAddress_base_names }; static int _wrap_new_SBAttachInfo__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",0,0) - result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBAttachInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",0,0) + result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAttachInfo__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::pid_t arg1 ; - lldb::SBAttachInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::pid_t"); - arg1 = (lldb::pid_t)lua_tointeger(L, 1); - result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::pid_t arg1 ; + lldb::SBAttachInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::pid_t"); + arg1 = (lldb::pid_t)lua_tointeger(L, 1); + result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAttachInfo__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - bool arg2 ; - lldb::SBAttachInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lua_toboolean(L, 2)!=0); - result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + bool arg2 ; + lldb::SBAttachInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lua_toboolean(L, 2)!=0); + result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAttachInfo__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - bool arg2 ; - bool arg3 ; - lldb::SBAttachInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",3,3) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",3,"bool"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2,arg3); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + bool arg2 ; + bool arg3 ; + lldb::SBAttachInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",3,3) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",3,"bool"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2,arg3); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBAttachInfo__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = 0 ; - lldb::SBAttachInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::SBAttachInfo const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("new_SBAttachInfo",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = 0 ; + lldb::SBAttachInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::SBAttachInfo const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("new_SBAttachInfo",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((lldb::SBAttachInfo const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((lldb::SBAttachInfo const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -4862,7 +4901,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { return _wrap_new_SBAttachInfo__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, SWIG_POINTER_NO_NULL)) { @@ -4876,7 +4915,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -4885,7 +4924,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -4899,7 +4938,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -4930,110 +4969,110 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { static int _wrap_SBAttachInfo_GetProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (lldb::pid_t)(arg1)->GetProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::pid_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetProcessID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",2,"lldb::pid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::pid_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetProcessID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",2,"lldb::pid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (lldb::pid_t)lua_tointeger(L, 2); + (arg1)->SetProcessID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::pid_t)lua_tointeger(L, 2); - (arg1)->SetProcessID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetExecutable__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetExecutable((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetExecutable((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetExecutable__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::SBFileSpec arg2 ; - lldb::SBFileSpec *argp2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"lldb::SBFileSpec"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBAttachInfo_SetExecutable",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::SBFileSpec arg2 ; + lldb::SBFileSpec *argp2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"lldb::SBFileSpec"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBAttachInfo_SetExecutable",2,SWIGTYPE_p_lldb__SBFileSpec); + } + arg2 = *argp2; + + (arg1)->SetExecutable(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetExecutable(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -5045,7 +5084,7 @@ static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { @@ -5069,7 +5108,7 @@ static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { @@ -5097,81 +5136,81 @@ static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) { static int _wrap_SBAttachInfo_GetWaitForLaunch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetWaitForLaunch",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetWaitForLaunch",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetWaitForLaunch",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetWaitForLaunch",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->GetWaitForLaunch(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetWaitForLaunch(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetWaitForLaunch(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetWaitForLaunch(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetWaitForLaunch(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetWaitForLaunch(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -5183,7 +5222,7 @@ static int _wrap_SBAttachInfo_SetWaitForLaunch(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { @@ -5202,7 +5241,7 @@ static int _wrap_SBAttachInfo_SetWaitForLaunch(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { @@ -5235,579 +5274,579 @@ static int _wrap_SBAttachInfo_SetWaitForLaunch(lua_State* L) { static int _wrap_SBAttachInfo_GetIgnoreExisting(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetIgnoreExisting",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetIgnoreExisting",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetIgnoreExisting",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetIgnoreExisting",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->GetIgnoreExisting(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetIgnoreExisting(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetIgnoreExisting(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetIgnoreExisting",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",1,"lldb::SBAttachInfo *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetIgnoreExisting",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",1,"lldb::SBAttachInfo *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIgnoreExisting(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIgnoreExisting(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetResumeCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetResumeCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetResumeCount",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetResumeCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetResumeCount",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (uint32_t)(arg1)->GetResumeCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetResumeCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetResumeCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetResumeCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetResumeCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetResumeCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetResumeCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetProcessPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::GetProcessPluginName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessPluginName",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::GetProcessPluginName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessPluginName",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (char *)(arg1)->GetProcessPluginName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetProcessPluginName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetProcessPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetProcessPluginName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",1,"lldb::SBAttachInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetProcessPluginName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",1,"lldb::SBAttachInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetProcessPluginName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetProcessPluginName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetUserID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetUserID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetUserID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetUserID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (uint32_t)(arg1)->GetUserID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetUserID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetGroupID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetGroupID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetGroupID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetGroupID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (uint32_t)(arg1)->GetGroupID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetGroupID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_UserIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::UserIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::UserIDIsValid",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::UserIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::UserIDIsValid",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->UserIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->UserIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GroupIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::GroupIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GroupIDIsValid",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::GroupIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GroupIDIsValid",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->GroupIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GroupIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetUserID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetUserID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetUserID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetUserID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetGroupID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetGroupID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetGroupID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetGroupID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetEffectiveUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveUserID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveUserID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveUserID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveUserID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (uint32_t)(arg1)->GetEffectiveUserID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetEffectiveUserID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetEffectiveGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveGroupID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveGroupID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveGroupID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveGroupID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (uint32_t)(arg1)->GetEffectiveGroupID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetEffectiveGroupID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_EffectiveUserIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->EffectiveUserIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EffectiveUserIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_EffectiveGroupIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->EffectiveGroupIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EffectiveGroupIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetEffectiveUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveUserID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveUserID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetEffectiveUserID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetEffectiveUserID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetEffectiveGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveGroupID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveGroupID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetEffectiveGroupID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetEffectiveGroupID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetParentProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetParentProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetParentProcessID",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetParentProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetParentProcessID",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (lldb::pid_t)(arg1)->GetParentProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetParentProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetParentProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::pid_t arg2 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetParentProcessID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",1,"lldb::SBAttachInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",2,"lldb::pid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::pid_t arg2 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetParentProcessID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",1,"lldb::SBAttachInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",2,"lldb::pid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + arg2 = (lldb::pid_t)lua_tointeger(L, 2); + (arg1)->SetParentProcessID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::pid_t)lua_tointeger(L, 2); - (arg1)->SetParentProcessID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_ParentProcessIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBAttachInfo::ParentProcessIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::ParentProcessIDIsValid",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_ParentProcessIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBAttachInfo::ParentProcessIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::ParentProcessIDIsValid",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_ParentProcessIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (bool)(arg1)->ParentProcessIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->ParentProcessIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_GetListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::SBListener result; - - SWIG_check_num_args("lldb::SBAttachInfo::GetListener",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetListener",1,"lldb::SBAttachInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_GetListener",1,SWIGTYPE_p_lldb__SBAttachInfo); - } - - result = (arg1)->GetListener(); { - lldb::SBListener * resultptr = new lldb::SBListener((const lldb::SBListener &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::SBListener result; + + SWIG_check_num_args("lldb::SBAttachInfo::GetListener",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetListener",1,"lldb::SBAttachInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_GetListener",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + result = (arg1)->GetListener(); + { + lldb::SBListener * resultptr = new lldb::SBListener(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBAttachInfo_SetListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; - lldb::SBListener *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBAttachInfo::SetListener",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",1,"lldb::SBAttachInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",2,"lldb::SBListener &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBAttachInfo_SetListener",1,SWIGTYPE_p_lldb__SBAttachInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBAttachInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ; + lldb::SBListener *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBAttachInfo::SetListener",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",1,"lldb::SBAttachInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",2,"lldb::SBListener &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBAttachInfo_SetListener",1,SWIGTYPE_p_lldb__SBAttachInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBAttachInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener); + } + + (arg1)->SetListener(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetListener(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -5887,43 +5926,43 @@ static const char *swig_SBAttachInfo_base_names[] = {0}; static swig_lua_class _wrap_class_SBAttachInfo = { "SBAttachInfo", "SBAttachInfo", &SWIGTYPE_p_lldb__SBAttachInfo,_proxy__wrap_new_SBAttachInfo, swig_delete_SBAttachInfo, swig_SBAttachInfo_methods, swig_SBAttachInfo_attributes, &swig_SBAttachInfo_Sf_SwigStatic, swig_SBAttachInfo_meta, swig_SBAttachInfo_bases, swig_SBAttachInfo_base_names }; static int _wrap_new_SBBlock__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *result = 0 ; - - SWIG_check_num_args("lldb::SBBlock::SBBlock",0,0) - result = (lldb::SBBlock *)new lldb::SBBlock(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBBlock *result = 0 ; + + SWIG_check_num_args("lldb::SBBlock::SBBlock",0,0) + result = (lldb::SBBlock *)new lldb::SBBlock(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBlock__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = 0 ; - lldb::SBBlock *result = 0 ; - - SWIG_check_num_args("lldb::SBBlock::SBBlock",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBlock::SBBlock",1,"lldb::SBBlock const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("new_SBBlock",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = 0 ; + lldb::SBBlock *result = 0 ; + + SWIG_check_num_args("lldb::SBBlock::SBBlock",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBlock::SBBlock",1,"lldb::SBBlock const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("new_SBBlock",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (lldb::SBBlock *)new lldb::SBBlock((lldb::SBBlock const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBlock *)new lldb::SBBlock((lldb::SBBlock const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -5938,7 +5977,7 @@ static int _wrap_new_SBBlock(lua_State* L) { return _wrap_new_SBBlock__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, SWIG_POINTER_NO_NULL)) { @@ -5961,494 +6000,494 @@ static int _wrap_new_SBBlock(lua_State* L) { static int _wrap_SBBlock_IsInlined(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBlock::IsInlined",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsInlined",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_IsInlined",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBlock::IsInlined",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsInlined",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_IsInlined",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (bool)((lldb::SBBlock const *)arg1)->IsInlined(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBlock const *)arg1)->IsInlined(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBlock::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsValid",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_IsValid",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBlock::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsValid",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_IsValid",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (bool)((lldb::SBBlock const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBlock const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetInlinedName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBlock::GetInlinedName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedName",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetInlinedName",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBlock::GetInlinedName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedName",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetInlinedName",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (char *)((lldb::SBBlock const *)arg1)->GetInlinedName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBlock const *)arg1)->GetInlinedName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetInlinedCallSiteFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteFile",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetInlinedCallSiteFile",1,SWIGTYPE_p_lldb__SBBlock); - } - - result = ((lldb::SBBlock const *)arg1)->GetInlinedCallSiteFile(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteFile",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetInlinedCallSiteFile",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = ((lldb::SBBlock const *)arg1)->GetInlinedCallSiteFile(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetInlinedCallSiteLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteLine",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteLine",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetInlinedCallSiteLine",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteLine",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteLine",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetInlinedCallSiteLine",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteLine(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteLine(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetInlinedCallSiteColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteColumn",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteColumn",1,"lldb::SBBlock const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetInlinedCallSiteColumn",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteColumn",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteColumn",1,"lldb::SBBlock const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetInlinedCallSiteColumn",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteColumn(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteColumn(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetParent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBBlock::GetParent",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetParent",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetParent",1,SWIGTYPE_p_lldb__SBBlock); - } - - result = (arg1)->GetParent(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBBlock::GetParent",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetParent",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetParent",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (arg1)->GetParent(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetContainingInlinedBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBBlock::GetContainingInlinedBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetContainingInlinedBlock",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetContainingInlinedBlock",1,SWIGTYPE_p_lldb__SBBlock); - } - - result = (arg1)->GetContainingInlinedBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBBlock::GetContainingInlinedBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetContainingInlinedBlock",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetContainingInlinedBlock",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (arg1)->GetContainingInlinedBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetSibling(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBBlock::GetSibling",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetSibling",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetSibling",1,SWIGTYPE_p_lldb__SBBlock); - } - - result = (arg1)->GetSibling(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBBlock::GetSibling",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetSibling",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetSibling",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (arg1)->GetSibling(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetFirstChild(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBBlock::GetFirstChild",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetFirstChild",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetFirstChild",1,SWIGTYPE_p_lldb__SBBlock); - } - - result = (arg1)->GetFirstChild(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBBlock::GetFirstChild",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetFirstChild",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetFirstChild",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (arg1)->GetFirstChild(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetNumRanges(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBlock::GetNumRanges",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetNumRanges",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetNumRanges",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBlock::GetNumRanges",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetNumRanges",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetNumRanges",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = (uint32_t)(arg1)->GetNumRanges(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumRanges(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetRangeStartAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - uint32_t arg2 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBBlock::GetRangeStartAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",1,"lldb::SBBlock *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetRangeStartAddress",1,SWIGTYPE_p_lldb__SBBlock); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetRangeStartAddress(arg2); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + uint32_t arg2 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBBlock::GetRangeStartAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",1,"lldb::SBBlock *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetRangeStartAddress",1,SWIGTYPE_p_lldb__SBBlock); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetRangeStartAddress(arg2); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetRangeEndAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - uint32_t arg2 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBBlock::GetRangeEndAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",1,"lldb::SBBlock *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetRangeEndAddress",1,SWIGTYPE_p_lldb__SBBlock); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetRangeEndAddress(arg2); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + uint32_t arg2 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBBlock::GetRangeEndAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",1,"lldb::SBBlock *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetRangeEndAddress",1,SWIGTYPE_p_lldb__SBBlock); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetRangeEndAddress(arg2); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetRangeIndexForBlockAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBAddress arg2 ; - lldb::SBAddress *argp2 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBlock::GetRangeIndexForBlockAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",1,"lldb::SBBlock *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",2,"lldb::SBAddress"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",1,SWIGTYPE_p_lldb__SBBlock); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",2,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBAddress arg2 ; + lldb::SBAddress *argp2 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBlock::GetRangeIndexForBlockAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",1,"lldb::SBBlock *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",2,"lldb::SBAddress"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",1,SWIGTYPE_p_lldb__SBBlock); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBlock::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetDescription",1,"lldb::SBBlock *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetDescription",1,SWIGTYPE_p_lldb__SBBlock); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBBlock_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBlock::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetDescription",1,"lldb::SBBlock *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetDescription",1,SWIGTYPE_p_lldb__SBBlock); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBBlock_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetVariables__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBFrame *arg2 = 0 ; - bool arg3 ; - bool arg4 ; - bool arg5 ; - lldb::DynamicValueType arg6 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBBlock::GetVariables",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBFrame &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool"); - if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBBlock::GetVariables",6,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBFrame); - } - - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6); - result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5,arg6); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBFrame *arg2 = 0 ; + bool arg3 ; + bool arg4 ; + bool arg5 ; + lldb::DynamicValueType arg6 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBBlock::GetVariables",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBFrame &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool"); + if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBBlock::GetVariables",6,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBFrame); + } + + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6); + result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5,arg6); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBlock_GetVariables__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - lldb::SBTarget *arg2 = 0 ; - bool arg3 ; - bool arg4 ; - bool arg5 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBBlock::GetVariables",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBTarget &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBTarget); - } - - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + lldb::SBTarget *arg2 = 0 ; + bool arg3 ; + bool arg4 ; + bool arg5 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBBlock::GetVariables",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBTarget &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBTarget); + } + + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -6460,7 +6499,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) { argc = lua_gettop(L); if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) { @@ -6499,7 +6538,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) { @@ -6552,26 +6591,26 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) { static int _wrap_SBBlock___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBBlock::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::__repr__",1,"lldb::SBBlock *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBBlock___tostring",1,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBBlock::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::__repr__",1,"lldb::SBBlock *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBBlock___tostring",1,SWIGTYPE_p_lldb__SBBlock); + } + + result = lldb_SBBlock___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBBlock___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -6641,43 +6680,43 @@ static const char *swig_SBBlock_base_names[] = {0}; static swig_lua_class _wrap_class_SBBlock = { "SBBlock", "SBBlock", &SWIGTYPE_p_lldb__SBBlock,_proxy__wrap_new_SBBlock, swig_delete_SBBlock, swig_SBBlock_methods, swig_SBBlock_attributes, &swig_SBBlock_Sf_SwigStatic, swig_SBBlock_meta, swig_SBBlock_bases, swig_SBBlock_base_names }; static int _wrap_new_SBBreakpoint__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",0,0) - result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBBreakpoint *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",0,0) + result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBreakpoint__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = 0 ; - lldb::SBBreakpoint *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SBBreakpoint",1,"lldb::SBBreakpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("new_SBBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = 0 ; + lldb::SBBreakpoint *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SBBreakpoint",1,"lldb::SBBreakpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("new_SBBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint((lldb::SBBreakpoint const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint((lldb::SBBreakpoint const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -6692,7 +6731,7 @@ static int _wrap_new_SBBreakpoint(lua_State* L) { return _wrap_new_SBBreakpoint__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { @@ -6715,809 +6754,809 @@ static int _wrap_new_SBBreakpoint(lua_State* L) { static int _wrap_SBBreakpoint___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBBreakpoint *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",2,"lldb::SBBreakpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint___eq",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint___eq",2,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBBreakpoint *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",2,"lldb::SBBreakpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint___eq",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint___eq",2,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->operator ==((lldb::SBBreakpoint const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==((lldb::SBBreakpoint const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::break_id_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetID",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetID",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::break_id_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetID",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetID",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (lldb::break_id_t)((lldb::SBBreakpoint const *)arg1)->GetID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::break_id_t)((lldb::SBBreakpoint const *)arg1)->GetID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsValid",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_IsValid",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsValid",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_IsValid",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)((lldb::SBBreakpoint const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBreakpoint const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_ClearAllBreakpointSites(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::ClearAllBreakpointSites",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::ClearAllBreakpointSites",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_ClearAllBreakpointSites",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::ClearAllBreakpointSites",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::ClearAllBreakpointSites",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_ClearAllBreakpointSites",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + (arg1)->ClearAllBreakpointSites(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->ClearAllBreakpointSites(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetTarget",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetTarget",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - result = ((lldb::SBBreakpoint const *)arg1)->GetTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetTarget",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetTarget",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = ((lldb::SBBreakpoint const *)arg1)->GetTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_FindLocationByAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::addr_t arg2 ; - lldb::SBBreakpointLocation result; - - SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_FindLocationByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->FindLocationByAddress(arg2); { - lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation((const lldb::SBBreakpointLocation &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::addr_t arg2 ; + lldb::SBBreakpointLocation result; + + SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_FindLocationByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->FindLocationByAddress(arg2); + { + lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_FindLocationIDByAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::addr_t arg2 ; - lldb::break_id_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::FindLocationIDByAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_FindLocationIDByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::addr_t arg2 ; + lldb::break_id_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::FindLocationIDByAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_FindLocationIDByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (lldb::break_id_t)(arg1)->FindLocationIDByAddress(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (lldb::break_id_t)(arg1)->FindLocationIDByAddress(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_FindLocationByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::break_id_t arg2 ; - lldb::SBBreakpointLocation result; - - SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",2,"lldb::break_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_FindLocationByID",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (lldb::break_id_t)lua_tointeger(L, 2); - result = (arg1)->FindLocationByID(arg2); { - lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation((const lldb::SBBreakpointLocation &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::break_id_t arg2 ; + lldb::SBBreakpointLocation result; + + SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",2,"lldb::break_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_FindLocationByID",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lldb::break_id_t)lua_tointeger(L, 2); + result = (arg1)->FindLocationByID(arg2); + { + lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetLocationAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t arg2 ; - lldb::SBBreakpointLocation result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetLocationAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetLocationAtIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetLocationAtIndex(arg2); { - lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation((const lldb::SBBreakpointLocation &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t arg2 ; + lldb::SBBreakpointLocation result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetLocationAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetLocationAtIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetLocationAtIndex(arg2); + { + lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetEnabled",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",1,"lldb::SBBreakpoint *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetEnabled",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",1,"lldb::SBBreakpoint *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEnabled(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEnabled(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_IsEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::IsEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsEnabled",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::IsEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsEnabled",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->IsEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetOneShot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetOneShot",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",1,"lldb::SBBreakpoint *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetOneShot",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",1,"lldb::SBBreakpoint *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetOneShot(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetOneShot(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_IsOneShot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::IsOneShot",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsOneShot",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::IsOneShot",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsOneShot",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->IsOneShot(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsOneShot(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_IsInternal(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::IsInternal",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsInternal",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_IsInternal",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::IsInternal",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsInternal",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_IsInternal",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->IsInternal(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsInternal(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetHitCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetHitCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetHitCount",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetHitCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetHitCount",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetHitCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetHitCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetIgnoreCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetIgnoreCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetIgnoreCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetIgnoreCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetIgnoreCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetIgnoreCount",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetIgnoreCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetIgnoreCount",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetIgnoreCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetIgnoreCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetCondition",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetCondition",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetCondition((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetCondition((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::GetCondition",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCondition",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::GetCondition",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCondition",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (char *)(arg1)->GetCondition(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetCondition(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetAutoContinue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",1,"lldb::SBBreakpoint *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetAutoContinue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",1,"lldb::SBBreakpoint *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAutoContinue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAutoContinue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetAutoContinue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetAutoContinue",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetAutoContinue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetAutoContinue",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->GetAutoContinue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAutoContinue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::tid_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetThreadID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",2,"lldb::tid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::tid_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetThreadID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",2,"lldb::tid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + (arg1)->SetThreadID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - (arg1)->SetThreadID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::tid_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetThreadID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadID",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::tid_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetThreadID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadID",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (lldb::tid_t)(arg1)->GetThreadID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::tid_t)(arg1)->GetThreadID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetThreadIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",1,"lldb::SBBreakpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetThreadIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",1,"lldb::SBBreakpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetThreadIndex(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetThreadIndex(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetThreadIndex",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadIndex",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetThreadIndex",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadIndex",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetThreadIndex(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetThreadIndex(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetThreadName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetThreadName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetThreadName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetThreadName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::GetThreadName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadName",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::GetThreadName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadName",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (char *)((lldb::SBBreakpoint const *)arg1)->GetThreadName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpoint const *)arg1)->GetThreadName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetQueueName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetQueueName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetQueueName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetQueueName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::GetQueueName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetQueueName",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::GetQueueName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetQueueName",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (char *)((lldb::SBBreakpoint const *)arg1)->GetQueueName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpoint const *)arg1)->GetQueueName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetScriptCallbackFunction((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetScriptCallbackFunction((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -7529,7 +7568,7 @@ static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { @@ -7548,7 +7587,7 @@ static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { @@ -7586,346 +7625,346 @@ static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) { static int _wrap_SBBreakpoint_SetScriptCallbackBody(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackBody",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetScriptCallbackBody((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackBody",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetScriptCallbackBody((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::SetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::SetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->SetCommandLineCommands(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetCommandLineCommands(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStringList *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStringList *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + result = (bool)(arg1)->GetCommandLineCommands(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetCommandLineCommands(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_AddName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::AddName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_AddName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::AddName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_AddName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->AddName((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->AddName((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_AddNameWithErrorHandling(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpoint::AddNameWithErrorHandling",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_AddNameWithErrorHandling",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->AddNameWithErrorHandling((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpoint::AddNameWithErrorHandling",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_AddNameWithErrorHandling",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->AddNameWithErrorHandling((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_RemoveName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::RemoveName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_RemoveName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::RemoveName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_RemoveName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->RemoveName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->RemoveName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_MatchesName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::MatchesName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",1,"lldb::SBBreakpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_MatchesName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::MatchesName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_MatchesName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->MatchesName((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->MatchesName((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetNames(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBreakpoint::GetNames",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetNames",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpoint_GetNames",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBreakpoint::GetNames",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetNames",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpoint_GetNames",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->GetNames(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->GetNames(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetNumResolvedLocations(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetNumResolvedLocations",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumResolvedLocations",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetNumResolvedLocations",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetNumResolvedLocations",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumResolvedLocations",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetNumResolvedLocations",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = ((lldb::SBBreakpoint const *)arg1)->GetNumResolvedLocations(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = ((lldb::SBBreakpoint const *)arg1)->GetNumResolvedLocations(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetNumLocations(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetNumLocations",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumLocations",1,"lldb::SBBreakpoint const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetNumLocations",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetNumLocations",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumLocations",1,"lldb::SBBreakpoint const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetNumLocations",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = ((lldb::SBBreakpoint const *)arg1)->GetNumLocations(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = ((lldb::SBBreakpoint const *)arg1)->GetNumLocations(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetDescription__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetDescription__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -7937,7 +7976,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { @@ -7961,7 +8000,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { @@ -7999,240 +8038,240 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State* L) { static int _wrap_SBBreakpoint_AddLocation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpoint::AddLocation",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",1,"lldb::SBBreakpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",2,"lldb::SBAddress &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_AddLocation",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBBreakpoint_AddLocation",2,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->AddLocation(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpoint::AddLocation",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",1,"lldb::SBBreakpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",2,"lldb::SBAddress &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_AddLocation",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBBreakpoint_AddLocation",2,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->AddLocation(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_SerializeToStructuredData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBBreakpoint::SerializeToStructuredData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SerializeToStructuredData",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_SerializeToStructuredData",1,SWIGTYPE_p_lldb__SBBreakpoint); - } - - result = (arg1)->SerializeToStructuredData(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBBreakpoint::SerializeToStructuredData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SerializeToStructuredData",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_SerializeToStructuredData",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (arg1)->SerializeToStructuredData(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_EventIsBreakpointEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::EventIsBreakpointEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::EventIsBreakpointEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBreakpoint_EventIsBreakpointEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::EventIsBreakpointEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::EventIsBreakpointEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBreakpoint_EventIsBreakpointEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBBreakpoint::EventIsBreakpointEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBBreakpoint::EventIsBreakpointEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::BreakpointEventType result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBreakpoint_GetBreakpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::BreakpointEventType result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBreakpoint_GetBreakpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (lldb::BreakpointEventType)lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::BreakpointEventType)lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetBreakpointFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBreakpoint_GetBreakpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBBreakpoint::GetBreakpointFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBreakpoint_GetBreakpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBBreakpoint::GetBreakpointFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - uint32_t arg2 ; - lldb::SBBreakpointLocation result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",1,"lldb::SBEvent const &"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBreakpoint_GetBreakpointLocationAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent((lldb::SBEvent const &)*arg1,arg2); { - lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation((const lldb::SBBreakpointLocation &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + uint32_t arg2 ; + lldb::SBBreakpointLocation result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",1,"lldb::SBEvent const &"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBreakpoint_GetBreakpointLocationAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent((lldb::SBEvent const &)*arg1,arg2); + { + lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBreakpoint_GetNumBreakpointLocationsFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBreakpoint_GetNumBreakpointLocationsFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (uint32_t)lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint_IsHardware(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpoint::IsHardware",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsHardware",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint_IsHardware",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpoint::IsHardware",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsHardware",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_IsHardware",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->IsHardware(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsHardware(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpoint___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBBreakpoint::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::__repr__",1,"lldb::SBBreakpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpoint___tostring",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBBreakpoint::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::__repr__",1,"lldb::SBBreakpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint___tostring",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = lldb_SBBreakpoint___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBBreakpoint___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -8336,220 +8375,220 @@ static const char *swig_SBBreakpoint_base_names[] = {0}; static swig_lua_class _wrap_class_SBBreakpoint = { "SBBreakpoint", "SBBreakpoint", &SWIGTYPE_p_lldb__SBBreakpoint,_proxy__wrap_new_SBBreakpoint, swig_delete_SBBreakpoint, swig_SBBreakpoint_methods, swig_SBBreakpoint_attributes, &swig_SBBreakpoint_Sf_SwigStatic, swig_SBBreakpoint_meta, swig_SBBreakpoint_bases, swig_SBBreakpoint_base_names }; static int _wrap_new_SBBreakpointList(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = 0 ; - lldb::SBBreakpointList *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointList::SBBreakpointList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::SBBreakpointList",1,"lldb::SBTarget &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("new_SBBreakpointList",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = 0 ; + lldb::SBBreakpointList *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointList::SBBreakpointList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::SBBreakpointList",1,"lldb::SBTarget &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("new_SBBreakpointList",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::SBBreakpointList *)new lldb::SBBreakpointList(*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBreakpointList *)new lldb::SBBreakpointList(*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBBreakpointList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetSize",1,"lldb::SBBreakpointList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_GetSize",1,SWIGTYPE_p_lldb__SBBreakpointList); + { + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBBreakpointList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetSize",1,"lldb::SBBreakpointList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_GetSize",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + result = ((lldb::SBBreakpointList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = ((lldb::SBBreakpointList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_GetBreakpointAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - size_t arg2 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBBreakpointList::GetBreakpointAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",1,"lldb::SBBreakpointList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBBreakpointList); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetBreakpointAtIndex(arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + size_t arg2 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBBreakpointList::GetBreakpointAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",1,"lldb::SBBreakpointList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetBreakpointAtIndex(arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_FindBreakpointByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - lldb::break_id_t arg2 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBBreakpointList::FindBreakpointByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",1,"lldb::SBBreakpointList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",2,"lldb::break_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBBreakpointList); - } - - arg2 = (lldb::break_id_t)lua_tointeger(L, 2); - result = (arg1)->FindBreakpointByID(arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + lldb::break_id_t arg2 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBBreakpointList::FindBreakpointByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",1,"lldb::SBBreakpointList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",2,"lldb::break_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + arg2 = (lldb::break_id_t)lua_tointeger(L, 2); + result = (arg1)->FindBreakpointByID(arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_Append(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - lldb::SBBreakpoint *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Append",1,"lldb::SBBreakpointList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::Append",2,"lldb::SBBreakpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_Append",1,SWIGTYPE_p_lldb__SBBreakpointList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpointList_Append",2,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + lldb::SBBreakpoint *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Append",1,"lldb::SBBreakpointList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::Append",2,"lldb::SBBreakpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_Append",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpointList_Append",2,SWIGTYPE_p_lldb__SBBreakpoint); + } + + (arg1)->Append((lldb::SBBreakpoint const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBBreakpoint const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_AppendIfUnique(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - lldb::SBBreakpoint *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointList::AppendIfUnique",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",1,"lldb::SBBreakpointList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",2,"lldb::SBBreakpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBBreakpointList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + lldb::SBBreakpoint *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointList::AppendIfUnique",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",1,"lldb::SBBreakpointList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",2,"lldb::SBBreakpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBBreakpoint); + } + + result = (bool)(arg1)->AppendIfUnique((lldb::SBBreakpoint const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->AppendIfUnique((lldb::SBBreakpoint const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_AppendByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - lldb::break_id_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointList::AppendByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",1,"lldb::SBBreakpointList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",2,"lldb::break_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_AppendByID",1,SWIGTYPE_p_lldb__SBBreakpointList); + { + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + lldb::break_id_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointList::AppendByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",1,"lldb::SBBreakpointList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",2,"lldb::break_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_AppendByID",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + arg2 = (lldb::break_id_t)lua_tointeger(L, 2); + (arg1)->AppendByID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::break_id_t)lua_tointeger(L, 2); - (arg1)->AppendByID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Clear",1,"lldb::SBBreakpointList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBBreakpointList_Clear",1,SWIGTYPE_p_lldb__SBBreakpointList); + { + int SWIG_arg = 0; + lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Clear",1,"lldb::SBBreakpointList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBBreakpointList_Clear",1,SWIGTYPE_p_lldb__SBBreakpointList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -8608,43 +8647,43 @@ static const char *swig_SBBreakpointList_base_names[] = {0}; static swig_lua_class _wrap_class_SBBreakpointList = { "SBBreakpointList", "SBBreakpointList", &SWIGTYPE_p_lldb__SBBreakpointList,_proxy__wrap_new_SBBreakpointList, swig_delete_SBBreakpointList, swig_SBBreakpointList_methods, swig_SBBreakpointList_attributes, &swig_SBBreakpointList_Sf_SwigStatic, swig_SBBreakpointList_meta, swig_SBBreakpointList_bases, swig_SBBreakpointList_base_names }; static int _wrap_new_SBBreakpointLocation__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",0,0) - result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",0,0) + result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBreakpointLocation__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = 0 ; - lldb::SBBreakpointLocation *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SBBreakpointLocation",1,"lldb::SBBreakpointLocation const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("new_SBBreakpointLocation",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = 0 ; + lldb::SBBreakpointLocation *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SBBreakpointLocation",1,"lldb::SBBreakpointLocation const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("new_SBBreakpointLocation",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation((lldb::SBBreakpointLocation const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation((lldb::SBBreakpointLocation const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -8659,7 +8698,7 @@ static int _wrap_new_SBBreakpointLocation(lua_State* L) { return _wrap_new_SBBreakpointLocation__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_POINTER_NO_NULL)) { @@ -8682,388 +8721,388 @@ static int _wrap_new_SBBreakpointLocation(lua_State* L) { static int _wrap_SBBreakpointLocation_GetID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::break_id_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetID",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::break_id_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetID",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (lldb::break_id_t)(arg1)->GetID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::break_id_t)(arg1)->GetID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsValid",1,"lldb::SBBreakpointLocation const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsValid",1,"lldb::SBBreakpointLocation const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (bool)((lldb::SBBreakpointLocation const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBreakpointLocation const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAddress",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - result = (arg1)->GetAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAddress",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (arg1)->GetAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetLoadAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetLoadAddress",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetLoadAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetLoadAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetLoadAddress",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetLoadAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (lldb::addr_t)(arg1)->GetLoadAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetLoadAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetEnabled",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",1,"lldb::SBBreakpointLocation *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetEnabled",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",1,"lldb::SBBreakpointLocation *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEnabled(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEnabled(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_IsEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::IsEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsEnabled",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::IsEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsEnabled",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (bool)(arg1)->IsEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetHitCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetHitCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetHitCount",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetHitCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetHitCount",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (uint32_t)(arg1)->GetHitCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetHitCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetIgnoreCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetIgnoreCount",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetIgnoreCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetIgnoreCount",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (uint32_t)(arg1)->GetIgnoreCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetIgnoreCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetIgnoreCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",1,"lldb::SBBreakpointLocation *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetIgnoreCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",1,"lldb::SBBreakpointLocation *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetIgnoreCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetIgnoreCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetCondition",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetCondition",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetCondition((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetCondition((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetCondition",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCondition",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetCondition",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCondition",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (char *)(arg1)->GetCondition(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetCondition(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetAutoContinue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAutoContinue",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetAutoContinue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAutoContinue",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (bool)(arg1)->GetAutoContinue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAutoContinue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetAutoContinue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",1,"lldb::SBBreakpointLocation *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetAutoContinue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",1,"lldb::SBBreakpointLocation *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAutoContinue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAutoContinue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetScriptCallbackFunction((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetScriptCallbackFunction((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -9075,7 +9114,7 @@ static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) { @@ -9094,7 +9133,7 @@ static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) { @@ -9132,402 +9171,402 @@ static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) { static int _wrap_SBBreakpointLocation_SetScriptCallbackBody(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetScriptCallbackBody((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetScriptCallbackBody((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",1,"lldb::SBBreakpointLocation *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",1,"lldb::SBBreakpointLocation *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->SetCommandLineCommands(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetCommandLineCommands(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::SBStringList *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",1,"lldb::SBBreakpointLocation *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::SBStringList *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",1,"lldb::SBBreakpointLocation *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + result = (bool)(arg1)->GetCommandLineCommands(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetCommandLineCommands(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::tid_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",1,"lldb::SBBreakpointLocation *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",2,"lldb::tid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::tid_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",1,"lldb::SBBreakpointLocation *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",2,"lldb::tid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + (arg1)->SetThreadID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - (arg1)->SetThreadID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::tid_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadID",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::tid_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadID",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (lldb::tid_t)(arg1)->GetThreadID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::tid_t)(arg1)->GetThreadID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",1,"lldb::SBBreakpointLocation *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",1,"lldb::SBBreakpointLocation *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetThreadIndex(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetThreadIndex(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadIndex",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadIndex",1,"lldb::SBBreakpointLocation const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadIndex",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadIndex",1,"lldb::SBBreakpointLocation const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (uint32_t)((lldb::SBBreakpointLocation const *)arg1)->GetThreadIndex(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpointLocation const *)arg1)->GetThreadIndex(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetThreadName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetThreadName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadName",1,"lldb::SBBreakpointLocation const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadName",1,"lldb::SBBreakpointLocation const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetThreadName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetThreadName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_SetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::SetQueueName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",1,"lldb::SBBreakpointLocation *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::SetQueueName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",1,"lldb::SBBreakpointLocation *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetQueueName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetQueueName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetQueueName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetQueueName",1,"lldb::SBBreakpointLocation const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetQueueName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetQueueName",1,"lldb::SBBreakpointLocation const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetQueueName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetQueueName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_IsResolved(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::IsResolved",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsResolved",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_IsResolved",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::IsResolved",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsResolved",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_IsResolved",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (bool)(arg1)->IsResolved(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsResolved(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",1,"lldb::SBBreakpointLocation *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",1,"lldb::SBBreakpointLocation *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation_GetBreakpoint(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::GetBreakpoint",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetBreakpoint",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation_GetBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpointLocation); - } - - result = (arg1)->GetBreakpoint(); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::GetBreakpoint",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetBreakpoint",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation_GetBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = (arg1)->GetBreakpoint(); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointLocation___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBBreakpointLocation::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::__repr__",1,"lldb::SBBreakpointLocation *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ - SWIG_fail_ptr("SBBreakpointLocation___tostring",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + { + int SWIG_arg = 0; + lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBBreakpointLocation::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::__repr__",1,"lldb::SBBreakpointLocation *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){ + SWIG_fail_ptr("SBBreakpointLocation___tostring",1,SWIGTYPE_p_lldb__SBBreakpointLocation); + } + + result = lldb_SBBreakpointLocation___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBBreakpointLocation___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -9609,97 +9648,97 @@ static const char *swig_SBBreakpointLocation_base_names[] = {0}; static swig_lua_class _wrap_class_SBBreakpointLocation = { "SBBreakpointLocation", "SBBreakpointLocation", &SWIGTYPE_p_lldb__SBBreakpointLocation,_proxy__wrap_new_SBBreakpointLocation, swig_delete_SBBreakpointLocation, swig_SBBreakpointLocation_methods, swig_SBBreakpointLocation_attributes, &swig_SBBreakpointLocation_Sf_SwigStatic, swig_SBBreakpointLocation_meta, swig_SBBreakpointLocation_bases, swig_SBBreakpointLocation_base_names }; static int _wrap_new_SBBreakpointName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",0,0) - result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBBreakpointName *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",0,0) + result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBreakpointName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = 0 ; - char *arg2 = (char *) 0 ; - lldb::SBBreakpointName *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBTarget &"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = 0 ; + char *arg2 = (char *) 0 ; + lldb::SBBreakpointName *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBTarget &"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBreakpointName__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpoint *arg1 = 0 ; - char *arg2 = (char *) 0 ; - lldb::SBBreakpointName *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpoint &"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ - SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpoint); + { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = 0 ; + char *arg2 = (char *) 0 ; + lldb::SBBreakpointName *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpoint &"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBreakpointName__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = 0 ; - lldb::SBBreakpointName *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpointName const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = 0 ; + lldb::SBBreakpointName *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpointName const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName((lldb::SBBreakpointName const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName((lldb::SBBreakpointName const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -9714,7 +9753,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { return _wrap_new_SBBreakpointName__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, SWIG_POINTER_NO_NULL)) { @@ -9728,7 +9767,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { @@ -9747,7 +9786,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { @@ -9777,594 +9816,594 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { static int _wrap_SBBreakpointName___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::SBBreakpointName *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",1,"lldb::SBBreakpointName *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",2,"lldb::SBBreakpointName const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName___eq",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName___eq",2,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::SBBreakpointName *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",1,"lldb::SBBreakpointName *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",2,"lldb::SBBreakpointName const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName___eq",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName___eq",2,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)(arg1)->operator ==((lldb::SBBreakpointName const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==((lldb::SBBreakpointName const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsValid",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsValid",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)((lldb::SBBreakpointName const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBreakpointName const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetName",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetName",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (char *)((lldb::SBBreakpointName const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointName const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetEnabled",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetEnabled",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEnabled(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEnabled(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_IsEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::IsEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsEnabled",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::IsEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsEnabled",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)(arg1)->IsEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetOneShot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetOneShot",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetOneShot",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetOneShot(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetOneShot(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_IsOneShot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::IsOneShot",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsOneShot",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::IsOneShot",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsOneShot",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)((lldb::SBBreakpointName const *)arg1)->IsOneShot(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBreakpointName const *)arg1)->IsOneShot(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetIgnoreCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",1,"lldb::SBBreakpointName *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetIgnoreCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",1,"lldb::SBBreakpointName *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetIgnoreCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetIgnoreCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetIgnoreCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetIgnoreCount",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetIgnoreCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetIgnoreCount",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetIgnoreCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetIgnoreCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetCondition",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetCondition",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetCondition((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetCondition((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::GetCondition",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCondition",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::GetCondition",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCondition",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (char *)(arg1)->GetCondition(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetCondition(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetAutoContinue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetAutoContinue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAutoContinue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAutoContinue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetAutoContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetAutoContinue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAutoContinue",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetAutoContinue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAutoContinue",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)(arg1)->GetAutoContinue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAutoContinue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::tid_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetThreadID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",1,"lldb::SBBreakpointName *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",2,"lldb::tid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::tid_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetThreadID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",1,"lldb::SBBreakpointName *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",2,"lldb::tid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + (arg1)->SetThreadID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - (arg1)->SetThreadID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::tid_t result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetThreadID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadID",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::tid_t result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetThreadID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadID",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (lldb::tid_t)(arg1)->GetThreadID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::tid_t)(arg1)->GetThreadID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetThreadIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",1,"lldb::SBBreakpointName *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetThreadIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",1,"lldb::SBBreakpointName *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetThreadIndex(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetThreadIndex(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetThreadIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetThreadIndex",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadIndex",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetThreadIndex",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadIndex",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetThreadIndex(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetThreadIndex(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetThreadName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetThreadName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetThreadName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetThreadName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetThreadName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::GetThreadName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadName",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::GetThreadName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadName",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (char *)((lldb::SBBreakpointName const *)arg1)->GetThreadName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointName const *)arg1)->GetThreadName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetQueueName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetQueueName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetQueueName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetQueueName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::GetQueueName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetQueueName",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::GetQueueName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetQueueName",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (char *)((lldb::SBBreakpointName const *)arg1)->GetQueueName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointName const *)arg1)->GetQueueName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetScriptCallbackFunction((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetScriptCallbackFunction((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",3,"lldb::SBStructuredData &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -10376,7 +10415,7 @@ static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) { @@ -10395,7 +10434,7 @@ static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) { @@ -10433,348 +10472,348 @@ static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) { static int _wrap_SBBreakpointName_SetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",1,"lldb::SBBreakpointName *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",1,"lldb::SBBreakpointName *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->SetCommandLineCommands(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetCommandLineCommands(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetCommandLineCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::SBStringList *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetCommandLineCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",1,"lldb::SBBreakpointName *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::SBStringList *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetCommandLineCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",1,"lldb::SBBreakpointName *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList); + } + + result = (bool)(arg1)->GetCommandLineCommands(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetCommandLineCommands(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetScriptCallbackBody(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackBody",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetScriptCallbackBody((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackBody",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetScriptCallbackBody((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetHelpString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::GetHelpString",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetHelpString",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::GetHelpString",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetHelpString",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (char *)((lldb::SBBreakpointName const *)arg1)->GetHelpString(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBreakpointName const *)arg1)->GetHelpString(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetHelpString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetHelpString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",1,"lldb::SBBreakpointName *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetHelpString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",1,"lldb::SBBreakpointName *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetHelpString((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetHelpString((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetAllowList(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetAllowList",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowList",1,"lldb::SBBreakpointName const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetAllowList",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowList",1,"lldb::SBBreakpointName const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)((lldb::SBBreakpointName const *)arg1)->GetAllowList(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBreakpointName const *)arg1)->GetAllowList(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetAllowList(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetAllowList",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetAllowList",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAllowList(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAllowList(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetAllowDelete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDelete",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDelete",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDelete",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDelete",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)(arg1)->GetAllowDelete(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAllowDelete(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetAllowDelete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDelete",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDelete",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAllowDelete(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAllowDelete(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetAllowDisable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDisable",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDisable",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDisable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDisable",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = (bool)(arg1)->GetAllowDisable(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAllowDisable(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_SetAllowDisable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDisable",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",1,"lldb::SBBreakpointName *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_SetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDisable",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",1,"lldb::SBBreakpointName *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_SetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAllowDisable(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAllowDisable(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBreakpointName::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",1,"lldb::SBBreakpointName *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointName); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBBreakpointName_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBreakpointName::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",1,"lldb::SBBreakpointName *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBBreakpointName_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBreakpointName___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBBreakpointName::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::__repr__",1,"lldb::SBBreakpointName *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ - SWIG_fail_ptr("SBBreakpointName___tostring",1,SWIGTYPE_p_lldb__SBBreakpointName); + { + int SWIG_arg = 0; + lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBBreakpointName::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::__repr__",1,"lldb::SBBreakpointName *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){ + SWIG_fail_ptr("SBBreakpointName___tostring",1,SWIGTYPE_p_lldb__SBBreakpointName); + } + + result = lldb_SBBreakpointName___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBBreakpointName___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -10863,63 +10902,63 @@ static const char *swig_SBBreakpointName_base_names[] = {0}; static swig_lua_class _wrap_class_SBBreakpointName = { "SBBreakpointName", "SBBreakpointName", &SWIGTYPE_p_lldb__SBBreakpointName,_proxy__wrap_new_SBBreakpointName, swig_delete_SBBreakpointName, swig_SBBreakpointName_methods, swig_SBBreakpointName_attributes, &swig_SBBreakpointName_Sf_SwigStatic, swig_SBBreakpointName_meta, swig_SBBreakpointName_bases, swig_SBBreakpointName_base_names }; static int _wrap_new_SBBroadcaster__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *result = 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",0,0) - result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBBroadcaster *result = 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",0,0) + result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBroadcaster__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBBroadcaster *result = 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBBroadcaster *result = 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBBroadcaster__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = 0 ; - lldb::SBBroadcaster *result = 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"lldb::SBBroadcaster const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("new_SBBroadcaster",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = 0 ; + lldb::SBBroadcaster *result = 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"lldb::SBBroadcaster const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("new_SBBroadcaster",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((lldb::SBBroadcaster const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((lldb::SBBroadcaster const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -10934,7 +10973,7 @@ static int _wrap_new_SBBroadcaster(lua_State* L) { return _wrap_new_SBBroadcaster__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, SWIG_POINTER_NO_NULL)) { @@ -10948,7 +10987,7 @@ static int _wrap_new_SBBroadcaster(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -10967,104 +11006,104 @@ static int _wrap_new_SBBroadcaster(lua_State* L) { static int _wrap_SBBroadcaster_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBroadcaster::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::IsValid",1,"lldb::SBBroadcaster const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_IsValid",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBroadcaster::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::IsValid",1,"lldb::SBBroadcaster const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_IsValid",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + result = (bool)((lldb::SBBroadcaster const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBroadcaster const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::Clear",1,"lldb::SBBroadcaster *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_Clear",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::Clear",1,"lldb::SBBroadcaster *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_Clear",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_BroadcastEventByType__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - uint32_t arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + uint32_t arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->BroadcastEventByType(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->BroadcastEventByType(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_BroadcastEventByType__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->BroadcastEventByType(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->BroadcastEventByType(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -11076,7 +11115,7 @@ static int _wrap_SBBroadcaster_BroadcastEventByType(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11095,7 +11134,7 @@ static int _wrap_SBBroadcaster_BroadcastEventByType(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11128,65 +11167,65 @@ static int _wrap_SBBroadcaster_BroadcastEventByType(lua_State* L) { static int _wrap_SBBroadcaster_BroadcastEvent__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBEvent *arg2 = 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBEvent *arg2 = 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_BroadcastEvent__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBEvent *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBEvent *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -11198,7 +11237,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11222,7 +11261,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11260,185 +11299,185 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) { static int _wrap_SBBroadcaster_AddInitialEventsToListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBListener *arg2 = 0 ; - uint32_t arg3 ; - - SWIG_check_num_args("lldb::SBBroadcaster::AddInitialEventsToListener",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",2,"lldb::SBListener const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBListener *arg2 = 0 ; + uint32_t arg3 ; + + SWIG_check_num_args("lldb::SBBroadcaster::AddInitialEventsToListener",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",2,"lldb::SBListener const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + (arg1)->AddInitialEventsToListener((lldb::SBListener const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - (arg1)->AddInitialEventsToListener((lldb::SBListener const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_AddListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBListener *arg2 = 0 ; - uint32_t arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBBroadcaster::AddListener",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",2,"lldb::SBListener const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_AddListener",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBBroadcaster_AddListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBListener *arg2 = 0 ; + uint32_t arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBBroadcaster::AddListener",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",2,"lldb::SBListener const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_AddListener",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBBroadcaster_AddListener",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (uint32_t)(arg1)->AddListener((lldb::SBListener const &)*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (uint32_t)(arg1)->AddListener((lldb::SBListener const &)*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBBroadcaster::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::GetName",1,"lldb::SBBroadcaster const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_GetName",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBBroadcaster::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::GetName",1,"lldb::SBBroadcaster const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_GetName",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + result = (char *)((lldb::SBBroadcaster const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBBroadcaster const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_EventTypeHasListeners(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - uint32_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBBroadcaster::EventTypeHasListeners",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",1,"lldb::SBBroadcaster *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_EventTypeHasListeners",1,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + uint32_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBBroadcaster::EventTypeHasListeners",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",1,"lldb::SBBroadcaster *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_EventTypeHasListeners",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (bool)(arg1)->EventTypeHasListeners(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (bool)(arg1)->EventTypeHasListeners(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_RemoveListener__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBListener *arg2 = 0 ; - uint32_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBListener *arg2 = 0 ; + uint32_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBBroadcaster_RemoveListener__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBListener *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBListener *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener); + } + + result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -11450,7 +11489,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11474,7 +11513,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { @@ -11512,33 +11551,33 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) { static int _wrap_SBBroadcaster___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBBroadcaster::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",1,"lldb::SBBroadcaster const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",2,"lldb::SBBroadcaster const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster___eq",1,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBBroadcaster___eq",2,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBBroadcaster::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",1,"lldb::SBBroadcaster const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",2,"lldb::SBBroadcaster const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster___eq",1,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBBroadcaster___eq",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + result = (bool)((lldb::SBBroadcaster const *)arg1)->operator ==((lldb::SBBroadcaster const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBBroadcaster const *)arg1)->operator ==((lldb::SBBroadcaster const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -11601,762 +11640,762 @@ static const char *swig_SBBroadcaster_base_names[] = {0}; static swig_lua_class _wrap_class_SBBroadcaster = { "SBBroadcaster", "SBBroadcaster", &SWIGTYPE_p_lldb__SBBroadcaster,_proxy__wrap_new_SBBroadcaster, swig_delete_SBBroadcaster, swig_SBBroadcaster_methods, swig_SBBroadcaster_attributes, &swig_SBBroadcaster_Sf_SwigStatic, swig_SBBroadcaster_meta, swig_SBBroadcaster_bases, swig_SBBroadcaster_base_names }; static int _wrap_new_SBCommandInterpreter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = 0 ; - lldb::SBCommandInterpreter *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::SBCommandInterpreter",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SBCommandInterpreter",1,"lldb::SBCommandInterpreter const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("new_SBCommandInterpreter",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = 0 ; + lldb::SBCommandInterpreter *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::SBCommandInterpreter",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SBCommandInterpreter",1,"lldb::SBCommandInterpreter const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("new_SBCommandInterpreter",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (lldb::SBCommandInterpreter *)new lldb::SBCommandInterpreter((lldb::SBCommandInterpreter const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBCommandInterpreter *)new lldb::SBCommandInterpreter((lldb::SBCommandInterpreter const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetArgumentTypeAsCString(lua_State* L) { - int SWIG_arg = 0; - lldb::CommandArgumentType arg1 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,"lldb::CommandArgumentType const"); - arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1); - result = (char *)lldb::SBCommandInterpreter::GetArgumentTypeAsCString(arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::CommandArgumentType arg1 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,"lldb::CommandArgumentType const"); + arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1); + result = (char *)lldb::SBCommandInterpreter::GetArgumentTypeAsCString(arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString(lua_State* L) { - int SWIG_arg = 0; - lldb::CommandArgumentType arg1 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,"lldb::CommandArgumentType const"); - arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1); - result = (char *)lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString(arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::CommandArgumentType arg1 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,"lldb::CommandArgumentType const"); + arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1); + result = (char *)lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString(arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBCommandInterpreter_EventIsCommandInterpreterEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBCommandInterpreter_EventIsCommandInterpreterEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsValid",1,"lldb::SBCommandInterpreter const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_IsValid",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsValid",1,"lldb::SBCommandInterpreter const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_IsValid",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)((lldb::SBCommandInterpreter const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreter const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetIOHandlerControlSequence(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,"char"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetIOHandlerControlSequence",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,"char"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetIOHandlerControlSequence",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (lua_tostring(L, 2))[0]; + result = (char *)(arg1)->GetIOHandlerControlSequence(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_tostring(L, 2))[0]; - result = (char *)(arg1)->GetIOHandlerControlSequence(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetPromptOnQuit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetPromptOnQuit",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetPromptOnQuit",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetPromptOnQuit",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetPromptOnQuit",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->GetPromptOnQuit(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetPromptOnQuit(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_SetPromptOnQuit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::SetPromptOnQuit",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",1,"lldb::SBCommandInterpreter *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_SetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::SetPromptOnQuit",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",1,"lldb::SBCommandInterpreter *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_SetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetPromptOnQuit(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetPromptOnQuit(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_AllowExitCodeOnQuit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",1,"lldb::SBCommandInterpreter *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_AllowExitCodeOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",1,"lldb::SBCommandInterpreter *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_AllowExitCodeOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->AllowExitCodeOnQuit(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->AllowExitCodeOnQuit(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HasCustomQuitExitCode(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HasCustomQuitExitCode",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HasCustomQuitExitCode",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->HasCustomQuitExitCode(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasCustomQuitExitCode(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetQuitStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetQuitStatus",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetQuitStatus",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetQuitStatus",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetQuitStatus",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetQuitStatus",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetQuitStatus",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (int)(arg1)->GetQuitStatus(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->GetQuitStatus(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_ResolveCommand(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBCommandReturnObject *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::ResolveCommand",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",3,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBCommandReturnObject *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::ResolveCommand",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",3,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + (arg1)->ResolveCommand((char const *)arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->ResolveCommand((char const *)arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_CommandExists(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::CommandExists",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_CommandExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::CommandExists",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_CommandExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->CommandExists((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->CommandExists((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_AliasExists(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::AliasExists",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_AliasExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::AliasExists",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_AliasExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->AliasExists((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->AliasExists((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetBroadcaster",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - result = (arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetBroadcaster",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetBroadcasterClass(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcasterClass",0,0) - result = (char *)lldb::SBCommandInterpreter::GetBroadcasterClass(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcasterClass",0,0) + result = (char *)lldb::SBCommandInterpreter::GetBroadcasterClass(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HasCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HasCommands",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCommands",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HasCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HasCommands",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCommands",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HasCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->HasCommands(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasCommands(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HasAliases(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliases",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliases",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HasAliases",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliases",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliases",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HasAliases",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->HasAliases(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasAliases(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HasAliasOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliasOptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliasOptions",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HasAliasOptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliasOptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliasOptions",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HasAliasOptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->HasAliasOptions(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasAliasOptions(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_IsInteractive(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::IsInteractive",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsInteractive",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_IsInteractive",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::IsInteractive",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsInteractive",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_IsInteractive",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->IsInteractive(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsInteractive(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetProcess",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetProcess",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - result = (arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetProcess",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetProcess",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_GetDebugger(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::GetDebugger",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetDebugger",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_GetDebugger",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - result = (arg1)->GetDebugger(); { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBDebugger result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::GetDebugger",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetDebugger",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_GetDebugger",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (arg1)->GetDebugger(); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBCommandReturnObject *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",1,"lldb::SBCommandInterpreter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBCommandReturnObject *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",1,"lldb::SBCommandInterpreter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + (arg1)->SourceInitFileInHomeDirectory(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SourceInitFileInHomeDirectory(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBCommandReturnObject *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",1,"lldb::SBCommandInterpreter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBCommandReturnObject *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",1,"lldb::SBCommandInterpreter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + (arg1)->SourceInitFileInCurrentWorkingDirectory(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SourceInitFileInCurrentWorkingDirectory(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBCommandReturnObject *arg3 = 0 ; - bool arg4 ; - lldb::ReturnStatus result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBCommandReturnObject *arg3 = 0 ; + bool arg4 ; + lldb::ReturnStatus result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBCommandReturnObject *arg3 = 0 ; - lldb::ReturnStatus result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBCommandReturnObject *arg3 = 0 ; + lldb::ReturnStatus result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExecutionContext *arg3 = 0 ; - lldb::SBCommandReturnObject *arg4 = 0 ; - bool arg5 ; - lldb::ReturnStatus result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",5,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExecutionContext *arg3 = 0 ; + lldb::SBCommandReturnObject *arg4 = 0 ; + bool arg5 ; + lldb::ReturnStatus result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",5,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg5 = (lua_toboolean(L, 5)!=0); + result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4,arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg5 = (lua_toboolean(L, 5)!=0); - result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4,arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExecutionContext *arg3 = 0 ; - lldb::SBCommandReturnObject *arg4 = 0 ; - lldb::ReturnStatus result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExecutionContext *arg3 = 0 ; + lldb::SBCommandReturnObject *arg4 = 0 ; + lldb::ReturnStatus result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -12368,7 +12407,7 @@ static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { @@ -12397,7 +12436,7 @@ static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { @@ -12431,7 +12470,7 @@ static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { @@ -12470,7 +12509,7 @@ static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { @@ -12525,196 +12564,196 @@ static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { static int _wrap_SBCommandInterpreter_HandleCommandsFromFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBExecutionContext *arg3 = 0 ; - lldb::SBCommandInterpreterRunOptions *arg4 = 0 ; - lldb::SBCommandReturnObject arg5 ; - lldb::SBCommandReturnObject *argp5 ; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",1,"lldb::SBCommandInterpreter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",3,"lldb::SBExecutionContext &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",4,"lldb::SBCommandInterpreterRunOptions &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,"lldb::SBCommandReturnObject"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",3,SWIGTYPE_p_lldb__SBExecutionContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",5,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBExecutionContext *arg3 = 0 ; + lldb::SBCommandInterpreterRunOptions *arg4 = 0 ; + lldb::SBCommandReturnObject arg5 ; + lldb::SBCommandReturnObject *argp5 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",1,"lldb::SBCommandInterpreter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",3,"lldb::SBExecutionContext &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",4,"lldb::SBCommandInterpreterRunOptions &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,"lldb::SBCommandReturnObject"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",3,SWIGTYPE_p_lldb__SBExecutionContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",5,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + arg5 = *argp5; + + (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,arg5); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg5 = *argp5; - - (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,arg5); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCompletion(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - int arg4 ; - int arg5 ; - lldb::SBStringList *arg6 = 0 ; - int result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletion",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",4,"int"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",5,"int"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",6,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (int)lua_tointeger(L, 4); - arg5 = (int)lua_tointeger(L, 5); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",6,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + int arg4 ; + int arg5 ; + lldb::SBStringList *arg6 = 0 ; + int result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletion",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",4,"int"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",5,"int"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",6,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (int)lua_tointeger(L, 4); + arg5 = (int)lua_tointeger(L, 5); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",6,SWIGTYPE_p_lldb__SBStringList); + } + + result = (int)(arg1)->HandleCompletion((char const *)arg2,arg3,arg4,arg5,*arg6); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->HandleCompletion((char const *)arg2,arg3,arg4,arg5,*arg6); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - int arg4 ; - int arg5 ; - lldb::SBStringList *arg6 = 0 ; - lldb::SBStringList *arg7 = 0 ; - int result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,7) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",1,"lldb::SBCommandInterpreter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",4,"int"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",5,"int"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",6,"lldb::SBStringList &"); - if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (int)lua_tointeger(L, 4); - arg5 = (int)lua_tointeger(L, 5); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",6,SWIGTYPE_p_lldb__SBStringList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",7,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + int arg4 ; + int arg5 ; + lldb::SBStringList *arg6 = 0 ; + lldb::SBStringList *arg7 = 0 ; + int result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,7) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",1,"lldb::SBCommandInterpreter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",4,"int"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",5,"int"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",6,"lldb::SBStringList &"); + if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (int)lua_tointeger(L, 4); + arg5 = (int)lua_tointeger(L, 5); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",6,SWIGTYPE_p_lldb__SBStringList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",7,SWIGTYPE_p_lldb__SBStringList); + } + + result = (int)(arg1)->HandleCompletionWithDescriptions((char const *)arg2,arg3,arg4,arg5,*arg6,*arg7); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->HandleCompletionWithDescriptions((char const *)arg2,arg3,arg4,arg5,*arg6,*arg7); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_IsActive(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::IsActive",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsActive",1,"lldb::SBCommandInterpreter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_IsActive",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::IsActive",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsActive",1,"lldb::SBCommandInterpreter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_IsActive",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)(arg1)->IsActive(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsActive(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreter_WasInterrupted(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreter::WasInterrupted",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::WasInterrupted",1,"lldb::SBCommandInterpreter const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ - SWIG_fail_ptr("SBCommandInterpreter_WasInterrupted",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreter::WasInterrupted",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::WasInterrupted",1,"lldb::SBCommandInterpreter const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){ + SWIG_fail_ptr("SBCommandInterpreter_WasInterrupted",1,SWIGTYPE_p_lldb__SBCommandInterpreter); + } + + result = (bool)((lldb::SBCommandInterpreter const *)arg1)->WasInterrupted(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreter const *)arg1)->WasInterrupted(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -12800,369 +12839,369 @@ static const char *swig_SBCommandInterpreter_base_names[] = {0}; static swig_lua_class _wrap_class_SBCommandInterpreter = { "SBCommandInterpreter", "SBCommandInterpreter", &SWIGTYPE_p_lldb__SBCommandInterpreter,_proxy__wrap_new_SBCommandInterpreter, swig_delete_SBCommandInterpreter, swig_SBCommandInterpreter_methods, swig_SBCommandInterpreter_attributes, &swig_SBCommandInterpreter_Sf_SwigStatic, swig_SBCommandInterpreter_meta, swig_SBCommandInterpreter_bases, swig_SBCommandInterpreter_base_names }; static int _wrap_new_SBCommandInterpreterRunOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",0,0) - result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",0,0) + result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnContinue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnContinue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetStopOnContinue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOnContinue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetStopOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnError(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnError(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetStopOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetStopOnError(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOnError(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetStopOnCrash(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnCrash(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnCrash(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetStopOnCrash(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetStopOnCrash(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOnCrash(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetEchoCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetEchoCommands(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetEchoCommands(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetEchoCommands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEchoCommands(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEchoCommands(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetPrintResults(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintResults(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintResults(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetPrintResults(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetPrintResults(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetPrintResults(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetPrintErrors(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintErrors(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintErrors(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetPrintErrors(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetPrintErrors(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetPrintErrors(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_GetAddToHistory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetAddToHistory(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetAddToHistory(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandInterpreterRunOptions_SetAddToHistory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAddToHistory(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAddToHistory(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13228,43 +13267,43 @@ static const char *swig_SBCommandInterpreterRunOptions_base_names[] = {0}; static swig_lua_class _wrap_class_SBCommandInterpreterRunOptions = { "SBCommandInterpreterRunOptions", "SBCommandInterpreterRunOptions", &SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,_proxy__wrap_new_SBCommandInterpreterRunOptions, swig_delete_SBCommandInterpreterRunOptions, swig_SBCommandInterpreterRunOptions_methods, swig_SBCommandInterpreterRunOptions_attributes, &swig_SBCommandInterpreterRunOptions_Sf_SwigStatic, swig_SBCommandInterpreterRunOptions_meta, swig_SBCommandInterpreterRunOptions_bases, swig_SBCommandInterpreterRunOptions_base_names }; static int _wrap_new_SBCommandReturnObject__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",0,0) - result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",0,0) + result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBCommandReturnObject__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = 0 ; - lldb::SBCommandReturnObject *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SBCommandReturnObject",1,"lldb::SBCommandReturnObject const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("new_SBCommandReturnObject",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = 0 ; + lldb::SBCommandReturnObject *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SBCommandReturnObject",1,"lldb::SBCommandReturnObject const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("new_SBCommandReturnObject",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject((lldb::SBCommandReturnObject const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject((lldb::SBCommandReturnObject const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13279,7 +13318,7 @@ static int _wrap_new_SBCommandReturnObject(lua_State* L) { return _wrap_new_SBCommandReturnObject__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { @@ -13302,149 +13341,149 @@ static int _wrap_new_SBCommandReturnObject(lua_State* L) { static int _wrap_SBCommandReturnObject_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::IsValid",1,"lldb::SBCommandReturnObject const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_IsValid",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::IsValid",1,"lldb::SBCommandReturnObject const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_IsValid",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (bool)((lldb::SBCommandReturnObject const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommandReturnObject const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetOutput__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (char *)(arg1)->GetOutput(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetOutput(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetError__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (char *)(arg1)->GetError(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetError(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetOutputSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutputSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutputSize",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetOutputSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutputSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutputSize",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetOutputSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (arg1)->GetOutputSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetOutputSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetErrorSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetErrorSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetErrorSize",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetErrorSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetErrorSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetErrorSize",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetErrorSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (arg1)->GetErrorSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetErrorSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetOutput__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - bool arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + bool arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (char *)(arg1)->GetOutput(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (char *)(arg1)->GetOutput(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13456,7 +13495,7 @@ static int _wrap_SBCommandReturnObject_GetOutput(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13470,7 +13509,7 @@ static int _wrap_SBCommandReturnObject_GetOutput(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13498,29 +13537,29 @@ static int _wrap_SBCommandReturnObject_GetOutput(lua_State* L) { static int _wrap_SBCommandReturnObject_GetError__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - bool arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + bool arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (char *)(arg1)->GetError(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (char *)(arg1)->GetError(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13532,7 +13571,7 @@ static int _wrap_SBCommandReturnObject_GetError(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13546,7 +13585,7 @@ static int _wrap_SBCommandReturnObject_GetError(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13574,101 +13613,101 @@ static int _wrap_SBCommandReturnObject_GetError(lua_State* L) { static int _wrap_SBCommandReturnObject_PutOutput__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutOutput",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutOutput",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + result = (arg1)->PutOutput(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (arg1)->PutOutput(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_PutError__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutError",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutError",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + result = (arg1)->PutError(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (arg1)->PutError(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_PutOutput__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + result = (arg1)->PutOutput(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - result = (arg1)->PutOutput(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13680,7 +13719,7 @@ static int _wrap_SBCommandReturnObject_PutOutput(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13704,7 +13743,7 @@ static int _wrap_SBCommandReturnObject_PutOutput(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13733,35 +13772,35 @@ static int _wrap_SBCommandReturnObject_PutOutput(lua_State* L) { static int _wrap_SBCommandReturnObject_PutError__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + result = (arg1)->PutError(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - result = (arg1)->PutError(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13773,7 +13812,7 @@ static int _wrap_SBCommandReturnObject_PutError(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13797,7 +13836,7 @@ static int _wrap_SBCommandReturnObject_PutError(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13826,140 +13865,140 @@ static int _wrap_SBCommandReturnObject_PutError(lua_State* L) { static int _wrap_SBCommandReturnObject_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Clear",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_Clear",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Clear",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_Clear",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::ReturnStatus arg2 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetStatus",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",1,"lldb::SBCommandReturnObject *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",2,"lldb::ReturnStatus"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::ReturnStatus arg2 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetStatus",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",1,"lldb::SBCommandReturnObject *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",2,"lldb::ReturnStatus"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (lldb::ReturnStatus)lua_tointeger(L, 2); + (arg1)->SetStatus(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::ReturnStatus)lua_tointeger(L, 2); - (arg1)->SetStatus(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetError__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBError *arg2 = 0 ; - char *arg3 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBError *arg2 = 0 ; + char *arg3 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (char *)lua_tostring(L, 3); + (arg1)->SetError(*arg2,(char const *)arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (char *)lua_tostring(L, 3); - (arg1)->SetError(*arg2,(char const *)arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetError__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBError *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBError *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->SetError(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetError(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetError__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetError((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetError((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -13971,7 +14010,7 @@ static int _wrap_SBCommandReturnObject_SetError(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -13995,7 +14034,7 @@ static int _wrap_SBCommandReturnObject_SetError(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14014,7 +14053,7 @@ static int _wrap_SBCommandReturnObject_SetError(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14053,344 +14092,344 @@ static int _wrap_SBCommandReturnObject_SetError(lua_State* L) { static int _wrap_SBCommandReturnObject_GetStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::ReturnStatus result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetStatus",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetStatus",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::ReturnStatus result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetStatus",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetStatus",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (lldb::ReturnStatus)(arg1)->GetStatus(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ReturnStatus)(arg1)->GetStatus(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_Succeeded(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::Succeeded",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Succeeded",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_Succeeded",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::Succeeded",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Succeeded",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_Succeeded",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (bool)(arg1)->Succeeded(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Succeeded(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_HasResult(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::HasResult",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::HasResult",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_HasResult",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::HasResult",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::HasResult",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_HasResult",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = (bool)(arg1)->HasResult(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasResult(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_AppendMessage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::AppendMessage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",1,"lldb::SBCommandReturnObject *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_AppendMessage",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::AppendMessage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",1,"lldb::SBCommandReturnObject *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_AppendMessage",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->AppendMessage((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->AppendMessage((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_AppendWarning(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::AppendWarning",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",1,"lldb::SBCommandReturnObject *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_AppendWarning",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::AppendWarning",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",1,"lldb::SBCommandReturnObject *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_AppendWarning",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->AppendWarning((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->AppendWarning((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetDescription",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBCommandReturnObject_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetDescription",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBCommandReturnObject_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + (arg1)->SetImmediateOutputFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetImmediateOutputFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + (arg1)->SetImmediateErrorFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetImmediateErrorFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + (arg1)->SetImmediateOutputFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->SetImmediateOutputFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + (arg1)->SetImmediateErrorFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->SetImmediateErrorFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBCommandReturnObject::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::__repr__",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject___tostring",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBCommandReturnObject::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::__repr__",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject___tostring",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + result = lldb_SBCommandReturnObject___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBCommandReturnObject___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + arg3 = (lua_toboolean(L, 3)!=0); + lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = (lua_toboolean(L, 3)!=0); - lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(arg1,arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -14402,7 +14441,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14426,7 +14465,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14446,7 +14485,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14481,37 +14520,37 @@ static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) { static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + arg3 = (lua_toboolean(L, 3)!=0); + lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = (lua_toboolean(L, 3)!=0); - lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(arg1,arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -14523,7 +14562,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14547,7 +14586,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14567,7 +14606,7 @@ static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { @@ -14602,61 +14641,61 @@ static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) { static int _wrap_SBCommandReturnObject_PutCString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::PutCString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",1,"lldb::SBCommandReturnObject *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_PutCString",1,SWIGTYPE_p_lldb__SBCommandReturnObject); - } - { - if (lua_isnil(L, 2)) { - arg2 = NULL; - arg3 = 0; - } else { - arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3); + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *arg2 = (char *) 0 ; + int arg3 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::PutCString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",1,"lldb::SBCommandReturnObject *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_PutCString",1,SWIGTYPE_p_lldb__SBCommandReturnObject); } + + { + if (lua_isnil(L, 2)) { + arg2 = NULL; + arg3 = 0; + } else { + arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3); + } + } + (arg1)->PutCString((char const *)arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->PutCString((char const *)arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommandReturnObject_Print(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBCommandReturnObject::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",1,"lldb::SBCommandReturnObject *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBCommandReturnObject_Print",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBCommandReturnObject::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",1,"lldb::SBCommandReturnObject *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBCommandReturnObject_Print",1,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + arg2 = (char *)lua_tostring(L, 2); + lldb_SBCommandReturnObject_Print(arg1,(char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - lldb_SBCommandReturnObject_Print(arg1,(char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -14730,39 +14769,39 @@ static const char *swig_SBCommandReturnObject_base_names[] = {0}; static swig_lua_class _wrap_class_SBCommandReturnObject = { "SBCommandReturnObject", "SBCommandReturnObject", &SWIGTYPE_p_lldb__SBCommandReturnObject,_proxy__wrap_new_SBCommandReturnObject, swig_delete_SBCommandReturnObject, swig_SBCommandReturnObject_methods, swig_SBCommandReturnObject_attributes, &swig_SBCommandReturnObject_Sf_SwigStatic, swig_SBCommandReturnObject_meta, swig_SBCommandReturnObject_bases, swig_SBCommandReturnObject_base_names }; static int _wrap_new_SBCommunication__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *result = 0 ; - - SWIG_check_num_args("lldb::SBCommunication::SBCommunication",0,0) - result = (lldb::SBCommunication *)new lldb::SBCommunication(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBCommunication *result = 0 ; + + SWIG_check_num_args("lldb::SBCommunication::SBCommunication",0,0) + result = (lldb::SBCommunication *)new lldb::SBCommunication(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBCommunication__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBCommunication *result = 0 ; - - SWIG_check_num_args("lldb::SBCommunication::SBCommunication",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBCommunication::SBCommunication",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBCommunication *)new lldb::SBCommunication((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBCommunication *result = 0 ; + + SWIG_check_num_args("lldb::SBCommunication::SBCommunication",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBCommunication::SBCommunication",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBCommunication *)new lldb::SBCommunication((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -14777,7 +14816,7 @@ static int _wrap_new_SBCommunication(lua_State* L) { return _wrap_new_SBCommunication__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -14795,408 +14834,408 @@ static int _wrap_new_SBCommunication(lua_State* L) { static int _wrap_SBCommunication_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsValid",1,"lldb::SBCommunication const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_IsValid",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsValid",1,"lldb::SBCommunication const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_IsValid",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)((lldb::SBCommunication const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommunication const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBCommunication::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetBroadcaster",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommunication); - } - - result = (arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBCommunication::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetBroadcaster",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_GetBroadcasterClass(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBCommunication::GetBroadcasterClass",0,0) - result = (char *)lldb::SBCommunication::GetBroadcasterClass(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBCommunication::GetBroadcasterClass",0,0) + result = (char *)lldb::SBCommunication::GetBroadcasterClass(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_AdoptFileDesriptor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - int arg2 ; - bool arg3 ; - lldb::ConnectionStatus result; - - SWIG_check_num_args("lldb::SBCommunication::AdoptFileDesriptor",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",1,"lldb::SBCommunication *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",2,"int"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_AdoptFileDesriptor",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + int arg2 ; + bool arg3 ; + lldb::ConnectionStatus result; + + SWIG_check_num_args("lldb::SBCommunication::AdoptFileDesriptor",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",1,"lldb::SBCommunication *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",2,"int"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_AdoptFileDesriptor",1,SWIGTYPE_p_lldb__SBCommunication); + } + + arg2 = (int)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (lldb::ConnectionStatus)(arg1)->AdoptFileDesriptor(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (lldb::ConnectionStatus)(arg1)->AdoptFileDesriptor(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_Connect(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - char *arg2 = (char *) 0 ; - lldb::ConnectionStatus result; - - SWIG_check_num_args("lldb::SBCommunication::Connect",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Connect",1,"lldb::SBCommunication *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommunication::Connect",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_Connect",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + char *arg2 = (char *) 0 ; + lldb::ConnectionStatus result; + + SWIG_check_num_args("lldb::SBCommunication::Connect",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Connect",1,"lldb::SBCommunication *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommunication::Connect",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_Connect",1,SWIGTYPE_p_lldb__SBCommunication); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::ConnectionStatus)(arg1)->Connect((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::ConnectionStatus)(arg1)->Connect((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_Disconnect(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - lldb::ConnectionStatus result; - - SWIG_check_num_args("lldb::SBCommunication::Disconnect",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Disconnect",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_Disconnect",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + lldb::ConnectionStatus result; + + SWIG_check_num_args("lldb::SBCommunication::Disconnect",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Disconnect",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_Disconnect",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (lldb::ConnectionStatus)(arg1)->Disconnect(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ConnectionStatus)(arg1)->Disconnect(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_IsConnected(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::IsConnected",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsConnected",1,"lldb::SBCommunication const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_IsConnected",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::IsConnected",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsConnected",1,"lldb::SBCommunication const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_IsConnected",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)((lldb::SBCommunication const *)arg1)->IsConnected(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCommunication const *)arg1)->IsConnected(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_GetCloseOnEOF(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::GetCloseOnEOF",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetCloseOnEOF",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_GetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::GetCloseOnEOF",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetCloseOnEOF",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_GetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)(arg1)->GetCloseOnEOF(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetCloseOnEOF(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_SetCloseOnEOF(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommunication::SetCloseOnEOF",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",1,"lldb::SBCommunication *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_SetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBCommunication::SetCloseOnEOF",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",1,"lldb::SBCommunication *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_SetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetCloseOnEOF(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetCloseOnEOF(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_Read(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - uint32_t arg4 ; - lldb::ConnectionStatus *arg5 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommunication::Read",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Read",1,"lldb::SBCommunication *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Read",2,"void *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Read",3,"size_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommunication::Read",4,"uint32_t"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommunication::Read",5,"lldb::ConnectionStatus &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_Read",1,SWIGTYPE_p_lldb__SBCommunication); - } - - arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Read"); - arg3 = (size_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__ConnectionStatus,0))){ - SWIG_fail_ptr("SBCommunication_Read",5,SWIGTYPE_p_lldb__ConnectionStatus); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + void *arg2 = (void *) 0 ; + size_t arg3 ; + uint32_t arg4 ; + lldb::ConnectionStatus *arg5 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommunication::Read",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Read",1,"lldb::SBCommunication *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Read",2,"void *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Read",3,"size_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommunication::Read",4,"uint32_t"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommunication::Read",5,"lldb::ConnectionStatus &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_Read",1,SWIGTYPE_p_lldb__SBCommunication); + } + + arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Read"); + arg3 = (size_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__ConnectionStatus,0))){ + SWIG_fail_ptr("SBCommunication_Read",5,SWIGTYPE_p_lldb__ConnectionStatus); + } + + result = (arg1)->Read(arg2,arg3,arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->Read(arg2,arg3,arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_Write(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - lldb::ConnectionStatus *arg4 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBCommunication::Write",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Write",1,"lldb::SBCommunication *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Write",2,"void const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Write",3,"size_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommunication::Write",4,"lldb::ConnectionStatus &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_Write",1,SWIGTYPE_p_lldb__SBCommunication); - } - - arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Write"); - arg3 = (size_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__ConnectionStatus,0))){ - SWIG_fail_ptr("SBCommunication_Write",4,SWIGTYPE_p_lldb__ConnectionStatus); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + void *arg2 = (void *) 0 ; + size_t arg3 ; + lldb::ConnectionStatus *arg4 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBCommunication::Write",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Write",1,"lldb::SBCommunication *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Write",2,"void const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Write",3,"size_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommunication::Write",4,"lldb::ConnectionStatus &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_Write",1,SWIGTYPE_p_lldb__SBCommunication); + } + + arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Write"); + arg3 = (size_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__ConnectionStatus,0))){ + SWIG_fail_ptr("SBCommunication_Write",4,SWIGTYPE_p_lldb__ConnectionStatus); + } + + result = (arg1)->Write((void const *)arg2,arg3,*arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->Write((void const *)arg2,arg3,*arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_ReadThreadStart(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::ReadThreadStart",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStart",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_ReadThreadStart",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::ReadThreadStart",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStart",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_ReadThreadStart",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)(arg1)->ReadThreadStart(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->ReadThreadStart(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_ReadThreadStop(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::ReadThreadStop",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStop",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_ReadThreadStop",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::ReadThreadStop",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStop",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_ReadThreadStop",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)(arg1)->ReadThreadStop(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->ReadThreadStop(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_ReadThreadIsRunning(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::ReadThreadIsRunning",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadIsRunning",1,"lldb::SBCommunication *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_ReadThreadIsRunning",1,SWIGTYPE_p_lldb__SBCommunication); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::ReadThreadIsRunning",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadIsRunning",1,"lldb::SBCommunication *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_ReadThreadIsRunning",1,SWIGTYPE_p_lldb__SBCommunication); + } + + result = (bool)(arg1)->ReadThreadIsRunning(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->ReadThreadIsRunning(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCommunication_SetReadThreadBytesReceivedCallback(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; - lldb::SBCommunication::ReadThreadBytesReceived arg2 = (lldb::SBCommunication::ReadThreadBytesReceived) 0 ; - void *arg3 = (void *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",1,"lldb::SBCommunication *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",2,"lldb::SBCommunication::ReadThreadBytesReceived"); - if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,"void *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ - SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",1,SWIGTYPE_p_lldb__SBCommunication); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void,0))){ - SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void); + { + int SWIG_arg = 0; + lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ; + lldb::SBCommunication::ReadThreadBytesReceived arg2 = (lldb::SBCommunication::ReadThreadBytesReceived) 0 ; + void *arg3 = (void *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",1,"lldb::SBCommunication *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",2,"lldb::SBCommunication::ReadThreadBytesReceived"); + if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,"void *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){ + SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",1,SWIGTYPE_p_lldb__SBCommunication); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void,0))){ + SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void); + } + + arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBCommunication_SetReadThreadBytesReceivedCallback"); + result = (bool)(arg1)->SetReadThreadBytesReceivedCallback(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBCommunication_SetReadThreadBytesReceivedCallback"); - result = (bool)(arg1)->SetReadThreadBytesReceivedCallback(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -15269,43 +15308,43 @@ static const char *swig_SBCommunication_base_names[] = {0}; static swig_lua_class _wrap_class_SBCommunication = { "SBCommunication", "SBCommunication", &SWIGTYPE_p_lldb__SBCommunication,_proxy__wrap_new_SBCommunication, swig_delete_SBCommunication, swig_SBCommunication_methods, swig_SBCommunication_attributes, &swig_SBCommunication_Sf_SwigStatic, swig_SBCommunication_meta, swig_SBCommunication_bases, swig_SBCommunication_base_names }; static int _wrap_new_SBCompileUnit__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *result = 0 ; - - SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",0,0) - result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBCompileUnit *result = 0 ; + + SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",0,0) + result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBCompileUnit__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = 0 ; - lldb::SBCompileUnit *result = 0 ; - - SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::SBCompileUnit",1,"lldb::SBCompileUnit const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("new_SBCompileUnit",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = 0 ; + lldb::SBCompileUnit *result = 0 ; + + SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::SBCompileUnit",1,"lldb::SBCompileUnit const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("new_SBCompileUnit",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit((lldb::SBCompileUnit const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit((lldb::SBCompileUnit const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -15320,7 +15359,7 @@ static int _wrap_new_SBCompileUnit(lua_State* L) { return _wrap_new_SBCompileUnit__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, SWIG_POINTER_NO_NULL)) { @@ -15343,249 +15382,249 @@ static int _wrap_new_SBCompileUnit(lua_State* L) { static int _wrap_SBCompileUnit_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCompileUnit::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::IsValid",1,"lldb::SBCompileUnit const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_IsValid",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCompileUnit::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::IsValid",1,"lldb::SBCompileUnit const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_IsValid",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (bool)((lldb::SBCompileUnit const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCompileUnit const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetFileSpec",1,"lldb::SBCompileUnit const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetFileSpec",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - result = ((lldb::SBCompileUnit const *)arg1)->GetFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetFileSpec",1,"lldb::SBCompileUnit const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetFileSpec",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = ((lldb::SBCompileUnit const *)arg1)->GetFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetNumLineEntries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetNumLineEntries",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumLineEntries",1,"lldb::SBCompileUnit const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetNumLineEntries",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetNumLineEntries",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumLineEntries",1,"lldb::SBCompileUnit const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetNumLineEntries",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumLineEntries(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumLineEntries(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetLineEntryAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - lldb::SBLineEntry result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetLineEntryAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetLineEntryAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBCompileUnit const *)arg1)->GetLineEntryAtIndex(arg2); { - lldb::SBLineEntry * resultptr = new lldb::SBLineEntry((const lldb::SBLineEntry &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + lldb::SBLineEntry result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetLineEntryAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetLineEntryAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBCompileUnit const *)arg1)->GetLineEntryAtIndex(arg2); + { + lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBLineEntry *arg2 = 0 ; - bool arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBLineEntry *arg2 = 0 ; + bool arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry); + } + + arg3 = (lua_toboolean(L, 3)!=0); + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBLineEntry *arg2 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBLineEntry *arg2 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t"); - if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + uint32_t arg3 ; + lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t"); + if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ; - bool arg5 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t"); - if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",5,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + uint32_t arg3 ; + lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ; + bool arg5 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t"); + if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",5,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg5 = (lua_toboolean(L, 5)!=0); + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4,arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg5 = (lua_toboolean(L, 5)!=0); - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4,arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -15597,7 +15636,7 @@ static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15621,7 +15660,7 @@ static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15650,7 +15689,7 @@ static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15684,7 +15723,7 @@ static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15734,150 +15773,150 @@ static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { static int _wrap_SBCompileUnit_GetSupportFileAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetSupportFileAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",1,"lldb::SBCompileUnit const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetSupportFileAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBCompileUnit const *)arg1)->GetSupportFileAtIndex(arg2); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetSupportFileAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",1,"lldb::SBCompileUnit const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetSupportFileAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBCompileUnit const *)arg1)->GetSupportFileAtIndex(arg2); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetNumSupportFiles(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetNumSupportFiles",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumSupportFiles",1,"lldb::SBCompileUnit const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetNumSupportFiles",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetNumSupportFiles",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumSupportFiles",1,"lldb::SBCompileUnit const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetNumSupportFiles",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumSupportFiles(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumSupportFiles(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_FindSupportFileIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - lldb::SBFileSpec *arg3 = 0 ; - bool arg4 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBCompileUnit::FindSupportFileIndex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",1,"lldb::SBCompileUnit *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",3,"lldb::SBFileSpec const &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + lldb::SBFileSpec *arg3 = 0 ; + bool arg4 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBCompileUnit::FindSupportFileIndex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",1,"lldb::SBCompileUnit *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",3,"lldb::SBFileSpec const &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (uint32_t)(arg1)->FindSupportFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (uint32_t)(arg1)->FindSupportFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetTypes__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - uint32_t arg2 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypes(arg2); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + uint32_t arg2 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypes(arg2); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetTypes__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - result = (arg1)->GetTypes(); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (arg1)->GetTypes(); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -15889,7 +15928,7 @@ static int _wrap_SBCompileUnit_GetTypes(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15903,7 +15942,7 @@ static int _wrap_SBCompileUnit_GetTypes(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { @@ -15931,112 +15970,112 @@ static int _wrap_SBCompileUnit_GetTypes(lua_State* L) { static int _wrap_SBCompileUnit_GetLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetLanguage",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLanguage",1,"lldb::SBCompileUnit *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetLanguage",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetLanguage",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLanguage",1,"lldb::SBCompileUnit *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetLanguage",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (lldb::LanguageType)(arg1)->GetLanguage(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::LanguageType)(arg1)->GetLanguage(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCompileUnit::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",1,"lldb::SBCompileUnit *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit_GetDescription",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBCompileUnit_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCompileUnit::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",1,"lldb::SBCompileUnit *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit_GetDescription",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBCompileUnit_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - lldb::SBCompileUnit *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCompileUnit::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",1,"lldb::SBCompileUnit const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",2,"lldb::SBCompileUnit const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit___eq",1,SWIGTYPE_p_lldb__SBCompileUnit); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit___eq",2,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + lldb::SBCompileUnit *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBCompileUnit::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",1,"lldb::SBCompileUnit const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",2,"lldb::SBCompileUnit const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit___eq",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit___eq",2,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = (bool)((lldb::SBCompileUnit const *)arg1)->operator ==((lldb::SBCompileUnit const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBCompileUnit const *)arg1)->operator ==((lldb::SBCompileUnit const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBCompileUnit___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBCompileUnit::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::__repr__",1,"lldb::SBCompileUnit *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBCompileUnit___tostring",1,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBCompileUnit::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::__repr__",1,"lldb::SBCompileUnit *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBCompileUnit___tostring",1,SWIGTYPE_p_lldb__SBCompileUnit); + } + + result = lldb_SBCompileUnit___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBCompileUnit___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -16103,43 +16142,43 @@ static const char *swig_SBCompileUnit_base_names[] = {0}; static swig_lua_class _wrap_class_SBCompileUnit = { "SBCompileUnit", "SBCompileUnit", &SWIGTYPE_p_lldb__SBCompileUnit,_proxy__wrap_new_SBCompileUnit, swig_delete_SBCompileUnit, swig_SBCompileUnit_methods, swig_SBCompileUnit_attributes, &swig_SBCompileUnit_Sf_SwigStatic, swig_SBCompileUnit_meta, swig_SBCompileUnit_bases, swig_SBCompileUnit_base_names }; static int _wrap_new_SBData__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *result = 0 ; - - SWIG_check_num_args("lldb::SBData::SBData",0,0) - result = (lldb::SBData *)new lldb::SBData(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBData *result = 0 ; + + SWIG_check_num_args("lldb::SBData::SBData",0,0) + result = (lldb::SBData *)new lldb::SBData(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBData__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = 0 ; - lldb::SBData *result = 0 ; - - SWIG_check_num_args("lldb::SBData::SBData",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBData::SBData",1,"lldb::SBData const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("new_SBData",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = 0 ; + lldb::SBData *result = 0 ; + + SWIG_check_num_args("lldb::SBData::SBData",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBData::SBData",1,"lldb::SBData const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("new_SBData",1,SWIGTYPE_p_lldb__SBData); + } + + result = (lldb::SBData *)new lldb::SBData((lldb::SBData const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBData *)new lldb::SBData((lldb::SBData const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -16154,7 +16193,7 @@ static int _wrap_new_SBData(lua_State* L) { return _wrap_new_SBData__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBData, SWIG_POINTER_NO_NULL)) { @@ -16177,1478 +16216,1478 @@ static int _wrap_new_SBData(lua_State* L) { static int _wrap_SBData_GetAddressByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - uint8_t result; - - SWIG_check_num_args("lldb::SBData::GetAddressByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddressByteSize",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + uint8_t result; + + SWIG_check_num_args("lldb::SBData::GetAddressByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddressByteSize",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBData); + } + + result = (uint8_t)(arg1)->GetAddressByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint8_t)(arg1)->GetAddressByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetAddressByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - uint8_t arg2 ; - - SWIG_check_num_args("lldb::SBData::SetAddressByteSize",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",1,"lldb::SBData *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",2,"uint8_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetAddressByteSize",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + uint8_t arg2 ; + + SWIG_check_num_args("lldb::SBData::SetAddressByteSize",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",1,"lldb::SBData *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",2,"uint8_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetAddressByteSize",1,SWIGTYPE_p_lldb__SBData); + } + + arg2 = (uint8_t)lua_tointeger(L, 2); + (arg1)->SetAddressByteSize(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint8_t)lua_tointeger(L, 2); - (arg1)->SetAddressByteSize(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - - SWIG_check_num_args("lldb::SBData::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Clear",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_Clear",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + + SWIG_check_num_args("lldb::SBData::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Clear",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_Clear",1,SWIGTYPE_p_lldb__SBData); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBData::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::IsValid",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_IsValid",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBData::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::IsValid",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_IsValid",1,SWIGTYPE_p_lldb__SBData); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBData::GetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteSize",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetByteSize",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBData::GetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteSize",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetByteSize",1,SWIGTYPE_p_lldb__SBData); + } + + result = (arg1)->GetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetByteOrder(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::ByteOrder result; - - SWIG_check_num_args("lldb::SBData::GetByteOrder",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteOrder",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetByteOrder",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::ByteOrder result; + + SWIG_check_num_args("lldb::SBData::GetByteOrder",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteOrder",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetByteOrder",1,SWIGTYPE_p_lldb__SBData); + } + + result = (lldb::ByteOrder)(arg1)->GetByteOrder(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ByteOrder)(arg1)->GetByteOrder(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetByteOrder(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::ByteOrder arg2 ; - - SWIG_check_num_args("lldb::SBData::SetByteOrder",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetByteOrder",1,"lldb::SBData *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetByteOrder",2,"lldb::ByteOrder"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetByteOrder",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::ByteOrder arg2 ; + + SWIG_check_num_args("lldb::SBData::SetByteOrder",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetByteOrder",1,"lldb::SBData *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetByteOrder",2,"lldb::ByteOrder"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetByteOrder",1,SWIGTYPE_p_lldb__SBData); + } + + arg2 = (lldb::ByteOrder)lua_tointeger(L, 2); + (arg1)->SetByteOrder(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::ByteOrder)lua_tointeger(L, 2); - (arg1)->SetByteOrder(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetFloat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - float result; - - SWIG_check_num_args("lldb::SBData::GetFloat",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetFloat",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetFloat",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetFloat",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetFloat",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetFloat",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + float result; + + SWIG_check_num_args("lldb::SBData::GetFloat",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetFloat",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetFloat",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetFloat",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetFloat",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetFloat",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (float)(arg1)->GetFloat(*arg2,arg3); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (float)(arg1)->GetFloat(*arg2,arg3); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetDouble(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - double result; - - SWIG_check_num_args("lldb::SBData::GetDouble",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDouble",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDouble",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDouble",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetDouble",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetDouble",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + double result; + + SWIG_check_num_args("lldb::SBData::GetDouble",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDouble",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDouble",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDouble",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetDouble",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetDouble",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (double)(arg1)->GetDouble(*arg2,arg3); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (double)(arg1)->GetDouble(*arg2,arg3); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetLongDouble(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - long double result; - - SWIG_check_num_args("lldb::SBData::GetLongDouble",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetLongDouble",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetLongDouble",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetLongDouble",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetLongDouble",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetLongDouble",2,SWIGTYPE_p_lldb__SBError); - } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (long double)(arg1)->GetLongDouble(*arg2,arg3); { - long double * resultptr = new long double((const long double &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_long_double,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + long double result; + + SWIG_check_num_args("lldb::SBData::GetLongDouble",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetLongDouble",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetLongDouble",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetLongDouble",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetLongDouble",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetLongDouble",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (long double)(arg1)->GetLongDouble(*arg2,arg3); + { + long double * resultptr = new long double(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_long_double,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBData::GetAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddress",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetAddress",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetAddress",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetAddress",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetAddress",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBData::GetAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddress",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetAddress",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetAddress",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetAddress",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetAddress",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (lldb::addr_t)(arg1)->GetAddress(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (lldb::addr_t)(arg1)->GetAddress(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetUnsignedInt8(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - uint8_t result; - - SWIG_check_num_args("lldb::SBData::GetUnsignedInt8",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt8",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt8",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + uint8_t result; + + SWIG_check_num_args("lldb::SBData::GetUnsignedInt8",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt8",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt8",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (uint8_t)(arg1)->GetUnsignedInt8(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (uint8_t)(arg1)->GetUnsignedInt8(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetUnsignedInt16(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - uint16_t result; - - SWIG_check_num_args("lldb::SBData::GetUnsignedInt16",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt16",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt16",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + uint16_t result; + + SWIG_check_num_args("lldb::SBData::GetUnsignedInt16",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt16",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt16",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (uint16_t)(arg1)->GetUnsignedInt16(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (uint16_t)(arg1)->GetUnsignedInt16(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetUnsignedInt32(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBData::GetUnsignedInt32",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt32",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt32",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBData::GetUnsignedInt32",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt32",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt32",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (uint32_t)(arg1)->GetUnsignedInt32(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (uint32_t)(arg1)->GetUnsignedInt32(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetUnsignedInt64(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBData::GetUnsignedInt64",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt64",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetUnsignedInt64",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBData::GetUnsignedInt64",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt64",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetUnsignedInt64",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (uint64_t)(arg1)->GetUnsignedInt64(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (uint64_t)(arg1)->GetUnsignedInt64(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetSignedInt8(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - int8_t result; - - SWIG_check_num_args("lldb::SBData::GetSignedInt8",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetSignedInt8",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetSignedInt8",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + int8_t result; + + SWIG_check_num_args("lldb::SBData::GetSignedInt8",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetSignedInt8",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetSignedInt8",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (int8_t)(arg1)->GetSignedInt8(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (int8_t)(arg1)->GetSignedInt8(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetSignedInt16(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - int16_t result; - - SWIG_check_num_args("lldb::SBData::GetSignedInt16",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetSignedInt16",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetSignedInt16",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + int16_t result; + + SWIG_check_num_args("lldb::SBData::GetSignedInt16",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetSignedInt16",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetSignedInt16",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (int16_t)(arg1)->GetSignedInt16(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (int16_t)(arg1)->GetSignedInt16(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetSignedInt32(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - int32_t result; - - SWIG_check_num_args("lldb::SBData::GetSignedInt32",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetSignedInt32",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetSignedInt32",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + int32_t result; + + SWIG_check_num_args("lldb::SBData::GetSignedInt32",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetSignedInt32",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetSignedInt32",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (int32_t)(arg1)->GetSignedInt32(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (int32_t)(arg1)->GetSignedInt32(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetSignedInt64(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - int64_t result; - - SWIG_check_num_args("lldb::SBData::GetSignedInt64",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetSignedInt64",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetSignedInt64",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + int64_t result; + + SWIG_check_num_args("lldb::SBData::GetSignedInt64",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetSignedInt64",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetSignedInt64",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (int64_t)(arg1)->GetSignedInt64(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (int64_t)(arg1)->GetSignedInt64(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBData::GetString",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetString",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetString",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetString",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetString",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_GetString",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBData::GetString",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetString",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetString",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetString",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetString",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_GetString",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + result = (char *)(arg1)->GetString(*arg2,arg3); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); - result = (char *)(arg1)->GetString(*arg2,arg3); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::addr_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDescription",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDescription",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_GetDescription",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBData_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::addr_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDescription",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDescription",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_GetDescription",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBData_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_ReadRawData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::offset_t arg3 ; - void *arg4 = (void *) 0 ; - size_t arg5 ; - size_t result; - - SWIG_check_num_args("lldb::SBData::ReadRawData",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::ReadRawData",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::ReadRawData",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::ReadRawData",3,"lldb::offset_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_ReadRawData",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_ReadRawData",2,SWIGTYPE_p_lldb__SBError); - } - - arg3 = (lldb::offset_t)lua_tointeger(L, 3); { - arg5 = luaL_checkinteger(L, 4); - if (arg5 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::offset_t arg3 ; + void *arg4 = (void *) 0 ; + size_t arg5 ; + size_t result; + + SWIG_check_num_args("lldb::SBData::ReadRawData",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::ReadRawData",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::ReadRawData",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::ReadRawData",3,"lldb::offset_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_ReadRawData",1,SWIGTYPE_p_lldb__SBData); } - arg4 = (char *)malloc(arg5); - } - result = (arg1)->ReadRawData(*arg2,arg3,arg4,arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg4, result); + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_ReadRawData",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (lldb::offset_t)lua_tointeger(L, 3); + { + arg5 = luaL_checkinteger(L, 4); + if (arg5 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg4 = (char *)malloc(arg5); } - free(arg4); - // SWIG_arg was already incremented + result = (arg1)->ReadRawData(*arg2,arg3,arg4,arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg4, result); + } + free(arg4); + // SWIG_arg was already incremented + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::ByteOrder arg5 ; - uint8_t arg6 ; - - SWIG_check_num_args("lldb::SBData::SetData",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetData",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetData",2,"lldb::SBError &"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetData",4,"lldb::ByteOrder"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetData",5,"uint8_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetData",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_SetData",2,SWIGTYPE_p_lldb__SBError); - } - { - arg3 = (void *)luaL_checklstring(L, 3, &arg4); + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::ByteOrder arg5 ; + uint8_t arg6 ; + + SWIG_check_num_args("lldb::SBData::SetData",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetData",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetData",2,"lldb::SBError &"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetData",4,"lldb::ByteOrder"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetData",5,"uint8_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetData",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_SetData",2,SWIGTYPE_p_lldb__SBError); + } + + { + arg3 = (void *)luaL_checklstring(L, 3, &arg4); + } + arg5 = (lldb::ByteOrder)lua_tointeger(L, 4); + arg6 = (uint8_t)lua_tointeger(L, 5); + (arg1)->SetData(*arg2,(void const *)arg3,arg4,arg5,arg6); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg5 = (lldb::ByteOrder)lua_tointeger(L, 4); - arg6 = (uint8_t)lua_tointeger(L, 5); - (arg1)->SetData(*arg2,(void const *)arg3,arg4,arg5,arg6); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataWithOwnership(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBError *arg2 = 0 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::ByteOrder arg5 ; - uint8_t arg6 ; - - SWIG_check_num_args("lldb::SBData::SetDataWithOwnership",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",2,"lldb::SBError &"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",4,"lldb::ByteOrder"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",5,"uint8_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataWithOwnership",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBData_SetDataWithOwnership",2,SWIGTYPE_p_lldb__SBError); - } - { - arg3 = (void *)luaL_checklstring(L, 3, &arg4); + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBError *arg2 = 0 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::ByteOrder arg5 ; + uint8_t arg6 ; + + SWIG_check_num_args("lldb::SBData::SetDataWithOwnership",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",2,"lldb::SBError &"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",4,"lldb::ByteOrder"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",5,"uint8_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataWithOwnership",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBData_SetDataWithOwnership",2,SWIGTYPE_p_lldb__SBError); + } + + { + arg3 = (void *)luaL_checklstring(L, 3, &arg4); + } + arg5 = (lldb::ByteOrder)lua_tointeger(L, 4); + arg6 = (uint8_t)lua_tointeger(L, 5); + (arg1)->SetDataWithOwnership(*arg2,(void const *)arg3,arg4,arg5,arg6); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg5 = (lldb::ByteOrder)lua_tointeger(L, 4); - arg6 = (uint8_t)lua_tointeger(L, 5); - (arg1)->SetDataWithOwnership(*arg2,(void const *)arg3,arg4,arg5,arg6); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_Append(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - lldb::SBData *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBData::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Append",1,"lldb::SBData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::Append",2,"lldb::SBData const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_Append",1,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_Append",2,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + lldb::SBData *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBData::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Append",1,"lldb::SBData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::Append",2,"lldb::SBData const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_Append",1,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_Append",2,SWIGTYPE_p_lldb__SBData); + } + + result = (bool)(arg1)->Append((lldb::SBData const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Append((lldb::SBData const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromCString(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - char *arg3 = (char *) 0 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromCString",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",2,"uint32_t"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",3,"char const *"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = lldb::SBData::CreateDataFromCString(arg1,arg2,(char const *)arg3); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + char *arg3 = (char *) 0 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromCString",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",2,"uint32_t"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",3,"char const *"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = lldb::SBData::CreateDataFromCString(arg1,arg2,(char const *)arg3); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromUInt64Array(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - uint64_t *arg3 = (uint64_t *) 0 ; - size_t arg4 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromUInt64Array",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",2,"uint32_t"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - { - if (lua_istable(L, 3)) { - // It should accept a table of numbers. - arg4 = lua_rawlen(L, 3); - arg3 = (uint64_t *)malloc((arg4) * sizeof(uint64_t)); - int i = 0, j = 0; - while (i++ < arg4) { - lua_rawgeti(L, 3, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + uint64_t *arg3 = (uint64_t *) 0 ; + size_t arg4 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromUInt64Array",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",2,"uint32_t"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + { + if (lua_istable(L, 3)) { + // It should accept a table of numbers. + arg4 = lua_rawlen(L, 3); + arg3 = (uint64_t *)malloc((arg4) * sizeof(uint64_t)); + int i = 0, j = 0; + while (i++ < arg4) { + lua_rawgeti(L, 3, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg3[j++] = (uint64_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg3[j++] = (uint64_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + arg4 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - arg4 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = lldb::SBData::CreateDataFromUInt64Array(arg1,arg2,arg3,arg4); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - { - free(arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg3); + result = lldb::SBData::CreateDataFromUInt64Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4)); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + { + free(arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromUInt32Array(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - size_t arg4 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromUInt32Array",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",2,"uint32_t"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - { - if (lua_istable(L, 3)) { - // It should accept a table of numbers. - arg4 = lua_rawlen(L, 3); - arg3 = (uint32_t *)malloc((arg4) * sizeof(uint32_t)); - int i = 0, j = 0; - while (i++ < arg4) { - lua_rawgeti(L, 3, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + uint32_t *arg3 = (uint32_t *) 0 ; + size_t arg4 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromUInt32Array",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",2,"uint32_t"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + { + if (lua_istable(L, 3)) { + // It should accept a table of numbers. + arg4 = lua_rawlen(L, 3); + arg3 = (uint32_t *)malloc((arg4) * sizeof(uint32_t)); + int i = 0, j = 0; + while (i++ < arg4) { + lua_rawgeti(L, 3, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg3[j++] = (uint32_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg3[j++] = (uint32_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + arg4 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - arg4 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = lldb::SBData::CreateDataFromUInt32Array(arg1,arg2,arg3,arg4); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - { - free(arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg3); + result = lldb::SBData::CreateDataFromUInt32Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4)); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + { + free(arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromSInt64Array(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - int64_t *arg3 = (int64_t *) 0 ; - size_t arg4 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromSInt64Array",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",2,"uint32_t"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - { - if (lua_istable(L, 3)) { - // It should accept a table of numbers. - arg4 = lua_rawlen(L, 3); - arg3 = (int64_t *)malloc((arg4) * sizeof(int64_t)); - int i = 0, j = 0; - while (i++ < arg4) { - lua_rawgeti(L, 3, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + int64_t *arg3 = (int64_t *) 0 ; + size_t arg4 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromSInt64Array",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",2,"uint32_t"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + { + if (lua_istable(L, 3)) { + // It should accept a table of numbers. + arg4 = lua_rawlen(L, 3); + arg3 = (int64_t *)malloc((arg4) * sizeof(int64_t)); + int i = 0, j = 0; + while (i++ < arg4) { + lua_rawgeti(L, 3, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg3[j++] = (int64_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg3[j++] = (int64_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + arg4 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - arg4 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = lldb::SBData::CreateDataFromSInt64Array(arg1,arg2,arg3,arg4); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - { - free(arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg3); + result = lldb::SBData::CreateDataFromSInt64Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4)); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + { + free(arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromSInt32Array(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - size_t arg4 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromSInt32Array",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",2,"uint32_t"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - { - if (lua_istable(L, 3)) { - // It should accept a table of numbers. - arg4 = lua_rawlen(L, 3); - arg3 = (int32_t *)malloc((arg4) * sizeof(int32_t)); - int i = 0, j = 0; - while (i++ < arg4) { - lua_rawgeti(L, 3, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + int32_t *arg3 = (int32_t *) 0 ; + size_t arg4 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromSInt32Array",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",2,"uint32_t"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + { + if (lua_istable(L, 3)) { + // It should accept a table of numbers. + arg4 = lua_rawlen(L, 3); + arg3 = (int32_t *)malloc((arg4) * sizeof(int32_t)); + int i = 0, j = 0; + while (i++ < arg4) { + lua_rawgeti(L, 3, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg3[j++] = (int32_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg3[j++] = (int32_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + arg4 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - arg4 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = lldb::SBData::CreateDataFromSInt32Array(arg1,arg2,arg3,arg4); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - { - free(arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg3); + result = lldb::SBData::CreateDataFromSInt32Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4)); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + { + free(arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_CreateDataFromDoubleArray(lua_State* L) { - int SWIG_arg = 0; - lldb::ByteOrder arg1 ; - uint32_t arg2 ; - double *arg3 = (double *) 0 ; - size_t arg4 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBData::CreateDataFromDoubleArray",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",1,"lldb::ByteOrder"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",2,"uint32_t"); - arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - { - if (lua_istable(L, 3)) { - // It should accept a table of numbers. - arg4 = lua_rawlen(L, 3); - arg3 = (double *)malloc((arg4) * sizeof(double)); - int i = 0, j = 0; - while (i++ < arg4) { - lua_rawgeti(L, 3, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + { + int SWIG_arg = 0; + lldb::ByteOrder arg1 ; + uint32_t arg2 ; + double *arg3 = (double *) 0 ; + size_t arg4 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBData::CreateDataFromDoubleArray",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",1,"lldb::ByteOrder"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",2,"uint32_t"); + arg1 = (lldb::ByteOrder)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + { + if (lua_istable(L, 3)) { + // It should accept a table of numbers. + arg4 = lua_rawlen(L, 3); + arg3 = (double *)malloc((arg4) * sizeof(double)); + int i = 0, j = 0; + while (i++ < arg4) { + lua_rawgeti(L, 3, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg3[j++] = (double) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg3[j++] = (double) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + arg4 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - arg4 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = lldb::SBData::CreateDataFromDoubleArray(arg1,arg2,arg3,arg4); - { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; - } - { - free(arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg3); + result = lldb::SBData::CreateDataFromDoubleArray(arg1,arg2,arg3,SWIG_STD_MOVE(arg4)); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + { + free(arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromCString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromCString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",1,"lldb::SBData *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromCString",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromCString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",1,"lldb::SBData *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromCString",1,SWIGTYPE_p_lldb__SBData); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->SetDataFromCString((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->SetDataFromCString((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromUInt64Array(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromUInt64Array",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromUInt64Array",1,SWIGTYPE_p_lldb__SBData); - } - { - if (lua_istable(L, 2)) { - // It should accept a table of numbers. - arg3 = lua_rawlen(L, 2); - arg2 = (uint64_t *)malloc((arg3) * sizeof(uint64_t)); - int i = 0, j = 0; - while (i++ < arg3) { - lua_rawgeti(L, 2, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromUInt64Array",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromUInt64Array",1,SWIGTYPE_p_lldb__SBData); + } + + { + if (lua_istable(L, 2)) { + // It should accept a table of numbers. + arg3 = lua_rawlen(L, 2); + arg2 = (uint64_t *)malloc((arg3) * sizeof(uint64_t)); + int i = 0, j = 0; + while (i++ < arg3) { + lua_rawgeti(L, 2, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg2[j++] = (uint64_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg2[j++] = (uint64_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + arg3 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - arg3 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = (bool)(arg1)->SetDataFromUInt64Array(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free(arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg2); + result = (bool)(arg1)->SetDataFromUInt64Array(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromUInt32Array(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - uint32_t *arg2 = (uint32_t *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromUInt32Array",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromUInt32Array",1,SWIGTYPE_p_lldb__SBData); - } - { - if (lua_istable(L, 2)) { - // It should accept a table of numbers. - arg3 = lua_rawlen(L, 2); - arg2 = (uint32_t *)malloc((arg3) * sizeof(uint32_t)); - int i = 0, j = 0; - while (i++ < arg3) { - lua_rawgeti(L, 2, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + uint32_t *arg2 = (uint32_t *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromUInt32Array",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromUInt32Array",1,SWIGTYPE_p_lldb__SBData); + } + + { + if (lua_istable(L, 2)) { + // It should accept a table of numbers. + arg3 = lua_rawlen(L, 2); + arg2 = (uint32_t *)malloc((arg3) * sizeof(uint32_t)); + int i = 0, j = 0; + while (i++ < arg3) { + lua_rawgeti(L, 2, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg2[j++] = (uint32_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg2[j++] = (uint32_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + arg3 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - arg3 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = (bool)(arg1)->SetDataFromUInt32Array(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free(arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg2); + result = (bool)(arg1)->SetDataFromUInt32Array(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromSInt64Array(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - int64_t *arg2 = (int64_t *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromSInt64Array",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromSInt64Array",1,SWIGTYPE_p_lldb__SBData); - } - { - if (lua_istable(L, 2)) { - // It should accept a table of numbers. - arg3 = lua_rawlen(L, 2); - arg2 = (int64_t *)malloc((arg3) * sizeof(int64_t)); - int i = 0, j = 0; - while (i++ < arg3) { - lua_rawgeti(L, 2, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + int64_t *arg2 = (int64_t *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromSInt64Array",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromSInt64Array",1,SWIGTYPE_p_lldb__SBData); + } + + { + if (lua_istable(L, 2)) { + // It should accept a table of numbers. + arg3 = lua_rawlen(L, 2); + arg2 = (int64_t *)malloc((arg3) * sizeof(int64_t)); + int i = 0, j = 0; + while (i++ < arg3) { + lua_rawgeti(L, 2, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg2[j++] = (int64_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg2[j++] = (int64_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + arg3 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - arg3 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = (bool)(arg1)->SetDataFromSInt64Array(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free(arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg2); + result = (bool)(arg1)->SetDataFromSInt64Array(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromSInt32Array(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromSInt32Array",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromSInt32Array",1,SWIGTYPE_p_lldb__SBData); - } - { - if (lua_istable(L, 2)) { - // It should accept a table of numbers. - arg3 = lua_rawlen(L, 2); - arg2 = (int32_t *)malloc((arg3) * sizeof(int32_t)); - int i = 0, j = 0; - while (i++ < arg3) { - lua_rawgeti(L, 2, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + int32_t *arg2 = (int32_t *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromSInt32Array",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromSInt32Array",1,SWIGTYPE_p_lldb__SBData); + } + + { + if (lua_istable(L, 2)) { + // It should accept a table of numbers. + arg3 = lua_rawlen(L, 2); + arg2 = (int32_t *)malloc((arg3) * sizeof(int32_t)); + int i = 0, j = 0; + while (i++ < arg3) { + lua_rawgeti(L, 2, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg2[j++] = (int32_t) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg2[j++] = (int32_t) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + arg3 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - arg3 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = (bool)(arg1)->SetDataFromSInt32Array(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free(arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg2); + result = (bool)(arg1)->SetDataFromSInt32Array(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData_SetDataFromDoubleArray(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - double *arg2 = (double *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBData::SetDataFromDoubleArray",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData_SetDataFromDoubleArray",1,SWIGTYPE_p_lldb__SBData); - } - { - if (lua_istable(L, 2)) { - // It should accept a table of numbers. - arg3 = lua_rawlen(L, 2); - arg2 = (double *)malloc((arg3) * sizeof(double)); - int i = 0, j = 0; - while (i++ < arg3) { - lua_rawgeti(L, 2, i); - if (!lua_isnumber(L, -1)) { - // if current element cannot be converted to number, raise an error + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + double *arg2 = (double *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBData::SetDataFromDoubleArray",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData_SetDataFromDoubleArray",1,SWIGTYPE_p_lldb__SBData); + } + + { + if (lua_istable(L, 2)) { + // It should accept a table of numbers. + arg3 = lua_rawlen(L, 2); + arg2 = (double *)malloc((arg3) * sizeof(double)); + int i = 0, j = 0; + while (i++ < arg3) { + lua_rawgeti(L, 2, i); + if (!lua_isnumber(L, -1)) { + // if current element cannot be converted to number, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain numbers"); + } + arg2[j++] = (double) lua_tonumber(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain numbers"); } - arg2[j++] = (double) lua_tonumber(L, -1); - lua_pop(L, 1); + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + arg3 = 0; + } else { + // else raise an error + return luaL_error(L, "A list of numbers expected."); } - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - arg3 = 0; - } else { - // else raise an error - return luaL_error(L, "A list of numbers expected."); } - } - result = (bool)(arg1)->SetDataFromDoubleArray(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free(arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free(arg2); + result = (bool)(arg1)->SetDataFromDoubleArray(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free(arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBData___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBData *arg1 = (lldb::SBData *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBData::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::__repr__",1,"lldb::SBData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBData___tostring",1,SWIGTYPE_p_lldb__SBData); + { + int SWIG_arg = 0; + lldb::SBData *arg1 = (lldb::SBData *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBData::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::__repr__",1,"lldb::SBData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBData___tostring",1,SWIGTYPE_p_lldb__SBData); + } + + result = lldb_SBData___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBData___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -17739,243 +17778,243 @@ static const char *swig_SBData_base_names[] = {0}; static swig_lua_class _wrap_class_SBData = { "SBData", "SBData", &SWIGTYPE_p_lldb__SBData,_proxy__wrap_new_SBData, swig_delete_SBData, swig_SBData_methods, swig_SBData_attributes, &swig_SBData_Sf_SwigStatic, swig_SBData_meta, swig_SBData_bases, swig_SBData_base_names }; static int _wrap_SBDebugger_GetProgressFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - uint64_t *arg2 = 0 ; - uint64_t *arg3 = 0 ; - uint64_t *arg4 = 0 ; - bool *arg5 = 0 ; - uint64_t temp2 ; - uint64_t temp3 ; - uint64_t temp4 ; - bool temp5 ; - char *result = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - arg5 = &temp5; - SWIG_check_num_args("lldb::SBDebugger::GetProgressFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetProgressFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBDebugger_GetProgressFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + uint64_t *arg2 = 0 ; + uint64_t *arg3 = 0 ; + uint64_t *arg4 = 0 ; + bool *arg5 = 0 ; + uint64_t temp2 ; + uint64_t temp3 ; + uint64_t temp4 ; + bool temp5 ; + char *result = 0 ; + + arg2 = &temp2; + arg3 = &temp3; + arg4 = &temp4; + arg5 = &temp5; + SWIG_check_num_args("lldb::SBDebugger::GetProgressFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetProgressFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBDebugger_GetProgressFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (char *)lldb::SBDebugger::GetProgressFromEvent((lldb::SBEvent const &)*arg1,*arg2,*arg3,*arg4,*arg5); + lua_pushstring(L,(const char *)result); SWIG_arg++; + lua_pushinteger(L, (lua_Integer) *arg2); SWIG_arg++; + lua_pushinteger(L, (lua_Integer) *arg3); SWIG_arg++; + lua_pushinteger(L, (lua_Integer) *arg4); SWIG_arg++; + lua_pushboolean(L, (int)((*arg5)!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)lldb::SBDebugger::GetProgressFromEvent((lldb::SBEvent const &)*arg1,*arg2,*arg3,*arg4,*arg5); - lua_pushstring(L,(const char *)result); SWIG_arg++; - lua_pushinteger(L, (lua_Integer) *arg2); SWIG_arg++; - lua_pushinteger(L, (lua_Integer) *arg3); SWIG_arg++; - lua_pushinteger(L, (lua_Integer) *arg4); SWIG_arg++; - lua_pushboolean(L, (int)((*arg5)!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetDiagnosticFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetDiagnosticFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDiagnosticFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBDebugger_GetDiagnosticFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBDebugger::GetDiagnosticFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetDiagnosticFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDiagnosticFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBDebugger_GetDiagnosticFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBDebugger::GetDiagnosticFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBDebugger::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetBroadcaster",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetBroadcaster",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBDebugger::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetBroadcaster",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetBroadcaster",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Initialize(lua_State* L) { - int SWIG_arg = 0; - - SWIG_check_num_args("lldb::SBDebugger::Initialize",0,0) - lldb::SBDebugger::Initialize(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + + SWIG_check_num_args("lldb::SBDebugger::Initialize",0,0) + lldb::SBDebugger::Initialize(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_InitializeWithErrorHandling(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::InitializeWithErrorHandling",0,0) - result = lldb::SBDebugger::InitializeWithErrorHandling(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::InitializeWithErrorHandling",0,0) + result = lldb::SBDebugger::InitializeWithErrorHandling(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_PrintStackTraceOnError(lua_State* L) { - int SWIG_arg = 0; - - SWIG_check_num_args("lldb::SBDebugger::PrintStackTraceOnError",0,0) - lldb::SBDebugger::PrintStackTraceOnError(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + + SWIG_check_num_args("lldb::SBDebugger::PrintStackTraceOnError",0,0) + lldb::SBDebugger::PrintStackTraceOnError(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Terminate(lua_State* L) { - int SWIG_arg = 0; - - SWIG_check_num_args("lldb::SBDebugger::Terminate",0,0) - lldb::SBDebugger::Terminate(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + + SWIG_check_num_args("lldb::SBDebugger::Terminate",0,0) + lldb::SBDebugger::Terminate(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Create__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBDebugger::Create",0,0) - result = lldb::SBDebugger::Create(); { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger result; + + SWIG_check_num_args("lldb::SBDebugger::Create",0,0) + result = lldb::SBDebugger::Create(); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Create__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - bool arg1 ; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBDebugger::Create",1,1) - if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool"); - arg1 = (lua_toboolean(L, 1)!=0); - result = lldb::SBDebugger::Create(arg1); { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + int SWIG_arg = 0; + bool arg1 ; + lldb::SBDebugger result; + + SWIG_check_num_args("lldb::SBDebugger::Create",1,1) + if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool"); + arg1 = (lua_toboolean(L, 1)!=0); + result = lldb::SBDebugger::Create(arg1); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Create__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - bool arg1 ; - lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ; - void *arg3 = (void *) 0 ; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBDebugger::Create",2,2) - if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool"); - arg1 = (lua_toboolean(L, 1)!=0); { - arg2 = LLDBSwigLuaCallLuaLogOutputCallback; - arg3 = (void *)L; + int SWIG_arg = 0; + bool arg1 ; + lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ; + void *arg3 = (void *) 0 ; + lldb::SBDebugger result; - luaL_checktype(L, 2, LUA_TFUNCTION); - lua_settop(L, 2); + SWIG_check_num_args("lldb::SBDebugger::Create",2,2) + if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool"); + arg1 = (lua_toboolean(L, 1)!=0); + { + arg2 = LLDBSwigLuaCallLuaLogOutputCallback; + arg3 = (void *)L; + + luaL_checktype(L, 2, LUA_TFUNCTION); + lua_settop(L, 2); + + lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback); + lua_insert(L, 2); + lua_settable(L, LUA_REGISTRYINDEX); + } + result = lldb::SBDebugger::Create(arg1,arg2,arg3); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; - lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback); - lua_insert(L, 2); - lua_settable(L, LUA_REGISTRYINDEX); + fail: SWIGUNUSED; } - result = lldb::SBDebugger::Create(arg1,arg2,arg3); - { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -17990,7 +18029,7 @@ static int _wrap_SBDebugger_Create(lua_State* L) { return _wrap_SBDebugger_Create__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { _v = lua_isboolean(L,argv[0]); } @@ -17999,7 +18038,7 @@ static int _wrap_SBDebugger_Create(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = lua_isboolean(L,argv[0]); } @@ -18041,82 +18080,82 @@ static int _wrap_SBDebugger_Create(lua_State* L) { static int _wrap_SBDebugger_Destroy(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::Destroy",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::Destroy",1,"lldb::SBDebugger &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_Destroy",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::Destroy",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::Destroy",1,"lldb::SBDebugger &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_Destroy",1,SWIGTYPE_p_lldb__SBDebugger); + } + + lldb::SBDebugger::Destroy(*arg1); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - lldb::SBDebugger::Destroy(*arg1); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_MemoryPressureDetected(lua_State* L) { - int SWIG_arg = 0; - - SWIG_check_num_args("lldb::SBDebugger::MemoryPressureDetected",0,0) - lldb::SBDebugger::MemoryPressureDetected(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + + SWIG_check_num_args("lldb::SBDebugger::MemoryPressureDetected",0,0) + lldb::SBDebugger::MemoryPressureDetected(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBDebugger__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SBDebugger",0,0) - result = (lldb::SBDebugger *)new lldb::SBDebugger(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBDebugger *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SBDebugger",0,0) + result = (lldb::SBDebugger *)new lldb::SBDebugger(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBDebugger__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = 0 ; - lldb::SBDebugger *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SBDebugger",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::SBDebugger",1,"lldb::SBDebugger const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("new_SBDebugger",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = 0 ; + lldb::SBDebugger *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SBDebugger",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::SBDebugger",1,"lldb::SBDebugger const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("new_SBDebugger",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (lldb::SBDebugger *)new lldb::SBDebugger((lldb::SBDebugger const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBDebugger *)new lldb::SBDebugger((lldb::SBDebugger const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -18131,7 +18170,7 @@ static int _wrap_new_SBDebugger(lua_State* L) { return _wrap_new_SBDebugger__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL)) { @@ -18154,281 +18193,281 @@ static int _wrap_new_SBDebugger(lua_State* L) { static int _wrap_SBDebugger_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::IsValid",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_IsValid",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::IsValid",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_IsValid",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (bool)((lldb::SBDebugger const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBDebugger const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::Clear",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_Clear",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::Clear",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_Clear",1,SWIGTYPE_p_lldb__SBDebugger); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetAsync(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBDebugger::SetAsync",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetAsync",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBDebugger::SetAsync",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetAsync",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAsync(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAsync(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetAsync(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetAsync",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAsync",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetAsync",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetAsync",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAsync",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetAsync",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (bool)(arg1)->GetAsync(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAsync(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SkipLLDBInitFiles(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBDebugger::SkipLLDBInitFiles",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SkipLLDBInitFiles",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBDebugger::SkipLLDBInitFiles",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SkipLLDBInitFiles",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SkipLLDBInitFiles(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SkipLLDBInitFiles(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetInputFileHandle(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; - - SWIG_check_num_args("lldb::SBDebugger::GetInputFileHandle",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFileHandle",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetInputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = lldb_SBDebugger_GetInputFileHandle(arg1); - { - lldb::FileSP sp = result; - if (sp && sp->IsValid()) { - luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); - p->closef = &LLDBSwigLuaCloseFileHandle; - p->f = sp->GetStream(); - luaL_setmetatable(L, LUA_FILEHANDLE); - SWIG_arg++; + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; + + SWIG_check_num_args("lldb::SBDebugger::GetInputFileHandle",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFileHandle",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetInputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = lldb_SBDebugger_GetInputFileHandle(arg1); + { + lldb::FileSP sp = result; + if (sp && sp->IsValid()) { + luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); + p->closef = &LLDBSwigLuaCloseFileHandle; + p->f = sp->GetStream(); + luaL_setmetatable(L, LUA_FILEHANDLE); + SWIG_arg++; + } } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetOutputFileHandle(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; - - SWIG_check_num_args("lldb::SBDebugger::GetOutputFileHandle",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFileHandle",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetOutputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = lldb_SBDebugger_GetOutputFileHandle(arg1); - { - lldb::FileSP sp = result; - if (sp && sp->IsValid()) { - luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); - p->closef = &LLDBSwigLuaCloseFileHandle; - p->f = sp->GetStream(); - luaL_setmetatable(L, LUA_FILEHANDLE); - SWIG_arg++; + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; + + SWIG_check_num_args("lldb::SBDebugger::GetOutputFileHandle",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFileHandle",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetOutputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); } + + result = lldb_SBDebugger_GetOutputFileHandle(arg1); + { + lldb::FileSP sp = result; + if (sp && sp->IsValid()) { + luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); + p->closef = &LLDBSwigLuaCloseFileHandle; + p->f = sp->GetStream(); + luaL_setmetatable(L, LUA_FILEHANDLE); + SWIG_arg++; + } + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetErrorFileHandle(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; - - SWIG_check_num_args("lldb::SBDebugger::GetErrorFileHandle",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFileHandle",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetErrorFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = lldb_SBDebugger_GetErrorFileHandle(arg1); - { - lldb::FileSP sp = result; - if (sp && sp->IsValid()) { - luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); - p->closef = &LLDBSwigLuaCloseFileHandle; - p->f = sp->GetStream(); - luaL_setmetatable(L, LUA_FILEHANDLE); - SWIG_arg++; + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; + + SWIG_check_num_args("lldb::SBDebugger::GetErrorFileHandle",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFileHandle",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetErrorFileHandle",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = lldb_SBDebugger_GetErrorFileHandle(arg1); + { + lldb::FileSP sp = result; + if (sp && sp->IsValid()) { + luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); + p->closef = &LLDBSwigLuaCloseFileHandle; + p->f = sp->GetStream(); + luaL_setmetatable(L, LUA_FILEHANDLE); + SWIG_arg++; + } } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSetting__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetSetting",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetSetting((char const *)arg2); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetSetting",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetSetting((char const *)arg2); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSetting__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetSetting",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetSetting(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetSetting",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetSetting(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -18440,7 +18479,7 @@ static int _wrap_SBDebugger_GetSetting(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18454,7 +18493,7 @@ static int _wrap_SBDebugger_GetSetting(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18482,176 +18521,176 @@ static int _wrap_SBDebugger_GetSetting(lua_State* L) { static int _wrap_SBDebugger_SetInputString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetInputString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetInputString",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetInputString((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetInputString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetInputString",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetInputString((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetInputFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBDebugger_SetInputFile",2,SWIGTYPE_p_lldb__SBFile); - } - arg2 = *argp2; - - result = (arg1)->SetInputFile(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBDebugger_SetInputFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + result = (arg1)->SetInputFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetOutputFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBDebugger_SetOutputFile",2,SWIGTYPE_p_lldb__SBFile); - } - arg2 = *argp2; - - result = (arg1)->SetOutputFile(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBDebugger_SetOutputFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + result = (arg1)->SetOutputFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetErrorFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBDebugger_SetErrorFile",2,SWIGTYPE_p_lldb__SBFile); - } - arg2 = *argp2; - - result = (arg1)->SetErrorFile(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBDebugger_SetErrorFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + result = (arg1)->SetErrorFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetInputFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; - } - result = (arg1)->SetInputFile(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + result = (arg1)->SetInputFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -18663,7 +18702,7 @@ static int _wrap_SBDebugger_SetInputFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18687,7 +18726,7 @@ static int _wrap_SBDebugger_SetInputFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18716,38 +18755,38 @@ static int _wrap_SBDebugger_SetInputFile(lua_State* L) { static int _wrap_SBDebugger_SetOutputFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; - } - result = (arg1)->SetOutputFile(arg2); - { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + result = (arg1)->SetOutputFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -18759,7 +18798,7 @@ static int _wrap_SBDebugger_SetOutputFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18783,7 +18822,7 @@ static int _wrap_SBDebugger_SetOutputFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18812,38 +18851,38 @@ static int _wrap_SBDebugger_SetOutputFile(lua_State* L) { static int _wrap_SBDebugger_SetErrorFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; - } - result = (arg1)->SetErrorFile(arg2); - { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + result = (arg1)->SetErrorFile(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -18855,7 +18894,7 @@ static int _wrap_SBDebugger_SetErrorFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18879,7 +18918,7 @@ static int _wrap_SBDebugger_SetErrorFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -18908,273 +18947,273 @@ static int _wrap_SBDebugger_SetErrorFile(lua_State* L) { static int _wrap_SBDebugger_GetInputFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBDebugger::GetInputFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetInputFile(); { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBDebugger::GetInputFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetInputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetInputFile(); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetOutputFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBDebugger::GetOutputFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetOutputFile(); { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBDebugger::GetOutputFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetOutputFile(); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetErrorFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBDebugger::GetErrorFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetErrorFile(); { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBDebugger::GetErrorFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetErrorFile(); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetCommandInterpreter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< lldb::SBCommandInterpreter > result; - - SWIG_check_num_args("lldb::SBDebugger::GetCommandInterpreter",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCommandInterpreter",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetCommandInterpreter(); { - lldb::SBCommandInterpreter * resultptr = new lldb::SBCommandInterpreter((const lldb::SBCommandInterpreter &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< lldb::SBCommandInterpreter > result; + + SWIG_check_num_args("lldb::SBDebugger::GetCommandInterpreter",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCommandInterpreter",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetCommandInterpreter(); + { + lldb::SBCommandInterpreter * resultptr = new lldb::SBCommandInterpreter(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_HandleCommand(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::HandleCommand",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_HandleCommand",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::HandleCommand",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_HandleCommand",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->HandleCommand((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->HandleCommand((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBListener result; - - SWIG_check_num_args("lldb::SBDebugger::GetListener",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetListener",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetListener",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetListener(); { - lldb::SBListener * resultptr = new lldb::SBListener((const lldb::SBListener &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBListener result; + + SWIG_check_num_args("lldb::SBDebugger::GetListener",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetListener",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetListener",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetListener(); + { + lldb::SBListener * resultptr = new lldb::SBListener(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_HandleProcessEvent__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBProcess *arg2 = 0 ; - lldb::SBEvent *arg3 = 0 ; - lldb::SBFile arg4 ; - lldb::SBFile arg5 ; - lldb::SBFile *argp4 ; - lldb::SBFile *argp5 ; - - SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",4,"lldb::SBFile"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",5,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",4,SWIGTYPE_p_lldb__SBFile); - } - arg4 = *argp4; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",5,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBProcess *arg2 = 0 ; + lldb::SBEvent *arg3 = 0 ; + lldb::SBFile arg4 ; + lldb::SBFile arg5 ; + lldb::SBFile *argp4 ; + lldb::SBFile *argp5 ; + + SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",4,"lldb::SBFile"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",5,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",4,SWIGTYPE_p_lldb__SBFile); + } + arg4 = *argp4; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",5,SWIGTYPE_p_lldb__SBFile); + } + arg5 = *argp5; + + (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg5 = *argp5; - - (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_HandleProcessEvent__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBProcess *arg2 = 0 ; - lldb::SBEvent *arg3 = 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg4 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg5 ; - - SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent); - } - - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 4, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg4 = file_sp; - } { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 5, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg5 = file_sp; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBProcess *arg2 = 0 ; + lldb::SBEvent *arg3 = 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg4 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg5 ; + + SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 4, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg4 = file_sp; + } + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 5, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg5 = file_sp; + } + (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -19186,7 +19225,7 @@ static int _wrap_SBDebugger_HandleProcessEvent(lua_State* L) { argc = lua_gettop(L); if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -19240,7 +19279,7 @@ static int _wrap_SBDebugger_HandleProcessEvent(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -19295,144 +19334,144 @@ static int _wrap_SBDebugger_HandleProcessEvent(lua_State* L) { static int _wrap_SBDebugger_CreateTarget__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - bool arg5 ; - lldb::SBError *arg6 = 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::CreateTarget",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",3,"char const *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",4,"char const *"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",5,"bool"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",6,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - arg5 = (lua_toboolean(L, 5)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBDebugger_CreateTarget",6,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->CreateTarget((char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,*arg6); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + bool arg5 ; + lldb::SBError *arg6 = 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::CreateTarget",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",3,"char const *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",4,"char const *"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",5,"bool"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",6,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + arg5 = (lua_toboolean(L, 5)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBDebugger_CreateTarget",6,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->CreateTarget((char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,*arg6); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_CreateTargetWithFileAndTargetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndTargetTriple",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->CreateTargetWithFileAndTargetTriple((char const *)arg2,(char const *)arg3); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndTargetTriple",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->CreateTargetWithFileAndTargetTriple((char const *)arg2,(char const *)arg3); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_CreateTargetWithFileAndArch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndArch",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->CreateTargetWithFileAndArch((char const *)arg2,(char const *)arg3); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndArch",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->CreateTargetWithFileAndArch((char const *)arg2,(char const *)arg3); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_CreateTarget__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::CreateTarget",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->CreateTarget((char const *)arg2); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::CreateTarget",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->CreateTarget((char const *)arg2); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -19444,7 +19483,7 @@ static int _wrap_SBDebugger_CreateTarget(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -19463,7 +19502,7 @@ static int _wrap_SBDebugger_CreateTarget(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -19516,1393 +19555,1393 @@ static int _wrap_SBDebugger_CreateTarget(lua_State* L) { static int _wrap_SBDebugger_GetDummyTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::GetDummyTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDummyTarget",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetDummyTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetDummyTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::GetDummyTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDummyTarget",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetDummyTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetDummyTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_DeleteTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTarget *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::DeleteTarget",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",2,"lldb::SBTarget &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_DeleteTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBDebugger_DeleteTarget",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTarget *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::DeleteTarget",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",2,"lldb::SBTarget &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_DeleteTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBDebugger_DeleteTarget",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->DeleteTarget(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DeleteTarget(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetTargetAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t arg2 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::GetTargetAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetTargetAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTargetAtIndex(arg2); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::GetTargetAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetTargetAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTargetAtIndex(arg2); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetIndexOfTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetIndexOfTarget",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetIndexOfTarget",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (uint32_t)(arg1)->GetIndexOfTarget(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (uint32_t)(arg1)->GetIndexOfTarget(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_FindTargetWithProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::pid_t arg2 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::FindTargetWithProcessID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",2,"lldb::pid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_FindTargetWithProcessID",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (lldb::pid_t)lua_tointeger(L, 2); - result = (arg1)->FindTargetWithProcessID(arg2); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::pid_t arg2 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::FindTargetWithProcessID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",2,"lldb::pid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_FindTargetWithProcessID",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lldb::pid_t)lua_tointeger(L, 2); + result = (arg1)->FindTargetWithProcessID(arg2); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_FindTargetWithFileAndArch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::FindTargetWithFileAndArch",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_FindTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->FindTargetWithFileAndArch((char const *)arg2,(char const *)arg3); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::FindTargetWithFileAndArch",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_FindTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->FindTargetWithFileAndArch((char const *)arg2,(char const *)arg3); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetNumTargets(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetNumTargets",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumTargets",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetNumTargets",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetNumTargets",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumTargets",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetNumTargets",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (uint32_t)(arg1)->GetNumTargets(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumTargets(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSelectedTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBDebugger::GetSelectedTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedTarget",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetSelectedTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBDebugger::GetSelectedTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedTarget",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetSelectedTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetSelectedTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTarget *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SetSelectedTarget",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",2,"lldb::SBTarget &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBDebugger_SetSelectedTarget",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTarget *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SetSelectedTarget",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",2,"lldb::SBTarget &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBDebugger_SetSelectedTarget",2,SWIGTYPE_p_lldb__SBTarget); + } + + (arg1)->SetSelectedTarget(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetSelectedTarget(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSelectedPlatform(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBPlatform result; - - SWIG_check_num_args("lldb::SBDebugger::GetSelectedPlatform",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedPlatform",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetSelectedPlatform(); { - lldb::SBPlatform * resultptr = new lldb::SBPlatform((const lldb::SBPlatform &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBPlatform result; + + SWIG_check_num_args("lldb::SBDebugger::GetSelectedPlatform",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedPlatform",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetSelectedPlatform(); + { + lldb::SBPlatform * resultptr = new lldb::SBPlatform(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetSelectedPlatform(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBPlatform *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SetSelectedPlatform",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",2,"lldb::SBPlatform &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",2,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBPlatform *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SetSelectedPlatform",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",2,"lldb::SBPlatform &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",2,SWIGTYPE_p_lldb__SBPlatform); + } + + (arg1)->SetSelectedPlatform(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetSelectedPlatform(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetNumPlatforms(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetNumPlatforms",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumPlatforms",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetNumPlatforms",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetNumPlatforms",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumPlatforms",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetNumPlatforms",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (uint32_t)(arg1)->GetNumPlatforms(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumPlatforms(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetPlatformAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t arg2 ; - lldb::SBPlatform result; - - SWIG_check_num_args("lldb::SBDebugger::GetPlatformAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetPlatformAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetPlatformAtIndex(arg2); { - lldb::SBPlatform * resultptr = new lldb::SBPlatform((const lldb::SBPlatform &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + lldb::SBPlatform result; + + SWIG_check_num_args("lldb::SBDebugger::GetPlatformAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetPlatformAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetPlatformAtIndex(arg2); + { + lldb::SBPlatform * resultptr = new lldb::SBPlatform(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetNumAvailablePlatforms(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetNumAvailablePlatforms",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumAvailablePlatforms",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetNumAvailablePlatforms",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetNumAvailablePlatforms",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumAvailablePlatforms",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetNumAvailablePlatforms",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (uint32_t)(arg1)->GetNumAvailablePlatforms(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumAvailablePlatforms(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetAvailablePlatformInfoAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t arg2 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetAvailablePlatformInfoAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetAvailablePlatformInfoAtIndex(arg2); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetAvailablePlatformInfoAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetAvailablePlatformInfoAtIndex(arg2); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSourceManager(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< lldb::SBSourceManager > result; - - SWIG_check_num_args("lldb::SBDebugger::GetSourceManager",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSourceManager",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSourceManager",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetSourceManager(); { - lldb::SBSourceManager * resultptr = new lldb::SBSourceManager((const lldb::SBSourceManager &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + SwigValueWrapper< lldb::SBSourceManager > result; + + SWIG_check_num_args("lldb::SBDebugger::GetSourceManager",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSourceManager",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSourceManager",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetSourceManager(); + { + lldb::SBSourceManager * resultptr = new lldb::SBSourceManager(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetCurrentPlatform(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatform",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetCurrentPlatform",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetCurrentPlatform((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatform",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetCurrentPlatform",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetCurrentPlatform((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetCurrentPlatformSDKRoot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetCurrentPlatformSDKRoot",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetCurrentPlatformSDKRoot",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->SetCurrentPlatformSDKRoot((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->SetCurrentPlatformSDKRoot((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetUseExternalEditor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::SetUseExternalEditor",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::SetUseExternalEditor",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (bool)(arg1)->SetUseExternalEditor(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (bool)(arg1)->SetUseExternalEditor(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetUseExternalEditor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetUseExternalEditor",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseExternalEditor",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetUseExternalEditor",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseExternalEditor",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (bool)(arg1)->GetUseExternalEditor(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetUseExternalEditor(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetUseColor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::SetUseColor",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetUseColor",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::SetUseColor",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetUseColor",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (bool)(arg1)->SetUseColor(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (bool)(arg1)->SetUseColor(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetUseColor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetUseColor",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseColor",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetUseColor",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetUseColor",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseColor",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetUseColor",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (bool)((lldb::SBDebugger const *)arg1)->GetUseColor(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBDebugger const *)arg1)->GetUseColor(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetDefaultArchitecture(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - size_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetDefaultArchitecture",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",1,"char *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",2,"size_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (size_t)lua_tointeger(L, 2); - result = (bool)lldb::SBDebugger::GetDefaultArchitecture(arg1,arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + size_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetDefaultArchitecture",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",1,"char *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",2,"size_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (size_t)lua_tointeger(L, 2); + result = (bool)lldb::SBDebugger::GetDefaultArchitecture(arg1,SWIG_STD_MOVE(arg2)); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetDefaultArchitecture(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::SetDefaultArchitecture",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetDefaultArchitecture",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (bool)lldb::SBDebugger::SetDefaultArchitecture((char const *)arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::SetDefaultArchitecture",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetDefaultArchitecture",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (bool)lldb::SBDebugger::SetDefaultArchitecture((char const *)arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetScriptingLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::ScriptLanguage result; - - SWIG_check_num_args("lldb::SBDebugger::GetScriptingLanguage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetScriptingLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::ScriptLanguage result; + + SWIG_check_num_args("lldb::SBDebugger::GetScriptingLanguage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetScriptingLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::ScriptLanguage)(arg1)->GetScriptingLanguage((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::ScriptLanguage)(arg1)->GetScriptingLanguage((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetVersionString(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::GetVersionString",0,0) - result = (char *)lldb::SBDebugger::GetVersionString(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::GetVersionString",0,0) + result = (char *)lldb::SBDebugger::GetVersionString(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_StateAsCString(lua_State* L) { - int SWIG_arg = 0; - lldb::StateType arg1 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::StateAsCString",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateAsCString",1,"lldb::StateType"); - arg1 = (lldb::StateType)lua_tointeger(L, 1); - result = (char *)lldb::SBDebugger::StateAsCString(arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::StateType arg1 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::StateAsCString",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateAsCString",1,"lldb::StateType"); + arg1 = (lldb::StateType)lua_tointeger(L, 1); + result = (char *)lldb::SBDebugger::StateAsCString(arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetBuildConfiguration(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetBuildConfiguration",0,0) - result = lldb::SBDebugger::GetBuildConfiguration(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetBuildConfiguration",0,0) + result = lldb::SBDebugger::GetBuildConfiguration(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_StateIsRunningState(lua_State* L) { - int SWIG_arg = 0; - lldb::StateType arg1 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::StateIsRunningState",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsRunningState",1,"lldb::StateType"); - arg1 = (lldb::StateType)lua_tointeger(L, 1); - result = (bool)lldb::SBDebugger::StateIsRunningState(arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::StateType arg1 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::StateIsRunningState",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsRunningState",1,"lldb::StateType"); + arg1 = (lldb::StateType)lua_tointeger(L, 1); + result = (bool)lldb::SBDebugger::StateIsRunningState(arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_StateIsStoppedState(lua_State* L) { - int SWIG_arg = 0; - lldb::StateType arg1 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::StateIsStoppedState",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsStoppedState",1,"lldb::StateType"); - arg1 = (lldb::StateType)lua_tointeger(L, 1); - result = (bool)lldb::SBDebugger::StateIsStoppedState(arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::StateType arg1 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::StateIsStoppedState",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsStoppedState",1,"lldb::StateType"); + arg1 = (lldb::StateType)lua_tointeger(L, 1); + result = (bool)lldb::SBDebugger::StateIsStoppedState(arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_EnableLog(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - char **arg3 = (char **) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::EnableLog",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_EnableLog",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - { - if (lua_istable(L, 3)) { - size_t size = lua_rawlen(L, 3); - arg3 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 3, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + char **arg3 = (char **) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::EnableLog",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_EnableLog",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + { + if (lua_istable(L, 3)) { + size_t size = lua_rawlen(L, 3); + arg3 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 3, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg3[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg3[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg3[j] = 0; + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg3[j] = 0; - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - result = (bool)(arg1)->EnableLog((char const *)arg2,(char const **)arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free((char *) arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg3); + result = (bool)(arg1)->EnableLog((char const *)arg2,(char const **)arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free((char *) arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetLoggingCallback(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ; - void *arg3 = (void *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SetLoggingCallback",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetLoggingCallback",1,SWIGTYPE_p_lldb__SBDebugger); - } - { - arg2 = LLDBSwigLuaCallLuaLogOutputCallback; - arg3 = (void *)L; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ; + void *arg3 = (void *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SetLoggingCallback",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetLoggingCallback",1,SWIGTYPE_p_lldb__SBDebugger); + } + + { + arg2 = LLDBSwigLuaCallLuaLogOutputCallback; + arg3 = (void *)L; + + luaL_checktype(L, 2, LUA_TFUNCTION); + lua_settop(L, 2); + + lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback); + lua_insert(L, 2); + lua_settable(L, LUA_REGISTRYINDEX); + } + (arg1)->SetLoggingCallback(arg2,arg3); - luaL_checktype(L, 2, LUA_TFUNCTION); - lua_settop(L, 2); + return SWIG_arg; - lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback); - lua_insert(L, 2); - lua_settable(L, LUA_REGISTRYINDEX); + fail: SWIGUNUSED; } - (arg1)->SetLoggingCallback(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_DispatchInput(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - - SWIG_check_num_args("lldb::SBDebugger::DispatchInput",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_DispatchInput",1,SWIGTYPE_p_lldb__SBDebugger); - } - { - arg2 = (void *)luaL_checklstring(L, 2, &arg3); + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + void *arg2 = (void *) 0 ; + size_t arg3 ; + + SWIG_check_num_args("lldb::SBDebugger::DispatchInput",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_DispatchInput",1,SWIGTYPE_p_lldb__SBDebugger); + } + + { + arg2 = (void *)luaL_checklstring(L, 2, &arg3); + } + (arg1)->DispatchInput((void const *)arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->DispatchInput((void const *)arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_DispatchInputInterrupt(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::DispatchInputInterrupt",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputInterrupt",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_DispatchInputInterrupt",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::DispatchInputInterrupt",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputInterrupt",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_DispatchInputInterrupt",1,SWIGTYPE_p_lldb__SBDebugger); + } + + (arg1)->DispatchInputInterrupt(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->DispatchInputInterrupt(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_DispatchInputEndOfFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::DispatchInputEndOfFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputEndOfFile",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_DispatchInputEndOfFile",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::DispatchInputEndOfFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputEndOfFile",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_DispatchInputEndOfFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + (arg1)->DispatchInputEndOfFile(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->DispatchInputEndOfFile(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetInstanceName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::GetInstanceName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInstanceName",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetInstanceName",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::GetInstanceName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInstanceName",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetInstanceName",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (char *)(arg1)->GetInstanceName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetInstanceName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_FindDebuggerWithID(lua_State* L) { - int SWIG_arg = 0; - int arg1 ; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBDebugger::FindDebuggerWithID",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindDebuggerWithID",1,"int"); - arg1 = (int)lua_tointeger(L, 1); - result = lldb::SBDebugger::FindDebuggerWithID(arg1); { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + int SWIG_arg = 0; + int arg1 ; + lldb::SBDebugger result; + + SWIG_check_num_args("lldb::SBDebugger::FindDebuggerWithID",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindDebuggerWithID",1,"int"); + arg1 = (int)lua_tointeger(L, 1); + result = lldb::SBDebugger::FindDebuggerWithID(arg1); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetInternalVariable(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::SetInternalVariable",3,3) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",1,"char const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",3,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = lldb::SBDebugger::SetInternalVariable((char const *)arg1,(char const *)arg2,(char const *)arg3); - { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::SetInternalVariable",3,3) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",1,"char const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",3,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = lldb::SBDebugger::SetInternalVariable((char const *)arg1,(char const *)arg2,(char const *)arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetInternalVariableValue(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStringList result; - - SWIG_check_num_args("lldb::SBDebugger::GetInternalVariableValue",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",1,"char const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",2,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (char *)lua_tostring(L, 2); - result = lldb::SBDebugger::GetInternalVariableValue((char const *)arg1,(char const *)arg2); { - lldb::SBStringList * resultptr = new lldb::SBStringList((const lldb::SBStringList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStringList result; + + SWIG_check_num_args("lldb::SBDebugger::GetInternalVariableValue",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",1,"char const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",2,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (char *)lua_tostring(L, 2); + result = lldb::SBDebugger::GetInternalVariableValue((char const *)arg1,(char const *)arg2); + { + lldb::SBStringList * resultptr = new lldb::SBStringList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetDescription",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBDebugger_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetDescription",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBDebugger_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetTerminalWidth(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetTerminalWidth",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTerminalWidth",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetTerminalWidth",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTerminalWidth",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (uint32_t)((lldb::SBDebugger const *)arg1)->GetTerminalWidth(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBDebugger const *)arg1)->GetTerminalWidth(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetTerminalWidth(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBDebugger::SetTerminalWidth",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBDebugger::SetTerminalWidth",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetTerminalWidth(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetTerminalWidth(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::user_id_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetID",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetID",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::user_id_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetID",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetID",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (lldb::user_id_t)(arg1)->GetID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::user_id_t)(arg1)->GetID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetPrompt(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::GetPrompt",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPrompt",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetPrompt",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::GetPrompt",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPrompt",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetPrompt",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (char *)((lldb::SBDebugger const *)arg1)->GetPrompt(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBDebugger const *)arg1)->GetPrompt(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetPrompt(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBDebugger::SetPrompt",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetPrompt",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBDebugger::SetPrompt",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetPrompt",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetPrompt((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetPrompt((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetReproducerPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBDebugger::GetReproducerPath",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetReproducerPath",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetReproducerPath",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBDebugger::GetReproducerPath",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetReproducerPath",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetReproducerPath",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (char *)((lldb::SBDebugger const *)arg1)->GetReproducerPath(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBDebugger const *)arg1)->GetReproducerPath(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetScriptLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::ScriptLanguage result; - - SWIG_check_num_args("lldb::SBDebugger::GetScriptLanguage",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptLanguage",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::ScriptLanguage result; + + SWIG_check_num_args("lldb::SBDebugger::GetScriptLanguage",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptLanguage",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (lldb::ScriptLanguage)((lldb::SBDebugger const *)arg1)->GetScriptLanguage(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ScriptLanguage)((lldb::SBDebugger const *)arg1)->GetScriptLanguage(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetScriptLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::ScriptLanguage arg2 ; - - SWIG_check_num_args("lldb::SBDebugger::SetScriptLanguage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",2,"lldb::ScriptLanguage"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::ScriptLanguage arg2 ; + + SWIG_check_num_args("lldb::SBDebugger::SetScriptLanguage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",2,"lldb::ScriptLanguage"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2); + (arg1)->SetScriptLanguage(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2); - (arg1)->SetScriptLanguage(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetCloseInputOnEOF(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::GetCloseInputOnEOF",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCloseInputOnEOF",1,"lldb::SBDebugger const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::GetCloseInputOnEOF",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCloseInputOnEOF",1,"lldb::SBDebugger const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (bool)((lldb::SBDebugger const *)arg1)->GetCloseInputOnEOF(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBDebugger const *)arg1)->GetCloseInputOnEOF(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_SetCloseInputOnEOF(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBDebugger::SetCloseInputOnEOF",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_SetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBDebugger::SetCloseInputOnEOF",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_SetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetCloseInputOnEOF(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetCloseInputOnEOF(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetCategory__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBTypeCategory result; - - SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetCategory((char const *)arg2); { - lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory((const lldb::SBTypeCategory &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBTypeCategory result; + + SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetCategory((char const *)arg2); + { + lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetCategory__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::LanguageType arg2 ; - lldb::SBTypeCategory result; - - SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"lldb::LanguageType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - result = (arg1)->GetCategory(arg2); { - lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory((const lldb::SBTypeCategory &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::LanguageType arg2 ; + lldb::SBTypeCategory result; + + SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"lldb::LanguageType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + result = (arg1)->GetCategory(arg2); + { + lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -20914,7 +20953,7 @@ static int _wrap_SBDebugger_GetCategory(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -20933,7 +20972,7 @@ static int _wrap_SBDebugger_GetCategory(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { @@ -20961,466 +21000,466 @@ static int _wrap_SBDebugger_GetCategory(lua_State* L) { static int _wrap_SBDebugger_CreateCategory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBTypeCategory result; - - SWIG_check_num_args("lldb::SBDebugger::CreateCategory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_CreateCategory",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->CreateCategory((char const *)arg2); { - lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory((const lldb::SBTypeCategory &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBTypeCategory result; + + SWIG_check_num_args("lldb::SBDebugger::CreateCategory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_CreateCategory",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->CreateCategory((char const *)arg2); + { + lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_DeleteCategory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDebugger::DeleteCategory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",1,"lldb::SBDebugger *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_DeleteCategory",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDebugger::DeleteCategory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",1,"lldb::SBDebugger *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_DeleteCategory",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->DeleteCategory((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->DeleteCategory((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetNumCategories(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDebugger::GetNumCategories",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumCategories",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetNumCategories",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDebugger::GetNumCategories",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumCategories",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetNumCategories",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (uint32_t)(arg1)->GetNumCategories(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumCategories(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetCategoryAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - uint32_t arg2 ; - lldb::SBTypeCategory result; - - SWIG_check_num_args("lldb::SBDebugger::GetCategoryAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetCategoryAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetCategoryAtIndex(arg2); { - lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory((const lldb::SBTypeCategory &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + lldb::SBTypeCategory result; + + SWIG_check_num_args("lldb::SBDebugger::GetCategoryAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetCategoryAtIndex",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetCategoryAtIndex(arg2); + { + lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetDefaultCategory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTypeCategory result; - - SWIG_check_num_args("lldb::SBDebugger::GetDefaultCategory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultCategory",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetDefaultCategory",1,SWIGTYPE_p_lldb__SBDebugger); - } - - result = (arg1)->GetDefaultCategory(); { - lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory((const lldb::SBTypeCategory &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTypeCategory result; + + SWIG_check_num_args("lldb::SBDebugger::GetDefaultCategory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultCategory",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetDefaultCategory",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = (arg1)->GetDefaultCategory(); + { + lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetFormatForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFormat result; - - SWIG_check_num_args("lldb::SBDebugger::GetFormatForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetFormatForType",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBDebugger_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetFormatForType(arg2); { - lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat((const lldb::SBTypeFormat &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFormat result; + + SWIG_check_num_args("lldb::SBDebugger::GetFormatForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetFormatForType",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBDebugger_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetFormatForType(arg2); + { + lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSummaryForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBDebugger::GetSummaryForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSummaryForType",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBDebugger_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetSummaryForType(arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBDebugger::GetSummaryForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSummaryForType",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBDebugger_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetSummaryForType(arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetFilterForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFilter result; - - SWIG_check_num_args("lldb::SBDebugger::GetFilterForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetFilterForType",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBDebugger_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetFilterForType(arg2); { - lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter((const lldb::SBTypeFilter &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFilter result; + + SWIG_check_num_args("lldb::SBDebugger::GetFilterForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetFilterForType",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBDebugger_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetFilterForType(arg2); + { + lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetSyntheticForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBDebugger::GetSyntheticForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBDebugger_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetSyntheticForType(arg2); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBDebugger::GetSyntheticForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBDebugger_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetSyntheticForType(arg2); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_GetScriptInterpreterInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::ScriptLanguage arg2 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBDebugger::GetScriptInterpreterInfo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",2,"lldb::ScriptLanguage"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_GetScriptInterpreterInfo",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2); - result = (arg1)->GetScriptInterpreterInfo(arg2); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::ScriptLanguage arg2 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBDebugger::GetScriptInterpreterInfo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",2,"lldb::ScriptLanguage"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_GetScriptInterpreterInfo",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2); + result = (arg1)->GetScriptInterpreterInfo(arg2); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBDebugger::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::__repr__",1,"lldb::SBDebugger *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger___tostring",1,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBDebugger::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::__repr__",1,"lldb::SBDebugger *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger___tostring",1,SWIGTYPE_p_lldb__SBDebugger); + } + + result = lldb_SBDebugger___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBDebugger___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_RunCommandInterpreter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - bool arg2 ; - bool arg3 ; - lldb::SBCommandInterpreterRunOptions *arg4 = 0 ; - int *arg5 = 0 ; - bool *arg6 = 0 ; - bool *arg7 = 0 ; - int temp5 ; - bool temp6 ; - bool temp7 ; - - SWIG_check_num_args("lldb::SBDebugger::RunCommandInterpreter",7,7) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",1,"lldb::SBDebugger *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",3,"bool"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",4,"lldb::SBCommandInterpreterRunOptions &"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",5,"int &"); - if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",6,"bool &"); - if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",7,"bool &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + { + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + bool arg3 ; + lldb::SBCommandInterpreterRunOptions *arg4 = 0 ; + int *arg5 = 0 ; + bool *arg6 = 0 ; + bool *arg7 = 0 ; + int temp5 ; + bool temp6 ; + bool temp7 ; + + SWIG_check_num_args("lldb::SBDebugger::RunCommandInterpreter",7,7) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",1,"lldb::SBDebugger *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",3,"bool"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",4,"lldb::SBCommandInterpreterRunOptions &"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",5,"int &"); + if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",6,"bool &"); + if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",7,"bool &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ + SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); + } + + temp5 = (int)lua_tointeger(L,5); + arg5 = &temp5; + temp6 = (lua_toboolean(L,6)!=0); + arg6 = &temp6; + temp7 = (lua_toboolean(L,7)!=0); + arg7 = &temp7; + (arg1)->RunCommandInterpreter(arg2,arg3,*arg4,*arg5,*arg6,*arg7); + + lua_pushinteger(L, (lua_Integer) *arg5); SWIG_arg++; + lua_pushboolean(L, (int)((*arg6)!=0)); SWIG_arg++; + lua_pushboolean(L, (int)((*arg7)!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - temp5 = (int)lua_tointeger(L,5); - arg5 = &temp5; - temp6 = (lua_toboolean(L,6)!=0); - arg6 = &temp6; - temp7 = (lua_toboolean(L,7)!=0); - arg7 = &temp7; - (arg1)->RunCommandInterpreter(arg2,arg3,*arg4,*arg5,*arg6,*arg7); - - lua_pushinteger(L, (lua_Integer) *arg5); SWIG_arg++; - lua_pushboolean(L, (int)((*arg6)!=0)); SWIG_arg++; - lua_pushboolean(L, (int)((*arg7)!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_RunREPL(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::LanguageType arg2 ; - char *arg3 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBDebugger::RunREPL",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",1,"lldb::SBDebugger *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",2,"lldb::LanguageType"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_RunREPL",1,SWIGTYPE_p_lldb__SBDebugger); - } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->RunREPL(arg2,(char const *)arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::LanguageType arg2 ; + char *arg3 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBDebugger::RunREPL",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",1,"lldb::SBDebugger *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",2,"lldb::LanguageType"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_RunREPL",1,SWIGTYPE_p_lldb__SBDebugger); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->RunREPL(arg2,(char const *)arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDebugger_LoadTraceFromFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBTrace result; - - SWIG_check_num_args("lldb::SBDebugger::LoadTraceFromFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",1,"lldb::SBDebugger *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",2,"lldb::SBError &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",3,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",1,SWIGTYPE_p_lldb__SBDebugger); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",2,SWIGTYPE_p_lldb__SBError); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->LoadTraceFromFile(*arg2,(lldb::SBFileSpec const &)*arg3); { - lldb::SBTrace * resultptr = new lldb::SBTrace((const lldb::SBTrace &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBTrace result; + + SWIG_check_num_args("lldb::SBDebugger::LoadTraceFromFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",1,"lldb::SBDebugger *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",2,"lldb::SBError &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",3,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",1,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",2,SWIGTYPE_p_lldb__SBError); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->LoadTraceFromFile(*arg2,(lldb::SBFileSpec const &)*arg3); + { + lldb::SBTrace * resultptr = new lldb::SBTrace(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -21574,43 +21613,43 @@ static const char *swig_SBDebugger_base_names[] = {0}; static swig_lua_class _wrap_class_SBDebugger = { "SBDebugger", "SBDebugger", &SWIGTYPE_p_lldb__SBDebugger,_proxy__wrap_new_SBDebugger, swig_delete_SBDebugger, swig_SBDebugger_methods, swig_SBDebugger_attributes, &swig_SBDebugger_Sf_SwigStatic, swig_SBDebugger_meta, swig_SBDebugger_bases, swig_SBDebugger_base_names }; static int _wrap_new_SBDeclaration__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *result = 0 ; - - SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",0,0) - result = (lldb::SBDeclaration *)new lldb::SBDeclaration(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBDeclaration *result = 0 ; + + SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",0,0) + result = (lldb::SBDeclaration *)new lldb::SBDeclaration(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBDeclaration__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = 0 ; - lldb::SBDeclaration *result = 0 ; - - SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SBDeclaration",1,"lldb::SBDeclaration const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("new_SBDeclaration",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = 0 ; + lldb::SBDeclaration *result = 0 ; + + SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SBDeclaration",1,"lldb::SBDeclaration const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("new_SBDeclaration",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = (lldb::SBDeclaration *)new lldb::SBDeclaration((lldb::SBDeclaration const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBDeclaration *)new lldb::SBDeclaration((lldb::SBDeclaration const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -21625,7 +21664,7 @@ static int _wrap_new_SBDeclaration(lua_State* L) { return _wrap_new_SBDeclaration__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDeclaration, SWIG_POINTER_NO_NULL)) { @@ -21648,271 +21687,271 @@ static int _wrap_new_SBDeclaration(lua_State* L) { static int _wrap_SBDeclaration_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDeclaration::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::IsValid",1,"lldb::SBDeclaration const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_IsValid",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDeclaration::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::IsValid",1,"lldb::SBDeclaration const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_IsValid",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = (bool)((lldb::SBDeclaration const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBDeclaration const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_GetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBDeclaration::GetFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetFileSpec",1,"lldb::SBDeclaration const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_GetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration); - } - - result = ((lldb::SBDeclaration const *)arg1)->GetFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBDeclaration::GetFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetFileSpec",1,"lldb::SBDeclaration const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_GetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = ((lldb::SBDeclaration const *)arg1)->GetFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_GetLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDeclaration::GetLine",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetLine",1,"lldb::SBDeclaration const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_GetLine",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDeclaration::GetLine",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetLine",1,"lldb::SBDeclaration const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_GetLine",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetLine(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetLine(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_GetColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBDeclaration::GetColumn",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetColumn",1,"lldb::SBDeclaration const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_GetColumn",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBDeclaration::GetColumn",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetColumn",1,"lldb::SBDeclaration const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_GetColumn",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetColumn(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetColumn(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDeclaration::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",1,"lldb::SBDeclaration *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_GetDescription",1,SWIGTYPE_p_lldb__SBDeclaration); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBDeclaration_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDeclaration::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",1,"lldb::SBDeclaration *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_GetDescription",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBDeclaration_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_SetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - lldb::SBFileSpec arg2 ; - lldb::SBFileSpec *argp2 ; - - SWIG_check_num_args("lldb::SBDeclaration::SetFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",1,"lldb::SBDeclaration *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",2,"lldb::SBFileSpec"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_SetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBDeclaration_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + lldb::SBFileSpec arg2 ; + lldb::SBFileSpec *argp2 ; + + SWIG_check_num_args("lldb::SBDeclaration::SetFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",1,"lldb::SBDeclaration *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",2,"lldb::SBFileSpec"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_SetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBDeclaration_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + arg2 = *argp2; + + (arg1)->SetFileSpec(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetFileSpec(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_SetLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBDeclaration::SetLine",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",1,"lldb::SBDeclaration *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_SetLine",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBDeclaration::SetLine",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",1,"lldb::SBDeclaration *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_SetLine",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetLine(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetLine(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration_SetColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBDeclaration::SetColumn",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",1,"lldb::SBDeclaration *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration_SetColumn",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBDeclaration::SetColumn",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",1,"lldb::SBDeclaration *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration_SetColumn",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetColumn(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetColumn(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - lldb::SBDeclaration *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBDeclaration::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",1,"lldb::SBDeclaration const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",2,"lldb::SBDeclaration const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration___eq",1,SWIGTYPE_p_lldb__SBDeclaration); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration___eq",2,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + lldb::SBDeclaration *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBDeclaration::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",1,"lldb::SBDeclaration const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",2,"lldb::SBDeclaration const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration___eq",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration___eq",2,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = (bool)((lldb::SBDeclaration const *)arg1)->operator ==((lldb::SBDeclaration const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBDeclaration const *)arg1)->operator ==((lldb::SBDeclaration const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBDeclaration___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBDeclaration::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::__repr__",1,"lldb::SBDeclaration *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ - SWIG_fail_ptr("SBDeclaration___tostring",1,SWIGTYPE_p_lldb__SBDeclaration); + { + int SWIG_arg = 0; + lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBDeclaration::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::__repr__",1,"lldb::SBDeclaration *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){ + SWIG_fail_ptr("SBDeclaration___tostring",1,SWIGTYPE_p_lldb__SBDeclaration); + } + + result = lldb_SBDeclaration___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBDeclaration___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -21976,43 +22015,43 @@ static const char *swig_SBDeclaration_base_names[] = {0}; static swig_lua_class _wrap_class_SBDeclaration = { "SBDeclaration", "SBDeclaration", &SWIGTYPE_p_lldb__SBDeclaration,_proxy__wrap_new_SBDeclaration, swig_delete_SBDeclaration, swig_SBDeclaration_methods, swig_SBDeclaration_attributes, &swig_SBDeclaration_Sf_SwigStatic, swig_SBDeclaration_meta, swig_SBDeclaration_bases, swig_SBDeclaration_base_names }; static int _wrap_new_SBError__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *result = 0 ; - - SWIG_check_num_args("lldb::SBError::SBError",0,0) - result = (lldb::SBError *)new lldb::SBError(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBError *result = 0 ; + + SWIG_check_num_args("lldb::SBError::SBError",0,0) + result = (lldb::SBError *)new lldb::SBError(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBError__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = 0 ; - lldb::SBError *result = 0 ; - - SWIG_check_num_args("lldb::SBError::SBError",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBError::SBError",1,"lldb::SBError const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("new_SBError",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = 0 ; + lldb::SBError *result = 0 ; + + SWIG_check_num_args("lldb::SBError::SBError",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBError::SBError",1,"lldb::SBError const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("new_SBError",1,SWIGTYPE_p_lldb__SBError); + } + + result = (lldb::SBError *)new lldb::SBError((lldb::SBError const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBError *)new lldb::SBError((lldb::SBError const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -22027,7 +22066,7 @@ static int _wrap_new_SBError(lua_State* L) { return _wrap_new_SBError__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { @@ -22050,372 +22089,372 @@ static int _wrap_new_SBError(lua_State* L) { static int _wrap_SBError_GetCString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBError::GetCString",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetCString",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_GetCString",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBError::GetCString",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetCString",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_GetCString",1,SWIGTYPE_p_lldb__SBError); + } + + result = (char *)((lldb::SBError const *)arg1)->GetCString(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBError const *)arg1)->GetCString(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - - SWIG_check_num_args("lldb::SBError::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Clear",1,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_Clear",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + + SWIG_check_num_args("lldb::SBError::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Clear",1,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_Clear",1,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_Fail(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBError::Fail",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Fail",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_Fail",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBError::Fail",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Fail",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_Fail",1,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)((lldb::SBError const *)arg1)->Fail(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBError const *)arg1)->Fail(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_Success(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBError::Success",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Success",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_Success",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBError::Success",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Success",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_Success",1,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)((lldb::SBError const *)arg1)->Success(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBError const *)arg1)->Success(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_GetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBError::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetError",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_GetError",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBError::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetError",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_GetError",1,SWIGTYPE_p_lldb__SBError); + } + + result = (uint32_t)((lldb::SBError const *)arg1)->GetError(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBError const *)arg1)->GetError(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - lldb::ErrorType result; - - SWIG_check_num_args("lldb::SBError::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetType",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_GetType",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + lldb::ErrorType result; + + SWIG_check_num_args("lldb::SBError::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetType",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_GetType",1,SWIGTYPE_p_lldb__SBError); + } + + result = (lldb::ErrorType)((lldb::SBError const *)arg1)->GetType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ErrorType)((lldb::SBError const *)arg1)->GetType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - uint32_t arg2 ; - lldb::ErrorType arg3 ; - - SWIG_check_num_args("lldb::SBError::SetError",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetError",1,"lldb::SBError *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBError::SetError",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBError::SetError",3,"lldb::ErrorType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetError",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + uint32_t arg2 ; + lldb::ErrorType arg3 ; + + SWIG_check_num_args("lldb::SBError::SetError",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetError",1,"lldb::SBError *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBError::SetError",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBError::SetError",3,"lldb::ErrorType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetError",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (lldb::ErrorType)lua_tointeger(L, 3); + (arg1)->SetError(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (lldb::ErrorType)lua_tointeger(L, 3); - (arg1)->SetError(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorToErrno(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - - SWIG_check_num_args("lldb::SBError::SetErrorToErrno",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToErrno",1,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorToErrno",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + + SWIG_check_num_args("lldb::SBError::SetErrorToErrno",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToErrno",1,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorToErrno",1,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->SetErrorToErrno(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetErrorToErrno(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorToGenericError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - - SWIG_check_num_args("lldb::SBError::SetErrorToGenericError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToGenericError",1,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorToGenericError",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + + SWIG_check_num_args("lldb::SBError::SetErrorToGenericError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToGenericError",1,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorToGenericError",1,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->SetErrorToGenericError(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetErrorToGenericError(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBError::SetErrorString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorString",1,"lldb::SBError *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorString",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBError::SetErrorString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorString",1,"lldb::SBError *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorString",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetErrorString((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetErrorString((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorStringWithFormat__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *"); - if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",5,"char *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *"); + if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",5,"char *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + arg5 = (char *)lua_tostring(L, 5); + result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4,arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - arg5 = (char *)lua_tostring(L, 5); - result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4,arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorStringWithFormat__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorStringWithFormat__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_SetErrorStringWithFormat__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + char *arg2 = (char *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -22427,7 +22466,7 @@ static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { @@ -22446,7 +22485,7 @@ static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { @@ -22470,7 +22509,7 @@ static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { @@ -22499,7 +22538,7 @@ static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { @@ -22544,81 +22583,81 @@ static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { static int _wrap_SBError_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBError::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::IsValid",1,"lldb::SBError const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_IsValid",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBError::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::IsValid",1,"lldb::SBError const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_IsValid",1,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)((lldb::SBError const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBError const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBError::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetDescription",1,"lldb::SBError *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBError::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError_GetDescription",1,SWIGTYPE_p_lldb__SBError); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBError_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBError::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetDescription",1,"lldb::SBError *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBError::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError_GetDescription",1,SWIGTYPE_p_lldb__SBError); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBError_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBError___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBError *arg1 = (lldb::SBError *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBError::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::__repr__",1,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBError___tostring",1,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBError::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::__repr__",1,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBError___tostring",1,SWIGTYPE_p_lldb__SBError); + } + + result = lldb_SBError___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBError___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -22685,43 +22724,43 @@ static const char *swig_SBError_base_names[] = {0}; static swig_lua_class _wrap_class_SBError = { "SBError", "SBError", &SWIGTYPE_p_lldb__SBError,_proxy__wrap_new_SBError, swig_delete_SBError, swig_SBError_methods, swig_SBError_attributes, &swig_SBError_Sf_SwigStatic, swig_SBError_meta, swig_SBError_bases, swig_SBError_base_names }; static int _wrap_new_SBEnvironment__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *result = 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",0,0) - result = (lldb::SBEnvironment *)new lldb::SBEnvironment(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBEnvironment *result = 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",0,0) + result = (lldb::SBEnvironment *)new lldb::SBEnvironment(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBEnvironment__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = 0 ; - lldb::SBEnvironment *result = 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SBEnvironment",1,"lldb::SBEnvironment const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("new_SBEnvironment",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = 0 ; + lldb::SBEnvironment *result = 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SBEnvironment",1,"lldb::SBEnvironment const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("new_SBEnvironment",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + result = (lldb::SBEnvironment *)new lldb::SBEnvironment((lldb::SBEnvironment const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBEnvironment *)new lldb::SBEnvironment((lldb::SBEnvironment const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -22736,7 +22775,7 @@ static int _wrap_new_SBEnvironment(lua_State* L) { return _wrap_new_SBEnvironment__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEnvironment, SWIG_POINTER_NO_NULL)) { @@ -22759,276 +22798,276 @@ static int _wrap_new_SBEnvironment(lua_State* L) { static int _wrap_SBEnvironment_GetNumValues(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBEnvironment::GetNumValues",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNumValues",1,"lldb::SBEnvironment *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_GetNumValues",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBEnvironment::GetNumValues",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNumValues",1,"lldb::SBEnvironment *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_GetNumValues",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + result = (arg1)->GetNumValues(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetNumValues(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_Get(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::Get",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Get",1,"lldb::SBEnvironment *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Get",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_Get",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + char *arg2 = (char *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::Get",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Get",1,"lldb::SBEnvironment *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Get",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_Get",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (char *)(arg1)->Get((char const *)arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (char *)(arg1)->Get((char const *)arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_GetNameAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - size_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::GetNameAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",1,"lldb::SBEnvironment *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_GetNameAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + size_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::GetNameAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",1,"lldb::SBEnvironment *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_GetNameAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetNameAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetNameAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_GetValueAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - size_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::GetValueAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",1,"lldb::SBEnvironment *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + size_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::GetValueAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",1,"lldb::SBEnvironment *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetValueAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetValueAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_GetEntries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - lldb::SBStringList result; - - SWIG_check_num_args("lldb::SBEnvironment::GetEntries",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetEntries",1,"lldb::SBEnvironment *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_GetEntries",1,SWIGTYPE_p_lldb__SBEnvironment); - } - - result = (arg1)->GetEntries(); { - lldb::SBStringList * resultptr = new lldb::SBStringList((const lldb::SBStringList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + lldb::SBStringList result; + + SWIG_check_num_args("lldb::SBEnvironment::GetEntries",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetEntries",1,"lldb::SBEnvironment *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_GetEntries",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + result = (arg1)->GetEntries(); + { + lldb::SBStringList * resultptr = new lldb::SBStringList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_PutEntry(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::PutEntry",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",1,"lldb::SBEnvironment *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_PutEntry",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::PutEntry",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",1,"lldb::SBEnvironment *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_PutEntry",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->PutEntry((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->PutEntry((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_SetEntries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - lldb::SBStringList *arg2 = 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBEnvironment::SetEntries",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",1,"lldb::SBEnvironment *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",2,"lldb::SBStringList const &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_SetEntries",1,SWIGTYPE_p_lldb__SBEnvironment); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBEnvironment_SetEntries",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + lldb::SBStringList *arg2 = 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBEnvironment::SetEntries",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",1,"lldb::SBEnvironment *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",2,"lldb::SBStringList const &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_SetEntries",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBEnvironment_SetEntries",2,SWIGTYPE_p_lldb__SBStringList); + } + + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetEntries((lldb::SBStringList const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetEntries((lldb::SBStringList const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_Set(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - bool arg4 ; - bool result; - - SWIG_check_num_args("lldb::SBEnvironment::Set",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Set",1,"lldb::SBEnvironment *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Set",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBEnvironment::Set",3,"char const *"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBEnvironment::Set",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_Set",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + bool arg4 ; + bool result; + + SWIG_check_num_args("lldb::SBEnvironment::Set",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Set",1,"lldb::SBEnvironment *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Set",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBEnvironment::Set",3,"char const *"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBEnvironment::Set",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_Set",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + result = (bool)(arg1)->Set((char const *)arg2,(char const *)arg3,arg4); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - result = (bool)(arg1)->Set((char const *)arg2,(char const *)arg3,arg4); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_Unset(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBEnvironment::Unset",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Unset",1,"lldb::SBEnvironment *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Unset",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_Unset",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBEnvironment::Unset",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Unset",1,"lldb::SBEnvironment *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Unset",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_Unset",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->Unset((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->Unset((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEnvironment_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; - - SWIG_check_num_args("lldb::SBEnvironment::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Clear",1,"lldb::SBEnvironment *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBEnvironment_Clear",1,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ; + + SWIG_check_num_args("lldb::SBEnvironment::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Clear",1,"lldb::SBEnvironment *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBEnvironment_Clear",1,SWIGTYPE_p_lldb__SBEnvironment); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23090,68 +23129,68 @@ static const char *swig_SBEnvironment_base_names[] = {0}; static swig_lua_class _wrap_class_SBEnvironment = { "SBEnvironment", "SBEnvironment", &SWIGTYPE_p_lldb__SBEnvironment,_proxy__wrap_new_SBEnvironment, swig_delete_SBEnvironment, swig_SBEnvironment_methods, swig_SBEnvironment_attributes, &swig_SBEnvironment_Sf_SwigStatic, swig_SBEnvironment_meta, swig_SBEnvironment_bases, swig_SBEnvironment_base_names }; static int _wrap_new_SBEvent__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::SBEvent",0,0) - result = (lldb::SBEvent *)new lldb::SBEvent(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBEvent *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::SBEvent",0,0) + result = (lldb::SBEvent *)new lldb::SBEvent(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBEvent__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBEvent *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::SBEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("new_SBEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBEvent *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::SBEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("new_SBEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (lldb::SBEvent *)new lldb::SBEvent((lldb::SBEvent const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBEvent *)new lldb::SBEvent((lldb::SBEvent const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBEvent__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - uint32_t arg1 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBEvent *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::SBEvent",2,2) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"uint32_t"); - arg1 = (uint32_t)lua_tointeger(L, 1); { - arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3); + int SWIG_arg = 0; + uint32_t arg1 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBEvent *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::SBEvent",2,2) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"uint32_t"); + arg1 = (uint32_t)lua_tointeger(L, 1); + { + arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3); + } + result = (lldb::SBEvent *)new lldb::SBEvent(arg1,(char const *)arg2,arg3); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - result = (lldb::SBEvent *)new lldb::SBEvent(arg1,(char const *)arg2,arg3); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23166,7 +23205,7 @@ static int _wrap_new_SBEvent(lua_State* L) { return _wrap_new_SBEvent__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { @@ -23180,7 +23219,7 @@ static int _wrap_new_SBEvent(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -23212,234 +23251,234 @@ static int _wrap_new_SBEvent(lua_State* L) { static int _wrap_SBEvent_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBEvent::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::IsValid",1,"lldb::SBEvent const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_IsValid",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBEvent::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::IsValid",1,"lldb::SBEvent const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_IsValid",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)((lldb::SBEvent const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBEvent const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetDataFlavor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::GetDataFlavor",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDataFlavor",1,"lldb::SBEvent *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetDataFlavor",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::GetDataFlavor",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDataFlavor",1,"lldb::SBEvent *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetDataFlavor",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (char *)(arg1)->GetDataFlavor(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetDataFlavor(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBEvent::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetType",1,"lldb::SBEvent const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetType",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBEvent::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetType",1,"lldb::SBEvent const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetType",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (uint32_t)((lldb::SBEvent const *)arg1)->GetType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBEvent const *)arg1)->GetType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBEvent::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcaster",1,"lldb::SBEvent const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetBroadcaster",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = ((lldb::SBEvent const *)arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBEvent::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcaster",1,"lldb::SBEvent const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetBroadcaster",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = ((lldb::SBEvent const *)arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetBroadcasterClass(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::GetBroadcasterClass",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcasterClass",1,"lldb::SBEvent const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetBroadcasterClass",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::GetBroadcasterClass",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcasterClass",1,"lldb::SBEvent const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetBroadcasterClass",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (char *)((lldb::SBEvent const *)arg1)->GetBroadcasterClass(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBEvent const *)arg1)->GetBroadcasterClass(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_BroadcasterMatchesRef(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBEvent::BroadcasterMatchesRef",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",1,"lldb::SBEvent *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",2,"lldb::SBBroadcaster const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",1,SWIGTYPE_p_lldb__SBEvent); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",2,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBEvent::BroadcasterMatchesRef",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",1,"lldb::SBEvent *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",2,"lldb::SBBroadcaster const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",1,SWIGTYPE_p_lldb__SBEvent); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + result = (bool)(arg1)->BroadcasterMatchesRef((lldb::SBBroadcaster const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->BroadcasterMatchesRef((lldb::SBBroadcaster const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - - SWIG_check_num_args("lldb::SBEvent::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::Clear",1,"lldb::SBEvent *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_Clear",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + + SWIG_check_num_args("lldb::SBEvent::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::Clear",1,"lldb::SBEvent *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_Clear",1,SWIGTYPE_p_lldb__SBEvent); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetCStringFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBEvent::GetCStringFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::GetCStringFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetCStringFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBEvent::GetCStringFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::GetCStringFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetCStringFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (char *)lldb::SBEvent::GetCStringFromEvent((lldb::SBEvent const &)*arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)lldb::SBEvent::GetCStringFromEvent((lldb::SBEvent const &)*arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBEvent_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBEvent::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDescription",1,"lldb::SBEvent const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBEvent_GetDescription",1,SWIGTYPE_p_lldb__SBEvent); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBEvent_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBEvent::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDescription",1,"lldb::SBEvent const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBEvent_GetDescription",1,SWIGTYPE_p_lldb__SBEvent); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBEvent_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBEvent const *)arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBEvent const *)arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23500,141 +23539,141 @@ static const char *swig_SBEvent_base_names[] = {0}; static swig_lua_class _wrap_class_SBEvent = { "SBEvent", "SBEvent", &SWIGTYPE_p_lldb__SBEvent,_proxy__wrap_new_SBEvent, swig_delete_SBEvent, swig_SBEvent_methods, swig_SBEvent_attributes, &swig_SBEvent_Sf_SwigStatic, swig_SBEvent_meta, swig_SBEvent_bases, swig_SBEvent_base_names }; static int _wrap_new_SBExecutionContext__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",0,0) - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",0,0) + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExecutionContext__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *arg1 = 0 ; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBExecutionContext const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBExecutionContext); + { + int SWIG_arg = 0; + lldb::SBExecutionContext *arg1 = 0 ; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBExecutionContext const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBExecutionContext); + } + + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBExecutionContext const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBExecutionContext const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExecutionContext__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = 0 ; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBTarget const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = 0 ; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBTarget const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBTarget const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBTarget const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExecutionContext__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = 0 ; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBProcess const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = 0 ; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBProcess const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBProcess const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBProcess const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExecutionContext__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread arg1 ; - lldb::SBThread *argp1 ; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBThread"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread arg1 ; + lldb::SBThread *argp1 ; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBThread"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBThread); + } + arg1 = *argp1; + + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg1 = *argp1; - - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExecutionContext__SWIG_5(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = 0 ; - lldb::SBExecutionContext *result = 0 ; - - SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBFrame const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = 0 ; + lldb::SBExecutionContext *result = 0 ; + + SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBFrame const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBFrame const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBFrame const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23649,7 +23688,7 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { return _wrap_new_SBExecutionContext__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) { @@ -23663,7 +23702,7 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { @@ -23677,7 +23716,7 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { @@ -23691,7 +23730,7 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) { @@ -23705,7 +23744,7 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { @@ -23732,110 +23771,110 @@ static int _wrap_new_SBExecutionContext(lua_State* L) { static int _wrap_SBExecutionContext_GetTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBExecutionContext::GetTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetTarget",1,"lldb::SBExecutionContext const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBExecutionContext_GetTarget",1,SWIGTYPE_p_lldb__SBExecutionContext); - } - - result = ((lldb::SBExecutionContext const *)arg1)->GetTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBExecutionContext::GetTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetTarget",1,"lldb::SBExecutionContext const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBExecutionContext_GetTarget",1,SWIGTYPE_p_lldb__SBExecutionContext); + } + + result = ((lldb::SBExecutionContext const *)arg1)->GetTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExecutionContext_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBExecutionContext::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetProcess",1,"lldb::SBExecutionContext const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBExecutionContext_GetProcess",1,SWIGTYPE_p_lldb__SBExecutionContext); - } - - result = ((lldb::SBExecutionContext const *)arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBExecutionContext::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetProcess",1,"lldb::SBExecutionContext const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBExecutionContext_GetProcess",1,SWIGTYPE_p_lldb__SBExecutionContext); + } + + result = ((lldb::SBExecutionContext const *)arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExecutionContext_GetThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBExecutionContext::GetThread",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetThread",1,"lldb::SBExecutionContext const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBExecutionContext_GetThread",1,SWIGTYPE_p_lldb__SBExecutionContext); - } - - result = ((lldb::SBExecutionContext const *)arg1)->GetThread(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBExecutionContext::GetThread",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetThread",1,"lldb::SBExecutionContext const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBExecutionContext_GetThread",1,SWIGTYPE_p_lldb__SBExecutionContext); + } + + result = ((lldb::SBExecutionContext const *)arg1)->GetThread(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExecutionContext_GetFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBExecutionContext::GetFrame",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetFrame",1,"lldb::SBExecutionContext const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ - SWIG_fail_ptr("SBExecutionContext_GetFrame",1,SWIGTYPE_p_lldb__SBExecutionContext); - } - - result = ((lldb::SBExecutionContext const *)arg1)->GetFrame(); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBExecutionContext::GetFrame",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetFrame",1,"lldb::SBExecutionContext const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){ + SWIG_fail_ptr("SBExecutionContext_GetFrame",1,SWIGTYPE_p_lldb__SBExecutionContext); + } + + result = ((lldb::SBExecutionContext const *)arg1)->GetFrame(); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23891,43 +23930,43 @@ static const char *swig_SBExecutionContext_base_names[] = {0}; static swig_lua_class _wrap_class_SBExecutionContext = { "SBExecutionContext", "SBExecutionContext", &SWIGTYPE_p_lldb__SBExecutionContext,_proxy__wrap_new_SBExecutionContext, swig_delete_SBExecutionContext, swig_SBExecutionContext_methods, swig_SBExecutionContext_attributes, &swig_SBExecutionContext_Sf_SwigStatic, swig_SBExecutionContext_meta, swig_SBExecutionContext_bases, swig_SBExecutionContext_base_names }; static int _wrap_new_SBExpressionOptions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",0,0) - result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",0,0) + result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBExpressionOptions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = 0 ; - lldb::SBExpressionOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SBExpressionOptions",1,"lldb::SBExpressionOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("new_SBExpressionOptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = 0 ; + lldb::SBExpressionOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SBExpressionOptions",1,"lldb::SBExpressionOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("new_SBExpressionOptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions((lldb::SBExpressionOptions const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions((lldb::SBExpressionOptions const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -23942,7 +23981,7 @@ static int _wrap_new_SBExpressionOptions(lua_State* L) { return _wrap_new_SBExpressionOptions__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) { @@ -23965,75 +24004,75 @@ static int _wrap_new_SBExpressionOptions(lua_State* L) { static int _wrap_SBExpressionOptions_GetCoerceResultToId(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetCoerceResultToId",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetCoerceResultToId",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetCoerceResultToId",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetCoerceResultToId",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetCoerceResultToId(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetCoerceResultToId(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetCoerceResultToId(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetCoerceResultToId(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetCoerceResultToId(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetCoerceResultToId(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24045,7 +24084,7 @@ static int _wrap_SBExpressionOptions_SetCoerceResultToId(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24059,7 +24098,7 @@ static int _wrap_SBExpressionOptions_SetCoerceResultToId(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24087,75 +24126,75 @@ static int _wrap_SBExpressionOptions_SetCoerceResultToId(lua_State* L) { static int _wrap_SBExpressionOptions_GetUnwindOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetUnwindOnError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetUnwindOnError",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetUnwindOnError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetUnwindOnError",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetUnwindOnError(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetUnwindOnError(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetUnwindOnError(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetUnwindOnError(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetUnwindOnError(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetUnwindOnError(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24167,7 +24206,7 @@ static int _wrap_SBExpressionOptions_SetUnwindOnError(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24181,7 +24220,7 @@ static int _wrap_SBExpressionOptions_SetUnwindOnError(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24209,75 +24248,75 @@ static int _wrap_SBExpressionOptions_SetUnwindOnError(lua_State* L) { static int _wrap_SBExpressionOptions_GetIgnoreBreakpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetIgnoreBreakpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetIgnoreBreakpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIgnoreBreakpoints(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIgnoreBreakpoints(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetIgnoreBreakpoints(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetIgnoreBreakpoints(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24289,7 +24328,7 @@ static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24303,7 +24342,7 @@ static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24331,75 +24370,75 @@ static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State* L) { static int _wrap_SBExpressionOptions_GetFetchDynamicValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - lldb::DynamicValueType result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetFetchDynamicValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetFetchDynamicValue",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + lldb::DynamicValueType result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetFetchDynamicValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetFetchDynamicValue",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (lldb::DynamicValueType)((lldb::SBExpressionOptions const *)arg1)->GetFetchDynamicValue(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::DynamicValueType)((lldb::SBExpressionOptions const *)arg1)->GetFetchDynamicValue(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - lldb::DynamicValueType arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",2,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + lldb::DynamicValueType arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",2,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); + (arg1)->SetFetchDynamicValue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); - (arg1)->SetFetchDynamicValue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetFetchDynamicValue(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetFetchDynamicValue(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24411,7 +24450,7 @@ static int _wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24425,7 +24464,7 @@ static int _wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24453,75 +24492,75 @@ static int _wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State* L) { static int _wrap_SBExpressionOptions_GetTimeoutInMicroSeconds(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetTimeoutInMicroSeconds(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetTimeoutInMicroSeconds(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetTimeoutInMicroSeconds(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetTimeoutInMicroSeconds(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetTimeoutInMicroSeconds(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetTimeoutInMicroSeconds(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24533,7 +24572,7 @@ static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24547,7 +24586,7 @@ static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24575,75 +24614,75 @@ static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State* L) { static int _wrap_SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetOneThreadTimeoutInMicroSeconds(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetOneThreadTimeoutInMicroSeconds(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetOneThreadTimeoutInMicroSeconds(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetOneThreadTimeoutInMicroSeconds(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetOneThreadTimeoutInMicroSeconds(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetOneThreadTimeoutInMicroSeconds(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24655,7 +24694,7 @@ static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24669,7 +24708,7 @@ static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24697,75 +24736,75 @@ static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State static int _wrap_SBExpressionOptions_GetTryAllThreads(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetTryAllThreads",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTryAllThreads",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetTryAllThreads",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTryAllThreads",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTryAllThreads(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTryAllThreads(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetTryAllThreads(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetTryAllThreads(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetTryAllThreads(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetTryAllThreads(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24777,7 +24816,7 @@ static int _wrap_SBExpressionOptions_SetTryAllThreads(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24791,7 +24830,7 @@ static int _wrap_SBExpressionOptions_SetTryAllThreads(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24819,75 +24858,75 @@ static int _wrap_SBExpressionOptions_SetTryAllThreads(lua_State* L) { static int _wrap_SBExpressionOptions_GetStopOthers(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetStopOthers",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetStopOthers",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetStopOthers",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetStopOthers",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetStopOthers(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetStopOthers(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetStopOthers__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetStopOthers(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOthers(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetStopOthers__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetStopOthers(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetStopOthers(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -24899,7 +24938,7 @@ static int _wrap_SBExpressionOptions_SetStopOthers(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24913,7 +24952,7 @@ static int _wrap_SBExpressionOptions_SetStopOthers(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -24941,75 +24980,75 @@ static int _wrap_SBExpressionOptions_SetStopOthers(lua_State* L) { static int _wrap_SBExpressionOptions_GetTrapExceptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetTrapExceptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTrapExceptions",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetTrapExceptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTrapExceptions",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTrapExceptions(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTrapExceptions(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetTrapExceptions(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetTrapExceptions(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetTrapExceptions(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetTrapExceptions(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25021,7 +25060,7 @@ static int _wrap_SBExpressionOptions_SetTrapExceptions(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25035,7 +25074,7 @@ static int _wrap_SBExpressionOptions_SetTrapExceptions(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25063,101 +25102,101 @@ static int _wrap_SBExpressionOptions_SetTrapExceptions(lua_State* L) { static int _wrap_SBExpressionOptions_SetLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - lldb::LanguageType arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetLanguage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",1,"lldb::SBExpressionOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",2,"lldb::LanguageType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + lldb::LanguageType arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetLanguage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",1,"lldb::SBExpressionOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",2,"lldb::LanguageType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + (arg1)->SetLanguage(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - (arg1)->SetLanguage(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_GetGenerateDebugInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)(arg1)->GetGenerateDebugInfo(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetGenerateDebugInfo(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetGenerateDebugInfo(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetGenerateDebugInfo(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetGenerateDebugInfo(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetGenerateDebugInfo(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25169,7 +25208,7 @@ static int _wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25183,7 +25222,7 @@ static int _wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25211,75 +25250,75 @@ static int _wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State* L) { static int _wrap_SBExpressionOptions_GetSuppressPersistentResult(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)(arg1)->GetSuppressPersistentResult(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetSuppressPersistentResult(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetSuppressPersistentResult(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetSuppressPersistentResult(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetSuppressPersistentResult(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetSuppressPersistentResult(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25291,7 +25330,7 @@ static int _wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25305,7 +25344,7 @@ static int _wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25333,101 +25372,101 @@ static int _wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State* L) { static int _wrap_SBExpressionOptions_GetPrefix(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetPrefix",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetPrefix",1,"lldb::SBExpressionOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetPrefix",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetPrefix",1,"lldb::SBExpressionOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (char *)((lldb::SBExpressionOptions const *)arg1)->GetPrefix(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBExpressionOptions const *)arg1)->GetPrefix(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetPrefix(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetPrefix",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",1,"lldb::SBExpressionOptions *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetPrefix",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",1,"lldb::SBExpressionOptions *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetPrefix((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetPrefix((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAutoApplyFixIts(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAutoApplyFixIts(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetAutoApplyFixIts(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetAutoApplyFixIts(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25439,7 +25478,7 @@ static int _wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25453,7 +25492,7 @@ static int _wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25481,149 +25520,149 @@ static int _wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State* L) { static int _wrap_SBExpressionOptions_GetAutoApplyFixIts(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)(arg1)->GetAutoApplyFixIts(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAutoApplyFixIts(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetRetriesWithFixIts(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint64_t arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",1,"lldb::SBExpressionOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint64_t arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",1,"lldb::SBExpressionOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (uint64_t)lua_tointeger(L, 2); + (arg1)->SetRetriesWithFixIts(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint64_t)lua_tointeger(L, 2); - (arg1)->SetRetriesWithFixIts(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_GetRetriesWithFixIts(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (uint64_t)(arg1)->GetRetriesWithFixIts(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetRetriesWithFixIts(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_GetTopLevel(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetTopLevel",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTopLevel",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetTopLevel",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTopLevel",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)(arg1)->GetTopLevel(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetTopLevel(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTopLevel__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetTopLevel(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetTopLevel(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetTopLevel__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + (arg1)->SetTopLevel(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetTopLevel(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25635,7 +25674,7 @@ static int _wrap_SBExpressionOptions_SetTopLevel(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25649,7 +25688,7 @@ static int _wrap_SBExpressionOptions_SetTopLevel(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { @@ -25677,52 +25716,52 @@ static int _wrap_SBExpressionOptions_SetTopLevel(lua_State* L) { static int _wrap_SBExpressionOptions_GetAllowJIT(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBExpressionOptions::GetAllowJIT",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAllowJIT",1,"lldb::SBExpressionOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_GetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBExpressionOptions::GetAllowJIT",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAllowJIT",1,"lldb::SBExpressionOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_GetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (bool)(arg1)->GetAllowJIT(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetAllowJIT(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBExpressionOptions_SetAllowJIT(lua_State* L) { - int SWIG_arg = 0; - lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBExpressionOptions::SetAllowJIT",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",1,"lldb::SBExpressionOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBExpressionOptions_SetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions); + { + int SWIG_arg = 0; + lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBExpressionOptions::SetAllowJIT",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",1,"lldb::SBExpressionOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBExpressionOptions_SetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetAllowJIT(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetAllowJIT(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -25807,71 +25846,71 @@ static const char *swig_SBExpressionOptions_base_names[] = {0}; static swig_lua_class _wrap_class_SBExpressionOptions = { "SBExpressionOptions", "SBExpressionOptions", &SWIGTYPE_p_lldb__SBExpressionOptions,_proxy__wrap_new_SBExpressionOptions, swig_delete_SBExpressionOptions, swig_SBExpressionOptions_methods, swig_SBExpressionOptions_attributes, &swig_SBExpressionOptions_Sf_SwigStatic, swig_SBExpressionOptions_meta, swig_SBExpressionOptions_bases, swig_SBExpressionOptions_base_names }; static int _wrap_new_SBFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *result = 0 ; - - SWIG_check_num_args("lldb::SBFile::SBFile",0,0) - result = (lldb::SBFile *)new lldb::SBFile(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBFile *result = 0 ; + + SWIG_check_num_args("lldb::SBFile::SBFile",0,0) + result = (lldb::SBFile *)new lldb::SBFile(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - int arg1 ; - char *arg2 = (char *) 0 ; - bool arg3 ; - lldb::SBFile *result = 0 ; - - SWIG_check_num_args("lldb::SBFile::SBFile",3,3) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBFile::SBFile",1,"int"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFile::SBFile",2,"char const *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFile::SBFile",3,"bool"); - arg1 = (int)lua_tointeger(L, 1); - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (lldb::SBFile *)new lldb::SBFile(arg1,(char const *)arg2,arg3); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + int arg1 ; + char *arg2 = (char *) 0 ; + bool arg3 ; + lldb::SBFile *result = 0 ; + + SWIG_check_num_args("lldb::SBFile::SBFile",3,3) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBFile::SBFile",1,"int"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFile::SBFile",2,"char const *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFile::SBFile",3,"bool"); + arg1 = (int)lua_tointeger(L, 1); + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (lldb::SBFile *)new lldb::SBFile(arg1,(char const *)arg2,arg3); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFile__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; - lldb::SBFile *result = 0 ; - - SWIG_check_num_args("lldb::SBFile::SBFile",1,1) - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg1 = file_sp; - } - result = (lldb::SBFile *)new lldb::SBFile(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; + lldb::SBFile *result = 0 ; + + SWIG_check_num_args("lldb::SBFile::SBFile",1,1) + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg1 = file_sp; + } + result = (lldb::SBFile *)new lldb::SBFile(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -25886,7 +25925,7 @@ static int _wrap_new_SBFile(lua_State* L) { return _wrap_new_SBFile__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { _v = (lua_isuserdata(L, argv[0])) && (luaL_testudata(L, argv[0], LUA_FILEHANDLE) != nullptr); @@ -25896,7 +25935,7 @@ static int _wrap_new_SBFile(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -25925,284 +25964,284 @@ static int _wrap_new_SBFile(lua_State* L) { static int _wrap_SBFile_MakeBorrowed(lua_State* L) { - int SWIG_arg = 0; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowed",1,1) { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg1 = file_sp; - } - result = lldb_SBFile_MakeBorrowed(arg1); - { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowed",1,1) + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg1 = file_sp; + } + result = lldb_SBFile_MakeBorrowed(SWIG_STD_MOVE(arg1)); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_MakeForcingIOMethods(lua_State* L) { - int SWIG_arg = 0; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeForcingIOMethods",1,1) { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg1 = file_sp; - } - result = lldb_SBFile_MakeForcingIOMethods(arg1); - { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeForcingIOMethods",1,1) + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg1 = file_sp; + } + result = lldb_SBFile_MakeForcingIOMethods(SWIG_STD_MOVE(arg1)); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_MakeBorrowedForcingIOMethods(lua_State* L) { - int SWIG_arg = 0; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; - lldb::SBFile result; - - SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowedForcingIOMethods",1,1) - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg1 = file_sp; - } - result = lldb_SBFile_MakeBorrowedForcingIOMethods(arg1); { - lldb::SBFile * resultptr = new lldb::SBFile((const lldb::SBFile &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + int SWIG_arg = 0; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; + lldb::SBFile result; + + SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowedForcingIOMethods",1,1) + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg1 = file_sp; + } + result = lldb_SBFile_MakeBorrowedForcingIOMethods(SWIG_STD_MOVE(arg1)); + { + lldb::SBFile * resultptr = new lldb::SBFile(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_Read(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - uint8_t *arg2 = (uint8_t *) 0 ; - size_t arg3 ; - size_t *arg4 = (size_t *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBFile::Read",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Read",1,"lldb::SBFile *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Read",2,"uint8_t *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Read",3,"size_t"); - if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Read",4,"size_t *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_Read",1,SWIGTYPE_p_lldb__SBFile); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ - SWIG_fail_ptr("SBFile_Read",2,SWIGTYPE_p_unsigned_char); - } - - arg3 = (size_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){ - SWIG_fail_ptr("SBFile_Read",4,SWIGTYPE_p_size_t); - } - - result = (arg1)->Read(arg2,arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + uint8_t *arg2 = (uint8_t *) 0 ; + size_t arg3 ; + size_t *arg4 = (size_t *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBFile::Read",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Read",1,"lldb::SBFile *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Read",2,"uint8_t *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Read",3,"size_t"); + if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Read",4,"size_t *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_Read",1,SWIGTYPE_p_lldb__SBFile); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ + SWIG_fail_ptr("SBFile_Read",2,SWIGTYPE_p_unsigned_char); + } + + arg3 = (size_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){ + SWIG_fail_ptr("SBFile_Read",4,SWIGTYPE_p_size_t); + } + + result = (arg1)->Read(arg2,arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_Write(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - uint8_t *arg2 = (uint8_t *) 0 ; - size_t arg3 ; - size_t *arg4 = (size_t *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBFile::Write",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Write",1,"lldb::SBFile *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Write",2,"uint8_t const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Write",3,"size_t"); - if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Write",4,"size_t *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_Write",1,SWIGTYPE_p_lldb__SBFile); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ - SWIG_fail_ptr("SBFile_Write",2,SWIGTYPE_p_unsigned_char); - } - - arg3 = (size_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){ - SWIG_fail_ptr("SBFile_Write",4,SWIGTYPE_p_size_t); - } - - result = (arg1)->Write((uint8_t const *)arg2,arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + uint8_t *arg2 = (uint8_t *) 0 ; + size_t arg3 ; + size_t *arg4 = (size_t *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBFile::Write",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Write",1,"lldb::SBFile *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Write",2,"uint8_t const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Write",3,"size_t"); + if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Write",4,"size_t *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_Write",1,SWIGTYPE_p_lldb__SBFile); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ + SWIG_fail_ptr("SBFile_Write",2,SWIGTYPE_p_unsigned_char); + } + + arg3 = (size_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){ + SWIG_fail_ptr("SBFile_Write",4,SWIGTYPE_p_size_t); + } + + result = (arg1)->Write((uint8_t const *)arg2,arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_Flush(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - - SWIG_check_num_args("lldb::SBFile::Flush",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Flush",1,"lldb::SBFile *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_Flush",1,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + + SWIG_check_num_args("lldb::SBFile::Flush",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Flush",1,"lldb::SBFile *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_Flush",1,SWIGTYPE_p_lldb__SBFile); + } + + (arg1)->Flush(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Flush(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFile::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::IsValid",1,"lldb::SBFile const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_IsValid",1,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFile::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::IsValid",1,"lldb::SBFile const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_IsValid",1,SWIGTYPE_p_lldb__SBFile); + } + + result = (bool)((lldb::SBFile const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFile const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_Close(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBFile::Close",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Close",1,"lldb::SBFile *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_Close",1,SWIGTYPE_p_lldb__SBFile); - } - - result = (arg1)->Close(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBFile::Close",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Close",1,"lldb::SBFile *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_Close",1,SWIGTYPE_p_lldb__SBFile); + } + + result = (arg1)->Close(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFile_GetFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; - - SWIG_check_num_args("lldb::SBFile::GetFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::GetFile",1,"lldb::SBFile *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBFile_GetFile",1,SWIGTYPE_p_lldb__SBFile); - } - - result = (arg1)->GetFile(); - { - lldb::FileSP sp = result; - if (sp && sp->IsValid()) { - luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); - p->closef = &LLDBSwigLuaCloseFileHandle; - p->f = sp->GetStream(); - luaL_setmetatable(L, LUA_FILEHANDLE); - SWIG_arg++; + { + int SWIG_arg = 0; + lldb::SBFile *arg1 = (lldb::SBFile *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > result; + + SWIG_check_num_args("lldb::SBFile::GetFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::GetFile",1,"lldb::SBFile *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBFile_GetFile",1,SWIGTYPE_p_lldb__SBFile); } + + result = (arg1)->GetFile(); + { + lldb::FileSP sp = result; + if (sp && sp->IsValid()) { + luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); + p->closef = &LLDBSwigLuaCloseFileHandle; + p->f = sp->GetStream(); + luaL_setmetatable(L, LUA_FILEHANDLE); + SWIG_arg++; + } + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -26263,86 +26302,86 @@ static const char *swig_SBFile_base_names[] = {0}; static swig_lua_class _wrap_class_SBFile = { "SBFile", "SBFile", &SWIGTYPE_p_lldb__SBFile,_proxy__wrap_new_SBFile, swig_delete_SBFile, swig_SBFile_methods, swig_SBFile_attributes, &swig_SBFile_Sf_SwigStatic, swig_SBFile_meta, swig_SBFile_bases, swig_SBFile_base_names }; static int _wrap_new_SBFileSpec__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",0,0) - result = (lldb::SBFileSpec *)new lldb::SBFileSpec(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBFileSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",0,0) + result = (lldb::SBFileSpec *)new lldb::SBFileSpec(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFileSpec__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = 0 ; - lldb::SBFileSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("new_SBFileSpec",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = 0 ; + lldb::SBFileSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("new_SBFileSpec",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (lldb::SBFileSpec *)new lldb::SBFileSpec((lldb::SBFileSpec const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBFileSpec *)new lldb::SBFileSpec((lldb::SBFileSpec const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFileSpec__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBFileSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBFileSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFileSpec__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - bool arg2 ; - lldb::SBFileSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",2,"bool"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lua_toboolean(L, 2)!=0); - result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + bool arg2 ; + lldb::SBFileSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",2,"bool"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lua_toboolean(L, 2)!=0); + result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -26357,7 +26396,7 @@ static int _wrap_new_SBFileSpec(lua_State* L) { return _wrap_new_SBFileSpec__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) { @@ -26371,7 +26410,7 @@ static int _wrap_new_SBFileSpec(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -26380,7 +26419,7 @@ static int _wrap_new_SBFileSpec(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -26405,342 +26444,342 @@ static int _wrap_new_SBFileSpec(lua_State* L) { static int _wrap_SBFileSpec___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpec::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",1,"lldb::SBFileSpec const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec___eq",1,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec___eq",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpec::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",1,"lldb::SBFileSpec const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec___eq",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec___eq",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)((lldb::SBFileSpec const *)arg1)->operator ==((lldb::SBFileSpec const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFileSpec const *)arg1)->operator ==((lldb::SBFileSpec const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpec::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::IsValid",1,"lldb::SBFileSpec const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_IsValid",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpec::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::IsValid",1,"lldb::SBFileSpec const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_IsValid",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)((lldb::SBFileSpec const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFileSpec const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_Exists(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpec::Exists",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::Exists",1,"lldb::SBFileSpec const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_Exists",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpec::Exists",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::Exists",1,"lldb::SBFileSpec const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_Exists",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)((lldb::SBFileSpec const *)arg1)->Exists(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFileSpec const *)arg1)->Exists(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_ResolveExecutableLocation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpec::ResolveExecutableLocation",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolveExecutableLocation",1,"lldb::SBFileSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_ResolveExecutableLocation",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpec::ResolveExecutableLocation",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolveExecutableLocation",1,"lldb::SBFileSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_ResolveExecutableLocation",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)(arg1)->ResolveExecutableLocation(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->ResolveExecutableLocation(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_GetFilename(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::GetFilename",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetFilename",1,"lldb::SBFileSpec const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_GetFilename",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::GetFilename",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetFilename",1,"lldb::SBFileSpec const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_GetFilename",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (char *)((lldb::SBFileSpec const *)arg1)->GetFilename(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFileSpec const *)arg1)->GetFilename(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_GetDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::GetDirectory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDirectory",1,"lldb::SBFileSpec const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_GetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::GetDirectory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDirectory",1,"lldb::SBFileSpec const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_GetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (char *)((lldb::SBFileSpec const *)arg1)->GetDirectory(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFileSpec const *)arg1)->GetDirectory(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_SetFilename(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SetFilename",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",1,"lldb::SBFileSpec *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_SetFilename",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SetFilename",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",1,"lldb::SBFileSpec *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_SetFilename",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetFilename((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetFilename((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_SetDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::SetDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",1,"lldb::SBFileSpec *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_SetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::SetDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",1,"lldb::SBFileSpec *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_SetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetDirectory((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetDirectory((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_GetPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBFileSpec::GetPath",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",1,"lldb::SBFileSpec const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",2,"char *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",3,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_GetPath",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBFileSpec::GetPath",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",1,"lldb::SBFileSpec const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",2,"char *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",3,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_GetPath",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (size_t)lua_tointeger(L, 3); + result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (size_t)lua_tointeger(L, 3); - result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_ResolvePath(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - int result; - - SWIG_check_num_args("lldb::SBFileSpec::ResolvePath",3,3) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",1,"char const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",2,"char *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",3,"size_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (char *)lua_tostring(L, 2); - arg3 = (size_t)lua_tointeger(L, 3); - result = (int)lldb::SBFileSpec::ResolvePath((char const *)arg1,arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + int result; + + SWIG_check_num_args("lldb::SBFileSpec::ResolvePath",3,3) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",1,"char const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",2,"char *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",3,"size_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (char *)lua_tostring(L, 2); + arg3 = (size_t)lua_tointeger(L, 3); + result = (int)lldb::SBFileSpec::ResolvePath((char const *)arg1,arg2,SWIG_STD_MOVE(arg3)); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpec::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",1,"lldb::SBFileSpec const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBFileSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpec::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",1,"lldb::SBFileSpec const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBFileSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBFileSpec const *)arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFileSpec const *)arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec_AppendPathComponent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBFileSpec::AppendPathComponent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",1,"lldb::SBFileSpec *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec_AppendPathComponent",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBFileSpec::AppendPathComponent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",1,"lldb::SBFileSpec *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec_AppendPathComponent",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->AppendPathComponent((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->AppendPathComponent((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpec___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBFileSpec::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::__repr__",1,"lldb::SBFileSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpec___tostring",1,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBFileSpec::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::__repr__",1,"lldb::SBFileSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpec___tostring",1,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = lldb_SBFileSpec___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBFileSpec___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -26807,43 +26846,43 @@ static const char *swig_SBFileSpec_base_names[] = {0}; static swig_lua_class _wrap_class_SBFileSpec = { "SBFileSpec", "SBFileSpec", &SWIGTYPE_p_lldb__SBFileSpec,_proxy__wrap_new_SBFileSpec, swig_delete_SBFileSpec, swig_SBFileSpec_methods, swig_SBFileSpec_attributes, &swig_SBFileSpec_Sf_SwigStatic, swig_SBFileSpec_meta, swig_SBFileSpec_bases, swig_SBFileSpec_base_names }; static int _wrap_new_SBFileSpecList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",0,0) - result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBFileSpecList *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",0,0) + result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFileSpecList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = 0 ; - lldb::SBFileSpecList *result = 0 ; - - SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::SBFileSpecList",1,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("new_SBFileSpecList",1,SWIGTYPE_p_lldb__SBFileSpecList); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = 0 ; + lldb::SBFileSpecList *result = 0 ; + + SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::SBFileSpecList",1,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("new_SBFileSpecList",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList((lldb::SBFileSpecList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList((lldb::SBFileSpecList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -26858,7 +26897,7 @@ static int _wrap_new_SBFileSpecList(lua_State* L) { return _wrap_new_SBFileSpecList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) { @@ -26881,208 +26920,208 @@ static int _wrap_new_SBFileSpecList(lua_State* L) { static int _wrap_SBFileSpecList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBFileSpecList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetSize",1,"lldb::SBFileSpecList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_GetSize",1,SWIGTYPE_p_lldb__SBFileSpecList); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBFileSpecList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetSize",1,"lldb::SBFileSpecList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_GetSize",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (uint32_t)((lldb::SBFileSpecList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBFileSpecList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpecList::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",1,"lldb::SBFileSpecList const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBFileSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpecList::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",1,"lldb::SBFileSpecList const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBFileSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBFileSpecList const *)arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFileSpecList const *)arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_Append(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBFileSpecList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Append",1,"lldb::SBFileSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::Append",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_Append",1,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpecList_Append",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBFileSpecList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Append",1,"lldb::SBFileSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::Append",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_Append",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpecList_Append",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + (arg1)->Append((lldb::SBFileSpec const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBFileSpec const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_AppendIfUnique(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFileSpecList::AppendIfUnique",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",1,"lldb::SBFileSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFileSpecList::AppendIfUnique",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",1,"lldb::SBFileSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)(arg1)->AppendIfUnique((lldb::SBFileSpec const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->AppendIfUnique((lldb::SBFileSpec const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - - SWIG_check_num_args("lldb::SBFileSpecList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Clear",1,"lldb::SBFileSpecList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_Clear",1,SWIGTYPE_p_lldb__SBFileSpecList); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + + SWIG_check_num_args("lldb::SBFileSpecList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Clear",1,"lldb::SBFileSpecList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_Clear",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_FindFileIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - uint32_t arg2 ; - lldb::SBFileSpec *arg3 = 0 ; - bool arg4 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBFileSpecList::FindFileIndex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",1,"lldb::SBFileSpecList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",3,"lldb::SBFileSpec const &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_FindFileIndex",1,SWIGTYPE_p_lldb__SBFileSpecList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBFileSpecList_FindFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + uint32_t arg2 ; + lldb::SBFileSpec *arg3 = 0 ; + bool arg4 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBFileSpecList::FindFileIndex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",1,"lldb::SBFileSpecList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",3,"lldb::SBFileSpec const &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_FindFileIndex",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBFileSpecList_FindFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (uint32_t)(arg1)->FindFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (uint32_t)(arg1)->FindFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFileSpecList_GetFileSpecAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; - uint32_t arg2 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBFileSpecList::GetFileSpecAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",1,"lldb::SBFileSpecList const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBFileSpecList_GetFileSpecAtIndex",1,SWIGTYPE_p_lldb__SBFileSpecList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBFileSpecList const *)arg1)->GetFileSpecAtIndex(arg2); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + uint32_t arg2 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBFileSpecList::GetFileSpecAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",1,"lldb::SBFileSpecList const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList_GetFileSpecAtIndex",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBFileSpecList const *)arg1)->GetFileSpecAtIndex(arg2); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -27141,43 +27180,43 @@ static const char *swig_SBFileSpecList_base_names[] = {0}; static swig_lua_class _wrap_class_SBFileSpecList = { "SBFileSpecList", "SBFileSpecList", &SWIGTYPE_p_lldb__SBFileSpecList,_proxy__wrap_new_SBFileSpecList, swig_delete_SBFileSpecList, swig_SBFileSpecList_methods, swig_SBFileSpecList_attributes, &swig_SBFileSpecList_Sf_SwigStatic, swig_SBFileSpecList_meta, swig_SBFileSpecList_bases, swig_SBFileSpecList_base_names }; static int _wrap_new_SBFrame__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::SBFrame",0,0) - result = (lldb::SBFrame *)new lldb::SBFrame(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBFrame *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::SBFrame",0,0) + result = (lldb::SBFrame *)new lldb::SBFrame(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFrame__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = 0 ; - lldb::SBFrame *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::SBFrame",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFrame::SBFrame",1,"lldb::SBFrame const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("new_SBFrame",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = 0 ; + lldb::SBFrame *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::SBFrame",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFrame::SBFrame",1,"lldb::SBFrame const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("new_SBFrame",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::SBFrame *)new lldb::SBFrame((lldb::SBFrame const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBFrame *)new lldb::SBFrame((lldb::SBFrame const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -27192,7 +27231,7 @@ static int _wrap_new_SBFrame(lua_State* L) { return _wrap_new_SBFrame__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { @@ -27215,468 +27254,468 @@ static int _wrap_new_SBFrame(lua_State* L) { static int _wrap_SBFrame_IsEqual(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBFrame *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsEqual",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsEqual",1,"lldb::SBFrame const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::IsEqual",2,"lldb::SBFrame const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsEqual",1,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsEqual",2,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBFrame *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsEqual",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsEqual",1,"lldb::SBFrame const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::IsEqual",2,"lldb::SBFrame const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsEqual",1,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsEqual",2,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)((lldb::SBFrame const *)arg1)->IsEqual((lldb::SBFrame const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFrame const *)arg1)->IsEqual((lldb::SBFrame const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsValid",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsValid",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsValid",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsValid",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)((lldb::SBFrame const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFrame const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetFrameID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBFrame::GetFrameID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameID",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFrameID",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBFrame::GetFrameID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameID",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFrameID",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (uint32_t)((lldb::SBFrame const *)arg1)->GetFrameID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBFrame const *)arg1)->GetFrameID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetCFA(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBFrame::GetCFA",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCFA",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetCFA",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBFrame::GetCFA",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCFA",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetCFA",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetCFA(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetCFA(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetPC(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBFrame::GetPC",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPC",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetPC",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBFrame::GetPC",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPC",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetPC",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetPC(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetPC(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_SetPC(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::addr_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::SetPC",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::SetPC",1,"lldb::SBFrame *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::SetPC",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_SetPC",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::addr_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::SetPC",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::SetPC",1,"lldb::SBFrame *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::SetPC",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_SetPC",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (bool)(arg1)->SetPC(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (bool)(arg1)->SetPC(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetSP(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBFrame::GetSP",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSP",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetSP",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBFrame::GetSP",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSP",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetSP",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetSP(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetSP(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetFP(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBFrame::GetFP",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFP",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFP",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBFrame::GetFP",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFP",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFP",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetFP(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetFP(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetPCAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBFrame::GetPCAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPCAddress",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetPCAddress",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetPCAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBFrame::GetPCAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPCAddress",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetPCAddress",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetPCAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetSymbolContext(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - uint32_t arg2 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBFrame::GetSymbolContext",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",1,"lldb::SBFrame const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetSymbolContext",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBFrame const *)arg1)->GetSymbolContext(arg2); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + uint32_t arg2 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBFrame::GetSymbolContext",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",1,"lldb::SBFrame const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetSymbolContext",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBFrame const *)arg1)->GetSymbolContext(arg2); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBFrame::GetModule",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetModule",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetModule",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetModule(); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBFrame::GetModule",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetModule",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetModule",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetModule(); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetCompileUnit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBCompileUnit result; - - SWIG_check_num_args("lldb::SBFrame::GetCompileUnit",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCompileUnit",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetCompileUnit",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetCompileUnit(); { - lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit((const lldb::SBCompileUnit &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBCompileUnit result; + + SWIG_check_num_args("lldb::SBFrame::GetCompileUnit",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCompileUnit",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetCompileUnit",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetCompileUnit(); + { + lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetFunction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBFunction result; - - SWIG_check_num_args("lldb::SBFrame::GetFunction",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunction",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFunction",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetFunction(); { - lldb::SBFunction * resultptr = new lldb::SBFunction((const lldb::SBFunction &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBFunction result; + + SWIG_check_num_args("lldb::SBFrame::GetFunction",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunction",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFunction",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetFunction(); + { + lldb::SBFunction * resultptr = new lldb::SBFunction(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetSymbol(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBFrame::GetSymbol",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbol",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetSymbol",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetSymbol(); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBFrame::GetSymbol",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbol",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetSymbol",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetSymbol(); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBFrame::GetBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetBlock",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetBlock",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBFrame::GetBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetBlock",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetBlock",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetFunctionName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (char *)(arg1)->GetFunctionName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetFunctionName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetDisplayFunctionName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::GetDisplayFunctionName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDisplayFunctionName",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetDisplayFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::GetDisplayFunctionName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDisplayFunctionName",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetDisplayFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (char *)(arg1)->GetDisplayFunctionName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetDisplayFunctionName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetFunctionName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (char *)((lldb::SBFrame const *)arg1)->GetFunctionName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFrame const *)arg1)->GetFunctionName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -27688,7 +27727,7 @@ static int _wrap_SBFrame_GetFunctionName(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27702,7 +27741,7 @@ static int _wrap_SBFrame_GetFunctionName(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27725,74 +27764,74 @@ static int _wrap_SBFrame_GetFunctionName(lua_State* L) { static int _wrap_SBFrame_GuessLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBFrame::GuessLanguage",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GuessLanguage",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GuessLanguage",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBFrame::GuessLanguage",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GuessLanguage",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GuessLanguage",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (lldb::LanguageType)((lldb::SBFrame const *)arg1)->GuessLanguage(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::LanguageType)((lldb::SBFrame const *)arg1)->GuessLanguage(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_IsInlined__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)(arg1)->IsInlined(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsInlined(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_IsInlined__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)((lldb::SBFrame const *)arg1)->IsInlined(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFrame const *)arg1)->IsInlined(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -27804,7 +27843,7 @@ static int _wrap_SBFrame_IsInlined(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27818,7 +27857,7 @@ static int _wrap_SBFrame_IsInlined(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27841,50 +27880,50 @@ static int _wrap_SBFrame_IsInlined(lua_State* L) { static int _wrap_SBFrame_IsArtificial__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)(arg1)->IsArtificial(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsArtificial(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_IsArtificial__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)((lldb::SBFrame const *)arg1)->IsArtificial(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFrame const *)arg1)->IsArtificial(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -27896,7 +27935,7 @@ static int _wrap_SBFrame_IsArtificial(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27910,7 +27949,7 @@ static int _wrap_SBFrame_IsArtificial(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -27933,138 +27972,138 @@ static int _wrap_SBFrame_IsArtificial(lua_State* L) { static int _wrap_SBFrame_EvaluateExpression__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->EvaluateExpression((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->EvaluateExpression((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_EvaluateExpression__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::DynamicValueType arg3 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - result = (arg1)->EvaluateExpression((char const *)arg2,arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::DynamicValueType arg3 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + result = (arg1)->EvaluateExpression((char const *)arg2,arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_EvaluateExpression__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::DynamicValueType arg3 ; - bool arg4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->EvaluateExpression((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::DynamicValueType arg3 ; + bool arg4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->EvaluateExpression((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_EvaluateExpression__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExpressionOptions *arg3 = 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::SBExpressionOptions &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBFrame_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); - } - - result = (arg1)->EvaluateExpression((char const *)arg2,*arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExpressionOptions *arg3 = 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::SBExpressionOptions &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBFrame_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (arg1)->EvaluateExpression((char const *)arg2,*arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -28076,7 +28115,7 @@ static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28095,7 +28134,7 @@ static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28124,7 +28163,7 @@ static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28148,7 +28187,7 @@ static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28188,276 +28227,276 @@ static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { static int _wrap_SBFrame_GetFrameBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBFrame::GetFrameBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameBlock",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetFrameBlock",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetFrameBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBFrame::GetFrameBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameBlock",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetFrameBlock",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetFrameBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetLineEntry(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBLineEntry result; - - SWIG_check_num_args("lldb::SBFrame::GetLineEntry",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetLineEntry",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetLineEntry",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetLineEntry(); { - lldb::SBLineEntry * resultptr = new lldb::SBLineEntry((const lldb::SBLineEntry &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBLineEntry result; + + SWIG_check_num_args("lldb::SBFrame::GetLineEntry",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetLineEntry",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetLineEntry",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetLineEntry(); + { + lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBFrame::GetThread",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetThread",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetThread",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = ((lldb::SBFrame const *)arg1)->GetThread(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBFrame::GetThread",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetThread",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetThread",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = ((lldb::SBFrame const *)arg1)->GetThread(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_Disassemble(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFrame::Disassemble",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Disassemble",1,"lldb::SBFrame const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_Disassemble",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFrame::Disassemble",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Disassemble",1,"lldb::SBFrame const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_Disassemble",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (char *)((lldb::SBFrame const *)arg1)->Disassemble(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFrame const *)arg1)->Disassemble(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - - SWIG_check_num_args("lldb::SBFrame::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Clear",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_Clear",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + + SWIG_check_num_args("lldb::SBFrame::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Clear",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_Clear",1,SWIGTYPE_p_lldb__SBFrame); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBFrame *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::operator ==",1,"lldb::SBFrame const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::operator ==",2,"lldb::SBFrame const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame___eq",1,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame___eq",2,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBFrame *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::operator ==",1,"lldb::SBFrame const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::operator ==",2,"lldb::SBFrame const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame___eq",1,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame___eq",2,SWIGTYPE_p_lldb__SBFrame); + } + + result = (bool)((lldb::SBFrame const *)arg1)->operator ==((lldb::SBFrame const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFrame const *)arg1)->operator ==((lldb::SBFrame const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetVariables__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool arg2 ; - bool arg3 ; - bool arg4 ; - bool arg5 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBFrame::GetVariables",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - result = (arg1)->GetVariables(arg2,arg3,arg4,arg5); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool arg2 ; + bool arg3 ; + bool arg4 ; + bool arg5 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBFrame::GetVariables",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + result = (arg1)->GetVariables(arg2,arg3,arg4,arg5); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetVariables__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - bool arg2 ; - bool arg3 ; - bool arg4 ; - bool arg5 ; - lldb::DynamicValueType arg6 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBFrame::GetVariables",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool"); - if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBFrame::GetVariables",6,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6); - result = (arg1)->GetVariables(arg2,arg3,arg4,arg5,arg6); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + bool arg2 ; + bool arg3 ; + bool arg4 ; + bool arg5 ; + lldb::DynamicValueType arg6 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBFrame::GetVariables",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool"); + if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBFrame::GetVariables",6,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6); + result = (arg1)->GetVariables(arg2,arg3,arg4,arg5,arg6); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetVariables__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBVariablesOptions *arg2 = 0 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBFrame::GetVariables",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"lldb::SBVariablesOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBFrame_GetVariables",2,SWIGTYPE_p_lldb__SBVariablesOptions); - } - - result = (arg1)->GetVariables((lldb::SBVariablesOptions const &)*arg2); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBVariablesOptions *arg2 = 0 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBFrame::GetVariables",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"lldb::SBVariablesOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBFrame_GetVariables",2,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (arg1)->GetVariables((lldb::SBVariablesOptions const &)*arg2); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -28469,7 +28508,7 @@ static int _wrap_SBFrame_GetVariables(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28493,7 +28532,7 @@ static int _wrap_SBFrame_GetVariables(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28527,7 +28566,7 @@ static int _wrap_SBFrame_GetVariables(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28576,92 +28615,92 @@ static int _wrap_SBFrame_GetVariables(lua_State* L) { static int _wrap_SBFrame_GetRegisters(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBFrame::GetRegisters",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetRegisters",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetRegisters",1,SWIGTYPE_p_lldb__SBFrame); - } - - result = (arg1)->GetRegisters(); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBFrame::GetRegisters",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetRegisters",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetRegisters",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = (arg1)->GetRegisters(); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_FindVariable__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::FindVariable",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindVariable((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::FindVariable",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindVariable((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_FindVariable__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::DynamicValueType arg3 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::FindVariable",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindVariable",3,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - result = (arg1)->FindVariable((char const *)arg2,arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::DynamicValueType arg3 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::FindVariable",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindVariable",3,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + result = (arg1)->FindVariable((char const *)arg2,arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -28673,7 +28712,7 @@ static int _wrap_SBFrame_FindVariable(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28692,7 +28731,7 @@ static int _wrap_SBFrame_FindVariable(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28725,95 +28764,95 @@ static int _wrap_SBFrame_FindVariable(lua_State* L) { static int _wrap_SBFrame_FindRegister(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::FindRegister",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindRegister",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindRegister",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_FindRegister",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindRegister((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::FindRegister",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindRegister",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindRegister",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_FindRegister",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindRegister((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetValueForVariablePath__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetValueForVariablePath((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetValueForVariablePath((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_GetValueForVariablePath__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::DynamicValueType arg3 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",3,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - result = (arg1)->GetValueForVariablePath((char const *)arg2,arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::DynamicValueType arg3 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",3,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + result = (arg1)->GetValueForVariablePath((char const *)arg2,arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -28825,7 +28864,7 @@ static int _wrap_SBFrame_GetValueForVariablePath(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28844,7 +28883,7 @@ static int _wrap_SBFrame_GetValueForVariablePath(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28877,71 +28916,71 @@ static int _wrap_SBFrame_GetValueForVariablePath(lua_State* L) { static int _wrap_SBFrame_FindValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::ValueType arg3 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::FindValue",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::ValueType)lua_tointeger(L, 3); - result = (arg1)->FindValue((char const *)arg2,arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::ValueType arg3 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::FindValue",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::ValueType)lua_tointeger(L, 3); + result = (arg1)->FindValue((char const *)arg2,arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame_FindValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - char *arg2 = (char *) 0 ; - lldb::ValueType arg3 ; - lldb::DynamicValueType arg4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBFrame::FindValue",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBFrame::FindValue",4,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::ValueType)lua_tointeger(L, 3); - arg4 = (lldb::DynamicValueType)lua_tointeger(L, 4); - result = (arg1)->FindValue((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + char *arg2 = (char *) 0 ; + lldb::ValueType arg3 ; + lldb::DynamicValueType arg4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBFrame::FindValue",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBFrame::FindValue",4,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::ValueType)lua_tointeger(L, 3); + arg4 = (lldb::DynamicValueType)lua_tointeger(L, 4); + result = (arg1)->FindValue((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -28953,7 +28992,7 @@ static int _wrap_SBFrame_FindValue(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -28977,7 +29016,7 @@ static int _wrap_SBFrame_FindValue(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { @@ -29015,57 +29054,57 @@ static int _wrap_SBFrame_FindValue(lua_State* L) { static int _wrap_SBFrame_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFrame::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDescription",1,"lldb::SBFrame *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame_GetDescription",1,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBFrame_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFrame::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDescription",1,"lldb::SBFrame *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetDescription",1,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBFrame_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFrame___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBFrame::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::__repr__",1,"lldb::SBFrame *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBFrame___tostring",1,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBFrame::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::__repr__",1,"lldb::SBFrame *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame___tostring",1,SWIGTYPE_p_lldb__SBFrame); + } + + result = lldb_SBFrame___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBFrame___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -29154,43 +29193,43 @@ static const char *swig_SBFrame_base_names[] = {0}; static swig_lua_class _wrap_class_SBFrame = { "SBFrame", "SBFrame", &SWIGTYPE_p_lldb__SBFrame,_proxy__wrap_new_SBFrame, swig_delete_SBFrame, swig_SBFrame_methods, swig_SBFrame_attributes, &swig_SBFrame_Sf_SwigStatic, swig_SBFrame_meta, swig_SBFrame_bases, swig_SBFrame_base_names }; static int _wrap_new_SBFunction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::SBFunction",0,0) - result = (lldb::SBFunction *)new lldb::SBFunction(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBFunction *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::SBFunction",0,0) + result = (lldb::SBFunction *)new lldb::SBFunction(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBFunction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = 0 ; - lldb::SBFunction *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::SBFunction",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFunction::SBFunction",1,"lldb::SBFunction const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("new_SBFunction",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = 0 ; + lldb::SBFunction *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::SBFunction",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFunction::SBFunction",1,"lldb::SBFunction const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("new_SBFunction",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (lldb::SBFunction *)new lldb::SBFunction((lldb::SBFunction const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBFunction *)new lldb::SBFunction((lldb::SBFunction const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -29205,7 +29244,7 @@ static int _wrap_new_SBFunction(lua_State* L) { return _wrap_new_SBFunction__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, SWIG_POINTER_NO_NULL)) { @@ -29228,173 +29267,173 @@ static int _wrap_new_SBFunction(lua_State* L) { static int _wrap_SBFunction_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFunction::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::IsValid",1,"lldb::SBFunction const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_IsValid",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFunction::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::IsValid",1,"lldb::SBFunction const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_IsValid",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (bool)((lldb::SBFunction const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFunction const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetName",1,"lldb::SBFunction const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetName",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetName",1,"lldb::SBFunction const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetName",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (char *)((lldb::SBFunction const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFunction const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetDisplayName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::GetDisplayName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDisplayName",1,"lldb::SBFunction const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetDisplayName",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::GetDisplayName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDisplayName",1,"lldb::SBFunction const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetDisplayName",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (char *)((lldb::SBFunction const *)arg1)->GetDisplayName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFunction const *)arg1)->GetDisplayName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetMangledName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::GetMangledName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetMangledName",1,"lldb::SBFunction const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::GetMangledName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetMangledName",1,"lldb::SBFunction const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (char *)((lldb::SBFunction const *)arg1)->GetMangledName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBFunction const *)arg1)->GetMangledName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetInstructions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBFunction::GetInstructions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); - } - arg2 = *argp2; - - result = (arg1)->GetInstructions(arg2); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBFunction::GetInstructions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (arg1)->GetInstructions(arg2); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetInstructions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBTarget arg2 ; - char *arg3 = (char *) 0 ; - lldb::SBTarget *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBFunction::GetInstructions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); - } - arg2 = *argp2; - - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->GetInstructions(arg2,(char const *)arg3); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBTarget arg2 ; + char *arg3 = (char *) 0 ; + lldb::SBTarget *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBFunction::GetInstructions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->GetInstructions(arg2,(char const *)arg3); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -29406,7 +29445,7 @@ static int _wrap_SBFunction_GetInstructions(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) { @@ -29430,7 +29469,7 @@ static int _wrap_SBFunction_GetInstructions(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) { @@ -29468,295 +29507,295 @@ static int _wrap_SBFunction_GetInstructions(lua_State* L) { static int _wrap_SBFunction_GetStartAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBFunction::GetStartAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetStartAddress",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetStartAddress",1,SWIGTYPE_p_lldb__SBFunction); - } - - result = (arg1)->GetStartAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBFunction::GetStartAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetStartAddress",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetStartAddress",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (arg1)->GetStartAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetEndAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBFunction::GetEndAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetEndAddress",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetEndAddress",1,SWIGTYPE_p_lldb__SBFunction); - } - - result = (arg1)->GetEndAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBFunction::GetEndAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetEndAddress",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetEndAddress",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (arg1)->GetEndAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetArgumentName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - uint32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBFunction::GetArgumentName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",1,"lldb::SBFunction *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetArgumentName",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + uint32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBFunction::GetArgumentName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",1,"lldb::SBFunction *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetArgumentName",1,SWIGTYPE_p_lldb__SBFunction); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetArgumentName(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetArgumentName(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetPrologueByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBFunction::GetPrologueByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetPrologueByteSize",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBFunction::GetPrologueByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetPrologueByteSize",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (uint32_t)(arg1)->GetPrologueByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetPrologueByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBFunction::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetType",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetType",1,SWIGTYPE_p_lldb__SBFunction); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBFunction::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetType",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetType",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBFunction::GetBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetBlock",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetBlock",1,SWIGTYPE_p_lldb__SBFunction); - } - - result = (arg1)->GetBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBFunction::GetBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetBlock",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetBlock",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (arg1)->GetBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBFunction::GetLanguage",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetLanguage",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetLanguage",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBFunction::GetLanguage",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetLanguage",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetLanguage",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (lldb::LanguageType)(arg1)->GetLanguage(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::LanguageType)(arg1)->GetLanguage(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetIsOptimized(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFunction::GetIsOptimized",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetIsOptimized",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetIsOptimized",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFunction::GetIsOptimized",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetIsOptimized",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetIsOptimized",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = (bool)(arg1)->GetIsOptimized(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetIsOptimized(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFunction::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDescription",1,"lldb::SBFunction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction_GetDescription",1,SWIGTYPE_p_lldb__SBFunction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFunction::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDescription",1,"lldb::SBFunction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction_GetDescription",1,SWIGTYPE_p_lldb__SBFunction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - lldb::SBFunction *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBFunction::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::operator ==",1,"lldb::SBFunction const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::operator ==",2,"lldb::SBFunction const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction___eq",1,SWIGTYPE_p_lldb__SBFunction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction___eq",2,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + lldb::SBFunction *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBFunction::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::operator ==",1,"lldb::SBFunction const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::operator ==",2,"lldb::SBFunction const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction___eq",1,SWIGTYPE_p_lldb__SBFunction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction___eq",2,SWIGTYPE_p_lldb__SBFunction); + } + + result = (bool)((lldb::SBFunction const *)arg1)->operator ==((lldb::SBFunction const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBFunction const *)arg1)->operator ==((lldb::SBFunction const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBFunction___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBFunction::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::__repr__",1,"lldb::SBFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBFunction___tostring",1,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBFunction::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::__repr__",1,"lldb::SBFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBFunction___tostring",1,SWIGTYPE_p_lldb__SBFunction); + } + + result = lldb_SBFunction___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBFunction___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -29826,267 +29865,267 @@ static const char *swig_SBFunction_base_names[] = {0}; static swig_lua_class _wrap_class_SBFunction = { "SBFunction", "SBFunction", &SWIGTYPE_p_lldb__SBFunction,_proxy__wrap_new_SBFunction, swig_delete_SBFunction, swig_SBFunction_methods, swig_SBFunction_attributes, &swig_SBFunction_Sf_SwigStatic, swig_SBFunction_meta, swig_SBFunction_bases, swig_SBFunction_base_names }; static int _wrap_SBHostOS_GetProgramFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBHostOS::GetProgramFileSpec",0,0) - result = lldb::SBHostOS::GetProgramFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBHostOS::GetProgramFileSpec",0,0) + result = lldb::SBHostOS::GetProgramFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_GetLLDBPythonPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBHostOS::GetLLDBPythonPath",0,0) - result = lldb::SBHostOS::GetLLDBPythonPath(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBHostOS::GetLLDBPythonPath",0,0) + result = lldb::SBHostOS::GetLLDBPythonPath(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_GetLLDBPath(lua_State* L) { - int SWIG_arg = 0; - lldb::PathType arg1 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBHostOS::GetLLDBPath",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBHostOS::GetLLDBPath",1,"lldb::PathType"); - arg1 = (lldb::PathType)lua_tointeger(L, 1); - result = lldb::SBHostOS::GetLLDBPath(arg1); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::PathType arg1 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBHostOS::GetLLDBPath",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBHostOS::GetLLDBPath",1,"lldb::PathType"); + arg1 = (lldb::PathType)lua_tointeger(L, 1); + result = lldb::SBHostOS::GetLLDBPath(arg1); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_GetUserHomeDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBHostOS::GetUserHomeDirectory",0,0) - result = lldb::SBHostOS::GetUserHomeDirectory(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBHostOS::GetUserHomeDirectory",0,0) + result = lldb::SBHostOS::GetUserHomeDirectory(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_ThreadCreated(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBHostOS::ThreadCreated",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreated",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - lldb::SBHostOS::ThreadCreated((char const *)arg1); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBHostOS::ThreadCreated",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreated",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + lldb::SBHostOS::ThreadCreated((char const *)arg1); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_ThreadCreate(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::thread_func_t arg2 = (lldb::thread_func_t) 0 ; - void *arg3 = (void *) 0 ; - lldb::SBError *arg4 = (lldb::SBError *) 0 ; - lldb::thread_t result; - - SWIG_check_num_args("lldb::SBHostOS::ThreadCreate",4,4) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",1,"char const *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",2,"lldb::thread_func_t"); - if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",3,"void *"); - if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",4,"lldb::SBError *"); - arg1 = (char *)lua_tostring(L, 1); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void__p_void,0))){ - SWIG_fail_ptr("SBHostOS_ThreadCreate",2,SWIGTYPE_p_f_p_void__p_void); - } - - arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBHostOS_ThreadCreate"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBHostOS_ThreadCreate",4,SWIGTYPE_p_lldb__SBError); - } - - result = lldb::SBHostOS::ThreadCreate((char const *)arg1,arg2,arg3,arg4); { - lldb::thread_t * resultptr = new lldb::thread_t((const lldb::thread_t &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_pthread_t,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::thread_func_t arg2 = (lldb::thread_func_t) 0 ; + void *arg3 = (void *) 0 ; + lldb::SBError *arg4 = (lldb::SBError *) 0 ; + lldb::thread_t result; + + SWIG_check_num_args("lldb::SBHostOS::ThreadCreate",4,4) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",1,"char const *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",2,"lldb::thread_func_t"); + if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",3,"void *"); + if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",4,"lldb::SBError *"); + arg1 = (char *)lua_tostring(L, 1); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void__p_void,0))){ + SWIG_fail_ptr("SBHostOS_ThreadCreate",2,SWIGTYPE_p_f_p_void__p_void); + } + + arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBHostOS_ThreadCreate"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBHostOS_ThreadCreate",4,SWIGTYPE_p_lldb__SBError); + } + + result = lldb::SBHostOS::ThreadCreate((char const *)arg1,arg2,arg3,arg4); + { + lldb::thread_t * resultptr = new lldb::thread_t(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_pthread_t,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_ThreadCancel(lua_State* L) { - int SWIG_arg = 0; - lldb::thread_t arg1 ; - lldb::SBError *arg2 = (lldb::SBError *) 0 ; - lldb::thread_t *argp1 ; - bool result; - - SWIG_check_num_args("lldb::SBHostOS::ThreadCancel",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",1,"lldb::thread_t"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",2,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ - SWIG_fail_ptr("SBHostOS_ThreadCancel",1,SWIGTYPE_p_pthread_t); - } - arg1 = *argp1; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBHostOS_ThreadCancel",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::thread_t arg1 ; + lldb::SBError *arg2 = (lldb::SBError *) 0 ; + lldb::thread_t *argp1 ; + bool result; + + SWIG_check_num_args("lldb::SBHostOS::ThreadCancel",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",1,"lldb::thread_t"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",2,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ + SWIG_fail_ptr("SBHostOS_ThreadCancel",1,SWIGTYPE_p_pthread_t); + } + arg1 = *argp1; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBHostOS_ThreadCancel",2,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)lldb::SBHostOS::ThreadCancel(SWIG_STD_MOVE(arg1),arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBHostOS::ThreadCancel(arg1,arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_ThreadDetach(lua_State* L) { - int SWIG_arg = 0; - lldb::thread_t arg1 ; - lldb::SBError *arg2 = (lldb::SBError *) 0 ; - lldb::thread_t *argp1 ; - bool result; - - SWIG_check_num_args("lldb::SBHostOS::ThreadDetach",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",1,"lldb::thread_t"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",2,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ - SWIG_fail_ptr("SBHostOS_ThreadDetach",1,SWIGTYPE_p_pthread_t); - } - arg1 = *argp1; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBHostOS_ThreadDetach",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::thread_t arg1 ; + lldb::SBError *arg2 = (lldb::SBError *) 0 ; + lldb::thread_t *argp1 ; + bool result; + + SWIG_check_num_args("lldb::SBHostOS::ThreadDetach",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",1,"lldb::thread_t"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",2,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ + SWIG_fail_ptr("SBHostOS_ThreadDetach",1,SWIGTYPE_p_pthread_t); + } + arg1 = *argp1; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBHostOS_ThreadDetach",2,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)lldb::SBHostOS::ThreadDetach(SWIG_STD_MOVE(arg1),arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBHostOS::ThreadDetach(arg1,arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBHostOS_ThreadJoin(lua_State* L) { - int SWIG_arg = 0; - lldb::thread_t arg1 ; - lldb::thread_result_t *arg2 = (lldb::thread_result_t *) 0 ; - lldb::SBError *arg3 = (lldb::SBError *) 0 ; - lldb::thread_t *argp1 ; - bool result; - - SWIG_check_num_args("lldb::SBHostOS::ThreadJoin",3,3) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",1,"lldb::thread_t"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",2,"lldb::thread_result_t *"); - if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",3,"lldb::SBError *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ - SWIG_fail_ptr("SBHostOS_ThreadJoin",1,SWIGTYPE_p_pthread_t); - } - arg1 = *argp1; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_p_void,0))){ - SWIG_fail_ptr("SBHostOS_ThreadJoin",2,SWIGTYPE_p_p_void); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBHostOS_ThreadJoin",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::thread_t arg1 ; + lldb::thread_result_t *arg2 = (lldb::thread_result_t *) 0 ; + lldb::SBError *arg3 = (lldb::SBError *) 0 ; + lldb::thread_t *argp1 ; + bool result; + + SWIG_check_num_args("lldb::SBHostOS::ThreadJoin",3,3) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",1,"lldb::thread_t"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",2,"lldb::thread_result_t *"); + if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",3,"lldb::SBError *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){ + SWIG_fail_ptr("SBHostOS_ThreadJoin",1,SWIGTYPE_p_pthread_t); + } + arg1 = *argp1; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_p_void,0))){ + SWIG_fail_ptr("SBHostOS_ThreadJoin",2,SWIGTYPE_p_p_void); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBHostOS_ThreadJoin",3,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)lldb::SBHostOS::ThreadJoin(SWIG_STD_MOVE(arg1),arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBHostOS::ThreadJoin(arg1,arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBHostOS(lua_State* L) { - int SWIG_arg = 0; - lldb::SBHostOS *result = 0 ; - - SWIG_check_num_args("lldb::SBHostOS::SBHostOS",0,0) - result = (lldb::SBHostOS *)new lldb::SBHostOS(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBHostOS,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBHostOS *result = 0 ; + + SWIG_check_num_args("lldb::SBHostOS::SBHostOS",0,0) + result = (lldb::SBHostOS *)new lldb::SBHostOS(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBHostOS,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -30147,43 +30186,43 @@ static const char *swig_SBHostOS_base_names[] = {0}; static swig_lua_class _wrap_class_SBHostOS = { "SBHostOS", "SBHostOS", &SWIGTYPE_p_lldb__SBHostOS,_proxy__wrap_new_SBHostOS, swig_delete_SBHostOS, swig_SBHostOS_methods, swig_SBHostOS_attributes, &swig_SBHostOS_Sf_SwigStatic, swig_SBHostOS_meta, swig_SBHostOS_bases, swig_SBHostOS_base_names }; static int _wrap_new_SBInstruction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *result = 0 ; - - SWIG_check_num_args("lldb::SBInstruction::SBInstruction",0,0) - result = (lldb::SBInstruction *)new lldb::SBInstruction(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBInstruction *result = 0 ; + + SWIG_check_num_args("lldb::SBInstruction::SBInstruction",0,0) + result = (lldb::SBInstruction *)new lldb::SBInstruction(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBInstruction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = 0 ; - lldb::SBInstruction *result = 0 ; - - SWIG_check_num_args("lldb::SBInstruction::SBInstruction",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstruction::SBInstruction",1,"lldb::SBInstruction const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("new_SBInstruction",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = 0 ; + lldb::SBInstruction *result = 0 ; + + SWIG_check_num_args("lldb::SBInstruction::SBInstruction",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstruction::SBInstruction",1,"lldb::SBInstruction const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("new_SBInstruction",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (lldb::SBInstruction *)new lldb::SBInstruction((lldb::SBInstruction const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBInstruction *)new lldb::SBInstruction((lldb::SBInstruction const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -30198,7 +30237,7 @@ static int _wrap_new_SBInstruction(lua_State* L) { return _wrap_new_SBInstruction__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, SWIG_POINTER_NO_NULL)) { @@ -30221,381 +30260,381 @@ static int _wrap_new_SBInstruction(lua_State* L) { static int _wrap_SBInstruction_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::IsValid",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_IsValid",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::IsValid",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_IsValid",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBInstruction::GetAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetAddress",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetAddress",1,SWIGTYPE_p_lldb__SBInstruction); - } - - result = (arg1)->GetAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBInstruction::GetAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetAddress",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetAddress",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (arg1)->GetAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetMnemonic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBInstruction::GetMnemonic",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetMnemonic",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBInstruction_GetMnemonic",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBInstruction::GetMnemonic",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetMnemonic",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBInstruction_GetMnemonic",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (char *)(arg1)->GetMnemonic(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (char *)(arg1)->GetMnemonic(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetOperands(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBInstruction::GetOperands",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetOperands",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBInstruction_GetOperands",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBInstruction::GetOperands",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetOperands",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBInstruction_GetOperands",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (char *)(arg1)->GetOperands(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (char *)(arg1)->GetOperands(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetComment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBInstruction::GetComment",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetComment",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetComment",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetComment",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBInstruction_GetComment",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBInstruction::GetComment",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetComment",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetComment",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetComment",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBInstruction_GetComment",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (char *)(arg1)->GetComment(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (char *)(arg1)->GetComment(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetControlFlowKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - lldb::InstructionControlFlowKind result; - - SWIG_check_num_args("lldb::SBInstruction::GetControlFlowKind",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetControlFlowKind",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBInstruction_GetControlFlowKind",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + lldb::InstructionControlFlowKind result; + + SWIG_check_num_args("lldb::SBInstruction::GetControlFlowKind",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetControlFlowKind",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBInstruction_GetControlFlowKind",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (lldb::InstructionControlFlowKind)(arg1)->GetControlFlowKind(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (lldb::InstructionControlFlowKind)(arg1)->GetControlFlowKind(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBInstruction::GetData",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetData",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetData",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetData",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBInstruction_GetData",2,SWIGTYPE_p_lldb__SBTarget); - } - arg2 = *argp2; - - result = (arg1)->GetData(arg2); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBInstruction::GetData",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetData",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetData",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetData",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBInstruction_GetData",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (arg1)->GetData(arg2); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_GetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBInstruction::GetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetByteSize",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetByteSize",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBInstruction::GetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetByteSize",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetByteSize",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (arg1)->GetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_DoesBranch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::DoesBranch",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DoesBranch",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_DoesBranch",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::DoesBranch",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DoesBranch",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_DoesBranch",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (bool)(arg1)->DoesBranch(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DoesBranch(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_HasDelaySlot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::HasDelaySlot",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::HasDelaySlot",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_HasDelaySlot",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::HasDelaySlot",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::HasDelaySlot",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_HasDelaySlot",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (bool)(arg1)->HasDelaySlot(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasDelaySlot(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_CanSetBreakpoint(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::CanSetBreakpoint",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::CanSetBreakpoint",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_CanSetBreakpoint",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::CanSetBreakpoint",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::CanSetBreakpoint",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_CanSetBreakpoint",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = (bool)(arg1)->CanSetBreakpoint(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->CanSetBreakpoint(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_Print__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - - SWIG_check_num_args("lldb::SBInstruction::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::Print",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBInstruction_Print",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + + SWIG_check_num_args("lldb::SBInstruction::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::Print",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBInstruction_Print",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + (arg1)->Print(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->Print(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_Print__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - - SWIG_check_num_args("lldb::SBInstruction::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + + SWIG_check_num_args("lldb::SBInstruction::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + (arg1)->Print(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->Print(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -30607,7 +30646,7 @@ static int _wrap_SBInstruction_Print(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) { @@ -30631,7 +30670,7 @@ static int _wrap_SBInstruction_Print(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) { @@ -30660,152 +30699,152 @@ static int _wrap_SBInstruction_Print(lua_State* L) { static int _wrap_SBInstruction_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_GetDescription",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBInstruction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_GetDescription",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBInstruction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_EmulateWithFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBFrame *arg2 = 0 ; - uint32_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::EmulateWithFrame",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",2,"lldb::SBFrame &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_EmulateWithFrame",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBInstruction_EmulateWithFrame",2,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBFrame *arg2 = 0 ; + uint32_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::EmulateWithFrame",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",2,"lldb::SBFrame &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_EmulateWithFrame",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBInstruction_EmulateWithFrame",2,SWIGTYPE_p_lldb__SBFrame); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (bool)(arg1)->EmulateWithFrame(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (bool)(arg1)->EmulateWithFrame(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_DumpEmulation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::DumpEmulation",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",1,"lldb::SBInstruction *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_DumpEmulation",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::DumpEmulation",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",1,"lldb::SBInstruction *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_DumpEmulation",1,SWIGTYPE_p_lldb__SBInstruction); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->DumpEmulation((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->DumpEmulation((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction_TestEmulation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - lldb::SBStream *arg2 = 0 ; - char *arg3 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstruction::TestEmulation",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",1,"lldb::SBInstruction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",2,"lldb::SBStream &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction_TestEmulation",1,SWIGTYPE_p_lldb__SBInstruction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBInstruction_TestEmulation",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + lldb::SBStream *arg2 = 0 ; + char *arg3 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstruction::TestEmulation",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",1,"lldb::SBInstruction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",2,"lldb::SBStream &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction_TestEmulation",1,SWIGTYPE_p_lldb__SBInstruction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBInstruction_TestEmulation",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (char *)lua_tostring(L, 3); + result = (bool)(arg1)->TestEmulation(*arg2,(char const *)arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (char *)lua_tostring(L, 3); - result = (bool)(arg1)->TestEmulation(*arg2,(char const *)arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstruction___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBInstruction::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::__repr__",1,"lldb::SBInstruction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstruction___tostring",1,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBInstruction::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::__repr__",1,"lldb::SBInstruction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstruction___tostring",1,SWIGTYPE_p_lldb__SBInstruction); + } + + result = lldb_SBInstruction___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBInstruction___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -30875,43 +30914,43 @@ static const char *swig_SBInstruction_base_names[] = {0}; static swig_lua_class _wrap_class_SBInstruction = { "SBInstruction", "SBInstruction", &SWIGTYPE_p_lldb__SBInstruction,_proxy__wrap_new_SBInstruction, swig_delete_SBInstruction, swig_SBInstruction_methods, swig_SBInstruction_attributes, &swig_SBInstruction_Sf_SwigStatic, swig_SBInstruction_meta, swig_SBInstruction_bases, swig_SBInstruction_base_names }; static int _wrap_new_SBInstructionList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *result = 0 ; - - SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",0,0) - result = (lldb::SBInstructionList *)new lldb::SBInstructionList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBInstructionList *result = 0 ; + + SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",0,0) + result = (lldb::SBInstructionList *)new lldb::SBInstructionList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBInstructionList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = 0 ; - lldb::SBInstructionList *result = 0 ; - - SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstructionList::SBInstructionList",1,"lldb::SBInstructionList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("new_SBInstructionList",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = 0 ; + lldb::SBInstructionList *result = 0 ; + + SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstructionList::SBInstructionList",1,"lldb::SBInstructionList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("new_SBInstructionList",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + result = (lldb::SBInstructionList *)new lldb::SBInstructionList((lldb::SBInstructionList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBInstructionList *)new lldb::SBInstructionList((lldb::SBInstructionList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -30926,7 +30965,7 @@ static int _wrap_new_SBInstructionList(lua_State* L) { return _wrap_new_SBInstructionList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_NO_NULL)) { @@ -30949,240 +30988,240 @@ static int _wrap_new_SBInstructionList(lua_State* L) { static int _wrap_SBInstructionList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstructionList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::IsValid",1,"lldb::SBInstructionList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_IsValid",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstructionList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::IsValid",1,"lldb::SBInstructionList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_IsValid",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + result = (bool)((lldb::SBInstructionList const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBInstructionList const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBInstructionList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetSize",1,"lldb::SBInstructionList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_GetSize",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBInstructionList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetSize",1,"lldb::SBInstructionList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_GetSize",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + result = (arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_GetInstructionAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - uint32_t arg2 ; - lldb::SBInstruction result; - - SWIG_check_num_args("lldb::SBInstructionList::GetInstructionAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",1,"lldb::SBInstructionList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_GetInstructionAtIndex",1,SWIGTYPE_p_lldb__SBInstructionList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetInstructionAtIndex(arg2); { - lldb::SBInstruction * resultptr = new lldb::SBInstruction((const lldb::SBInstruction &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + uint32_t arg2 ; + lldb::SBInstruction result; + + SWIG_check_num_args("lldb::SBInstructionList::GetInstructionAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",1,"lldb::SBInstructionList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_GetInstructionAtIndex",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetInstructionAtIndex(arg2); + { + lldb::SBInstruction * resultptr = new lldb::SBInstruction(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_GetInstructionsCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::SBAddress *arg3 = 0 ; - bool arg4 ; - size_t result; - - SWIG_check_num_args("lldb::SBInstructionList::GetInstructionsCount",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",1,"lldb::SBInstructionList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",2,"lldb::SBAddress const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",3,"lldb::SBAddress const &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",1,SWIGTYPE_p_lldb__SBInstructionList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",2,SWIGTYPE_p_lldb__SBAddress); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",3,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::SBAddress *arg3 = 0 ; + bool arg4 ; + size_t result; + + SWIG_check_num_args("lldb::SBInstructionList::GetInstructionsCount",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",1,"lldb::SBInstructionList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",2,"lldb::SBAddress const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",3,"lldb::SBAddress const &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",2,SWIGTYPE_p_lldb__SBAddress); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",3,SWIGTYPE_p_lldb__SBAddress); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->GetInstructionsCount((lldb::SBAddress const &)*arg2,(lldb::SBAddress const &)*arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->GetInstructionsCount((lldb::SBAddress const &)*arg2,(lldb::SBAddress const &)*arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - - SWIG_check_num_args("lldb::SBInstructionList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Clear",1,"lldb::SBInstructionList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_Clear",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + + SWIG_check_num_args("lldb::SBInstructionList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Clear",1,"lldb::SBInstructionList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_Clear",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_AppendInstruction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - lldb::SBInstruction arg2 ; - lldb::SBInstruction *argp2 ; - - SWIG_check_num_args("lldb::SBInstructionList::AppendInstruction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",1,"lldb::SBInstructionList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",2,"lldb::SBInstruction"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_AppendInstruction",1,SWIGTYPE_p_lldb__SBInstructionList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBInstruction,0))){ - SWIG_fail_ptr("SBInstructionList_AppendInstruction",2,SWIGTYPE_p_lldb__SBInstruction); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + lldb::SBInstruction arg2 ; + lldb::SBInstruction *argp2 ; + + SWIG_check_num_args("lldb::SBInstructionList::AppendInstruction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",1,"lldb::SBInstructionList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",2,"lldb::SBInstruction"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_AppendInstruction",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBInstruction,0))){ + SWIG_fail_ptr("SBInstructionList_AppendInstruction",2,SWIGTYPE_p_lldb__SBInstruction); + } + arg2 = *argp2; + + (arg1)->AppendInstruction(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->AppendInstruction(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_Print__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - - SWIG_check_num_args("lldb::SBInstructionList::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::Print",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBInstructionList_Print",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + + SWIG_check_num_args("lldb::SBInstructionList::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::Print",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBInstructionList_Print",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + (arg1)->Print(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->Print(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_Print__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - - SWIG_check_num_args("lldb::SBInstructionList::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + + SWIG_check_num_args("lldb::SBInstructionList::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + (arg1)->Print(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->Print(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -31194,7 +31233,7 @@ static int _wrap_SBInstructionList_Print(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) { @@ -31218,7 +31257,7 @@ static int _wrap_SBInstructionList_Print(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) { @@ -31247,84 +31286,84 @@ static int _wrap_SBInstructionList_Print(lua_State* L) { static int _wrap_SBInstructionList_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstructionList::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",1,"lldb::SBInstructionList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_GetDescription",1,SWIGTYPE_p_lldb__SBInstructionList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBInstructionList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstructionList::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",1,"lldb::SBInstructionList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_GetDescription",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBInstructionList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList_DumpEmulationForAllInstructions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",1,"lldb::SBInstructionList *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList_DumpEmulationForAllInstructions",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",1,"lldb::SBInstructionList *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList_DumpEmulationForAllInstructions",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->DumpEmulationForAllInstructions((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->DumpEmulationForAllInstructions((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBInstructionList___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBInstructionList::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::__repr__",1,"lldb::SBInstructionList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ - SWIG_fail_ptr("SBInstructionList___tostring",1,SWIGTYPE_p_lldb__SBInstructionList); + { + int SWIG_arg = 0; + lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBInstructionList::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::__repr__",1,"lldb::SBInstructionList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){ + SWIG_fail_ptr("SBInstructionList___tostring",1,SWIGTYPE_p_lldb__SBInstructionList); + } + + result = lldb_SBInstructionList___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBInstructionList___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -31387,59 +31426,59 @@ static const char *swig_SBInstructionList_base_names[] = {0}; static swig_lua_class _wrap_class_SBInstructionList = { "SBInstructionList", "SBInstructionList", &SWIGTYPE_p_lldb__SBInstructionList,_proxy__wrap_new_SBInstructionList, swig_delete_SBInstructionList, swig_SBInstructionList_methods, swig_SBInstructionList_attributes, &swig_SBInstructionList_Sf_SwigStatic, swig_SBInstructionList_meta, swig_SBInstructionList_bases, swig_SBInstructionList_base_names }; static int _wrap_SBLanguageRuntime_GetLanguageTypeFromString(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::LanguageType)lldb::SBLanguageRuntime::GetLanguageTypeFromString((char const *)arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::LanguageType)lldb::SBLanguageRuntime::GetLanguageTypeFromString((char const *)arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLanguageRuntime_GetNameForLanguageType(lua_State* L) { - int SWIG_arg = 0; - lldb::LanguageType arg1 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLanguageRuntime::GetNameForLanguageType",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetNameForLanguageType",1,"lldb::LanguageType"); - arg1 = (lldb::LanguageType)lua_tointeger(L, 1); - result = (char *)lldb::SBLanguageRuntime::GetNameForLanguageType(arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::LanguageType arg1 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLanguageRuntime::GetNameForLanguageType",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetNameForLanguageType",1,"lldb::LanguageType"); + arg1 = (lldb::LanguageType)lua_tointeger(L, 1); + result = (char *)lldb::SBLanguageRuntime::GetNameForLanguageType(arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBLanguageRuntime(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLanguageRuntime *result = 0 ; - - SWIG_check_num_args("lldb::SBLanguageRuntime::SBLanguageRuntime",0,0) - result = (lldb::SBLanguageRuntime *)new lldb::SBLanguageRuntime(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLanguageRuntime,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBLanguageRuntime *result = 0 ; + + SWIG_check_num_args("lldb::SBLanguageRuntime::SBLanguageRuntime",0,0) + result = (lldb::SBLanguageRuntime *)new lldb::SBLanguageRuntime(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLanguageRuntime,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -31493,1272 +31532,1272 @@ static const char *swig_SBLanguageRuntime_base_names[] = {0}; static swig_lua_class _wrap_class_SBLanguageRuntime = { "SBLanguageRuntime", "SBLanguageRuntime", &SWIGTYPE_p_lldb__SBLanguageRuntime,_proxy__wrap_new_SBLanguageRuntime, swig_delete_SBLanguageRuntime, swig_SBLanguageRuntime_methods, swig_SBLanguageRuntime_attributes, &swig_SBLanguageRuntime_Sf_SwigStatic, swig_SBLanguageRuntime_meta, swig_SBLanguageRuntime_bases, swig_SBLanguageRuntime_base_names }; static int _wrap_new_SBLaunchInfo(lua_State* L) { - int SWIG_arg = 0; - char **arg1 = (char **) 0 ; - lldb::SBLaunchInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SBLaunchInfo",1,1) - { - if (lua_istable(L, 1)) { - size_t size = lua_rawlen(L, 1); - arg1 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 1, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + { + int SWIG_arg = 0; + char **arg1 = (char **) 0 ; + lldb::SBLaunchInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SBLaunchInfo",1,1) + { + if (lua_istable(L, 1)) { + size_t size = lua_rawlen(L, 1); + arg1 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 1, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg1[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg1[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg1[j] = 0; + } else if (lua_isnil(L, 1)) { + // "nil" is also acceptable, equivalent as an empty table + arg1 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg1[j] = 0; - } else if (lua_isnil(L, 1)) { - // "nil" is also acceptable, equivalent as an empty table - arg1 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - result = (lldb::SBLaunchInfo *)new lldb::SBLaunchInfo((char const **)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++; - { - free((char *) arg1); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg1); + result = (lldb::SBLaunchInfo *)new lldb::SBLaunchInfo((char const **)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++; + { + free((char *) arg1); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg1); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessID",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessID",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (lldb::pid_t)(arg1)->GetProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetUserID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetUserID",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetUserID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetUserID",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetUserID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetUserID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetGroupID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetGroupID",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetGroupID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetGroupID",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetGroupID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetGroupID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_UserIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::UserIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::UserIDIsValid",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::UserIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::UserIDIsValid",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (bool)(arg1)->UserIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->UserIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GroupIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GroupIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GroupIDIsValid",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GroupIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GroupIDIsValid",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (bool)(arg1)->GroupIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GroupIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetUserID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetUserID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetUserID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetUserID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetGroupID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetGroupID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetGroupID(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetGroupID(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetExecutableFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetExecutableFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetExecutableFile",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - result = (arg1)->GetExecutableFile(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetExecutableFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetExecutableFile",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (arg1)->GetExecutableFile(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetExecutableFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBFileSpec arg2 ; - bool arg3 ; - lldb::SBFileSpec *argp2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetExecutableFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",1,"lldb::SBLaunchInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",2,"lldb::SBFileSpec"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBFileSpec arg2 ; + bool arg3 ; + lldb::SBFileSpec *argp2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetExecutableFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",1,"lldb::SBLaunchInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",2,"lldb::SBFileSpec"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + arg2 = *argp2; + + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetExecutableFile(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetExecutableFile(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBListener result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetListener",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetListener",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - result = (arg1)->GetListener(); { - lldb::SBListener * resultptr = new lldb::SBListener((const lldb::SBListener &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBListener result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetListener",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetListener",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (arg1)->GetListener(); + { + lldb::SBListener * resultptr = new lldb::SBListener(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetListener(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBListener *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetListener",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",1,"lldb::SBLaunchInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",2,"lldb::SBListener &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBListener *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetListener",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",1,"lldb::SBLaunchInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",2,"lldb::SBListener &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener); + } + + (arg1)->SetListener(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetListener(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetNumArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetNumArguments",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumArguments",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetNumArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetNumArguments",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumArguments",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetNumArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetNumArguments(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumArguments(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetArgumentAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetArgumentAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetArgumentAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetArgumentAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetArgumentAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetArgumentAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetArgumentAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char **arg2 = (char **) 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetArguments",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",1,"lldb::SBLaunchInfo *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char **arg2 = (char **) 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetArguments",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",1,"lldb::SBLaunchInfo *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetArguments((char const **)arg2,arg3); - - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetArguments((char const **)arg2,arg3); + + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetNumEnvironmentEntries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetNumEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetNumEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetNumEnvironmentEntries(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumEnvironmentEntries(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetEnvironmentEntryAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetEnvironmentEntryAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetEnvironmentEntryAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetEnvironmentEntryAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetEnvironmentEntryAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetEnvironmentEntries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char **arg2 = (char **) 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironmentEntries",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",1,"lldb::SBLaunchInfo *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char **arg2 = (char **) 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironmentEntries",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",1,"lldb::SBLaunchInfo *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetEnvironmentEntries((char const **)arg2,arg3); - - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetEnvironmentEntries((char const **)arg2,arg3); + + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetEnvironment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBEnvironment *arg2 = 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironment",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",1,"lldb::SBLaunchInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",2,"lldb::SBEnvironment const &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEnvironment,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",2,SWIGTYPE_p_lldb__SBEnvironment); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBEnvironment *arg2 = 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironment",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",1,"lldb::SBLaunchInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",2,"lldb::SBEnvironment const &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEnvironment,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",2,SWIGTYPE_p_lldb__SBEnvironment); + } + + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->SetEnvironment((lldb::SBEnvironment const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->SetEnvironment((lldb::SBEnvironment const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetEnvironment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBEnvironment result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironment",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironment",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - result = (arg1)->GetEnvironment(); { - lldb::SBEnvironment * resultptr = new lldb::SBEnvironment((const lldb::SBEnvironment &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBEnvironment result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironment",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironment",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (arg1)->GetEnvironment(); + { + lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::Clear",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_Clear",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::Clear",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_Clear",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetWorkingDirectory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetWorkingDirectory",1,"lldb::SBLaunchInfo const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetWorkingDirectory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetWorkingDirectory",1,"lldb::SBLaunchInfo const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetWorkingDirectory(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetWorkingDirectory(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetWorkingDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",1,"lldb::SBLaunchInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetWorkingDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",1,"lldb::SBLaunchInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetWorkingDirectory((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetWorkingDirectory((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetLaunchFlags(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchFlags",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchFlags",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchFlags",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchFlags",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetLaunchFlags(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetLaunchFlags(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetLaunchFlags(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchFlags",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchFlags",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetLaunchFlags(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetLaunchFlags(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetProcessPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessPluginName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessPluginName",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessPluginName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessPluginName",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (char *)(arg1)->GetProcessPluginName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetProcessPluginName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetProcessPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetProcessPluginName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",1,"lldb::SBLaunchInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetProcessPluginName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",1,"lldb::SBLaunchInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetProcessPluginName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetProcessPluginName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetShell(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetShell",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShell",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetShell",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShell",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (char *)(arg1)->GetShell(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetShell(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetShell(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetShell",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",1,"lldb::SBLaunchInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetShell",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",1,"lldb::SBLaunchInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetShell((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetShell((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetShellExpandArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetShellExpandArguments",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShellExpandArguments",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetShellExpandArguments",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShellExpandArguments",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (bool)(arg1)->GetShellExpandArguments(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetShellExpandArguments(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetShellExpandArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetShellExpandArguments",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",1,"lldb::SBLaunchInfo *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetShellExpandArguments",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",1,"lldb::SBLaunchInfo *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetShellExpandArguments(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetShellExpandArguments(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetResumeCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetResumeCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetResumeCount",1,"lldb::SBLaunchInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetResumeCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetResumeCount",1,"lldb::SBLaunchInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (uint32_t)(arg1)->GetResumeCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetResumeCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetResumeCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetResumeCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetResumeCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetResumeCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetResumeCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_AddCloseFileAction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - int arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::AddCloseFileAction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",2,"int"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_AddCloseFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + int arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::AddCloseFileAction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",2,"int"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_AddCloseFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (int)lua_tointeger(L, 2); + result = (bool)(arg1)->AddCloseFileAction(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - result = (bool)(arg1)->AddCloseFileAction(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_AddDuplicateFileAction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - int arg2 ; - int arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::AddDuplicateFileAction",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",2,"int"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",3,"int"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_AddDuplicateFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + int arg2 ; + int arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::AddDuplicateFileAction",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",2,"int"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",3,"int"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_AddDuplicateFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (int)lua_tointeger(L, 2); + arg3 = (int)lua_tointeger(L, 3); + result = (bool)(arg1)->AddDuplicateFileAction(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - arg3 = (int)lua_tointeger(L, 3); - result = (bool)(arg1)->AddDuplicateFileAction(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_AddOpenFileAction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - bool arg4 ; - bool arg5 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::AddOpenFileAction",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",2,"int"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",3,"char const *"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",5,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_AddOpenFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + int arg2 ; + char *arg3 = (char *) 0 ; + bool arg4 ; + bool arg5 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::AddOpenFileAction",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",2,"int"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",3,"char const *"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",5,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_AddOpenFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (int)lua_tointeger(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + result = (bool)(arg1)->AddOpenFileAction(arg2,(char const *)arg3,arg4,arg5); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - result = (bool)(arg1)->AddOpenFileAction(arg2,(char const *)arg3,arg4,arg5); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_AddSuppressFileAction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - int arg2 ; - bool arg3 ; - bool arg4 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::AddSuppressFileAction",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",1,"lldb::SBLaunchInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",2,"int"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_AddSuppressFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + int arg2 ; + bool arg3 ; + bool arg4 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::AddSuppressFileAction",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",1,"lldb::SBLaunchInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",2,"int"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_AddSuppressFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (int)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + result = (bool)(arg1)->AddSuppressFileAction(arg2,arg3,arg4); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - result = (bool)(arg1)->AddSuppressFileAction(arg2,arg3,arg4); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetLaunchEventData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchEventData",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",1,"lldb::SBLaunchInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchEventData",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",1,"lldb::SBLaunchInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetLaunchEventData((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetLaunchEventData((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetLaunchEventData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchEventData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchEventData",1,"lldb::SBLaunchInfo const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchEventData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchEventData",1,"lldb::SBLaunchInfo const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetLaunchEventData(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetLaunchEventData(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetDetachOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetDetachOnError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetDetachOnError",1,"lldb::SBLaunchInfo const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetDetachOnError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetDetachOnError",1,"lldb::SBLaunchInfo const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (bool)((lldb::SBLaunchInfo const *)arg1)->GetDetachOnError(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBLaunchInfo const *)arg1)->GetDetachOnError(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetDetachOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetDetachOnError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",1,"lldb::SBLaunchInfo *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetDetachOnError",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",1,"lldb::SBLaunchInfo *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetDetachOnError(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetDetachOnError(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetScriptedProcessClassName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,"lldb::SBLaunchInfo const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,"lldb::SBLaunchInfo const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessClassName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessClassName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetScriptedProcessClassName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",1,"lldb::SBLaunchInfo *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",1,"lldb::SBLaunchInfo *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetScriptedProcessClassName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetScriptedProcessClassName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_GetScriptedProcessDictionary(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,"lldb::SBLaunchInfo const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - result = ((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessDictionary(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,"lldb::SBLaunchInfo const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = ((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessDictionary(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLaunchInfo_SetScriptedProcessDictionary(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; - lldb::SBStructuredData arg2 ; - lldb::SBStructuredData *argp2 ; - - SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",1,"lldb::SBLaunchInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,"lldb::SBStructuredData"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",2,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ; + lldb::SBStructuredData arg2 ; + lldb::SBStructuredData *argp2 ; + + SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",1,"lldb::SBLaunchInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,"lldb::SBStructuredData"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",2,SWIGTYPE_p_lldb__SBStructuredData); + } + arg2 = *argp2; + + (arg1)->SetScriptedProcessDictionary(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetScriptedProcessDictionary(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -32854,43 +32893,43 @@ static const char *swig_SBLaunchInfo_base_names[] = {0}; static swig_lua_class _wrap_class_SBLaunchInfo = { "SBLaunchInfo", "SBLaunchInfo", &SWIGTYPE_p_lldb__SBLaunchInfo,_proxy__wrap_new_SBLaunchInfo, swig_delete_SBLaunchInfo, swig_SBLaunchInfo_methods, swig_SBLaunchInfo_attributes, &swig_SBLaunchInfo_Sf_SwigStatic, swig_SBLaunchInfo_meta, swig_SBLaunchInfo_bases, swig_SBLaunchInfo_base_names }; static int _wrap_new_SBLineEntry__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *result = 0 ; - - SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",0,0) - result = (lldb::SBLineEntry *)new lldb::SBLineEntry(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBLineEntry *result = 0 ; + + SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",0,0) + result = (lldb::SBLineEntry *)new lldb::SBLineEntry(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBLineEntry__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = 0 ; - lldb::SBLineEntry *result = 0 ; - - SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SBLineEntry",1,"lldb::SBLineEntry const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("new_SBLineEntry",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = 0 ; + lldb::SBLineEntry *result = 0 ; + + SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SBLineEntry",1,"lldb::SBLineEntry const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("new_SBLineEntry",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (lldb::SBLineEntry *)new lldb::SBLineEntry((lldb::SBLineEntry const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBLineEntry *)new lldb::SBLineEntry((lldb::SBLineEntry const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -32905,7 +32944,7 @@ static int _wrap_new_SBLineEntry(lua_State* L) { return _wrap_new_SBLineEntry__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBLineEntry, SWIG_POINTER_NO_NULL)) { @@ -32928,325 +32967,325 @@ static int _wrap_new_SBLineEntry(lua_State* L) { static int _wrap_SBLineEntry_GetStartAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBLineEntry::GetStartAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetStartAddress",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetStartAddress",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - result = ((lldb::SBLineEntry const *)arg1)->GetStartAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBLineEntry::GetStartAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetStartAddress",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetStartAddress",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = ((lldb::SBLineEntry const *)arg1)->GetStartAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_GetEndAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBLineEntry::GetEndAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetEndAddress",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetEndAddress",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - result = ((lldb::SBLineEntry const *)arg1)->GetEndAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBLineEntry::GetEndAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetEndAddress",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetEndAddress",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = ((lldb::SBLineEntry const *)arg1)->GetEndAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLineEntry::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::IsValid",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_IsValid",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLineEntry::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::IsValid",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_IsValid",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (bool)((lldb::SBLineEntry const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBLineEntry const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_GetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBLineEntry::GetFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetFileSpec",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - result = ((lldb::SBLineEntry const *)arg1)->GetFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBLineEntry::GetFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetFileSpec",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = ((lldb::SBLineEntry const *)arg1)->GetFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_GetLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLineEntry::GetLine",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetLine",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetLine",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLineEntry::GetLine",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetLine",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetLine",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetLine(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetLine(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_GetColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBLineEntry::GetColumn",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetColumn",1,"lldb::SBLineEntry const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetColumn",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBLineEntry::GetColumn",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetColumn",1,"lldb::SBLineEntry const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetColumn",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetColumn(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetColumn(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLineEntry::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",1,"lldb::SBLineEntry *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_GetDescription",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBLineEntry_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLineEntry::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",1,"lldb::SBLineEntry *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_GetDescription",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBLineEntry_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_SetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBFileSpec arg2 ; - lldb::SBFileSpec *argp2 ; - - SWIG_check_num_args("lldb::SBLineEntry::SetFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",1,"lldb::SBLineEntry *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",2,"lldb::SBFileSpec"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_SetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBLineEntry_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBFileSpec arg2 ; + lldb::SBFileSpec *argp2 ; + + SWIG_check_num_args("lldb::SBLineEntry::SetFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",1,"lldb::SBLineEntry *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",2,"lldb::SBFileSpec"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_SetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBLineEntry_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + arg2 = *argp2; + + (arg1)->SetFileSpec(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetFileSpec(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_SetLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLineEntry::SetLine",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",1,"lldb::SBLineEntry *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_SetLine",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLineEntry::SetLine",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",1,"lldb::SBLineEntry *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_SetLine",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetLine(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetLine(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry_SetColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBLineEntry::SetColumn",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",1,"lldb::SBLineEntry *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry_SetColumn",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBLineEntry::SetColumn",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",1,"lldb::SBLineEntry *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry_SetColumn",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetColumn(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetColumn(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - lldb::SBLineEntry *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBLineEntry::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",1,"lldb::SBLineEntry const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",2,"lldb::SBLineEntry const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry___eq",1,SWIGTYPE_p_lldb__SBLineEntry); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry___eq",2,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + lldb::SBLineEntry *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBLineEntry::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",1,"lldb::SBLineEntry const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",2,"lldb::SBLineEntry const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry___eq",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry___eq",2,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = (bool)((lldb::SBLineEntry const *)arg1)->operator ==((lldb::SBLineEntry const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBLineEntry const *)arg1)->operator ==((lldb::SBLineEntry const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBLineEntry___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBLineEntry::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::__repr__",1,"lldb::SBLineEntry *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBLineEntry___tostring",1,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBLineEntry::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::__repr__",1,"lldb::SBLineEntry *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBLineEntry___tostring",1,SWIGTYPE_p_lldb__SBLineEntry); + } + + result = lldb_SBLineEntry___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBLineEntry___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -33312,63 +33351,63 @@ static const char *swig_SBLineEntry_base_names[] = {0}; static swig_lua_class _wrap_class_SBLineEntry = { "SBLineEntry", "SBLineEntry", &SWIGTYPE_p_lldb__SBLineEntry,_proxy__wrap_new_SBLineEntry, swig_delete_SBLineEntry, swig_SBLineEntry_methods, swig_SBLineEntry_attributes, &swig_SBLineEntry_Sf_SwigStatic, swig_SBLineEntry_meta, swig_SBLineEntry_bases, swig_SBLineEntry_base_names }; static int _wrap_new_SBListener__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *result = 0 ; - - SWIG_check_num_args("lldb::SBListener::SBListener",0,0) - result = (lldb::SBListener *)new lldb::SBListener(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBListener *result = 0 ; + + SWIG_check_num_args("lldb::SBListener::SBListener",0,0) + result = (lldb::SBListener *)new lldb::SBListener(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBListener__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBListener *result = 0 ; - - SWIG_check_num_args("lldb::SBListener::SBListener",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBListener *)new lldb::SBListener((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBListener *result = 0 ; + + SWIG_check_num_args("lldb::SBListener::SBListener",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBListener *)new lldb::SBListener((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBListener__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = 0 ; - lldb::SBListener *result = 0 ; - - SWIG_check_num_args("lldb::SBListener::SBListener",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"lldb::SBListener const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("new_SBListener",1,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = 0 ; + lldb::SBListener *result = 0 ; + + SWIG_check_num_args("lldb::SBListener::SBListener",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"lldb::SBListener const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("new_SBListener",1,SWIGTYPE_p_lldb__SBListener); + } + + result = (lldb::SBListener *)new lldb::SBListener((lldb::SBListener const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBListener *)new lldb::SBListener((lldb::SBListener const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -33383,7 +33422,7 @@ static int _wrap_new_SBListener(lua_State* L) { return _wrap_new_SBListener__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { @@ -33397,7 +33436,7 @@ static int _wrap_new_SBListener(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -33416,591 +33455,591 @@ static int _wrap_new_SBListener(lua_State* L) { static int _wrap_SBListener_AddEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBEvent *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBListener::AddEvent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::AddEvent",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::AddEvent",2,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_AddEvent",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_AddEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBEvent *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBListener::AddEvent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::AddEvent",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::AddEvent",2,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_AddEvent",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_AddEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + (arg1)->AddEvent((lldb::SBEvent const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->AddEvent((lldb::SBEvent const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - - SWIG_check_num_args("lldb::SBListener::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::Clear",1,"lldb::SBListener *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_Clear",1,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + + SWIG_check_num_args("lldb::SBListener::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::Clear",1,"lldb::SBListener *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_Clear",1,SWIGTYPE_p_lldb__SBListener); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::IsValid",1,"lldb::SBListener const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_IsValid",1,SWIGTYPE_p_lldb__SBListener); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::IsValid",1,"lldb::SBListener const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_IsValid",1,SWIGTYPE_p_lldb__SBListener); + } + + result = (bool)((lldb::SBListener const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBListener const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_StartListeningForEventClass(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBDebugger *arg2 = 0 ; - char *arg3 = (char *) 0 ; - uint32_t arg4 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBListener::StartListeningForEventClass",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",2,"lldb::SBDebugger &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",3,"char const *"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",4,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_StartListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBListener_StartListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBDebugger *arg2 = 0 ; + char *arg3 = (char *) 0 ; + uint32_t arg4 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBListener::StartListeningForEventClass",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",2,"lldb::SBDebugger &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",3,"char const *"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",4,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_StartListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBListener_StartListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger); + } + + arg3 = (char *)lua_tostring(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + result = (uint32_t)(arg1)->StartListeningForEventClass(*arg2,(char const *)arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (char *)lua_tostring(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - result = (uint32_t)(arg1)->StartListeningForEventClass(*arg2,(char const *)arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_StopListeningForEventClass(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBDebugger *arg2 = 0 ; - char *arg3 = (char *) 0 ; - uint32_t arg4 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBListener::StopListeningForEventClass",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",2,"lldb::SBDebugger &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",3,"char const *"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",4,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_StopListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){ - SWIG_fail_ptr("SBListener_StopListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBDebugger *arg2 = 0 ; + char *arg3 = (char *) 0 ; + uint32_t arg4 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBListener::StopListeningForEventClass",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",2,"lldb::SBDebugger &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",3,"char const *"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",4,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_StopListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBListener_StopListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger); + } + + arg3 = (char *)lua_tostring(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + result = (uint32_t)(arg1)->StopListeningForEventClass(*arg2,(char const *)arg3,arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (char *)lua_tostring(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - result = (uint32_t)(arg1)->StopListeningForEventClass(*arg2,(char const *)arg3,arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_StartListeningForEvents(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - uint32_t arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBListener::StartListeningForEvents",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",2,"lldb::SBBroadcaster const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_StartListeningForEvents",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_StartListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + uint32_t arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBListener::StartListeningForEvents",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",2,"lldb::SBBroadcaster const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_StartListeningForEvents",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_StartListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (uint32_t)(arg1)->StartListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (uint32_t)(arg1)->StartListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_StopListeningForEvents(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - uint32_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::StopListeningForEvents",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",2,"lldb::SBBroadcaster const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_StopListeningForEvents",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_StopListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + uint32_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::StopListeningForEvents",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",2,"lldb::SBBroadcaster const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_StopListeningForEvents",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_StopListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (bool)(arg1)->StopListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (bool)(arg1)->StopListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_WaitForEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - uint32_t arg2 ; - lldb::SBEvent *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::WaitForEvent",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",1,"lldb::SBListener *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",3,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_WaitForEvent",1,SWIGTYPE_p_lldb__SBListener); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_WaitForEvent",3,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + uint32_t arg2 ; + lldb::SBEvent *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::WaitForEvent",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",1,"lldb::SBListener *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",3,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_WaitForEvent",1,SWIGTYPE_p_lldb__SBListener); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_WaitForEvent",3,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->WaitForEvent(arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->WaitForEvent(arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_WaitForEventForBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - uint32_t arg2 ; - lldb::SBBroadcaster *arg3 = 0 ; - lldb::SBEvent *arg4 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcaster",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",1,"lldb::SBListener *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",3,"lldb::SBBroadcaster const &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",4,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",3,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",4,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + uint32_t arg2 ; + lldb::SBBroadcaster *arg3 = 0 ; + lldb::SBEvent *arg4 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcaster",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",1,"lldb::SBListener *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",3,"lldb::SBBroadcaster const &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",4,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",3,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",4,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->WaitForEventForBroadcaster(arg2,(lldb::SBBroadcaster const &)*arg3,*arg4); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->WaitForEventForBroadcaster(arg2,(lldb::SBBroadcaster const &)*arg3,*arg4); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_WaitForEventForBroadcasterWithType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - uint32_t arg2 ; - lldb::SBBroadcaster *arg3 = 0 ; - uint32_t arg4 ; - lldb::SBEvent *arg5 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcasterWithType",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",1,"lldb::SBListener *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",3,"lldb::SBBroadcaster const &"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",4,"uint32_t"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",5,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",3,SWIGTYPE_p_lldb__SBBroadcaster); - } - - arg4 = (uint32_t)lua_tointeger(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",5,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + uint32_t arg2 ; + lldb::SBBroadcaster *arg3 = 0 ; + uint32_t arg4 ; + lldb::SBEvent *arg5 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcasterWithType",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",1,"lldb::SBListener *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",3,"lldb::SBBroadcaster const &"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",4,"uint32_t"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",5,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",3,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg4 = (uint32_t)lua_tointeger(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",5,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->WaitForEventForBroadcasterWithType(arg2,(lldb::SBBroadcaster const &)*arg3,arg4,*arg5); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->WaitForEventForBroadcasterWithType(arg2,(lldb::SBBroadcaster const &)*arg3,arg4,*arg5); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_PeekAtNextEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBEvent *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::PeekAtNextEvent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",2,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEvent",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBEvent *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::PeekAtNextEvent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",2,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEvent",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->PeekAtNextEvent(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->PeekAtNextEvent(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_PeekAtNextEventForBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - lldb::SBEvent *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcaster",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",2,"lldb::SBBroadcaster const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",3,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + lldb::SBEvent *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcaster",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",2,"lldb::SBBroadcaster const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",3,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->PeekAtNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->PeekAtNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_PeekAtNextEventForBroadcasterWithType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBEvent *arg4 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBEvent *arg4 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->PeekAtNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->PeekAtNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_GetNextEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBEvent *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::GetNextEvent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",2,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_GetNextEvent",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_GetNextEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBEvent *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::GetNextEvent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",2,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_GetNextEvent",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_GetNextEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->GetNextEvent(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetNextEvent(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_GetNextEventForBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - lldb::SBEvent *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcaster",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",2,"lldb::SBBroadcaster const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",3,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + lldb::SBEvent *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcaster",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",2,"lldb::SBBroadcaster const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",3,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->GetNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_GetNextEventForBroadcasterWithType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBBroadcaster *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBEvent *arg4 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcasterWithType",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",4,"lldb::SBEvent &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBBroadcaster *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBEvent *arg4 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcasterWithType",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",4,"lldb::SBEvent &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->GetNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBListener_HandleBroadcastEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; - lldb::SBEvent *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBListener::HandleBroadcastEvent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",1,"lldb::SBListener *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",2,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBListener_HandleBroadcastEvent",1,SWIGTYPE_p_lldb__SBListener); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBListener_HandleBroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBListener *arg1 = (lldb::SBListener *) 0 ; + lldb::SBEvent *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBListener::HandleBroadcastEvent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",1,"lldb::SBListener *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",2,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBListener_HandleBroadcastEvent",1,SWIGTYPE_p_lldb__SBListener); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBListener_HandleBroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)(arg1)->HandleBroadcastEvent((lldb::SBEvent const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HandleBroadcastEvent((lldb::SBEvent const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -34069,78 +34108,78 @@ static const char *swig_SBListener_base_names[] = {0}; static swig_lua_class _wrap_class_SBListener = { "SBListener", "SBListener", &SWIGTYPE_p_lldb__SBListener,_proxy__wrap_new_SBListener, swig_delete_SBListener, swig_SBListener_methods, swig_SBListener_attributes, &swig_SBListener_Sf_SwigStatic, swig_SBListener_meta, swig_SBListener_bases, swig_SBListener_base_names }; static int _wrap_new_SBMemoryRegionInfo__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",0,0) - result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",0,0) + result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBMemoryRegionInfo__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = 0 ; - lldb::SBMemoryRegionInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"lldb::SBMemoryRegionInfo const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("new_SBMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = 0 ; + lldb::SBMemoryRegionInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"lldb::SBMemoryRegionInfo const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("new_SBMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((lldb::SBMemoryRegionInfo const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((lldb::SBMemoryRegionInfo const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBMemoryRegionInfo__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::addr_t arg2 ; - lldb::addr_t arg3 ; - uint32_t arg4 ; - bool arg5 ; - bool arg6 ; - lldb::SBMemoryRegionInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,6) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",2,"lldb::addr_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",3,"lldb::addr_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",4,"uint32_t"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",5,"bool"); - if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,"bool"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (lua_toboolean(L, 5)!=0); - arg6 = (lua_toboolean(L, 6)!=0); - result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((char const *)arg1,arg2,arg3,arg4,arg5,arg6); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::addr_t arg2 ; + lldb::addr_t arg3 ; + uint32_t arg4 ; + bool arg5 ; + bool arg6 ; + lldb::SBMemoryRegionInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,6) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",2,"lldb::addr_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",3,"lldb::addr_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",4,"uint32_t"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",5,"bool"); + if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,"bool"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (lua_toboolean(L, 5)!=0); + arg6 = (lua_toboolean(L, 6)!=0); + result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((char const *)arg1,arg2,arg3,arg4,arg5,arg6); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -34155,7 +34194,7 @@ static int _wrap_new_SBMemoryRegionInfo(lua_State* L) { return _wrap_new_SBMemoryRegionInfo__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfo, SWIG_POINTER_NO_NULL)) { @@ -34169,7 +34208,7 @@ static int _wrap_new_SBMemoryRegionInfo(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -34213,378 +34252,378 @@ static int _wrap_new_SBMemoryRegionInfo(lua_State* L) { static int _wrap_SBMemoryRegionInfo_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::Clear",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::Clear",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetRegionBase(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionBase",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionBase",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionBase",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionBase",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionBase",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionBase",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (lldb::addr_t)(arg1)->GetRegionBase(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetRegionBase(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetRegionEnd(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionEnd",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionEnd",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionEnd",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionEnd",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionEnd",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionEnd",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (lldb::addr_t)(arg1)->GetRegionEnd(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetRegionEnd(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_IsReadable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsReadable",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsReadable",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_IsReadable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsReadable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsReadable",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_IsReadable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->IsReadable(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsReadable(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_IsWritable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsWritable",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsWritable",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_IsWritable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsWritable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsWritable",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_IsWritable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->IsWritable(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsWritable(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_IsExecutable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsExecutable",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsExecutable",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_IsExecutable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsExecutable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsExecutable",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_IsExecutable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->IsExecutable(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsExecutable(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_IsMapped(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsMapped",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsMapped",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_IsMapped",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsMapped",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsMapped",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_IsMapped",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->IsMapped(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsMapped(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetName",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetName",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetName",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetName",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_HasDirtyMemoryPageList(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_HasDirtyMemoryPageList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_HasDirtyMemoryPageList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->HasDirtyMemoryPageList(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasDirtyMemoryPageList(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetNumDirtyPages(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetNumDirtyPages",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetNumDirtyPages",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (uint32_t)(arg1)->GetNumDirtyPages(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumDirtyPages(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetDirtyPageAddressAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - uint32_t arg2 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",1,"lldb::SBMemoryRegionInfo *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetDirtyPageAddressAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + uint32_t arg2 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",1,"lldb::SBMemoryRegionInfo *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetDirtyPageAddressAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (lldb::addr_t)(arg1)->GetDirtyPageAddressAtIndex(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (lldb::addr_t)(arg1)->GetDirtyPageAddressAtIndex(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetPageSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetPageSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetPageSize",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetPageSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetPageSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetPageSize",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetPageSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (int)(arg1)->GetPageSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->GetPageSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - lldb::SBMemoryRegionInfo *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",1,"lldb::SBMemoryRegionInfo const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",2,"lldb::SBMemoryRegionInfo const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo___eq",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo___eq",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + lldb::SBMemoryRegionInfo *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",1,"lldb::SBMemoryRegionInfo const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",2,"lldb::SBMemoryRegionInfo const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo___eq",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo___eq",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)((lldb::SBMemoryRegionInfo const *)arg1)->operator ==((lldb::SBMemoryRegionInfo const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBMemoryRegionInfo const *)arg1)->operator ==((lldb::SBMemoryRegionInfo const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",1,"lldb::SBMemoryRegionInfo *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",1,"lldb::SBMemoryRegionInfo *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfo___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfo::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::__repr__",1,"lldb::SBMemoryRegionInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfo___tostring",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfo::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::__repr__",1,"lldb::SBMemoryRegionInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfo___tostring",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = lldb_SBMemoryRegionInfo___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBMemoryRegionInfo___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -34653,43 +34692,43 @@ static const char *swig_SBMemoryRegionInfo_base_names[] = {0}; static swig_lua_class _wrap_class_SBMemoryRegionInfo = { "SBMemoryRegionInfo", "SBMemoryRegionInfo", &SWIGTYPE_p_lldb__SBMemoryRegionInfo,_proxy__wrap_new_SBMemoryRegionInfo, swig_delete_SBMemoryRegionInfo, swig_SBMemoryRegionInfo_methods, swig_SBMemoryRegionInfo_attributes, &swig_SBMemoryRegionInfo_Sf_SwigStatic, swig_SBMemoryRegionInfo_meta, swig_SBMemoryRegionInfo_bases, swig_SBMemoryRegionInfo_base_names }; static int _wrap_new_SBMemoryRegionInfoList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",0,0) - result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",0,0) + result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBMemoryRegionInfoList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = 0 ; - lldb::SBMemoryRegionInfoList *result = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,"lldb::SBMemoryRegionInfoList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("new_SBMemoryRegionInfoList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = 0 ; + lldb::SBMemoryRegionInfoList *result = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,"lldb::SBMemoryRegionInfoList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("new_SBMemoryRegionInfoList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList((lldb::SBMemoryRegionInfoList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList((lldb::SBMemoryRegionInfoList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -34704,7 +34743,7 @@ static int _wrap_new_SBMemoryRegionInfoList(lua_State* L) { return _wrap_new_SBMemoryRegionInfoList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, SWIG_POINTER_NO_NULL)) { @@ -34727,154 +34766,154 @@ static int _wrap_new_SBMemoryRegionInfoList(lua_State* L) { static int _wrap_SBMemoryRegionInfoList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetSize",1,"lldb::SBMemoryRegionInfoList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_GetSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetSize",1,"lldb::SBMemoryRegionInfoList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_GetSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + result = (uint32_t)((lldb::SBMemoryRegionInfoList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBMemoryRegionInfoList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfoList_GetMemoryRegionContainingAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - lldb::addr_t arg2 ; - lldb::SBMemoryRegionInfo *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",1,"lldb::SBMemoryRegionInfoList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",2,"lldb::addr_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,"lldb::SBMemoryRegionInfo &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + lldb::addr_t arg2 ; + lldb::SBMemoryRegionInfo *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",1,"lldb::SBMemoryRegionInfoList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",2,"lldb::addr_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,"lldb::SBMemoryRegionInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->GetMemoryRegionContainingAddress(arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetMemoryRegionContainingAddress(arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfoList_GetMemoryRegionAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - uint32_t arg2 ; - lldb::SBMemoryRegionInfo *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",1,"lldb::SBMemoryRegionInfoList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",2,"uint32_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,"lldb::SBMemoryRegionInfo &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + uint32_t arg2 ; + lldb::SBMemoryRegionInfo *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",1,"lldb::SBMemoryRegionInfoList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,"lldb::SBMemoryRegionInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (bool)(arg1)->GetMemoryRegionAtIndex(arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetMemoryRegionAtIndex(arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfoList_Append__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - lldb::SBMemoryRegionInfo *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfo &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + lldb::SBMemoryRegionInfo *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + (arg1)->Append(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBMemoryRegionInfoList_Append__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - lldb::SBMemoryRegionInfoList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfoList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + lldb::SBMemoryRegionInfoList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfoList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + (arg1)->Append(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -34886,7 +34925,7 @@ static int _wrap_SBMemoryRegionInfoList_Append(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, 0)) { @@ -34910,7 +34949,7 @@ static int _wrap_SBMemoryRegionInfoList_Append(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, 0)) { @@ -34943,25 +34982,25 @@ static int _wrap_SBMemoryRegionInfoList_Append(lua_State* L) { static int _wrap_SBMemoryRegionInfoList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; - - SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Clear",1,"lldb::SBMemoryRegionInfoList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ - SWIG_fail_ptr("SBMemoryRegionInfoList_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + { + int SWIG_arg = 0; + lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ; + + SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Clear",1,"lldb::SBMemoryRegionInfoList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){ + SWIG_fail_ptr("SBMemoryRegionInfoList_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -35018,94 +35057,94 @@ static const char *swig_SBMemoryRegionInfoList_base_names[] = {0}; static swig_lua_class _wrap_class_SBMemoryRegionInfoList = { "SBMemoryRegionInfoList", "SBMemoryRegionInfoList", &SWIGTYPE_p_lldb__SBMemoryRegionInfoList,_proxy__wrap_new_SBMemoryRegionInfoList, swig_delete_SBMemoryRegionInfoList, swig_SBMemoryRegionInfoList_methods, swig_SBMemoryRegionInfoList_attributes, &swig_SBMemoryRegionInfoList_Sf_SwigStatic, swig_SBMemoryRegionInfoList_meta, swig_SBMemoryRegionInfoList_bases, swig_SBMemoryRegionInfoList_base_names }; static int _wrap_new_SBModule__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::SBModule",0,0) - result = (lldb::SBModule *)new lldb::SBModule(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBModule *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::SBModule",0,0) + result = (lldb::SBModule *)new lldb::SBModule(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBModule__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = 0 ; - lldb::SBModule *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::SBModule",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModule const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = 0 ; + lldb::SBModule *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::SBModule",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModule const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModule const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModule const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBModule__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = 0 ; - lldb::SBModule *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::SBModule",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = 0 ; + lldb::SBModule *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::SBModule",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModuleSpec const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModuleSpec const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBModule__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = 0 ; - lldb::addr_t arg2 ; - lldb::SBModule *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::SBModule",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBProcess &"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::SBModule",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = 0 ; + lldb::addr_t arg2 ; + lldb::SBModule *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::SBModule",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBProcess &"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::SBModule",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (lldb::SBModule *)new lldb::SBModule(*arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (lldb::SBModule *)new lldb::SBModule(*arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -35120,7 +35159,7 @@ static int _wrap_new_SBModule(lua_State* L) { return _wrap_new_SBModule__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, SWIG_POINTER_NO_NULL)) { @@ -35134,7 +35173,7 @@ static int _wrap_new_SBModule(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) { @@ -35148,7 +35187,7 @@ static int _wrap_new_SBModule(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { @@ -35178,604 +35217,604 @@ static int _wrap_new_SBModule(lua_State* L) { static int _wrap_SBModule_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsValid",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_IsValid",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsValid",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_IsValid",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (bool)((lldb::SBModule const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBModule const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - - SWIG_check_num_args("lldb::SBModule::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::Clear",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_Clear",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + + SWIG_check_num_args("lldb::SBModule::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::Clear",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_Clear",1,SWIGTYPE_p_lldb__SBModule); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_IsFileBacked(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::IsFileBacked",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsFileBacked",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_IsFileBacked",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::IsFileBacked",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsFileBacked",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_IsFileBacked",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (bool)((lldb::SBModule const *)arg1)->IsFileBacked(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBModule const *)arg1)->IsFileBacked(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModule::GetFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetFileSpec",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - result = ((lldb::SBModule const *)arg1)->GetFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModule::GetFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetFileSpec",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + result = ((lldb::SBModule const *)arg1)->GetFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetPlatformFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModule::GetPlatformFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetPlatformFileSpec",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - result = ((lldb::SBModule const *)arg1)->GetPlatformFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModule::GetPlatformFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetPlatformFileSpec",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + result = ((lldb::SBModule const *)arg1)->GetPlatformFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_SetPlatformFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::SetPlatformFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModule_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::SetPlatformFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModule_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)(arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetRemoteInstallFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModule::GetRemoteInstallFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetRemoteInstallFileSpec",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - result = (arg1)->GetRemoteInstallFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModule::GetRemoteInstallFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetRemoteInstallFileSpec",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (arg1)->GetRemoteInstallFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_SetRemoteInstallFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::SetRemoteInstallFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",2,"lldb::SBFileSpec &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::SetRemoteInstallFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",2,"lldb::SBFileSpec &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (bool)(arg1)->SetRemoteInstallFileSpec(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SetRemoteInstallFileSpec(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetUUIDString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::GetUUIDString",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetUUIDString",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetUUIDString",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::GetUUIDString",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetUUIDString",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetUUIDString",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (char *)((lldb::SBModule const *)arg1)->GetUUIDString(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBModule const *)arg1)->GetUUIDString(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBModule *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::operator ==",1,"lldb::SBModule const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::operator ==",2,"lldb::SBModule const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule___eq",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule___eq",2,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBModule *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::operator ==",1,"lldb::SBModule const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::operator ==",2,"lldb::SBModule const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule___eq",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule___eq",2,SWIGTYPE_p_lldb__SBModule); + } + + result = (bool)((lldb::SBModule const *)arg1)->operator ==((lldb::SBModule const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBModule const *)arg1)->operator ==((lldb::SBModule const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindSection(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBModule::FindSection",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSection",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSection",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindSection",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindSection((char const *)arg2); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBModule::FindSection",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSection",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSection",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindSection",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindSection((char const *)arg2); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_ResolveFileAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::addr_t arg2 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBModule::ResolveFileAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->ResolveFileAddress(arg2); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::addr_t arg2 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBModule::ResolveFileAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->ResolveFileAddress(arg2); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_ResolveSymbolContextForAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBAddress *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBModule::ResolveSymbolContextForAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBAddress *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBModule::ResolveSymbolContextForAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModule::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetDescription",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetDescription",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBModule_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModule::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetDescription",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetDescription",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBModule_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetNumCompileUnits(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBModule::GetNumCompileUnits",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumCompileUnits",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetNumCompileUnits",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBModule::GetNumCompileUnits",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumCompileUnits",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetNumCompileUnits",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (uint32_t)(arg1)->GetNumCompileUnits(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumCompileUnits(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetCompileUnitAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - uint32_t arg2 ; - lldb::SBCompileUnit result; - - SWIG_check_num_args("lldb::SBModule::GetCompileUnitAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetCompileUnitAtIndex",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetCompileUnitAtIndex(arg2); { - lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit((const lldb::SBCompileUnit &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + uint32_t arg2 ; + lldb::SBCompileUnit result; + + SWIG_check_num_args("lldb::SBModule::GetCompileUnitAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetCompileUnitAtIndex",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetCompileUnitAtIndex(arg2); + { + lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindCompileUnits(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBModule::FindCompileUnits",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindCompileUnits",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModule_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBModule::FindCompileUnits",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindCompileUnits",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModule_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetNumSymbols(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBModule::GetNumSymbols",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSymbols",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetNumSymbols",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBModule::GetNumSymbols",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSymbols",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetNumSymbols",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (arg1)->GetNumSymbols(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetNumSymbols(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetSymbolAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - size_t arg2 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBModule::GetSymbolAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetSymbolAtIndex",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetSymbolAtIndex(arg2); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + size_t arg2 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBModule::GetSymbolAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetSymbolAtIndex",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetSymbolAtIndex(arg2); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindSymbol__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SymbolType arg3 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBModule::FindSymbol",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbol",3,"lldb::SymbolType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::SymbolType)lua_tointeger(L, 3); - result = (arg1)->FindSymbol((char const *)arg2,arg3); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SymbolType arg3 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBModule::FindSymbol",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbol",3,"lldb::SymbolType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::SymbolType)lua_tointeger(L, 3); + result = (arg1)->FindSymbol((char const *)arg2,arg3); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindSymbol__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBModule::FindSymbol",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindSymbol((char const *)arg2); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBModule::FindSymbol",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindSymbol((char const *)arg2); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -35787,7 +35826,7 @@ static int _wrap_SBModule_FindSymbol(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -35806,7 +35845,7 @@ static int _wrap_SBModule_FindSymbol(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -35839,65 +35878,65 @@ static int _wrap_SBModule_FindSymbol(lua_State* L) { static int _wrap_SBModule_FindSymbols__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SymbolType arg3 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBModule::FindSymbols",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbols",3,"lldb::SymbolType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::SymbolType)lua_tointeger(L, 3); - result = (arg1)->FindSymbols((char const *)arg2,arg3); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SymbolType arg3 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBModule::FindSymbols",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbols",3,"lldb::SymbolType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::SymbolType)lua_tointeger(L, 3); + result = (arg1)->FindSymbols((char const *)arg2,arg3); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindSymbols__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBModule::FindSymbols",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindSymbols((char const *)arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBModule::FindSymbols",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindSymbols((char const *)arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -35909,7 +35948,7 @@ static int _wrap_SBModule_FindSymbols(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -35928,7 +35967,7 @@ static int _wrap_SBModule_FindSymbols(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -35961,119 +36000,119 @@ static int _wrap_SBModule_FindSymbols(lua_State* L) { static int _wrap_SBModule_GetNumSections(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBModule::GetNumSections",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSections",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetNumSections",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBModule::GetNumSections",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSections",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetNumSections",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (arg1)->GetNumSections(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetNumSections(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetSectionAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - size_t arg2 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBModule::GetSectionAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetSectionAtIndex",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetSectionAtIndex(arg2); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + size_t arg2 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBModule::GetSectionAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetSectionAtIndex",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetSectionAtIndex(arg2); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindFunctions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBModule::FindFunctions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindFunctions",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->FindFunctions((char const *)arg2,arg3); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBModule::FindFunctions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindFunctions",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->FindFunctions((char const *)arg2,arg3); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindFunctions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBModule::FindFunctions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindFunctions((char const *)arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBModule::FindFunctions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindFunctions((char const *)arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -36085,7 +36124,7 @@ static int _wrap_SBModule_FindFunctions(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -36104,7 +36143,7 @@ static int _wrap_SBModule_FindFunctions(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -36137,179 +36176,179 @@ static int _wrap_SBModule_FindFunctions(lua_State* L) { static int _wrap_SBModule_FindFirstType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBModule::FindFirstType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstType",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstType",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindFirstType",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindFirstType((char const *)arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBModule::FindFirstType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstType",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstType",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindFirstType",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindFirstType((char const *)arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindTypes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBModule::FindTypes",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindTypes",1,"lldb::SBModule *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindTypes",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindTypes",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindTypes((char const *)arg2); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBModule::FindTypes",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindTypes",1,"lldb::SBModule *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindTypes",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindTypes",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindTypes((char const *)arg2); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetTypeByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::user_id_t arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBModule::GetTypeByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",2,"lldb::user_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetTypeByID",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (lldb::user_id_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeByID(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::user_id_t arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBModule::GetTypeByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",2,"lldb::user_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetTypeByID",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (lldb::user_id_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeByID(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetBasicType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::BasicType arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBModule::GetBasicType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetBasicType",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetBasicType",2,"lldb::BasicType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetBasicType",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (lldb::BasicType)lua_tointeger(L, 2); - result = (arg1)->GetBasicType(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::BasicType arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBModule::GetBasicType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetBasicType",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetBasicType",2,"lldb::BasicType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetBasicType",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (lldb::BasicType)lua_tointeger(L, 2); + result = (arg1)->GetBasicType(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetTypes__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - uint32_t arg2 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBModule::GetTypes",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypes",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypes(arg2); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + uint32_t arg2 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBModule::GetTypes",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypes",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypes(arg2); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetTypes__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBModule::GetTypes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule); - } - - result = (arg1)->GetTypes(); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBModule::GetTypes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (arg1)->GetTypes(); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -36321,7 +36360,7 @@ static int _wrap_SBModule_GetTypes(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -36335,7 +36374,7 @@ static int _wrap_SBModule_GetTypes(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) { @@ -36363,332 +36402,332 @@ static int _wrap_SBModule_GetTypes(lua_State* L) { static int _wrap_SBModule_FindGlobalVariables(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBTarget *arg2 = 0 ; - char *arg3 = (char *) 0 ; - uint32_t arg4 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBModule::FindGlobalVariables",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",2,"lldb::SBTarget &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",3,"char const *"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",4,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBModule_FindGlobalVariables",2,SWIGTYPE_p_lldb__SBTarget); - } - - arg3 = (char *)lua_tostring(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - result = (arg1)->FindGlobalVariables(*arg2,(char const *)arg3,arg4); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBTarget *arg2 = 0 ; + char *arg3 = (char *) 0 ; + uint32_t arg4 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBModule::FindGlobalVariables",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",2,"lldb::SBTarget &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",3,"char const *"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",4,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBModule_FindGlobalVariables",2,SWIGTYPE_p_lldb__SBTarget); + } + + arg3 = (char *)lua_tostring(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + result = (arg1)->FindGlobalVariables(*arg2,(char const *)arg3,arg4); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_FindFirstGlobalVariable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBTarget *arg2 = 0 ; - char *arg3 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBModule::FindFirstGlobalVariable",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",1,"lldb::SBModule *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",2,"lldb::SBTarget &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBModule); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",2,SWIGTYPE_p_lldb__SBTarget); - } - - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->FindFirstGlobalVariable(*arg2,(char const *)arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBTarget *arg2 = 0 ; + char *arg3 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBModule::FindFirstGlobalVariable",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",1,"lldb::SBModule *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",2,"lldb::SBTarget &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBModule); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",2,SWIGTYPE_p_lldb__SBTarget); + } + + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->FindFirstGlobalVariable(*arg2,(char const *)arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetByteOrder(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::ByteOrder result; - - SWIG_check_num_args("lldb::SBModule::GetByteOrder",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetByteOrder",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetByteOrder",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::ByteOrder result; + + SWIG_check_num_args("lldb::SBModule::GetByteOrder",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetByteOrder",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetByteOrder",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (lldb::ByteOrder)(arg1)->GetByteOrder(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ByteOrder)(arg1)->GetByteOrder(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetAddressByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBModule::GetAddressByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetAddressByteSize",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBModule::GetAddressByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetAddressByteSize",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (uint32_t)(arg1)->GetAddressByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetAddressByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBModule::GetTriple",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTriple",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetTriple",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBModule::GetTriple",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTriple",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetTriple",1,SWIGTYPE_p_lldb__SBModule); + } + + result = (char *)(arg1)->GetTriple(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTriple(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetVersion(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - uint32_t *arg2 = (uint32_t *) 0 ; - uint32_t arg3 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBModule::GetVersion",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetVersion",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetVersion",1,SWIGTYPE_p_lldb__SBModule); - } - { - arg3 = 99; - arg2 = (uint32_t *)malloc(sizeof(uint32_t) * arg3); - } - result = (uint32_t)(arg1)->GetVersion(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - uint32_t count = result; - if (count >= arg3) - count = arg3; - lua_newtable(L); - int i = 0; - while (i++ < count) { - lua_pushinteger(L, arg2[i - 1]); - lua_seti(L, -2, i); + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + uint32_t *arg2 = (uint32_t *) 0 ; + uint32_t arg3 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBModule::GetVersion",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetVersion",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetVersion",1,SWIGTYPE_p_lldb__SBModule); + } + + { + arg3 = 99; + arg2 = (uint32_t *)malloc(sizeof(uint32_t) * arg3); } - SWIG_arg++; - free(arg2); + result = (uint32_t)(arg1)->GetVersion(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + uint32_t count = result; + if (count >= arg3) + count = arg3; + lua_newtable(L); + int i = 0; + while (i++ < count) { + lua_pushinteger(L, arg2[i - 1]); + lua_seti(L, -2, i); + } + SWIG_arg++; + free(arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetSymbolFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModule::GetSymbolFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolFileSpec",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModule); - } - - result = ((lldb::SBModule const *)arg1)->GetSymbolFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModule::GetSymbolFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolFileSpec",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModule); + } + + result = ((lldb::SBModule const *)arg1)->GetSymbolFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetObjectFileHeaderAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBModule::GetObjectFileHeaderAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileHeaderAddress",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetObjectFileHeaderAddress",1,SWIGTYPE_p_lldb__SBModule); - } - - result = ((lldb::SBModule const *)arg1)->GetObjectFileHeaderAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBModule::GetObjectFileHeaderAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileHeaderAddress",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetObjectFileHeaderAddress",1,SWIGTYPE_p_lldb__SBModule); + } + + result = ((lldb::SBModule const *)arg1)->GetObjectFileHeaderAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetObjectFileEntryPointAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBModule::GetObjectFileEntryPointAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileEntryPointAddress",1,"lldb::SBModule const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule_GetObjectFileEntryPointAddress",1,SWIGTYPE_p_lldb__SBModule); - } - - result = ((lldb::SBModule const *)arg1)->GetObjectFileEntryPointAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBModule::GetObjectFileEntryPointAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileEntryPointAddress",1,"lldb::SBModule const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule_GetObjectFileEntryPointAddress",1,SWIGTYPE_p_lldb__SBModule); + } + + result = ((lldb::SBModule const *)arg1)->GetObjectFileEntryPointAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GetNumberAllocatedModules(lua_State* L) { - int SWIG_arg = 0; - uint32_t result; - - SWIG_check_num_args("lldb::SBModule::GetNumberAllocatedModules",0,0) - result = (uint32_t)lldb::SBModule::GetNumberAllocatedModules(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + uint32_t result; + + SWIG_check_num_args("lldb::SBModule::GetNumberAllocatedModules",0,0) + result = (uint32_t)lldb::SBModule::GetNumberAllocatedModules(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule_GarbageCollectAllocatedModules(lua_State* L) { - int SWIG_arg = 0; - - SWIG_check_num_args("lldb::SBModule::GarbageCollectAllocatedModules",0,0) - lldb::SBModule::GarbageCollectAllocatedModules(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + + SWIG_check_num_args("lldb::SBModule::GarbageCollectAllocatedModules",0,0) + lldb::SBModule::GarbageCollectAllocatedModules(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModule___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBModule::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::__repr__",1,"lldb::SBModule *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBModule___tostring",1,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBModule *arg1 = (lldb::SBModule *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBModule::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::__repr__",1,"lldb::SBModule *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBModule___tostring",1,SWIGTYPE_p_lldb__SBModule); + } + + result = lldb_SBModule___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBModule___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -36783,43 +36822,43 @@ static const char *swig_SBModule_base_names[] = {0}; static swig_lua_class _wrap_class_SBModule = { "SBModule", "SBModule", &SWIGTYPE_p_lldb__SBModule,_proxy__wrap_new_SBModule, swig_delete_SBModule, swig_SBModule_methods, swig_SBModule_attributes, &swig_SBModule_Sf_SwigStatic, swig_SBModule_meta, swig_SBModule_bases, swig_SBModule_base_names }; static int _wrap_new_SBModuleSpec__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",0,0) - result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBModuleSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",0,0) + result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBModuleSpec__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = 0 ; - lldb::SBModuleSpec *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SBModuleSpec",1,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("new_SBModuleSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = 0 ; + lldb::SBModuleSpec *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SBModuleSpec",1,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("new_SBModuleSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec((lldb::SBModuleSpec const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec((lldb::SBModuleSpec const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -36834,7 +36873,7 @@ static int _wrap_new_SBModuleSpec(lua_State* L) { return _wrap_new_SBModuleSpec__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) { @@ -36857,457 +36896,457 @@ static int _wrap_new_SBModuleSpec(lua_State* L) { static int _wrap_SBModuleSpec_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModuleSpec::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::IsValid",1,"lldb::SBModuleSpec const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_IsValid",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModuleSpec::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::IsValid",1,"lldb::SBModuleSpec const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_IsValid",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (bool)((lldb::SBModuleSpec const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBModuleSpec const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::Clear",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_Clear",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::Clear",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_Clear",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModuleSpec::GetFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetFileSpec",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->GetFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModuleSpec::GetFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetFileSpec",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->GetFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SetFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",1,"lldb::SBModuleSpec *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SetFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",1,"lldb::SBModuleSpec *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + (arg1)->SetFileSpec((lldb::SBFileSpec const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetFileSpec((lldb::SBFileSpec const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetPlatformFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModuleSpec::GetPlatformFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetPlatformFileSpec",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->GetPlatformFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModuleSpec::GetPlatformFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetPlatformFileSpec",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->GetPlatformFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetPlatformFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SetPlatformFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",1,"lldb::SBModuleSpec *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SetPlatformFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",1,"lldb::SBModuleSpec *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + (arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetSymbolFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBModuleSpec::GetSymbolFileSpec",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetSymbolFileSpec",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->GetSymbolFileSpec(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBModuleSpec::GetSymbolFileSpec",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetSymbolFileSpec",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->GetSymbolFileSpec(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetSymbolFileSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SetSymbolFileSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",1,"lldb::SBModuleSpec *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SetSymbolFileSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",1,"lldb::SBModuleSpec *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + (arg1)->SetSymbolFileSpec((lldb::SBFileSpec const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetSymbolFileSpec((lldb::SBFileSpec const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetObjectName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::GetObjectName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetObjectName",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::GetObjectName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetObjectName",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (char *)(arg1)->GetObjectName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetObjectName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetObjectName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SetObjectName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",1,"lldb::SBModuleSpec *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SetObjectName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",1,"lldb::SBModuleSpec *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetObjectName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetObjectName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::GetTriple",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetTriple",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::GetTriple",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetTriple",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (char *)(arg1)->GetTriple(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTriple(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::SetTriple",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",1,"lldb::SBModuleSpec *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::SetTriple",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",1,"lldb::SBModuleSpec *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetTriple((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetTriple((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetUUIDBytes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - uint8_t *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDBytes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDBytes",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + uint8_t *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDBytes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDBytes",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (uint8_t *)(arg1)->GetUUIDBytes(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_unsigned_char,0); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint8_t *)(arg1)->GetUUIDBytes(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_unsigned_char,0); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetUUIDLength(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDLength",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDLength",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetUUIDLength",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDLength",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDLength",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetUUIDLength",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->GetUUIDLength(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetUUIDLength(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_SetUUIDBytes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - uint8_t *arg2 = (uint8_t *) 0 ; - size_t arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBModuleSpec::SetUUIDBytes",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",1,"lldb::SBModuleSpec *"); - if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",2,"uint8_t const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",3,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ - SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",2,SWIGTYPE_p_unsigned_char); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + uint8_t *arg2 = (uint8_t *) 0 ; + size_t arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBModuleSpec::SetUUIDBytes",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",1,"lldb::SBModuleSpec *"); + if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",2,"uint8_t const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",3,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){ + SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",2,SWIGTYPE_p_unsigned_char); + } + + arg3 = (size_t)lua_tointeger(L, 3); + result = (bool)(arg1)->SetUUIDBytes((uint8_t const *)arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (size_t)lua_tointeger(L, 3); - result = (bool)(arg1)->SetUUIDBytes((uint8_t const *)arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModuleSpec::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",1,"lldb::SBModuleSpec *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBModuleSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModuleSpec::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",1,"lldb::SBModuleSpec *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBModuleSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpec___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBModuleSpec::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::__repr__",1,"lldb::SBModuleSpec *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpec___tostring",1,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBModuleSpec::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::__repr__",1,"lldb::SBModuleSpec *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpec___tostring",1,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = lldb_SBModuleSpec___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBModuleSpec___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -37377,43 +37416,43 @@ static const char *swig_SBModuleSpec_base_names[] = {0}; static swig_lua_class _wrap_class_SBModuleSpec = { "SBModuleSpec", "SBModuleSpec", &SWIGTYPE_p_lldb__SBModuleSpec,_proxy__wrap_new_SBModuleSpec, swig_delete_SBModuleSpec, swig_SBModuleSpec_methods, swig_SBModuleSpec_attributes, &swig_SBModuleSpec_Sf_SwigStatic, swig_SBModuleSpec_meta, swig_SBModuleSpec_bases, swig_SBModuleSpec_base_names }; static int _wrap_new_SBModuleSpecList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",0,0) - result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",0,0) + result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBModuleSpecList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = 0 ; - lldb::SBModuleSpecList *result = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::SBModuleSpecList",1,"lldb::SBModuleSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("new_SBModuleSpecList",1,SWIGTYPE_p_lldb__SBModuleSpecList); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = 0 ; + lldb::SBModuleSpecList *result = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::SBModuleSpecList",1,"lldb::SBModuleSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("new_SBModuleSpecList",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList((lldb::SBModuleSpecList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList((lldb::SBModuleSpecList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -37428,7 +37467,7 @@ static int _wrap_new_SBModuleSpecList(lua_State* L) { return _wrap_new_SBModuleSpecList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, SWIG_POINTER_NO_NULL)) { @@ -37451,85 +37490,85 @@ static int _wrap_new_SBModuleSpecList(lua_State* L) { static int _wrap_SBModuleSpecList_GetModuleSpecifications(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBModuleSpecList result; - - SWIG_check_num_args("lldb::SBModuleSpecList::GetModuleSpecifications",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetModuleSpecifications",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBModuleSpecList::GetModuleSpecifications((char const *)arg1); { - lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList((const lldb::SBModuleSpecList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBModuleSpecList result; + + SWIG_check_num_args("lldb::SBModuleSpecList::GetModuleSpecifications",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetModuleSpecifications",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBModuleSpecList::GetModuleSpecifications((char const *)arg1); + { + lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_Append__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - lldb::SBModuleSpec *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpec); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + lldb::SBModuleSpec *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpec); + } + + (arg1)->Append((lldb::SBModuleSpec const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBModuleSpec const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_Append__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - lldb::SBModuleSpecList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpecList); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + lldb::SBModuleSpecList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + (arg1)->Append((lldb::SBModuleSpecList const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBModuleSpecList const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -37541,7 +37580,7 @@ static int _wrap_SBModuleSpecList_Append(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, 0)) { @@ -37565,7 +37604,7 @@ static int _wrap_SBModuleSpecList_Append(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, 0)) { @@ -37598,179 +37637,179 @@ static int _wrap_SBModuleSpecList_Append(lua_State* L) { static int _wrap_SBModuleSpecList_FindFirstMatchingSpec(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - lldb::SBModuleSpec *arg2 = 0 ; - lldb::SBModuleSpec result; - - SWIG_check_num_args("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",1,"lldb::SBModuleSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",2,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->FindFirstMatchingSpec((lldb::SBModuleSpec const &)*arg2); { - lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec((const lldb::SBModuleSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + lldb::SBModuleSpec *arg2 = 0 ; + lldb::SBModuleSpec result; + + SWIG_check_num_args("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",1,"lldb::SBModuleSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",2,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->FindFirstMatchingSpec((lldb::SBModuleSpec const &)*arg2); + { + lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_FindMatchingSpecs(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - lldb::SBModuleSpec *arg2 = 0 ; - lldb::SBModuleSpecList result; - - SWIG_check_num_args("lldb::SBModuleSpecList::FindMatchingSpecs",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",1,"lldb::SBModuleSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",2,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",2,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->FindMatchingSpecs((lldb::SBModuleSpec const &)*arg2); { - lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList((const lldb::SBModuleSpecList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + lldb::SBModuleSpec *arg2 = 0 ; + lldb::SBModuleSpecList result; + + SWIG_check_num_args("lldb::SBModuleSpecList::FindMatchingSpecs",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",1,"lldb::SBModuleSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",2,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",2,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->FindMatchingSpecs((lldb::SBModuleSpec const &)*arg2); + { + lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBModuleSpecList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSize",1,"lldb::SBModuleSpecList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_GetSize",1,SWIGTYPE_p_lldb__SBModuleSpecList); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBModuleSpecList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSize",1,"lldb::SBModuleSpecList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_GetSize",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + result = (arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_GetSpecAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - size_t arg2 ; - lldb::SBModuleSpec result; - - SWIG_check_num_args("lldb::SBModuleSpecList::GetSpecAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",1,"lldb::SBModuleSpecList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_GetSpecAtIndex",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetSpecAtIndex(arg2); { - lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec((const lldb::SBModuleSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + size_t arg2 ; + lldb::SBModuleSpec result; + + SWIG_check_num_args("lldb::SBModuleSpecList::GetSpecAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",1,"lldb::SBModuleSpecList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_GetSpecAtIndex",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetSpecAtIndex(arg2); + { + lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBModuleSpecList::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",1,"lldb::SBModuleSpecList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBModuleSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBModuleSpecList::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",1,"lldb::SBModuleSpecList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBModuleSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBModuleSpecList___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBModuleSpecList::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::__repr__",1,"lldb::SBModuleSpecList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ - SWIG_fail_ptr("SBModuleSpecList___tostring",1,SWIGTYPE_p_lldb__SBModuleSpecList); + { + int SWIG_arg = 0; + lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBModuleSpecList::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::__repr__",1,"lldb::SBModuleSpecList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){ + SWIG_fail_ptr("SBModuleSpecList___tostring",1,SWIGTYPE_p_lldb__SBModuleSpecList); + } + + result = lldb_SBModuleSpecList___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBModuleSpecList___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -37831,46 +37870,46 @@ static const char *swig_SBModuleSpecList_base_names[] = {0}; static swig_lua_class _wrap_class_SBModuleSpecList = { "SBModuleSpecList", "SBModuleSpecList", &SWIGTYPE_p_lldb__SBModuleSpecList,_proxy__wrap_new_SBModuleSpecList, swig_delete_SBModuleSpecList, swig_SBModuleSpecList_methods, swig_SBModuleSpecList_attributes, &swig_SBModuleSpecList_Sf_SwigStatic, swig_SBModuleSpecList_meta, swig_SBModuleSpecList_bases, swig_SBModuleSpecList_base_names }; static int _wrap_new_SBPlatformConnectOptions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBPlatformConnectOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBPlatformConnectOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBPlatformConnectOptions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = 0 ; - lldb::SBPlatformConnectOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"lldb::SBPlatformConnectOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("new_SBPlatformConnectOptions",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = 0 ; + lldb::SBPlatformConnectOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"lldb::SBPlatformConnectOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("new_SBPlatformConnectOptions",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((lldb::SBPlatformConnectOptions const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((lldb::SBPlatformConnectOptions const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -37882,7 +37921,7 @@ static int _wrap_new_SBPlatformConnectOptions(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatformConnectOptions, SWIG_POINTER_NO_NULL)) { @@ -37896,7 +37935,7 @@ static int _wrap_new_SBPlatformConnectOptions(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -37914,181 +37953,181 @@ static int _wrap_new_SBPlatformConnectOptions(lua_State* L) { static int _wrap_SBPlatformConnectOptions_GetURL(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetURL",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetURL",1,"lldb::SBPlatformConnectOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_GetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetURL",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetURL",1,"lldb::SBPlatformConnectOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_GetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + result = (char *)(arg1)->GetURL(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetURL(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_SetURL(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetURL",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",1,"lldb::SBPlatformConnectOptions *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_SetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetURL",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",1,"lldb::SBPlatformConnectOptions *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_SetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetURL((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetURL((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_GetRsyncEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,"lldb::SBPlatformConnectOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_GetRsyncEnabled",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,"lldb::SBPlatformConnectOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_GetRsyncEnabled",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + result = (bool)(arg1)->GetRsyncEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetRsyncEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_EnableRsync(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - bool arg4 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::EnableRsync",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",1,"lldb::SBPlatformConnectOptions *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",3,"char const *"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_EnableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + bool arg4 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::EnableRsync",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",1,"lldb::SBPlatformConnectOptions *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",3,"char const *"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_EnableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + (arg1)->EnableRsync((char const *)arg2,(char const *)arg3,arg4); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - (arg1)->EnableRsync((char const *)arg2,(char const *)arg3,arg4); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_DisableRsync(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::DisableRsync",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::DisableRsync",1,"lldb::SBPlatformConnectOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_DisableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::DisableRsync",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::DisableRsync",1,"lldb::SBPlatformConnectOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_DisableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + (arg1)->DisableRsync(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->DisableRsync(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_GetLocalCacheDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_GetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_GetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + result = (char *)(arg1)->GetLocalCacheDirectory(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetLocalCacheDirectory(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformConnectOptions_SetLocalCacheDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatformConnectOptions_SetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + { + int SWIG_arg = 0; + lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatformConnectOptions_SetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetLocalCacheDirectory((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetLocalCacheDirectory((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -38147,69 +38186,69 @@ static const char *swig_SBPlatformConnectOptions_base_names[] = {0}; static swig_lua_class _wrap_class_SBPlatformConnectOptions = { "SBPlatformConnectOptions", "SBPlatformConnectOptions", &SWIGTYPE_p_lldb__SBPlatformConnectOptions,_proxy__wrap_new_SBPlatformConnectOptions, swig_delete_SBPlatformConnectOptions, swig_SBPlatformConnectOptions_methods, swig_SBPlatformConnectOptions_attributes, &swig_SBPlatformConnectOptions_Sf_SwigStatic, swig_SBPlatformConnectOptions_meta, swig_SBPlatformConnectOptions_bases, swig_SBPlatformConnectOptions_base_names }; static int _wrap_new_SBPlatformShellCommand__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBPlatformShellCommand *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1,(char const *)arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBPlatformShellCommand *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1,(char const *)arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBPlatformShellCommand__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBPlatformShellCommand *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBPlatformShellCommand *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBPlatformShellCommand__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = 0 ; - lldb::SBPlatformShellCommand *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"lldb::SBPlatformShellCommand const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("new_SBPlatformShellCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = 0 ; + lldb::SBPlatformShellCommand *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"lldb::SBPlatformShellCommand const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("new_SBPlatformShellCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((lldb::SBPlatformShellCommand const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((lldb::SBPlatformShellCommand const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -38221,7 +38260,7 @@ static int _wrap_new_SBPlatformShellCommand(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatformShellCommand, SWIG_POINTER_NO_NULL)) { @@ -38235,7 +38274,7 @@ static int _wrap_new_SBPlatformShellCommand(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -38244,7 +38283,7 @@ static int _wrap_new_SBPlatformShellCommand(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -38268,297 +38307,297 @@ static int _wrap_new_SBPlatformShellCommand(lua_State* L) { static int _wrap_SBPlatformShellCommand_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::Clear",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_Clear",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::Clear",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_Clear",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetShell(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetShell",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetShell",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetShell",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetShell",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (char *)(arg1)->GetShell(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetShell(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_SetShell(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SetShell",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",1,"lldb::SBPlatformShellCommand *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_SetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SetShell",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",1,"lldb::SBPlatformShellCommand *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_SetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetShell((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetShell((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetCommand(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetCommand",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetCommand",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetCommand",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetCommand",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (char *)(arg1)->GetCommand(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetCommand(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_SetCommand(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SetCommand",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",1,"lldb::SBPlatformShellCommand *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_SetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SetCommand",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",1,"lldb::SBPlatformShellCommand *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_SetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetCommand((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetCommand((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (char *)(arg1)->GetWorkingDirectory(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetWorkingDirectory(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_SetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",1,"lldb::SBPlatformShellCommand *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",1,"lldb::SBPlatformShellCommand *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetWorkingDirectory((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetWorkingDirectory((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetTimeoutSeconds(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (uint32_t)(arg1)->GetTimeoutSeconds(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetTimeoutSeconds(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_SetTimeoutSeconds(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_SetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_SetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetTimeoutSeconds(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetTimeoutSeconds(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetSignal(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetSignal",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetSignal",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetSignal",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetSignal",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetSignal",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetSignal",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (int)(arg1)->GetSignal(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->GetSignal(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetStatus",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetStatus",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetStatus",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetStatus",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetStatus",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetStatus",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (int)(arg1)->GetStatus(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->GetStatus(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatformShellCommand_GetOutput(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatformShellCommand::GetOutput",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetOutput",1,"lldb::SBPlatformShellCommand *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatformShellCommand_GetOutput",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + { + int SWIG_arg = 0; + lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatformShellCommand::GetOutput",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetOutput",1,"lldb::SBPlatformShellCommand *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatformShellCommand_GetOutput",1,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (char *)(arg1)->GetOutput(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetOutput(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -38622,39 +38661,39 @@ static const char *swig_SBPlatformShellCommand_base_names[] = {0}; static swig_lua_class _wrap_class_SBPlatformShellCommand = { "SBPlatformShellCommand", "SBPlatformShellCommand", &SWIGTYPE_p_lldb__SBPlatformShellCommand,_proxy__wrap_new_SBPlatformShellCommand, swig_delete_SBPlatformShellCommand, swig_SBPlatformShellCommand_methods, swig_SBPlatformShellCommand_attributes, &swig_SBPlatformShellCommand_Sf_SwigStatic, swig_SBPlatformShellCommand_meta, swig_SBPlatformShellCommand_bases, swig_SBPlatformShellCommand_base_names }; static int _wrap_new_SBPlatform__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::SBPlatform",0,0) - result = (lldb::SBPlatform *)new lldb::SBPlatform(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBPlatform *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::SBPlatform",0,0) + result = (lldb::SBPlatform *)new lldb::SBPlatform(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBPlatform__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBPlatform *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::SBPlatform",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatform::SBPlatform",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBPlatform *)new lldb::SBPlatform((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBPlatform *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::SBPlatform",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatform::SBPlatform",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBPlatform *)new lldb::SBPlatform((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -38669,7 +38708,7 @@ static int _wrap_new_SBPlatform(lua_State* L) { return _wrap_new_SBPlatform__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -38687,703 +38726,703 @@ static int _wrap_new_SBPlatform(lua_State* L) { static int _wrap_SBPlatform_GetHostPlatform(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform result; - - SWIG_check_num_args("lldb::SBPlatform::GetHostPlatform",0,0) - result = lldb::SBPlatform::GetHostPlatform(); { - lldb::SBPlatform * resultptr = new lldb::SBPlatform((const lldb::SBPlatform &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform result; + + SWIG_check_num_args("lldb::SBPlatform::GetHostPlatform",0,0) + result = lldb::SBPlatform::GetHostPlatform(); + { + lldb::SBPlatform * resultptr = new lldb::SBPlatform(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBPlatform::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsValid",1,"lldb::SBPlatform const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_IsValid",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBPlatform::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsValid",1,"lldb::SBPlatform const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_IsValid",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (bool)((lldb::SBPlatform const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBPlatform const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - - SWIG_check_num_args("lldb::SBPlatform::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Clear",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Clear",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + + SWIG_check_num_args("lldb::SBPlatform::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Clear",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Clear",1,SWIGTYPE_p_lldb__SBPlatform); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetWorkingDirectory",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetWorkingDirectory",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetWorkingDirectory",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetWorkingDirectory",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetWorkingDirectory(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetWorkingDirectory(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_SetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBPlatform::SetWorkingDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBPlatform::SetWorkingDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->SetWorkingDirectory((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->SetWorkingDirectory((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetName",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetName",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetName",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetName",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_ConnectRemote(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBPlatformConnectOptions *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::ConnectRemote",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",2,"lldb::SBPlatformConnectOptions &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_ConnectRemote",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ - SWIG_fail_ptr("SBPlatform_ConnectRemote",2,SWIGTYPE_p_lldb__SBPlatformConnectOptions); - } - - result = (arg1)->ConnectRemote(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBPlatformConnectOptions *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::ConnectRemote",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",2,"lldb::SBPlatformConnectOptions &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_ConnectRemote",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){ + SWIG_fail_ptr("SBPlatform_ConnectRemote",2,SWIGTYPE_p_lldb__SBPlatformConnectOptions); + } + + result = (arg1)->ConnectRemote(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_DisconnectRemote(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - - SWIG_check_num_args("lldb::SBPlatform::DisconnectRemote",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::DisconnectRemote",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_DisconnectRemote",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + + SWIG_check_num_args("lldb::SBPlatform::DisconnectRemote",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::DisconnectRemote",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_DisconnectRemote",1,SWIGTYPE_p_lldb__SBPlatform); + } + + (arg1)->DisconnectRemote(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->DisconnectRemote(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_IsConnected(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBPlatform::IsConnected",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsConnected",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_IsConnected",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBPlatform::IsConnected",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsConnected",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_IsConnected",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (bool)(arg1)->IsConnected(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsConnected(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetTriple",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetTriple",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetTriple",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetTriple",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetTriple",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetTriple",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetTriple(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTriple(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetHostname(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetHostname",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetHostname",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetHostname",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetHostname",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetHostname",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetHostname",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetHostname(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetHostname(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetOSBuild(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetOSBuild",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSBuild",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetOSBuild",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetOSBuild",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSBuild",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetOSBuild",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetOSBuild(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetOSBuild(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetOSDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBPlatform::GetOSDescription",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSDescription",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetOSDescription",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBPlatform::GetOSDescription",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSDescription",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetOSDescription",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (char *)(arg1)->GetOSDescription(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetOSDescription(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetOSMajorVersion(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBPlatform::GetOSMajorVersion",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMajorVersion",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetOSMajorVersion",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBPlatform::GetOSMajorVersion",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMajorVersion",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetOSMajorVersion",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (uint32_t)(arg1)->GetOSMajorVersion(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOSMajorVersion(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetOSMinorVersion(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBPlatform::GetOSMinorVersion",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMinorVersion",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetOSMinorVersion",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBPlatform::GetOSMinorVersion",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMinorVersion",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetOSMinorVersion",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (uint32_t)(arg1)->GetOSMinorVersion(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOSMinorVersion(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetOSUpdateVersion(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBPlatform::GetOSUpdateVersion",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSUpdateVersion",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetOSUpdateVersion",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBPlatform::GetOSUpdateVersion",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSUpdateVersion",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetOSUpdateVersion",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (uint32_t)(arg1)->GetOSUpdateVersion(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOSUpdateVersion(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_SetSDKRoot(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBPlatform::SetSDKRoot",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_SetSDKRoot",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBPlatform::SetSDKRoot",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_SetSDKRoot",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetSDKRoot((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetSDKRoot((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Get(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Get",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Get",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Get",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Get",3,"lldb::SBFileSpec &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Get",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Get",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Get",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->Get(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Get",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Get",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Get",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Get",3,"lldb::SBFileSpec &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Get",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Get",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Get",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->Get(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Put(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Put",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Put",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Put",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Put",3,"lldb::SBFileSpec &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Put",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Put",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Put",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->Put(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Put",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Put",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Put",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Put",3,"lldb::SBFileSpec &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Put",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Put",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Put",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->Put(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Install(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Install",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Install",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Install",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Install",3,"lldb::SBFileSpec &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Install",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Install",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBPlatform_Install",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->Install(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Install",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Install",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Install",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Install",3,"lldb::SBFileSpec &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Install",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Install",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBPlatform_Install",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->Install(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Run(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBPlatformShellCommand *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Run",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Run",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Run",2,"lldb::SBPlatformShellCommand &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Run",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ - SWIG_fail_ptr("SBPlatform_Run",2,SWIGTYPE_p_lldb__SBPlatformShellCommand); - } - - result = (arg1)->Run(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBPlatformShellCommand *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Run",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Run",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Run",2,"lldb::SBPlatformShellCommand &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Run",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){ + SWIG_fail_ptr("SBPlatform_Run",2,SWIGTYPE_p_lldb__SBPlatformShellCommand); + } + + result = (arg1)->Run(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Launch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBLaunchInfo *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Launch",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Launch",1,"lldb::SBPlatform *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Launch",2,"lldb::SBLaunchInfo &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Launch",1,SWIGTYPE_p_lldb__SBPlatform); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBPlatform_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - result = (arg1)->Launch(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBLaunchInfo *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Launch",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Launch",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Launch",2,"lldb::SBLaunchInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Launch",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBPlatform_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + result = (arg1)->Launch(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_Kill(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::pid_t arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::Kill",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Kill",1,"lldb::SBPlatform *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatform::Kill",2,"lldb::pid_t const"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_Kill",1,SWIGTYPE_p_lldb__SBPlatform); - } - - arg2 = (lldb::pid_t const)lua_tointeger(L, 2); - result = (arg1)->Kill(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::pid_t arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::Kill",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Kill",1,"lldb::SBPlatform *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatform::Kill",2,"lldb::pid_t const"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Kill",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (lldb::pid_t const)lua_tointeger(L, 2); + result = (arg1)->Kill(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_MakeDirectory__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->MakeDirectory((char const *)arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->MakeDirectory((char const *)arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_MakeDirectory__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->MakeDirectory((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->MakeDirectory((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -39395,7 +39434,7 @@ static int _wrap_SBPlatform_MakeDirectory(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatform, 0)) { @@ -39414,7 +39453,7 @@ static int _wrap_SBPlatform_MakeDirectory(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatform, 0)) { @@ -39447,116 +39486,116 @@ static int _wrap_SBPlatform_MakeDirectory(lua_State* L) { static int _wrap_SBPlatform_GetFilePermissions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBPlatform::GetFilePermissions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform); + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBPlatform::GetFilePermissions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (uint32_t)(arg1)->GetFilePermissions((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (uint32_t)(arg1)->GetFilePermissions((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_SetFilePermissions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBPlatform::SetFilePermissions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",1,"lldb::SBPlatform *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_SetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->SetFilePermissions((char const *)arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBPlatform::SetFilePermissions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",1,"lldb::SBPlatform *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_SetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->SetFilePermissions((char const *)arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetUnixSignals(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBUnixSignals result; - - SWIG_check_num_args("lldb::SBPlatform::GetUnixSignals",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetUnixSignals",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetUnixSignals",1,SWIGTYPE_p_lldb__SBPlatform); - } - - result = (arg1)->GetUnixSignals(); { - lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals((const lldb::SBUnixSignals &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBUnixSignals result; + + SWIG_check_num_args("lldb::SBPlatform::GetUnixSignals",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetUnixSignals",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetUnixSignals",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (arg1)->GetUnixSignals(); + { + lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBPlatform_GetEnvironment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; - lldb::SBEnvironment result; - - SWIG_check_num_args("lldb::SBPlatform::GetEnvironment",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetEnvironment",1,"lldb::SBPlatform *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ - SWIG_fail_ptr("SBPlatform_GetEnvironment",1,SWIGTYPE_p_lldb__SBPlatform); - } - - result = (arg1)->GetEnvironment(); { - lldb::SBEnvironment * resultptr = new lldb::SBEnvironment((const lldb::SBEnvironment &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBEnvironment result; + + SWIG_check_num_args("lldb::SBPlatform::GetEnvironment",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetEnvironment",1,"lldb::SBPlatform *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetEnvironment",1,SWIGTYPE_p_lldb__SBPlatform); + } + + result = (arg1)->GetEnvironment(); + { + lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -39636,43 +39675,43 @@ static const char *swig_SBPlatform_base_names[] = {0}; static swig_lua_class _wrap_class_SBPlatform = { "SBPlatform", "SBPlatform", &SWIGTYPE_p_lldb__SBPlatform,_proxy__wrap_new_SBPlatform, swig_delete_SBPlatform, swig_SBPlatform_methods, swig_SBPlatform_attributes, &swig_SBPlatform_Sf_SwigStatic, swig_SBPlatform_meta, swig_SBPlatform_bases, swig_SBPlatform_base_names }; static int _wrap_new_SBProcess__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::SBProcess",0,0) - result = (lldb::SBProcess *)new lldb::SBProcess(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBProcess *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::SBProcess",0,0) + result = (lldb::SBProcess *)new lldb::SBProcess(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBProcess__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = 0 ; - lldb::SBProcess *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::SBProcess",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::SBProcess",1,"lldb::SBProcess const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("new_SBProcess",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = 0 ; + lldb::SBProcess *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::SBProcess",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::SBProcess",1,"lldb::SBProcess const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("new_SBProcess",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (lldb::SBProcess *)new lldb::SBProcess((lldb::SBProcess const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBProcess *)new lldb::SBProcess((lldb::SBProcess const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -39687,7 +39726,7 @@ static int _wrap_new_SBProcess(lua_State* L) { return _wrap_new_SBProcess__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { @@ -39710,401 +39749,401 @@ static int _wrap_new_SBProcess(lua_State* L) { static int _wrap_SBProcess_GetBroadcasterClassName(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetBroadcasterClassName",0,0) - result = (char *)lldb::SBProcess::GetBroadcasterClassName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetBroadcasterClassName",0,0) + result = (char *)lldb::SBProcess::GetBroadcasterClassName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetPluginName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetPluginName",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetPluginName",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetPluginName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetPluginName",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetPluginName",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (char *)(arg1)->GetPluginName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetPluginName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetShortPluginName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetShortPluginName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetShortPluginName",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetShortPluginName",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetShortPluginName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetShortPluginName",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetShortPluginName",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (char *)(arg1)->GetShortPluginName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetShortPluginName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - - SWIG_check_num_args("lldb::SBProcess::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Clear",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Clear",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + + SWIG_check_num_args("lldb::SBProcess::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Clear",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Clear",1,SWIGTYPE_p_lldb__SBProcess); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsValid",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_IsValid",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsValid",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_IsValid",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (bool)((lldb::SBProcess const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBProcess const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBProcess::GetTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetTarget",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetTarget",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = ((lldb::SBProcess const *)arg1)->GetTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBProcess::GetTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetTarget",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetTarget",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = ((lldb::SBProcess const *)arg1)->GetTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetByteOrder(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::ByteOrder result; - - SWIG_check_num_args("lldb::SBProcess::GetByteOrder",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetByteOrder",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetByteOrder",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::ByteOrder result; + + SWIG_check_num_args("lldb::SBProcess::GetByteOrder",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetByteOrder",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetByteOrder",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (lldb::ByteOrder)((lldb::SBProcess const *)arg1)->GetByteOrder(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ByteOrder)((lldb::SBProcess const *)arg1)->GetByteOrder(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_PutSTDIN(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::PutSTDIN",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::PutSTDIN",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_PutSTDIN",1,SWIGTYPE_p_lldb__SBProcess); - } - { - arg2 = (char *)luaL_checklstring(L, 2, &arg3); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::PutSTDIN",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::PutSTDIN",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_PutSTDIN",1,SWIGTYPE_p_lldb__SBProcess); + } + + { + arg2 = (char *)luaL_checklstring(L, 2, &arg3); + } + result = (arg1)->PutSTDIN((char const *)arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - result = (arg1)->PutSTDIN((char const *)arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetSTDOUT(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::GetSTDOUT",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDOUT",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetSTDOUT",1,SWIGTYPE_p_lldb__SBProcess); - } - { - arg3 = luaL_checkinteger(L, 2); - if (arg3 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::GetSTDOUT",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDOUT",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetSTDOUT",1,SWIGTYPE_p_lldb__SBProcess); } - arg2 = (char *)malloc(arg3); - } - result = ((lldb::SBProcess const *)arg1)->GetSTDOUT(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg2, result); + + { + arg3 = luaL_checkinteger(L, 2); + if (arg3 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg2 = (char *)malloc(arg3); + } + result = ((lldb::SBProcess const *)arg1)->GetSTDOUT(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg2, result); + } + free(arg2); + // SWIG_arg was already incremented } - free(arg2); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetSTDERR(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::GetSTDERR",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDERR",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetSTDERR",1,SWIGTYPE_p_lldb__SBProcess); - } - { - arg3 = luaL_checkinteger(L, 2); - if (arg3 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::GetSTDERR",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDERR",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetSTDERR",1,SWIGTYPE_p_lldb__SBProcess); } - arg2 = (char *)malloc(arg3); - } - result = ((lldb::SBProcess const *)arg1)->GetSTDERR(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg2, result); + + { + arg3 = luaL_checkinteger(L, 2); + if (arg3 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg2 = (char *)malloc(arg3); + } + result = ((lldb::SBProcess const *)arg1)->GetSTDERR(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg2, result); + } + free(arg2); + // SWIG_arg was already incremented } - free(arg2); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetAsyncProfileData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::GetAsyncProfileData",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAsyncProfileData",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetAsyncProfileData",1,SWIGTYPE_p_lldb__SBProcess); - } - { - arg3 = luaL_checkinteger(L, 2); - if (arg3 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::GetAsyncProfileData",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAsyncProfileData",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetAsyncProfileData",1,SWIGTYPE_p_lldb__SBProcess); } - arg2 = (char *)malloc(arg3); - } - result = ((lldb::SBProcess const *)arg1)->GetAsyncProfileData(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg2, result); + + { + arg3 = luaL_checkinteger(L, 2); + if (arg3 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg2 = (char *)malloc(arg3); + } + result = ((lldb::SBProcess const *)arg1)->GetAsyncProfileData(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg2, result); + } + free(arg2); + // SWIG_arg was already incremented } - free(arg2); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReportEventState__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBEvent *arg2 = 0 ; - lldb::SBFile arg3 ; - lldb::SBFile *argp3 ; - - SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",3,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBProcess_ReportEventState",3,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBEvent *arg2 = 0 ; + lldb::SBFile arg3 ; + lldb::SBFile *argp3 ; + + SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",3,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBProcess_ReportEventState",3,SWIGTYPE_p_lldb__SBFile); + } + arg3 = *argp3; + + ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = *argp3; - - ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReportEventState__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBEvent *arg2 = 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg3 ; - - SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 3, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg3 = file_sp; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBEvent *arg2 = 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg3 ; + + SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 3, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg3 = file_sp; + } + ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -40116,7 +40155,7 @@ static int _wrap_SBProcess_ReportEventState(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -40150,7 +40189,7 @@ static int _wrap_SBProcess_ReportEventState(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -40189,882 +40228,882 @@ static int _wrap_SBProcess_ReportEventState(lua_State* L) { static int _wrap_SBProcess_AppendEventStateReport(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBEvent *arg2 = 0 ; - lldb::SBCommandReturnObject *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBProcess::AppendEventStateReport",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",1,"lldb::SBProcess *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",2,"lldb::SBEvent const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",3,"lldb::SBCommandReturnObject &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_AppendEventStateReport",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_AppendEventStateReport",2,SWIGTYPE_p_lldb__SBEvent); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ - SWIG_fail_ptr("SBProcess_AppendEventStateReport",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBEvent *arg2 = 0 ; + lldb::SBCommandReturnObject *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBProcess::AppendEventStateReport",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",1,"lldb::SBProcess *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",2,"lldb::SBEvent const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",3,"lldb::SBCommandReturnObject &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_AppendEventStateReport",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_AppendEventStateReport",2,SWIGTYPE_p_lldb__SBEvent); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ + SWIG_fail_ptr("SBProcess_AppendEventStateReport",3,SWIGTYPE_p_lldb__SBCommandReturnObject); + } + + (arg1)->AppendEventStateReport((lldb::SBEvent const &)*arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->AppendEventStateReport((lldb::SBEvent const &)*arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_RemoteAttachToProcessWithID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::pid_t arg2 ; - lldb::SBError *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::RemoteAttachToProcessWithID",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",2,"lldb::pid_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::pid_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::pid_t arg2 ; + lldb::SBError *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::RemoteAttachToProcessWithID",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",2,"lldb::pid_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::pid_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",3,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->RemoteAttachToProcessWithID(arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->RemoteAttachToProcessWithID(arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_RemoteLaunch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - uint32_t arg8 ; - bool arg9 ; - lldb::SBError *arg10 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::RemoteLaunch",10,10) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",1,"lldb::SBProcess *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",4,"char const *"); - if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",5,"char const *"); - if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",6,"char const *"); - if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",7,"char const *"); - if(!lua_isinteger(L,8)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",8,"uint32_t"); - if(!lua_isboolean(L,9)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",9,"bool"); - if(!lua_isuserdata(L,10)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",10,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_RemoteLaunch",1,SWIGTYPE_p_lldb__SBProcess); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char **arg2 = (char **) 0 ; + char **arg3 = (char **) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + char *arg6 = (char *) 0 ; + char *arg7 = (char *) 0 ; + uint32_t arg8 ; + bool arg9 ; + lldb::SBError *arg10 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::RemoteLaunch",10,10) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",1,"lldb::SBProcess *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",4,"char const *"); + if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",5,"char const *"); + if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",6,"char const *"); + if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",7,"char const *"); + if(!lua_isinteger(L,8)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",8,"uint32_t"); + if(!lua_isboolean(L,9)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",9,"bool"); + if(!lua_isuserdata(L,10)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",10,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_RemoteLaunch",1,SWIGTYPE_p_lldb__SBProcess); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - { - if (lua_istable(L, 3)) { - size_t size = lua_rawlen(L, 3); - arg3 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 3, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + { + if (lua_istable(L, 3)) { + size_t size = lua_rawlen(L, 3); + arg3 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 3, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg3[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg3[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg3[j] = 0; + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg3[j] = 0; - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg4 = (char *)lua_tostring(L, 4); - arg5 = (char *)lua_tostring(L, 5); - arg6 = (char *)lua_tostring(L, 6); - arg7 = (char *)lua_tostring(L, 7); - arg8 = (uint32_t)lua_tointeger(L, 8); - arg9 = (lua_toboolean(L, 9)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,10,(void**)&arg10,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_RemoteLaunch",10,SWIGTYPE_p_lldb__SBError); - } - - result = (bool)(arg1)->RemoteLaunch((char const **)arg2,(char const **)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8,arg9,*arg10); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - { - free((char *) arg2); - } - { - free((char *) arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); - } - { - free((char *) arg3); + arg4 = (char *)lua_tostring(L, 4); + arg5 = (char *)lua_tostring(L, 5); + arg6 = (char *)lua_tostring(L, 6); + arg7 = (char *)lua_tostring(L, 7); + arg8 = (uint32_t)lua_tointeger(L, 8); + arg9 = (lua_toboolean(L, 9)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,10,(void**)&arg10,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_RemoteLaunch",10,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->RemoteLaunch((char const **)arg2,(char const **)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8,arg9,*arg10); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + { + free((char *) arg2); + } + { + free((char *) arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } + { + free((char *) arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetNumThreads(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetNumThreads",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumThreads",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetNumThreads",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetNumThreads",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumThreads",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetNumThreads",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)(arg1)->GetNumThreads(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumThreads(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetThreadAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - size_t arg2 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBProcess::GetThreadAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetThreadAtIndex(arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + size_t arg2 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBProcess::GetThreadAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetThreadAtIndex(arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetThreadByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::tid_t arg2 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBProcess::GetThreadByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",2,"lldb::tid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetThreadByID",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - result = (arg1)->GetThreadByID(arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::tid_t arg2 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBProcess::GetThreadByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",2,"lldb::tid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetThreadByID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + result = (arg1)->GetThreadByID(arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetThreadByIndexID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t arg2 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBProcess::GetThreadByIndexID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetThreadByIndexID(arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t arg2 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBProcess::GetThreadByIndexID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetThreadByIndexID(arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetSelectedThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBProcess::GetSelectedThread",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSelectedThread",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = ((lldb::SBProcess const *)arg1)->GetSelectedThread(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBProcess::GetSelectedThread",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSelectedThread",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = ((lldb::SBProcess const *)arg1)->GetSelectedThread(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_CreateOSPluginThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::tid_t arg2 ; - lldb::addr_t arg3 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBProcess::CreateOSPluginThread",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",2,"lldb::tid_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_CreateOSPluginThread",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (arg1)->CreateOSPluginThread(arg2,arg3); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::tid_t arg2 ; + lldb::addr_t arg3 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBProcess::CreateOSPluginThread",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",2,"lldb::tid_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_CreateOSPluginThread",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (arg1)->CreateOSPluginThread(arg2,arg3); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SetSelectedThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBThread *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::SetSelectedThread",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",1,"lldb::SBProcess *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",2,"lldb::SBThread const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBProcess_SetSelectedThread",2,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBThread *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::SetSelectedThread",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",1,"lldb::SBProcess *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",2,"lldb::SBThread const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBProcess_SetSelectedThread",2,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->SetSelectedThread((lldb::SBThread const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SetSelectedThread((lldb::SBThread const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SetSelectedThreadByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::tid_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",2,"lldb::tid_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SetSelectedThreadByID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::tid_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",2,"lldb::tid_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SetSelectedThreadByID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::tid_t)lua_tointeger(L, 2); + result = (bool)(arg1)->SetSelectedThreadByID(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::tid_t)lua_tointeger(L, 2); - result = (bool)(arg1)->SetSelectedThreadByID(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SetSelectedThreadByIndexID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByIndexID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SetSelectedThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByIndexID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SetSelectedThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (bool)(arg1)->SetSelectedThreadByIndexID(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (bool)(arg1)->SetSelectedThreadByIndexID(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetNumQueues(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetNumQueues",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumQueues",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetNumQueues",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetNumQueues",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumQueues",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetNumQueues",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)(arg1)->GetNumQueues(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumQueues(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetQueueAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t arg2 ; - lldb::SBQueue result; - - SWIG_check_num_args("lldb::SBProcess::GetQueueAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetQueueAtIndex",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetQueueAtIndex(arg2); { - lldb::SBQueue * resultptr = new lldb::SBQueue((const lldb::SBQueue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t arg2 ; + lldb::SBQueue result; + + SWIG_check_num_args("lldb::SBProcess::GetQueueAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetQueueAtIndex",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetQueueAtIndex(arg2); + { + lldb::SBQueue * resultptr = new lldb::SBQueue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetState(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::StateType result; - - SWIG_check_num_args("lldb::SBProcess::GetState",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetState",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetState",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::StateType result; + + SWIG_check_num_args("lldb::SBProcess::GetState",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetState",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetState",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (lldb::StateType)(arg1)->GetState(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::StateType)(arg1)->GetState(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetExitStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - int result; - - SWIG_check_num_args("lldb::SBProcess::GetExitStatus",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitStatus",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetExitStatus",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + int result; + + SWIG_check_num_args("lldb::SBProcess::GetExitStatus",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitStatus",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetExitStatus",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (int)(arg1)->GetExitStatus(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int)(arg1)->GetExitStatus(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetExitDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetExitDescription",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitDescription",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetExitDescription",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetExitDescription",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitDescription",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetExitDescription",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (char *)(arg1)->GetExitDescription(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetExitDescription(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBProcess::GetProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessID",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetProcessID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBProcess::GetProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessID",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetProcessID",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (lldb::pid_t)(arg1)->GetProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetUniqueID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetUniqueID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUniqueID",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetUniqueID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetUniqueID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUniqueID",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetUniqueID",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)(arg1)->GetUniqueID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetUniqueID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetAddressByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetAddressByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAddressByteSize",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetAddressByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAddressByteSize",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)((lldb::SBProcess const *)arg1)->GetAddressByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBProcess const *)arg1)->GetAddressByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Destroy(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Destroy",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Destroy",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Destroy",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->Destroy(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Destroy",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Destroy",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Destroy",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->Destroy(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Continue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Continue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Continue",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Continue",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->Continue(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Continue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Continue",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Continue",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->Continue(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Stop(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Stop",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Stop",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Stop",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->Stop(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Stop",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Stop",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Stop",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->Stop(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Kill(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Kill",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Kill",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Kill",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->Kill(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Kill",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Kill",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Kill",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->Kill(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Detach(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Detach",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Detach",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Detach",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->Detach(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Detach",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Detach",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Detach",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->Detach(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_Signal(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - int arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::Signal",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Signal",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::Signal",2,"int"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_Signal",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (int)lua_tointeger(L, 2); - result = (arg1)->Signal(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + int arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::Signal",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Signal",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::Signal",2,"int"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_Signal",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (int)lua_tointeger(L, 2); + result = (arg1)->Signal(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetUnixSignals(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBUnixSignals result; - - SWIG_check_num_args("lldb::SBProcess::GetUnixSignals",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUnixSignals",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetUnixSignals",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->GetUnixSignals(); { - lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals((const lldb::SBUnixSignals &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBUnixSignals result; + + SWIG_check_num_args("lldb::SBProcess::GetUnixSignals",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUnixSignals",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetUnixSignals",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->GetUnixSignals(); + { + lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetStopID__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - bool arg2 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetStopID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBProcess::GetStopID",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + bool arg2 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetStopID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBProcess::GetStopID",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (uint32_t)(arg1)->GetStopID(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (uint32_t)(arg1)->GetStopID(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetStopID__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetStopID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetStopID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)(arg1)->GetStopID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetStopID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -41076,7 +41115,7 @@ static int _wrap_SBProcess_GetStopID(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -41090,7 +41129,7 @@ static int _wrap_SBProcess_GetStopID(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -41118,906 +41157,906 @@ static int _wrap_SBProcess_GetStopID(lua_State* L) { static int _wrap_SBProcess_SendAsyncInterrupt(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - - SWIG_check_num_args("lldb::SBProcess::SendAsyncInterrupt",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendAsyncInterrupt",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SendAsyncInterrupt",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + + SWIG_check_num_args("lldb::SBProcess::SendAsyncInterrupt",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendAsyncInterrupt",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SendAsyncInterrupt",1,SWIGTYPE_p_lldb__SBProcess); + } + + (arg1)->SendAsyncInterrupt(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SendAsyncInterrupt(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReadMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::SBError *arg5 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::ReadMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",2,"lldb::addr_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReadMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); { - arg4 = luaL_checkinteger(L, 3); - if (arg4 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::SBError *arg5 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::ReadMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",2,"lldb::addr_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReadMemory",1,SWIGTYPE_p_lldb__SBProcess); } - arg3 = (char *)malloc(arg4); - } - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_ReadMemory",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg3, result); + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + { + arg4 = luaL_checkinteger(L, 3); + if (arg4 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg3 = (char *)malloc(arg4); + } + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_ReadMemory",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg3, result); + } + free(arg3); + // SWIG_arg was already incremented } - free(arg3); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_WriteMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::SBError *arg5 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::WriteMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",2,"lldb::addr_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_WriteMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); { - arg3 = (void *)luaL_checklstring(L, 3, &arg4); - } - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_WriteMemory",5,SWIGTYPE_p_lldb__SBError); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::SBError *arg5 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::WriteMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",2,"lldb::addr_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_WriteMemory",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + { + arg3 = (void *)luaL_checklstring(L, 3, &arg4); + } + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_WriteMemory",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->WriteMemory(arg2,(void const *)arg3,arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->WriteMemory(arg2,(void const *)arg3,arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReadCStringFromMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::SBError *arg5 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::ReadCStringFromMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",2,"lldb::addr_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); { - arg4 = luaL_checkinteger(L, 3); - if (arg4 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::SBError *arg5 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::ReadCStringFromMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",2,"lldb::addr_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",1,SWIGTYPE_p_lldb__SBProcess); } - arg3 = (char *)malloc(arg4); - } - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->ReadCStringFromMemory(arg2,arg3,arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg3, result); + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + { + arg4 = luaL_checkinteger(L, 3); + if (arg4 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg3 = (char *)malloc(arg4); + } + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->ReadCStringFromMemory(arg2,arg3,arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg3, result); + } + free(arg3); + // SWIG_arg was already incremented } - free(arg3); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReadUnsignedFromMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - uint32_t arg3 ; - lldb::SBError *arg4 = 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBProcess::ReadUnsignedFromMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",2,"lldb::addr_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",4,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + uint32_t arg3 ; + lldb::SBError *arg4 = 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBProcess::ReadUnsignedFromMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",2,"lldb::addr_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",4,SWIGTYPE_p_lldb__SBError); + } + + result = (uint64_t)(arg1)->ReadUnsignedFromMemory(arg2,arg3,*arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->ReadUnsignedFromMemory(arg2,arg3,*arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_ReadPointerFromMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - lldb::SBError *arg3 = 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBProcess::ReadPointerFromMemory",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",2,"lldb::addr_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + lldb::SBError *arg3 = 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBProcess::ReadPointerFromMemory",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",2,"lldb::addr_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",3,SWIGTYPE_p_lldb__SBError); + } + + result = (lldb::addr_t)(arg1)->ReadPointerFromMemory(arg2,*arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->ReadPointerFromMemory(arg2,*arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetStateFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::StateType result; - - SWIG_check_num_args("lldb::SBProcess::GetStateFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStateFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetStateFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::StateType result; + + SWIG_check_num_args("lldb::SBProcess::GetStateFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStateFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetStateFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (lldb::StateType)lldb::SBProcess::GetStateFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::StateType)lldb::SBProcess::GetStateFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetRestartedFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::GetRestartedFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetRestartedFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::GetRestartedFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetRestartedFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBProcess::GetRestartedFromEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBProcess::GetRestartedFromEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetNumRestartedReasonsFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetNumRestartedReasonsFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetNumRestartedReasonsFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBProcess::GetNumRestartedReasonsFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb::SBProcess::GetNumRestartedReasonsFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetRestartedReasonAtIndexFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - size_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",1,"lldb::SBEvent const &"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetRestartedReasonAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + size_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",1,"lldb::SBEvent const &"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetRestartedReasonAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (char *)lldb::SBProcess::GetRestartedReasonAtIndexFromEvent((lldb::SBEvent const &)*arg1,SWIG_STD_MOVE(arg2)); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (char *)lldb::SBProcess::GetRestartedReasonAtIndexFromEvent((lldb::SBEvent const &)*arg1,arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetProcessFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBProcess::GetProcessFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetProcessFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBProcess::GetProcessFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBProcess::GetProcessFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetProcessFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBProcess::GetProcessFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetInterruptedFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::GetInterruptedFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetInterruptedFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetInterruptedFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::GetInterruptedFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetInterruptedFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetInterruptedFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBProcess::GetInterruptedFromEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBProcess::GetInterruptedFromEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetStructuredDataFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBProcess::GetStructuredDataFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStructuredDataFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_GetStructuredDataFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBProcess::GetStructuredDataFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBProcess::GetStructuredDataFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStructuredDataFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_GetStructuredDataFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBProcess::GetStructuredDataFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_EventIsProcessEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::EventIsProcessEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsProcessEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_EventIsProcessEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::EventIsProcessEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsProcessEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_EventIsProcessEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBProcess::EventIsProcessEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBProcess::EventIsProcessEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_EventIsStructuredDataEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::EventIsStructuredDataEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsStructuredDataEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBProcess_EventIsStructuredDataEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::EventIsStructuredDataEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsStructuredDataEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBProcess_EventIsStructuredDataEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBProcess::EventIsStructuredDataEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBProcess::EventIsStructuredDataEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBProcess::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetBroadcaster",1,"lldb::SBProcess const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetBroadcaster",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = ((lldb::SBProcess const *)arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBProcess::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetBroadcaster",1,"lldb::SBProcess const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetBroadcaster",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = ((lldb::SBProcess const *)arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetDescription",1,"lldb::SBProcess *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetDescription",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBProcess_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetDescription",1,"lldb::SBProcess *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetDescription",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBProcess_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetExtendedCrashInformation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBProcess::GetExtendedCrashInformation",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedCrashInformation",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetExtendedCrashInformation",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->GetExtendedCrashInformation(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBProcess::GetExtendedCrashInformation",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedCrashInformation",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetExtendedCrashInformation",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->GetExtendedCrashInformation(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetNumSupportedHardwareWatchpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBError *arg2 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",1,"lldb::SBProcess const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBError *arg2 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",1,"lldb::SBProcess const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",2,SWIGTYPE_p_lldb__SBError); + } + + result = (uint32_t)((lldb::SBProcess const *)arg1)->GetNumSupportedHardwareWatchpoints(*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBProcess const *)arg1)->GetNumSupportedHardwareWatchpoints(*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_LoadImage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBError *arg3 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::LoadImage",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImage",1,"lldb::SBProcess *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImage",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImage",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_LoadImage",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBProcess_LoadImage",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_LoadImage",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBError *arg3 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::LoadImage",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImage",1,"lldb::SBProcess *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImage",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImage",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_LoadImage",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBProcess_LoadImage",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_LoadImage",3,SWIGTYPE_p_lldb__SBError); + } + + result = (uint32_t)(arg1)->LoadImage(*arg2,*arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->LoadImage(*arg2,*arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_LoadImageUsingPaths(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBStringList *arg3 = 0 ; - lldb::SBFileSpec *arg4 = 0 ; - lldb::SBError *arg5 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::LoadImageUsingPaths",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",1,"lldb::SBProcess *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",2,"lldb::SBFileSpec const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",3,"lldb::SBStringList &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",4,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",5,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",1,SWIGTYPE_p_lldb__SBProcess); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",3,SWIGTYPE_p_lldb__SBStringList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",4,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",5,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBStringList *arg3 = 0 ; + lldb::SBFileSpec *arg4 = 0 ; + lldb::SBError *arg5 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::LoadImageUsingPaths",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",1,"lldb::SBProcess *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",2,"lldb::SBFileSpec const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",3,"lldb::SBStringList &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",4,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",1,SWIGTYPE_p_lldb__SBProcess); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",3,SWIGTYPE_p_lldb__SBStringList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",4,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",5,SWIGTYPE_p_lldb__SBError); + } + + result = (uint32_t)(arg1)->LoadImageUsingPaths((lldb::SBFileSpec const &)*arg2,*arg3,*arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->LoadImageUsingPaths((lldb::SBFileSpec const &)*arg2,*arg3,*arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_UnloadImage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::UnloadImage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_UnloadImage",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->UnloadImage(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::UnloadImage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_UnloadImage",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->UnloadImage(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SendEventData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::SendEventData",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendEventData",1,"lldb::SBProcess *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SendEventData",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SendEventData",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SendEventData((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::SendEventData",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendEventData",1,"lldb::SBProcess *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SendEventData",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SendEventData",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SendEventData((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetNumExtendedBacktraceTypes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetNumExtendedBacktraceTypes",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetNumExtendedBacktraceTypes",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (uint32_t)(arg1)->GetNumExtendedBacktraceTypes(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumExtendedBacktraceTypes(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetExtendedBacktraceTypeAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - uint32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetExtendedBacktraceTypeAtIndex",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + uint32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetExtendedBacktraceTypeAtIndex",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetExtendedBacktraceTypeAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetExtendedBacktraceTypeAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetHistoryThreads(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - lldb::SBThreadCollection result; - - SWIG_check_num_args("lldb::SBProcess::GetHistoryThreads",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetHistoryThreads",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->GetHistoryThreads(arg2); { - lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection((const lldb::SBThreadCollection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + lldb::SBThreadCollection result; + + SWIG_check_num_args("lldb::SBProcess::GetHistoryThreads",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetHistoryThreads",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->GetHistoryThreads(arg2); + { + lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_IsInstrumentationRuntimePresent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::InstrumentationRuntimeType arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBProcess::IsInstrumentationRuntimePresent",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",2,"lldb::InstrumentationRuntimeType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_IsInstrumentationRuntimePresent",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::InstrumentationRuntimeType arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBProcess::IsInstrumentationRuntimePresent",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",2,"lldb::InstrumentationRuntimeType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_IsInstrumentationRuntimePresent",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2); + result = (bool)(arg1)->IsInstrumentationRuntimePresent(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2); - result = (bool)(arg1)->IsInstrumentationRuntimePresent(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SaveCore__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SaveCoreStyle arg4 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::SaveCore",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBProcess::SaveCore",3,"char const *"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBProcess::SaveCore",4,"lldb::SaveCoreStyle"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (lldb::SaveCoreStyle)lua_tointeger(L, 4); - result = (arg1)->SaveCore((char const *)arg2,(char const *)arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SaveCoreStyle arg4 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::SaveCore",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBProcess::SaveCore",3,"char const *"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBProcess::SaveCore",4,"lldb::SaveCoreStyle"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (lldb::SaveCoreStyle)lua_tointeger(L, 4); + result = (arg1)->SaveCore((char const *)arg2,(char const *)arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_SaveCore__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::SaveCore",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SaveCore((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::SaveCore",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SaveCore((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -42029,7 +42068,7 @@ static int _wrap_SBProcess_SaveCore(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -42048,7 +42087,7 @@ static int _wrap_SBProcess_SaveCore(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) { @@ -42086,184 +42125,184 @@ static int _wrap_SBProcess_SaveCore(lua_State* L) { static int _wrap_SBProcess_GetMemoryRegionInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - lldb::SBMemoryRegionInfo *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::GetMemoryRegionInfo",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",2,"lldb::addr_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",3,"lldb::SBMemoryRegionInfo &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ - SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); - } - - result = (arg1)->GetMemoryRegionInfo(arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + lldb::SBMemoryRegionInfo *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::GetMemoryRegionInfo",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",2,"lldb::addr_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",3,"lldb::SBMemoryRegionInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){ + SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo); + } + + result = (arg1)->GetMemoryRegionInfo(arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetMemoryRegions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBMemoryRegionInfoList result; - - SWIG_check_num_args("lldb::SBProcess::GetMemoryRegions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegions",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetMemoryRegions",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->GetMemoryRegions(); { - lldb::SBMemoryRegionInfoList * resultptr = new lldb::SBMemoryRegionInfoList((const lldb::SBMemoryRegionInfoList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBMemoryRegionInfoList result; + + SWIG_check_num_args("lldb::SBProcess::GetMemoryRegions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegions",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetMemoryRegions",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->GetMemoryRegions(); + { + lldb::SBMemoryRegionInfoList * resultptr = new lldb::SBMemoryRegionInfoList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_GetProcessInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::SBProcessInfo result; - - SWIG_check_num_args("lldb::SBProcess::GetProcessInfo",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessInfo",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_GetProcessInfo",1,SWIGTYPE_p_lldb__SBProcess); - } - - result = (arg1)->GetProcessInfo(); { - lldb::SBProcessInfo * resultptr = new lldb::SBProcessInfo((const lldb::SBProcessInfo &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBProcessInfo result; + + SWIG_check_num_args("lldb::SBProcess::GetProcessInfo",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessInfo",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_GetProcessInfo",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = (arg1)->GetProcessInfo(); + { + lldb::SBProcessInfo * resultptr = new lldb::SBProcessInfo(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_AllocateMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - size_t arg2 ; - uint32_t arg3 ; - lldb::SBError *arg4 = 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBProcess::AllocateMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",2,"size_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_AllocateMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (size_t)lua_tointeger(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBProcess_AllocateMemory",4,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + size_t arg2 ; + uint32_t arg3 ; + lldb::SBError *arg4 = 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBProcess::AllocateMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",2,"size_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_AllocateMemory",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (size_t)lua_tointeger(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBProcess_AllocateMemory",4,SWIGTYPE_p_lldb__SBError); + } + + result = (lldb::addr_t)(arg1)->AllocateMemory(arg2,arg3,*arg4); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->AllocateMemory(arg2,arg3,*arg4); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess_DeallocateMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - lldb::addr_t arg2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBProcess::DeallocateMemory",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",1,"lldb::SBProcess *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess_DeallocateMemory",1,SWIGTYPE_p_lldb__SBProcess); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->DeallocateMemory(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::addr_t arg2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBProcess::DeallocateMemory",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",1,"lldb::SBProcess *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess_DeallocateMemory",1,SWIGTYPE_p_lldb__SBProcess); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->DeallocateMemory(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcess___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBProcess::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::__repr__",1,"lldb::SBProcess *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ - SWIG_fail_ptr("SBProcess___tostring",1,SWIGTYPE_p_lldb__SBProcess); + { + int SWIG_arg = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBProcess::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::__repr__",1,"lldb::SBProcess *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){ + SWIG_fail_ptr("SBProcess___tostring",1,SWIGTYPE_p_lldb__SBProcess); + } + + result = lldb_SBProcess___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBProcess___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -42396,43 +42435,43 @@ static const char *swig_SBProcess_base_names[] = {0}; static swig_lua_class _wrap_class_SBProcess = { "SBProcess", "SBProcess", &SWIGTYPE_p_lldb__SBProcess,_proxy__wrap_new_SBProcess, swig_delete_SBProcess, swig_SBProcess_methods, swig_SBProcess_attributes, &swig_SBProcess_Sf_SwigStatic, swig_SBProcess_meta, swig_SBProcess_bases, swig_SBProcess_base_names }; static int _wrap_new_SBProcessInfo__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",0,0) - result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBProcessInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",0,0) + result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBProcessInfo__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = 0 ; - lldb::SBProcessInfo *result = 0 ; - - SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::SBProcessInfo",1,"lldb::SBProcessInfo const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("new_SBProcessInfo",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = 0 ; + lldb::SBProcessInfo *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::SBProcessInfo",1,"lldb::SBProcessInfo const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("new_SBProcessInfo",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo((lldb::SBProcessInfo const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo((lldb::SBProcessInfo const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -42447,7 +42486,7 @@ static int _wrap_new_SBProcessInfo(lua_State* L) { return _wrap_new_SBProcessInfo__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcessInfo, SWIG_POINTER_NO_NULL)) { @@ -42470,341 +42509,341 @@ static int _wrap_new_SBProcessInfo(lua_State* L) { static int _wrap_SBProcessInfo_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcessInfo::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::IsValid",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_IsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfo::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::IsValid",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_IsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcessInfo::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetName",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetName",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfo::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetName",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetName",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetExecutableFile(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetExecutableFile",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetExecutableFile",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBProcessInfo); - } - - result = (arg1)->GetExecutableFile(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetExecutableFile",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetExecutableFile",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (arg1)->GetExecutableFile(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetProcessID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetProcessID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (lldb::pid_t)(arg1)->GetProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetUserID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetUserID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetUserID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetUserID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetUserID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetUserID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (uint32_t)(arg1)->GetUserID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetUserID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetGroupID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetGroupID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetGroupID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetGroupID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (uint32_t)(arg1)->GetGroupID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetGroupID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_UserIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcessInfo::UserIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::UserIDIsValid",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfo::UserIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::UserIDIsValid",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->UserIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->UserIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GroupIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcessInfo::GroupIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GroupIDIsValid",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfo::GroupIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GroupIDIsValid",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->GroupIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GroupIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetEffectiveUserID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveUserID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveUserID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveUserID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveUserID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (uint32_t)(arg1)->GetEffectiveUserID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetEffectiveUserID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetEffectiveGroupID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveGroupID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveGroupID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveGroupID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveGroupID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (uint32_t)(arg1)->GetEffectiveGroupID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetEffectiveGroupID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_EffectiveUserIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->EffectiveUserIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EffectiveUserIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_EffectiveGroupIDIsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->EffectiveGroupIDIsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EffectiveGroupIDIsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetParentProcessID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - lldb::pid_t result; - - SWIG_check_num_args("lldb::SBProcessInfo::GetParentProcessID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetParentProcessID",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + lldb::pid_t result; + + SWIG_check_num_args("lldb::SBProcessInfo::GetParentProcessID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetParentProcessID",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (lldb::pid_t)(arg1)->GetParentProcessID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::pid_t)(arg1)->GetParentProcessID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBProcessInfo_GetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBProcessInfo::GetTriple",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetTriple",1,"lldb::SBProcessInfo *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ - SWIG_fail_ptr("SBProcessInfo_GetTriple",1,SWIGTYPE_p_lldb__SBProcessInfo); + { + int SWIG_arg = 0; + lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfo::GetTriple",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetTriple",1,"lldb::SBProcessInfo *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfo_GetTriple",1,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (char *)(arg1)->GetTriple(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTriple(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -42870,43 +42909,43 @@ static const char *swig_SBProcessInfo_base_names[] = {0}; static swig_lua_class _wrap_class_SBProcessInfo = { "SBProcessInfo", "SBProcessInfo", &SWIGTYPE_p_lldb__SBProcessInfo,_proxy__wrap_new_SBProcessInfo, swig_delete_SBProcessInfo, swig_SBProcessInfo_methods, swig_SBProcessInfo_attributes, &swig_SBProcessInfo_Sf_SwigStatic, swig_SBProcessInfo_meta, swig_SBProcessInfo_bases, swig_SBProcessInfo_base_names }; static int _wrap_new_SBQueue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *result = 0 ; - - SWIG_check_num_args("lldb::SBQueue::SBQueue",0,0) - result = (lldb::SBQueue *)new lldb::SBQueue(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBQueue *result = 0 ; + + SWIG_check_num_args("lldb::SBQueue::SBQueue",0,0) + result = (lldb::SBQueue *)new lldb::SBQueue(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBQueue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::QueueSP *arg1 = 0 ; - lldb::SBQueue *result = 0 ; - - SWIG_check_num_args("lldb::SBQueue::SBQueue",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBQueue::SBQueue",1,"lldb::QueueSP const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t,0))){ - SWIG_fail_ptr("new_SBQueue",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t); + { + int SWIG_arg = 0; + lldb::QueueSP *arg1 = 0 ; + lldb::SBQueue *result = 0 ; + + SWIG_check_num_args("lldb::SBQueue::SBQueue",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBQueue::SBQueue",1,"lldb::QueueSP const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t,0))){ + SWIG_fail_ptr("new_SBQueue",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t); + } + + result = (lldb::SBQueue *)new lldb::SBQueue((lldb::QueueSP const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBQueue *)new lldb::SBQueue((lldb::QueueSP const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -42921,7 +42960,7 @@ static int _wrap_new_SBQueue(lua_State* L) { return _wrap_new_SBQueue__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t, SWIG_POINTER_NO_NULL)) { @@ -42944,304 +42983,304 @@ static int _wrap_new_SBQueue(lua_State* L) { static int _wrap_SBQueue_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBQueue::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::IsValid",1,"lldb::SBQueue const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_IsValid",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBQueue::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::IsValid",1,"lldb::SBQueue const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_IsValid",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (bool)((lldb::SBQueue const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBQueue const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - - SWIG_check_num_args("lldb::SBQueue::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::Clear",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_Clear",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + + SWIG_check_num_args("lldb::SBQueue::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::Clear",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_Clear",1,SWIGTYPE_p_lldb__SBQueue); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBQueue::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetProcess",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetProcess",1,SWIGTYPE_p_lldb__SBQueue); - } - - result = (arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBQueue::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetProcess",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetProcess",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetQueueID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - lldb::queue_id_t result; - - SWIG_check_num_args("lldb::SBQueue::GetQueueID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetQueueID",1,"lldb::SBQueue const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetQueueID",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + lldb::queue_id_t result; + + SWIG_check_num_args("lldb::SBQueue::GetQueueID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetQueueID",1,"lldb::SBQueue const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetQueueID",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (lldb::queue_id_t)((lldb::SBQueue const *)arg1)->GetQueueID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::queue_id_t)((lldb::SBQueue const *)arg1)->GetQueueID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBQueue::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetName",1,"lldb::SBQueue const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetName",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBQueue::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetName",1,"lldb::SBQueue const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetName",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (char *)((lldb::SBQueue const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBQueue const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - lldb::QueueKind result; - - SWIG_check_num_args("lldb::SBQueue::GetKind",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetKind",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetKind",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + lldb::QueueKind result; + + SWIG_check_num_args("lldb::SBQueue::GetKind",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetKind",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetKind",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (lldb::QueueKind)(arg1)->GetKind(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::QueueKind)(arg1)->GetKind(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetIndexID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBQueue::GetIndexID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetIndexID",1,"lldb::SBQueue const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetIndexID",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBQueue::GetIndexID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetIndexID",1,"lldb::SBQueue const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetIndexID",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (uint32_t)((lldb::SBQueue const *)arg1)->GetIndexID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBQueue const *)arg1)->GetIndexID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetNumThreads(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBQueue::GetNumThreads",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumThreads",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetNumThreads",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBQueue::GetNumThreads",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumThreads",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetNumThreads",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (uint32_t)(arg1)->GetNumThreads(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumThreads(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetThreadAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t arg2 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBQueue::GetThreadAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",1,"lldb::SBQueue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBQueue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetThreadAtIndex(arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t arg2 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBQueue::GetThreadAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",1,"lldb::SBQueue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBQueue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetThreadAtIndex(arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetNumPendingItems(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBQueue::GetNumPendingItems",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumPendingItems",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetNumPendingItems",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBQueue::GetNumPendingItems",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumPendingItems",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetNumPendingItems",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (uint32_t)(arg1)->GetNumPendingItems(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumPendingItems(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetPendingItemAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t arg2 ; - lldb::SBQueueItem result; - - SWIG_check_num_args("lldb::SBQueue::GetPendingItemAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",1,"lldb::SBQueue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetPendingItemAtIndex",1,SWIGTYPE_p_lldb__SBQueue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetPendingItemAtIndex(arg2); { - lldb::SBQueueItem * resultptr = new lldb::SBQueueItem((const lldb::SBQueueItem &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t arg2 ; + lldb::SBQueueItem result; + + SWIG_check_num_args("lldb::SBQueue::GetPendingItemAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",1,"lldb::SBQueue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetPendingItemAtIndex",1,SWIGTYPE_p_lldb__SBQueue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetPendingItemAtIndex(arg2); + { + lldb::SBQueueItem * resultptr = new lldb::SBQueueItem(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueue_GetNumRunningItems(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBQueue::GetNumRunningItems",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumRunningItems",1,"lldb::SBQueue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ - SWIG_fail_ptr("SBQueue_GetNumRunningItems",1,SWIGTYPE_p_lldb__SBQueue); + { + int SWIG_arg = 0; + lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBQueue::GetNumRunningItems",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumRunningItems",1,"lldb::SBQueue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){ + SWIG_fail_ptr("SBQueue_GetNumRunningItems",1,SWIGTYPE_p_lldb__SBQueue); + } + + result = (uint32_t)(arg1)->GetNumRunningItems(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumRunningItems(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -43305,43 +43344,43 @@ static const char *swig_SBQueue_base_names[] = {0}; static swig_lua_class _wrap_class_SBQueue = { "SBQueue", "SBQueue", &SWIGTYPE_p_lldb__SBQueue,_proxy__wrap_new_SBQueue, swig_delete_SBQueue, swig_SBQueue_methods, swig_SBQueue_attributes, &swig_SBQueue_Sf_SwigStatic, swig_SBQueue_meta, swig_SBQueue_bases, swig_SBQueue_base_names }; static int _wrap_new_SBQueueItem__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *result = 0 ; - - SWIG_check_num_args("lldb::SBQueueItem::SBQueueItem",0,0) - result = (lldb::SBQueueItem *)new lldb::SBQueueItem(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBQueueItem *result = 0 ; + + SWIG_check_num_args("lldb::SBQueueItem::SBQueueItem",0,0) + result = (lldb::SBQueueItem *)new lldb::SBQueueItem(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBQueueItem__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::QueueItemSP *arg1 = 0 ; - lldb::SBQueueItem *result = 0 ; - - SWIG_check_num_args("lldb::SBQueueItem::SBQueueItem",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SBQueueItem",1,"lldb::QueueItemSP const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t,0))){ - SWIG_fail_ptr("new_SBQueueItem",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t); + { + int SWIG_arg = 0; + lldb::QueueItemSP *arg1 = 0 ; + lldb::SBQueueItem *result = 0 ; + + SWIG_check_num_args("lldb::SBQueueItem::SBQueueItem",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SBQueueItem",1,"lldb::QueueItemSP const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t,0))){ + SWIG_fail_ptr("new_SBQueueItem",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t); + } + + result = (lldb::SBQueueItem *)new lldb::SBQueueItem((lldb::QueueItemSP const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBQueueItem *)new lldb::SBQueueItem((lldb::QueueItemSP const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -43356,7 +43395,7 @@ static int _wrap_new_SBQueueItem(lua_State* L) { return _wrap_new_SBQueueItem__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t, SWIG_POINTER_NO_NULL)) { @@ -43379,218 +43418,218 @@ static int _wrap_new_SBQueueItem(lua_State* L) { static int _wrap_SBQueueItem_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBQueueItem::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::IsValid",1,"lldb::SBQueueItem const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_IsValid",1,SWIGTYPE_p_lldb__SBQueueItem); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBQueueItem::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::IsValid",1,"lldb::SBQueueItem const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_IsValid",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + result = (bool)((lldb::SBQueueItem const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBQueueItem const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - - SWIG_check_num_args("lldb::SBQueueItem::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::Clear",1,"lldb::SBQueueItem *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_Clear",1,SWIGTYPE_p_lldb__SBQueueItem); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + + SWIG_check_num_args("lldb::SBQueueItem::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::Clear",1,"lldb::SBQueueItem *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_Clear",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_GetKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - lldb::QueueItemKind result; - - SWIG_check_num_args("lldb::SBQueueItem::GetKind",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetKind",1,"lldb::SBQueueItem const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_GetKind",1,SWIGTYPE_p_lldb__SBQueueItem); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + lldb::QueueItemKind result; + + SWIG_check_num_args("lldb::SBQueueItem::GetKind",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetKind",1,"lldb::SBQueueItem const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_GetKind",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + result = (lldb::QueueItemKind)((lldb::SBQueueItem const *)arg1)->GetKind(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::QueueItemKind)((lldb::SBQueueItem const *)arg1)->GetKind(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_SetKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - lldb::QueueItemKind arg2 ; - - SWIG_check_num_args("lldb::SBQueueItem::SetKind",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",1,"lldb::SBQueueItem *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",2,"lldb::QueueItemKind"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_SetKind",1,SWIGTYPE_p_lldb__SBQueueItem); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + lldb::QueueItemKind arg2 ; + + SWIG_check_num_args("lldb::SBQueueItem::SetKind",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",1,"lldb::SBQueueItem *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",2,"lldb::QueueItemKind"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_SetKind",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + arg2 = (lldb::QueueItemKind)lua_tointeger(L, 2); + (arg1)->SetKind(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::QueueItemKind)lua_tointeger(L, 2); - (arg1)->SetKind(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_GetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBQueueItem::GetAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetAddress",1,"lldb::SBQueueItem const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_GetAddress",1,SWIGTYPE_p_lldb__SBQueueItem); - } - - result = ((lldb::SBQueueItem const *)arg1)->GetAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBQueueItem::GetAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetAddress",1,"lldb::SBQueueItem const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_GetAddress",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + result = ((lldb::SBQueueItem const *)arg1)->GetAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_SetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - lldb::SBAddress arg2 ; - lldb::SBAddress *argp2 ; - - SWIG_check_num_args("lldb::SBQueueItem::SetAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",1,"lldb::SBQueueItem *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",2,"lldb::SBAddress"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_SetAddress",1,SWIGTYPE_p_lldb__SBQueueItem); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBQueueItem_SetAddress",2,SWIGTYPE_p_lldb__SBAddress); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + lldb::SBAddress arg2 ; + lldb::SBAddress *argp2 ; + + SWIG_check_num_args("lldb::SBQueueItem::SetAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",1,"lldb::SBQueueItem *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",2,"lldb::SBAddress"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_SetAddress",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBQueueItem_SetAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + (arg1)->SetAddress(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetAddress(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_SetQueueItem(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - lldb::QueueItemSP *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBQueueItem::SetQueueItem",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetQueueItem",1,"lldb::SBQueueItem *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetQueueItem",2,"lldb::QueueItemSP const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_SetQueueItem",1,SWIGTYPE_p_lldb__SBQueueItem); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t,0))){ - SWIG_fail_ptr("SBQueueItem_SetQueueItem",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t); + { + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + lldb::QueueItemSP *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBQueueItem::SetQueueItem",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetQueueItem",1,"lldb::SBQueueItem *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetQueueItem",2,"lldb::QueueItemSP const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_SetQueueItem",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t,0))){ + SWIG_fail_ptr("SBQueueItem_SetQueueItem",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t); + } + + (arg1)->SetQueueItem((lldb::QueueItemSP const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetQueueItem((lldb::QueueItemSP const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBQueueItem_GetExtendedBacktraceThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBQueueItem::GetExtendedBacktraceThread",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",1,"lldb::SBQueueItem *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ - SWIG_fail_ptr("SBQueueItem_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBQueueItem); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetExtendedBacktraceThread((char const *)arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBQueueItem::GetExtendedBacktraceThread",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",1,"lldb::SBQueueItem *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){ + SWIG_fail_ptr("SBQueueItem_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBQueueItem); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetExtendedBacktraceThread((char const *)arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -43650,98 +43689,98 @@ static const char *swig_SBQueueItem_base_names[] = {0}; static swig_lua_class _wrap_class_SBQueueItem = { "SBQueueItem", "SBQueueItem", &SWIGTYPE_p_lldb__SBQueueItem,_proxy__wrap_new_SBQueueItem, swig_delete_SBQueueItem, swig_SBQueueItem_methods, swig_SBQueueItem_attributes, &swig_SBQueueItem_Sf_SwigStatic, swig_SBQueueItem_meta, swig_SBQueueItem_bases, swig_SBQueueItem_base_names }; static int _wrap_SBReproducer_Capture(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBReproducer::Capture",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::Capture",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (char *)lldb::SBReproducer::Capture((char const *)arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBReproducer::Capture",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::Capture",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (char *)lldb::SBReproducer::Capture((char const *)arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBReproducer_PassiveReplay(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBReproducer::PassiveReplay",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::PassiveReplay",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (char *)lldb::SBReproducer::PassiveReplay((char const *)arg1); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBReproducer::PassiveReplay",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::PassiveReplay",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (char *)lldb::SBReproducer::PassiveReplay((char const *)arg1); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBReproducer_SetAutoGenerate(lua_State* L) { - int SWIG_arg = 0; - bool arg1 ; - bool result; - - SWIG_check_num_args("lldb::SBReproducer::SetAutoGenerate",1,1) - if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetAutoGenerate",1,"bool"); - arg1 = (lua_toboolean(L, 1)!=0); - result = (bool)lldb::SBReproducer::SetAutoGenerate(arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + bool arg1 ; + bool result; + + SWIG_check_num_args("lldb::SBReproducer::SetAutoGenerate",1,1) + if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetAutoGenerate",1,"bool"); + arg1 = (lua_toboolean(L, 1)!=0); + result = (bool)lldb::SBReproducer::SetAutoGenerate(arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBReproducer_SetWorkingDirectory(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBReproducer::SetWorkingDirectory",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetWorkingDirectory",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - lldb::SBReproducer::SetWorkingDirectory((char const *)arg1); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBReproducer::SetWorkingDirectory",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetWorkingDirectory",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + lldb::SBReproducer::SetWorkingDirectory((char const *)arg1); + + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBReproducer(lua_State* L) { - int SWIG_arg = 0; - lldb::SBReproducer *result = 0 ; - - SWIG_check_num_args("lldb::SBReproducer::SBReproducer",0,0) - result = (lldb::SBReproducer *)new lldb::SBReproducer(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBReproducer,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBReproducer *result = 0 ; + + SWIG_check_num_args("lldb::SBReproducer::SBReproducer",0,0) + result = (lldb::SBReproducer *)new lldb::SBReproducer(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBReproducer,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } @@ -43797,43 +43836,43 @@ static const char *swig_SBReproducer_base_names[] = {0}; static swig_lua_class _wrap_class_SBReproducer = { "SBReproducer", "SBReproducer", &SWIGTYPE_p_lldb__SBReproducer,_proxy__wrap_new_SBReproducer, swig_delete_SBReproducer, swig_SBReproducer_methods, swig_SBReproducer_attributes, &swig_SBReproducer_Sf_SwigStatic, swig_SBReproducer_meta, swig_SBReproducer_bases, swig_SBReproducer_base_names }; static int _wrap_new_SBSection__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *result = 0 ; - - SWIG_check_num_args("lldb::SBSection::SBSection",0,0) - result = (lldb::SBSection *)new lldb::SBSection(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBSection *result = 0 ; + + SWIG_check_num_args("lldb::SBSection::SBSection",0,0) + result = (lldb::SBSection *)new lldb::SBSection(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBSection__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = 0 ; - lldb::SBSection *result = 0 ; - - SWIG_check_num_args("lldb::SBSection::SBSection",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSection::SBSection",1,"lldb::SBSection const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("new_SBSection",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = 0 ; + lldb::SBSection *result = 0 ; + + SWIG_check_num_args("lldb::SBSection::SBSection",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSection::SBSection",1,"lldb::SBSection const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("new_SBSection",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (lldb::SBSection *)new lldb::SBSection((lldb::SBSection const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBSection *)new lldb::SBSection((lldb::SBSection const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -43848,7 +43887,7 @@ static int _wrap_new_SBSection(lua_State* L) { return _wrap_new_SBSection__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) { @@ -43871,348 +43910,348 @@ static int _wrap_new_SBSection(lua_State* L) { static int _wrap_SBSection_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSection::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::IsValid",1,"lldb::SBSection const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_IsValid",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSection::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::IsValid",1,"lldb::SBSection const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_IsValid",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (bool)((lldb::SBSection const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBSection const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBSection::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetName",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetName",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBSection::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetName",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetName",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetParent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBSection::GetParent",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetParent",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetParent",1,SWIGTYPE_p_lldb__SBSection); - } - - result = (arg1)->GetParent(); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBSection::GetParent",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetParent",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetParent",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (arg1)->GetParent(); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_FindSubSection(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBSection::FindSubSection",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::FindSubSection",1,"lldb::SBSection *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBSection::FindSubSection",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_FindSubSection",1,SWIGTYPE_p_lldb__SBSection); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindSubSection((char const *)arg2); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBSection::FindSubSection",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::FindSubSection",1,"lldb::SBSection *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBSection::FindSubSection",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_FindSubSection",1,SWIGTYPE_p_lldb__SBSection); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindSubSection((char const *)arg2); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetNumSubSections(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBSection::GetNumSubSections",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetNumSubSections",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetNumSubSections",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBSection::GetNumSubSections",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetNumSubSections",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetNumSubSections",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (arg1)->GetNumSubSections(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetNumSubSections(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetSubSectionAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - size_t arg2 ; - lldb::SBSection result; - - SWIG_check_num_args("lldb::SBSection::GetSubSectionAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",1,"lldb::SBSection *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetSubSectionAtIndex",1,SWIGTYPE_p_lldb__SBSection); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetSubSectionAtIndex(arg2); { - lldb::SBSection * resultptr = new lldb::SBSection((const lldb::SBSection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + size_t arg2 ; + lldb::SBSection result; + + SWIG_check_num_args("lldb::SBSection::GetSubSectionAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",1,"lldb::SBSection *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetSubSectionAtIndex",1,SWIGTYPE_p_lldb__SBSection); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetSubSectionAtIndex(arg2); + { + lldb::SBSection * resultptr = new lldb::SBSection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetFileAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBSection::GetFileAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileAddress",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetFileAddress",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBSection::GetFileAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileAddress",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetFileAddress",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (lldb::addr_t)(arg1)->GetFileAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetFileAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SBTarget *arg2 = 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBSection::GetLoadAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",1,"lldb::SBSection *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",2,"lldb::SBTarget &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetLoadAddress",1,SWIGTYPE_p_lldb__SBSection); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBSection_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SBTarget *arg2 = 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBSection::GetLoadAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",1,"lldb::SBSection *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",2,"lldb::SBTarget &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetLoadAddress",1,SWIGTYPE_p_lldb__SBSection); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBSection_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::addr_t)(arg1)->GetLoadAddress(*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetLoadAddress(*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBSection::GetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetByteSize",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetByteSize",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBSection::GetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetByteSize",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetByteSize",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (lldb::addr_t)(arg1)->GetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetFileOffset(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBSection::GetFileOffset",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileOffset",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetFileOffset",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBSection::GetFileOffset",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileOffset",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetFileOffset",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (uint64_t)(arg1)->GetFileOffset(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetFileOffset(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetFileByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBSection::GetFileByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileByteSize",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetFileByteSize",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBSection::GetFileByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileByteSize",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetFileByteSize",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (uint64_t)(arg1)->GetFileByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetFileByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetSectionData__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBSection::GetSectionData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection); - } - - result = (arg1)->GetSectionData(); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBSection::GetSectionData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (arg1)->GetSectionData(); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetSectionData__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint64_t arg2 ; - uint64_t arg3 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBSection::GetSectionData",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSectionData",2,"uint64_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSection::GetSectionData",3,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection); - } - - arg2 = (uint64_t)lua_tointeger(L, 2); - arg3 = (uint64_t)lua_tointeger(L, 3); - result = (arg1)->GetSectionData(arg2,arg3); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint64_t arg2 ; + uint64_t arg3 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBSection::GetSectionData",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSectionData",2,"uint64_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSection::GetSectionData",3,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection); + } + + arg2 = (uint64_t)lua_tointeger(L, 2); + arg3 = (uint64_t)lua_tointeger(L, 3); + result = (arg1)->GetSectionData(arg2,arg3); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -44224,7 +44263,7 @@ static int _wrap_SBSection_GetSectionData(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) { @@ -44238,7 +44277,7 @@ static int _wrap_SBSection_GetSectionData(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) { @@ -44271,184 +44310,184 @@ static int _wrap_SBSection_GetSectionData(lua_State* L) { static int _wrap_SBSection_GetSectionType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SectionType result; - - SWIG_check_num_args("lldb::SBSection::GetSectionType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionType",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetSectionType",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SectionType result; + + SWIG_check_num_args("lldb::SBSection::GetSectionType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionType",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetSectionType",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (lldb::SectionType)(arg1)->GetSectionType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SectionType)(arg1)->GetSectionType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetPermissions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBSection::GetPermissions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetPermissions",1,"lldb::SBSection const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetPermissions",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBSection::GetPermissions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetPermissions",1,"lldb::SBSection const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetPermissions",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (uint32_t)((lldb::SBSection const *)arg1)->GetPermissions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBSection const *)arg1)->GetPermissions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetTargetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBSection::GetTargetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetTargetByteSize",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetTargetByteSize",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBSection::GetTargetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetTargetByteSize",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetTargetByteSize",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (uint32_t)(arg1)->GetTargetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetTargetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetAlignment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBSection::GetAlignment",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetAlignment",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetAlignment",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBSection::GetAlignment",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetAlignment",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetAlignment",1,SWIGTYPE_p_lldb__SBSection); + } + + result = (uint32_t)(arg1)->GetAlignment(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetAlignment(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSection::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetDescription",1,"lldb::SBSection *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection_GetDescription",1,SWIGTYPE_p_lldb__SBSection); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSection_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSection::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetDescription",1,"lldb::SBSection *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection_GetDescription",1,SWIGTYPE_p_lldb__SBSection); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSection_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - lldb::SBSection *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSection::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::operator ==",1,"lldb::SBSection *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::operator ==",2,"lldb::SBSection const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection___eq",1,SWIGTYPE_p_lldb__SBSection); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection___eq",2,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + lldb::SBSection *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSection::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::operator ==",1,"lldb::SBSection *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::operator ==",2,"lldb::SBSection const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection___eq",1,SWIGTYPE_p_lldb__SBSection); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection___eq",2,SWIGTYPE_p_lldb__SBSection); + } + + result = (bool)(arg1)->operator ==((lldb::SBSection const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==((lldb::SBSection const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSection___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBSection::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::__repr__",1,"lldb::SBSection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBSection___tostring",1,SWIGTYPE_p_lldb__SBSection); + { + int SWIG_arg = 0; + lldb::SBSection *arg1 = (lldb::SBSection *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBSection::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::__repr__",1,"lldb::SBSection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBSection___tostring",1,SWIGTYPE_p_lldb__SBSection); + } + + result = lldb_SBSection___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBSection___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -44521,129 +44560,129 @@ static const char *swig_SBSection_base_names[] = {0}; static swig_lua_class _wrap_class_SBSection = { "SBSection", "SBSection", &SWIGTYPE_p_lldb__SBSection,_proxy__wrap_new_SBSection, swig_delete_SBSection, swig_SBSection_methods, swig_SBSection_attributes, &swig_SBSection_Sf_SwigStatic, swig_SBSection_meta, swig_SBSection_bases, swig_SBSection_base_names }; static int _wrap_new_SBSourceManager(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSourceManager *arg1 = 0 ; - lldb::SBSourceManager *result = 0 ; - - SWIG_check_num_args("lldb::SBSourceManager::SBSourceManager",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSourceManager::SBSourceManager",1,"lldb::SBSourceManager const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ - SWIG_fail_ptr("new_SBSourceManager",1,SWIGTYPE_p_lldb__SBSourceManager); + { + int SWIG_arg = 0; + lldb::SBSourceManager *arg1 = 0 ; + lldb::SBSourceManager *result = 0 ; + + SWIG_check_num_args("lldb::SBSourceManager::SBSourceManager",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSourceManager::SBSourceManager",1,"lldb::SBSourceManager const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ + SWIG_fail_ptr("new_SBSourceManager",1,SWIGTYPE_p_lldb__SBSourceManager); + } + + result = (lldb::SBSourceManager *)new lldb::SBSourceManager((lldb::SBSourceManager const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBSourceManager *)new lldb::SBSourceManager((lldb::SBSourceManager const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - char *arg6 = (char *) 0 ; - lldb::SBStream *arg7 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,7) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",1,"lldb::SBSourceManager *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",5,"uint32_t"); - if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",6,"char const *"); - if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",1,SWIGTYPE_p_lldb__SBSourceManager); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (uint32_t)lua_tointeger(L, 5); - arg6 = (char *)lua_tostring(L, 6); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",7,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + uint32_t arg5 ; + char *arg6 = (char *) 0 ; + lldb::SBStream *arg7 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,7) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",1,"lldb::SBSourceManager *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",5,"uint32_t"); + if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",6,"char const *"); + if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",1,SWIGTYPE_p_lldb__SBSourceManager); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (uint32_t)lua_tointeger(L, 5); + arg6 = (char *)lua_tostring(L, 6); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",7,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->DisplaySourceLinesWithLineNumbers((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,(char const *)arg6,*arg7); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->DisplaySourceLinesWithLineNumbers((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,(char const *)arg6,*arg7); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - uint32_t arg6 ; - char *arg7 = (char *) 0 ; - lldb::SBStream *arg8 = 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,8) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",1,"lldb::SBSourceManager *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",5,"uint32_t"); - if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",6,"uint32_t"); - if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",7,"char const *"); - if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",1,SWIGTYPE_p_lldb__SBSourceManager); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (uint32_t)lua_tointeger(L, 5); - arg6 = (uint32_t)lua_tointeger(L, 6); - arg7 = (char *)lua_tostring(L, 7); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",8,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + uint32_t arg5 ; + uint32_t arg6 ; + char *arg7 = (char *) 0 ; + lldb::SBStream *arg8 = 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,8) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",1,"lldb::SBSourceManager *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",5,"uint32_t"); + if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",6,"uint32_t"); + if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",7,"char const *"); + if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",1,SWIGTYPE_p_lldb__SBSourceManager); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (uint32_t)lua_tointeger(L, 5); + arg6 = (uint32_t)lua_tointeger(L, 6); + arg7 = (char *)lua_tostring(L, 7); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",8,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->DisplaySourceLinesWithLineNumbersAndColumn((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,arg6,(char const *)arg7,*arg8); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->DisplaySourceLinesWithLineNumbersAndColumn((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,arg6,(char const *)arg7,*arg8); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -44697,210 +44736,210 @@ static const char *swig_SBSourceManager_base_names[] = {0}; static swig_lua_class _wrap_class_SBSourceManager = { "SBSourceManager", "SBSourceManager", &SWIGTYPE_p_lldb__SBSourceManager,_proxy__wrap_new_SBSourceManager, swig_delete_SBSourceManager, swig_SBSourceManager_methods, swig_SBSourceManager_attributes, &swig_SBSourceManager_Sf_SwigStatic, swig_SBSourceManager_meta, swig_SBSourceManager_bases, swig_SBSourceManager_base_names }; static int _wrap_new_SBStream(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *result = 0 ; - - SWIG_check_num_args("lldb::SBStream::SBStream",0,0) - result = (lldb::SBStream *)new lldb::SBStream(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStream,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBStream *result = 0 ; + + SWIG_check_num_args("lldb::SBStream::SBStream",0,0) + result = (lldb::SBStream *)new lldb::SBStream(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStream,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBStream::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::IsValid",1,"lldb::SBStream const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_IsValid",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBStream::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::IsValid",1,"lldb::SBStream const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_IsValid",1,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBStream const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBStream const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_GetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBStream::GetData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetData",1,"lldb::SBStream *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_GetData",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBStream::GetData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetData",1,"lldb::SBStream *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_GetData",1,SWIGTYPE_p_lldb__SBStream); + } + + result = (char *)(arg1)->GetData(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetData(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBStream::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetSize",1,"lldb::SBStream *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_GetSize",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBStream::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetSize",1,"lldb::SBStream *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_GetSize",1,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_Print(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBStream::Print",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Print",1,"lldb::SBStream *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::Print",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_Print",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBStream::Print",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Print",1,"lldb::SBStream *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::Print",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_Print",1,SWIGTYPE_p_lldb__SBStream); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->Print((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->Print((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_RedirectToFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - char *arg2 = (char *) 0 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBStream::RedirectToFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"char const *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + char *arg2 = (char *) 0 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBStream::RedirectToFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"char const *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->RedirectToFile((char const *)arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->RedirectToFile((char const *)arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_RedirectToFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - lldb::SBFile arg2 ; - lldb::SBFile *argp2 ; - - SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"lldb::SBFile"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ - SWIG_fail_ptr("SBStream_RedirectToFile",2,SWIGTYPE_p_lldb__SBFile); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + lldb::SBFile arg2 ; + lldb::SBFile *argp2 ; + + SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"lldb::SBFile"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){ + SWIG_fail_ptr("SBStream_RedirectToFile",2,SWIGTYPE_p_lldb__SBFile); + } + arg2 = *argp2; + + (arg1)->RedirectToFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->RedirectToFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_RedirectToFile__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - - SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + + SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + (arg1)->RedirectToFile(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - (arg1)->RedirectToFile(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -44912,7 +44951,7 @@ static int _wrap_SBStream_RedirectToFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) { @@ -44936,7 +44975,7 @@ static int _wrap_SBStream_RedirectToFile(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) { @@ -44956,7 +44995,7 @@ static int _wrap_SBStream_RedirectToFile(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) { @@ -44990,89 +45029,89 @@ static int _wrap_SBStream_RedirectToFile(lua_State* L) { static int _wrap_SBStream_RedirectToFileHandle(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBStream::RedirectToFileHandle",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",1,"lldb::SBStream *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_RedirectToFileHandle",1,SWIGTYPE_p_lldb__SBStream); - } - { - luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); - lldb::FileSP file_sp; - file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); - if (!file_sp->IsValid()) - return luaL_error(L, "Invalid file"); - arg2 = file_sp; + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBStream::RedirectToFileHandle",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",1,"lldb::SBStream *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_RedirectToFileHandle",1,SWIGTYPE_p_lldb__SBStream); + } + + { + luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE); + lldb::FileSP file_sp; + file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); + if (!file_sp->IsValid()) + return luaL_error(L, "Invalid file"); + arg2 = file_sp; + } + arg3 = (lua_toboolean(L, 3)!=0); + lldb_SBStream_RedirectToFileHandle(arg1,SWIG_STD_MOVE(arg2),arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = (lua_toboolean(L, 3)!=0); - lldb_SBStream_RedirectToFileHandle(arg1,arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_RedirectToFileDescriptor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - int arg2 ; - bool arg3 ; - - SWIG_check_num_args("lldb::SBStream::RedirectToFileDescriptor",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",1,"lldb::SBStream *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",2,"int"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_RedirectToFileDescriptor",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + int arg2 ; + bool arg3 ; + + SWIG_check_num_args("lldb::SBStream::RedirectToFileDescriptor",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",1,"lldb::SBStream *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",2,"int"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_RedirectToFileDescriptor",1,SWIGTYPE_p_lldb__SBStream); + } + + arg2 = (int)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + (arg1)->RedirectToFileDescriptor(arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - (arg1)->RedirectToFileDescriptor(arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStream_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; - - SWIG_check_num_args("lldb::SBStream::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Clear",1,"lldb::SBStream *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStream_Clear",1,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBStream *arg1 = (lldb::SBStream *) 0 ; + + SWIG_check_num_args("lldb::SBStream::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Clear",1,"lldb::SBStream *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStream_Clear",1,SWIGTYPE_p_lldb__SBStream); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45132,43 +45171,43 @@ static const char *swig_SBStream_base_names[] = {0}; static swig_lua_class _wrap_class_SBStream = { "SBStream", "SBStream", &SWIGTYPE_p_lldb__SBStream,_proxy__wrap_new_SBStream, swig_delete_SBStream, swig_SBStream_methods, swig_SBStream_attributes, &swig_SBStream_Sf_SwigStatic, swig_SBStream_meta, swig_SBStream_bases, swig_SBStream_base_names }; static int _wrap_new_SBStringList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *result = 0 ; - - SWIG_check_num_args("lldb::SBStringList::SBStringList",0,0) - result = (lldb::SBStringList *)new lldb::SBStringList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBStringList *result = 0 ; + + SWIG_check_num_args("lldb::SBStringList::SBStringList",0,0) + result = (lldb::SBStringList *)new lldb::SBStringList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBStringList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = 0 ; - lldb::SBStringList *result = 0 ; - - SWIG_check_num_args("lldb::SBStringList::SBStringList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStringList::SBStringList",1,"lldb::SBStringList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("new_SBStringList",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = 0 ; + lldb::SBStringList *result = 0 ; + + SWIG_check_num_args("lldb::SBStringList::SBStringList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStringList::SBStringList",1,"lldb::SBStringList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("new_SBStringList",1,SWIGTYPE_p_lldb__SBStringList); + } + + result = (lldb::SBStringList *)new lldb::SBStringList((lldb::SBStringList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBStringList *)new lldb::SBStringList((lldb::SBStringList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45183,7 +45222,7 @@ static int _wrap_new_SBStringList(lua_State* L) { return _wrap_new_SBStringList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, SWIG_POINTER_NO_NULL)) { @@ -45206,138 +45245,138 @@ static int _wrap_new_SBStringList(lua_State* L) { static int _wrap_SBStringList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBStringList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::IsValid",1,"lldb::SBStringList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_IsValid",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBStringList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::IsValid",1,"lldb::SBStringList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_IsValid",1,SWIGTYPE_p_lldb__SBStringList); + } + + result = (bool)((lldb::SBStringList const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBStringList const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStringList_AppendString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBStringList::AppendString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendString",1,"lldb::SBStringList *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_AppendString",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBStringList::AppendString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendString",1,"lldb::SBStringList *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_AppendString",1,SWIGTYPE_p_lldb__SBStringList); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->AppendString((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->AppendString((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStringList_AppendList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - char **arg2 = (char **) 0 ; - int arg3 ; - - SWIG_check_num_args("lldb::SBStringList::AppendList",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBStringList::AppendList",3,"int"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + char **arg2 = (char **) 0 ; + int arg3 ; + + SWIG_check_num_args("lldb::SBStringList::AppendList",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBStringList::AppendList",3,"int"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (int)lua_tointeger(L, 3); - (arg1)->AppendList((char const **)arg2,arg3); - - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (int)lua_tointeger(L, 3); + (arg1)->AppendList((char const **)arg2,arg3); + + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStringList_AppendList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBStringList::AppendList",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendList",2,"lldb::SBStringList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_AppendList",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBStringList::AppendList",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendList",2,"lldb::SBStringList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_AppendList",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->AppendList((lldb::SBStringList const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->AppendList((lldb::SBStringList const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45349,7 +45388,7 @@ static int _wrap_SBStringList_AppendList(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) { @@ -45373,7 +45412,7 @@ static int _wrap_SBStringList_AppendList(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) { @@ -45406,76 +45445,76 @@ static int _wrap_SBStringList_AppendList(lua_State* L) { static int _wrap_SBStringList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBStringList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetSize",1,"lldb::SBStringList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_GetSize",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBStringList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetSize",1,"lldb::SBStringList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_GetSize",1,SWIGTYPE_p_lldb__SBStringList); + } + + result = (uint32_t)((lldb::SBStringList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBStringList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStringList_GetStringAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - size_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBStringList::GetStringAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",1,"lldb::SBStringList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_GetStringAtIndex",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + size_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBStringList::GetStringAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",1,"lldb::SBStringList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_GetStringAtIndex",1,SWIGTYPE_p_lldb__SBStringList); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetStringAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetStringAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStringList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; - - SWIG_check_num_args("lldb::SBStringList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::Clear",1,"lldb::SBStringList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStringList_Clear",1,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ; + + SWIG_check_num_args("lldb::SBStringList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::Clear",1,"lldb::SBStringList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStringList_Clear",1,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45533,67 +45572,67 @@ static const char *swig_SBStringList_base_names[] = {0}; static swig_lua_class _wrap_class_SBStringList = { "SBStringList", "SBStringList", &SWIGTYPE_p_lldb__SBStringList,_proxy__wrap_new_SBStringList, swig_delete_SBStringList, swig_SBStringList_methods, swig_SBStringList_attributes, &swig_SBStringList_Sf_SwigStatic, swig_SBStringList_meta, swig_SBStringList_bases, swig_SBStringList_base_names }; static int _wrap_new_SBStructuredData__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *result = 0 ; - - SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",0,0) - result = (lldb::SBStructuredData *)new lldb::SBStructuredData(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBStructuredData *result = 0 ; + + SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",0,0) + result = (lldb::SBStructuredData *)new lldb::SBStructuredData(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBStructuredData__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = 0 ; - lldb::SBStructuredData *result = 0 ; - - SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::SBStructuredData const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = 0 ; + lldb::SBStructuredData *result = 0 ; + + SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::SBStructuredData const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (lldb::SBStructuredData *)new lldb::SBStructuredData((lldb::SBStructuredData const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBStructuredData *)new lldb::SBStructuredData((lldb::SBStructuredData const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBStructuredData__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::EventSP *arg1 = 0 ; - lldb::SBStructuredData *result = 0 ; - - SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::EventSP const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t,0))){ - SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t); + { + int SWIG_arg = 0; + lldb::EventSP *arg1 = 0 ; + lldb::SBStructuredData *result = 0 ; + + SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::EventSP const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t,0))){ + SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t); + } + + result = (lldb::SBStructuredData *)new lldb::SBStructuredData((lldb::EventSP const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBStructuredData *)new lldb::SBStructuredData((lldb::EventSP const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45608,7 +45647,7 @@ static int _wrap_new_SBStructuredData(lua_State* L) { return _wrap_new_SBStructuredData__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { @@ -45622,7 +45661,7 @@ static int _wrap_new_SBStructuredData(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t, SWIG_POINTER_NO_NULL)) { @@ -45646,239 +45685,239 @@ static int _wrap_new_SBStructuredData(lua_State* L) { static int _wrap_SBStructuredData_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBStructuredData::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::IsValid",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_IsValid",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBStructuredData::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::IsValid",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_IsValid",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (bool)((lldb::SBStructuredData const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBStructuredData const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - - SWIG_check_num_args("lldb::SBStructuredData::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::Clear",1,"lldb::SBStructuredData *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_Clear",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + + SWIG_check_num_args("lldb::SBStructuredData::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::Clear",1,"lldb::SBStructuredData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_Clear",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - lldb::StructuredDataType result; - - SWIG_check_num_args("lldb::SBStructuredData::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetType",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetType",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + lldb::StructuredDataType result; + + SWIG_check_num_args("lldb::SBStructuredData::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetType",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetType",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (lldb::StructuredDataType)((lldb::SBStructuredData const *)arg1)->GetType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::StructuredDataType)((lldb::SBStructuredData const *)arg1)->GetType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBStructuredData::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetSize",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetSize",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBStructuredData::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetSize",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetSize",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = ((lldb::SBStructuredData const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = ((lldb::SBStructuredData const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetKeys(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - lldb::SBStringList *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBStructuredData::GetKeys",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",1,"lldb::SBStructuredData const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetKeys",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBStructuredData_GetKeys",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + lldb::SBStringList *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBStructuredData::GetKeys",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",1,"lldb::SBStructuredData const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetKeys",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBStructuredData_GetKeys",2,SWIGTYPE_p_lldb__SBStringList); + } + + result = (bool)((lldb::SBStructuredData const *)arg1)->GetKeys(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBStructuredData const *)arg1)->GetKeys(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetValueForKey(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBStructuredData::GetValueForKey",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",1,"lldb::SBStructuredData const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetValueForKey",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - arg2 = (char *)lua_tostring(L, 2); - result = ((lldb::SBStructuredData const *)arg1)->GetValueForKey((char const *)arg2); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBStructuredData::GetValueForKey",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",1,"lldb::SBStructuredData const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetValueForKey",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (char *)lua_tostring(L, 2); + result = ((lldb::SBStructuredData const *)arg1)->GetValueForKey((char const *)arg2); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetItemAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - size_t arg2 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBStructuredData::GetItemAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",1,"lldb::SBStructuredData const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetItemAtIndex",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = ((lldb::SBStructuredData const *)arg1)->GetItemAtIndex(arg2); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + size_t arg2 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBStructuredData::GetItemAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",1,"lldb::SBStructuredData const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetItemAtIndex",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = ((lldb::SBStructuredData const *)arg1)->GetItemAtIndex(arg2); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetIntegerValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - uint64_t arg2 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",2,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + uint64_t arg2 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",2,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (uint64_t)lua_tointeger(L, 2); + result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint64_t)lua_tointeger(L, 2); - result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetIntegerValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45890,7 +45929,7 @@ static int _wrap_SBStructuredData_GetIntegerValue(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -45904,7 +45943,7 @@ static int _wrap_SBStructuredData_GetIntegerValue(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -45932,53 +45971,53 @@ static int _wrap_SBStructuredData_GetIntegerValue(lua_State* L) { static int _wrap_SBStructuredData_GetFloatValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - double arg2 ; - double result; - - SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *"); - if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",2,"double"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + double arg2 ; + double result; + + SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *"); + if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",2,"double"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (double)lua_tonumber(L, 2); + result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue(arg2); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (double)lua_tonumber(L, 2); - result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue(arg2); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetFloatValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - double result; - - SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + double result; + + SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue(); + lua_pushnumber(L, (lua_Number) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue(); - lua_pushnumber(L, (lua_Number) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -45990,7 +46029,7 @@ static int _wrap_SBStructuredData_GetFloatValue(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46004,7 +46043,7 @@ static int _wrap_SBStructuredData_GetFloatValue(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46032,53 +46071,53 @@ static int _wrap_SBStructuredData_GetFloatValue(lua_State* L) { static int _wrap_SBStructuredData_GetBooleanValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - bool arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + bool arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (lua_toboolean(L, 2)!=0); + result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetBooleanValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData); + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -46090,7 +46129,7 @@ static int _wrap_SBStructuredData_GetBooleanValue(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46104,7 +46143,7 @@ static int _wrap_SBStructuredData_GetBooleanValue(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46132,177 +46171,177 @@ static int _wrap_SBStructuredData_GetBooleanValue(lua_State* L) { static int _wrap_SBStructuredData_GetStringValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBStructuredData::GetStringValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetStringValue",1,"lldb::SBStructuredData const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetStringValue",1,SWIGTYPE_p_lldb__SBStructuredData); - } - { - arg3 = luaL_checkinteger(L, 2); - if (arg3 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBStructuredData::GetStringValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetStringValue",1,"lldb::SBStructuredData const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetStringValue",1,SWIGTYPE_p_lldb__SBStructuredData); } - arg2 = (char *)malloc(arg3); - } - result = ((lldb::SBStructuredData const *)arg1)->GetStringValue(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg2, result); + + { + arg3 = luaL_checkinteger(L, 2); + if (arg3 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg2 = (char *)malloc(arg3); + } + result = ((lldb::SBStructuredData const *)arg1)->GetStringValue(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg2, result); + } + free(arg2); + // SWIG_arg was already incremented } - free(arg2); - // SWIG_arg was already incremented + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetAsJSON(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBStructuredData::GetAsJSON",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",1,"lldb::SBStructuredData const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetAsJSON",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStructuredData_GetAsJSON",2,SWIGTYPE_p_lldb__SBStream); - } - - result = ((lldb::SBStructuredData const *)arg1)->GetAsJSON(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBStructuredData::GetAsJSON",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",1,"lldb::SBStructuredData const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetAsJSON",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStructuredData_GetAsJSON",2,SWIGTYPE_p_lldb__SBStream); + } + + result = ((lldb::SBStructuredData const *)arg1)->GetAsJSON(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBStructuredData::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",1,"lldb::SBStructuredData const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_GetDescription",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStructuredData_GetDescription",2,SWIGTYPE_p_lldb__SBStream); - } - - result = ((lldb::SBStructuredData const *)arg1)->GetDescription(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBStructuredData::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",1,"lldb::SBStructuredData const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_GetDescription",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStructuredData_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = ((lldb::SBStructuredData const *)arg1)->GetDescription(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_SetFromJSON__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBStructuredData_SetFromJSON",2,SWIGTYPE_p_lldb__SBStream); - } - - result = (arg1)->SetFromJSON(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBStructuredData_SetFromJSON",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->SetFromJSON(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBStructuredData_SetFromJSON__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->SetFromJSON((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->SetFromJSON((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -46314,7 +46353,7 @@ static int _wrap_SBStructuredData_SetFromJSON(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46338,7 +46377,7 @@ static int _wrap_SBStructuredData_SetFromJSON(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { @@ -46427,43 +46466,43 @@ static const char *swig_SBStructuredData_base_names[] = {0}; static swig_lua_class _wrap_class_SBStructuredData = { "SBStructuredData", "SBStructuredData", &SWIGTYPE_p_lldb__SBStructuredData,_proxy__wrap_new_SBStructuredData, swig_delete_SBStructuredData, swig_SBStructuredData_methods, swig_SBStructuredData_attributes, &swig_SBStructuredData_Sf_SwigStatic, swig_SBStructuredData_meta, swig_SBStructuredData_bases, swig_SBStructuredData_base_names }; static int _wrap_new_SBSymbol__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbol::SBSymbol",0,0) - result = (lldb::SBSymbol *)new lldb::SBSymbol(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBSymbol *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbol::SBSymbol",0,0) + result = (lldb::SBSymbol *)new lldb::SBSymbol(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBSymbol__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = 0 ; - lldb::SBSymbol *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbol::SBSymbol",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbol::SBSymbol",1,"lldb::SBSymbol const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("new_SBSymbol",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = 0 ; + lldb::SBSymbol *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbol::SBSymbol",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbol::SBSymbol",1,"lldb::SBSymbol const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("new_SBSymbol",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (lldb::SBSymbol *)new lldb::SBSymbol((lldb::SBSymbol const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBSymbol *)new lldb::SBSymbol((lldb::SBSymbol const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -46478,7 +46517,7 @@ static int _wrap_new_SBSymbol(lua_State* L) { return _wrap_new_SBSymbol__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, SWIG_POINTER_NO_NULL)) { @@ -46501,173 +46540,173 @@ static int _wrap_new_SBSymbol(lua_State* L) { static int _wrap_SBSymbol_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbol::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsValid",1,"lldb::SBSymbol const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_IsValid",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbol::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsValid",1,"lldb::SBSymbol const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_IsValid",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (bool)((lldb::SBSymbol const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBSymbol const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbol::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetName",1,"lldb::SBSymbol const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetName",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbol::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetName",1,"lldb::SBSymbol const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetName",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (char *)((lldb::SBSymbol const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBSymbol const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetDisplayName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbol::GetDisplayName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDisplayName",1,"lldb::SBSymbol const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetDisplayName",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbol::GetDisplayName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDisplayName",1,"lldb::SBSymbol const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetDisplayName",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (char *)((lldb::SBSymbol const *)arg1)->GetDisplayName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBSymbol const *)arg1)->GetDisplayName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetMangledName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbol::GetMangledName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetMangledName",1,"lldb::SBSymbol const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetMangledName",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbol::GetMangledName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetMangledName",1,"lldb::SBSymbol const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetMangledName",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (char *)((lldb::SBSymbol const *)arg1)->GetMangledName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBSymbol const *)arg1)->GetMangledName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetInstructions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBTarget arg2 ; - lldb::SBTarget *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBSymbol::GetInstructions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); - } - arg2 = *argp2; - - result = (arg1)->GetInstructions(arg2); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBTarget arg2 ; + lldb::SBTarget *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBSymbol::GetInstructions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + result = (arg1)->GetInstructions(arg2); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetInstructions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBTarget arg2 ; - char *arg3 = (char *) 0 ; - lldb::SBTarget *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBSymbol::GetInstructions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); - } - arg2 = *argp2; - - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->GetInstructions(arg2,(char const *)arg3); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBTarget arg2 ; + char *arg3 = (char *) 0 ; + lldb::SBTarget *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBSymbol::GetInstructions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget); + } + arg2 = *argp2; + + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->GetInstructions(arg2,(char const *)arg3); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -46679,7 +46718,7 @@ static int _wrap_SBSymbol_GetInstructions(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, 0)) { @@ -46703,7 +46742,7 @@ static int _wrap_SBSymbol_GetInstructions(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, 0)) { @@ -46741,286 +46780,286 @@ static int _wrap_SBSymbol_GetInstructions(lua_State* L) { static int _wrap_SBSymbol_GetStartAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBSymbol::GetStartAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetStartAddress",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetStartAddress",1,SWIGTYPE_p_lldb__SBSymbol); - } - - result = (arg1)->GetStartAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBSymbol::GetStartAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetStartAddress",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetStartAddress",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (arg1)->GetStartAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetEndAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBSymbol::GetEndAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetEndAddress",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetEndAddress",1,SWIGTYPE_p_lldb__SBSymbol); - } - - result = (arg1)->GetEndAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBSymbol::GetEndAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetEndAddress",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetEndAddress",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (arg1)->GetEndAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBSymbol::GetValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetValue",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetValue",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBSymbol::GetValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetValue",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetValue",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (uint64_t)(arg1)->GetValue(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetValue(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBSymbol::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetSize",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetSize",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBSymbol::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetSize",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetSize",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (uint64_t)(arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetPrologueByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBSymbol::GetPrologueByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetPrologueByteSize",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBSymbol::GetPrologueByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetPrologueByteSize",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (uint32_t)(arg1)->GetPrologueByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetPrologueByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SymbolType result; - - SWIG_check_num_args("lldb::SBSymbol::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetType",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetType",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SymbolType result; + + SWIG_check_num_args("lldb::SBSymbol::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetType",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetType",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (lldb::SymbolType)(arg1)->GetType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SymbolType)(arg1)->GetType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbol::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",1,"lldb::SBSymbol *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_GetDescription",1,SWIGTYPE_p_lldb__SBSymbol); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSymbol_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbol::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",1,"lldb::SBSymbol *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_GetDescription",1,SWIGTYPE_p_lldb__SBSymbol); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSymbol_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_IsExternal(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbol::IsExternal",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsExternal",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_IsExternal",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbol::IsExternal",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsExternal",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_IsExternal",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (bool)(arg1)->IsExternal(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsExternal(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol_IsSynthetic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbol::IsSynthetic",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsSynthetic",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol_IsSynthetic",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbol::IsSynthetic",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsSynthetic",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol_IsSynthetic",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (bool)(arg1)->IsSynthetic(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsSynthetic(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - lldb::SBSymbol *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbol::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::operator ==",1,"lldb::SBSymbol const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::operator ==",2,"lldb::SBSymbol const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol___eq",1,SWIGTYPE_p_lldb__SBSymbol); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol___eq",2,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + lldb::SBSymbol *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbol::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::operator ==",1,"lldb::SBSymbol const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::operator ==",2,"lldb::SBSymbol const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol___eq",1,SWIGTYPE_p_lldb__SBSymbol); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol___eq",2,SWIGTYPE_p_lldb__SBSymbol); + } + + result = (bool)((lldb::SBSymbol const *)arg1)->operator ==((lldb::SBSymbol const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBSymbol const *)arg1)->operator ==((lldb::SBSymbol const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbol___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBSymbol::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::__repr__",1,"lldb::SBSymbol *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbol___tostring",1,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBSymbol::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::__repr__",1,"lldb::SBSymbol *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbol___tostring",1,SWIGTYPE_p_lldb__SBSymbol); + } + + result = lldb_SBSymbol___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBSymbol___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -47090,43 +47129,43 @@ static const char *swig_SBSymbol_base_names[] = {0}; static swig_lua_class _wrap_class_SBSymbol = { "SBSymbol", "SBSymbol", &SWIGTYPE_p_lldb__SBSymbol,_proxy__wrap_new_SBSymbol, swig_delete_SBSymbol, swig_SBSymbol_methods, swig_SBSymbol_attributes, &swig_SBSymbol_Sf_SwigStatic, swig_SBSymbol_meta, swig_SBSymbol_bases, swig_SBSymbol_base_names }; static int _wrap_new_SBSymbolContext__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",0,0) - result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBSymbolContext *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",0,0) + result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBSymbolContext__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = 0 ; - lldb::SBSymbolContext *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SBSymbolContext",1,"lldb::SBSymbolContext const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("new_SBSymbolContext",1,SWIGTYPE_p_lldb__SBSymbolContext); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = 0 ; + lldb::SBSymbolContext *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SBSymbolContext",1,"lldb::SBSymbolContext const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("new_SBSymbolContext",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext((lldb::SBSymbolContext const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext((lldb::SBSymbolContext const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -47141,7 +47180,7 @@ static int _wrap_new_SBSymbolContext(lua_State* L) { return _wrap_new_SBSymbolContext__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContext, SWIG_POINTER_NO_NULL)) { @@ -47164,476 +47203,476 @@ static int _wrap_new_SBSymbolContext(lua_State* L) { static int _wrap_SBSymbolContext_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbolContext::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::IsValid",1,"lldb::SBSymbolContext const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContext); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbolContext::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::IsValid",1,"lldb::SBSymbolContext const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (bool)((lldb::SBSymbolContext const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBSymbolContext const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetModule",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetModule",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetModule",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetModule(); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetModule",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetModule",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetModule",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetModule(); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetCompileUnit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBCompileUnit result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetCompileUnit",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetCompileUnit",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetCompileUnit(); { - lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit((const lldb::SBCompileUnit &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBCompileUnit result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetCompileUnit",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetCompileUnit",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetCompileUnit(); + { + lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetFunction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBFunction result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetFunction",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetFunction",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetFunction(); { - lldb::SBFunction * resultptr = new lldb::SBFunction((const lldb::SBFunction &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBFunction result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetFunction",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetFunction",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetFunction(); + { + lldb::SBFunction * resultptr = new lldb::SBFunction(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBBlock result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetBlock",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetBlock",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetBlock(); { - lldb::SBBlock * resultptr = new lldb::SBBlock((const lldb::SBBlock &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBBlock result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetBlock",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetBlock",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetBlock(); + { + lldb::SBBlock * resultptr = new lldb::SBBlock(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetLineEntry(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBLineEntry result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetLineEntry",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetLineEntry",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetLineEntry(); { - lldb::SBLineEntry * resultptr = new lldb::SBLineEntry((const lldb::SBLineEntry &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBLineEntry result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetLineEntry",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetLineEntry",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetLineEntry(); + { + lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetSymbol(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBSymbol result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetSymbol",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetSymbol",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - result = (arg1)->GetSymbol(); { - lldb::SBSymbol * resultptr = new lldb::SBSymbol((const lldb::SBSymbol &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBSymbol result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetSymbol",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetSymbol",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = (arg1)->GetSymbol(); + { + lldb::SBSymbol * resultptr = new lldb::SBSymbol(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBModule arg2 ; - lldb::SBModule *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetModule",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",2,"lldb::SBModule"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetModule",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBSymbolContext_SetModule",2,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBModule arg2 ; + lldb::SBModule *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetModule",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",2,"lldb::SBModule"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetModule",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBSymbolContext_SetModule",2,SWIGTYPE_p_lldb__SBModule); + } + arg2 = *argp2; + + (arg1)->SetModule(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetModule(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetCompileUnit(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBCompileUnit arg2 ; - lldb::SBCompileUnit *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetCompileUnit",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",2,"lldb::SBCompileUnit"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBCompileUnit,0))){ - SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",2,SWIGTYPE_p_lldb__SBCompileUnit); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBCompileUnit arg2 ; + lldb::SBCompileUnit *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetCompileUnit",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",2,"lldb::SBCompileUnit"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBCompileUnit,0))){ + SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",2,SWIGTYPE_p_lldb__SBCompileUnit); + } + arg2 = *argp2; + + (arg1)->SetCompileUnit(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetCompileUnit(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetFunction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBFunction arg2 ; - lldb::SBFunction *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetFunction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",2,"lldb::SBFunction"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFunction,0))){ - SWIG_fail_ptr("SBSymbolContext_SetFunction",2,SWIGTYPE_p_lldb__SBFunction); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBFunction arg2 ; + lldb::SBFunction *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetFunction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",2,"lldb::SBFunction"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFunction,0))){ + SWIG_fail_ptr("SBSymbolContext_SetFunction",2,SWIGTYPE_p_lldb__SBFunction); + } + arg2 = *argp2; + + (arg1)->SetFunction(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetFunction(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetBlock(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBBlock arg2 ; - lldb::SBBlock *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetBlock",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",2,"lldb::SBBlock"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBBlock,0))){ - SWIG_fail_ptr("SBSymbolContext_SetBlock",2,SWIGTYPE_p_lldb__SBBlock); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBBlock arg2 ; + lldb::SBBlock *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetBlock",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",2,"lldb::SBBlock"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBBlock,0))){ + SWIG_fail_ptr("SBSymbolContext_SetBlock",2,SWIGTYPE_p_lldb__SBBlock); + } + arg2 = *argp2; + + (arg1)->SetBlock(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetBlock(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetLineEntry(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBLineEntry arg2 ; - lldb::SBLineEntry *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetLineEntry",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",2,"lldb::SBLineEntry"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBLineEntry,0))){ - SWIG_fail_ptr("SBSymbolContext_SetLineEntry",2,SWIGTYPE_p_lldb__SBLineEntry); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBLineEntry arg2 ; + lldb::SBLineEntry *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetLineEntry",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",2,"lldb::SBLineEntry"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBLineEntry,0))){ + SWIG_fail_ptr("SBSymbolContext_SetLineEntry",2,SWIGTYPE_p_lldb__SBLineEntry); + } + arg2 = *argp2; + + (arg1)->SetLineEntry(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetLineEntry(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_SetSymbol(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBSymbol arg2 ; - lldb::SBSymbol *argp2 ; - - SWIG_check_num_args("lldb::SBSymbolContext::SetSymbol",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",2,"lldb::SBSymbol"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_SetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSymbol,0))){ - SWIG_fail_ptr("SBSymbolContext_SetSymbol",2,SWIGTYPE_p_lldb__SBSymbol); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBSymbol arg2 ; + lldb::SBSymbol *argp2 ; + + SWIG_check_num_args("lldb::SBSymbolContext::SetSymbol",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",2,"lldb::SBSymbol"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_SetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSymbol,0))){ + SWIG_fail_ptr("SBSymbolContext_SetSymbol",2,SWIGTYPE_p_lldb__SBSymbol); + } + arg2 = *argp2; + + (arg1)->SetSymbol(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->SetSymbol(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetParentOfInlinedScope(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::SBAddress *arg3 = 0 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetParentOfInlinedScope",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",1,"lldb::SBSymbolContext const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",2,"lldb::SBAddress const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",3,"lldb::SBAddress &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",2,SWIGTYPE_p_lldb__SBAddress); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",3,SWIGTYPE_p_lldb__SBAddress); - } - - result = ((lldb::SBSymbolContext const *)arg1)->GetParentOfInlinedScope((lldb::SBAddress const &)*arg2,*arg3); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::SBAddress *arg3 = 0 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetParentOfInlinedScope",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",1,"lldb::SBSymbolContext const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",2,"lldb::SBAddress const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",3,"lldb::SBAddress &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",2,SWIGTYPE_p_lldb__SBAddress); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",3,SWIGTYPE_p_lldb__SBAddress); + } + + result = ((lldb::SBSymbolContext const *)arg1)->GetParentOfInlinedScope((lldb::SBAddress const &)*arg2,*arg3); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbolContext::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",1,"lldb::SBSymbolContext *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContext); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSymbolContext_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbolContext::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",1,"lldb::SBSymbolContext *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSymbolContext_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContext___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBSymbolContext::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::__repr__",1,"lldb::SBSymbolContext *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContext___tostring",1,SWIGTYPE_p_lldb__SBSymbolContext); + { + int SWIG_arg = 0; + lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBSymbolContext::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::__repr__",1,"lldb::SBSymbolContext *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContext___tostring",1,SWIGTYPE_p_lldb__SBSymbolContext); + } + + result = lldb_SBSymbolContext___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBSymbolContext___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -47702,43 +47741,43 @@ static const char *swig_SBSymbolContext_base_names[] = {0}; static swig_lua_class _wrap_class_SBSymbolContext = { "SBSymbolContext", "SBSymbolContext", &SWIGTYPE_p_lldb__SBSymbolContext,_proxy__wrap_new_SBSymbolContext, swig_delete_SBSymbolContext, swig_SBSymbolContext_methods, swig_SBSymbolContext_attributes, &swig_SBSymbolContext_Sf_SwigStatic, swig_SBSymbolContext_meta, swig_SBSymbolContext_bases, swig_SBSymbolContext_base_names }; static int _wrap_new_SBSymbolContextList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",0,0) - result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",0,0) + result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBSymbolContextList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = 0 ; - lldb::SBSymbolContextList *result = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::SBSymbolContextList",1,"lldb::SBSymbolContextList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("new_SBSymbolContextList",1,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = 0 ; + lldb::SBSymbolContextList *result = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::SBSymbolContextList",1,"lldb::SBSymbolContextList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("new_SBSymbolContextList",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList((lldb::SBSymbolContextList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList((lldb::SBSymbolContextList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -47753,7 +47792,7 @@ static int _wrap_new_SBSymbolContextList(lua_State* L) { return _wrap_new_SBSymbolContextList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, SWIG_POINTER_NO_NULL)) { @@ -47776,140 +47815,140 @@ static int _wrap_new_SBSymbolContextList(lua_State* L) { static int _wrap_SBSymbolContextList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbolContextList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::IsValid",1,"lldb::SBSymbolContextList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbolContextList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::IsValid",1,"lldb::SBSymbolContextList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + result = (bool)((lldb::SBSymbolContextList const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBSymbolContextList const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBSymbolContextList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetSize",1,"lldb::SBSymbolContextList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_GetSize",1,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBSymbolContextList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetSize",1,"lldb::SBSymbolContextList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_GetSize",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + result = (uint32_t)((lldb::SBSymbolContextList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBSymbolContextList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList_GetContextAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - uint32_t arg2 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBSymbolContextList::GetContextAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",1,"lldb::SBSymbolContextList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_GetContextAtIndex",1,SWIGTYPE_p_lldb__SBSymbolContextList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetContextAtIndex(arg2); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + uint32_t arg2 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBSymbolContextList::GetContextAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",1,"lldb::SBSymbolContextList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_GetContextAtIndex",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetContextAtIndex(arg2); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList_Append__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - lldb::SBSymbolContext *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContext &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContext,0))){ - SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContext); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + lldb::SBSymbolContext *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContext &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContext,0))){ + SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContext); + } + + (arg1)->Append(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList_Append__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - lldb::SBSymbolContextList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContextList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + lldb::SBSymbolContextList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContextList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + (arg1)->Append(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -47921,7 +47960,7 @@ static int _wrap_SBSymbolContextList_Append(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, 0)) { @@ -47945,7 +47984,7 @@ static int _wrap_SBSymbolContextList_Append(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, 0)) { @@ -47978,80 +48017,80 @@ static int _wrap_SBSymbolContextList_Append(lua_State* L) { static int _wrap_SBSymbolContextList_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBSymbolContextList::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",1,"lldb::SBSymbolContextList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContextList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBSymbolContextList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBSymbolContextList::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",1,"lldb::SBSymbolContextList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBSymbolContextList_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - - SWIG_check_num_args("lldb::SBSymbolContextList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Clear",1,"lldb::SBSymbolContextList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList_Clear",1,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + + SWIG_check_num_args("lldb::SBSymbolContextList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Clear",1,"lldb::SBSymbolContextList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList_Clear",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBSymbolContextList___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBSymbolContextList::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::__repr__",1,"lldb::SBSymbolContextList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ - SWIG_fail_ptr("SBSymbolContextList___tostring",1,SWIGTYPE_p_lldb__SBSymbolContextList); + { + int SWIG_arg = 0; + lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBSymbolContextList::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::__repr__",1,"lldb::SBSymbolContextList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){ + SWIG_fail_ptr("SBSymbolContextList___tostring",1,SWIGTYPE_p_lldb__SBSymbolContextList); + } + + result = lldb_SBSymbolContextList___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBSymbolContextList___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -48111,43 +48150,43 @@ static const char *swig_SBSymbolContextList_base_names[] = {0}; static swig_lua_class _wrap_class_SBSymbolContextList = { "SBSymbolContextList", "SBSymbolContextList", &SWIGTYPE_p_lldb__SBSymbolContextList,_proxy__wrap_new_SBSymbolContextList, swig_delete_SBSymbolContextList, swig_SBSymbolContextList_methods, swig_SBSymbolContextList_attributes, &swig_SBSymbolContextList_Sf_SwigStatic, swig_SBSymbolContextList_meta, swig_SBSymbolContextList_bases, swig_SBSymbolContextList_base_names }; static int _wrap_new_SBTarget__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *result = 0 ; - - SWIG_check_num_args("lldb::SBTarget::SBTarget",0,0) - result = (lldb::SBTarget *)new lldb::SBTarget(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTarget *result = 0 ; + + SWIG_check_num_args("lldb::SBTarget::SBTarget",0,0) + result = (lldb::SBTarget *)new lldb::SBTarget(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTarget__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = 0 ; - lldb::SBTarget *result = 0 ; - - SWIG_check_num_args("lldb::SBTarget::SBTarget",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::SBTarget",1,"lldb::SBTarget const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("new_SBTarget",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = 0 ; + lldb::SBTarget *result = 0 ; + + SWIG_check_num_args("lldb::SBTarget::SBTarget",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::SBTarget",1,"lldb::SBTarget const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("new_SBTarget",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::SBTarget *)new lldb::SBTarget((lldb::SBTarget const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTarget *)new lldb::SBTarget((lldb::SBTarget const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -48162,7 +48201,7 @@ static int _wrap_new_SBTarget(lua_State* L) { return _wrap_new_SBTarget__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { @@ -48185,479 +48224,479 @@ static int _wrap_new_SBTarget(lua_State* L) { static int _wrap_SBTarget_GetBroadcasterClassName(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTarget::GetBroadcasterClassName",0,0) - result = (char *)lldb::SBTarget::GetBroadcasterClassName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTarget::GetBroadcasterClassName",0,0) + result = (char *)lldb::SBTarget::GetBroadcasterClassName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsValid",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_IsValid",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsValid",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_IsValid",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)((lldb::SBTarget const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTarget const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_EventIsTargetEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::EventIsTargetEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::EventIsTargetEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBTarget_EventIsTargetEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::EventIsTargetEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::EventIsTargetEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBTarget_EventIsTargetEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBTarget::EventIsTargetEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBTarget::EventIsTargetEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetTargetFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBTarget::GetTargetFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTargetFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBTarget_GetTargetFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBTarget::GetTargetFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBTarget::GetTargetFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTargetFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBTarget_GetTargetFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBTarget::GetTargetFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetNumModulesFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetNumModulesFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModulesFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBTarget_GetNumModulesFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetNumModulesFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModulesFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBTarget_GetNumModulesFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (uint32_t)lldb::SBTarget::GetNumModulesFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)lldb::SBTarget::GetNumModulesFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetModuleAtIndexFromEvent(lua_State* L) { - int SWIG_arg = 0; - uint32_t arg1 ; - lldb::SBEvent *arg2 = 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndexFromEvent",2,2) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",1,"uint32_t const"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",2,"lldb::SBEvent const &"); - arg1 = (uint32_t const)lua_tointeger(L, 1); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBTarget_GetModuleAtIndexFromEvent",2,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBTarget::GetModuleAtIndexFromEvent(arg1,(lldb::SBEvent const &)*arg2); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + uint32_t arg1 ; + lldb::SBEvent *arg2 = 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndexFromEvent",2,2) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",1,"uint32_t const"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",2,"lldb::SBEvent const &"); + arg1 = (uint32_t const)lua_tointeger(L, 1); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBTarget_GetModuleAtIndexFromEvent",2,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBTarget::GetModuleAtIndexFromEvent(arg1,(lldb::SBEvent const &)*arg2); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetProcess",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetProcess",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetProcess",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetProcess",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetPlatform(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBPlatform result; - - SWIG_check_num_args("lldb::SBTarget::GetPlatform",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetPlatform",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetPlatform",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetPlatform(); { - lldb::SBPlatform * resultptr = new lldb::SBPlatform((const lldb::SBPlatform &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBPlatform result; + + SWIG_check_num_args("lldb::SBTarget::GetPlatform",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetPlatform",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetPlatform",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetPlatform(); + { + lldb::SBPlatform * resultptr = new lldb::SBPlatform(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_Install(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::Install",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Install",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_Install",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->Install(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::Install",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Install",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_Install",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->Install(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_Launch__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBListener *arg2 = 0 ; - char **arg3 = (char **) 0 ; - char **arg4 = (char **) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - uint32_t arg9 ; - bool arg10 ; - lldb::SBError *arg11 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::Launch",11,11) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBListener &"); - if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::Launch",5,"char const *"); - if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBTarget::Launch",6,"char const *"); - if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBTarget::Launch",7,"char const *"); - if(!SWIG_lua_isnilstring(L,8)) SWIG_fail_arg("lldb::SBTarget::Launch",8,"char const *"); - if(!lua_isinteger(L,9)) SWIG_fail_arg("lldb::SBTarget::Launch",9,"uint32_t"); - if(!lua_isboolean(L,10)) SWIG_fail_arg("lldb::SBTarget::Launch",10,"bool"); - if(!lua_isuserdata(L,11)) SWIG_fail_arg("lldb::SBTarget::Launch",11,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBListener); - } - { - if (lua_istable(L, 3)) { - size_t size = lua_rawlen(L, 3); - arg3 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 3, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBListener *arg2 = 0 ; + char **arg3 = (char **) 0 ; + char **arg4 = (char **) 0 ; + char *arg5 = (char *) 0 ; + char *arg6 = (char *) 0 ; + char *arg7 = (char *) 0 ; + char *arg8 = (char *) 0 ; + uint32_t arg9 ; + bool arg10 ; + lldb::SBError *arg11 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::Launch",11,11) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBListener &"); + if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::Launch",5,"char const *"); + if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBTarget::Launch",6,"char const *"); + if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBTarget::Launch",7,"char const *"); + if(!SWIG_lua_isnilstring(L,8)) SWIG_fail_arg("lldb::SBTarget::Launch",8,"char const *"); + if(!lua_isinteger(L,9)) SWIG_fail_arg("lldb::SBTarget::Launch",9,"uint32_t"); + if(!lua_isboolean(L,10)) SWIG_fail_arg("lldb::SBTarget::Launch",10,"bool"); + if(!lua_isuserdata(L,11)) SWIG_fail_arg("lldb::SBTarget::Launch",11,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBListener); + } + + { + if (lua_istable(L, 3)) { + size_t size = lua_rawlen(L, 3); + arg3 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 3, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg3[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg3[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg3[j] = 0; + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg3[j] = 0; - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - { - if (lua_istable(L, 4)) { - size_t size = lua_rawlen(L, 4); - arg4 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 4, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + { + if (lua_istable(L, 4)) { + size_t size = lua_rawlen(L, 4); + arg4 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 4, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg4[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg4[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg4[j] = 0; + } else if (lua_isnil(L, 4)) { + // "nil" is also acceptable, equivalent as an empty table + arg4 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg4[j] = 0; - } else if (lua_isnil(L, 4)) { - // "nil" is also acceptable, equivalent as an empty table - arg4 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg5 = (char *)lua_tostring(L, 5); - arg6 = (char *)lua_tostring(L, 6); - arg7 = (char *)lua_tostring(L, 7); - arg8 = (char *)lua_tostring(L, 8); - arg9 = (uint32_t)lua_tointeger(L, 9); - arg10 = (lua_toboolean(L, 10)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,11,(void**)&arg11,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_Launch",11,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->Launch(*arg2,(char const **)arg3,(char const **)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,*arg11); - { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; - } - { - free((char *) arg3); - } - { - free((char *) arg4); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg3); - } - { - free((char *) arg4); + arg5 = (char *)lua_tostring(L, 5); + arg6 = (char *)lua_tostring(L, 6); + arg7 = (char *)lua_tostring(L, 7); + arg8 = (char *)lua_tostring(L, 8); + arg9 = (uint32_t)lua_tointeger(L, 9); + arg10 = (lua_toboolean(L, 10)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,11,(void**)&arg11,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_Launch",11,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->Launch(*arg2,(char const **)arg3,(char const **)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,*arg11); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + { + free((char *) arg3); + } + { + free((char *) arg4); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg3); + } + { + free((char *) arg4); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_LaunchSimple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - char *arg4 = (char *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::LaunchSimple",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",4,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_LaunchSimple",1,SWIGTYPE_p_lldb__SBTarget); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char **arg2 = (char **) 0 ; + char **arg3 = (char **) 0 ; + char *arg4 = (char *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::LaunchSimple",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",4,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_LaunchSimple",1,SWIGTYPE_p_lldb__SBTarget); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - { - if (lua_istable(L, 3)) { - size_t size = lua_rawlen(L, 3); - arg3 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 3, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + { + if (lua_istable(L, 3)) { + size_t size = lua_rawlen(L, 3); + arg3 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 3, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg3[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg3[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg3[j] = 0; + } else if (lua_isnil(L, 3)) { + // "nil" is also acceptable, equivalent as an empty table + arg3 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg3[j] = 0; - } else if (lua_isnil(L, 3)) { - // "nil" is also acceptable, equivalent as an empty table - arg3 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg4 = (char *)lua_tostring(L, 4); - result = (arg1)->LaunchSimple((char const **)arg2,(char const **)arg3,(char const *)arg4); - { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; - } - { - free((char *) arg2); - } - { - free((char *) arg3); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); - } - { - free((char *) arg3); + arg4 = (char *)lua_tostring(L, 4); + result = (arg1)->LaunchSimple((char const **)arg2,(char const **)arg3,(char const *)arg4); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + { + free((char *) arg2); + } + { + free((char *) arg3); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } + { + free((char *) arg3); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_Launch__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBLaunchInfo *arg2 = 0 ; - lldb::SBError *arg3 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::Launch",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBLaunchInfo &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Launch",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_Launch",3,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->Launch(*arg2,*arg3); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBLaunchInfo *arg2 = 0 ; + lldb::SBError *arg3 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::Launch",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBLaunchInfo &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Launch",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_Launch",3,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->Launch(*arg2,*arg3); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -48669,7 +48708,7 @@ static int _wrap_SBTarget_Launch(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -48703,7 +48742,7 @@ static int _wrap_SBTarget_Launch(lua_State* L) { } } if (argc == 11) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -48786,69 +48825,69 @@ static int _wrap_SBTarget_Launch(lua_State* L) { static int _wrap_SBTarget_LoadCore__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::LoadCore",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->LoadCore((char const *)arg2); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::LoadCore",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->LoadCore((char const *)arg2); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_LoadCore__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError *arg3 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::LoadCore",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::LoadCore",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_LoadCore",3,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->LoadCore((char const *)arg2,*arg3); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError *arg3 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::LoadCore",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::LoadCore",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_LoadCore",3,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->LoadCore((char const *)arg2,*arg3); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -48860,7 +48899,7 @@ static int _wrap_SBTarget_LoadCore(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -48879,7 +48918,7 @@ static int _wrap_SBTarget_LoadCore(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -48917,384 +48956,384 @@ static int _wrap_SBTarget_LoadCore(lua_State* L) { static int _wrap_SBTarget_Attach(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAttachInfo *arg2 = 0 ; - lldb::SBError *arg3 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::Attach",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Attach",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Attach",2,"lldb::SBAttachInfo &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Attach",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_Attach",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAttachInfo,0))){ - SWIG_fail_ptr("SBTarget_Attach",2,SWIGTYPE_p_lldb__SBAttachInfo); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_Attach",3,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->Attach(*arg2,*arg3); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAttachInfo *arg2 = 0 ; + lldb::SBError *arg3 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::Attach",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Attach",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Attach",2,"lldb::SBAttachInfo &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Attach",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_Attach",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBTarget_Attach",2,SWIGTYPE_p_lldb__SBAttachInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_Attach",3,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->Attach(*arg2,*arg3); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AttachToProcessWithID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBListener *arg2 = 0 ; - lldb::pid_t arg3 ; - lldb::SBError *arg4 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithID",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",2,"lldb::SBListener &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",3,"lldb::pid_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithID",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithID",2,SWIGTYPE_p_lldb__SBListener); - } - - arg3 = (lldb::pid_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithID",4,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->AttachToProcessWithID(*arg2,arg3,*arg4); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBListener *arg2 = 0 ; + lldb::pid_t arg3 ; + lldb::SBError *arg4 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithID",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",2,"lldb::SBListener &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",3,"lldb::pid_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithID",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithID",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (lldb::pid_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithID",4,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->AttachToProcessWithID(*arg2,arg3,*arg4); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AttachToProcessWithName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBListener *arg2 = 0 ; - char *arg3 = (char *) 0 ; - bool arg4 ; - lldb::SBError *arg5 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithName",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",2,"lldb::SBListener &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",3,"char const *"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",4,"bool"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",5,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithName",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithName",2,SWIGTYPE_p_lldb__SBListener); - } - - arg3 = (char *)lua_tostring(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_AttachToProcessWithName",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->AttachToProcessWithName(*arg2,(char const *)arg3,arg4,*arg5); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBListener *arg2 = 0 ; + char *arg3 = (char *) 0 ; + bool arg4 ; + lldb::SBError *arg5 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithName",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",2,"lldb::SBListener &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",3,"char const *"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",4,"bool"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithName",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithName",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (char *)lua_tostring(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_AttachToProcessWithName",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->AttachToProcessWithName(*arg2,(char const *)arg3,arg4,*arg5); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ConnectRemote(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBListener *arg2 = 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - lldb::SBError *arg5 = 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBTarget::ConnectRemote",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",2,"lldb::SBListener &"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",3,"char const *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",4,"char const *"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",5,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ConnectRemote",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ - SWIG_fail_ptr("SBTarget_ConnectRemote",2,SWIGTYPE_p_lldb__SBListener); - } - - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_ConnectRemote",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->ConnectRemote(*arg2,(char const *)arg3,(char const *)arg4,*arg5); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBListener *arg2 = 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + lldb::SBError *arg5 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBTarget::ConnectRemote",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",2,"lldb::SBListener &"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",3,"char const *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",4,"char const *"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ConnectRemote",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){ + SWIG_fail_ptr("SBTarget_ConnectRemote",2,SWIGTYPE_p_lldb__SBListener); + } + + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_ConnectRemote",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->ConnectRemote(*arg2,(char const *)arg3,(char const *)arg4,*arg5); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetExecutable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBTarget::GetExecutable",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetExecutable",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetExecutable",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetExecutable(); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBTarget::GetExecutable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetExecutable",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetExecutable",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetExecutable(); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AppendImageSearchPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBError *arg4 = 0 ; - - SWIG_check_num_args("lldb::SBTarget::AppendImageSearchPath",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",3,"char const *"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AppendImageSearchPath",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_AppendImageSearchPath",4,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBError *arg4 = 0 ; + + SWIG_check_num_args("lldb::SBTarget::AppendImageSearchPath",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",3,"char const *"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AppendImageSearchPath",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_AppendImageSearchPath",4,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->AppendImageSearchPath((char const *)arg2,(char const *)arg3,*arg4); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->AppendImageSearchPath((char const *)arg2,(char const *)arg3,*arg4); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AddModule__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModule *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::AddModule",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModule &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModule *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::AddModule",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModule &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModule); + } + + result = (bool)(arg1)->AddModule(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->AddModule(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AddModule__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::AddModule",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::AddModule",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AddModule__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::AddModule",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *"); - if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::AddModule",5,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - arg4 = (char *)lua_tostring(L, 4); - arg5 = (char *)lua_tostring(L, 5); - result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *arg5 = (char *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::AddModule",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *"); + if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::AddModule",5,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + arg5 = (char *)lua_tostring(L, 5); + result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_AddModule__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModuleSpec *arg2 = 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::AddModule",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModuleSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ - SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModuleSpec); - } - - result = (arg1)->AddModule((lldb::SBModuleSpec const &)*arg2); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModuleSpec *arg2 = 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::AddModule",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModuleSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){ + SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModuleSpec); + } + + result = (arg1)->AddModule((lldb::SBModuleSpec const &)*arg2); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -49306,7 +49345,7 @@ static int _wrap_SBTarget_AddModule(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -49330,7 +49369,7 @@ static int _wrap_SBTarget_AddModule(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -49354,7 +49393,7 @@ static int _wrap_SBTarget_AddModule(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -49383,7 +49422,7 @@ static int _wrap_SBTarget_AddModule(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -49428,565 +49467,565 @@ static int _wrap_SBTarget_AddModule(lua_State* L) { static int _wrap_SBTarget_GetNumModules(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetNumModules",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModules",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetNumModules",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetNumModules",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModules",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetNumModules",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumModules(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumModules(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetModuleAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t arg2 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetModuleAtIndex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetModuleAtIndex(arg2); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t arg2 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetModuleAtIndex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetModuleAtIndex(arg2); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_RemoveModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModule arg2 ; - lldb::SBModule *argp2 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::RemoveModule",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",2,"lldb::SBModule"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_RemoveModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBTarget_RemoveModule",2,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModule arg2 ; + lldb::SBModule *argp2 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::RemoveModule",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",2,"lldb::SBModule"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_RemoveModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBTarget_RemoveModule",2,SWIGTYPE_p_lldb__SBModule); + } + arg2 = *argp2; + + result = (bool)(arg1)->RemoveModule(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (bool)(arg1)->RemoveModule(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetDebugger(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBDebugger result; - - SWIG_check_num_args("lldb::SBTarget::GetDebugger",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDebugger",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetDebugger",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = ((lldb::SBTarget const *)arg1)->GetDebugger(); { - lldb::SBDebugger * resultptr = new lldb::SBDebugger((const lldb::SBDebugger &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBDebugger result; + + SWIG_check_num_args("lldb::SBTarget::GetDebugger",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDebugger",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetDebugger",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = ((lldb::SBTarget const *)arg1)->GetDebugger(); + { + lldb::SBDebugger * resultptr = new lldb::SBDebugger(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBTarget::FindModule",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindModule",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindModule",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindModule",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_FindModule",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->FindModule((lldb::SBFileSpec const &)*arg2); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBTarget::FindModule",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindModule",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindModule",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindModule",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_FindModule",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->FindModule((lldb::SBFileSpec const &)*arg2); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindCompileUnits(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindCompileUnits",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",2,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindCompileUnits",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindCompileUnits",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",2,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindCompileUnits",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetByteOrder(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::ByteOrder result; - - SWIG_check_num_args("lldb::SBTarget::GetByteOrder",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetByteOrder",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetByteOrder",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::ByteOrder result; + + SWIG_check_num_args("lldb::SBTarget::GetByteOrder",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetByteOrder",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetByteOrder",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::ByteOrder)(arg1)->GetByteOrder(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ByteOrder)(arg1)->GetByteOrder(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetAddressByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetAddressByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetAddressByteSize",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetAddressByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetAddressByteSize",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)(arg1)->GetAddressByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetAddressByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetTriple(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTarget::GetTriple",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTriple",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetTriple",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTarget::GetTriple",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTriple",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetTriple",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (char *)(arg1)->GetTriple(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTriple(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetABIName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTarget::GetABIName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetABIName",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetABIName",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTarget::GetABIName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetABIName",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetABIName",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (char *)(arg1)->GetABIName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetABIName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetDataByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetDataByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDataByteSize",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetDataByteSize",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetDataByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDataByteSize",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetDataByteSize",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)(arg1)->GetDataByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetDataByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetCodeByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetCodeByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCodeByteSize",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetCodeByteSize",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetCodeByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCodeByteSize",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetCodeByteSize",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)(arg1)->GetCodeByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetCodeByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetMaximumNumberOfChildrenToDisplay(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetMaximumNumberOfChildrenToDisplay",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetMaximumNumberOfChildrenToDisplay",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)((lldb::SBTarget const *)arg1)->GetMaximumNumberOfChildrenToDisplay(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBTarget const *)arg1)->GetMaximumNumberOfChildrenToDisplay(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_SetSectionLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBSection arg2 ; - lldb::addr_t arg3 ; - lldb::SBSection *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::SetSectionLoadAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",2,"lldb::SBSection"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection); - } - arg2 = *argp2; - - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (arg1)->SetSectionLoadAddress(arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBSection arg2 ; + lldb::addr_t arg3 ; + lldb::SBSection *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::SetSectionLoadAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",2,"lldb::SBSection"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection); + } + arg2 = *argp2; + + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (arg1)->SetSectionLoadAddress(arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ClearSectionLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBSection arg2 ; - lldb::SBSection *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::ClearSectionLoadAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",2,"lldb::SBSection"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ - SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection); - } - arg2 = *argp2; - - result = (arg1)->ClearSectionLoadAddress(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBSection arg2 ; + lldb::SBSection *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::ClearSectionLoadAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",2,"lldb::SBSection"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){ + SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection); + } + arg2 = *argp2; + + result = (arg1)->ClearSectionLoadAddress(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_SetModuleLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModule arg2 ; - int64_t arg3 ; - lldb::SBModule *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::SetModuleLoadAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",2,"lldb::SBModule"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",3,"int64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule); - } - arg2 = *argp2; - - arg3 = (int64_t)lua_tointeger(L, 3); - result = (arg1)->SetModuleLoadAddress(arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModule arg2 ; + int64_t arg3 ; + lldb::SBModule *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::SetModuleLoadAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",2,"lldb::SBModule"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",3,"int64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule); + } + arg2 = *argp2; + + arg3 = (int64_t)lua_tointeger(L, 3); + result = (arg1)->SetModuleLoadAddress(arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ClearModuleLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModule arg2 ; - lldb::SBModule *argp2 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::ClearModuleLoadAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",2,"lldb::SBModule"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule); - } - arg2 = *argp2; - - result = (arg1)->ClearModuleLoadAddress(arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModule arg2 ; + lldb::SBModule *argp2 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::ClearModuleLoadAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",2,"lldb::SBModule"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule); + } + arg2 = *argp2; + + result = (arg1)->ClearModuleLoadAddress(arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindFunctions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindFunctions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->FindFunctions((char const *)arg2,arg3); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindFunctions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->FindFunctions((char const *)arg2,arg3); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindFunctions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindFunctions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindFunctions((char const *)arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindFunctions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindFunctions((char const *)arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -49998,7 +50037,7 @@ static int _wrap_SBTarget_FindFunctions(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50017,7 +50056,7 @@ static int _wrap_SBTarget_FindFunctions(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50050,218 +50089,218 @@ static int _wrap_SBTarget_FindFunctions(lua_State* L) { static int _wrap_SBTarget_FindFirstType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTarget::FindFirstType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindFirstType",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindFirstType((char const *)arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTarget::FindFirstType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindFirstType",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindFirstType((char const *)arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindTypes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBTarget::FindTypes",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindTypes",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindTypes",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindTypes",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindTypes((char const *)arg2); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBTarget::FindTypes",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindTypes",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindTypes",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindTypes",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindTypes((char const *)arg2); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetBasicType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::BasicType arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTarget::GetBasicType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",2,"lldb::BasicType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetBasicType",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::BasicType)lua_tointeger(L, 2); - result = (arg1)->GetBasicType(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::BasicType arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTarget::GetBasicType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",2,"lldb::BasicType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetBasicType",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::BasicType)lua_tointeger(L, 2); + result = (arg1)->GetBasicType(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetSourceManager(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - SwigValueWrapper< lldb::SBSourceManager > result; - - SWIG_check_num_args("lldb::SBTarget::GetSourceManager",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetSourceManager",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetSourceManager",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetSourceManager(); { - lldb::SBSourceManager * resultptr = new lldb::SBSourceManager((const lldb::SBSourceManager &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + SwigValueWrapper< lldb::SBSourceManager > result; + + SWIG_check_num_args("lldb::SBTarget::GetSourceManager",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetSourceManager",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetSourceManager",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetSourceManager(); + { + lldb::SBSourceManager * resultptr = new lldb::SBSourceManager(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindGlobalVariables__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->FindGlobalVariables((char const *)arg2,arg3); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->FindGlobalVariables((char const *)arg2,arg3); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindFirstGlobalVariable(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::FindFirstGlobalVariable",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindFirstGlobalVariable((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::FindFirstGlobalVariable",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindFirstGlobalVariable((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindGlobalVariables__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::MatchType arg4 ; - lldb::SBValueList result; - - SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",4,"lldb::MatchType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (lldb::MatchType)lua_tointeger(L, 4); - result = (arg1)->FindGlobalVariables((char const *)arg2,arg3,arg4); { - lldb::SBValueList * resultptr = new lldb::SBValueList((const lldb::SBValueList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::MatchType arg4 ; + lldb::SBValueList result; + + SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",4,"lldb::MatchType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (lldb::MatchType)lua_tointeger(L, 4); + result = (arg1)->FindGlobalVariables((char const *)arg2,arg3,arg4); + { + lldb::SBValueList * resultptr = new lldb::SBValueList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -50273,7 +50312,7 @@ static int _wrap_SBTarget_FindGlobalVariables(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50297,7 +50336,7 @@ static int _wrap_SBTarget_FindGlobalVariables(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50335,510 +50374,510 @@ static int _wrap_SBTarget_FindGlobalVariables(lua_State* L) { static int _wrap_SBTarget_FindGlobalFunctions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::MatchType arg4 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindGlobalFunctions",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",4,"lldb::MatchType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindGlobalFunctions",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (lldb::MatchType)lua_tointeger(L, 4); - result = (arg1)->FindGlobalFunctions((char const *)arg2,arg3,arg4); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::MatchType arg4 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindGlobalFunctions",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",4,"lldb::MatchType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindGlobalFunctions",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (lldb::MatchType)lua_tointeger(L, 4); + result = (arg1)->FindGlobalFunctions((char const *)arg2,arg3,arg4); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - - SWIG_check_num_args("lldb::SBTarget::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Clear",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_Clear",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + + SWIG_check_num_args("lldb::SBTarget::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Clear",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_Clear",1,SWIGTYPE_p_lldb__SBTarget); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ResolveFileAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::addr_t arg2 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBTarget::ResolveFileAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->ResolveFileAddress(arg2); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t arg2 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBTarget::ResolveFileAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->ResolveFileAddress(arg2); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ResolveLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::addr_t arg2 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBTarget::ResolveLoadAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ResolveLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->ResolveLoadAddress(arg2); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t arg2 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBTarget::ResolveLoadAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ResolveLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->ResolveLoadAddress(arg2); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ResolvePastLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t arg2 ; - lldb::addr_t arg3 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBTarget::ResolvePastLoadAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ResolvePastLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (arg1)->ResolvePastLoadAddress(arg2,arg3); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t arg2 ; + lldb::addr_t arg3 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBTarget::ResolvePastLoadAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ResolvePastLoadAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (arg1)->ResolvePastLoadAddress(arg2,arg3); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ResolveSymbolContextForAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBSymbolContext result; - - SWIG_check_num_args("lldb::SBTarget::ResolveSymbolContextForAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3); { - lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext((const lldb::SBSymbolContext &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBSymbolContext result; + + SWIG_check_num_args("lldb::SBTarget::ResolveSymbolContextForAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3); + { + lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ReadMemory(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress arg2 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::SBError *arg5 = 0 ; - lldb::SBAddress *argp2 ; - size_t result; - - SWIG_check_num_args("lldb::SBTarget::ReadMemory",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",2,"lldb::SBAddress const"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ReadMemory",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_ReadMemory",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - { - arg4 = luaL_checkinteger(L, 3); - if (arg4 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress arg2 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::SBError *arg5 = 0 ; + lldb::SBAddress *argp2 ; + size_t result; + + SWIG_check_num_args("lldb::SBTarget::ReadMemory",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",2,"lldb::SBAddress const"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ReadMemory",1,SWIGTYPE_p_lldb__SBTarget); } - arg3 = (char *)malloc(arg4); - } - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_ReadMemory",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - if (result == 0) { - lua_pushliteral(L, ""); - } else { - lua_pushlstring(L, (const char *)arg3, result); + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_ReadMemory",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + { + arg4 = luaL_checkinteger(L, 3); + if (arg4 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg3 = (char *)malloc(arg4); + } + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_ReadMemory",5,SWIGTYPE_p_lldb__SBError); } - free(arg3); - // SWIG_arg was already incremented + + result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + if (result == 0) { + lua_pushliteral(L, ""); + } else { + lua_pushlstring(L, (const char *)arg3, result); + } + free(arg3); + // SWIG_arg was already incremented + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->BreakpointCreateByLocation((char const *)arg2,arg3); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->BreakpointCreateByLocation((char const *)arg2,arg3); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - lldb::addr_t arg4 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (lldb::addr_t)lua_tointeger(L, 4); - result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + lldb::addr_t arg4 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (lldb::addr_t)lua_tointeger(L, 4); + result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - lldb::addr_t arg4 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::SBFileSpecList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (lldb::addr_t)lua_tointeger(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,*arg5); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + lldb::addr_t arg4 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::SBFileSpecList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (lldb::addr_t)lua_tointeger(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,*arg5); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - lldb::addr_t arg5 ; - lldb::SBFileSpecList *arg6 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (lldb::addr_t)lua_tointeger(L, 5); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + lldb::addr_t arg5 ; + lldb::SBFileSpecList *arg6 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (lldb::addr_t)lua_tointeger(L, 5); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - lldb::addr_t arg5 ; - lldb::SBFileSpecList *arg6 = 0 ; - bool arg7 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",7,7) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &"); - if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",7,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (lldb::addr_t)lua_tointeger(L, 5); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList); - } - - arg7 = (lua_toboolean(L, 7)!=0); - result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6,arg7); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + lldb::addr_t arg5 ; + lldb::SBFileSpecList *arg6 = 0 ; + bool arg7 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",7,7) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &"); + if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",7,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (lldb::addr_t)lua_tointeger(L, 5); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList); + } + + arg7 = (lua_toboolean(L, 7)!=0); + result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6,arg7); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -50850,7 +50889,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50879,7 +50918,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50903,7 +50942,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50937,7 +50976,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -50981,7 +51020,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51030,7 +51069,7 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { } } if (argc == 7) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51097,162 +51136,162 @@ static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) { static int _wrap_SBTarget_BreakpointCreateByName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->BreakpointCreateByName((char const *)arg2,(char const *)arg3); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->BreakpointCreateByName((char const *)arg2,(char const *)arg3); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->BreakpointCreateByName((char const *)arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->BreakpointCreateByName((char const *)arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByName__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByName__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::LanguageType arg4 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBFileSpecList *arg6 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::LanguageType"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",6,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (lldb::LanguageType)lua_tointeger(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByName",6,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::LanguageType arg4 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBFileSpecList *arg6 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::LanguageType"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",6,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (lldb::LanguageType)lua_tointeger(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByName",6,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -51264,7 +51303,7 @@ static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51283,7 +51322,7 @@ static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51307,7 +51346,7 @@ static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51351,7 +51390,7 @@ static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51411,242 +51450,242 @@ static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) { static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char **arg2 = (char **) 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBFileSpecList *arg6 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char **arg2 = (char **) 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBFileSpecList *arg6 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6); - { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; - } - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char **arg2 = (char **) 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - lldb::LanguageType arg5 ; - lldb::SBFileSpecList *arg6 = 0 ; - lldb::SBFileSpecList *arg7 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",7,7) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char **arg2 = (char **) 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + lldb::LanguageType arg5 ; + lldb::SBFileSpecList *arg6 = 0 ; + lldb::SBFileSpecList *arg7 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",7,7) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (lldb::LanguageType)lua_tointeger(L, 5); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,(lldb::SBFileSpecList const &)*arg6,(lldb::SBFileSpecList const &)*arg7); - { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; - } - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (lldb::LanguageType)lua_tointeger(L, 5); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,(lldb::SBFileSpecList const &)*arg6,(lldb::SBFileSpecList const &)*arg7); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char **arg2 = (char **) 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - lldb::LanguageType arg5 ; - lldb::addr_t arg6 ; - lldb::SBFileSpecList *arg7 = 0 ; - lldb::SBFileSpecList *arg8 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",8,8) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType"); - if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::addr_t"); - if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",8,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); - } - { - if (lua_istable(L, 2)) { - size_t size = lua_rawlen(L, 2); - arg2 = (char **)malloc((size + 1) * sizeof(char *)); - int i = 0, j = 0; - while (i++ < size) { - lua_rawgeti(L, 2, i); - if (!lua_isstring(L, -1)) { - // if current element cannot be converted to string, raise an error + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char **arg2 = (char **) 0 ; + uint32_t arg3 ; + uint32_t arg4 ; + lldb::LanguageType arg5 ; + lldb::addr_t arg6 ; + lldb::SBFileSpecList *arg7 = 0 ; + lldb::SBFileSpecList *arg8 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",8,8) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType"); + if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::addr_t"); + if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",8,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget); + } + + { + if (lua_istable(L, 2)) { + size_t size = lua_rawlen(L, 2); + arg2 = (char **)malloc((size + 1) * sizeof(char *)); + int i = 0, j = 0; + while (i++ < size) { + lua_rawgeti(L, 2, i); + if (!lua_isstring(L, -1)) { + // if current element cannot be converted to string, raise an error + lua_pop(L, 1); + return luaL_error(L, "List should only contain strings"); + } + arg2[j++] = (char *)lua_tostring(L, -1); lua_pop(L, 1); - return luaL_error(L, "List should only contain strings"); } - arg2[j++] = (char *)lua_tostring(L, -1); - lua_pop(L, 1); + arg2[j] = 0; + } else if (lua_isnil(L, 2)) { + // "nil" is also acceptable, equivalent as an empty table + arg2 = NULL; + } else { + return luaL_error(L, "A list of strings expected"); } - arg2[j] = 0; - } else if (lua_isnil(L, 2)) { - // "nil" is also acceptable, equivalent as an empty table - arg2 = NULL; - } else { - return luaL_error(L, "A list of strings expected"); } - } - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (uint32_t)lua_tointeger(L, 4); - arg5 = (lldb::LanguageType)lua_tointeger(L, 5); - arg6 = (lldb::addr_t)lua_tointeger(L, 6); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",8,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,arg6,(lldb::SBFileSpecList const &)*arg7,(lldb::SBFileSpecList const &)*arg8); - { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; - } - { - free((char *) arg2); - } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - { - free((char *) arg2); + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (uint32_t)lua_tointeger(L, 4); + arg5 = (lldb::LanguageType)lua_tointeger(L, 5); + arg6 = (lldb::addr_t)lua_tointeger(L, 6); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",8,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,arg6,(lldb::SBFileSpecList const &)*arg7,(lldb::SBFileSpecList const &)*arg8); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + { + free((char *) arg2); + } + return SWIG_arg; + + fail: SWIGUNUSED; + { + free((char *) arg2); + } } lua_error(L); - return SWIG_arg; + return 0; } @@ -51658,7 +51697,7 @@ static int _wrap_SBTarget_BreakpointCreateByNames(lua_State* L) { argc = lua_gettop(L); if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51707,7 +51746,7 @@ static int _wrap_SBTarget_BreakpointCreateByNames(lua_State* L) { } } if (argc == 7) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51761,7 +51800,7 @@ static int _wrap_SBTarget_BreakpointCreateByNames(lua_State* L) { } } if (argc == 8) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51830,112 +51869,112 @@ static int _wrap_SBTarget_BreakpointCreateByNames(lua_State* L) { static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->BreakpointCreateByRegex((char const *)arg2,(char const *)arg3); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->BreakpointCreateByRegex((char const *)arg2,(char const *)arg3); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->BreakpointCreateByRegex((char const *)arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->BreakpointCreateByRegex((char const *)arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::LanguageType arg3 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"lldb::LanguageType"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",4,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",5,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::LanguageType)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateByRegex((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::LanguageType arg3 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"lldb::LanguageType"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",4,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",5,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::LanguageType)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateByRegex((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -51947,7 +51986,7 @@ static int _wrap_SBTarget_BreakpointCreateByRegex(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51966,7 +52005,7 @@ static int _wrap_SBTarget_BreakpointCreateByRegex(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -51990,7 +52029,7 @@ static int _wrap_SBTarget_BreakpointCreateByRegex(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52044,174 +52083,174 @@ static int _wrap_SBTarget_BreakpointCreateByRegex(lua_State* L) { static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBFileSpec *arg3 = 0 ; - char *arg4 = (char *) 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg4 = (char *)lua_tostring(L, 4); - result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3,(char const *)arg4); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBFileSpec *arg3 = 0 ; + char *arg4 = (char *) 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg4 = (char *)lua_tostring(L, 4); + result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3,(char const *)arg4); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBFileSpecList *arg3 = 0 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBFileSpecList *arg3 = 0 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBFileSpecList *arg3 = 0 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBStringList *arg5 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",5,"lldb::SBStringList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",5,SWIGTYPE_p_lldb__SBStringList); - } - - result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBStringList const &)*arg5); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBFileSpecList *arg3 = 0 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBStringList *arg5 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",5,"lldb::SBStringList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",5,SWIGTYPE_p_lldb__SBStringList); + } + + result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBStringList const &)*arg5); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -52223,7 +52262,7 @@ static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52252,7 +52291,7 @@ static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52286,7 +52325,7 @@ static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52325,7 +52364,7 @@ static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52385,234 +52424,234 @@ static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) { static int _wrap_SBTarget_BreakpointCreateForException(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::LanguageType arg2 ; - bool arg3 ; - bool arg4 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateForException",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",2,"lldb::LanguageType"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateForException",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->BreakpointCreateForException(arg2,arg3,arg4); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::LanguageType arg2 ; + bool arg3 ; + bool arg4 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateForException",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",2,"lldb::LanguageType"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateForException",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->BreakpointCreateForException(arg2,arg3,arg4); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateByAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::addr_t arg2 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateByAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - result = (arg1)->BreakpointCreateByAddress(arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t arg2 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateByAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + result = (arg1)->BreakpointCreateByAddress(arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetEnvironment(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBEnvironment result; - - SWIG_check_num_args("lldb::SBTarget::GetEnvironment",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetEnvironment",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetEnvironment",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetEnvironment(); { - lldb::SBEnvironment * resultptr = new lldb::SBEnvironment((const lldb::SBEnvironment &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBEnvironment result; + + SWIG_check_num_args("lldb::SBTarget::GetEnvironment",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetEnvironment",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetEnvironment",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetEnvironment(); + { + lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateBySBAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySBAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",2,"lldb::SBAddress &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",2,SWIGTYPE_p_lldb__SBAddress); - } - - result = (arg1)->BreakpointCreateBySBAddress(*arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySBAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",2,"lldb::SBAddress &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + + result = (arg1)->BreakpointCreateBySBAddress(*arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBFileSpecList *arg5 = 0 ; - bool arg6 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &"); - if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",6,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - arg6 = (lua_toboolean(L, 6)!=0); - result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5,arg6); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBFileSpecList *arg5 = 0 ; + bool arg6 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &"); + if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",6,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + arg6 = (lua_toboolean(L, 6)!=0); + result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5,arg6); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBFileSpecList *arg4 = 0 ; - lldb::SBFileSpecList *arg5 = 0 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList); - } - - result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBFileSpecList *arg4 = 0 ; + lldb::SBFileSpecList *arg5 = 0 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -52624,7 +52663,7 @@ static int _wrap_SBTarget_BreakpointCreateFromScript(lua_State* L) { argc = lua_gettop(L); if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52673,7 +52712,7 @@ static int _wrap_SBTarget_BreakpointCreateFromScript(lua_State* L) { } } if (argc == 6) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -52736,364 +52775,364 @@ static int _wrap_SBTarget_BreakpointCreateFromScript(lua_State* L) { static int _wrap_SBTarget_GetNumBreakpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetNumBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumBreakpoints",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetNumBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetNumBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumBreakpoints",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetNumBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumBreakpoints(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumBreakpoints(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetBreakpointAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t arg2 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::GetBreakpointAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",1,"lldb::SBTarget const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBTarget const *)arg1)->GetBreakpointAtIndex(arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t arg2 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::GetBreakpointAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",1,"lldb::SBTarget const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBTarget const *)arg1)->GetBreakpointAtIndex(arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointDelete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::break_id_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointDelete",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",2,"lldb::break_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointDelete",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::break_id_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointDelete",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",2,"lldb::break_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointDelete",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::break_id_t)lua_tointeger(L, 2); + result = (bool)(arg1)->BreakpointDelete(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::break_id_t)lua_tointeger(L, 2); - result = (bool)(arg1)->BreakpointDelete(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindBreakpointByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::break_id_t arg2 ; - lldb::SBBreakpoint result; - - SWIG_check_num_args("lldb::SBTarget::FindBreakpointByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",2,"lldb::break_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::break_id_t)lua_tointeger(L, 2); - result = (arg1)->FindBreakpointByID(arg2); { - lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint((const lldb::SBBreakpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::break_id_t arg2 ; + lldb::SBBreakpoint result; + + SWIG_check_num_args("lldb::SBTarget::FindBreakpointByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",2,"lldb::break_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::break_id_t)lua_tointeger(L, 2); + result = (arg1)->FindBreakpointByID(arg2); + { + lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindBreakpointsByName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBBreakpointList *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::FindBreakpointsByName",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",3,"lldb::SBBreakpointList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindBreakpointsByName",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBTarget_FindBreakpointsByName",3,SWIGTYPE_p_lldb__SBBreakpointList); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBBreakpointList *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::FindBreakpointsByName",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",3,"lldb::SBBreakpointList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindBreakpointsByName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBTarget_FindBreakpointsByName",3,SWIGTYPE_p_lldb__SBBreakpointList); + } + + result = (bool)(arg1)->FindBreakpointsByName((char const *)arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->FindBreakpointsByName((char const *)arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DeleteBreakpointName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTarget::DeleteBreakpointName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DeleteBreakpointName",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTarget::DeleteBreakpointName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DeleteBreakpointName",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->DeleteBreakpointName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->DeleteBreakpointName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetBreakpointNames(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBStringList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBTarget::GetBreakpointNames",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",2,"lldb::SBStringList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetBreakpointNames",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBTarget_GetBreakpointNames",2,SWIGTYPE_p_lldb__SBStringList); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBStringList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBTarget::GetBreakpointNames",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",2,"lldb::SBStringList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetBreakpointNames",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBTarget_GetBreakpointNames",2,SWIGTYPE_p_lldb__SBStringList); + } + + (arg1)->GetBreakpointNames(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->GetBreakpointNames(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_EnableAllBreakpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::EnableAllBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllBreakpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_EnableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::EnableAllBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllBreakpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_EnableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->EnableAllBreakpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EnableAllBreakpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DisableAllBreakpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::DisableAllBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllBreakpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DisableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::DisableAllBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllBreakpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DisableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->DisableAllBreakpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DisableAllBreakpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DeleteAllBreakpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::DeleteAllBreakpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllBreakpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DeleteAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::DeleteAllBreakpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllBreakpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DeleteAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->DeleteAllBreakpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DeleteAllBreakpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBBreakpointList *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBBreakpointList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBBreakpointList); - } - - result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBBreakpointList *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBBreakpointList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBBreakpointList); + } + + result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBStringList *arg3 = 0 ; - lldb::SBBreakpointList *arg4 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBStringList &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",4,"lldb::SBBreakpointList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBStringList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",4,SWIGTYPE_p_lldb__SBBreakpointList); - } - - result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3,*arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBStringList *arg3 = 0 ; + lldb::SBBreakpointList *arg4 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBStringList &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",4,"lldb::SBBreakpointList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBStringList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",4,SWIGTYPE_p_lldb__SBBreakpointList); + } + + result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3,*arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -53105,7 +53144,7 @@ static int _wrap_SBTarget_BreakpointsCreateFromFile(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53139,7 +53178,7 @@ static int _wrap_SBTarget_BreakpointsCreateFromFile(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53192,121 +53231,121 @@ static int _wrap_SBTarget_BreakpointsCreateFromFile(lua_State* L) { static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->BreakpointsWriteToFile(*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->BreakpointsWriteToFile(*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBBreakpointList *arg3 = 0 ; - bool arg4 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList); - } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBBreakpointList *arg3 = 0 ; + bool arg4 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - lldb::SBBreakpointList *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ - SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList); - } - - result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + lldb::SBBreakpointList *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){ + SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList); + } + + result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -53318,7 +53357,7 @@ static int _wrap_SBTarget_BreakpointsWriteToFile(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53342,7 +53381,7 @@ static int _wrap_SBTarget_BreakpointsWriteToFile(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53376,7 +53415,7 @@ static int _wrap_SBTarget_BreakpointsWriteToFile(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53425,468 +53464,468 @@ static int _wrap_SBTarget_BreakpointsWriteToFile(lua_State* L) { static int _wrap_SBTarget_GetNumWatchpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTarget::GetNumWatchpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumWatchpoints",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetNumWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTarget::GetNumWatchpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumWatchpoints",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetNumWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumWatchpoints(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumWatchpoints(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetWatchpointAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - uint32_t arg2 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBTarget::GetWatchpointAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",1,"lldb::SBTarget const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetWatchpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBTarget const *)arg1)->GetWatchpointAtIndex(arg2); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + uint32_t arg2 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBTarget::GetWatchpointAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",1,"lldb::SBTarget const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetWatchpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBTarget const *)arg1)->GetWatchpointAtIndex(arg2); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DeleteWatchpoint(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::watch_id_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::DeleteWatchpoint",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",2,"lldb::watch_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DeleteWatchpoint",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::watch_id_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::DeleteWatchpoint",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",2,"lldb::watch_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DeleteWatchpoint",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::watch_id_t)lua_tointeger(L, 2); + result = (bool)(arg1)->DeleteWatchpoint(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::watch_id_t)lua_tointeger(L, 2); - result = (bool)(arg1)->DeleteWatchpoint(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindWatchpointByID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::watch_id_t arg2 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBTarget::FindWatchpointByID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",2,"lldb::watch_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindWatchpointByID",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::watch_id_t)lua_tointeger(L, 2); - result = (arg1)->FindWatchpointByID(arg2); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::watch_id_t arg2 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBTarget::FindWatchpointByID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",2,"lldb::watch_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindWatchpointByID",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::watch_id_t)lua_tointeger(L, 2); + result = (arg1)->FindWatchpointByID(arg2); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_EnableAllWatchpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::EnableAllWatchpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllWatchpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_EnableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::EnableAllWatchpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllWatchpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_EnableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->EnableAllWatchpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->EnableAllWatchpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DisableAllWatchpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::DisableAllWatchpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllWatchpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DisableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::DisableAllWatchpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllWatchpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DisableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->DisableAllWatchpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DisableAllWatchpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_DeleteAllWatchpoints(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::DeleteAllWatchpoints",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllWatchpoints",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_DeleteAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::DeleteAllWatchpoints",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllWatchpoints",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_DeleteAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->DeleteAllWatchpoints(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->DeleteAllWatchpoints(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_WatchAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::addr_t arg2 ; - size_t arg3 ; - bool arg4 ; - bool arg5 ; - lldb::SBError *arg6 = 0 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBTarget::WatchAddress",6,6) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",1,"lldb::SBTarget *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",2,"lldb::addr_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",3,"size_t"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",4,"bool"); - if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",5,"bool"); - if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",6,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_WatchAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - arg3 = (size_t)lua_tointeger(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - arg5 = (lua_toboolean(L, 5)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_WatchAddress",6,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->WatchAddress(arg2,arg3,arg4,arg5,*arg6); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t arg2 ; + size_t arg3 ; + bool arg4 ; + bool arg5 ; + lldb::SBError *arg6 = 0 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBTarget::WatchAddress",6,6) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",2,"lldb::addr_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",3,"size_t"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",4,"bool"); + if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",5,"bool"); + if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",6,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_WatchAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + arg3 = (size_t)lua_tointeger(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + arg5 = (lua_toboolean(L, 5)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_WatchAddress",6,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->WatchAddress(arg2,arg3,arg4,arg5,*arg6); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetBroadcaster(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBBroadcaster result; - - SWIG_check_num_args("lldb::SBTarget::GetBroadcaster",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBroadcaster",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetBroadcaster",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = ((lldb::SBTarget const *)arg1)->GetBroadcaster(); { - lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster((const lldb::SBBroadcaster &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBBroadcaster result; + + SWIG_check_num_args("lldb::SBTarget::GetBroadcaster",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBroadcaster",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetBroadcaster",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = ((lldb::SBTarget const *)arg1)->GetBroadcaster(); + { + lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_CreateValueFromAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBAddress arg3 ; - lldb::SBType arg4 ; - lldb::SBAddress *argp3 ; - lldb::SBType *argp4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::CreateValueFromAddress",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",3,"lldb::SBAddress"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",4,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromAddress",3,SWIGTYPE_p_lldb__SBAddress); - } - arg3 = *argp3; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType); - } - arg4 = *argp4; - - result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBAddress arg3 ; + lldb::SBType arg4 ; + lldb::SBAddress *argp3 ; + lldb::SBType *argp4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::CreateValueFromAddress",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",3,"lldb::SBAddress"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",4,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromAddress",3,SWIGTYPE_p_lldb__SBAddress); + } + arg3 = *argp3; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType); + } + arg4 = *argp4; + + result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_CreateValueFromData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBData arg3 ; - lldb::SBType arg4 ; - lldb::SBData *argp3 ; - lldb::SBType *argp4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::CreateValueFromData",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",3,"lldb::SBData"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",4,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromData",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData); - } - arg3 = *argp3; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType); - } - arg4 = *argp4; - - result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBData arg3 ; + lldb::SBType arg4 ; + lldb::SBData *argp3 ; + lldb::SBType *argp4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::CreateValueFromData",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",3,"lldb::SBData"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",4,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromData",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData); + } + arg3 = *argp3; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType); + } + arg4 = *argp4; + + result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_CreateValueFromExpression(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::CreateValueFromExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::CreateValueFromExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ReadInstructions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress arg2 ; - uint32_t arg3 ; - lldb::SBAddress *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBTarget::ReadInstructions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->ReadInstructions(arg2,arg3); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress arg2 ; + uint32_t arg3 ; + lldb::SBAddress *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBTarget::ReadInstructions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->ReadInstructions(arg2,arg3); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_ReadInstructions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress arg2 ; - uint32_t arg3 ; - char *arg4 = (char *) 0 ; - lldb::SBAddress *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBTarget::ReadInstructions",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",4,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - - arg3 = (uint32_t)lua_tointeger(L, 3); - arg4 = (char *)lua_tostring(L, 4); - result = (arg1)->ReadInstructions(arg2,arg3,(char const *)arg4); { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress arg2 ; + uint32_t arg3 ; + char *arg4 = (char *) 0 ; + lldb::SBAddress *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBTarget::ReadInstructions",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",4,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + arg3 = (uint32_t)lua_tointeger(L, 3); + arg4 = (char *)lua_tostring(L, 4); + result = (arg1)->ReadInstructions(arg2,arg3,(char const *)arg4); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -53898,7 +53937,7 @@ static int _wrap_SBTarget_ReadInstructions(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53927,7 +53966,7 @@ static int _wrap_SBTarget_ReadInstructions(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -53970,150 +54009,150 @@ static int _wrap_SBTarget_ReadInstructions(lua_State* L) { static int _wrap_SBTarget_GetInstructions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress arg2 ; - void *arg3 = (void *) 0 ; - size_t arg4 ; - lldb::SBAddress *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBTarget::GetInstructions",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",2,"lldb::SBAddress"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetInstructions",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_GetInstructions",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - { - arg3 = (void *)luaL_checklstring(L, 3, &arg4); - } - result = (arg1)->GetInstructions(arg2,(void const *)arg3,arg4); - { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress arg2 ; + void *arg3 = (void *) 0 ; + size_t arg4 ; + lldb::SBAddress *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBTarget::GetInstructions",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",2,"lldb::SBAddress"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetInstructions",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_GetInstructions",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + { + arg3 = (void *)luaL_checklstring(L, 3, &arg4); + } + result = (arg1)->GetInstructions(arg2,(void const *)arg3,arg4); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetInstructionsWithFlavor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBAddress arg2 ; - char *arg3 = (char *) 0 ; - void *arg4 = (void *) 0 ; - size_t arg5 ; - lldb::SBAddress *argp2 ; - lldb::SBInstructionList result; - - SWIG_check_num_args("lldb::SBTarget::GetInstructionsWithFlavor",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",2,"lldb::SBAddress"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - - arg3 = (char *)lua_tostring(L, 3); { - arg4 = (void *)luaL_checklstring(L, 4, &arg5); - } - result = (arg1)->GetInstructionsWithFlavor(arg2,(char const *)arg3,(void const *)arg4,arg5); - { - lldb::SBInstructionList * resultptr = new lldb::SBInstructionList((const lldb::SBInstructionList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBAddress arg2 ; + char *arg3 = (char *) 0 ; + void *arg4 = (void *) 0 ; + size_t arg5 ; + lldb::SBAddress *argp2 ; + lldb::SBInstructionList result; + + SWIG_check_num_args("lldb::SBTarget::GetInstructionsWithFlavor",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",2,"lldb::SBAddress"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + arg3 = (char *)lua_tostring(L, 3); + { + arg4 = (void *)luaL_checklstring(L, 4, &arg5); + } + result = (arg1)->GetInstructionsWithFlavor(arg2,(char const *)arg3,(void const *)arg4,arg5); + { + lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindSymbols__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SymbolType arg3 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindSymbols",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",3,"lldb::SymbolType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::SymbolType)lua_tointeger(L, 3); - result = (arg1)->FindSymbols((char const *)arg2,arg3); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SymbolType arg3 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindSymbols",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",3,"lldb::SymbolType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::SymbolType)lua_tointeger(L, 3); + result = (arg1)->FindSymbols((char const *)arg2,arg3); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_FindSymbols__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBSymbolContextList result; - - SWIG_check_num_args("lldb::SBTarget::FindSymbols",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->FindSymbols((char const *)arg2); { - lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList((const lldb::SBSymbolContextList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBSymbolContextList result; + + SWIG_check_num_args("lldb::SBTarget::FindSymbols",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindSymbols((char const *)arg2); + { + lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -54125,7 +54164,7 @@ static int _wrap_SBTarget_FindSymbols(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -54144,7 +54183,7 @@ static int _wrap_SBTarget_FindSymbols(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -54177,323 +54216,323 @@ static int _wrap_SBTarget_FindSymbols(lua_State* L) { static int _wrap_SBTarget_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDescription",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetDescription",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTarget_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDescription",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetDescription",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTarget_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetStackRedZoneSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBTarget::GetStackRedZoneSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStackRedZoneSize",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetStackRedZoneSize",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBTarget::GetStackRedZoneSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStackRedZoneSize",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetStackRedZoneSize",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (lldb::addr_t)(arg1)->GetStackRedZoneSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetStackRedZoneSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_IsLoaded(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBModule *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::IsLoaded",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",1,"lldb::SBTarget const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",2,"lldb::SBModule const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_IsLoaded",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ - SWIG_fail_ptr("SBTarget_IsLoaded",2,SWIGTYPE_p_lldb__SBModule); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBModule *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::IsLoaded",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",1,"lldb::SBTarget const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",2,"lldb::SBModule const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_IsLoaded",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){ + SWIG_fail_ptr("SBTarget_IsLoaded",2,SWIGTYPE_p_lldb__SBModule); + } + + result = (bool)((lldb::SBTarget const *)arg1)->IsLoaded((lldb::SBModule const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTarget const *)arg1)->IsLoaded((lldb::SBModule const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetLaunchInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - SwigValueWrapper< lldb::SBLaunchInfo > result; - - SWIG_check_num_args("lldb::SBTarget::GetLaunchInfo",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetLaunchInfo",1,"lldb::SBTarget const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = ((lldb::SBTarget const *)arg1)->GetLaunchInfo(); { - lldb::SBLaunchInfo * resultptr = new lldb::SBLaunchInfo((const lldb::SBLaunchInfo &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + SwigValueWrapper< lldb::SBLaunchInfo > result; + + SWIG_check_num_args("lldb::SBTarget::GetLaunchInfo",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetLaunchInfo",1,"lldb::SBTarget const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = ((lldb::SBTarget const *)arg1)->GetLaunchInfo(); + { + lldb::SBLaunchInfo * resultptr = new lldb::SBLaunchInfo(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_SetLaunchInfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBLaunchInfo *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBTarget::SetLaunchInfo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",2,"lldb::SBLaunchInfo const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_SetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ - SWIG_fail_ptr("SBTarget_SetLaunchInfo",2,SWIGTYPE_p_lldb__SBLaunchInfo); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBLaunchInfo *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBTarget::SetLaunchInfo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",2,"lldb::SBLaunchInfo const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_SetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){ + SWIG_fail_ptr("SBTarget_SetLaunchInfo",2,SWIGTYPE_p_lldb__SBLaunchInfo); + } + + (arg1)->SetLaunchInfo((lldb::SBLaunchInfo const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->SetLaunchInfo((lldb::SBLaunchInfo const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_SetCollectingStats(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBTarget::SetCollectingStats",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",1,"lldb::SBTarget *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_SetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBTarget::SetCollectingStats",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",1,"lldb::SBTarget *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_SetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetCollectingStats(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetCollectingStats(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetCollectingStats(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::GetCollectingStats",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCollectingStats",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::GetCollectingStats",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCollectingStats",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)(arg1)->GetCollectingStats(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetCollectingStats(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetStatistics(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBStructuredData result; - - SWIG_check_num_args("lldb::SBTarget::GetStatistics",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStatistics",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetStatistics",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetStatistics(); { - lldb::SBStructuredData * resultptr = new lldb::SBStructuredData((const lldb::SBStructuredData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBStructuredData result; + + SWIG_check_num_args("lldb::SBTarget::GetStatistics",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStatistics",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetStatistics",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetStatistics(); + { + lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBTarget *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTarget::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::operator ==",1,"lldb::SBTarget const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::operator ==",2,"lldb::SBTarget const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget___eq",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget___eq",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBTarget *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTarget::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::operator ==",1,"lldb::SBTarget const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::operator ==",2,"lldb::SBTarget const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget___eq",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget___eq",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)((lldb::SBTarget const *)arg1)->operator ==((lldb::SBTarget const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTarget const *)arg1)->operator ==((lldb::SBTarget const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_EvaluateExpression__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->EvaluateExpression((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->EvaluateExpression((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_EvaluateExpression__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExpressionOptions *arg3 = 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBTarget_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); - } - - result = (arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExpressionOptions *arg3 = 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBTarget_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -54505,7 +54544,7 @@ static int _wrap_SBTarget_EvaluateExpression(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -54524,7 +54563,7 @@ static int _wrap_SBTarget_EvaluateExpression(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { @@ -54562,87 +54601,87 @@ static int _wrap_SBTarget_EvaluateExpression(lua_State* L) { static int _wrap_SBTarget___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTarget::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::__repr__",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget___tostring",1,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTarget::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::__repr__",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget___tostring",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = lldb_SBTarget___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTarget___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_GetTrace(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBTrace result; - - SWIG_check_num_args("lldb::SBTarget::GetTrace",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTrace",1,"lldb::SBTarget *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_GetTrace",1,SWIGTYPE_p_lldb__SBTarget); - } - - result = (arg1)->GetTrace(); { - lldb::SBTrace * resultptr = new lldb::SBTrace((const lldb::SBTrace &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBTrace result; + + SWIG_check_num_args("lldb::SBTarget::GetTrace",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTrace",1,"lldb::SBTarget *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_GetTrace",1,SWIGTYPE_p_lldb__SBTarget); + } + + result = (arg1)->GetTrace(); + { + lldb::SBTrace * resultptr = new lldb::SBTrace(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTarget_CreateTrace(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::SBTrace result; - - SWIG_check_num_args("lldb::SBTarget::CreateTrace",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",1,"lldb::SBTarget *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBTarget_CreateTrace",1,SWIGTYPE_p_lldb__SBTarget); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTarget_CreateTrace",2,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->CreateTrace(*arg2); { - lldb::SBTrace * resultptr = new lldb::SBTrace((const lldb::SBTrace &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBTrace result; + + SWIG_check_num_args("lldb::SBTarget::CreateTrace",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",1,"lldb::SBTarget *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_CreateTrace",1,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_CreateTrace",2,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->CreateTrace(*arg2); + { + lldb::SBTrace * resultptr = new lldb::SBTrace(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -54802,43 +54841,43 @@ static const char *swig_SBTarget_base_names[] = {0}; static swig_lua_class _wrap_class_SBTarget = { "SBTarget", "SBTarget", &SWIGTYPE_p_lldb__SBTarget,_proxy__wrap_new_SBTarget, swig_delete_SBTarget, swig_SBTarget_methods, swig_SBTarget_attributes, &swig_SBTarget_Sf_SwigStatic, swig_SBTarget_meta, swig_SBTarget_bases, swig_SBTarget_base_names }; static int _wrap_new_SBThread__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *result = 0 ; - - SWIG_check_num_args("lldb::SBThread::SBThread",0,0) - result = (lldb::SBThread *)new lldb::SBThread(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBThread *result = 0 ; + + SWIG_check_num_args("lldb::SBThread::SBThread",0,0) + result = (lldb::SBThread *)new lldb::SBThread(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBThread__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = 0 ; - lldb::SBThread *result = 0 ; - - SWIG_check_num_args("lldb::SBThread::SBThread",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::SBThread",1,"lldb::SBThread const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("new_SBThread",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = 0 ; + lldb::SBThread *result = 0 ; + + SWIG_check_num_args("lldb::SBThread::SBThread",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::SBThread",1,"lldb::SBThread const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("new_SBThread",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (lldb::SBThread *)new lldb::SBThread((lldb::SBThread const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBThread *)new lldb::SBThread((lldb::SBThread const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -54853,7 +54892,7 @@ static int _wrap_new_SBThread(lua_State* L) { return _wrap_new_SBThread__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) { @@ -54876,609 +54915,609 @@ static int _wrap_new_SBThread(lua_State* L) { static int _wrap_SBThread_GetBroadcasterClassName(lua_State* L) { - int SWIG_arg = 0; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBThread::GetBroadcasterClassName",0,0) - result = (char *)lldb::SBThread::GetBroadcasterClassName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBThread::GetBroadcasterClassName",0,0) + result = (char *)lldb::SBThread::GetBroadcasterClassName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_EventIsThreadEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::EventIsThreadEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::EventIsThreadEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBThread_EventIsThreadEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::EventIsThreadEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::EventIsThreadEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBThread_EventIsThreadEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBThread::EventIsThreadEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBThread::EventIsThreadEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStackFrameFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBThread::GetStackFrameFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetStackFrameFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBThread_GetStackFrameFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBThread::GetStackFrameFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBThread::GetStackFrameFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetStackFrameFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBThread_GetStackFrameFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBThread::GetStackFrameFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetThreadFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBThread::GetThreadFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBThread_GetThreadFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBThread::GetThreadFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBThread::GetThreadFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBThread_GetThreadFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBThread::GetThreadFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsValid",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_IsValid",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsValid",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_IsValid",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)((lldb::SBThread const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThread const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - - SWIG_check_num_args("lldb::SBThread::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Clear",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_Clear",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + + SWIG_check_num_args("lldb::SBThread::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Clear",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_Clear",1,SWIGTYPE_p_lldb__SBThread); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReason(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::StopReason result; - - SWIG_check_num_args("lldb::SBThread::GetStopReason",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReason",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReason",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::StopReason result; + + SWIG_check_num_args("lldb::SBThread::GetStopReason",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReason",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReason",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (lldb::StopReason)(arg1)->GetStopReason(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::StopReason)(arg1)->GetStopReason(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReasonDataCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBThread::GetStopReasonDataCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataCount",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBThread::GetStopReasonDataCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataCount",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetStopReasonDataCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetStopReasonDataCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReasonDataAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t arg2 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBThread::GetStopReasonDataAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t arg2 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBThread::GetStopReasonDataAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReasonExtendedInfoAsJSON(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetStopReasonExtendedInfoAsJSON(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetStopReasonExtendedInfoAsJSON(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReasonExtendedBacktraces(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::InstrumentationRuntimeType arg2 ; - lldb::SBThreadCollection result; - - SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedBacktraces",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",2,"lldb::InstrumentationRuntimeType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReasonExtendedBacktraces",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2); - result = (arg1)->GetStopReasonExtendedBacktraces(arg2); { - lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection((const lldb::SBThreadCollection &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::InstrumentationRuntimeType arg2 ; + lldb::SBThreadCollection result; + + SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedBacktraces",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",2,"lldb::InstrumentationRuntimeType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReasonExtendedBacktraces",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2); + result = (arg1)->GetStopReasonExtendedBacktraces(arg2); + { + lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - size_t result; - - SWIG_check_num_args("lldb::SBThread::GetStopDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopDescription",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopDescription",1,SWIGTYPE_p_lldb__SBThread); - } - { - arg3 = luaL_checkinteger(L, 2); - if (arg3 <= 0) { - return luaL_error(L, "Positive integer expected"); + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + size_t result; + + SWIG_check_num_args("lldb::SBThread::GetStopDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopDescription",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopDescription",1,SWIGTYPE_p_lldb__SBThread); } - arg2 = (char *)malloc(arg3); - } - result = (arg1)->GetStopDescription(arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - { - lua_pop(L, 1); // Blow away the previous result - lua_pushlstring(L, (const char *)arg2, result); - free(arg2); - // SWIG_arg was already incremented + + { + arg3 = luaL_checkinteger(L, 2); + if (arg3 <= 0) { + return luaL_error(L, "Positive integer expected"); + } + arg2 = (char *)malloc(arg3); + } + result = (arg1)->GetStopDescription(arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + { + lua_pop(L, 1); // Blow away the previous result + lua_pushlstring(L, (const char *)arg2, result); + free(arg2); + // SWIG_arg was already incremented + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetStopReturnValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBThread::GetStopReturnValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReturnValue",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStopReturnValue",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetStopReturnValue(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBThread::GetStopReturnValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReturnValue",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStopReturnValue",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetStopReturnValue(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetThreadID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::tid_t result; - - SWIG_check_num_args("lldb::SBThread::GetThreadID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadID",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetThreadID",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::tid_t result; + + SWIG_check_num_args("lldb::SBThread::GetThreadID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadID",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetThreadID",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (lldb::tid_t)((lldb::SBThread const *)arg1)->GetThreadID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::tid_t)((lldb::SBThread const *)arg1)->GetThreadID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetIndexID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBThread::GetIndexID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetIndexID",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetIndexID",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBThread::GetIndexID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetIndexID",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetIndexID",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (uint32_t)((lldb::SBThread const *)arg1)->GetIndexID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBThread const *)arg1)->GetIndexID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBThread::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetName",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetName",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBThread::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetName",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetName",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (char *)((lldb::SBThread const *)arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBThread const *)arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetQueueName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBThread::GetQueueName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueName",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetQueueName",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBThread::GetQueueName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueName",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetQueueName",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (char *)((lldb::SBThread const *)arg1)->GetQueueName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBThread const *)arg1)->GetQueueName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetQueueID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::queue_id_t result; - - SWIG_check_num_args("lldb::SBThread::GetQueueID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueID",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetQueueID",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::queue_id_t result; + + SWIG_check_num_args("lldb::SBThread::GetQueueID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueID",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetQueueID",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (lldb::queue_id_t)((lldb::SBThread const *)arg1)->GetQueueID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::queue_id_t)((lldb::SBThread const *)arg1)->GetQueueID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetInfoItemByPathAsString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStream *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::GetInfoItemByPathAsString",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",3,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",3,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStream *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::GetInfoItemByPathAsString",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",3,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",3,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetInfoItemByPathAsString((char const *)arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetInfoItemByPathAsString((char const *)arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetQueue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBQueue result; - - SWIG_check_num_args("lldb::SBThread::GetQueue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueue",1,"lldb::SBThread const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetQueue",1,SWIGTYPE_p_lldb__SBThread); - } - - result = ((lldb::SBThread const *)arg1)->GetQueue(); { - lldb::SBQueue * resultptr = new lldb::SBQueue((const lldb::SBQueue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBQueue result; + + SWIG_check_num_args("lldb::SBThread::GetQueue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueue",1,"lldb::SBThread const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetQueue",1,SWIGTYPE_p_lldb__SBThread); + } + + result = ((lldb::SBThread const *)arg1)->GetQueue(); + { + lldb::SBQueue * resultptr = new lldb::SBQueue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepOver__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::RunMode arg2 ; - - SWIG_check_num_args("lldb::SBThread::StepOver",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::RunMode arg2 ; + + SWIG_check_num_args("lldb::SBThread::StepOver",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::RunMode)lua_tointeger(L, 2); + (arg1)->StepOver(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::RunMode)lua_tointeger(L, 2); - (arg1)->StepOver(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepOver__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOver",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOver",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); + } + + (arg1)->StepOver(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOver(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepOver__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::RunMode arg2 ; - lldb::SBError *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOver",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOver",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (lldb::RunMode)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepOver",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::RunMode arg2 ; + lldb::SBError *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOver",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOver",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::RunMode)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepOver",3,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->StepOver(arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOver(arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -55490,7 +55529,7 @@ static int _wrap_SBThread_StepOver(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55504,7 +55543,7 @@ static int _wrap_SBThread_StepOver(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55523,7 +55562,7 @@ static int _wrap_SBThread_StepOver(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55562,181 +55601,181 @@ static int _wrap_SBThread_StepOver(lua_State* L) { static int _wrap_SBThread_StepInto__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::RunMode arg2 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"lldb::RunMode"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::RunMode arg2 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"lldb::RunMode"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::RunMode)lua_tointeger(L, 2); + (arg1)->StepInto(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::RunMode)lua_tointeger(L, 2); - (arg1)->StepInto(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInto__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + (arg1)->StepInto(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepInto(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInto__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - lldb::RunMode arg3 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"lldb::RunMode"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + lldb::RunMode arg3 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"lldb::RunMode"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::RunMode)lua_tointeger(L, 3); + (arg1)->StepInto((char const *)arg2,arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::RunMode)lua_tointeger(L, 3); - (arg1)->StepInto((char const *)arg2,arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInto__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->StepInto((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->StepInto((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInto__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBError *arg4 = 0 ; - lldb::RunMode arg5 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &"); - if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBThread::StepInto",5,"lldb::RunMode"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBError *arg4 = 0 ; + lldb::RunMode arg5 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &"); + if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBThread::StepInto",5,"lldb::RunMode"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError); + } + + arg5 = (lldb::RunMode)lua_tointeger(L, 5); + (arg1)->StepInto((char const *)arg2,arg3,*arg4,arg5); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg5 = (lldb::RunMode)lua_tointeger(L, 5); - (arg1)->StepInto((char const *)arg2,arg3,*arg4,arg5); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInto__SWIG_5(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBError *arg4 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepInto",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBError *arg4 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepInto",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->StepInto((char const *)arg2,arg3,*arg4); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepInto((char const *)arg2,arg3,*arg4); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -55748,7 +55787,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55762,7 +55801,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55781,7 +55820,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55800,7 +55839,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55824,7 +55863,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55858,7 +55897,7 @@ static int _wrap_SBThread_StepInto(lua_State* L) { } } if (argc == 5) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55910,55 +55949,55 @@ static int _wrap_SBThread_StepInto(lua_State* L) { static int _wrap_SBThread_StepOut__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOut",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOut",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread); + } + + (arg1)->StepOut(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOut(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepOut__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBError *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOut",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOut",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepOut",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBError *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOut",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOut",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepOut",2,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->StepOut(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOut(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -55970,7 +56009,7 @@ static int _wrap_SBThread_StepOut(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -55984,7 +56023,7 @@ static int _wrap_SBThread_StepOut(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56017,69 +56056,69 @@ static int _wrap_SBThread_StepOut(lua_State* L) { static int _wrap_SBThread_StepOutOfFrame__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFrame *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFrame *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame); + } + + (arg1)->StepOutOfFrame(*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOutOfFrame(*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepOutOfFrame__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFrame *arg2 = 0 ; - lldb::SBError *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepOutOfFrame",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFrame *arg2 = 0 ; + lldb::SBError *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepOutOfFrame",3,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->StepOutOfFrame(*arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepOutOfFrame(*arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56091,7 +56130,7 @@ static int _wrap_SBThread_StepOutOfFrame(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56115,7 +56154,7 @@ static int _wrap_SBThread_StepOutOfFrame(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56158,61 +56197,61 @@ static int _wrap_SBThread_StepOutOfFrame(lua_State* L) { static int _wrap_SBThread_StepInstruction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBThread::StepInstruction",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBThread::StepInstruction",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->StepInstruction(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->StepInstruction(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepInstruction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool arg2 ; - lldb::SBError *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBThread::StepInstruction",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepInstruction",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (lua_toboolean(L, 2)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_StepInstruction",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool arg2 ; + lldb::SBError *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBThread::StepInstruction",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepInstruction",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lua_toboolean(L, 2)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_StepInstruction",3,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->StepInstruction(arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->StepInstruction(arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56224,7 +56263,7 @@ static int _wrap_SBThread_StepInstruction(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56243,7 +56282,7 @@ static int _wrap_SBThread_StepInstruction(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56281,149 +56320,149 @@ static int _wrap_SBThread_StepInstruction(lua_State* L) { static int _wrap_SBThread_StepOverUntil(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFrame *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - uint32_t arg4 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::StepOverUntil",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",2,"lldb::SBFrame &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",3,"lldb::SBFileSpec &"); - if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",4,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepOverUntil",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBThread_StepOverUntil",2,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBThread_StepOverUntil",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg4 = (uint32_t)lua_tointeger(L, 4); - result = (arg1)->StepOverUntil(*arg2,*arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFrame *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + uint32_t arg4 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::StepOverUntil",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",2,"lldb::SBFrame &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",3,"lldb::SBFileSpec &"); + if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",4,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepOverUntil",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBThread_StepOverUntil",2,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBThread_StepOverUntil",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg4 = (uint32_t)lua_tointeger(L, 4); + result = (arg1)->StepOverUntil(*arg2,*arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - bool arg3 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + bool arg3 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - bool arg4 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"lldb::SBStructuredData &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,*arg3,arg4); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + bool arg4 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"lldb::SBStructuredData &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,*arg3,arg4); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56435,7 +56474,7 @@ static int _wrap_SBThread_StepUsingScriptedThreadPlan(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56454,7 +56493,7 @@ static int _wrap_SBThread_StepUsingScriptedThreadPlan(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56478,7 +56517,7 @@ static int _wrap_SBThread_StepUsingScriptedThreadPlan(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56522,98 +56561,98 @@ static int _wrap_SBThread_StepUsingScriptedThreadPlan(lua_State* L) { static int _wrap_SBThread_JumpToLine(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFileSpec *arg2 = 0 ; - uint32_t arg3 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::JumpToLine",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::JumpToLine",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::JumpToLine",2,"lldb::SBFileSpec &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::JumpToLine",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_JumpToLine",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBThread_JumpToLine",2,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->JumpToLine(*arg2,arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFileSpec *arg2 = 0 ; + uint32_t arg3 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::JumpToLine",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::JumpToLine",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::JumpToLine",2,"lldb::SBFileSpec &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::JumpToLine",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_JumpToLine",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBThread_JumpToLine",2,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->JumpToLine(*arg2,arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_RunToAddress__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::addr_t arg2 ; - - SWIG_check_num_args("lldb::SBThread::RunToAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::addr_t arg2 ; + + SWIG_check_num_args("lldb::SBThread::RunToAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + (arg1)->RunToAddress(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - (arg1)->RunToAddress(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_RunToAddress__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::addr_t arg2 ; - lldb::SBError *arg3 = 0 ; - - SWIG_check_num_args("lldb::SBThread::RunToAddress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::RunToAddress",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (lldb::addr_t)lua_tointeger(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_RunToAddress",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::addr_t arg2 ; + lldb::SBError *arg3 = 0 ; + + SWIG_check_num_args("lldb::SBThread::RunToAddress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::RunToAddress",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_RunToAddress",3,SWIGTYPE_p_lldb__SBError); + } + + (arg1)->RunToAddress(arg2,*arg3); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->RunToAddress(arg2,*arg3); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56625,7 +56664,7 @@ static int _wrap_SBThread_RunToAddress(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56644,7 +56683,7 @@ static int _wrap_SBThread_RunToAddress(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56682,125 +56721,125 @@ static int _wrap_SBThread_RunToAddress(lua_State* L) { static int _wrap_SBThread_ReturnFromFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFrame *arg2 = 0 ; - lldb::SBValue *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::ReturnFromFrame",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",2,"lldb::SBFrame &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",3,"lldb::SBValue &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_ReturnFromFrame",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ - SWIG_fail_ptr("SBThread_ReturnFromFrame",2,SWIGTYPE_p_lldb__SBFrame); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBThread_ReturnFromFrame",3,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->ReturnFromFrame(*arg2,*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFrame *arg2 = 0 ; + lldb::SBValue *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::ReturnFromFrame",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",2,"lldb::SBFrame &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",3,"lldb::SBValue &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_ReturnFromFrame",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBThread_ReturnFromFrame",2,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBThread_ReturnFromFrame",3,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->ReturnFromFrame(*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_UnwindInnermostExpression(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBThread::UnwindInnermostExpression",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::UnwindInnermostExpression",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_UnwindInnermostExpression",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->UnwindInnermostExpression(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::UnwindInnermostExpression",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::UnwindInnermostExpression",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_UnwindInnermostExpression",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->UnwindInnermostExpression(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_Suspend__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::Suspend",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::Suspend",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->Suspend(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Suspend(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_Suspend__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBError *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::Suspend",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Suspend",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_Suspend",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBError *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::Suspend",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Suspend",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_Suspend",2,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->Suspend(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Suspend(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56812,7 +56851,7 @@ static int _wrap_SBThread_Suspend(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56826,7 +56865,7 @@ static int _wrap_SBThread_Suspend(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56859,57 +56898,57 @@ static int _wrap_SBThread_Suspend(lua_State* L) { static int _wrap_SBThread_Resume__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::Resume",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::Resume",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->Resume(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Resume(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_Resume__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBError *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::Resume",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Resume",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThread_Resume",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBError *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::Resume",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Resume",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThread_Resume",2,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->Resume(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->Resume(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -56921,7 +56960,7 @@ static int _wrap_SBThread_Resume(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56935,7 +56974,7 @@ static int _wrap_SBThread_Resume(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -56968,253 +57007,253 @@ static int _wrap_SBThread_Resume(lua_State* L) { static int _wrap_SBThread_IsSuspended(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::IsSuspended",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsSuspended",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_IsSuspended",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::IsSuspended",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsSuspended",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_IsSuspended",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->IsSuspended(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsSuspended(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_IsStopped(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::IsStopped",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsStopped",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_IsStopped",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::IsStopped",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsStopped",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_IsStopped",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->IsStopped(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsStopped(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetNumFrames(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBThread::GetNumFrames",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetNumFrames",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetNumFrames",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBThread::GetNumFrames",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetNumFrames",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetNumFrames",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (uint32_t)(arg1)->GetNumFrames(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumFrames(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetFrameAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t arg2 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBThread::GetFrameAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetFrameAtIndex",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetFrameAtIndex(arg2); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t arg2 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBThread::GetFrameAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetFrameAtIndex",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetFrameAtIndex(arg2); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetSelectedFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBThread::GetSelectedFrame",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSelectedFrame",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetSelectedFrame(); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBThread::GetSelectedFrame",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSelectedFrame",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetSelectedFrame(); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_SetSelectedFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t arg2 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBThread::SetSelectedFrame",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",1,"lldb::SBThread *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_SetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->SetSelectedFrame(arg2); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t arg2 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBThread::SetSelectedFrame",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",1,"lldb::SBThread *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_SetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->SetSelectedFrame(arg2); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBThread::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetProcess",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetProcess",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBThread::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetProcess",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetProcess",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetDescription__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetDescription__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::GetDescription",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::GetDescription",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -57226,7 +57265,7 @@ static int _wrap_SBThread_GetDescription(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -57250,7 +57289,7 @@ static int _wrap_SBThread_GetDescription(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) { @@ -57288,247 +57327,247 @@ static int _wrap_SBThread_GetDescription(lua_State* L) { static int _wrap_SBThread_GetStatus(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::GetStatus",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStatus",1,"lldb::SBThread const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStatus",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetStatus",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThread_GetStatus",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::GetStatus",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStatus",1,"lldb::SBThread const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStatus",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetStatus",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetStatus",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBThread const *)arg1)->GetStatus(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThread const *)arg1)->GetStatus(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBThread *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::operator ==",1,"lldb::SBThread const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::operator ==",2,"lldb::SBThread const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread___eq",1,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread___eq",2,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBThread *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::operator ==",1,"lldb::SBThread const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::operator ==",2,"lldb::SBThread const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread___eq",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread___eq",2,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)((lldb::SBThread const *)arg1)->operator ==((lldb::SBThread const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThread const *)arg1)->operator ==((lldb::SBThread const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetExtendedBacktraceThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceThread",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",1,"lldb::SBThread *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBThread); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetExtendedBacktraceThread((char const *)arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceThread",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",1,"lldb::SBThread *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetExtendedBacktraceThread((char const *)arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetExtendedBacktraceOriginatingIndexID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetExtendedBacktraceOriginatingIndexID",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetExtendedBacktraceOriginatingIndexID",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (uint32_t)(arg1)->GetExtendedBacktraceOriginatingIndexID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetExtendedBacktraceOriginatingIndexID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetCurrentException(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBThread::GetCurrentException",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentException",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetCurrentException",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetCurrentException(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBThread::GetCurrentException",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentException",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetCurrentException",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetCurrentException(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetCurrentExceptionBacktrace(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBThread::GetCurrentExceptionBacktrace",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentExceptionBacktrace",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetCurrentExceptionBacktrace",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetCurrentExceptionBacktrace(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBThread::GetCurrentExceptionBacktrace",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentExceptionBacktrace",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetCurrentExceptionBacktrace",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetCurrentExceptionBacktrace(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_SafeToCallFunctions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThread::SafeToCallFunctions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SafeToCallFunctions",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_SafeToCallFunctions",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThread::SafeToCallFunctions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SafeToCallFunctions",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_SafeToCallFunctions",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (bool)(arg1)->SafeToCallFunctions(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SafeToCallFunctions(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread_GetSiginfo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBThread::GetSiginfo",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSiginfo",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread_GetSiginfo",1,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->GetSiginfo(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBThread::GetSiginfo",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSiginfo",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetSiginfo",1,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->GetSiginfo(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThread___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBThread::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::__repr__",1,"lldb::SBThread *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBThread___tostring",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBThread::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::__repr__",1,"lldb::SBThread *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread___tostring",1,SWIGTYPE_p_lldb__SBThread); + } + + result = lldb_SBThread___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBThread___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -57637,43 +57676,43 @@ static const char *swig_SBThread_base_names[] = {0}; static swig_lua_class _wrap_class_SBThread = { "SBThread", "SBThread", &SWIGTYPE_p_lldb__SBThread,_proxy__wrap_new_SBThread, swig_delete_SBThread, swig_SBThread_methods, swig_SBThread_attributes, &swig_SBThread_Sf_SwigStatic, swig_SBThread_meta, swig_SBThread_bases, swig_SBThread_base_names }; static int _wrap_new_SBThreadCollection__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadCollection *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",0,0) - result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBThreadCollection *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",0,0) + result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBThreadCollection__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadCollection *arg1 = 0 ; - lldb::SBThreadCollection *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::SBThreadCollection",1,"lldb::SBThreadCollection const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ - SWIG_fail_ptr("new_SBThreadCollection",1,SWIGTYPE_p_lldb__SBThreadCollection); + { + int SWIG_arg = 0; + lldb::SBThreadCollection *arg1 = 0 ; + lldb::SBThreadCollection *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::SBThreadCollection",1,"lldb::SBThreadCollection const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ + SWIG_fail_ptr("new_SBThreadCollection",1,SWIGTYPE_p_lldb__SBThreadCollection); + } + + result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection((lldb::SBThreadCollection const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection((lldb::SBThreadCollection const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -57688,7 +57727,7 @@ static int _wrap_new_SBThreadCollection(lua_State* L) { return _wrap_new_SBThreadCollection__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadCollection, SWIG_POINTER_NO_NULL)) { @@ -57711,80 +57750,80 @@ static int _wrap_new_SBThreadCollection(lua_State* L) { static int _wrap_SBThreadCollection_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadCollection::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::IsValid",1,"lldb::SBThreadCollection const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ - SWIG_fail_ptr("SBThreadCollection_IsValid",1,SWIGTYPE_p_lldb__SBThreadCollection); + { + int SWIG_arg = 0; + lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadCollection::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::IsValid",1,"lldb::SBThreadCollection const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ + SWIG_fail_ptr("SBThreadCollection_IsValid",1,SWIGTYPE_p_lldb__SBThreadCollection); + } + + result = (bool)((lldb::SBThreadCollection const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThreadCollection const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadCollection_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBThreadCollection::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetSize",1,"lldb::SBThreadCollection *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ - SWIG_fail_ptr("SBThreadCollection_GetSize",1,SWIGTYPE_p_lldb__SBThreadCollection); + { + int SWIG_arg = 0; + lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBThreadCollection::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetSize",1,"lldb::SBThreadCollection *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ + SWIG_fail_ptr("SBThreadCollection_GetSize",1,SWIGTYPE_p_lldb__SBThreadCollection); + } + + result = (arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadCollection_GetThreadAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; - size_t arg2 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBThreadCollection::GetThreadAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",1,"lldb::SBThreadCollection *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",2,"size_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ - SWIG_fail_ptr("SBThreadCollection_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBThreadCollection); - } - - arg2 = (size_t)lua_tointeger(L, 2); - result = (arg1)->GetThreadAtIndex(arg2); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ; + size_t arg2 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBThreadCollection::GetThreadAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",1,"lldb::SBThreadCollection *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",2,"size_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){ + SWIG_fail_ptr("SBThreadCollection_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBThreadCollection); + } + + arg2 = (size_t)lua_tointeger(L, 2); + result = (arg1)->GetThreadAtIndex(arg2); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -57839,94 +57878,94 @@ static const char *swig_SBThreadCollection_base_names[] = {0}; static swig_lua_class _wrap_class_SBThreadCollection = { "SBThreadCollection", "SBThreadCollection", &SWIGTYPE_p_lldb__SBThreadCollection,_proxy__wrap_new_SBThreadCollection, swig_delete_SBThreadCollection, swig_SBThreadCollection_methods, swig_SBThreadCollection_attributes, &swig_SBThreadCollection_Sf_SwigStatic, swig_SBThreadCollection_meta, swig_SBThreadCollection_bases, swig_SBThreadCollection_base_names }; static int _wrap_new_SBThreadPlan__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",0,0) - result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBThreadPlan *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",0,0) + result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBThreadPlan__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = 0 ; - lldb::SBThreadPlan *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThreadPlan const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = 0 ; + lldb::SBThreadPlan *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThreadPlan const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan((lldb::SBThreadPlan const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan((lldb::SBThreadPlan const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBThreadPlan__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::ThreadPlanSP *arg1 = 0 ; - lldb::SBThreadPlan *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::ThreadPlanSP const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t,0))){ - SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t); + { + int SWIG_arg = 0; + lldb::ThreadPlanSP *arg1 = 0 ; + lldb::SBThreadPlan *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::ThreadPlanSP const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t,0))){ + SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t); + } + + result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan((lldb::ThreadPlanSP const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan((lldb::ThreadPlanSP const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBThreadPlan__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThread *arg1 = 0 ; - char *arg2 = (char *) 0 ; - lldb::SBThreadPlan *result = 0 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",2,2) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThread &"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThread); + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = 0 ; + char *arg2 = (char *) 0 ; + lldb::SBThreadPlan *result = 0 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",2,2) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThread &"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThread); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(*arg1,(char const *)arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(*arg1,(char const *)arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -57941,7 +57980,7 @@ static int _wrap_new_SBThreadPlan(lua_State* L) { return _wrap_new_SBThreadPlan__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, SWIG_POINTER_NO_NULL)) { @@ -57955,7 +57994,7 @@ static int _wrap_new_SBThreadPlan(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t, SWIG_POINTER_NO_NULL)) { @@ -57969,7 +58008,7 @@ static int _wrap_new_SBThreadPlan(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) { @@ -57999,50 +58038,50 @@ static int _wrap_new_SBThreadPlan(lua_State* L) { static int _wrap_SBThreadPlan_IsValid__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_IsValid__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (bool)((lldb::SBThreadPlan const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThreadPlan const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -58054,7 +58093,7 @@ static int _wrap_SBThreadPlan_IsValid(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58068,7 +58107,7 @@ static int _wrap_SBThreadPlan_IsValid(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58091,419 +58130,419 @@ static int _wrap_SBThreadPlan_IsValid(lua_State* L) { static int _wrap_SBThreadPlan_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - - SWIG_check_num_args("lldb::SBThreadPlan::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::Clear",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_Clear",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + + SWIG_check_num_args("lldb::SBThreadPlan::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::Clear",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_Clear",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetStopReason(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::StopReason result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetStopReason",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReason",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetStopReason",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::StopReason result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetStopReason",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReason",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetStopReason",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (lldb::StopReason)(arg1)->GetStopReason(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::StopReason)(arg1)->GetStopReason(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetStopReasonDataCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataCount",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataCount",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (arg1)->GetStopReasonDataCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetStopReasonDataCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetStopReasonDataAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - uint32_t arg2 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",1,"lldb::SBThreadPlan *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + uint32_t arg2 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",1,"lldb::SBThreadPlan *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetThread",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetThread",1,"lldb::SBThreadPlan const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetThread",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - result = ((lldb::SBThreadPlan const *)arg1)->GetThread(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetThread",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetThread",1,"lldb::SBThreadPlan const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetThread",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = ((lldb::SBThreadPlan const *)arg1)->GetThread(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",1,"lldb::SBThreadPlan const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetDescription",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBThreadPlan_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",1,"lldb::SBThreadPlan const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetDescription",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThreadPlan_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)((lldb::SBThreadPlan const *)arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBThreadPlan const *)arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_SetPlanComplete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SetPlanComplete",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",1,"lldb::SBThreadPlan *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_SetPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SetPlanComplete",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",1,"lldb::SBThreadPlan *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_SetPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetPlanComplete(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetPlanComplete(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_IsPlanComplete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::IsPlanComplete",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanComplete",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_IsPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::IsPlanComplete",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanComplete",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_IsPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (bool)(arg1)->IsPlanComplete(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsPlanComplete(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_IsPlanStale(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::IsPlanStale",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanStale",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_IsPlanStale",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::IsPlanStale",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanStale",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_IsPlanStale",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (bool)(arg1)->IsPlanStale(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsPlanStale(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_GetStopOthers(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBThreadPlan::GetStopOthers",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopOthers",1,"lldb::SBThreadPlan *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_GetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBThreadPlan::GetStopOthers",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopOthers",1,"lldb::SBThreadPlan *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_GetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + result = (bool)(arg1)->GetStopOthers(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetStopOthers(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_SetStopOthers(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBThreadPlan::SetStopOthers",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",1,"lldb::SBThreadPlan *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_SetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan); + { + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBThreadPlan::SetStopOthers",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",1,"lldb::SBThreadPlan *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_SetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetStopOthers(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOthers(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::addr_t arg3 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",1,"lldb::SBThreadPlan *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",2,"lldb::SBAddress &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",2,SWIGTYPE_p_lldb__SBAddress); - } - - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (arg1)->QueueThreadPlanForStepOverRange(*arg2,arg3); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::addr_t arg3 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",1,"lldb::SBThreadPlan *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",2,"lldb::SBAddress &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",2,SWIGTYPE_p_lldb__SBAddress); + } + + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (arg1)->QueueThreadPlanForStepOverRange(*arg2,arg3); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepInRange(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::SBAddress *arg2 = 0 ; - lldb::addr_t arg3 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",1,"lldb::SBThreadPlan *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",2,"lldb::SBAddress &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,"lldb::addr_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",2,SWIGTYPE_p_lldb__SBAddress); - } - - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - result = (arg1)->QueueThreadPlanForStepInRange(*arg2,arg3); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::SBAddress *arg2 = 0 ; + lldb::addr_t arg3 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",1,"lldb::SBThreadPlan *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",2,"lldb::SBAddress &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,"lldb::addr_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",2,SWIGTYPE_p_lldb__SBAddress); + } + + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + result = (arg1)->QueueThreadPlanForStepInRange(*arg2,arg3); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - uint32_t arg2 ; - bool arg3 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (arg1)->QueueThreadPlanForStepOut(arg2,arg3); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + uint32_t arg2 ; + bool arg3 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (arg1)->QueueThreadPlanForStepOut(arg2,arg3); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - uint32_t arg2 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->QueueThreadPlanForStepOut(arg2); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + uint32_t arg2 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->QueueThreadPlanForStepOut(arg2); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -58515,7 +58554,7 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58534,7 +58573,7 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58567,149 +58606,149 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut(lua_State* L) { static int _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - lldb::SBAddress arg2 ; - lldb::SBAddress *argp2 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",1,"lldb::SBThreadPlan *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,"lldb::SBAddress"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",2,SWIGTYPE_p_lldb__SBAddress); - } - arg2 = *argp2; - - result = (arg1)->QueueThreadPlanForRunToAddress(arg2); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + lldb::SBAddress arg2 ; + lldb::SBAddress *argp2 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",1,"lldb::SBThreadPlan *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,"lldb::SBAddress"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",2,SWIGTYPE_p_lldb__SBAddress); + } + arg2 = *argp2; + + result = (arg1)->QueueThreadPlanForRunToAddress(arg2); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError *arg3 = 0 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError *arg3 = 0 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBError *arg4 = 0 ; - lldb::SBThreadPlan result; - - SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBStructuredData &"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",4,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3,*arg4); { - lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan((const lldb::SBThreadPlan &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBError *arg4 = 0 ; + lldb::SBThreadPlan result; + + SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBStructuredData &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",4,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3,*arg4); + { + lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -58721,7 +58760,7 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58740,7 +58779,7 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58769,7 +58808,7 @@ static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) { @@ -58882,169 +58921,169 @@ static const char *swig_SBThreadPlan_base_names[] = {0}; static swig_lua_class _wrap_class_SBThreadPlan = { "SBThreadPlan", "SBThreadPlan", &SWIGTYPE_p_lldb__SBThreadPlan,_proxy__wrap_new_SBThreadPlan, swig_delete_SBThreadPlan, swig_SBThreadPlan_methods, swig_SBThreadPlan_attributes, &swig_SBThreadPlan_Sf_SwigStatic, swig_SBThreadPlan_meta, swig_SBThreadPlan_bases, swig_SBThreadPlan_base_names }; static int _wrap_new_SBTrace(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *result = 0 ; - - SWIG_check_num_args("lldb::SBTrace::SBTrace",0,0) - result = (lldb::SBTrace *)new lldb::SBTrace(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTrace *result = 0 ; + + SWIG_check_num_args("lldb::SBTrace::SBTrace",0,0) + result = (lldb::SBTrace *)new lldb::SBTrace(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_CreateNewCursor(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::SBThread *arg3 = 0 ; - lldb::SBTraceCursor result; - - SWIG_check_num_args("lldb::SBTrace::CreateNewCursor",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",2,"lldb::SBError &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",3,"lldb::SBThread &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_CreateNewCursor",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTrace_CreateNewCursor",2,SWIGTYPE_p_lldb__SBError); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBTrace_CreateNewCursor",3,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->CreateNewCursor(*arg2,*arg3); { - lldb::SBTraceCursor * resultptr = new lldb::SBTraceCursor((const lldb::SBTraceCursor &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBThread *arg3 = 0 ; + lldb::SBTraceCursor result; + + SWIG_check_num_args("lldb::SBTrace::CreateNewCursor",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",2,"lldb::SBError &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",3,"lldb::SBThread &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_CreateNewCursor",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTrace_CreateNewCursor",2,SWIGTYPE_p_lldb__SBError); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBTrace_CreateNewCursor",3,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->CreateNewCursor(*arg2,*arg3); + { + lldb::SBTraceCursor * resultptr = new lldb::SBTraceCursor(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_GetStartConfigurationHelp(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTrace::GetStartConfigurationHelp",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::GetStartConfigurationHelp",1,"lldb::SBTrace *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_GetStartConfigurationHelp",1,SWIGTYPE_p_lldb__SBTrace); + { + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTrace::GetStartConfigurationHelp",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::GetStartConfigurationHelp",1,"lldb::SBTrace *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_GetStartConfigurationHelp",1,SWIGTYPE_p_lldb__SBTrace); + } + + result = (char *)(arg1)->GetStartConfigurationHelp(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetStartConfigurationHelp(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_SaveToDisk__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - bool arg4 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBTrace::SaveToDisk",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3,arg4); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + bool arg4 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBTrace::SaveToDisk",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3,arg4); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_SaveToDisk__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBError *arg2 = 0 ; - lldb::SBFileSpec *arg3 = 0 ; - lldb::SBFileSpec result; - - SWIG_check_num_args("lldb::SBTrace::SaveToDisk",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ - SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec); - } - - result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3); { - lldb::SBFileSpec * resultptr = new lldb::SBFileSpec((const lldb::SBFileSpec &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBFileSpec *arg3 = 0 ; + lldb::SBFileSpec result; + + SWIG_check_num_args("lldb::SBTrace::SaveToDisk",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){ + SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec); + } + + result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3); + { + lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -59056,7 +59095,7 @@ static int _wrap_SBTrace_SaveToDisk(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59090,7 +59129,7 @@ static int _wrap_SBTrace_SaveToDisk(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59138,77 +59177,77 @@ static int _wrap_SBTrace_SaveToDisk(lua_State* L) { static int _wrap_SBTrace_Start__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBStructuredData *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTrace::Start",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBStructuredData const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBStructuredData); - } - - result = (arg1)->Start((lldb::SBStructuredData const &)*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBStructuredData *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTrace::Start",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBStructuredData const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (arg1)->Start((lldb::SBStructuredData const &)*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_Start__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBThread *arg2 = 0 ; - lldb::SBStructuredData *arg3 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTrace::Start",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBThread const &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::Start",3,"lldb::SBStructuredData const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBThread); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ - SWIG_fail_ptr("SBTrace_Start",3,SWIGTYPE_p_lldb__SBStructuredData); - } - - result = (arg1)->Start((lldb::SBThread const &)*arg2,(lldb::SBStructuredData const &)*arg3); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBThread *arg2 = 0 ; + lldb::SBStructuredData *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTrace::Start",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBThread const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::Start",3,"lldb::SBStructuredData const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBTrace_Start",3,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = (arg1)->Start((lldb::SBThread const &)*arg2,(lldb::SBStructuredData const &)*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -59220,7 +59259,7 @@ static int _wrap_SBTrace_Start(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59244,7 +59283,7 @@ static int _wrap_SBTrace_Start(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59287,63 +59326,63 @@ static int _wrap_SBTrace_Start(lua_State* L) { static int _wrap_SBTrace_Stop__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTrace::Stop",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace); - } - - result = (arg1)->Stop(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTrace::Stop",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace); + } + + result = (arg1)->Stop(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTrace_Stop__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - lldb::SBThread *arg2 = 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBTrace::Stop",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Stop",2,"lldb::SBThread const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ - SWIG_fail_ptr("SBTrace_Stop",2,SWIGTYPE_p_lldb__SBThread); - } - - result = (arg1)->Stop((lldb::SBThread const &)*arg2); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + lldb::SBThread *arg2 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBTrace::Stop",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Stop",2,"lldb::SBThread const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBTrace_Stop",2,SWIGTYPE_p_lldb__SBThread); + } + + result = (arg1)->Stop((lldb::SBThread const &)*arg2); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -59355,7 +59394,7 @@ static int _wrap_SBTrace_Stop(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59369,7 +59408,7 @@ static int _wrap_SBTrace_Stop(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) { @@ -59402,26 +59441,26 @@ static int _wrap_SBTrace_Stop(lua_State* L) { static int _wrap_SBTrace_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTrace::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::IsValid",1,"lldb::SBTrace *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ - SWIG_fail_ptr("SBTrace_IsValid",1,SWIGTYPE_p_lldb__SBTrace); + { + int SWIG_arg = 0; + lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTrace::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::IsValid",1,"lldb::SBTrace *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){ + SWIG_fail_ptr("SBTrace_IsValid",1,SWIGTYPE_p_lldb__SBTrace); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -59479,45 +59518,45 @@ static const char *swig_SBTrace_base_names[] = {0}; static swig_lua_class _wrap_class_SBTrace = { "SBTrace", "SBTrace", &SWIGTYPE_p_lldb__SBTrace,_proxy__wrap_new_SBTrace, swig_delete_SBTrace, swig_SBTrace_methods, swig_SBTrace_attributes, &swig_SBTrace_Sf_SwigStatic, swig_SBTrace_meta, swig_SBTrace_bases, swig_SBTrace_base_names }; static int _wrap_new_SBTraceCursor__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *result = 0 ; - - SWIG_check_num_args("lldb::SBTraceCursor::SBTraceCursor",0,0) - result = (lldb::SBTraceCursor *)new lldb::SBTraceCursor(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTraceCursor *result = 0 ; + + SWIG_check_num_args("lldb::SBTraceCursor::SBTraceCursor",0,0) + result = (lldb::SBTraceCursor *)new lldb::SBTraceCursor(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTraceCursor__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - SwigValueWrapper< std::shared_ptr< lldb_private::TraceCursor > > arg1 ; - lldb::TraceCursorSP *argp1 ; - lldb::SBTraceCursor *result = 0 ; - - SWIG_check_num_args("lldb::SBTraceCursor::SBTraceCursor",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::SBTraceCursor",1,"lldb::TraceCursorSP"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t,0))){ - SWIG_fail_ptr("new_SBTraceCursor",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t); + { + int SWIG_arg = 0; + SwigValueWrapper< std::shared_ptr< lldb_private::TraceCursor > > arg1 ; + lldb::TraceCursorSP *argp1 ; + lldb::SBTraceCursor *result = 0 ; + + SWIG_check_num_args("lldb::SBTraceCursor::SBTraceCursor",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::SBTraceCursor",1,"lldb::TraceCursorSP"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t,0))){ + SWIG_fail_ptr("new_SBTraceCursor",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t); + } + arg1 = *argp1; + + result = (lldb::SBTraceCursor *)new lldb::SBTraceCursor(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg1 = *argp1; - - result = (lldb::SBTraceCursor *)new lldb::SBTraceCursor(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -59532,7 +59571,7 @@ static int _wrap_new_SBTraceCursor(lua_State* L) { return _wrap_new_SBTraceCursor__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t, SWIG_POINTER_NO_NULL)) { @@ -59555,447 +59594,447 @@ static int _wrap_new_SBTraceCursor(lua_State* L) { static int _wrap_SBTraceCursor_SetForwards(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBTraceCursor::SetForwards",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",1,"lldb::SBTraceCursor *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_SetForwards",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBTraceCursor::SetForwards",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",1,"lldb::SBTraceCursor *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_SetForwards",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetForwards(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetForwards(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_IsForwards(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::IsForwards",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsForwards",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_IsForwards",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::IsForwards",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsForwards",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_IsForwards",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)((lldb::SBTraceCursor const *)arg1)->IsForwards(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTraceCursor const *)arg1)->IsForwards(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_Next(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - - SWIG_check_num_args("lldb::SBTraceCursor::Next",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Next",1,"lldb::SBTraceCursor *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_Next",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + + SWIG_check_num_args("lldb::SBTraceCursor::Next",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Next",1,"lldb::SBTraceCursor *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_Next",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + (arg1)->Next(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Next(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_HasValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::HasValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasValue",1,"lldb::SBTraceCursor *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_HasValue",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::HasValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasValue",1,"lldb::SBTraceCursor *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_HasValue",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)(arg1)->HasValue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->HasValue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GoToId(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::user_id_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::GoToId",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",1,"lldb::SBTraceCursor *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",2,"lldb::user_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GoToId",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::user_id_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::GoToId",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",1,"lldb::SBTraceCursor *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",2,"lldb::user_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GoToId",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + arg2 = (lldb::user_id_t)lua_tointeger(L, 2); + result = (bool)(arg1)->GoToId(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::user_id_t)lua_tointeger(L, 2); - result = (bool)(arg1)->GoToId(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_HasId(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::user_id_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::HasId",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",1,"lldb::SBTraceCursor const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",2,"lldb::user_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_HasId",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::user_id_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::HasId",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",1,"lldb::SBTraceCursor const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",2,"lldb::user_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_HasId",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + arg2 = (lldb::user_id_t)lua_tointeger(L, 2); + result = (bool)((lldb::SBTraceCursor const *)arg1)->HasId(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::user_id_t)lua_tointeger(L, 2); - result = (bool)((lldb::SBTraceCursor const *)arg1)->HasId(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetId(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::user_id_t result; - - SWIG_check_num_args("lldb::SBTraceCursor::GetId",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetId",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetId",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::user_id_t result; + + SWIG_check_num_args("lldb::SBTraceCursor::GetId",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetId",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetId",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (lldb::user_id_t)((lldb::SBTraceCursor const *)arg1)->GetId(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::user_id_t)((lldb::SBTraceCursor const *)arg1)->GetId(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_Seek(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - int64_t arg2 ; - lldb::TraceCursorSeekType arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::Seek",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",1,"lldb::SBTraceCursor *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",2,"int64_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",3,"lldb::TraceCursorSeekType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_Seek",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + int64_t arg2 ; + lldb::TraceCursorSeekType arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::Seek",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",1,"lldb::SBTraceCursor *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",2,"int64_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",3,"lldb::TraceCursorSeekType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_Seek",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + arg2 = (int64_t)lua_tointeger(L, 2); + arg3 = (lldb::TraceCursorSeekType)lua_tointeger(L, 3); + result = (bool)(arg1)->Seek(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int64_t)lua_tointeger(L, 2); - arg3 = (lldb::TraceCursorSeekType)lua_tointeger(L, 3); - result = (bool)(arg1)->Seek(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetItemKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::TraceItemKind result; - - SWIG_check_num_args("lldb::SBTraceCursor::GetItemKind",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetItemKind",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetItemKind",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::TraceItemKind result; + + SWIG_check_num_args("lldb::SBTraceCursor::GetItemKind",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetItemKind",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetItemKind",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (lldb::TraceItemKind)((lldb::SBTraceCursor const *)arg1)->GetItemKind(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::TraceItemKind)((lldb::SBTraceCursor const *)arg1)->GetItemKind(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_IsError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::IsError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsError",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_IsError",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::IsError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsError",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_IsError",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)((lldb::SBTraceCursor const *)arg1)->IsError(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTraceCursor const *)arg1)->IsError(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTraceCursor::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetError",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetError",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTraceCursor::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetError",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetError",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (char *)((lldb::SBTraceCursor const *)arg1)->GetError(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBTraceCursor const *)arg1)->GetError(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_IsEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::IsEvent",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsEvent",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_IsEvent",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::IsEvent",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsEvent",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_IsEvent",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)((lldb::SBTraceCursor const *)arg1)->IsEvent(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTraceCursor const *)arg1)->IsEvent(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetEventType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::TraceEvent result; - - SWIG_check_num_args("lldb::SBTraceCursor::GetEventType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventType",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetEventType",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::TraceEvent result; + + SWIG_check_num_args("lldb::SBTraceCursor::GetEventType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventType",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetEventType",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (lldb::TraceEvent)((lldb::SBTraceCursor const *)arg1)->GetEventType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::TraceEvent)((lldb::SBTraceCursor const *)arg1)->GetEventType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetEventTypeAsString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTraceCursor::GetEventTypeAsString",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventTypeAsString",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetEventTypeAsString",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTraceCursor::GetEventTypeAsString",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventTypeAsString",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetEventTypeAsString",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (char *)((lldb::SBTraceCursor const *)arg1)->GetEventTypeAsString(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)((lldb::SBTraceCursor const *)arg1)->GetEventTypeAsString(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_IsInstruction(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::IsInstruction",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsInstruction",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_IsInstruction",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::IsInstruction",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsInstruction",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_IsInstruction",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)((lldb::SBTraceCursor const *)arg1)->IsInstruction(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTraceCursor const *)arg1)->IsInstruction(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBTraceCursor::GetLoadAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetLoadAddress",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetLoadAddress",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBTraceCursor::GetLoadAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetLoadAddress",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetLoadAddress",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (lldb::addr_t)((lldb::SBTraceCursor const *)arg1)->GetLoadAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)((lldb::SBTraceCursor const *)arg1)->GetLoadAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_GetCPU(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - lldb::cpu_id_t result; - - SWIG_check_num_args("lldb::SBTraceCursor::GetCPU",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetCPU",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_GetCPU",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + lldb::cpu_id_t result; + + SWIG_check_num_args("lldb::SBTraceCursor::GetCPU",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetCPU",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_GetCPU",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (lldb::cpu_id_t)((lldb::SBTraceCursor const *)arg1)->GetCPU(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::cpu_id_t)((lldb::SBTraceCursor const *)arg1)->GetCPU(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTraceCursor_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTraceCursor::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsValid",1,"lldb::SBTraceCursor const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ - SWIG_fail_ptr("SBTraceCursor_IsValid",1,SWIGTYPE_p_lldb__SBTraceCursor); + { + int SWIG_arg = 0; + lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTraceCursor::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsValid",1,"lldb::SBTraceCursor const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){ + SWIG_fail_ptr("SBTraceCursor_IsValid",1,SWIGTYPE_p_lldb__SBTraceCursor); + } + + result = (bool)((lldb::SBTraceCursor const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTraceCursor const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60065,43 +60104,43 @@ static const char *swig_SBTraceCursor_base_names[] = {0}; static swig_lua_class _wrap_class_SBTraceCursor = { "SBTraceCursor", "SBTraceCursor", &SWIGTYPE_p_lldb__SBTraceCursor,_proxy__wrap_new_SBTraceCursor, swig_delete_SBTraceCursor, swig_SBTraceCursor_methods, swig_SBTraceCursor_attributes, &swig_SBTraceCursor_Sf_SwigStatic, swig_SBTraceCursor_meta, swig_SBTraceCursor_bases, swig_SBTraceCursor_base_names }; static int _wrap_new_SBTypeMember__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",0,0) - result = (lldb::SBTypeMember *)new lldb::SBTypeMember(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeMember *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",0,0) + result = (lldb::SBTypeMember *)new lldb::SBTypeMember(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeMember__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = 0 ; - lldb::SBTypeMember *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMember::SBTypeMember",1,"lldb::SBTypeMember const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("new_SBTypeMember",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = 0 ; + lldb::SBTypeMember *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMember::SBTypeMember",1,"lldb::SBTypeMember const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("new_SBTypeMember",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (lldb::SBTypeMember *)new lldb::SBTypeMember((lldb::SBTypeMember const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeMember *)new lldb::SBTypeMember((lldb::SBTypeMember const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60116,7 +60155,7 @@ static int _wrap_new_SBTypeMember(lua_State* L) { return _wrap_new_SBTypeMember__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeMember, SWIG_POINTER_NO_NULL)) { @@ -60139,197 +60178,197 @@ static int _wrap_new_SBTypeMember(lua_State* L) { static int _wrap_SBTypeMember_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeMember::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsValid",1,"lldb::SBTypeMember const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeMember::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsValid",1,"lldb::SBTypeMember const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (bool)((lldb::SBTypeMember const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeMember const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMember::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetName",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_GetName",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMember::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetName",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_GetName",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeMember::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetType",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_GetType",1,SWIGTYPE_p_lldb__SBTypeMember); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeMember::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetType",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_GetType",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_GetOffsetInBytes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBytes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBytes",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_GetOffsetInBytes",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBytes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBytes",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_GetOffsetInBytes",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (uint64_t)(arg1)->GetOffsetInBytes(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetOffsetInBytes(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_GetOffsetInBits(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBits",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBits",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_GetOffsetInBits",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBits",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBits",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_GetOffsetInBits",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (uint64_t)(arg1)->GetOffsetInBits(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetOffsetInBits(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_IsBitfield(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeMember::IsBitfield",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsBitfield",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_IsBitfield",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeMember::IsBitfield",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsBitfield",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_IsBitfield",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (bool)(arg1)->IsBitfield(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsBitfield(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember_GetBitfieldSizeInBits(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeMember::GetBitfieldSizeInBits",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetBitfieldSizeInBits",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember_GetBitfieldSizeInBits",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeMember::GetBitfieldSizeInBits",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetBitfieldSizeInBits",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember_GetBitfieldSizeInBits",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = (uint32_t)(arg1)->GetBitfieldSizeInBits(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetBitfieldSizeInBits(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMember___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeMember::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::__repr__",1,"lldb::SBTypeMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ - SWIG_fail_ptr("SBTypeMember___tostring",1,SWIGTYPE_p_lldb__SBTypeMember); + { + int SWIG_arg = 0; + lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeMember::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::__repr__",1,"lldb::SBTypeMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){ + SWIG_fail_ptr("SBTypeMember___tostring",1,SWIGTYPE_p_lldb__SBTypeMember); + } + + result = lldb_SBTypeMember___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeMember___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60390,43 +60429,43 @@ static const char *swig_SBTypeMember_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeMember = { "SBTypeMember", "SBTypeMember", &SWIGTYPE_p_lldb__SBTypeMember,_proxy__wrap_new_SBTypeMember, swig_delete_SBTypeMember, swig_SBTypeMember_methods, swig_SBTypeMember_attributes, &swig_SBTypeMember_Sf_SwigStatic, swig_SBTypeMember_meta, swig_SBTypeMember_bases, swig_SBTypeMember_base_names }; static int _wrap_new_SBTypeMemberFunction__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",0,0) - result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",0,0) + result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeMemberFunction__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = 0 ; - lldb::SBTypeMemberFunction *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,"lldb::SBTypeMemberFunction const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("new_SBTypeMemberFunction",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = 0 ; + lldb::SBTypeMemberFunction *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,"lldb::SBTypeMemberFunction const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("new_SBTypeMemberFunction",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction((lldb::SBTypeMemberFunction const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction((lldb::SBTypeMemberFunction const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60441,7 +60480,7 @@ static int _wrap_new_SBTypeMemberFunction(lua_State* L) { return _wrap_new_SBTypeMemberFunction__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeMemberFunction, SWIG_POINTER_NO_NULL)) { @@ -60464,288 +60503,288 @@ static int _wrap_new_SBTypeMemberFunction(lua_State* L) { static int _wrap_SBTypeMemberFunction_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::IsValid",1,"lldb::SBTypeMemberFunction const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_IsValid",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::IsValid",1,"lldb::SBTypeMemberFunction const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_IsValid",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (bool)((lldb::SBTypeMemberFunction const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeMemberFunction const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetName",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetName",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetDemangledName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDemangledName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDemangledName",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetDemangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDemangledName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDemangledName",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetDemangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (char *)(arg1)->GetDemangledName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetDemangledName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetMangledName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetMangledName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetMangledName",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetMangledName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetMangledName",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (char *)(arg1)->GetMangledName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetMangledName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetType",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetType",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetReturnType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetReturnType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetReturnType",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetReturnType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); - } - - result = (arg1)->GetReturnType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetReturnType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetReturnType",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetReturnType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (arg1)->GetReturnType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetNumberOfArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetNumberOfArguments",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetNumberOfArguments",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (uint32_t)(arg1)->GetNumberOfArguments(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfArguments(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetArgumentTypeAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - uint32_t arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",1,"lldb::SBTypeMemberFunction *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetArgumentTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetArgumentTypeAtIndex(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + uint32_t arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",1,"lldb::SBTypeMemberFunction *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetArgumentTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetArgumentTypeAtIndex(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - lldb::MemberFunctionKind result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetKind",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetKind",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetKind",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + lldb::MemberFunctionKind result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetKind",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetKind",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetKind",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = (lldb::MemberFunctionKind)(arg1)->GetKind(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::MemberFunctionKind)(arg1)->GetKind(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",1,"lldb::SBTypeMemberFunction *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",1,"lldb::SBTypeMemberFunction *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeMemberFunction___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeMemberFunction::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::__repr__",1,"lldb::SBTypeMemberFunction *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ - SWIG_fail_ptr("SBTypeMemberFunction___tostring",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + { + int SWIG_arg = 0; + lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeMemberFunction::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::__repr__",1,"lldb::SBTypeMemberFunction *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){ + SWIG_fail_ptr("SBTypeMemberFunction___tostring",1,SWIGTYPE_p_lldb__SBTypeMemberFunction); + } + + result = lldb_SBTypeMemberFunction___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeMemberFunction___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60809,43 +60848,43 @@ static const char *swig_SBTypeMemberFunction_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeMemberFunction = { "SBTypeMemberFunction", "SBTypeMemberFunction", &SWIGTYPE_p_lldb__SBTypeMemberFunction,_proxy__wrap_new_SBTypeMemberFunction, swig_delete_SBTypeMemberFunction, swig_SBTypeMemberFunction_methods, swig_SBTypeMemberFunction_attributes, &swig_SBTypeMemberFunction_Sf_SwigStatic, swig_SBTypeMemberFunction_meta, swig_SBTypeMemberFunction_bases, swig_SBTypeMemberFunction_base_names }; static int _wrap_new_SBType__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *result = 0 ; - - SWIG_check_num_args("lldb::SBType::SBType",0,0) - result = (lldb::SBType *)new lldb::SBType(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBType *result = 0 ; + + SWIG_check_num_args("lldb::SBType::SBType",0,0) + result = (lldb::SBType *)new lldb::SBType(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBType__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = 0 ; - lldb::SBType *result = 0 ; - - SWIG_check_num_args("lldb::SBType::SBType",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBType::SBType",1,"lldb::SBType const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("new_SBType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = 0 ; + lldb::SBType *result = 0 ; + + SWIG_check_num_args("lldb::SBType::SBType",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBType::SBType",1,"lldb::SBType const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("new_SBType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (lldb::SBType *)new lldb::SBType((lldb::SBType const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBType *)new lldb::SBType((lldb::SBType const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -60860,7 +60899,7 @@ static int _wrap_new_SBType(lua_State* L) { return _wrap_new_SBType__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, SWIG_POINTER_NO_NULL)) { @@ -60883,644 +60922,644 @@ static int _wrap_new_SBType(lua_State* L) { static int _wrap_SBType_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsValid",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsValid",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsValid",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsValid",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBType::GetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetByteSize",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetByteSize",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBType::GetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetByteSize",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetByteSize",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint64_t)(arg1)->GetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsPointerType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsPointerType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPointerType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsPointerType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsPointerType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPointerType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsPointerType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsPointerType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsPointerType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsReferenceType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsReferenceType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsReferenceType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsReferenceType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsReferenceType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsReferenceType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsReferenceType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsReferenceType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsReferenceType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsFunctionType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsFunctionType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsFunctionType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsFunctionType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsFunctionType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsFunctionType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsFunctionType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsFunctionType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsFunctionType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsPolymorphicClass(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsPolymorphicClass",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPolymorphicClass",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsPolymorphicClass",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsPolymorphicClass",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPolymorphicClass",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsPolymorphicClass",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsPolymorphicClass(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsPolymorphicClass(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsArrayType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsArrayType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsArrayType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsArrayType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsArrayType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsArrayType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsArrayType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsArrayType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsArrayType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsVectorType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsVectorType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsVectorType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsVectorType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsVectorType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsVectorType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsVectorType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsVectorType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsVectorType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsTypedefType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsTypedefType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypedefType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsTypedefType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsTypedefType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypedefType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsTypedefType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsTypedefType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsTypedefType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsAnonymousType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsAnonymousType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAnonymousType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsAnonymousType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsAnonymousType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAnonymousType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsAnonymousType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsAnonymousType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsAnonymousType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsScopedEnumerationType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsScopedEnumerationType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsScopedEnumerationType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsScopedEnumerationType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsScopedEnumerationType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsScopedEnumerationType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsScopedEnumerationType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsScopedEnumerationType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsScopedEnumerationType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsAggregateType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsAggregateType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAggregateType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsAggregateType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsAggregateType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAggregateType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsAggregateType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsAggregateType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsAggregateType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetPointerType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetPointerType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointerType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetPointerType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetPointerType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetPointerType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointerType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetPointerType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetPointerType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetPointeeType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetPointeeType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointeeType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetPointeeType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetPointeeType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetPointeeType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointeeType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetPointeeType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetPointeeType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetReferenceType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetReferenceType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetReferenceType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetReferenceType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetReferenceType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetReferenceType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetReferenceType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetReferenceType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetReferenceType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetTypedefedType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetTypedefedType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypedefedType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetTypedefedType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetTypedefedType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetTypedefedType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypedefedType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetTypedefedType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetTypedefedType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetDereferencedType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetDereferencedType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDereferencedType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetDereferencedType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetDereferencedType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetDereferencedType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDereferencedType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetDereferencedType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetDereferencedType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetUnqualifiedType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetUnqualifiedType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetUnqualifiedType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetUnqualifiedType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetUnqualifiedType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetUnqualifiedType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetUnqualifiedType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetUnqualifiedType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetUnqualifiedType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetCanonicalType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetCanonicalType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetCanonicalType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetCanonicalType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetCanonicalType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetCanonicalType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetCanonicalType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetCanonicalType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetCanonicalType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetEnumerationIntegerType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetEnumerationIntegerType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumerationIntegerType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetEnumerationIntegerType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetEnumerationIntegerType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetEnumerationIntegerType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumerationIntegerType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetEnumerationIntegerType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetEnumerationIntegerType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetArrayElementType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetArrayElementType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayElementType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetArrayElementType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetArrayElementType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetArrayElementType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayElementType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetArrayElementType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetArrayElementType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetArrayType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint64_t arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetArrayType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayType",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetArrayType",2,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetArrayType",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint64_t)lua_tointeger(L, 2); - result = (arg1)->GetArrayType(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint64_t arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetArrayType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayType",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetArrayType",2,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetArrayType",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint64_t)lua_tointeger(L, 2); + result = (arg1)->GetArrayType(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetVectorElementType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetVectorElementType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVectorElementType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetVectorElementType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetVectorElementType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetVectorElementType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVectorElementType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetVectorElementType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetVectorElementType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetBasicType__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::BasicType result; - - SWIG_check_num_args("lldb::SBType::GetBasicType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::BasicType result; + + SWIG_check_num_args("lldb::SBType::GetBasicType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (lldb::BasicType)(arg1)->GetBasicType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::BasicType)(arg1)->GetBasicType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetBasicType__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::BasicType arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetBasicType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetBasicType",2,"lldb::BasicType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (lldb::BasicType)lua_tointeger(L, 2); - result = (arg1)->GetBasicType(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::BasicType arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetBasicType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetBasicType",2,"lldb::BasicType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (lldb::BasicType)lua_tointeger(L, 2); + result = (arg1)->GetBasicType(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -61532,7 +61571,7 @@ static int _wrap_SBType_GetBasicType(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, 0)) { @@ -61546,7 +61585,7 @@ static int _wrap_SBType_GetBasicType(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, 0)) { @@ -61574,582 +61613,582 @@ static int _wrap_SBType_GetBasicType(lua_State* L) { static int _wrap_SBType_GetNumberOfFields(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetNumberOfFields",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfFields",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetNumberOfFields",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetNumberOfFields",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfFields",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetNumberOfFields",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetNumberOfFields(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfFields(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetNumberOfDirectBaseClasses(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetNumberOfDirectBaseClasses",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfDirectBaseClasses",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetNumberOfDirectBaseClasses",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetNumberOfDirectBaseClasses",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfDirectBaseClasses",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetNumberOfDirectBaseClasses",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetNumberOfDirectBaseClasses(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfDirectBaseClasses(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetNumberOfVirtualBaseClasses(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetNumberOfVirtualBaseClasses",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfVirtualBaseClasses",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetNumberOfVirtualBaseClasses",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetNumberOfVirtualBaseClasses",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfVirtualBaseClasses",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetNumberOfVirtualBaseClasses",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetNumberOfVirtualBaseClasses(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfVirtualBaseClasses(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetFieldAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::SBTypeMember result; - - SWIG_check_num_args("lldb::SBType::GetFieldAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetFieldAtIndex",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetFieldAtIndex(arg2); { - lldb::SBTypeMember * resultptr = new lldb::SBTypeMember((const lldb::SBTypeMember &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::SBTypeMember result; + + SWIG_check_num_args("lldb::SBType::GetFieldAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetFieldAtIndex",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetFieldAtIndex(arg2); + { + lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetDirectBaseClassAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::SBTypeMember result; - - SWIG_check_num_args("lldb::SBType::GetDirectBaseClassAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetDirectBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetDirectBaseClassAtIndex(arg2); { - lldb::SBTypeMember * resultptr = new lldb::SBTypeMember((const lldb::SBTypeMember &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::SBTypeMember result; + + SWIG_check_num_args("lldb::SBType::GetDirectBaseClassAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetDirectBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetDirectBaseClassAtIndex(arg2); + { + lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetVirtualBaseClassAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::SBTypeMember result; - - SWIG_check_num_args("lldb::SBType::GetVirtualBaseClassAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetVirtualBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetVirtualBaseClassAtIndex(arg2); { - lldb::SBTypeMember * resultptr = new lldb::SBTypeMember((const lldb::SBTypeMember &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::SBTypeMember result; + + SWIG_check_num_args("lldb::SBType::GetVirtualBaseClassAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetVirtualBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetVirtualBaseClassAtIndex(arg2); + { + lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetEnumMembers(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBTypeEnumMemberList result; - - SWIG_check_num_args("lldb::SBType::GetEnumMembers",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumMembers",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetEnumMembers",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetEnumMembers(); { - lldb::SBTypeEnumMemberList * resultptr = new lldb::SBTypeEnumMemberList((const lldb::SBTypeEnumMemberList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBTypeEnumMemberList result; + + SWIG_check_num_args("lldb::SBType::GetEnumMembers",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumMembers",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetEnumMembers",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetEnumMembers(); + { + lldb::SBTypeEnumMemberList * resultptr = new lldb::SBTypeEnumMemberList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetModule(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBModule result; - - SWIG_check_num_args("lldb::SBType::GetModule",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetModule",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetModule",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetModule(); { - lldb::SBModule * resultptr = new lldb::SBModule((const lldb::SBModule &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBModule result; + + SWIG_check_num_args("lldb::SBType::GetModule",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetModule",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetModule",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetModule(); + { + lldb::SBModule * resultptr = new lldb::SBModule(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBType::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetName",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetName",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBType::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetName",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetName",1,SWIGTYPE_p_lldb__SBType); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetDisplayTypeName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBType::GetDisplayTypeName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDisplayTypeName",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBType::GetDisplayTypeName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDisplayTypeName",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBType); + } + + result = (char *)(arg1)->GetDisplayTypeName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetDisplayTypeName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetTypeClass(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::TypeClass result; - - SWIG_check_num_args("lldb::SBType::GetTypeClass",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeClass",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetTypeClass",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::TypeClass result; + + SWIG_check_num_args("lldb::SBType::GetTypeClass",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeClass",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetTypeClass",1,SWIGTYPE_p_lldb__SBType); + } + + result = (lldb::TypeClass)(arg1)->GetTypeClass(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::TypeClass)(arg1)->GetTypeClass(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetNumberOfTemplateArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetNumberOfTemplateArguments",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfTemplateArguments",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetNumberOfTemplateArguments",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetNumberOfTemplateArguments",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfTemplateArguments",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetNumberOfTemplateArguments",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetNumberOfTemplateArguments(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfTemplateArguments(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetTemplateArgumentType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetTemplateArgumentType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetTemplateArgumentType",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTemplateArgumentType(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetTemplateArgumentType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetTemplateArgumentType",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTemplateArgumentType(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetTemplateArgumentKind(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::TemplateArgumentKind result; - - SWIG_check_num_args("lldb::SBType::GetTemplateArgumentKind",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetTemplateArgumentKind",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::TemplateArgumentKind result; + + SWIG_check_num_args("lldb::SBType::GetTemplateArgumentKind",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetTemplateArgumentKind",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (lldb::TemplateArgumentKind)(arg1)->GetTemplateArgumentKind(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (lldb::TemplateArgumentKind)(arg1)->GetTemplateArgumentKind(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetFunctionReturnType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBType::GetFunctionReturnType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionReturnType",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetFunctionReturnType",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetFunctionReturnType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::GetFunctionReturnType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionReturnType",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetFunctionReturnType",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetFunctionReturnType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetFunctionArgumentTypes(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBTypeList result; - - SWIG_check_num_args("lldb::SBType::GetFunctionArgumentTypes",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionArgumentTypes",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetFunctionArgumentTypes",1,SWIGTYPE_p_lldb__SBType); - } - - result = (arg1)->GetFunctionArgumentTypes(); { - lldb::SBTypeList * resultptr = new lldb::SBTypeList((const lldb::SBTypeList &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBTypeList result; + + SWIG_check_num_args("lldb::SBType::GetFunctionArgumentTypes",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionArgumentTypes",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetFunctionArgumentTypes",1,SWIGTYPE_p_lldb__SBType); + } + + result = (arg1)->GetFunctionArgumentTypes(); + { + lldb::SBTypeList * resultptr = new lldb::SBTypeList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetNumberOfMemberFunctions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetNumberOfMemberFunctions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfMemberFunctions",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetNumberOfMemberFunctions",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetNumberOfMemberFunctions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfMemberFunctions",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetNumberOfMemberFunctions",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetNumberOfMemberFunctions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfMemberFunctions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetMemberFunctionAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t arg2 ; - lldb::SBTypeMemberFunction result; - - SWIG_check_num_args("lldb::SBType::GetMemberFunctionAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",1,"lldb::SBType *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetMemberFunctionAtIndex",1,SWIGTYPE_p_lldb__SBType); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetMemberFunctionAtIndex(arg2); { - lldb::SBTypeMemberFunction * resultptr = new lldb::SBTypeMemberFunction((const lldb::SBTypeMemberFunction &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t arg2 ; + lldb::SBTypeMemberFunction result; + + SWIG_check_num_args("lldb::SBType::GetMemberFunctionAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",1,"lldb::SBType *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetMemberFunctionAtIndex",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetMemberFunctionAtIndex(arg2); + { + lldb::SBTypeMemberFunction * resultptr = new lldb::SBTypeMemberFunction(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_IsTypeComplete(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::IsTypeComplete",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypeComplete",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_IsTypeComplete",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::IsTypeComplete",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypeComplete",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_IsTypeComplete",1,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->IsTypeComplete(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsTypeComplete(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType_GetTypeFlags(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBType::GetTypeFlags",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeFlags",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType_GetTypeFlags",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBType::GetTypeFlags",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeFlags",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_GetTypeFlags",1,SWIGTYPE_p_lldb__SBType); + } + + result = (uint32_t)(arg1)->GetTypeFlags(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetTypeFlags(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - lldb::SBType *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBType::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::operator ==",1,"lldb::SBType *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBType::operator ==",2,"lldb::SBType &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType___eq",1,SWIGTYPE_p_lldb__SBType); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType___eq",2,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBType *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBType::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::operator ==",1,"lldb::SBType *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBType::operator ==",2,"lldb::SBType &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType___eq",1,SWIGTYPE_p_lldb__SBType); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType___eq",2,SWIGTYPE_p_lldb__SBType); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBType___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType *arg1 = (lldb::SBType *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBType::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::__repr__",1,"lldb::SBType *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBType___tostring",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBType::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::__repr__",1,"lldb::SBType *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType___tostring",1,SWIGTYPE_p_lldb__SBType); + } + + result = lldb_SBType___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBType___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -62249,129 +62288,129 @@ static const char *swig_SBType_base_names[] = {0}; static swig_lua_class _wrap_class_SBType = { "SBType", "SBType", &SWIGTYPE_p_lldb__SBType,_proxy__wrap_new_SBType, swig_delete_SBType, swig_SBType_methods, swig_SBType_attributes, &swig_SBType_Sf_SwigStatic, swig_SBType_meta, swig_SBType_bases, swig_SBType_base_names }; static int _wrap_new_SBTypeList(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeList *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeList::SBTypeList",0,0) - result = (lldb::SBTypeList *)new lldb::SBTypeList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeList *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeList::SBTypeList",0,0) + result = (lldb::SBTypeList *)new lldb::SBTypeList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::IsValid",1,"lldb::SBTypeList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ - SWIG_fail_ptr("SBTypeList_IsValid",1,SWIGTYPE_p_lldb__SBTypeList); + { + int SWIG_arg = 0; + lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::IsValid",1,"lldb::SBTypeList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ + SWIG_fail_ptr("SBTypeList_IsValid",1,SWIGTYPE_p_lldb__SBTypeList); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeList_Append(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; - lldb::SBType arg2 ; - lldb::SBType *argp2 ; - - SWIG_check_num_args("lldb::SBTypeList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::Append",1,"lldb::SBTypeList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeList::Append",2,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ - SWIG_fail_ptr("SBTypeList_Append",1,SWIGTYPE_p_lldb__SBTypeList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBTypeList_Append",2,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; + lldb::SBType arg2 ; + lldb::SBType *argp2 ; + + SWIG_check_num_args("lldb::SBTypeList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::Append",1,"lldb::SBTypeList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeList::Append",2,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ + SWIG_fail_ptr("SBTypeList_Append",1,SWIGTYPE_p_lldb__SBTypeList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBTypeList_Append",2,SWIGTYPE_p_lldb__SBType); + } + arg2 = *argp2; + + (arg1)->Append(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->Append(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeList_GetTypeAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; - uint32_t arg2 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeList::GetTypeAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",1,"lldb::SBTypeList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ - SWIG_fail_ptr("SBTypeList_GetTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeAtIndex(arg2); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; + uint32_t arg2 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeList::GetTypeAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",1,"lldb::SBTypeList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ + SWIG_fail_ptr("SBTypeList_GetTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeAtIndex(arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetSize",1,"lldb::SBTypeList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ - SWIG_fail_ptr("SBTypeList_GetSize",1,SWIGTYPE_p_lldb__SBTypeList); + { + int SWIG_arg = 0; + lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetSize",1,"lldb::SBTypeList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){ + SWIG_fail_ptr("SBTypeList_GetSize",1,SWIGTYPE_p_lldb__SBTypeList); + } + + result = (uint32_t)(arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -62427,43 +62466,43 @@ static const char *swig_SBTypeList_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeList = { "SBTypeList", "SBTypeList", &SWIGTYPE_p_lldb__SBTypeList,_proxy__wrap_new_SBTypeList, swig_delete_SBTypeList, swig_SBTypeList_methods, swig_SBTypeList_attributes, &swig_SBTypeList_Sf_SwigStatic, swig_SBTypeList_meta, swig_SBTypeList_bases, swig_SBTypeList_base_names }; static int _wrap_new_SBTypeCategory__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",0,0) - result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeCategory *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",0,0) + result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeCategory__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = 0 ; - lldb::SBTypeCategory *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SBTypeCategory",1,"lldb::SBTypeCategory const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("new_SBTypeCategory",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = 0 ; + lldb::SBTypeCategory *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SBTypeCategory",1,"lldb::SBTypeCategory const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("new_SBTypeCategory",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory((lldb::SBTypeCategory const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory((lldb::SBTypeCategory const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -62478,7 +62517,7 @@ static int _wrap_new_SBTypeCategory(lua_State* L) { return _wrap_new_SBTypeCategory__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeCategory, SWIG_POINTER_NO_NULL)) { @@ -62501,1015 +62540,1015 @@ static int _wrap_new_SBTypeCategory(lua_State* L) { static int _wrap_SBTypeCategory_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::IsValid",1,"lldb::SBTypeCategory const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_IsValid",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::IsValid",1,"lldb::SBTypeCategory const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_IsValid",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (bool)((lldb::SBTypeCategory const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeCategory const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetEnabled",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetEnabled",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (bool)(arg1)->GetEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_SetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBTypeCategory::SetEnabled",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",1,"lldb::SBTypeCategory *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_SetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBTypeCategory::SetEnabled",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",1,"lldb::SBTypeCategory *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_SetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEnabled(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEnabled(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeCategory::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetName",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetName",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeCategory::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetName",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetName",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetLanguageAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetLanguageAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetLanguageAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetLanguageAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetLanguageAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (lldb::LanguageType)(arg1)->GetLanguageAtIndex(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (lldb::LanguageType)(arg1)->GetLanguageAtIndex(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetNumLanguages(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetNumLanguages",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumLanguages",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetNumLanguages",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetNumLanguages",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumLanguages",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetNumLanguages",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (uint32_t)(arg1)->GetNumLanguages(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumLanguages(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_AddLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::LanguageType arg2 ; - - SWIG_check_num_args("lldb::SBTypeCategory::AddLanguage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",2,"lldb::LanguageType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_AddLanguage",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::LanguageType arg2 ; + + SWIG_check_num_args("lldb::SBTypeCategory::AddLanguage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",2,"lldb::LanguageType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_AddLanguage",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + (arg1)->AddLanguage(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - (arg1)->AddLanguage(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetDescription",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeCategory_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetDescription",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeCategory_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetNumFormats(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetNumFormats",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFormats",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetNumFormats",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetNumFormats",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFormats",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetNumFormats",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (uint32_t)(arg1)->GetNumFormats(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumFormats(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetNumSummaries(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetNumSummaries",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSummaries",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetNumSummaries",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetNumSummaries",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSummaries",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetNumSummaries",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (uint32_t)(arg1)->GetNumSummaries(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumSummaries(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetNumFilters(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetNumFilters",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFilters",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetNumFilters",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetNumFilters",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFilters",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetNumFilters",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (uint32_t)(arg1)->GetNumFilters(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumFilters(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetNumSynthetics(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetNumSynthetics",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSynthetics",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetNumSynthetics",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetNumSynthetics",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSynthetics",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetNumSynthetics",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = (uint32_t)(arg1)->GetNumSynthetics(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumSynthetics(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeNameSpecifier result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeNameSpecifierForFilterAtIndex(arg2); { - lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier((const lldb::SBTypeNameSpecifier &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeNameSpecifier result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeNameSpecifierForFilterAtIndex(arg2); + { + lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeNameSpecifier result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeNameSpecifierForFormatAtIndex(arg2); { - lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier((const lldb::SBTypeNameSpecifier &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeNameSpecifier result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeNameSpecifierForFormatAtIndex(arg2); + { + lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeNameSpecifier result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeNameSpecifierForSummaryAtIndex(arg2); { - lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier((const lldb::SBTypeNameSpecifier &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeNameSpecifier result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeNameSpecifierForSummaryAtIndex(arg2); + { + lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeNameSpecifier result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeNameSpecifierForSyntheticAtIndex(arg2); { - lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier((const lldb::SBTypeNameSpecifier &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeNameSpecifier result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeNameSpecifierForSyntheticAtIndex(arg2); + { + lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetFilterForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFilter result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetFilterForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFilterForType",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetFilterForType(arg2); { - lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter((const lldb::SBTypeFilter &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFilter result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetFilterForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFilterForType",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetFilterForType(arg2); + { + lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetFormatForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFormat result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetFormatForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFormatForType",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetFormatForType(arg2); { - lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat((const lldb::SBTypeFormat &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFormat result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetFormatForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFormatForType",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetFormatForType(arg2); + { + lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetSummaryForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetSummaryForType(arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetSummaryForType(arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetSyntheticForType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticForType",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - result = (arg1)->GetSyntheticForType(arg2); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticForType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (arg1)->GetSyntheticForType(arg2); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetFilterAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeFilter result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetFilterAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetFilterAtIndex(arg2); { - lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter((const lldb::SBTypeFilter &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeFilter result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetFilterAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetFilterAtIndex(arg2); + { + lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetFormatAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeFormat result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetFormatAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetFormatAtIndex(arg2); { - lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat((const lldb::SBTypeFormat &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeFormat result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetFormatAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetFormatAtIndex(arg2); + { + lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetSummaryAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetSummaryAtIndex(arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetSummaryAtIndex(arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_GetSyntheticAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",1,"lldb::SBTypeCategory *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_GetSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetSyntheticAtIndex(arg2); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",1,"lldb::SBTypeCategory *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_GetSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetSyntheticAtIndex(arg2); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_AddTypeFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeFormat arg3 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFormat *argp3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFormat",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",2,"lldb::SBTypeNameSpecifier"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",3,"lldb::SBTypeFormat"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",3,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeFormat arg3 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFormat *argp3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFormat",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",2,"lldb::SBTypeNameSpecifier"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",3,"lldb::SBTypeFormat"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",3,SWIGTYPE_p_lldb__SBTypeFormat); + } + arg3 = *argp3; + + result = (bool)(arg1)->AddTypeFormat(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = *argp3; - - result = (bool)(arg1)->AddTypeFormat(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_DeleteTypeFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFormat",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFormat",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (bool)(arg1)->DeleteTypeFormat(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (bool)(arg1)->DeleteTypeFormat(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_AddTypeSummary(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeSummary arg3 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSummary *argp3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSummary",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",2,"lldb::SBTypeNameSpecifier"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",3,"lldb::SBTypeSummary"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",3,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeSummary arg3 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSummary *argp3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSummary",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",2,"lldb::SBTypeNameSpecifier"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",3,"lldb::SBTypeSummary"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",3,SWIGTYPE_p_lldb__SBTypeSummary); + } + arg3 = *argp3; + + result = (bool)(arg1)->AddTypeSummary(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = *argp3; - - result = (bool)(arg1)->AddTypeSummary(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_DeleteTypeSummary(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSummary",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSummary",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (bool)(arg1)->DeleteTypeSummary(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (bool)(arg1)->DeleteTypeSummary(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_AddTypeFilter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeFilter arg3 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeFilter *argp3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFilter",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",2,"lldb::SBTypeNameSpecifier"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",3,"lldb::SBTypeFilter"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",3,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeFilter arg3 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeFilter *argp3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFilter",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",2,"lldb::SBTypeNameSpecifier"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",3,"lldb::SBTypeFilter"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",3,SWIGTYPE_p_lldb__SBTypeFilter); + } + arg3 = *argp3; + + result = (bool)(arg1)->AddTypeFilter(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = *argp3; - - result = (bool)(arg1)->AddTypeFilter(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_DeleteTypeFilter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFilter",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFilter",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (bool)(arg1)->DeleteTypeFilter(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (bool)(arg1)->DeleteTypeFilter(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_AddTypeSynthetic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeSynthetic arg3 ; - lldb::SBTypeNameSpecifier *argp2 ; - lldb::SBTypeSynthetic *argp3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSynthetic",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",2,"lldb::SBTypeNameSpecifier"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",3,"lldb::SBTypeSynthetic"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - arg2 = *argp2; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",3,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeSynthetic arg3 ; + lldb::SBTypeNameSpecifier *argp2 ; + lldb::SBTypeSynthetic *argp3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSynthetic",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",2,"lldb::SBTypeNameSpecifier"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",3,"lldb::SBTypeSynthetic"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",3,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + arg3 = *argp3; + + result = (bool)(arg1)->AddTypeSynthetic(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg3 = *argp3; - - result = (bool)(arg1)->AddTypeSynthetic(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory_DeleteTypeSynthetic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - lldb::SBTypeNameSpecifier arg2 ; - lldb::SBTypeNameSpecifier *argp2 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSynthetic",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",1,"lldb::SBTypeCategory *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",2,"lldb::SBTypeNameSpecifier"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + lldb::SBTypeNameSpecifier arg2 ; + lldb::SBTypeNameSpecifier *argp2 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSynthetic",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",1,"lldb::SBTypeCategory *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",2,"lldb::SBTypeNameSpecifier"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + arg2 = *argp2; + + result = (bool)(arg1)->DeleteTypeSynthetic(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - result = (bool)(arg1)->DeleteTypeSynthetic(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeCategory___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeCategory::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::__repr__",1,"lldb::SBTypeCategory *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ - SWIG_fail_ptr("SBTypeCategory___tostring",1,SWIGTYPE_p_lldb__SBTypeCategory); + { + int SWIG_arg = 0; + lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeCategory::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::__repr__",1,"lldb::SBTypeCategory *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){ + SWIG_fail_ptr("SBTypeCategory___tostring",1,SWIGTYPE_p_lldb__SBTypeCategory); + } + + result = lldb_SBTypeCategory___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeCategory___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -63595,43 +63634,43 @@ static const char *swig_SBTypeCategory_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeCategory = { "SBTypeCategory", "SBTypeCategory", &SWIGTYPE_p_lldb__SBTypeCategory,_proxy__wrap_new_SBTypeCategory, swig_delete_SBTypeCategory, swig_SBTypeCategory_methods, swig_SBTypeCategory_attributes, &swig_SBTypeCategory_Sf_SwigStatic, swig_SBTypeCategory_meta, swig_SBTypeCategory_bases, swig_SBTypeCategory_base_names }; static int _wrap_new_SBTypeEnumMember__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",0,0) - result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",0,0) + result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeEnumMember__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = 0 ; - lldb::SBTypeEnumMember *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::SBTypeEnumMember",1,"lldb::SBTypeEnumMember const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("new_SBTypeEnumMember",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = 0 ; + lldb::SBTypeEnumMember *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::SBTypeEnumMember",1,"lldb::SBTypeEnumMember const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("new_SBTypeEnumMember",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember((lldb::SBTypeEnumMember const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember((lldb::SBTypeEnumMember const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -63646,7 +63685,7 @@ static int _wrap_new_SBTypeEnumMember(lua_State* L) { return _wrap_new_SBTypeEnumMember__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeEnumMember, SWIG_POINTER_NO_NULL)) { @@ -63669,183 +63708,183 @@ static int _wrap_new_SBTypeEnumMember(lua_State* L) { static int _wrap_SBTypeEnumMember_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::IsValid",1,"lldb::SBTypeEnumMember const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::IsValid",1,"lldb::SBTypeEnumMember const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (bool)((lldb::SBTypeEnumMember const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeEnumMember const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember_GetValueAsSigned(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - int64_t result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsSigned",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsSigned",1,"lldb::SBTypeEnumMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + int64_t result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsSigned",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsSigned",1,"lldb::SBTypeEnumMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (int64_t)(arg1)->GetValueAsSigned(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int64_t)(arg1)->GetValueAsSigned(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember_GetValueAsUnsigned(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,"lldb::SBTypeEnumMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,"lldb::SBTypeEnumMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (uint64_t)(arg1)->GetValueAsUnsigned(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetValueAsUnsigned(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeEnumMember::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetName",1,"lldb::SBTypeEnumMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetName",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeEnumMember::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetName",1,"lldb::SBTypeEnumMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetName",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetType",1,"lldb::SBTypeEnumMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetType",1,SWIGTYPE_p_lldb__SBTypeEnumMember); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetType",1,"lldb::SBTypeEnumMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetType",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",1,"lldb::SBTypeEnumMember *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetDescription",1,SWIGTYPE_p_lldb__SBTypeEnumMember); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeEnumMember_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",1,"lldb::SBTypeEnumMember *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetDescription",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeEnumMember_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMember___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeEnumMember::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::__repr__",1,"lldb::SBTypeEnumMember *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMember___tostring",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeEnumMember::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::__repr__",1,"lldb::SBTypeEnumMember *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMember___tostring",1,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + + result = lldb_SBTypeEnumMember___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeEnumMember___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -63905,43 +63944,43 @@ static const char *swig_SBTypeEnumMember_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeEnumMember = { "SBTypeEnumMember", "SBTypeEnumMember", &SWIGTYPE_p_lldb__SBTypeEnumMember,_proxy__wrap_new_SBTypeEnumMember, swig_delete_SBTypeEnumMember, swig_SBTypeEnumMember_methods, swig_SBTypeEnumMember_attributes, &swig_SBTypeEnumMember_Sf_SwigStatic, swig_SBTypeEnumMember_meta, swig_SBTypeEnumMember_bases, swig_SBTypeEnumMember_base_names }; static int _wrap_new_SBTypeEnumMemberList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",0,0) - result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",0,0) + result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeEnumMemberList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *arg1 = 0 ; - lldb::SBTypeEnumMemberList *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,"lldb::SBTypeEnumMemberList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ - SWIG_fail_ptr("new_SBTypeEnumMemberList",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *arg1 = 0 ; + lldb::SBTypeEnumMemberList *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,"lldb::SBTypeEnumMemberList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ + SWIG_fail_ptr("new_SBTypeEnumMemberList",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + } + + result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList((lldb::SBTypeEnumMemberList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList((lldb::SBTypeEnumMemberList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -63956,7 +63995,7 @@ static int _wrap_new_SBTypeEnumMemberList(lua_State* L) { return _wrap_new_SBTypeEnumMemberList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeEnumMemberList, SWIG_POINTER_NO_NULL)) { @@ -63979,112 +64018,112 @@ static int _wrap_new_SBTypeEnumMemberList(lua_State* L) { static int _wrap_SBTypeEnumMemberList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::IsValid",1,"lldb::SBTypeEnumMemberList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ - SWIG_fail_ptr("SBTypeEnumMemberList_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::IsValid",1,"lldb::SBTypeEnumMemberList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ + SWIG_fail_ptr("SBTypeEnumMemberList_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMemberList_Append(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; - lldb::SBTypeEnumMember arg2 ; - lldb::SBTypeEnumMember *argp2 ; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",1,"lldb::SBTypeEnumMemberList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",2,"lldb::SBTypeEnumMember"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ - SWIG_fail_ptr("SBTypeEnumMemberList_Append",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ - SWIG_fail_ptr("SBTypeEnumMemberList_Append",2,SWIGTYPE_p_lldb__SBTypeEnumMember); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; + lldb::SBTypeEnumMember arg2 ; + lldb::SBTypeEnumMember *argp2 ; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",1,"lldb::SBTypeEnumMemberList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",2,"lldb::SBTypeEnumMember"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ + SWIG_fail_ptr("SBTypeEnumMemberList_Append",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){ + SWIG_fail_ptr("SBTypeEnumMemberList_Append",2,SWIGTYPE_p_lldb__SBTypeEnumMember); + } + arg2 = *argp2; + + (arg1)->Append(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - arg2 = *argp2; - - (arg1)->Append(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMemberList_GetTypeEnumMemberAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; - uint32_t arg2 ; - lldb::SBTypeEnumMember result; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",1,"lldb::SBTypeEnumMemberList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ - SWIG_fail_ptr("SBTypeEnumMemberList_GetTypeEnumMemberAtIndex",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetTypeEnumMemberAtIndex(arg2); { - lldb::SBTypeEnumMember * resultptr = new lldb::SBTypeEnumMember((const lldb::SBTypeEnumMember &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; + uint32_t arg2 ; + lldb::SBTypeEnumMember result; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",1,"lldb::SBTypeEnumMemberList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ + SWIG_fail_ptr("SBTypeEnumMemberList_GetTypeEnumMemberAtIndex",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetTypeEnumMemberAtIndex(arg2); + { + lldb::SBTypeEnumMember * resultptr = new lldb::SBTypeEnumMember(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeEnumMemberList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetSize",1,"lldb::SBTypeEnumMemberList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ - SWIG_fail_ptr("SBTypeEnumMemberList_GetSize",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + { + int SWIG_arg = 0; + lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetSize",1,"lldb::SBTypeEnumMemberList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){ + SWIG_fail_ptr("SBTypeEnumMemberList_GetSize",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList); + } + + result = (uint32_t)(arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -64140,63 +64179,63 @@ static const char *swig_SBTypeEnumMemberList_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeEnumMemberList = { "SBTypeEnumMemberList", "SBTypeEnumMemberList", &SWIGTYPE_p_lldb__SBTypeEnumMemberList,_proxy__wrap_new_SBTypeEnumMemberList, swig_delete_SBTypeEnumMemberList, swig_SBTypeEnumMemberList_methods, swig_SBTypeEnumMemberList_attributes, &swig_SBTypeEnumMemberList_Sf_SwigStatic, swig_SBTypeEnumMemberList_meta, swig_SBTypeEnumMemberList_bases, swig_SBTypeEnumMemberList_base_names }; static int _wrap_new_SBTypeFilter__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",0,0) - result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeFilter *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",0,0) + result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFilter__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - uint32_t arg1 ; - lldb::SBTypeFilter *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"uint32_t"); - arg1 = (uint32_t)lua_tointeger(L, 1); - result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + uint32_t arg1 ; + lldb::SBTypeFilter *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"uint32_t"); + arg1 = (uint32_t)lua_tointeger(L, 1); + result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFilter__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = 0 ; - lldb::SBTypeFilter *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"lldb::SBTypeFilter const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("new_SBTypeFilter",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = 0 ; + lldb::SBTypeFilter *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"lldb::SBTypeFilter const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("new_SBTypeFilter",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter((lldb::SBTypeFilter const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter((lldb::SBTypeFilter const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -64211,7 +64250,7 @@ static int _wrap_new_SBTypeFilter(lua_State* L) { return _wrap_new_SBTypeFilter__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeFilter, SWIG_POINTER_NO_NULL)) { @@ -64225,7 +64264,7 @@ static int _wrap_new_SBTypeFilter(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -64244,326 +64283,326 @@ static int _wrap_new_SBTypeFilter(lua_State* L) { static int _wrap_SBTypeFilter_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFilter::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsValid",1,"lldb::SBTypeFilter const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_IsValid",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFilter::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsValid",1,"lldb::SBTypeFilter const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_IsValid",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (bool)((lldb::SBTypeFilter const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeFilter const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_IsEqualTo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - lldb::SBTypeFilter *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFilter::IsEqualTo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",1,"lldb::SBTypeFilter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",2,"lldb::SBTypeFilter &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFilter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + lldb::SBTypeFilter *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFilter::IsEqualTo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",1,"lldb::SBTypeFilter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",2,"lldb::SBTypeFilter &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (bool)(arg1)->IsEqualTo(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEqualTo(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_GetNumberOfExpressionPaths(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,"lldb::SBTypeFilter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_GetNumberOfExpressionPaths",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,"lldb::SBTypeFilter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_GetNumberOfExpressionPaths",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (uint32_t)(arg1)->GetNumberOfExpressionPaths(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumberOfExpressionPaths(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_GetExpressionPathAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - uint32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",1,"lldb::SBTypeFilter *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_GetExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + uint32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",1,"lldb::SBTypeFilter *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_GetExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (char *)(arg1)->GetExpressionPathAtIndex(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (char *)(arg1)->GetExpressionPathAtIndex(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_ReplaceExpressionPathAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - uint32_t arg2 ; - char *arg3 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",1,"lldb::SBTypeFilter *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",2,"uint32_t"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_ReplaceExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + uint32_t arg2 ; + char *arg3 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",1,"lldb::SBTypeFilter *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",2,"uint32_t"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_ReplaceExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (bool)(arg1)->ReplaceExpressionPathAtIndex(arg2,(char const *)arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (bool)(arg1)->ReplaceExpressionPathAtIndex(arg2,(char const *)arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_AppendExpressionPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::AppendExpressionPath",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",1,"lldb::SBTypeFilter *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_AppendExpressionPath",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::AppendExpressionPath",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",1,"lldb::SBTypeFilter *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_AppendExpressionPath",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->AppendExpressionPath((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->AppendExpressionPath((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - - SWIG_check_num_args("lldb::SBTypeFilter::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::Clear",1,"lldb::SBTypeFilter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_Clear",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + + SWIG_check_num_args("lldb::SBTypeFilter::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::Clear",1,"lldb::SBTypeFilter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_Clear",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_GetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeFilter::GetOptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetOptions",1,"lldb::SBTypeFilter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeFilter::GetOptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetOptions",1,"lldb::SBTypeFilter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (uint32_t)(arg1)->GetOptions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOptions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_SetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBTypeFilter::SetOptions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",1,"lldb::SBTypeFilter *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBTypeFilter::SetOptions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",1,"lldb::SBTypeFilter *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetOptions(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetOptions(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFilter::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",1,"lldb::SBTypeFilter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFilter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeFilter_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFilter::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",1,"lldb::SBTypeFilter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeFilter_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - lldb::SBTypeFilter *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFilter::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",1,"lldb::SBTypeFilter *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",2,"lldb::SBTypeFilter &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter___eq",1,SWIGTYPE_p_lldb__SBTypeFilter); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter___eq",2,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + lldb::SBTypeFilter *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFilter::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",1,"lldb::SBTypeFilter *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",2,"lldb::SBTypeFilter &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter___eq",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter___eq",2,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFilter___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeFilter::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::__repr__",1,"lldb::SBTypeFilter *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ - SWIG_fail_ptr("SBTypeFilter___tostring",1,SWIGTYPE_p_lldb__SBTypeFilter); + { + int SWIG_arg = 0; + lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeFilter::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::__repr__",1,"lldb::SBTypeFilter *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){ + SWIG_fail_ptr("SBTypeFilter___tostring",1,SWIGTYPE_p_lldb__SBTypeFilter); + } + + result = lldb_SBTypeFilter___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeFilter___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -64629,129 +64668,129 @@ static const char *swig_SBTypeFilter_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeFilter = { "SBTypeFilter", "SBTypeFilter", &SWIGTYPE_p_lldb__SBTypeFilter,_proxy__wrap_new_SBTypeFilter, swig_delete_SBTypeFilter, swig_SBTypeFilter_methods, swig_SBTypeFilter_attributes, &swig_SBTypeFilter_Sf_SwigStatic, swig_SBTypeFilter_meta, swig_SBTypeFilter_bases, swig_SBTypeFilter_base_names }; static int _wrap_new_SBTypeFormat__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",0,0) - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",0,0) + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFormat__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::Format arg1 ; - uint32_t arg2 ; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t"); - arg1 = (lldb::Format)lua_tointeger(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::Format arg1 ; + uint32_t arg2 ; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t"); + arg1 = (lldb::Format)lua_tointeger(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFormat__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::Format arg1 ; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) - if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format"); - arg1 = (lldb::Format)lua_tointeger(L, 1); - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::Format arg1 ; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) + if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format"); + arg1 = (lldb::Format)lua_tointeger(L, 1); + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFormat__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFormat__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeFormat__SWIG_5(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = 0 ; - lldb::SBTypeFormat *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::SBTypeFormat const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("new_SBTypeFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = 0 ; + lldb::SBTypeFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::SBTypeFormat const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("new_SBTypeFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((lldb::SBTypeFormat const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((lldb::SBTypeFormat const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -64766,7 +64805,7 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { return _wrap_new_SBTypeFormat__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeFormat, SWIG_POINTER_NO_NULL)) { @@ -64780,7 +64819,7 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -64789,7 +64828,7 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -64798,7 +64837,7 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = lua_isnumber(L,argv[0]); } @@ -64812,7 +64851,7 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -64839,296 +64878,296 @@ static int _wrap_new_SBTypeFormat(lua_State* L) { static int _wrap_SBTypeFormat_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFormat::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsValid",1,"lldb::SBTypeFormat const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_IsValid",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFormat::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsValid",1,"lldb::SBTypeFormat const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_IsValid",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (bool)((lldb::SBTypeFormat const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeFormat const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_IsEqualTo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - lldb::SBTypeFormat *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFormat::IsEqualTo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",1,"lldb::SBTypeFormat *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",2,"lldb::SBTypeFormat &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFormat); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + lldb::SBTypeFormat *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFormat::IsEqualTo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",1,"lldb::SBTypeFormat *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",2,"lldb::SBTypeFormat &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (bool)(arg1)->IsEqualTo(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEqualTo(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_GetFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - lldb::Format result; - - SWIG_check_num_args("lldb::SBTypeFormat::GetFormat",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetFormat",1,"lldb::SBTypeFormat *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_GetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + lldb::Format result; + + SWIG_check_num_args("lldb::SBTypeFormat::GetFormat",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetFormat",1,"lldb::SBTypeFormat *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_GetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (lldb::Format)(arg1)->GetFormat(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::Format)(arg1)->GetFormat(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_GetTypeName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::GetTypeName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetTypeName",1,"lldb::SBTypeFormat *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_GetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::GetTypeName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetTypeName",1,"lldb::SBTypeFormat *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_GetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (char *)(arg1)->GetTypeName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTypeName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_GetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeFormat::GetOptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetOptions",1,"lldb::SBTypeFormat *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeFormat::GetOptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetOptions",1,"lldb::SBTypeFormat *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (uint32_t)(arg1)->GetOptions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOptions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_SetFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - lldb::Format arg2 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SetFormat",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",1,"lldb::SBTypeFormat *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",2,"lldb::Format"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_SetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + lldb::Format arg2 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SetFormat",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",1,"lldb::SBTypeFormat *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",2,"lldb::Format"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_SetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + arg2 = (lldb::Format)lua_tointeger(L, 2); + (arg1)->SetFormat(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::Format)lua_tointeger(L, 2); - (arg1)->SetFormat(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_SetTypeName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SetTypeName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",1,"lldb::SBTypeFormat *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_SetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SetTypeName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",1,"lldb::SBTypeFormat *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_SetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetTypeName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetTypeName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_SetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBTypeFormat::SetOptions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",1,"lldb::SBTypeFormat *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBTypeFormat::SetOptions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",1,"lldb::SBTypeFormat *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetOptions(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetOptions(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFormat::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",1,"lldb::SBTypeFormat *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFormat); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeFormat_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFormat::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",1,"lldb::SBTypeFormat *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeFormat_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - lldb::SBTypeFormat *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeFormat::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",1,"lldb::SBTypeFormat *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",2,"lldb::SBTypeFormat &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat___eq",1,SWIGTYPE_p_lldb__SBTypeFormat); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat___eq",2,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + lldb::SBTypeFormat *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeFormat::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",1,"lldb::SBTypeFormat *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",2,"lldb::SBTypeFormat &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat___eq",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat___eq",2,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeFormat___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeFormat::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::__repr__",1,"lldb::SBTypeFormat *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ - SWIG_fail_ptr("SBTypeFormat___tostring",1,SWIGTYPE_p_lldb__SBTypeFormat); + { + int SWIG_arg = 0; + lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeFormat::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::__repr__",1,"lldb::SBTypeFormat *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){ + SWIG_fail_ptr("SBTypeFormat___tostring",1,SWIGTYPE_p_lldb__SBTypeFormat); + } + + result = lldb_SBTypeFormat___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeFormat___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -65193,135 +65232,135 @@ static const char *swig_SBTypeFormat_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeFormat = { "SBTypeFormat", "SBTypeFormat", &SWIGTYPE_p_lldb__SBTypeFormat,_proxy__wrap_new_SBTypeFormat, swig_delete_SBTypeFormat, swig_SBTypeFormat_methods, swig_SBTypeFormat_attributes, &swig_SBTypeFormat_Sf_SwigStatic, swig_SBTypeFormat_meta, swig_SBTypeFormat_bases, swig_SBTypeFormat_base_names }; static int _wrap_new_SBTypeNameSpecifier__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",0,0) - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",0,0) + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeNameSpecifier__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - bool arg2 ; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"bool"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lua_toboolean(L, 2)!=0); - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + bool arg2 ; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"bool"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lua_toboolean(L, 2)!=0); + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeNameSpecifier__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeNameSpecifier__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::FormatterMatchType arg2 ; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"lldb::FormatterMatchType"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (lldb::FormatterMatchType)lua_tointeger(L, 2); - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::FormatterMatchType arg2 ; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"lldb::FormatterMatchType"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (lldb::FormatterMatchType)lua_tointeger(L, 2); + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeNameSpecifier__SWIG_4(lua_State* L) { - int SWIG_arg = 0; - lldb::SBType arg1 ; - lldb::SBType *argp1 ; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBType); + { + int SWIG_arg = 0; + lldb::SBType arg1 ; + lldb::SBType *argp1 ; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBType); + } + arg1 = *argp1; + + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - arg1 = *argp1; - - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeNameSpecifier__SWIG_5(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = 0 ; - lldb::SBTypeNameSpecifier *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBTypeNameSpecifier const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = 0 ; + lldb::SBTypeNameSpecifier *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBTypeNameSpecifier const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((lldb::SBTypeNameSpecifier const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((lldb::SBTypeNameSpecifier const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -65336,7 +65375,7 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { return _wrap_new_SBTypeNameSpecifier__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, SWIG_POINTER_NO_NULL)) { @@ -65350,7 +65389,7 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeNameSpecifier, SWIG_POINTER_NO_NULL)) { @@ -65364,7 +65403,7 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { } } if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -65373,7 +65412,7 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -65387,7 +65426,7 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -65414,245 +65453,245 @@ static int _wrap_new_SBTypeNameSpecifier(lua_State* L) { static int _wrap_SBTypeNameSpecifier_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsValid",1,"lldb::SBTypeNameSpecifier const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_IsValid",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsValid",1,"lldb::SBTypeNameSpecifier const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_IsValid",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (bool)((lldb::SBTypeNameSpecifier const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeNameSpecifier const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_IsEqualTo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - lldb::SBTypeNameSpecifier *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsEqualTo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",1,"lldb::SBTypeNameSpecifier *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",2,"lldb::SBTypeNameSpecifier &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + lldb::SBTypeNameSpecifier *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsEqualTo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",1,"lldb::SBTypeNameSpecifier *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",2,"lldb::SBTypeNameSpecifier &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (bool)(arg1)->IsEqualTo(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEqualTo(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetName",1,"lldb::SBTypeNameSpecifier *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_GetName",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetName",1,"lldb::SBTypeNameSpecifier *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_GetName",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetType",1,"lldb::SBTypeNameSpecifier *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_GetType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetType",1,"lldb::SBTypeNameSpecifier *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_GetType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_GetMatchType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - lldb::FormatterMatchType result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetMatchType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetMatchType",1,"lldb::SBTypeNameSpecifier *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_GetMatchType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + lldb::FormatterMatchType result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetMatchType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetMatchType",1,"lldb::SBTypeNameSpecifier *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_GetMatchType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (lldb::FormatterMatchType)(arg1)->GetMatchType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::FormatterMatchType)(arg1)->GetMatchType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_IsRegex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsRegex",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsRegex",1,"lldb::SBTypeNameSpecifier *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_IsRegex",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsRegex",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsRegex",1,"lldb::SBTypeNameSpecifier *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_IsRegex",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (bool)(arg1)->IsRegex(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsRegex(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",1,"lldb::SBTypeNameSpecifier *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",1,"lldb::SBTypeNameSpecifier *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - lldb::SBTypeNameSpecifier *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",1,"lldb::SBTypeNameSpecifier *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",2,"lldb::SBTypeNameSpecifier &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier___eq",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier___eq",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + lldb::SBTypeNameSpecifier *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",1,"lldb::SBTypeNameSpecifier *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",2,"lldb::SBTypeNameSpecifier &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier___eq",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier___eq",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeNameSpecifier___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeNameSpecifier::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::__repr__",1,"lldb::SBTypeNameSpecifier *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ - SWIG_fail_ptr("SBTypeNameSpecifier___tostring",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + { + int SWIG_arg = 0; + lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeNameSpecifier::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::__repr__",1,"lldb::SBTypeNameSpecifier *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){ + SWIG_fail_ptr("SBTypeNameSpecifier___tostring",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier); + } + + result = lldb_SBTypeNameSpecifier___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeNameSpecifier___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -65715,43 +65754,43 @@ static const char *swig_SBTypeNameSpecifier_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeNameSpecifier = { "SBTypeNameSpecifier", "SBTypeNameSpecifier", &SWIGTYPE_p_lldb__SBTypeNameSpecifier,_proxy__wrap_new_SBTypeNameSpecifier, swig_delete_SBTypeNameSpecifier, swig_SBTypeNameSpecifier_methods, swig_SBTypeNameSpecifier_attributes, &swig_SBTypeNameSpecifier_Sf_SwigStatic, swig_SBTypeNameSpecifier_meta, swig_SBTypeNameSpecifier_bases, swig_SBTypeNameSpecifier_base_names }; static int _wrap_new_SBTypeSummaryOptions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",0,0) - result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",0,0) + result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBTypeSummaryOptions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = 0 ; - lldb::SBTypeSummaryOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,"lldb::SBTypeSummaryOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("new_SBTypeSummaryOptions",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = 0 ; + lldb::SBTypeSummaryOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,"lldb::SBTypeSummaryOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("new_SBTypeSummaryOptions",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions((lldb::SBTypeSummaryOptions const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions((lldb::SBTypeSummaryOptions const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -65766,7 +65805,7 @@ static int _wrap_new_SBTypeSummaryOptions(lua_State* L) { return _wrap_new_SBTypeSummaryOptions__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSummaryOptions, SWIG_POINTER_NO_NULL)) { @@ -65789,126 +65828,126 @@ static int _wrap_new_SBTypeSummaryOptions(lua_State* L) { static int _wrap_SBTypeSummaryOptions_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::IsValid",1,"lldb::SBTypeSummaryOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBTypeSummaryOptions_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::IsValid",1,"lldb::SBTypeSummaryOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBTypeSummaryOptions_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummaryOptions_GetLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; - lldb::LanguageType result; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetLanguage",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetLanguage",1,"lldb::SBTypeSummaryOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBTypeSummaryOptions_GetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; + lldb::LanguageType result; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetLanguage",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetLanguage",1,"lldb::SBTypeSummaryOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBTypeSummaryOptions_GetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + result = (lldb::LanguageType)(arg1)->GetLanguage(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::LanguageType)(arg1)->GetLanguage(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummaryOptions_GetCapping(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; - lldb::TypeSummaryCapping result; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetCapping",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetCapping",1,"lldb::SBTypeSummaryOptions *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBTypeSummaryOptions_GetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; + lldb::TypeSummaryCapping result; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetCapping",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetCapping",1,"lldb::SBTypeSummaryOptions *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBTypeSummaryOptions_GetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + result = (lldb::TypeSummaryCapping)(arg1)->GetCapping(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::TypeSummaryCapping)(arg1)->GetCapping(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummaryOptions_SetLanguage(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; - lldb::LanguageType arg2 ; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetLanguage",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",1,"lldb::SBTypeSummaryOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",2,"lldb::LanguageType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBTypeSummaryOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; + lldb::LanguageType arg2 ; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetLanguage",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",1,"lldb::SBTypeSummaryOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",2,"lldb::LanguageType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBTypeSummaryOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + arg2 = (lldb::LanguageType)lua_tointeger(L, 2); + (arg1)->SetLanguage(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::LanguageType)lua_tointeger(L, 2); - (arg1)->SetLanguage(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummaryOptions_SetCapping(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; - lldb::TypeSummaryCapping arg2 ; - - SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetCapping",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",1,"lldb::SBTypeSummaryOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",2,"lldb::TypeSummaryCapping"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBTypeSummaryOptions_SetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ; + lldb::TypeSummaryCapping arg2 ; + + SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetCapping",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",1,"lldb::SBTypeSummaryOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",2,"lldb::TypeSummaryCapping"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBTypeSummaryOptions_SetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + arg2 = (lldb::TypeSummaryCapping)lua_tointeger(L, 2); + (arg1)->SetCapping(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::TypeSummaryCapping)lua_tointeger(L, 2); - (arg1)->SetCapping(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -65965,68 +66004,68 @@ static const char *swig_SBTypeSummaryOptions_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeSummaryOptions = { "SBTypeSummaryOptions", "SBTypeSummaryOptions", &SWIGTYPE_p_lldb__SBTypeSummaryOptions,_proxy__wrap_new_SBTypeSummaryOptions, swig_delete_SBTypeSummaryOptions, swig_SBTypeSummaryOptions_methods, swig_SBTypeSummaryOptions_attributes, &swig_SBTypeSummaryOptions_Sf_SwigStatic, swig_SBTypeSummaryOptions_meta, swig_SBTypeSummaryOptions_bases, swig_SBTypeSummaryOptions_base_names }; static int _wrap_new_SBTypeSummary__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",0,0) - result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeSummary *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",0,0) + result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1,arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1,arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66038,7 +66077,7 @@ static int _wrap_SBTypeSummary_CreateWithSummaryString(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66047,7 +66086,7 @@ static int _wrap_SBTypeSummary_CreateWithSummaryString(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66070,51 +66109,51 @@ static int _wrap_SBTypeSummary_CreateWithSummaryString(lua_State* L) { static int _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1,arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1,arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66126,7 +66165,7 @@ static int _wrap_SBTypeSummary_CreateWithFunctionName(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66135,7 +66174,7 @@ static int _wrap_SBTypeSummary_CreateWithFunctionName(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66158,51 +66197,51 @@ static int _wrap_SBTypeSummary_CreateWithFunctionName(lua_State* L) { static int _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1,arg2); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1,arg2); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66214,7 +66253,7 @@ static int _wrap_SBTypeSummary_CreateWithScriptCode(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66223,7 +66262,7 @@ static int _wrap_SBTypeSummary_CreateWithScriptCode(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66246,26 +66285,26 @@ static int _wrap_SBTypeSummary_CreateWithScriptCode(lua_State* L) { static int _wrap_new_SBTypeSummary__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = 0 ; - lldb::SBTypeSummary *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SBTypeSummary",1,"lldb::SBTypeSummary const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("new_SBTypeSummary",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = 0 ; + lldb::SBTypeSummary *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SBTypeSummary",1,"lldb::SBTypeSummary const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("new_SBTypeSummary",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary((lldb::SBTypeSummary const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary((lldb::SBTypeSummary const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66280,7 +66319,7 @@ static int _wrap_new_SBTypeSummary(lua_State* L) { return _wrap_new_SBTypeSummary__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSummary, SWIG_POINTER_NO_NULL)) { @@ -66303,370 +66342,370 @@ static int _wrap_new_SBTypeSummary(lua_State* L) { static int _wrap_SBTypeSummary_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsValid",1,"lldb::SBTypeSummary const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsValid",1,"lldb::SBTypeSummary const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)((lldb::SBTypeSummary const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeSummary const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_IsEqualTo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - lldb::SBTypeSummary *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::IsEqualTo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",1,"lldb::SBTypeSummary *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",2,"lldb::SBTypeSummary &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSummary); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + lldb::SBTypeSummary *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::IsEqualTo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",1,"lldb::SBTypeSummary *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",2,"lldb::SBTypeSummary &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)(arg1)->IsEqualTo(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEqualTo(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_IsFunctionCode(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionCode",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionCode",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionCode",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionCode",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)(arg1)->IsFunctionCode(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsFunctionCode(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_IsFunctionName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionName",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionName",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)(arg1)->IsFunctionName(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsFunctionName(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_IsSummaryString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::IsSummaryString",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsSummaryString",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_IsSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::IsSummaryString",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsSummaryString",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_IsSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)(arg1)->IsSummaryString(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsSummaryString(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_GetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::GetData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetData",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_GetData",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::GetData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetData",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_GetData",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (char *)(arg1)->GetData(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetData(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_SetSummaryString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SetSummaryString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",1,"lldb::SBTypeSummary *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_SetSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SetSummaryString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",1,"lldb::SBTypeSummary *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_SetSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetSummaryString((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetSummaryString((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_SetFunctionName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",1,"lldb::SBTypeSummary *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_SetFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",1,"lldb::SBTypeSummary *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_SetFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetFunctionName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetFunctionName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_SetFunctionCode(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionCode",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",1,"lldb::SBTypeSummary *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_SetFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionCode",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",1,"lldb::SBTypeSummary *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_SetFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetFunctionCode((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetFunctionCode((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_GetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeSummary::GetOptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetOptions",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeSummary::GetOptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetOptions",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (uint32_t)(arg1)->GetOptions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOptions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_SetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBTypeSummary::SetOptions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",1,"lldb::SBTypeSummary *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBTypeSummary::SetOptions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",1,"lldb::SBTypeSummary *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetOptions(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetOptions(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",1,"lldb::SBTypeSummary *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSummary); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeSummary_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",1,"lldb::SBTypeSummary *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeSummary_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - lldb::SBTypeSummary *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSummary::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",1,"lldb::SBTypeSummary *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",2,"lldb::SBTypeSummary &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary___eq",1,SWIGTYPE_p_lldb__SBTypeSummary); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary___eq",2,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + lldb::SBTypeSummary *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSummary::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",1,"lldb::SBTypeSummary *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",2,"lldb::SBTypeSummary &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary___eq",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary___eq",2,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSummary___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeSummary::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::__repr__",1,"lldb::SBTypeSummary *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ - SWIG_fail_ptr("SBTypeSummary___tostring",1,SWIGTYPE_p_lldb__SBTypeSummary); + { + int SWIG_arg = 0; + lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeSummary::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::__repr__",1,"lldb::SBTypeSummary *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){ + SWIG_fail_ptr("SBTypeSummary___tostring",1,SWIGTYPE_p_lldb__SBTypeSummary); + } + + result = lldb_SBTypeSummary___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeSummary___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66737,68 +66776,68 @@ static const char *swig_SBTypeSummary_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeSummary = { "SBTypeSummary", "SBTypeSummary", &SWIGTYPE_p_lldb__SBTypeSummary,_proxy__wrap_new_SBTypeSummary, swig_delete_SBTypeSummary, swig_SBTypeSummary_methods, swig_SBTypeSummary_attributes, &swig_SBTypeSummary_Sf_SwigStatic, swig_SBTypeSummary_meta, swig_SBTypeSummary_bases, swig_SBTypeSummary_base_names }; static int _wrap_new_SBTypeSynthetic__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",0,0) - result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",0,0) + result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1,arg2); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1,arg2); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66810,7 +66849,7 @@ static int _wrap_SBTypeSynthetic_CreateWithClassName(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66819,7 +66858,7 @@ static int _wrap_SBTypeSynthetic_CreateWithClassName(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66842,51 +66881,51 @@ static int _wrap_SBTypeSynthetic_CreateWithClassName(lua_State* L) { static int _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",2,2) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",2,"uint32_t"); - arg1 = (char *)lua_tostring(L, 1); - arg2 = (uint32_t)lua_tointeger(L, 2); - result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1,arg2); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + uint32_t arg2 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",2,"uint32_t"); + arg1 = (char *)lua_tostring(L, 1); + arg2 = (uint32_t)lua_tointeger(L, 2); + result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1,arg2); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - char *arg1 = (char *) 0 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",1,1) - if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *"); - arg1 = (char *)lua_tostring(L, 1); - result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",1,1) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *"); + arg1 = (char *)lua_tostring(L, 1); + result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66898,7 +66937,7 @@ static int _wrap_SBTypeSynthetic_CreateWithScriptCode(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66907,7 +66946,7 @@ static int _wrap_SBTypeSynthetic_CreateWithScriptCode(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { _v = SWIG_lua_isnilstring(L,argv[0]); } @@ -66930,26 +66969,26 @@ static int _wrap_SBTypeSynthetic_CreateWithScriptCode(lua_State* L) { static int _wrap_new_SBTypeSynthetic__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = 0 ; - lldb::SBTypeSynthetic *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SBTypeSynthetic",1,"lldb::SBTypeSynthetic const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("new_SBTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = 0 ; + lldb::SBTypeSynthetic *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SBTypeSynthetic",1,"lldb::SBTypeSynthetic const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("new_SBTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic((lldb::SBTypeSynthetic const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic((lldb::SBTypeSynthetic const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -66964,7 +67003,7 @@ static int _wrap_new_SBTypeSynthetic(lua_State* L) { return _wrap_new_SBTypeSynthetic__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSynthetic, SWIG_POINTER_NO_NULL)) { @@ -66987,296 +67026,296 @@ static int _wrap_new_SBTypeSynthetic(lua_State* L) { static int _wrap_SBTypeSynthetic_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsValid",1,"lldb::SBTypeSynthetic const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_IsValid",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsValid",1,"lldb::SBTypeSynthetic const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_IsValid",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (bool)((lldb::SBTypeSynthetic const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBTypeSynthetic const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_IsEqualTo(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - lldb::SBTypeSynthetic *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::IsEqualTo",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",1,"lldb::SBTypeSynthetic *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",2,"lldb::SBTypeSynthetic &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSynthetic); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + lldb::SBTypeSynthetic *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::IsEqualTo",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",1,"lldb::SBTypeSynthetic *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",2,"lldb::SBTypeSynthetic &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (bool)(arg1)->IsEqualTo(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEqualTo(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_IsClassCode(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::IsClassCode",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsClassCode",1,"lldb::SBTypeSynthetic *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_IsClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::IsClassCode",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsClassCode",1,"lldb::SBTypeSynthetic *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_IsClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (bool)(arg1)->IsClassCode(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsClassCode(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_GetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::GetData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetData",1,"lldb::SBTypeSynthetic *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_GetData",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::GetData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetData",1,"lldb::SBTypeSynthetic *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_GetData",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (char *)(arg1)->GetData(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetData(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_SetClassName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",1,"lldb::SBTypeSynthetic *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_SetClassName",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",1,"lldb::SBTypeSynthetic *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_SetClassName",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetClassName((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetClassName((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_SetClassCode(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassCode",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",1,"lldb::SBTypeSynthetic *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_SetClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassCode",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",1,"lldb::SBTypeSynthetic *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_SetClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetClassCode((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetClassCode((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_GetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::GetOptions",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetOptions",1,"lldb::SBTypeSynthetic *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::GetOptions",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetOptions",1,"lldb::SBTypeSynthetic *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (uint32_t)(arg1)->GetOptions(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetOptions(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_SetOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBTypeSynthetic::SetOptions",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",1,"lldb::SBTypeSynthetic *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBTypeSynthetic::SetOptions",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",1,"lldb::SBTypeSynthetic *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetOptions(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetOptions(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",1,"lldb::SBTypeSynthetic *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSynthetic); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBTypeSynthetic_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",1,"lldb::SBTypeSynthetic *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBTypeSynthetic_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - lldb::SBTypeSynthetic *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",1,"lldb::SBTypeSynthetic *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",2,"lldb::SBTypeSynthetic &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic___eq",1,SWIGTYPE_p_lldb__SBTypeSynthetic); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic___eq",2,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + lldb::SBTypeSynthetic *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",1,"lldb::SBTypeSynthetic *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",2,"lldb::SBTypeSynthetic &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic___eq",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic___eq",2,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = (bool)(arg1)->operator ==(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->operator ==(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBTypeSynthetic___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBTypeSynthetic::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::__repr__",1,"lldb::SBTypeSynthetic *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ - SWIG_fail_ptr("SBTypeSynthetic___tostring",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + { + int SWIG_arg = 0; + lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBTypeSynthetic::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::__repr__",1,"lldb::SBTypeSynthetic *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){ + SWIG_fail_ptr("SBTypeSynthetic___tostring",1,SWIGTYPE_p_lldb__SBTypeSynthetic); + } + + result = lldb_SBTypeSynthetic___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBTypeSynthetic___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -67343,43 +67382,43 @@ static const char *swig_SBTypeSynthetic_base_names[] = {0}; static swig_lua_class _wrap_class_SBTypeSynthetic = { "SBTypeSynthetic", "SBTypeSynthetic", &SWIGTYPE_p_lldb__SBTypeSynthetic,_proxy__wrap_new_SBTypeSynthetic, swig_delete_SBTypeSynthetic, swig_SBTypeSynthetic_methods, swig_SBTypeSynthetic_attributes, &swig_SBTypeSynthetic_Sf_SwigStatic, swig_SBTypeSynthetic_meta, swig_SBTypeSynthetic_bases, swig_SBTypeSynthetic_base_names }; static int _wrap_new_SBUnixSignals__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *result = 0 ; - - SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",0,0) - result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBUnixSignals *result = 0 ; + + SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",0,0) + result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBUnixSignals__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = 0 ; - lldb::SBUnixSignals *result = 0 ; - - SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SBUnixSignals",1,"lldb::SBUnixSignals const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("new_SBUnixSignals",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = 0 ; + lldb::SBUnixSignals *result = 0 ; + + SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SBUnixSignals",1,"lldb::SBUnixSignals const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("new_SBUnixSignals",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals((lldb::SBUnixSignals const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals((lldb::SBUnixSignals const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -67394,7 +67433,7 @@ static int _wrap_new_SBUnixSignals(lua_State* L) { return _wrap_new_SBUnixSignals__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBUnixSignals, SWIG_POINTER_NO_NULL)) { @@ -67417,325 +67456,325 @@ static int _wrap_new_SBUnixSignals(lua_State* L) { static int _wrap_SBUnixSignals_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - - SWIG_check_num_args("lldb::SBUnixSignals::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::Clear",1,"lldb::SBUnixSignals *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_Clear",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + + SWIG_check_num_args("lldb::SBUnixSignals::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::Clear",1,"lldb::SBUnixSignals *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_Clear",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::IsValid",1,"lldb::SBUnixSignals const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_IsValid",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::IsValid",1,"lldb::SBUnixSignals const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_IsValid",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + result = (bool)((lldb::SBUnixSignals const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBUnixSignals const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetSignalAsCString(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAsCString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",1,"lldb::SBUnixSignals const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",2,"int32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetSignalAsCString",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAsCString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",1,"lldb::SBUnixSignals const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",2,"int32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetSignalAsCString",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + result = (char *)((lldb::SBUnixSignals const *)arg1)->GetSignalAsCString(arg2); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - result = (char *)((lldb::SBUnixSignals const *)arg1)->GetSignalAsCString(arg2); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetSignalNumberFromName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - char *arg2 = (char *) 0 ; - int32_t result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetSignalNumberFromName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",1,"lldb::SBUnixSignals const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetSignalNumberFromName",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + char *arg2 = (char *) 0 ; + int32_t result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetSignalNumberFromName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",1,"lldb::SBUnixSignals const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetSignalNumberFromName",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalNumberFromName((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalNumberFromName((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetShouldSuppress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetShouldSuppress",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",1,"lldb::SBUnixSignals const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",2,"int32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetShouldSuppress",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",1,"lldb::SBUnixSignals const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",2,"int32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldSuppress(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldSuppress(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_SetShouldSuppress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::SetShouldSuppress",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",1,"lldb::SBUnixSignals *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",2,"int32_t"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_SetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::SetShouldSuppress",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",1,"lldb::SBUnixSignals *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",2,"int32_t"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_SetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)(arg1)->SetShouldSuppress(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)(arg1)->SetShouldSuppress(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetShouldStop(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetShouldStop",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",1,"lldb::SBUnixSignals const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",2,"int32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetShouldStop",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",1,"lldb::SBUnixSignals const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",2,"int32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldStop(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldStop(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_SetShouldStop(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::SetShouldStop",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",1,"lldb::SBUnixSignals *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",2,"int32_t"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_SetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::SetShouldStop",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",1,"lldb::SBUnixSignals *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",2,"int32_t"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_SetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)(arg1)->SetShouldStop(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)(arg1)->SetShouldStop(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetShouldNotify(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetShouldNotify",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",1,"lldb::SBUnixSignals const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",2,"int32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetShouldNotify",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",1,"lldb::SBUnixSignals const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",2,"int32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldNotify(arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldNotify(arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_SetShouldNotify(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBUnixSignals::SetShouldNotify",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",1,"lldb::SBUnixSignals *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",2,"int32_t"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_SetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBUnixSignals::SetShouldNotify",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",1,"lldb::SBUnixSignals *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",2,"int32_t"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_SetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)(arg1)->SetShouldNotify(arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)(arg1)->SetShouldNotify(arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetNumSignals(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetNumSignals",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetNumSignals",1,"lldb::SBUnixSignals const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetNumSignals",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetNumSignals",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetNumSignals",1,"lldb::SBUnixSignals const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetNumSignals",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetNumSignals(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetNumSignals(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBUnixSignals_GetSignalAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; - int32_t arg2 ; - int32_t result; - - SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",1,"lldb::SBUnixSignals const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",2,"int32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ - SWIG_fail_ptr("SBUnixSignals_GetSignalAtIndex",1,SWIGTYPE_p_lldb__SBUnixSignals); + { + int SWIG_arg = 0; + lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ; + int32_t arg2 ; + int32_t result; + + SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",1,"lldb::SBUnixSignals const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",2,"int32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){ + SWIG_fail_ptr("SBUnixSignals_GetSignalAtIndex",1,SWIGTYPE_p_lldb__SBUnixSignals); + } + + arg2 = (int32_t)lua_tointeger(L, 2); + result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalAtIndex(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int32_t)lua_tointeger(L, 2); - result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalAtIndex(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -67799,43 +67838,43 @@ static const char *swig_SBUnixSignals_base_names[] = {0}; static swig_lua_class _wrap_class_SBUnixSignals = { "SBUnixSignals", "SBUnixSignals", &SWIGTYPE_p_lldb__SBUnixSignals,_proxy__wrap_new_SBUnixSignals, swig_delete_SBUnixSignals, swig_SBUnixSignals_methods, swig_SBUnixSignals_attributes, &swig_SBUnixSignals_Sf_SwigStatic, swig_SBUnixSignals_meta, swig_SBUnixSignals_bases, swig_SBUnixSignals_base_names }; static int _wrap_new_SBValue__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::SBValue",0,0) - result = (lldb::SBValue *)new lldb::SBValue(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBValue *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::SBValue",0,0) + result = (lldb::SBValue *)new lldb::SBValue(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBValue__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = 0 ; - lldb::SBValue *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::SBValue",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValue::SBValue",1,"lldb::SBValue const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("new_SBValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = 0 ; + lldb::SBValue *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::SBValue",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValue::SBValue",1,"lldb::SBValue const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("new_SBValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::SBValue *)new lldb::SBValue((lldb::SBValue const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBValue *)new lldb::SBValue((lldb::SBValue const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -67850,7 +67889,7 @@ static int _wrap_new_SBValue(lua_State* L) { return _wrap_new_SBValue__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_NO_NULL)) { @@ -67873,475 +67912,475 @@ static int _wrap_new_SBValue(lua_State* L) { static int _wrap_SBValue_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsValid",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsValid",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsValid",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsValid",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - - SWIG_check_num_args("lldb::SBValue::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clear",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Clear",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + + SWIG_check_num_args("lldb::SBValue::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clear",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Clear",1,SWIGTYPE_p_lldb__SBValue); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBValue::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetError",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetError",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetError(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBValue::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetError",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetError",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetError(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::user_id_t result; - - SWIG_check_num_args("lldb::SBValue::GetID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetID",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetID",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::user_id_t result; + + SWIG_check_num_args("lldb::SBValue::GetID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetID",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetID",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::user_id_t)(arg1)->GetID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::user_id_t)(arg1)->GetID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetName",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetName",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetName",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetName",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetTypeName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetTypeName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeName",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTypeName",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetTypeName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeName",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTypeName",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetTypeName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetTypeName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetDisplayTypeName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetDisplayTypeName",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDisplayTypeName",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetDisplayTypeName",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDisplayTypeName",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetDisplayTypeName(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetDisplayTypeName(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetByteSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBValue::GetByteSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetByteSize",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetByteSize",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBValue::GetByteSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetByteSize",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetByteSize",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetByteSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetByteSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_IsInScope(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsInScope",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsInScope",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsInScope",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsInScope",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsInScope",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsInScope",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsInScope(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsInScope(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::Format result; - - SWIG_check_num_args("lldb::SBValue::GetFormat",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFormat",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetFormat",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::Format result; + + SWIG_check_num_args("lldb::SBValue::GetFormat",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFormat",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetFormat",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::Format)(arg1)->GetFormat(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::Format)(arg1)->GetFormat(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::Format arg2 ; - - SWIG_check_num_args("lldb::SBValue::SetFormat",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetFormat",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetFormat",2,"lldb::Format"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetFormat",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::Format arg2 ; + + SWIG_check_num_args("lldb::SBValue::SetFormat",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetFormat",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetFormat",2,"lldb::Format"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetFormat",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lldb::Format)lua_tointeger(L, 2); + (arg1)->SetFormat(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::Format)lua_tointeger(L, 2); - (arg1)->SetFormat(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetValue(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetValue(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsSigned__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBError *arg2 = 0 ; - int64_t arg3 ; - int64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",3,"int64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBError *arg2 = 0 ; + int64_t arg3 ; + int64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",3,"int64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (int64_t)lua_tointeger(L, 3); + result = (int64_t)(arg1)->GetValueAsSigned(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (int64_t)lua_tointeger(L, 3); - result = (int64_t)(arg1)->GetValueAsSigned(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsSigned__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBError *arg2 = 0 ; - int64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBError *arg2 = 0 ; + int64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError); + } + + result = (int64_t)(arg1)->GetValueAsSigned(*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int64_t)(arg1)->GetValueAsSigned(*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsUnsigned__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBError *arg2 = 0 ; - uint64_t arg3 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",3,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBError *arg2 = 0 ; + uint64_t arg3 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",3,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError); + } + + arg3 = (uint64_t)lua_tointeger(L, 3); + result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2,arg3); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (uint64_t)lua_tointeger(L, 3); - result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2,arg3); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsUnsigned__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBError *arg2 = 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBError *arg2 = 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError); + } + + result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsSigned__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - int64_t arg2 ; - int64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"int64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + int64_t arg2 ; + int64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"int64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (int64_t)lua_tointeger(L, 2); + result = (int64_t)(arg1)->GetValueAsSigned(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (int64_t)lua_tointeger(L, 2); - result = (int64_t)(arg1)->GetValueAsSigned(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsSigned__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - int64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + int64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (int64_t)(arg1)->GetValueAsSigned(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int64_t)(arg1)->GetValueAsSigned(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -68353,7 +68392,7 @@ static int _wrap_SBValue_GetValueAsSigned(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68367,7 +68406,7 @@ static int _wrap_SBValue_GetValueAsSigned(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68391,7 +68430,7 @@ static int _wrap_SBValue_GetValueAsSigned(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68410,7 +68449,7 @@ static int _wrap_SBValue_GetValueAsSigned(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68450,53 +68489,53 @@ static int _wrap_SBValue_GetValueAsSigned(lua_State* L) { static int _wrap_SBValue_GetValueAsUnsigned__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint64_t arg2 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"uint64_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint64_t arg2 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"uint64_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint64_t)lua_tointeger(L, 2); + result = (uint64_t)(arg1)->GetValueAsUnsigned(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint64_t)lua_tointeger(L, 2); - result = (uint64_t)(arg1)->GetValueAsUnsigned(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueAsUnsigned__SWIG_3(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint64_t result; - - SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint64_t result; + + SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (uint64_t)(arg1)->GetValueAsUnsigned(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint64_t)(arg1)->GetValueAsUnsigned(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -68508,7 +68547,7 @@ static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68522,7 +68561,7 @@ static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68546,7 +68585,7 @@ static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68565,7 +68604,7 @@ static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68605,112 +68644,112 @@ static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) { static int _wrap_SBValue_GetValueType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::ValueType result; - - SWIG_check_num_args("lldb::SBValue::GetValueType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueType",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueType",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::ValueType result; + + SWIG_check_num_args("lldb::SBValue::GetValueType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueType",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueType",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::ValueType)(arg1)->GetValueType(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::ValueType)(arg1)->GetValueType(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetValueDidChange(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::GetValueDidChange",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueDidChange",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueDidChange",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::GetValueDidChange",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueDidChange",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueDidChange",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->GetValueDidChange(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetValueDidChange(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetSummary__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetSummary",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetSummary",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetSummary(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetSummary(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetSummary__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::SBTypeSummaryOptions *arg3 = 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetSummary",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetSummary",2,"lldb::SBStream &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::GetSummary",3,"lldb::SBTypeSummaryOptions &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBValue_GetSummary",2,SWIGTYPE_p_lldb__SBStream); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ - SWIG_fail_ptr("SBValue_GetSummary",3,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::SBTypeSummaryOptions *arg3 = 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetSummary",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetSummary",2,"lldb::SBStream &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::GetSummary",3,"lldb::SBTypeSummaryOptions &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBValue_GetSummary",2,SWIGTYPE_p_lldb__SBStream); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){ + SWIG_fail_ptr("SBValue_GetSummary",3,SWIGTYPE_p_lldb__SBTypeSummaryOptions); + } + + result = (char *)(arg1)->GetSummary(*arg2,*arg3); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetSummary(*arg2,*arg3); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -68722,7 +68761,7 @@ static int _wrap_SBValue_GetSummary(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68736,7 +68775,7 @@ static int _wrap_SBValue_GetSummary(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -68779,393 +68818,393 @@ static int _wrap_SBValue_GetSummary(lua_State* L) { static int _wrap_SBValue_GetObjectDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetObjectDescription",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetObjectDescription",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetObjectDescription",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetObjectDescription",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetObjectDescription",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetObjectDescription",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetObjectDescription(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetObjectDescription(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetDynamicValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::DynamicValueType arg2 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetDynamicValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",2,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetDynamicValue",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); - result = (arg1)->GetDynamicValue(arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::DynamicValueType arg2 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetDynamicValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",2,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetDynamicValue",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); + result = (arg1)->GetDynamicValue(arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetStaticValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetStaticValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetStaticValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetStaticValue",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetStaticValue(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetStaticValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetStaticValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetStaticValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetStaticValue(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetNonSyntheticValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetNonSyntheticValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNonSyntheticValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetNonSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetNonSyntheticValue(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetNonSyntheticValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNonSyntheticValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetNonSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetNonSyntheticValue(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetPreferDynamicValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::DynamicValueType result; - - SWIG_check_num_args("lldb::SBValue::GetPreferDynamicValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferDynamicValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::DynamicValueType result; + + SWIG_check_num_args("lldb::SBValue::GetPreferDynamicValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferDynamicValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::DynamicValueType)(arg1)->GetPreferDynamicValue(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::DynamicValueType)(arg1)->GetPreferDynamicValue(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetPreferDynamicValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::DynamicValueType arg2 ; - - SWIG_check_num_args("lldb::SBValue::SetPreferDynamicValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",2,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::DynamicValueType arg2 ; + + SWIG_check_num_args("lldb::SBValue::SetPreferDynamicValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",2,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); + (arg1)->SetPreferDynamicValue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); - (arg1)->SetPreferDynamicValue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetPreferSyntheticValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::GetPreferSyntheticValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferSyntheticValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::GetPreferSyntheticValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferSyntheticValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->GetPreferSyntheticValue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetPreferSyntheticValue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetPreferSyntheticValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBValue::SetPreferSyntheticValue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",1,"lldb::SBValue *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBValue::SetPreferSyntheticValue",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",1,"lldb::SBValue *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetPreferSyntheticValue(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetPreferSyntheticValue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_IsDynamic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsDynamic",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsDynamic",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsDynamic",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsDynamic",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsDynamic",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsDynamic",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsDynamic(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsDynamic(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_IsSynthetic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsSynthetic",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSynthetic",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsSynthetic",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsSynthetic",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSynthetic",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsSynthetic",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsSynthetic(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsSynthetic(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_IsSyntheticChildrenGenerated(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsSyntheticChildrenGenerated",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSyntheticChildrenGenerated",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsSyntheticChildrenGenerated",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSyntheticChildrenGenerated",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsSyntheticChildrenGenerated(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsSyntheticChildrenGenerated(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetSyntheticChildrenGenerated(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBValue::SetSyntheticChildrenGenerated",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",1,"lldb::SBValue *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBValue::SetSyntheticChildrenGenerated",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",1,"lldb::SBValue *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetSyntheticChildrenGenerated(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetSyntheticChildrenGenerated(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetLocation(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetLocation",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLocation",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetLocation",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetLocation",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLocation",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetLocation",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (char *)(arg1)->GetLocation(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetLocation(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetValueFromCString__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::SetValueFromCString",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::SetValueFromCString",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (bool)(arg1)->SetValueFromCString((char const *)arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (bool)(arg1)->SetValueFromCString((char const *)arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetValueFromCString__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBError *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::SetValueFromCString",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_SetValueFromCString",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::SetValueFromCString",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_SetValueFromCString",3,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->SetValueFromCString((char const *)arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SetValueFromCString((char const *)arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -69177,7 +69216,7 @@ static int _wrap_SBValue_SetValueFromCString(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69196,7 +69235,7 @@ static int _wrap_SBValue_SetValueFromCString(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69234,176 +69273,176 @@ static int _wrap_SBValue_SetValueFromCString(lua_State* L) { static int _wrap_SBValue_GetTypeFormat(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBTypeFormat result; - - SWIG_check_num_args("lldb::SBValue::GetTypeFormat",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFormat",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTypeFormat",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetTypeFormat(); { - lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat((const lldb::SBTypeFormat &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBTypeFormat result; + + SWIG_check_num_args("lldb::SBValue::GetTypeFormat",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFormat",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTypeFormat",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetTypeFormat(); + { + lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetTypeSummary(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBTypeSummary result; - - SWIG_check_num_args("lldb::SBValue::GetTypeSummary",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSummary",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTypeSummary",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetTypeSummary(); { - lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary((const lldb::SBTypeSummary &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBTypeSummary result; + + SWIG_check_num_args("lldb::SBValue::GetTypeSummary",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSummary",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTypeSummary",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetTypeSummary(); + { + lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetTypeFilter(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBTypeFilter result; - - SWIG_check_num_args("lldb::SBValue::GetTypeFilter",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFilter",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTypeFilter",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetTypeFilter(); { - lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter((const lldb::SBTypeFilter &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBTypeFilter result; + + SWIG_check_num_args("lldb::SBValue::GetTypeFilter",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFilter",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTypeFilter",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetTypeFilter(); + { + lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetTypeSynthetic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBTypeSynthetic result; - - SWIG_check_num_args("lldb::SBValue::GetTypeSynthetic",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSynthetic",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTypeSynthetic",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetTypeSynthetic(); { - lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic((const lldb::SBTypeSynthetic &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBTypeSynthetic result; + + SWIG_check_num_args("lldb::SBValue::GetTypeSynthetic",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSynthetic",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTypeSynthetic",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetTypeSynthetic(); + { + lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetChildAtIndex__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t arg2 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetChildAtIndex(arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t arg2 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetChildAtIndex(arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetChildAtIndex__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t arg2 ; - lldb::DynamicValueType arg3 ; - bool arg4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",3,"lldb::DynamicValueType"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",4,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - arg4 = (lua_toboolean(L, 4)!=0); - result = (arg1)->GetChildAtIndex(arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t arg2 ; + lldb::DynamicValueType arg3 ; + bool arg4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",3,"lldb::DynamicValueType"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",4,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + arg4 = (lua_toboolean(L, 4)!=0); + result = (arg1)->GetChildAtIndex(arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -69415,7 +69454,7 @@ static int _wrap_SBValue_GetChildAtIndex(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69434,7 +69473,7 @@ static int _wrap_SBValue_GetChildAtIndex(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69472,153 +69511,153 @@ static int _wrap_SBValue_GetChildAtIndex(lua_State* L) { static int _wrap_SBValue_CreateChildAtOffset(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - lldb::SBType arg4 ; - lldb::SBType *argp4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::CreateChildAtOffset",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",3,"uint32_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",4,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_CreateChildAtOffset",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBValue_CreateChildAtOffset",4,SWIGTYPE_p_lldb__SBType); - } - arg4 = *argp4; - - result = (arg1)->CreateChildAtOffset((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t arg3 ; + lldb::SBType arg4 ; + lldb::SBType *argp4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::CreateChildAtOffset",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",3,"uint32_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",4,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_CreateChildAtOffset",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBValue_CreateChildAtOffset",4,SWIGTYPE_p_lldb__SBType); + } + arg4 = *argp4; + + result = (arg1)->CreateChildAtOffset((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Cast(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBType arg2 ; - lldb::SBType *argp2 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::Cast",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Cast",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::Cast",2,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Cast",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBValue_Cast",2,SWIGTYPE_p_lldb__SBType); - } - arg2 = *argp2; - - result = (arg1)->Cast(arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBType arg2 ; + lldb::SBType *argp2 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::Cast",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Cast",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::Cast",2,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Cast",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBValue_Cast",2,SWIGTYPE_p_lldb__SBType); + } + arg2 = *argp2; + + result = (arg1)->Cast(arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_CreateValueFromExpression__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_CreateValueFromExpression__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - lldb::SBExpressionOptions *arg4 = 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *"); - if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",4,"lldb::SBExpressionOptions &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (char *)lua_tostring(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromExpression",4,SWIGTYPE_p_lldb__SBExpressionOptions); - } - - result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3,*arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + lldb::SBExpressionOptions *arg4 = 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",4,"lldb::SBExpressionOptions &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromExpression",4,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3,*arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -69630,7 +69669,7 @@ static int _wrap_SBValue_CreateValueFromExpression(lua_State* L) { argc = lua_gettop(L); if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69654,7 +69693,7 @@ static int _wrap_SBValue_CreateValueFromExpression(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69697,209 +69736,209 @@ static int _wrap_SBValue_CreateValueFromExpression(lua_State* L) { static int _wrap_SBValue_CreateValueFromAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::addr_t arg3 ; - lldb::SBType arg4 ; - lldb::SBType *argp4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::CreateValueFromAddress",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",3,"lldb::addr_t"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",4,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::addr_t)lua_tointeger(L, 3); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType); - } - arg4 = *argp4; - - result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::addr_t arg3 ; + lldb::SBType arg4 ; + lldb::SBType *argp4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::CreateValueFromAddress",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",3,"lldb::addr_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",4,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::addr_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType); + } + arg4 = *argp4; + + result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_CreateValueFromData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBData arg3 ; - lldb::SBType arg4 ; - lldb::SBData *argp3 ; - lldb::SBType *argp4 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::CreateValueFromData",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",3,"lldb::SBData"); - if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",4,"lldb::SBType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromData",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData); - } - arg3 = *argp3; - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ - SWIG_fail_ptr("SBValue_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType); - } - arg4 = *argp4; - - result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBData arg3 ; + lldb::SBType arg4 ; + lldb::SBData *argp3 ; + lldb::SBType *argp4 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::CreateValueFromData",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",3,"lldb::SBData"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",4,"lldb::SBType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromData",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData); + } + arg3 = *argp3; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBValue_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType); + } + arg4 = *argp4; + + result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBType result; - - SWIG_check_num_args("lldb::SBValue::GetType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetType",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetType",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetType(); { - lldb::SBType * resultptr = new lldb::SBType((const lldb::SBType &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBValue::GetType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetType",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetType",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetType(); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetIndexOfChildWithName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBValue::GetIndexOfChildWithName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetIndexOfChildWithName",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBValue::GetIndexOfChildWithName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetIndexOfChildWithName",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (uint32_t)(arg1)->GetIndexOfChildWithName((char const *)arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - result = (uint32_t)(arg1)->GetIndexOfChildWithName((char const *)arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetChildMemberWithName__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetChildMemberWithName((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetChildMemberWithName((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetChildMemberWithName__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::DynamicValueType arg3 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",3,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); - result = (arg1)->GetChildMemberWithName((char const *)arg2,arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::DynamicValueType arg3 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",3,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3); + result = (arg1)->GetChildMemberWithName((char const *)arg2,arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -69911,7 +69950,7 @@ static int _wrap_SBValue_GetChildMemberWithName(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69930,7 +69969,7 @@ static int _wrap_SBValue_GetChildMemberWithName(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -69963,158 +70002,158 @@ static int _wrap_SBValue_GetChildMemberWithName(lua_State* L) { static int _wrap_SBValue_GetValueForExpressionPath(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::GetValueForExpressionPath",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetValueForExpressionPath",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->GetValueForExpressionPath((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetValueForExpressionPath",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetValueForExpressionPath",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->GetValueForExpressionPath((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetDeclaration(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBDeclaration result; - - SWIG_check_num_args("lldb::SBValue::GetDeclaration",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDeclaration",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetDeclaration",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetDeclaration(); { - lldb::SBDeclaration * resultptr = new lldb::SBDeclaration((const lldb::SBDeclaration &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBDeclaration result; + + SWIG_check_num_args("lldb::SBValue::GetDeclaration",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDeclaration",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetDeclaration",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetDeclaration(); + { + lldb::SBDeclaration * resultptr = new lldb::SBDeclaration(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_MightHaveChildren(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::MightHaveChildren",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::MightHaveChildren",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_MightHaveChildren",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::MightHaveChildren",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::MightHaveChildren",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_MightHaveChildren",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->MightHaveChildren(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->MightHaveChildren(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_IsRuntimeSupportValue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::IsRuntimeSupportValue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsRuntimeSupportValue",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_IsRuntimeSupportValue",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::IsRuntimeSupportValue",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsRuntimeSupportValue",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_IsRuntimeSupportValue",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->IsRuntimeSupportValue(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsRuntimeSupportValue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetNumChildren__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBValue::GetNumChildren",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBValue::GetNumChildren",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (uint32_t)(arg1)->GetNumChildren(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetNumChildren(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetNumChildren__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t arg2 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBValue::GetNumChildren",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t arg2 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBValue::GetNumChildren",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (uint32_t)(arg1)->GetNumChildren(arg2); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (uint32_t)(arg1)->GetNumChildren(arg2); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -70126,7 +70165,7 @@ static int _wrap_SBValue_GetNumChildren(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70140,7 +70179,7 @@ static int _wrap_SBValue_GetNumChildren(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70168,450 +70207,450 @@ static int _wrap_SBValue_GetNumChildren(lua_State* L) { static int _wrap_SBValue_GetOpaqueType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - void *result = 0 ; - - SWIG_check_num_args("lldb::SBValue::GetOpaqueType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetOpaqueType",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetOpaqueType",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + void *result = 0 ; + + SWIG_check_num_args("lldb::SBValue::GetOpaqueType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetOpaqueType",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetOpaqueType",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (void *)(arg1)->GetOpaqueType(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_void,0); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (void *)(arg1)->GetOpaqueType(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_void,0); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Dereference(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::Dereference",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Dereference",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Dereference",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->Dereference(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::Dereference",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Dereference",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Dereference",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->Dereference(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_AddressOf(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::AddressOf",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::AddressOf",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_AddressOf",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->AddressOf(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::AddressOf",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::AddressOf",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_AddressOf",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->AddressOf(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_TypeIsPointerType(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::TypeIsPointerType",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::TypeIsPointerType",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_TypeIsPointerType",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::TypeIsPointerType",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::TypeIsPointerType",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_TypeIsPointerType",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (bool)(arg1)->TypeIsPointerType(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->TypeIsPointerType(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetTarget(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBTarget result; - - SWIG_check_num_args("lldb::SBValue::GetTarget",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTarget",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetTarget",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetTarget(); { - lldb::SBTarget * resultptr = new lldb::SBTarget((const lldb::SBTarget &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBTarget result; + + SWIG_check_num_args("lldb::SBValue::GetTarget",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTarget",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetTarget",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetTarget(); + { + lldb::SBTarget * resultptr = new lldb::SBTarget(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetProcess(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBProcess result; - - SWIG_check_num_args("lldb::SBValue::GetProcess",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetProcess",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetProcess",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetProcess(); { - lldb::SBProcess * resultptr = new lldb::SBProcess((const lldb::SBProcess &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBValue::GetProcess",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetProcess",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetProcess",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetProcess(); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetThread(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBThread result; - - SWIG_check_num_args("lldb::SBValue::GetThread",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetThread",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetThread",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetThread(); { - lldb::SBThread * resultptr = new lldb::SBThread((const lldb::SBThread &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBThread result; + + SWIG_check_num_args("lldb::SBValue::GetThread",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetThread",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetThread",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetThread(); + { + lldb::SBThread * resultptr = new lldb::SBThread(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetFrame(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBFrame result; - - SWIG_check_num_args("lldb::SBValue::GetFrame",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFrame",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetFrame",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetFrame(); { - lldb::SBFrame * resultptr = new lldb::SBFrame((const lldb::SBFrame &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBFrame result; + + SWIG_check_num_args("lldb::SBValue::GetFrame",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFrame",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetFrame",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetFrame(); + { + lldb::SBFrame * resultptr = new lldb::SBFrame(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Watch(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool arg2 ; - bool arg3 ; - bool arg4 ; - lldb::SBError *arg5 = 0 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBValue::Watch",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Watch",1,"lldb::SBValue *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::Watch",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::Watch",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::Watch",4,"bool"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::Watch",5,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Watch",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_Watch",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->Watch(arg2,arg3,arg4,*arg5); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool arg2 ; + bool arg3 ; + bool arg4 ; + lldb::SBError *arg5 = 0 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBValue::Watch",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Watch",1,"lldb::SBValue *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::Watch",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::Watch",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::Watch",4,"bool"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::Watch",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Watch",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_Watch",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->Watch(arg2,arg3,arg4,*arg5); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_WatchPointee(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - bool arg2 ; - bool arg3 ; - bool arg4 ; - lldb::SBError *arg5 = 0 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBValue::WatchPointee",5,5) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::WatchPointee",1,"lldb::SBValue *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::WatchPointee",2,"bool"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::WatchPointee",3,"bool"); - if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::WatchPointee",4,"bool"); - if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::WatchPointee",5,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_WatchPointee",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (lua_toboolean(L, 2)!=0); - arg3 = (lua_toboolean(L, 3)!=0); - arg4 = (lua_toboolean(L, 4)!=0); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_WatchPointee",5,SWIGTYPE_p_lldb__SBError); - } - - result = (arg1)->WatchPointee(arg2,arg3,arg4,*arg5); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + bool arg2 ; + bool arg3 ; + bool arg4 ; + lldb::SBError *arg5 = 0 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBValue::WatchPointee",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::WatchPointee",1,"lldb::SBValue *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::WatchPointee",2,"bool"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::WatchPointee",3,"bool"); + if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::WatchPointee",4,"bool"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::WatchPointee",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_WatchPointee",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (lua_toboolean(L, 2)!=0); + arg3 = (lua_toboolean(L, 3)!=0); + arg4 = (lua_toboolean(L, 4)!=0); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_WatchPointee",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->WatchPointee(arg2,arg3,arg4,*arg5); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::GetDescription",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDescription",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetDescription",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetDescription",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBValue_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::GetDescription",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDescription",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetDescription",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetDescription",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBValue_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetDescription(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetDescription(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetExpressionPath__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::GetExpressionPath",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::GetExpressionPath",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream); + } + + result = (bool)(arg1)->GetExpressionPath(*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->GetExpressionPath(*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetPointeeData__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBValue::GetPointeeData",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",3,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - arg3 = (uint32_t)lua_tointeger(L, 3); - result = (arg1)->GetPointeeData(arg2,arg3); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t arg2 ; + uint32_t arg3 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBValue::GetPointeeData",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",3,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + arg3 = (uint32_t)lua_tointeger(L, 3); + result = (arg1)->GetPointeeData(arg2,arg3); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetPointeeData__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - uint32_t arg2 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBValue::GetPointeeData",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = (arg1)->GetPointeeData(arg2); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + uint32_t arg2 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBValue::GetPointeeData",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = (arg1)->GetPointeeData(arg2); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetPointeeData__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBValue::GetPointeeData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetPointeeData(); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBValue::GetPointeeData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetPointeeData(); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -70623,7 +70662,7 @@ static int _wrap_SBValue_GetPointeeData(lua_State* L) { argc = lua_gettop(L); if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70637,7 +70676,7 @@ static int _wrap_SBValue_GetPointeeData(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70656,7 +70695,7 @@ static int _wrap_SBValue_GetPointeeData(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70690,209 +70729,209 @@ static int _wrap_SBValue_GetPointeeData(lua_State* L) { static int _wrap_SBValue_GetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBData result; - - SWIG_check_num_args("lldb::SBValue::GetData",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetData",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetData",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetData(); { - lldb::SBData * resultptr = new lldb::SBData((const lldb::SBData &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBData result; + + SWIG_check_num_args("lldb::SBValue::GetData",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetData",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetData",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetData(); + { + lldb::SBData * resultptr = new lldb::SBData(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_SetData(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBData *arg2 = 0 ; - lldb::SBError *arg3 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::SetData",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetData",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::SetData",2,"lldb::SBData &"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetData",3,"lldb::SBError &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_SetData",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){ - SWIG_fail_ptr("SBValue_SetData",2,SWIGTYPE_p_lldb__SBData); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ - SWIG_fail_ptr("SBValue_SetData",3,SWIGTYPE_p_lldb__SBError); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBData *arg2 = 0 ; + lldb::SBError *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::SetData",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetData",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::SetData",2,"lldb::SBData &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetData",3,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_SetData",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){ + SWIG_fail_ptr("SBValue_SetData",2,SWIGTYPE_p_lldb__SBData); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBValue_SetData",3,SWIGTYPE_p_lldb__SBError); + } + + result = (bool)(arg1)->SetData(*arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->SetData(*arg2,*arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Clone(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::Clone",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clone",1,"lldb::SBValue *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::Clone",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Clone",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - result = (arg1)->Clone((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::Clone",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clone",1,"lldb::SBValue *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::Clone",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Clone",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->Clone((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetLoadAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBValue::GetLoadAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLoadAddress",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetLoadAddress",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBValue::GetLoadAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLoadAddress",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetLoadAddress",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (lldb::addr_t)(arg1)->GetLoadAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetLoadAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBAddress result; - - SWIG_check_num_args("lldb::SBValue::GetAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetAddress",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetAddress",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->GetAddress(); { - lldb::SBAddress * resultptr = new lldb::SBAddress((const lldb::SBAddress &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBAddress result; + + SWIG_check_num_args("lldb::SBValue::GetAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetAddress",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetAddress",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetAddress(); + { + lldb::SBAddress * resultptr = new lldb::SBAddress(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_Persist(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::Persist",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Persist",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_Persist",1,SWIGTYPE_p_lldb__SBValue); - } - - result = (arg1)->Persist(); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::Persist",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Persist",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_Persist",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->Persist(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_GetExpressionPath__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - lldb::SBStream *arg2 = 0 ; - bool arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBValue::GetExpressionPath",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &"); - if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",3,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBStream *arg2 = 0 ; + bool arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBValue::GetExpressionPath",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &"); + if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",3,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lua_toboolean(L, 3)!=0); + result = (bool)(arg1)->GetExpressionPath(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lua_toboolean(L, 3)!=0); - result = (bool)(arg1)->GetExpressionPath(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -70904,7 +70943,7 @@ static int _wrap_SBValue_GetExpressionPath(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70928,7 +70967,7 @@ static int _wrap_SBValue_GetExpressionPath(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -70966,109 +71005,109 @@ static int _wrap_SBValue_GetExpressionPath(lua_State* L) { static int _wrap_SBValue_EvaluateExpression__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::EvaluateExpression",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::EvaluateExpression",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_EvaluateExpression__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExpressionOptions *arg3 = 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::EvaluateExpression",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); - } - - result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExpressionOptions *arg3 = 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::EvaluateExpression",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValue_EvaluateExpression__SWIG_2(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBExpressionOptions *arg3 = 0 ; - char *arg4 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValue::EvaluateExpression",4,4) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); - if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); - if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",4,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); - } - - arg2 = (char *)lua_tostring(L, 2); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ - SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); - } - - arg4 = (char *)lua_tostring(L, 4); - result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3,(char const *)arg4); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBExpressionOptions *arg3 = 0 ; + char *arg4 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::EvaluateExpression",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",4,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue); + } + + arg2 = (char *)lua_tostring(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){ + SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions); + } + + arg4 = (char *)lua_tostring(L, 4); + result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3,(char const *)arg4); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71080,7 +71119,7 @@ static int _wrap_SBValue_EvaluateExpression(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -71099,7 +71138,7 @@ static int _wrap_SBValue_EvaluateExpression(lua_State* L) { } } if (argc == 3) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -71128,7 +71167,7 @@ static int _wrap_SBValue_EvaluateExpression(lua_State* L) { } } if (argc == 4) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) { @@ -71172,26 +71211,26 @@ static int _wrap_SBValue_EvaluateExpression(lua_State* L) { static int _wrap_SBValue___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBValue::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::__repr__",1,"lldb::SBValue *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValue___tostring",1,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBValue::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::__repr__",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue___tostring",1,SWIGTYPE_p_lldb__SBValue); + } + + result = lldb_SBValue___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBValue___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71314,43 +71353,43 @@ static const char *swig_SBValue_base_names[] = {0}; static swig_lua_class _wrap_class_SBValue = { "SBValue", "SBValue", &SWIGTYPE_p_lldb__SBValue,_proxy__wrap_new_SBValue, swig_delete_SBValue, swig_SBValue_methods, swig_SBValue_attributes, &swig_SBValue_Sf_SwigStatic, swig_SBValue_meta, swig_SBValue_bases, swig_SBValue_base_names }; static int _wrap_new_SBValueList__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *result = 0 ; - - SWIG_check_num_args("lldb::SBValueList::SBValueList",0,0) - result = (lldb::SBValueList *)new lldb::SBValueList(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBValueList *result = 0 ; + + SWIG_check_num_args("lldb::SBValueList::SBValueList",0,0) + result = (lldb::SBValueList *)new lldb::SBValueList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBValueList__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = 0 ; - lldb::SBValueList *result = 0 ; - - SWIG_check_num_args("lldb::SBValueList::SBValueList",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValueList::SBValueList",1,"lldb::SBValueList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("new_SBValueList",1,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = 0 ; + lldb::SBValueList *result = 0 ; + + SWIG_check_num_args("lldb::SBValueList::SBValueList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValueList::SBValueList",1,"lldb::SBValueList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("new_SBValueList",1,SWIGTYPE_p_lldb__SBValueList); + } + + result = (lldb::SBValueList *)new lldb::SBValueList((lldb::SBValueList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBValueList *)new lldb::SBValueList((lldb::SBValueList const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71365,7 +71404,7 @@ static int _wrap_new_SBValueList(lua_State* L) { return _wrap_new_SBValueList__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, SWIG_POINTER_NO_NULL)) { @@ -71388,109 +71427,109 @@ static int _wrap_new_SBValueList(lua_State* L) { static int _wrap_SBValueList_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBValueList::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::IsValid",1,"lldb::SBValueList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_IsValid",1,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBValueList::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::IsValid",1,"lldb::SBValueList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_IsValid",1,SWIGTYPE_p_lldb__SBValueList); + } + + result = (bool)((lldb::SBValueList const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBValueList const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_Clear(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - - SWIG_check_num_args("lldb::SBValueList::Clear",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Clear",1,"lldb::SBValueList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_Clear",1,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + + SWIG_check_num_args("lldb::SBValueList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Clear",1,"lldb::SBValueList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_Clear",1,SWIGTYPE_p_lldb__SBValueList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Clear(); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_Append__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - lldb::SBValue *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBValueList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValue const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValue,0))){ - SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValue); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + lldb::SBValue *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBValueList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValue const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValue); + } + + (arg1)->Append((lldb::SBValue const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBValue const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_Append__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - lldb::SBValueList *arg2 = 0 ; - - SWIG_check_num_args("lldb::SBValueList::Append",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValueList const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + lldb::SBValueList *arg2 = 0 ; + + SWIG_check_num_args("lldb::SBValueList::Append",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValueList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValueList); + } + + (arg1)->Append((lldb::SBValueList const &)*arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - (arg1)->Append((lldb::SBValueList const &)*arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71502,7 +71541,7 @@ static int _wrap_SBValueList_Append(lua_State* L) { argc = lua_gettop(L); if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, 0)) { @@ -71526,7 +71565,7 @@ static int _wrap_SBValueList_Append(lua_State* L) { } } if (argc == 2) { - int _v; + int _v = 0; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, 0)) { @@ -71559,167 +71598,167 @@ static int _wrap_SBValueList_Append(lua_State* L) { static int _wrap_SBValueList_GetSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBValueList::GetSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetSize",1,"lldb::SBValueList const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_GetSize",1,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBValueList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetSize",1,"lldb::SBValueList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_GetSize",1,SWIGTYPE_p_lldb__SBValueList); + } + + result = (uint32_t)((lldb::SBValueList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)((lldb::SBValueList const *)arg1)->GetSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_GetValueAtIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - uint32_t arg2 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValueList::GetValueAtIndex",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",1,"lldb::SBValueList const *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBValueList); - } - - arg2 = (uint32_t)lua_tointeger(L, 2); - result = ((lldb::SBValueList const *)arg1)->GetValueAtIndex(arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + uint32_t arg2 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValueList::GetValueAtIndex",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",1,"lldb::SBValueList const *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBValueList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + result = ((lldb::SBValueList const *)arg1)->GetValueAtIndex(arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_FindValueObjectByUID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - lldb::user_id_t arg2 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValueList::FindValueObjectByUID",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",1,"lldb::SBValueList *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",2,"lldb::user_id_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_FindValueObjectByUID",1,SWIGTYPE_p_lldb__SBValueList); - } - - arg2 = (lldb::user_id_t)lua_tointeger(L, 2); - result = (arg1)->FindValueObjectByUID(arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + lldb::user_id_t arg2 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValueList::FindValueObjectByUID",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",1,"lldb::SBValueList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",2,"lldb::user_id_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_FindValueObjectByUID",1,SWIGTYPE_p_lldb__SBValueList); + } + + arg2 = (lldb::user_id_t)lua_tointeger(L, 2); + result = (arg1)->FindValueObjectByUID(arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_GetFirstValueByName(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - char *arg2 = (char *) 0 ; - lldb::SBValue result; - - SWIG_check_num_args("lldb::SBValueList::GetFirstValueByName",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",1,"lldb::SBValueList const *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_GetFirstValueByName",1,SWIGTYPE_p_lldb__SBValueList); - } - - arg2 = (char *)lua_tostring(L, 2); - result = ((lldb::SBValueList const *)arg1)->GetFirstValueByName((char const *)arg2); { - lldb::SBValue * resultptr = new lldb::SBValue((const lldb::SBValue &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValueList::GetFirstValueByName",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",1,"lldb::SBValueList const *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_GetFirstValueByName",1,SWIGTYPE_p_lldb__SBValueList); + } + + arg2 = (char *)lua_tostring(L, 2); + result = ((lldb::SBValueList const *)arg1)->GetFirstValueByName((char const *)arg2); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList_GetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBValueList::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetError",1,"lldb::SBValueList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList_GetError",1,SWIGTYPE_p_lldb__SBValueList); - } - - result = (arg1)->GetError(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBValueList::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetError",1,"lldb::SBValueList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList_GetError",1,SWIGTYPE_p_lldb__SBValueList); + } + + result = (arg1)->GetError(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBValueList___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBValueList::__str__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::__str__",1,"lldb::SBValueList *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ - SWIG_fail_ptr("SBValueList___tostring",1,SWIGTYPE_p_lldb__SBValueList); + { + int SWIG_arg = 0; + lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBValueList::__str__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::__str__",1,"lldb::SBValueList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){ + SWIG_fail_ptr("SBValueList___tostring",1,SWIGTYPE_p_lldb__SBValueList); + } + + result = lldb_SBValueList___str__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBValueList___str__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71781,43 +71820,43 @@ static const char *swig_SBValueList_base_names[] = {0}; static swig_lua_class _wrap_class_SBValueList = { "SBValueList", "SBValueList", &SWIGTYPE_p_lldb__SBValueList,_proxy__wrap_new_SBValueList, swig_delete_SBValueList, swig_SBValueList_methods, swig_SBValueList_attributes, &swig_SBValueList_Sf_SwigStatic, swig_SBValueList_meta, swig_SBValueList_bases, swig_SBValueList_base_names }; static int _wrap_new_SBVariablesOptions__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",0,0) - result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",0,0) + result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBVariablesOptions__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = 0 ; - lldb::SBVariablesOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SBVariablesOptions",1,"lldb::SBVariablesOptions const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("new_SBVariablesOptions",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = 0 ; + lldb::SBVariablesOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SBVariablesOptions",1,"lldb::SBVariablesOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("new_SBVariablesOptions",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions((lldb::SBVariablesOptions const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions((lldb::SBVariablesOptions const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -71832,7 +71871,7 @@ static int _wrap_new_SBVariablesOptions(lua_State* L) { return _wrap_new_SBVariablesOptions__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBVariablesOptions, SWIG_POINTER_NO_NULL)) { @@ -71855,383 +71894,383 @@ static int _wrap_new_SBVariablesOptions(lua_State* L) { static int _wrap_SBVariablesOptions_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::IsValid",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_IsValid",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::IsValid",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_IsValid",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetIncludeArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeArguments",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeArguments",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeArguments",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeArguments",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeArguments(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeArguments(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetIncludeArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeArguments",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeArguments",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIncludeArguments(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIncludeArguments(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetIncludeRecognizedArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - lldb::SBTarget *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,"lldb::SBTarget const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",2,SWIGTYPE_p_lldb__SBTarget); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + lldb::SBTarget *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,"lldb::SBTarget const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",2,SWIGTYPE_p_lldb__SBTarget); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRecognizedArguments((lldb::SBTarget const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRecognizedArguments((lldb::SBTarget const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetIncludeRecognizedArguments(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIncludeRecognizedArguments(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIncludeRecognizedArguments(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetIncludeLocals(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeLocals",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeLocals",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeLocals",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeLocals",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeLocals(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeLocals(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetIncludeLocals(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeLocals",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeLocals",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIncludeLocals(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIncludeLocals(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetIncludeStatics(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeStatics",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeStatics",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeStatics",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeStatics",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeStatics(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeStatics(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetIncludeStatics(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeStatics",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeStatics",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIncludeStatics(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIncludeStatics(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetInScopeOnly(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetInScopeOnly",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetInScopeOnly",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetInScopeOnly",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetInScopeOnly",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetInScopeOnly(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetInScopeOnly(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetInScopeOnly(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetInScopeOnly",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetInScopeOnly",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetInScopeOnly(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetInScopeOnly(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetIncludeRuntimeSupportValues(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRuntimeSupportValues(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRuntimeSupportValues(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetIncludeRuntimeSupportValues(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetIncludeRuntimeSupportValues(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetIncludeRuntimeSupportValues(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_GetUseDynamic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - lldb::DynamicValueType result; - - SWIG_check_num_args("lldb::SBVariablesOptions::GetUseDynamic",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetUseDynamic",1,"lldb::SBVariablesOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_GetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + lldb::DynamicValueType result; + + SWIG_check_num_args("lldb::SBVariablesOptions::GetUseDynamic",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetUseDynamic",1,"lldb::SBVariablesOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_GetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + result = (lldb::DynamicValueType)((lldb::SBVariablesOptions const *)arg1)->GetUseDynamic(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::DynamicValueType)((lldb::SBVariablesOptions const *)arg1)->GetUseDynamic(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBVariablesOptions_SetUseDynamic(lua_State* L) { - int SWIG_arg = 0; - lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; - lldb::DynamicValueType arg2 ; - - SWIG_check_num_args("lldb::SBVariablesOptions::SetUseDynamic",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",1,"lldb::SBVariablesOptions *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",2,"lldb::DynamicValueType"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ - SWIG_fail_ptr("SBVariablesOptions_SetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions); + { + int SWIG_arg = 0; + lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ; + lldb::DynamicValueType arg2 ; + + SWIG_check_num_args("lldb::SBVariablesOptions::SetUseDynamic",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",1,"lldb::SBVariablesOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",2,"lldb::DynamicValueType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){ + SWIG_fail_ptr("SBVariablesOptions_SetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions); + } + + arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); + (arg1)->SetUseDynamic(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2); - (arg1)->SetUseDynamic(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -72298,43 +72337,43 @@ static const char *swig_SBVariablesOptions_base_names[] = {0}; static swig_lua_class _wrap_class_SBVariablesOptions = { "SBVariablesOptions", "SBVariablesOptions", &SWIGTYPE_p_lldb__SBVariablesOptions,_proxy__wrap_new_SBVariablesOptions, swig_delete_SBVariablesOptions, swig_SBVariablesOptions_methods, swig_SBVariablesOptions_attributes, &swig_SBVariablesOptions_Sf_SwigStatic, swig_SBVariablesOptions_meta, swig_SBVariablesOptions_bases, swig_SBVariablesOptions_base_names }; static int _wrap_new_SBWatchpoint__SWIG_0(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *result = 0 ; - - SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",0,0) - result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: + { + int SWIG_arg = 0; + lldb::SBWatchpoint *result = 0 ; + + SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",0,0) + result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_new_SBWatchpoint__SWIG_1(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = 0 ; - lldb::SBWatchpoint *result = 0 ; - - SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SBWatchpoint",1,"lldb::SBWatchpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("new_SBWatchpoint",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = 0 ; + lldb::SBWatchpoint *result = 0 ; + + SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SBWatchpoint",1,"lldb::SBWatchpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("new_SBWatchpoint",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint((lldb::SBWatchpoint const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint((lldb::SBWatchpoint const &)*arg1); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -72349,7 +72388,7 @@ static int _wrap_new_SBWatchpoint(lua_State* L) { return _wrap_new_SBWatchpoint__SWIG_0(L); } if (argc == 1) { - int _v; + int _v = 0; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBWatchpoint, SWIG_POINTER_NO_NULL)) { @@ -72372,487 +72411,487 @@ static int _wrap_new_SBWatchpoint(lua_State* L) { static int _wrap_SBWatchpoint_IsValid(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBWatchpoint::IsValid",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsValid",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_IsValid",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpoint::IsValid",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsValid",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_IsValid",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (bool)(arg1)->IsValid(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsValid(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint___eq(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - lldb::SBWatchpoint *arg2 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBWatchpoint::operator ==",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",1,"lldb::SBWatchpoint const *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",2,"lldb::SBWatchpoint const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint___eq",1,SWIGTYPE_p_lldb__SBWatchpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint___eq",2,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + lldb::SBWatchpoint *arg2 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpoint::operator ==",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",1,"lldb::SBWatchpoint const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",2,"lldb::SBWatchpoint const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint___eq",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint___eq",2,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (bool)((lldb::SBWatchpoint const *)arg1)->operator ==((lldb::SBWatchpoint const &)*arg2); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)((lldb::SBWatchpoint const *)arg1)->operator ==((lldb::SBWatchpoint const &)*arg2); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - lldb::SBError result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetError",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetError",1,SWIGTYPE_p_lldb__SBWatchpoint); - } - - result = (arg1)->GetError(); { - lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetError",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetError",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetError",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (arg1)->GetError(); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetID(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - lldb::watch_id_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetID",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetID",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetID",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + lldb::watch_id_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetID",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetID",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetID",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (lldb::watch_id_t)(arg1)->GetID(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::watch_id_t)(arg1)->GetID(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetHardwareIndex(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - int32_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetHardwareIndex",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHardwareIndex",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetHardwareIndex",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + int32_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetHardwareIndex",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHardwareIndex",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetHardwareIndex",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (int32_t)(arg1)->GetHardwareIndex(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (int32_t)(arg1)->GetHardwareIndex(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetWatchAddress(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - lldb::addr_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetWatchAddress",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchAddress",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetWatchAddress",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + lldb::addr_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetWatchAddress",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchAddress",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetWatchAddress",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (lldb::addr_t)(arg1)->GetWatchAddress(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::addr_t)(arg1)->GetWatchAddress(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetWatchSize(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - size_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetWatchSize",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchSize",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetWatchSize",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + size_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetWatchSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchSize",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetWatchSize",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (arg1)->GetWatchSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (arg1)->GetWatchSize(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_SetEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBWatchpoint::SetEnabled",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",1,"lldb::SBWatchpoint *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBWatchpoint::SetEnabled",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",1,"lldb::SBWatchpoint *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetEnabled(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetEnabled(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_IsEnabled(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBWatchpoint::IsEnabled",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsEnabled",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpoint::IsEnabled",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsEnabled",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (bool)(arg1)->IsEnabled(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)(arg1)->IsEnabled(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetHitCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetHitCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHitCount",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetHitCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHitCount",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (uint32_t)(arg1)->GetHitCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetHitCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - uint32_t result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetIgnoreCount",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetIgnoreCount",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetIgnoreCount",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetIgnoreCount",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (uint32_t)(arg1)->GetIgnoreCount(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (uint32_t)(arg1)->GetIgnoreCount(); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_SetIgnoreCount(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - uint32_t arg2 ; - - SWIG_check_num_args("lldb::SBWatchpoint::SetIgnoreCount",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",1,"lldb::SBWatchpoint *"); - if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",2,"uint32_t"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + uint32_t arg2 ; + + SWIG_check_num_args("lldb::SBWatchpoint::SetIgnoreCount",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",1,"lldb::SBWatchpoint *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",2,"uint32_t"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + (arg1)->SetIgnoreCount(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (uint32_t)lua_tointeger(L, 2); - (arg1)->SetIgnoreCount(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - char *result = 0 ; - - SWIG_check_num_args("lldb::SBWatchpoint::GetCondition",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetCondition",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("lldb::SBWatchpoint::GetCondition",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetCondition",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = (char *)(arg1)->GetCondition(); + lua_pushstring(L,(const char *)result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (char *)(arg1)->GetCondition(); - lua_pushstring(L,(const char *)result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_SetCondition(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - char *arg2 = (char *) 0 ; - - SWIG_check_num_args("lldb::SBWatchpoint::SetCondition",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",1,"lldb::SBWatchpoint *"); - if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",2,"char const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_SetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + char *arg2 = (char *) 0 ; + + SWIG_check_num_args("lldb::SBWatchpoint::SetCondition",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",1,"lldb::SBWatchpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_SetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + (arg1)->SetCondition((char const *)arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg2 = (char *)lua_tostring(L, 2); - (arg1)->SetCondition((char const *)arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetDescription(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - lldb::SBStream *arg2 = 0 ; - lldb::DescriptionLevel arg3 ; - bool result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetDescription",3,3) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",1,"lldb::SBWatchpoint *"); - if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",2,"lldb::SBStream &"); - if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",3,"lldb::DescriptionLevel"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint_GetDescription",1,SWIGTYPE_p_lldb__SBWatchpoint); - } - - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ - SWIG_fail_ptr("SBWatchpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + lldb::SBStream *arg2 = 0 ; + lldb::DescriptionLevel arg3 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetDescription",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",1,"lldb::SBWatchpoint *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",2,"lldb::SBStream &"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",3,"lldb::DescriptionLevel"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint_GetDescription",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBWatchpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream); + } + + arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); + result = (bool)(arg1)->GetDescription(*arg2,arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3); - result = (bool)(arg1)->GetDescription(*arg2,arg3); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_EventIsWatchpointEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - bool result; - - SWIG_check_num_args("lldb::SBWatchpoint::EventIsWatchpointEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::EventIsWatchpointEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBWatchpoint_EventIsWatchpointEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpoint::EventIsWatchpointEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::EventIsWatchpointEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBWatchpoint_EventIsWatchpointEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (bool)lldb::SBWatchpoint::EventIsWatchpointEvent((lldb::SBEvent const &)*arg1); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (bool)lldb::SBWatchpoint::EventIsWatchpointEvent((lldb::SBEvent const &)*arg1); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::WatchpointEventType result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBWatchpoint_GetWatchpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + { + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::WatchpointEventType result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBWatchpoint_GetWatchpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = (lldb::WatchpointEventType)lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent((lldb::SBEvent const &)*arg1); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = (lldb::WatchpointEventType)lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent((lldb::SBEvent const &)*arg1); - lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint_GetWatchpointFromEvent(lua_State* L) { - int SWIG_arg = 0; - lldb::SBEvent *arg1 = 0 ; - lldb::SBWatchpoint result; - - SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointFromEvent",1,1) - if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointFromEvent",1,"lldb::SBEvent const &"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ - SWIG_fail_ptr("SBWatchpoint_GetWatchpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent); - } - - result = lldb::SBWatchpoint::GetWatchpointFromEvent((lldb::SBEvent const &)*arg1); { - lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint((const lldb::SBWatchpoint &) result); - SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + int SWIG_arg = 0; + lldb::SBEvent *arg1 = 0 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointFromEvent",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointFromEvent",1,"lldb::SBEvent const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){ + SWIG_fail_ptr("SBWatchpoint_GetWatchpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent); + } + + result = lldb::SBWatchpoint::GetWatchpointFromEvent((lldb::SBEvent const &)*arg1); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; } - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } static int _wrap_SBWatchpoint___tostring(lua_State* L) { - int SWIG_arg = 0; - lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; - std::string result; - - SWIG_check_num_args("lldb::SBWatchpoint::__repr__",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::__repr__",1,"lldb::SBWatchpoint *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ - SWIG_fail_ptr("SBWatchpoint___tostring",1,SWIGTYPE_p_lldb__SBWatchpoint); + { + int SWIG_arg = 0; + lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBWatchpoint::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::__repr__",1,"lldb::SBWatchpoint *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){ + SWIG_fail_ptr("SBWatchpoint___tostring",1,SWIGTYPE_p_lldb__SBWatchpoint); + } + + result = lldb_SBWatchpoint___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; } - - result = lldb_SBWatchpoint___repr__(arg1); - lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: lua_error(L); - return SWIG_arg; + return 0; } @@ -73893,11 +73932,11 @@ static swig_lua_namespace swig_SwigModule = { static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_q_const__char_p_void__void = {"_p_f_p_q_const__char_p_void__void", "void (*)(char const *,void *)|lldb::LogOutputCallback", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_p_q_const__char_p_void__void = {"_p_f_p_q_const__char_p_void__void", "lldb::LogOutputCallback|void (*)(char const *,void *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_void__p_void = {"_p_f_p_void__p_void", "lldb::thread_func_t|void *(*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__void_size_t__void = {"_p_f_p_void_p_q_const__void_size_t__void", "void (*)(void *,void const *,size_t)|lldb::SBCommunication::ReadThreadBytesReceived", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|lldb::file_t *|int_least32_t *|int_fast32_t *|int32_t *|lldb::pipe_t *|lldb::watch_id_t *|lldb::socket_t *|lldb::break_id_t *|int_fast16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_lldb__ConnectionStatus = {"_p_lldb__ConnectionStatus", "enum lldb::ConnectionStatus *|lldb::ConnectionStatus *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_p_void_p_q_const__void_size_t__void = {"_p_f_p_void_p_q_const__void_size_t__void", "lldb::SBCommunication::ReadThreadBytesReceived|void (*)(void *,void const *,size_t)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|lldb::break_id_t *|lldb::file_t *|lldb::pipe_t *|lldb::socket_t *|lldb::watch_id_t *|int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_lldb__ConnectionStatus = {"_p_lldb__ConnectionStatus", "lldb::ConnectionStatus *|enum lldb::ConnectionStatus *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBAddress = {"_p_lldb__SBAddress", "lldb::SBAddress *", 0, 0, (void*)&_wrap_class_SBAddress, 0}; static swig_type_info _swigt__p_lldb__SBAttachInfo = {"_p_lldb__SBAttachInfo", "lldb::SBAttachInfo *", 0, 0, (void*)&_wrap_class_SBAttachInfo, 0}; static swig_type_info _swigt__p_lldb__SBBlock = {"_p_lldb__SBBlock", "lldb::SBBlock *", 0, 0, (void*)&_wrap_class_SBBlock, 0}; @@ -73977,155 +74016,155 @@ static swig_type_info _swigt__p_lldb__SBValueList = {"_p_lldb__SBValueList", "ll static swig_type_info _swigt__p_lldb__SBVariablesOptions = {"_p_lldb__SBVariablesOptions", "lldb::SBVariablesOptions *", 0, 0, (void*)&_wrap_class_SBVariablesOptions, 0}; static swig_type_info _swigt__p_lldb__SBWatchpoint = {"_p_lldb__SBWatchpoint", "lldb::SBWatchpoint *", 0, 0, (void*)&_wrap_class_SBWatchpoint, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_void = {"_p_p_void", "lldb::thread_result_t *|void **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_pthread_rwlock_t = {"_p_pthread_rwlock_t", "pthread_rwlock_t *|lldb::rwlock_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_pthread_t = {"_p_pthread_t", "pthread_t *|lldb::thread_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pthread_rwlock_t = {"_p_pthread_rwlock_t", "lldb::rwlock_t *|pthread_rwlock_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pthread_t = {"_p_pthread_t", "lldb::thread_t *|pthread_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ABI_t = {"_p_std__shared_ptrT_lldb_private__ABI_t", "std::shared_ptr< lldb_private::ABI > *|lldb::ABISP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ABI_t = {"_p_std__shared_ptrT_lldb_private__ABI_t", "lldb::ABISP *|std::shared_ptr< lldb_private::ABI > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Baton_t = {"_p_std__shared_ptrT_lldb_private__Baton_t", "lldb::BatonSP *|std::shared_ptr< lldb_private::Baton > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Block_t = {"_p_std__shared_ptrT_lldb_private__Block_t", "lldb::BlockSP *|std::shared_ptr< lldb_private::Block > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointLocation_t = {"_p_std__shared_ptrT_lldb_private__BreakpointLocation_t", "lldb::BreakpointLocationSP *|std::shared_ptr< lldb_private::BreakpointLocation > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t = {"_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t", "std::shared_ptr< lldb_private::BreakpointPrecondition > *|lldb::BreakpointPreconditionSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointResolver_t = {"_p_std__shared_ptrT_lldb_private__BreakpointResolver_t", "std::shared_ptr< lldb_private::BreakpointResolver > *|lldb::BreakpointResolverSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointSite_t = {"_p_std__shared_ptrT_lldb_private__BreakpointSite_t", "std::shared_ptr< lldb_private::BreakpointSite > *|lldb::BreakpointSiteSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t = {"_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t", "lldb::BreakpointPreconditionSP *|std::shared_ptr< lldb_private::BreakpointPrecondition > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointResolver_t = {"_p_std__shared_ptrT_lldb_private__BreakpointResolver_t", "lldb::BreakpointResolverSP *|std::shared_ptr< lldb_private::BreakpointResolver > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointSite_t = {"_p_std__shared_ptrT_lldb_private__BreakpointSite_t", "lldb::BreakpointSiteSP *|std::shared_ptr< lldb_private::BreakpointSite > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Breakpoint_t = {"_p_std__shared_ptrT_lldb_private__Breakpoint_t", "lldb::BreakpointSP *|std::shared_ptr< lldb_private::Breakpoint > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BroadcasterManager_t = {"_p_std__shared_ptrT_lldb_private__BroadcasterManager_t", "lldb::BroadcasterManagerSP *|std::shared_ptr< lldb_private::BroadcasterManager > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Broadcaster_t = {"_p_std__shared_ptrT_lldb_private__Broadcaster_t", "std::shared_ptr< lldb_private::Broadcaster > *|lldb::BroadcasterSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Broadcaster_t = {"_p_std__shared_ptrT_lldb_private__Broadcaster_t", "lldb::BroadcasterSP *|std::shared_ptr< lldb_private::Broadcaster > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__CommandObject_t = {"_p_std__shared_ptrT_lldb_private__CommandObject_t", "lldb::CommandObjectSP *|std::shared_ptr< lldb_private::CommandObject > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__CompileUnit_t = {"_p_std__shared_ptrT_lldb_private__CompileUnit_t", "lldb::CompUnitSP *|std::shared_ptr< lldb_private::CompileUnit > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Connection_t = {"_p_std__shared_ptrT_lldb_private__Connection_t", "lldb::ConnectionSP *|std::shared_ptr< lldb_private::Connection > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataBuffer_t = {"_p_std__shared_ptrT_lldb_private__DataBuffer_t", "std::shared_ptr< lldb_private::DataBuffer > *|lldb::DataBufferSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataExtractor_t = {"_p_std__shared_ptrT_lldb_private__DataExtractor_t", "std::shared_ptr< lldb_private::DataExtractor > *|lldb::DataExtractorSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Debugger_t = {"_p_std__shared_ptrT_lldb_private__Debugger_t", "std::shared_ptr< lldb_private::Debugger > *|lldb::DebuggerSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Disassembler_t = {"_p_std__shared_ptrT_lldb_private__Disassembler_t", "std::shared_ptr< lldb_private::Disassembler > *|lldb::DisassemblerSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataBuffer_t = {"_p_std__shared_ptrT_lldb_private__DataBuffer_t", "lldb::DataBufferSP *|std::shared_ptr< lldb_private::DataBuffer > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataExtractor_t = {"_p_std__shared_ptrT_lldb_private__DataExtractor_t", "lldb::DataExtractorSP *|std::shared_ptr< lldb_private::DataExtractor > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Debugger_t = {"_p_std__shared_ptrT_lldb_private__Debugger_t", "lldb::DebuggerSP *|std::shared_ptr< lldb_private::Debugger > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Disassembler_t = {"_p_std__shared_ptrT_lldb_private__Disassembler_t", "lldb::DisassemblerSP *|std::shared_ptr< lldb_private::Disassembler > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t = {"_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t", "lldb::EventDataStructuredDataSP *|std::shared_ptr< lldb_private::EventDataStructuredData > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__EventData_t = {"_p_std__shared_ptrT_lldb_private__EventData_t", "lldb::EventDataSP *|std::shared_ptr< lldb_private::EventData > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Event_t = {"_p_std__shared_ptrT_lldb_private__Event_t", "lldb::EventSP *|std::shared_ptr< lldb_private::Event > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t = {"_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t", "std::shared_ptr< lldb_private::ExecutionContextRef > *|lldb::ExecutionContextRefSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t = {"_p_std__shared_ptrT_lldb_private__ExpressionVariable_t", "std::shared_ptr< lldb_private::ExpressionVariable > *|lldb::ExpressionVariableSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t = {"_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t", "lldb::ExecutionContextRefSP *|std::shared_ptr< lldb_private::ExecutionContextRef > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t = {"_p_std__shared_ptrT_lldb_private__ExpressionVariable_t", "lldb::ExpressionVariableSP *|std::shared_ptr< lldb_private::ExpressionVariable > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__File_t = {"_p_std__shared_ptrT_lldb_private__File_t", "lldb::FileSP *|std::shared_ptr< lldb_private::File > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t = {"_p_std__shared_ptrT_lldb_private__FuncUnwinders_t", "std::shared_ptr< lldb_private::FuncUnwinders > *|lldb::FuncUnwindersSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t = {"_p_std__shared_ptrT_lldb_private__FuncUnwinders_t", "lldb::FuncUnwindersSP *|std::shared_ptr< lldb_private::FuncUnwinders > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Function_t = {"_p_std__shared_ptrT_lldb_private__Function_t", "lldb::FunctionSP *|std::shared_ptr< lldb_private::Function > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOHandler_t = {"_p_std__shared_ptrT_lldb_private__IOHandler_t", "std::shared_ptr< lldb_private::IOHandler > *|lldb::IOHandlerSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOHandler_t = {"_p_std__shared_ptrT_lldb_private__IOHandler_t", "lldb::IOHandlerSP *|std::shared_ptr< lldb_private::IOHandler > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOObject_t = {"_p_std__shared_ptrT_lldb_private__IOObject_t", "lldb::IOObjectSP *|std::shared_ptr< lldb_private::IOObject > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t = {"_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t", "lldb::IRExecutionUnitSP *|std::shared_ptr< lldb_private::IRExecutionUnit > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t = {"_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t", "lldb::InlineFunctionInfoSP *|std::shared_ptr< lldb_private::InlineFunctionInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Instruction_t = {"_p_std__shared_ptrT_lldb_private__Instruction_t", "lldb::InstructionSP *|std::shared_ptr< lldb_private::Instruction > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t = {"_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t", "lldb::InstrumentationRuntimeSP *|std::shared_ptr< lldb_private::InstrumentationRuntime > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__JITLoader_t = {"_p_std__shared_ptrT_lldb_private__JITLoader_t", "std::shared_ptr< lldb_private::JITLoader > *|lldb::JITLoaderSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t = {"_p_std__shared_ptrT_lldb_private__LanguageRuntime_t", "std::shared_ptr< lldb_private::LanguageRuntime > *|lldb::LanguageRuntimeSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Listener_t = {"_p_std__shared_ptrT_lldb_private__Listener_t", "std::shared_ptr< lldb_private::Listener > *|lldb::ListenerSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__JITLoader_t = {"_p_std__shared_ptrT_lldb_private__JITLoader_t", "lldb::JITLoaderSP *|std::shared_ptr< lldb_private::JITLoader > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t = {"_p_std__shared_ptrT_lldb_private__LanguageRuntime_t", "lldb::LanguageRuntimeSP *|std::shared_ptr< lldb_private::LanguageRuntime > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Listener_t = {"_p_std__shared_ptrT_lldb_private__Listener_t", "lldb::ListenerSP *|std::shared_ptr< lldb_private::Listener > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t = {"_p_std__shared_ptrT_lldb_private__MemoryHistory_t", "lldb::MemoryHistorySP *|std::shared_ptr< lldb_private::MemoryHistory > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t", "std::shared_ptr< lldb_private::MemoryRegionInfo > *|lldb::MemoryRegionInfoSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t", "lldb::MemoryRegionInfoSP *|std::shared_ptr< lldb_private::MemoryRegionInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Module_t = {"_p_std__shared_ptrT_lldb_private__Module_t", "lldb::ModuleSP *|std::shared_ptr< lldb_private::Module > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t = {"_p_std__shared_ptrT_lldb_private__ObjectContainer_t", "std::shared_ptr< lldb_private::ObjectContainer > *|lldb::ObjectContainerSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t = {"_p_std__shared_ptrT_lldb_private__ObjectContainer_t", "lldb::ObjectContainerSP *|std::shared_ptr< lldb_private::ObjectContainer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t = {"_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t", "lldb::ObjectFileJITDelegateSP *|std::shared_ptr< lldb_private::ObjectFileJITDelegate > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t = {"_p_std__shared_ptrT_lldb_private__ObjectFile_t", "lldb::ObjectFileSP *|std::shared_ptr< lldb_private::ObjectFile > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t = {"_p_std__shared_ptrT_lldb_private__OptionValueProperties_t", "lldb::OptionValuePropertiesSP *|std::shared_ptr< lldb_private::OptionValueProperties > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValue_t = {"_p_std__shared_ptrT_lldb_private__OptionValue_t", "std::shared_ptr< lldb_private::OptionValue > *|lldb::OptionValueSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Platform_t = {"_p_std__shared_ptrT_lldb_private__Platform_t", "std::shared_ptr< lldb_private::Platform > *|lldb::PlatformSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValue_t = {"_p_std__shared_ptrT_lldb_private__OptionValue_t", "lldb::OptionValueSP *|std::shared_ptr< lldb_private::OptionValue > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Platform_t = {"_p_std__shared_ptrT_lldb_private__Platform_t", "lldb::PlatformSP *|std::shared_ptr< lldb_private::Platform > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t = {"_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t", "lldb::ProcessAttachInfoSP *|std::shared_ptr< lldb_private::ProcessAttachInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t = {"_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t", "lldb::ProcessLaunchInfoSP *|std::shared_ptr< lldb_private::ProcessLaunchInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Process_t = {"_p_std__shared_ptrT_lldb_private__Process_t", "lldb::ProcessSP *|std::shared_ptr< lldb_private::Process > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__QueueItem_t = {"_p_std__shared_ptrT_lldb_private__QueueItem_t", "std::shared_ptr< lldb_private::QueueItem > *|lldb::QueueItemSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Queue_t = {"_p_std__shared_ptrT_lldb_private__Queue_t", "std::shared_ptr< lldb_private::Queue > *|lldb::QueueSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__QueueItem_t = {"_p_std__shared_ptrT_lldb_private__QueueItem_t", "lldb::QueueItemSP *|std::shared_ptr< lldb_private::QueueItem > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Queue_t = {"_p_std__shared_ptrT_lldb_private__Queue_t", "lldb::QueueSP *|std::shared_ptr< lldb_private::Queue > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__REPL_t = {"_p_std__shared_ptrT_lldb_private__REPL_t", "lldb::REPLSP *|std::shared_ptr< lldb_private::REPL > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t = {"_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t", "lldb::RecognizedStackFrameSP *|std::shared_ptr< lldb_private::RecognizedStackFrame > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t = {"_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t", "std::shared_ptr< lldb_private::RegisterCheckpoint > *|lldb::RegisterCheckpointSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t = {"_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t", "lldb::RegisterCheckpointSP *|std::shared_ptr< lldb_private::RegisterCheckpoint > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterContext_t = {"_p_std__shared_ptrT_lldb_private__RegisterContext_t", "lldb::RegisterContextSP *|std::shared_ptr< lldb_private::RegisterContext > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegularExpression_t = {"_p_std__shared_ptrT_lldb_private__RegularExpression_t", "lldb::RegularExpressionSP *|std::shared_ptr< lldb_private::RegularExpression > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t = {"_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t", "std::shared_ptr< lldb_private::ScriptInterpreter > *|lldb::ScriptInterpreterSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t = {"_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t", "lldb::ScriptInterpreterSP *|std::shared_ptr< lldb_private::ScriptInterpreter > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t = {"_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t", "lldb::ScriptSummaryFormatSP *|std::shared_ptr< lldb_private::ScriptSummaryFormat > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t", "std::shared_ptr< lldb_private::ScriptedSyntheticChildren > *|lldb::ScriptedSyntheticChildrenSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t", "lldb::ScriptedSyntheticChildrenSP *|std::shared_ptr< lldb_private::ScriptedSyntheticChildren > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t = {"_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t", "lldb::ScriptedThreadInterfaceSP *|std::shared_ptr< lldb_private::ScriptedThreadInterface > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t = {"_p_std__shared_ptrT_lldb_private__SearchFilter_t", "std::shared_ptr< lldb_private::SearchFilter > *|lldb::SearchFilterSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t = {"_p_std__shared_ptrT_lldb_private__SectionLoadList_t", "std::shared_ptr< lldb_private::SectionLoadList > *|lldb::SectionLoadListSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t = {"_p_std__shared_ptrT_lldb_private__SearchFilter_t", "lldb::SearchFilterSP *|std::shared_ptr< lldb_private::SearchFilter > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t = {"_p_std__shared_ptrT_lldb_private__SectionLoadList_t", "lldb::SectionLoadListSP *|std::shared_ptr< lldb_private::SectionLoadList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Section_t = {"_p_std__shared_ptrT_lldb_private__Section_t", "lldb::SectionSP *|std::shared_ptr< lldb_private::Section > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameList_t = {"_p_std__shared_ptrT_lldb_private__StackFrameList_t", "std::shared_ptr< lldb_private::StackFrameList > *|lldb::StackFrameListSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t = {"_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t", "std::shared_ptr< lldb_private::StackFrameRecognizer > *|lldb::StackFrameRecognizerSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrame_t = {"_p_std__shared_ptrT_lldb_private__StackFrame_t", "std::shared_ptr< lldb_private::StackFrame > *|lldb::StackFrameSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameList_t = {"_p_std__shared_ptrT_lldb_private__StackFrameList_t", "lldb::StackFrameListSP *|std::shared_ptr< lldb_private::StackFrameList > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t = {"_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t", "lldb::StackFrameRecognizerSP *|std::shared_ptr< lldb_private::StackFrameRecognizer > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrame_t = {"_p_std__shared_ptrT_lldb_private__StackFrame_t", "lldb::StackFrameSP *|std::shared_ptr< lldb_private::StackFrame > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StopInfo_t = {"_p_std__shared_ptrT_lldb_private__StopInfo_t", "lldb::StopInfoSP *|std::shared_ptr< lldb_private::StopInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StreamFile_t = {"_p_std__shared_ptrT_lldb_private__StreamFile_t", "lldb::StreamFileSP *|std::shared_ptr< lldb_private::StreamFile > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Stream_t = {"_p_std__shared_ptrT_lldb_private__Stream_t", "std::shared_ptr< lldb_private::Stream > *|lldb::StreamSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Stream_t = {"_p_std__shared_ptrT_lldb_private__Stream_t", "lldb::StreamSP *|std::shared_ptr< lldb_private::Stream > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t = {"_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t", "lldb::StringTypeSummaryImplSP *|std::shared_ptr< lldb_private::StringSummaryFormat > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t = {"_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t", "lldb::StructuredDataPluginSP *|std::shared_ptr< lldb_private::StructuredDataPlugin > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t = {"_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t", "lldb::SymbolContextSpecifierSP *|std::shared_ptr< lldb_private::SymbolContextSpecifier > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SymbolFileType_t = {"_p_std__shared_ptrT_lldb_private__SymbolFileType_t", "lldb::SymbolFileTypeSP *|std::shared_ptr< lldb_private::SymbolFileType > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t = {"_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t", "lldb::SyntheticChildrenFrontEndSP *|std::shared_ptr< lldb_private::SyntheticChildrenFrontEnd > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__SyntheticChildren_t", "std::shared_ptr< lldb_private::SyntheticChildren > *|lldb::SyntheticChildrenSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Target_t = {"_p_std__shared_ptrT_lldb_private__Target_t", "std::shared_ptr< lldb_private::Target > *|lldb::TargetSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadCollection_t = {"_p_std__shared_ptrT_lldb_private__ThreadCollection_t", "std::shared_ptr< lldb_private::ThreadCollection > *|lldb::ThreadCollectionSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t = {"_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t", "std::shared_ptr< lldb_private::ThreadPlanTracer > *|lldb::ThreadPlanTracerSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__SyntheticChildren_t", "lldb::SyntheticChildrenSP *|std::shared_ptr< lldb_private::SyntheticChildren > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Target_t = {"_p_std__shared_ptrT_lldb_private__Target_t", "lldb::TargetSP *|std::shared_ptr< lldb_private::Target > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadCollection_t = {"_p_std__shared_ptrT_lldb_private__ThreadCollection_t", "lldb::ThreadCollectionSP *|std::shared_ptr< lldb_private::ThreadCollection > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t = {"_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t", "lldb::ThreadPlanTracerSP *|std::shared_ptr< lldb_private::ThreadPlanTracer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPlan_t = {"_p_std__shared_ptrT_lldb_private__ThreadPlan_t", "lldb::ThreadPlanSP *|std::shared_ptr< lldb_private::ThreadPlan > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t = {"_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t", "std::shared_ptr< lldb_private::ThreadPostMortemTrace > *|lldb::ThreadPostMortemTraceSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Thread_t = {"_p_std__shared_ptrT_lldb_private__Thread_t", "std::shared_ptr< lldb_private::Thread > *|lldb::ThreadSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TraceCursor_t = {"_p_std__shared_ptrT_lldb_private__TraceCursor_t", "std::shared_ptr< lldb_private::TraceCursor > *|lldb::TraceCursorSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Trace_t = {"_p_std__shared_ptrT_lldb_private__Trace_t", "std::shared_ptr< lldb_private::Trace > *|lldb::TraceSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t", "std::shared_ptr< lldb_private::TypeCategoryImpl > *|lldb::TypeCategoryImplSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t = {"_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t", "lldb::ThreadPostMortemTraceSP *|std::shared_ptr< lldb_private::ThreadPostMortemTrace > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Thread_t = {"_p_std__shared_ptrT_lldb_private__Thread_t", "lldb::ThreadSP *|std::shared_ptr< lldb_private::Thread > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TraceCursor_t = {"_p_std__shared_ptrT_lldb_private__TraceCursor_t", "lldb::TraceCursorSP *|std::shared_ptr< lldb_private::TraceCursor > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Trace_t = {"_p_std__shared_ptrT_lldb_private__Trace_t", "lldb::TraceSP *|std::shared_ptr< lldb_private::Trace > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t", "lldb::TypeCategoryImplSP *|std::shared_ptr< lldb_private::TypeCategoryImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t", "lldb::TypeEnumMemberImplSP *|std::shared_ptr< lldb_private::TypeEnumMemberImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t", "lldb::TypeFilterImplSP *|std::shared_ptr< lldb_private::TypeFilterImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t", "lldb::TypeFormatImplSP *|std::shared_ptr< lldb_private::TypeFormatImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeImpl_t", "lldb::TypeImplSP *|std::shared_ptr< lldb_private::TypeImpl > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t", "std::shared_ptr< lldb_private::TypeMemberFunctionImpl > *|lldb::TypeMemberFunctionImplSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t", "std::shared_ptr< lldb_private::TypeNameSpecifierImpl > *|lldb::TypeNameSpecifierImplSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t", "lldb::TypeMemberFunctionImplSP *|std::shared_ptr< lldb_private::TypeMemberFunctionImpl > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t", "lldb::TypeNameSpecifierImplSP *|std::shared_ptr< lldb_private::TypeNameSpecifierImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t", "lldb::TypeSummaryImplSP *|std::shared_ptr< lldb_private::TypeSummaryImpl > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t = {"_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t", "std::shared_ptr< lldb_private::TypeSummaryOptions > *|lldb::TypeSummaryOptionsSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystemClang_t = {"_p_std__shared_ptrT_lldb_private__TypeSystemClang_t", "std::shared_ptr< lldb_private::TypeSystemClang > *|lldb::TypeSystemClangSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystem_t = {"_p_std__shared_ptrT_lldb_private__TypeSystem_t", "std::shared_ptr< lldb_private::TypeSystem > *|lldb::TypeSystemSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t = {"_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t", "lldb::TypeSummaryOptionsSP *|std::shared_ptr< lldb_private::TypeSummaryOptions > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystemClang_t = {"_p_std__shared_ptrT_lldb_private__TypeSystemClang_t", "lldb::TypeSystemClangSP *|std::shared_ptr< lldb_private::TypeSystemClang > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystem_t = {"_p_std__shared_ptrT_lldb_private__TypeSystem_t", "lldb::TypeSystemSP *|std::shared_ptr< lldb_private::TypeSystem > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Type_t = {"_p_std__shared_ptrT_lldb_private__Type_t", "lldb::TypeSP *|std::shared_ptr< lldb_private::Type > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnixSignals_t = {"_p_std__shared_ptrT_lldb_private__UnixSignals_t", "lldb::UnixSignalsSP *|std::shared_ptr< lldb_private::UnixSignals > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnwindAssembly_t = {"_p_std__shared_ptrT_lldb_private__UnwindAssembly_t", "std::shared_ptr< lldb_private::UnwindAssembly > *|lldb::UnwindAssemblySP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnwindAssembly_t = {"_p_std__shared_ptrT_lldb_private__UnwindAssembly_t", "lldb::UnwindAssemblySP *|std::shared_ptr< lldb_private::UnwindAssembly > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnwindPlan_t = {"_p_std__shared_ptrT_lldb_private__UnwindPlan_t", "lldb::UnwindPlanSP *|std::shared_ptr< lldb_private::UnwindPlan > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UserExpression_t = {"_p_std__shared_ptrT_lldb_private__UserExpression_t", "lldb::UserExpressionSP *|std::shared_ptr< lldb_private::UserExpression > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObjectList_t = {"_p_std__shared_ptrT_lldb_private__ValueObjectList_t", "std::shared_ptr< lldb_private::ValueObjectList > *|lldb::ValueObjectListSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObjectList_t = {"_p_std__shared_ptrT_lldb_private__ValueObjectList_t", "lldb::ValueObjectListSP *|std::shared_ptr< lldb_private::ValueObjectList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObject_t = {"_p_std__shared_ptrT_lldb_private__ValueObject_t", "lldb::ValueObjectSP *|std::shared_ptr< lldb_private::ValueObject > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Value_t = {"_p_std__shared_ptrT_lldb_private__Value_t", "std::shared_ptr< lldb_private::Value > *|lldb::ValueSP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__VariableList_t = {"_p_std__shared_ptrT_lldb_private__VariableList_t", "std::shared_ptr< lldb_private::VariableList > *|lldb::VariableListSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Value_t = {"_p_std__shared_ptrT_lldb_private__Value_t", "lldb::ValueSP *|std::shared_ptr< lldb_private::Value > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__VariableList_t = {"_p_std__shared_ptrT_lldb_private__VariableList_t", "lldb::VariableListSP *|std::shared_ptr< lldb_private::VariableList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Variable_t = {"_p_std__shared_ptrT_lldb_private__Variable_t", "lldb::VariableSP *|std::shared_ptr< lldb_private::Variable > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t = {"_p_std__shared_ptrT_lldb_private__Watchpoint_t", "lldb::WatchpointSP *|std::shared_ptr< lldb_private::Watchpoint > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t = {"_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t", "std::shared_ptr< lldb_private::WritableDataBuffer > *|lldb::WritableDataBufferSP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t = {"_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t", "lldb::WritableDataBufferSP *|std::shared_ptr< lldb_private::WritableDataBuffer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)&_wrap_class_string, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t = {"_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t", "lldb::DynamicCheckerFunctionsUP *|std::unique_ptr< lldb_private::DynamicCheckerFunctions > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__DynamicLoader_t = {"_p_std__unique_ptrT_lldb_private__DynamicLoader_t", "lldb::DynamicLoaderUP *|std::unique_ptr< lldb_private::DynamicLoader > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__File_t = {"_p_std__unique_ptrT_lldb_private__File_t", "lldb::FileUP *|std::unique_ptr< lldb_private::File > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__JITLoaderList_t = {"_p_std__unique_ptrT_lldb_private__JITLoaderList_t", "lldb::JITLoaderListUP *|std::unique_ptr< lldb_private::JITLoaderList > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t", "std::unique_ptr< lldb_private::MemoryRegionInfo > *|lldb::MemoryRegionInfoUP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t", "lldb::MemoryRegionInfoUP *|std::unique_ptr< lldb_private::MemoryRegionInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__OperatingSystem_t = {"_p_std__unique_ptrT_lldb_private__OperatingSystem_t", "lldb::OperatingSystemUP *|std::unique_ptr< lldb_private::OperatingSystem > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t", "std::unique_ptr< lldb_private::ScriptedPlatformInterface > *|lldb::ScriptedPlatformInterfaceUP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t", "std::unique_ptr< lldb_private::ScriptedProcessInterface > *|lldb::ScriptedProcessInterfaceUP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t", "lldb::ScriptedPlatformInterfaceUP *|std::unique_ptr< lldb_private::ScriptedPlatformInterface > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t", "lldb::ScriptedProcessInterfaceUP *|std::unique_ptr< lldb_private::ScriptedProcessInterface > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SectionList_t = {"_p_std__unique_ptrT_lldb_private__SectionList_t", "lldb::SectionListUP *|std::unique_ptr< lldb_private::SectionList > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SourceManager_t = {"_p_std__unique_ptrT_lldb_private__SourceManager_t", "std::unique_ptr< lldb_private::SourceManager > *|lldb::SourceManagerUP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t = {"_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t", "std::unique_ptr< lldb_private::StackFrameRecognizerManager > *|lldb::StackFrameRecognizerManagerUP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t = {"_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t", "std::unique_ptr< lldb_private::StructuredDataImpl > *|lldb::StructuredDataImplUP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t = {"_p_std__unique_ptrT_lldb_private__SymbolVendor_t", "std::unique_ptr< lldb_private::SymbolVendor > *|lldb::SymbolVendorUP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t = {"_p_std__unique_ptrT_lldb_private__SystemRuntime_t", "std::unique_ptr< lldb_private::SystemRuntime > *|lldb::SystemRuntimeUP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SourceManager_t = {"_p_std__unique_ptrT_lldb_private__SourceManager_t", "lldb::SourceManagerUP *|std::unique_ptr< lldb_private::SourceManager > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t = {"_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t", "lldb::StackFrameRecognizerManagerUP *|std::unique_ptr< lldb_private::StackFrameRecognizerManager > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t = {"_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t", "lldb::StructuredDataImplUP *|std::unique_ptr< lldb_private::StructuredDataImpl > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t = {"_p_std__unique_ptrT_lldb_private__SymbolVendor_t", "lldb::SymbolVendorUP *|std::unique_ptr< lldb_private::SymbolVendor > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t = {"_p_std__unique_ptrT_lldb_private__SystemRuntime_t", "lldb::SystemRuntimeUP *|std::unique_ptr< lldb_private::SystemRuntime > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__TraceExporter_t = {"_p_std__unique_ptrT_lldb_private__TraceExporter_t", "lldb::TraceExporterUP *|std::unique_ptr< lldb_private::TraceExporter > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BreakpointLocation_t = {"_p_std__weak_ptrT_lldb_private__BreakpointLocation_t", "std::weak_ptr< lldb_private::BreakpointLocation > *|lldb::BreakpointLocationWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Breakpoint_t = {"_p_std__weak_ptrT_lldb_private__Breakpoint_t", "std::weak_ptr< lldb_private::Breakpoint > *|lldb::BreakpointWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BroadcasterManager_t = {"_p_std__weak_ptrT_lldb_private__BroadcasterManager_t", "std::weak_ptr< lldb_private::BroadcasterManager > *|lldb::BroadcasterManagerWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Debugger_t = {"_p_std__weak_ptrT_lldb_private__Debugger_t", "std::weak_ptr< lldb_private::Debugger > *|lldb::DebuggerWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Listener_t = {"_p_std__weak_ptrT_lldb_private__Listener_t", "std::weak_ptr< lldb_private::Listener > *|lldb::ListenerWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Module_t = {"_p_std__weak_ptrT_lldb_private__Module_t", "std::weak_ptr< lldb_private::Module > *|lldb::ModuleWP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BreakpointLocation_t = {"_p_std__weak_ptrT_lldb_private__BreakpointLocation_t", "lldb::BreakpointLocationWP *|std::weak_ptr< lldb_private::BreakpointLocation > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Breakpoint_t = {"_p_std__weak_ptrT_lldb_private__Breakpoint_t", "lldb::BreakpointWP *|std::weak_ptr< lldb_private::Breakpoint > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BroadcasterManager_t = {"_p_std__weak_ptrT_lldb_private__BroadcasterManager_t", "lldb::BroadcasterManagerWP *|std::weak_ptr< lldb_private::BroadcasterManager > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Debugger_t = {"_p_std__weak_ptrT_lldb_private__Debugger_t", "lldb::DebuggerWP *|std::weak_ptr< lldb_private::Debugger > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Listener_t = {"_p_std__weak_ptrT_lldb_private__Listener_t", "lldb::ListenerWP *|std::weak_ptr< lldb_private::Listener > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Module_t = {"_p_std__weak_ptrT_lldb_private__Module_t", "lldb::ModuleWP *|std::weak_ptr< lldb_private::Module > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t = {"_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t", "lldb::ObjectFileJITDelegateWP *|std::weak_ptr< lldb_private::ObjectFileJITDelegate > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__OptionValue_t = {"_p_std__weak_ptrT_lldb_private__OptionValue_t", "std::weak_ptr< lldb_private::OptionValue > *|lldb::OptionValueWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Process_t = {"_p_std__weak_ptrT_lldb_private__Process_t", "std::weak_ptr< lldb_private::Process > *|lldb::ProcessWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Queue_t = {"_p_std__weak_ptrT_lldb_private__Queue_t", "std::weak_ptr< lldb_private::Queue > *|lldb::QueueWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Section_t = {"_p_std__weak_ptrT_lldb_private__Section_t", "std::weak_ptr< lldb_private::Section > *|lldb::SectionWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__StackFrame_t = {"_p_std__weak_ptrT_lldb_private__StackFrame_t", "std::weak_ptr< lldb_private::StackFrame > *|lldb::StackFrameWP *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__OptionValue_t = {"_p_std__weak_ptrT_lldb_private__OptionValue_t", "lldb::OptionValueWP *|std::weak_ptr< lldb_private::OptionValue > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Process_t = {"_p_std__weak_ptrT_lldb_private__Process_t", "lldb::ProcessWP *|std::weak_ptr< lldb_private::Process > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Queue_t = {"_p_std__weak_ptrT_lldb_private__Queue_t", "lldb::QueueWP *|std::weak_ptr< lldb_private::Queue > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Section_t = {"_p_std__weak_ptrT_lldb_private__Section_t", "lldb::SectionWP *|std::weak_ptr< lldb_private::Section > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__StackFrame_t = {"_p_std__weak_ptrT_lldb_private__StackFrame_t", "lldb::StackFrameWP *|std::weak_ptr< lldb_private::StackFrame > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t = {"_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t", "lldb::StructuredDataPluginWP *|std::weak_ptr< lldb_private::StructuredDataPlugin > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Target_t = {"_p_std__weak_ptrT_lldb_private__Target_t", "std::weak_ptr< lldb_private::Target > *|lldb::TargetWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__ThreadPlan_t = {"_p_std__weak_ptrT_lldb_private__ThreadPlan_t", "std::weak_ptr< lldb_private::ThreadPlan > *|lldb::ThreadPlanWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Thread_t = {"_p_std__weak_ptrT_lldb_private__Thread_t", "std::weak_ptr< lldb_private::Thread > *|lldb::ThreadWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t = {"_p_std__weak_ptrT_lldb_private__TypeSystem_t", "std::weak_ptr< lldb_private::TypeSystem > *|lldb::TypeSystemWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Type_t = {"_p_std__weak_ptrT_lldb_private__Type_t", "std::weak_ptr< lldb_private::Type > *|lldb::TypeWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t = {"_p_std__weak_ptrT_lldb_private__UnixSignals_t", "std::weak_ptr< lldb_private::UnixSignals > *|lldb::UnixSignalsWP *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|lldb::cpu_id_t *|uint_fast16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|lldb::process_t *|unsigned long long *|lldb::addr_t *|lldb::offset_t *|lldb::queue_id_t *|lldb::user_id_t *|lldb::pid_t *|uintmax_t *|lldb::tid_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Target_t = {"_p_std__weak_ptrT_lldb_private__Target_t", "lldb::TargetWP *|std::weak_ptr< lldb_private::Target > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__ThreadPlan_t = {"_p_std__weak_ptrT_lldb_private__ThreadPlan_t", "lldb::ThreadPlanWP *|std::weak_ptr< lldb_private::ThreadPlan > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Thread_t = {"_p_std__weak_ptrT_lldb_private__Thread_t", "lldb::ThreadWP *|std::weak_ptr< lldb_private::Thread > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t = {"_p_std__weak_ptrT_lldb_private__TypeSystem_t", "lldb::TypeSystemWP *|std::weak_ptr< lldb_private::TypeSystem > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Type_t = {"_p_std__weak_ptrT_lldb_private__Type_t", "lldb::TypeWP *|std::weak_ptr< lldb_private::Type > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t = {"_p_std__weak_ptrT_lldb_private__UnixSignals_t", "lldb::UnixSignalsWP *|std::weak_ptr< lldb_private::UnixSignals > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "lldb::cpu_id_t *|uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "lldb::addr_t *|lldb::offset_t *|lldb::pid_t *|lldb::process_t *|lldb::queue_id_t *|lldb::tid_t *|lldb::user_id_t *|uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|unsigned long long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { @@ -74898,9 +74937,12 @@ extern "C" { #define SWIGRUNTIME_DEBUG #endif +#ifndef SWIG_INIT_CLIENT_DATA_TYPE +#define SWIG_INIT_CLIENT_DATA_TYPE void * +#endif SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { +SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) { size_t i; swig_module_info *module_head, *iter; int init; diff --git a/lib/clang/llvm.pre.mk b/lib/clang/llvm.pre.mk index 774d7d47ea37..58c6cf825e8d 100644 --- a/lib/clang/llvm.pre.mk +++ b/lib/clang/llvm.pre.mk @@ -1,4 +1,3 @@ - # $FreeBSD$ LLVM_BASE= ${SRCTOP}/contrib/llvm-project |