/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * 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. * ----------------------------------------------------------------------------- */ #ifndef SWIGLUA #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 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& rhs); SwigValueWrapper(const SwigValueWrapper& 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 T SwigValueInit() { return T(); } #endif /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. * ----------------------------------------------------------------------------- */ /* template workaround for compilers that cannot correctly implement the C++ standard */ #ifndef SWIGTEMPLATEDISAMBIGUATOR # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) # define SWIGTEMPLATEDISAMBIGUATOR template # elif defined(__HP_aCC) /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ # define SWIGTEMPLATEDISAMBIGUATOR template # else # define SWIGTEMPLATEDISAMBIGUATOR # endif #endif /* inline attribute */ #ifndef SWIGINLINE # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) # define SWIGINLINE inline # else # define SWIGINLINE # endif #endif /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif # elif defined(__ICC) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif #endif #ifndef SWIG_MSC_UNSUPPRESS_4505 # if defined(_MSC_VER) # pragma warning(disable : 4505) /* unreferenced local function has been removed */ # endif #endif #ifndef SWIGUNUSEDPARM # ifdef __cplusplus # define SWIGUNUSEDPARM(p) # else # define SWIGUNUSEDPARM(p) p SWIGUNUSED # endif #endif /* internal SWIG method */ #ifndef SWIGINTERN # define SWIGINTERN static SWIGUNUSED #endif /* internal inline SWIG method */ #ifndef SWIGINTERNINLINE # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif /* exporting methods */ #if defined(__GNUC__) # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) # ifndef GCC_HASCLASSVISIBILITY # define GCC_HASCLASSVISIBILITY # endif # endif #endif #ifndef SWIGEXPORT # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(STATIC_LINKED) # define SWIGEXPORT # else # define SWIGEXPORT __declspec(dllexport) # endif # else # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) # define SWIGEXPORT __attribute__ ((visibility("default"))) # else # define SWIGEXPORT # endif # endif #endif /* calling conventions for Windows */ #ifndef SWIGSTDCALL # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # define SWIGSTDCALL __stdcall # else # define SWIGSTDCALL # endif #endif /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) # define _SCL_SECURE_NO_DEPRECATE #endif /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 #endif /* Intel's compiler complains if a variable which was never initialised is * cast to void, which is a common idiom which we use to indicate that we * are aware a variable isn't used. So we just silence that warning. * See: https://github.com/swig/swig/issues/192 for more discussion. */ #ifdef __INTEL_COMPILER # pragma warning disable 592 #endif /* ----------------------------------------------------------------------------- * swigrun.swg * * This file contains generic C API SWIG runtime support for pointer * type checking. * ----------------------------------------------------------------------------- */ /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ #define SWIG_RUNTIME_VERSION "4" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE # define SWIG_QUOTE_STRING(x) #x # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else # define SWIG_TYPE_TABLE_NAME #endif /* You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for creating a static or dynamic library from the SWIG runtime code. In 99.9% of the cases, SWIG just needs to declare them as 'static'. But only do this if strictly necessary, ie, if you have problems with your compiler or suchlike. */ #ifndef SWIGRUNTIME # define SWIGRUNTIME SWIGINTERN #endif #ifndef SWIGRUNTIMEINLINE # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif /* Generic buffer size */ #ifndef SWIG_BUFFER_SIZE # define SWIG_BUFFER_SIZE 1024 #endif /* Flags for pointer conversions */ #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 /* Flags/methods for returning states. The SWIG conversion methods, as ConvertPtr, return an integer that tells if the conversion was successful or not. And if not, an error code can be returned (see swigerrors.swg for the codes). Use the following macros/flags to set or process the returning states. In old versions of SWIG, code such as the following was usually written: if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { // success code } else { //fail code } Now you can be more explicit: int res = SWIG_ConvertPtr(obj,vptr,ty.flags); if (SWIG_IsOK(res)) { // success code } else { // fail code } which is the same really, but now you can also do Type *ptr; int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); if (SWIG_IsOK(res)) { // success code if (SWIG_IsNewObj(res) { ... delete *ptr; } else { ... } } else { // fail code } I.e., now SWIG_ConvertPtr can return new objects and you can identify the case and take care of the deallocation. Of course that also requires SWIG_ConvertPtr to return new result values, such as int SWIG_ConvertPtr(obj, ptr,...) { if () { if () { *ptr = ; return SWIG_NEWOBJ; } else { *ptr = ; return SWIG_OLDOBJ; } } else { return SWIG_BADOBJ; } } Of course, returning the plain '0(success)/-1(fail)' still works, but you can be more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 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 int food(double) int fooi(int); and you call food(1) // cast rank '1' (1 -> 1.0) fooi(1) // cast rank '0' just use the SWIG_AddCast()/SWIG_CheckState() */ #define SWIG_OK (0) #define SWIG_ERROR (-1) #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) /* The CastRankLimit says how many bits are used for the cast rank */ #define SWIG_CASTRANKLIMIT (1 << 8) /* The NewMask denotes the object was created (using new/malloc) */ #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) /* The TmpMask is for in/out typemaps that use temporal objects */ #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) /* Simple returning values */ #define SWIG_BADOBJ (SWIG_ERROR) #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 */ #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)) #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) /* Cast-Rank Mode */ #if defined(SWIG_CASTRANK_MODE) # ifndef SWIG_TypeRank # define SWIG_TypeRank unsigned long # endif # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ # define SWIG_MAXCASTRANK (2) # endif # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) SWIGINTERNINLINE int SWIG_AddCast(int r) { return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; } SWIGINTERNINLINE int SWIG_CheckState(int r) { return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; } #else /* no cast-rank mode */ # define SWIG_AddCast(r) (r) # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) #endif #include #ifdef __cplusplus extern "C" { #endif typedef void *(*swig_converter_func)(void *, int *); typedef struct swig_type_info *(*swig_dycast_func)(void **); /* Structure to store information on one type */ typedef struct swig_type_info { const char *name; /* mangled name of this type */ const char *str; /* human readable name of this type */ swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ struct swig_cast_info *cast; /* linked list of types that can cast into this type */ void *clientdata; /* language specific type data */ int owndata; /* flag if the structure owns the clientdata */ } swig_type_info; /* Structure to store a type and conversion function used for casting */ typedef struct swig_cast_info { swig_type_info *type; /* pointer to type that is equivalent to this type */ swig_converter_func converter; /* function to cast the void pointers */ struct swig_cast_info *next; /* pointer to next cast in linked list */ struct swig_cast_info *prev; /* pointer to the previous cast */ } swig_cast_info; /* Structure used to store module information * Each module generates one structure like this, and the runtime collects * all of these structures and stores them in a circularly linked list.*/ typedef struct swig_module_info { swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ size_t size; /* Number of types in this module */ struct swig_module_info *next; /* Pointer to next element in circularly linked list */ swig_type_info **type_initial; /* Array of initially generated type structures */ swig_cast_info **cast_initial; /* Array of initially generated casting structures */ void *clientdata; /* Language specific module data */ } swig_module_info; /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. Return 0 when the two name types are equivalent, as in strncmp, but skipping ' '. */ SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2) { for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; } return (int)((l1 - f1) - (l2 - f2)); } /* Check type equivalence in a name list like ||... Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb) { int equiv = 1; const char* te = tb + strlen(tb); const char* ne = nb; while (equiv != 0 && *ne) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } equiv = SWIG_TypeNameComp(nb, ne, tb, te); if (*ne) ++ne; } return equiv; } /* Check type equivalence in a name list like ||... Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0; } /* Check the typename */ SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (strcmp(iter->type->name, c) == 0) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* 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) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (iter->type == from) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); } /* Dynamic pointer casting. Down an inheritance hierarchy */ SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { swig_type_info *lastty = ty; if (!ty || !ty->dcast) return ty; while (ty && (ty->dcast)) { ty = (*ty->dcast)(ptr); if (ty) lastty = ty; } return lastty; } /* Return the name associated with this type */ SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty) { return ty->name; } /* Return the pretty name associated with this type, that is an unmangled type name in a form presentable to the user. */ 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. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; const char *s; for (s = type->str; *s; s++) if (*s == '|') last_name = s+1; return last_name; } else return type->name; } /* Set the clientdata field for a type */ SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; while (cast) { if (!cast->converter) { swig_type_info *tc = cast->type; if (!tc->clientdata) { SWIG_TypeClientData(tc, clientdata); } } cast = cast->next; } } SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { SWIG_TypeClientData(ti, clientdata); ti->owndata = 1; } /* Search for a swig_type_info structure only by mangled name Search is a O(log #types) We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { swig_module_info *iter = start; do { if (iter->size) { size_t l = 0; size_t r = iter->size - 1; do { /* since l+r >= 0, we can (>> 1) instead (/ 2) */ size_t i = (l + r) >> 1; const char *iname = iter->types[i]->name; if (iname) { int compare = strcmp(name, iname); if (compare == 0) { return iter->types[i]; } else if (compare < 0) { if (i) { r = i - 1; } else { break; } } else if (compare > 0) { l = i + 1; } } else { break; /* should never happen */ } } while (l <= r); } iter = iter->next; } while (iter != end); return 0; } /* Search for a swig_type_info structure for either a mangled name or a human readable name. It first searches the mangled names of the types, which is a O(log #types) If a type is not found it then searches the human readable names, which is O(#types). We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { /* STEP 1: Search the name field using binary search */ swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); if (ret) { return ret; } else { /* STEP 2: If the type hasn't been found, do a complete search of the str field (the human readable name) */ swig_module_info *iter = start; do { size_t i = 0; for (; i < iter->size; ++i) { if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) return iter->types[i]; } iter = iter->next; } while (iter != end); } /* neither found a match */ return 0; } /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { static const char hex[17] = "0123456789abcdef"; const unsigned char *u = (unsigned char *) ptr; const unsigned char *eu = u + sz; for (; u != eu; ++u) { unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } return c; } /* Unpack binary data from a string */ SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { unsigned char *u = (unsigned char *) ptr; const unsigned char *eu = u + sz; for (; u != eu; ++u) { char d = *(c++); unsigned char uu; if ((d >= '0') && (d <= '9')) uu = (unsigned char)((d - '0') << 4); else if ((d >= 'a') && (d <= 'f')) uu = (unsigned char)((d - ('a'-10)) << 4); else return (char *) 0; d = *(c++); if ((d >= '0') && (d <= '9')) uu |= (unsigned char)(d - '0'); else if ((d >= 'a') && (d <= 'f')) uu |= (unsigned char)(d - ('a'-10)); else return (char *) 0; *u = uu; } return c; } /* Pack 'void *' into a string buffer. */ SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { char *r = buff; if ((2*sizeof(void *) + 2) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,&ptr,sizeof(void *)); if (strlen(name) + 1 > (bsz - (r - buff))) return 0; strcpy(r,name); return buff; } SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { *ptr = (void *) 0; return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sizeof(void *)); } SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { char *r = buff; size_t lname = (name ? strlen(name) : 0); if ((2*sz + 2 + lname) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,ptr,sz); if (lname) { strncpy(r,name,lname+1); } else { *r = 0; } return buff; } SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { memset(ptr,0,sz); return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sz); } #ifdef __cplusplus } #endif /* Errors in SWIG */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 #define SWIG_IndexError -4 #define SWIG_TypeError -5 #define SWIG_DivisionByZero -6 #define SWIG_OverflowError -7 #define SWIG_SyntaxError -8 #define SWIG_ValueError -9 #define SWIG_SystemError -10 #define SWIG_AttributeError -11 #define SWIG_MemoryError -12 #define SWIG_NullReferenceError -13 /* ----------------------------------------------------------------------------- * luarun.swg * * This file contains the runtime support for Lua modules * and includes code for managing global variables and pointer * type checking. * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif #include "lua.h" #include "lauxlib.h" #include /* for malloc */ #include /* for a few sanity tests */ /* ----------------------------------------------------------------------------- * Lua flavors * ----------------------------------------------------------------------------- */ #define SWIG_LUA_FLAVOR_LUA 1 #define SWIG_LUA_FLAVOR_ELUA 2 #define SWIG_LUA_FLAVOR_ELUAC 3 #if !defined(SWIG_LUA_TARGET) # error SWIG_LUA_TARGET not defined #endif #if defined(SWIG_LUA_ELUA_EMULATE) struct swig_elua_entry; typedef struct swig_elua_key { int type; union { const char* strkey; lua_Number numkey; } key; } swig_elua_key; typedef struct swig_elua_val { int type; union { lua_Number number; const struct swig_elua_entry *table; const char *string; lua_CFunction function; struct { char member; long lvalue; void *pvalue; swig_type_info **ptype; } userdata; } value; } swig_elua_val; typedef struct swig_elua_entry { swig_elua_key key; swig_elua_val value; } swig_elua_entry; #define LSTRKEY(x) {LUA_TSTRING, {.strkey = x} } #define LNUMKEY(x) {LUA_TNUMBER, {.numkey = x} } #define LNILKEY {LUA_TNIL, {.strkey = 0} } #define LNUMVAL(x) {LUA_TNUMBER, {.number = x} } #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} } #define LROVAL(x) {LUA_TTABLE, {.table = x} } #define LNILVAL {LUA_TNIL, {.string = 0} } #define LSTRVAL(x) {LUA_TSTRING, {.string = x} } #define LUA_REG_TYPE swig_elua_entry #define SWIG_LUA_ELUA_EMUL_METATABLE_KEY "__metatable" #define lua_pushrotable(L,p)\ lua_newtable(L);\ assert(p);\ SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p)); #define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\ LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } } #define SWIG_LUA_CONSTTAB_BINARY(B,S,C,D)\ LSTRKEY(B), {LUA_TUSERDATA, { .userdata={1,S,(void*)(C),&D} } } #endif #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC) # define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C) # define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C) # define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C) # define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C) /* Those two types of constants are not supported in elua */ #ifndef SWIG_LUA_CONSTTAB_POINTER #warning eLua does not support pointers as constants. By default, nil will be used as value #define SWIG_LUA_CONSTTAB_POINTER(B,C,D) LSTRKEY(B), LNILVAL #endif #ifndef SWIG_LUA_CONSTTAB_BINARY #warning eLua does not support pointers to member as constants. By default, nil will be used as value #define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D) LSTRKEY(B), LNILVAL #endif #else /* SWIG_LUA_FLAVOR_LUA */ # define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0 # define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0 # define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0 # define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\ SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D # define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)\ SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D #endif #ifndef SWIG_LUA_ELUA_EMULATE #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC) # define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING} # define LSTRVAL LRO_STRVAL #endif #endif /* SWIG_LUA_ELUA_EMULATE*/ #ifndef SWIG_LUA_ELUA_EMULATE #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC) #ifndef MIN_OPT_LEVEL #define MIN_OPT_LEVEL 2 #endif #include "lrodefs.h" #include "lrotable.h" #endif #endif /* SWIG_LUA_ELUA_EMULATE*/ /* ----------------------------------------------------------------------------- * compatibility defines * ----------------------------------------------------------------------------- */ /* History of Lua C API length functions: In Lua 5.0 (and before?) there was "lua_strlen". In Lua 5.1, this was renamed "lua_objlen", but a compatibility define of "lua_strlen" was added. In Lua 5.2, this function was again renamed, to "lua_rawlen" (to emphasize that it doesn't call the "__len" metamethod), and the compatibility define of lua_strlen was removed. All SWIG uses have been updated to "lua_rawlen", and we add our own defines of that here for older versions of Lua. */ #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 # define lua_rawlen lua_strlen #elif LUA_VERSION_NUM == 501 # define lua_rawlen lua_objlen #endif /* lua_pushglobaltable is the recommended "future-proof" way to get the global table for Lua 5.2 and later. Here we define lua_pushglobaltable ourselves for Lua versions before 5.2. */ #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX) #endif /* lua_absindex was introduced in Lua 5.2 */ #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502 # define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1) #endif /* lua_rawsetp was introduced in Lua 5.2 */ #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502 #define lua_rawsetp(L,index,ptr)\ lua_pushlightuserdata(L,(void*)(ptr));\ lua_insert(L,-2);\ lua_rawset(L,index); #define lua_rawgetp(L,index,ptr)\ lua_pushlightuserdata(L,(void*)(ptr));\ lua_rawget(L,index); #endif /* -------------------------------------------------------------------------- * Helper functions for error handling * -------------------------------------------------------------------------- */ /* Push the string STR on the Lua stack, like lua_pushstring, but prefixed with the location of the innermost Lua call-point (as formatted by luaL_where). */ SWIGRUNTIME void SWIG_Lua_pusherrstring (lua_State *L, const char *str) { luaL_where (L, 1); lua_pushstring (L, str); lua_concat (L, 2); } /* Push a formatted string generated from FMT and following args on the Lua stack, like lua_pushfstring, but prefixed with the location of the innermost Lua call-point (as formatted by luaL_where). */ SWIGRUNTIME void SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...) { va_list argp; va_start(argp, fmt); luaL_where(L, 1); lua_pushvfstring(L, fmt, argp); va_end(argp); lua_concat(L, 2); } /* ----------------------------------------------------------------------------- * global swig types * ----------------------------------------------------------------------------- */ /* Constant table */ #define SWIG_LUA_INT 1 #define SWIG_LUA_FLOAT 2 #define SWIG_LUA_STRING 3 #define SWIG_LUA_POINTER 4 #define SWIG_LUA_BINARY 5 #define SWIG_LUA_CHAR 6 /* Structure for variable linking table */ typedef struct { const char *name; lua_CFunction get; lua_CFunction set; } swig_lua_var_info; #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC) typedef const LUA_REG_TYPE swig_lua_method; typedef const LUA_REG_TYPE swig_lua_const_info; #else /* Normal lua */ typedef luaL_Reg swig_lua_method; /* Constant information structure */ typedef struct { int type; char *name; long lvalue; double dvalue; void *pvalue; swig_type_info **ptype; } swig_lua_const_info; #endif typedef struct { const char *name; lua_CFunction getmethod; lua_CFunction setmethod; } swig_lua_attribute; struct swig_lua_class; /* Can be used to create namespaces. Currently used to wrap class static methods/variables/constants */ typedef struct swig_lua_namespace { const char *name; swig_lua_method *ns_methods; swig_lua_attribute *ns_attributes; swig_lua_const_info *ns_constants; struct swig_lua_class **ns_classes; struct swig_lua_namespace **ns_namespaces; } swig_lua_namespace; typedef struct swig_lua_class { const char *name; /* Name that this class has in Lua */ const char *fqname; /* Fully qualified name - Scope + class name */ swig_type_info **type; lua_CFunction constructor; void (*destructor)(void *); swig_lua_method *methods; swig_lua_attribute *attributes; swig_lua_namespace *cls_static; swig_lua_method *metatable; /* 0 for -eluac */ struct swig_lua_class **bases; const char **base_names; } swig_lua_class; /* this is the struct for wrapping all pointers in SwigLua */ typedef struct { swig_type_info *type; int own; /* 1 if owned & must be destroyed */ void *ptr; } swig_lua_userdata; /* this is the struct for wrapping arbitrary packed binary data (currently it is only used for member function pointers) the data ordering is similar to swig_lua_userdata, but it is currently not possible to tell the two structures apart within SWIG, other than by looking at the type */ typedef struct { swig_type_info *type; int own; /* 1 if owned & must be destroyed */ char data[1]; /* arbitrary amount of data */ } swig_lua_rawdata; /* Common SWIG API */ #define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner) #define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags) #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname) /* for C++ member pointers, ie, member methods */ #define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty) #define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type) /* Runtime API */ #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata)) #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer) #define SWIG_MODULE_CLIENTDATA_TYPE lua_State* /* Contract support */ #define SWIG_contract_assert(expr, msg) \ if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else /* helper #defines */ #define SWIG_fail {goto fail;} #define SWIG_fail_arg(func_name,argnum,type) \ {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\ func_name,argnum,type,SWIG_Lua_typename(L,argnum));\ goto fail;} #define SWIG_fail_ptr(func_name,argnum,type) \ SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*") #define SWIG_check_num_args(func_name,a,b) \ if (lua_gettop(L)b) \ {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\ goto fail;} #define SWIG_Lua_get_table(L,n) \ (lua_pushstring(L, n), lua_rawget(L,-2)) #define SWIG_Lua_add_function(L,n,f) \ (lua_pushstring(L, n), \ lua_pushcfunction(L, f), \ lua_rawset(L,-3)) #define SWIG_Lua_add_boolean(L,n,b) \ (lua_pushstring(L, n), \ lua_pushboolean(L, b), \ lua_rawset(L,-3)) /* special helper for allowing 'nil' for usertypes */ #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I)) #ifdef __cplusplus /* Special helper for member function pointers it gets the address, casts it, then dereferences it */ /*#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a))) */ #endif /* storing/access of swig_module_info */ SWIGRUNTIME swig_module_info * SWIG_Lua_GetModule(lua_State *L) { swig_module_info *ret = 0; lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME); lua_rawget(L,LUA_REGISTRYINDEX); if (lua_islightuserdata(L,-1)) ret=(swig_module_info*)lua_touserdata(L,-1); lua_pop(L,1); /* tidy */ return ret; } SWIGRUNTIME void SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) { /* add this all into the Lua registry: */ lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME); lua_pushlightuserdata(L,(void*)module); lua_rawset(L,LUA_REGISTRYINDEX); } /* ----------------------------------------------------------------------------- * global variable support code: modules * ----------------------------------------------------------------------------- */ /* this function is called when trying to set an immutable. default action is to print an error. This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */ SWIGINTERN int SWIG_Lua_set_immutable(lua_State *L) { /* there should be 1 param passed in: the new value */ #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE lua_pop(L,1); /* remove it */ luaL_error(L,"This variable is immutable"); #endif return 0; /* should not return anything */ } #ifdef SWIG_LUA_ELUA_EMULATE SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own); SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type); static int swig_lua_elua_emulate_unique_key; /* This function emulates eLua rotables behaviour. It loads a rotable definition into the usual lua table. */ SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_entry *table) { int i, table_parsed, parsed_tables_array, target_table; assert(lua_istable(L,-1)); target_table = lua_gettop(L); /* Get the registry where we put all parsed tables to avoid loops */ lua_rawgetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key); if(lua_isnil(L,-1)) { lua_pop(L,1); lua_newtable(L); lua_pushvalue(L,-1); lua_rawsetp(L,LUA_REGISTRYINDEX,(void*)(&swig_lua_elua_emulate_unique_key)); } parsed_tables_array = lua_gettop(L); lua_pushvalue(L,target_table); lua_rawsetp(L, parsed_tables_array, table); table_parsed = 0; const int SWIGUNUSED pairs_start = lua_gettop(L); for(i = 0;table[i].key.type != LUA_TNIL || table[i].value.type != LUA_TNIL;i++) { const swig_elua_entry *entry = table + i; int is_metatable = 0; switch(entry->key.type) { case LUA_TSTRING: lua_pushstring(L,entry->key.key.strkey); if(strcmp(entry->key.key.strkey, SWIG_LUA_ELUA_EMUL_METATABLE_KEY) == 0) is_metatable = 1; break; case LUA_TNUMBER: lua_pushnumber(L,entry->key.key.numkey); break; case LUA_TNIL: lua_pushnil(L); break; default: assert(0); } switch(entry->value.type) { case LUA_TSTRING: lua_pushstring(L,entry->value.value.string); break; case LUA_TNUMBER: lua_pushnumber(L,entry->value.value.number); break; case LUA_TFUNCTION: lua_pushcfunction(L,entry->value.value.function); break; case LUA_TTABLE: lua_rawgetp(L,parsed_tables_array, entry->value.value.table); table_parsed = !lua_isnil(L,-1); if(!table_parsed) { lua_pop(L,1); /*remove nil */ lua_newtable(L); SWIG_Lua_elua_emulate_register(L,entry->value.value.table); } if(is_metatable) { assert(lua_istable(L,-1)); lua_pushvalue(L,-1); lua_setmetatable(L,target_table); } break; case LUA_TUSERDATA: if(entry->value.value.userdata.member) SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue, entry->value.value.userdata.lvalue, *(entry->value.value.userdata.ptype)); else SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue, *(entry->value.value.userdata.ptype),0); break; case LUA_TNIL: lua_pushnil(L); break; default: assert(0); } assert(lua_gettop(L) == pairs_start + 2); lua_rawset(L,target_table); } lua_pop(L,1); /* Removing parsed tables storage */ assert(lua_gettop(L) == target_table); } SWIGINTERN void SWIG_Lua_elua_emulate_register_clear(lua_State *L) { lua_pushnil(L); lua_rawsetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key); } SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L); SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L) { SWIG_check_num_args("getmetatable(SWIG eLua emulation)", 1, 1); SWIG_Lua_get_class_registry(L); lua_getfield(L,-1,"lua_getmetatable"); lua_remove(L,-2); /* remove the registry*/ assert(!lua_isnil(L,-1)); lua_pushvalue(L,1); assert(lua_gettop(L) == 3); /* object | function | object again */ lua_call(L,1,1); if(!lua_isnil(L,-1)) /*There is an ordinary metatable */ return 1; /*if it is a table, then emulate elua behaviour - check for __metatable attribute of a table*/ assert(lua_gettop(L) == 2); if(lua_istable(L,-2)) { lua_pop(L,1); /*remove the nil*/ lua_getfield(L,-1, SWIG_LUA_ELUA_EMUL_METATABLE_KEY); } assert(lua_gettop(L) == 2); return 1; fail: lua_error(L); return 0; } SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L) { SWIG_Lua_get_class_registry(L); lua_pushglobaltable(L); lua_pushstring(L,"lua_getmetatable"); lua_getfield(L,-2,"getmetatable"); assert(!lua_isnil(L,-1)); lua_rawset(L,-4); lua_pushstring(L, "getmetatable"); lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable); lua_rawset(L,-3); lua_pop(L,2); } /* END OF REMOVE */ #endif /* ----------------------------------------------------------------------------- * global variable support code: namespaces and modules (which are the same thing) * ----------------------------------------------------------------------------- */ SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L) { /* there should be 2 params passed in (1) table (not the meta table) (2) string name of the attribute */ assert(lua_istable(L,-2)); /* just in case */ lua_getmetatable(L,-2); assert(lua_istable(L,-1)); SWIG_Lua_get_table(L,".get"); /* find the .get table */ assert(lua_istable(L,-1)); /* look for the key in the .get table */ lua_pushvalue(L,2); /* key */ lua_rawget(L,-2); lua_remove(L,-2); /* stack tidy, remove .get table */ if (lua_iscfunction(L,-1)) { /* found it so call the fn & return its value */ lua_call(L,0,1); /* 1 value in (userdata),1 out (result) */ lua_remove(L,-2); /* stack tidy, remove metatable */ return 1; } lua_pop(L,1); /* remove whatever was there */ /* ok, so try the .fn table */ SWIG_Lua_get_table(L,".fn"); /* find the .get table */ assert(lua_istable(L,-1)); /* just in case */ lua_pushvalue(L,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: whether 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 */ return 1; } lua_pop(L,1); /* remove whatever was there */ return 0; } SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L) { /* there should be 3 params passed in (1) table (not the meta table) (2) string name of the attribute (3) any for the new value */ assert(lua_istable(L,1)); lua_getmetatable(L,1); /* get the meta table */ assert(lua_istable(L,-1)); SWIG_Lua_get_table(L,".set"); /* find the .set table */ if (lua_istable(L,-1)) { /* look for the key in the .set table */ lua_pushvalue(L,2); /* key */ lua_rawget(L,-2); if (lua_iscfunction(L,-1)) { /* found it so call the fn & return its value */ lua_pushvalue(L,3); /* value */ lua_call(L,1,0); return 0; } lua_pop(L,1); /* remove the value */ } lua_pop(L,1); /* remove the value .set table */ lua_pop(L,1); /* remote metatable */ lua_rawset(L,-3); return 0; } #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */ SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]); /* forward declaration */ SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn); /* forward declaration */ SWIGINTERN void SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss); /* helper function - register namespace methods and attributes into namespace */ SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State *L, swig_lua_namespace *ns) { int i; /* There must be namespace table (not metatable) at the top of the stack */ assert(lua_istable(L,-1)); SWIG_Lua_InstallConstants(L, ns->ns_constants); /* add methods to the namespace/module table */ for(i=0;ns->ns_methods[i].name;i++){ SWIG_Lua_add_function(L,ns->ns_methods[i].name,ns->ns_methods[i].func); } lua_getmetatable(L,-1); /* add fns */ for(i=0;ns->ns_attributes[i].name;i++){ SWIG_Lua_add_variable(L,ns->ns_attributes[i].name,ns->ns_attributes[i].getmethod,ns->ns_attributes[i].setmethod); } /* clear stack - remove metatble */ lua_pop(L,1); return 0; } /* Register all classes in the namespace */ SWIGINTERN void SWIG_Lua_add_namespace_classes(lua_State *L, swig_lua_namespace *ns) { swig_lua_class **classes; /* There must be a module/namespace table at the top of the stack */ assert(lua_istable(L,-1)); classes = ns->ns_classes; if( classes != 0 ) { while(*classes != 0) { SWIG_Lua_class_register(L, *classes); classes++; } } } /* Helper function. Creates namespace table and adds it to module table if 'reg' is true, then will register namespace table to parent one (must be on top of the stack when function is called). Function always returns newly registered table on top of the stack. */ SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg) { swig_lua_namespace **sub_namespace; /* 1 argument - table on the top of the stack */ const int SWIGUNUSED begin = lua_gettop(L); assert(lua_istable(L,-1)); /* just in case. This is supposed to be module table or parent namespace table */ lua_checkstack(L,5); lua_newtable(L); /* namespace itself */ lua_newtable(L); /* metatable for namespace */ /* add a table called ".get" */ lua_pushstring(L,".get"); lua_newtable(L); lua_rawset(L,-3); /* add a table called ".set" */ lua_pushstring(L,".set"); lua_newtable(L); lua_rawset(L,-3); /* add a table called ".fn" */ lua_pushstring(L,".fn"); lua_newtable(L); lua_rawset(L,-3); /* add accessor fns for using the .get,.set&.fn */ SWIG_Lua_add_function(L,"__index",SWIG_Lua_namespace_get); SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_namespace_set); lua_setmetatable(L,-2); /* set metatable */ /* Register all functions, variables etc */ SWIG_Lua_add_namespace_details(L,ns); /* Register classes */ SWIG_Lua_add_namespace_classes(L,ns); sub_namespace = ns->ns_namespaces; if( sub_namespace != 0) { while(*sub_namespace != 0) { SWIG_Lua_namespace_register(L, *sub_namespace, 1); lua_pop(L,1); /* removing sub-namespace table */ sub_namespace++; } } if (reg) { lua_pushstring(L,ns->name); lua_pushvalue(L,-2); lua_rawset(L,-4); /* add namespace to module table */ } assert(lua_gettop(L) == begin+1); } #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */ /* ----------------------------------------------------------------------------- * global variable support code: classes * ----------------------------------------------------------------------------- */ SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname); typedef int (*swig_lua_base_iterator_func)(lua_State*,swig_type_info*, int, int *ret); SWIGINTERN int SWIG_Lua_iterate_bases(lua_State *L, swig_type_info * SWIGUNUSED swig_type, int first_arg, swig_lua_base_iterator_func func, int *const ret) { /* first_arg - position of the object in stack. Everything that is above are arguments * and is passed to every evocation of the func */ int last_arg = lua_gettop(L);/* position of last argument */ int original_metatable = last_arg + 1; size_t bases_count; int result = SWIG_ERROR; int bases_table; (void)swig_type; lua_getmetatable(L,first_arg); /* initialise base search */ #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) SWIG_Lua_get_table(L,".bases"); assert(lua_istable(L,-1)); bases_count = lua_rawlen(L,-1); bases_table = lua_gettop(L); #else /* In elua .bases table doesn't exist. Use table from swig_lua_class */ (void)bases_table; assert(swig_type!=0); swig_module_info *module=SWIG_GetModule(L); swig_lua_class **bases= ((swig_lua_class*)(swig_type->clientdata))->bases; const char **base_names= ((swig_lua_class*)(swig_type->clientdata))->base_names; bases_count = 0; for(;base_names[bases_count]; bases_count++);/* get length of bases */ #endif if(ret) *ret = 0; if(bases_count>0) { int to_remove; size_t i; int j; int subcall_last_arg; int subcall_first_arg = lua_gettop(L) + 1;/* Here a copy of first_arg and arguments begin */ int valid = 1; swig_type_info *base_swig_type = 0; for(j=first_arg;j<=last_arg;j++) lua_pushvalue(L,j); subcall_last_arg = lua_gettop(L); /* Trick: temporarily replacing original metatable with metatable for base class and call getter */ for(i=0;ifqname); base_swig_type = SWIG_TypeQueryModule(module,module,base_names[i]); assert(base_swig_type != 0); } #endif if(!valid) continue; assert(lua_isuserdata(L, subcall_first_arg)); assert(lua_istable(L,-1)); lua_setmetatable(L,subcall_first_arg); /* Set new metatable */ assert(lua_gettop(L) == subcall_last_arg); result = func(L, base_swig_type,subcall_first_arg, ret); /* Forward call */ if(result != SWIG_ERROR) { break; } } /* Restore original metatable */ lua_pushvalue(L,original_metatable); lua_setmetatable(L,first_arg); /* Clear - remove everything between last_arg and subcall_last_arg including */ to_remove = subcall_last_arg - last_arg; for(j=0;jtype; result = SWIG_Lua_class_do_get(L,type,1,&ret); if(result == SWIG_OK) return ret; result = SWIG_Lua_class_do_get_item(L,type,1,&ret); if(result == SWIG_OK) return ret; return 0; } /* helper for the class.set method, performs the lookup of class attributes * It returns error code. Number of function return values is passed inside 'ret' */ SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret) { /* there should be 3 params passed in (1) table (not the meta table) (2) string name of the attribute (3) any for the new value */ int bases_search_result; int substack_start = lua_gettop(L) - 3; lua_checkstack(L,5); assert(lua_isuserdata(L,substack_start+1)); /* just in case */ lua_getmetatable(L,substack_start+1); /* get the meta table */ assert(lua_istable(L,-1)); /* just in case */ if(ret) *ret = 0; /* it is setter - number of return values is always 0 */ SWIG_Lua_get_table(L,".set"); /* find the .set table */ if (lua_istable(L,-1)) { /* look for the key in the .set table */ lua_pushvalue(L,substack_start+2); /* key */ lua_rawget(L,-2); lua_remove(L,-2); /* tidy stack, remove .set table */ if (lua_iscfunction(L,-1)) { /* found it so call the fn & return its value */ lua_pushvalue(L,substack_start+1); /* userdata */ lua_pushvalue(L,substack_start+3); /* value */ lua_call(L,2,0); lua_remove(L,substack_start+4); /*remove metatable*/ return SWIG_OK; } lua_pop(L,1); /* remove the value */ } else { lua_pop(L,1); /* remove the answer for .set table request*/ } /* 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 */ { /* 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 */ lua_pushvalue(L,substack_start+3); /* the value */ lua_call(L,3,0); /* 3 values in ,0 out */ lua_remove(L,-2); /* stack tidy, remove metatable */ return SWIG_OK; } lua_pop(L,1); /* remove value */ lua_pop(L,1); /* remove metatable */ /* Search among bases */ bases_search_result = SWIG_Lua_iterate_bases(L,type,first_arg,SWIG_Lua_class_do_set,ret); if(ret) assert(*ret == 0); assert(lua_gettop(L) == substack_start + 3); return bases_search_result; } /* This is the actual method exported to Lua. It calls SWIG_Lua_class_do_set and correctly * handles return values. */ SWIGINTERN int SWIG_Lua_class_set(lua_State *L) { /* There should be 3 params passed in (1) table (not the meta table) (2) string name of the attribute (3) any for the new value */ int ret = 0; int result; swig_lua_userdata *usr; swig_type_info *type; assert(lua_isuserdata(L,1)); usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */ type = usr->type; result = SWIG_Lua_class_do_set(L,type,1,&ret); if(result != SWIG_OK) { SWIG_Lua_pushferrstring(L,"Assignment not possible. No setter/member with this name. For custom assignments implement __setitem method."); lua_error(L); } else { assert(ret==0); } return 0; } /* the class.destruct method called by the interpreter */ SWIGINTERN int SWIG_Lua_class_destruct(lua_State *L) { /* there should be 1 params passed in (1) userdata (not the meta table) */ swig_lua_userdata *usr; swig_lua_class *clss; assert(lua_isuserdata(L,-1)); /* just in case */ usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */ /* if must be destroyed & has a destructor */ if (usr->own) /* if must be destroyed */ { clss=(swig_lua_class*)usr->type->clientdata; /* get the class */ if (clss && clss->destructor) /* there is a destroy fn */ { clss->destructor(usr->ptr); /* bye bye */ } } return 0; } /* the class.__tostring method called by the interpreter and print */ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L) { /* there should be 1 param passed in (1) userdata (not the metatable) */ swig_lua_userdata* userData; assert(lua_isuserdata(L,1)); /* just in case */ userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */ lua_pushfstring(L, "", userData->type->str, userData->ptr); return 1; } /* to manually disown some userdata */ SWIGINTERN int SWIG_Lua_class_disown(lua_State *L) { /* there should be 1 params passed in (1) userdata (not the meta table) */ swig_lua_userdata *usr; assert(lua_isuserdata(L,-1)); /* just in case */ usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */ usr->own = 0; /* clear our ownership */ return 0; } /* lua callable function to compare userdata's value the issue is that two userdata may point to the same thing but to lua, they are different objects */ SWIGRUNTIME int SWIG_Lua_class_equal(lua_State *L) { int result; swig_lua_userdata *usr1,*usr2; if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */ return 0; /* nil reply */ usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */ usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */ /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/ result=(usr1->ptr==usr2->ptr); lua_pushboolean(L,result); return 1; } /* populate table at the top of the stack with metamethods that ought to be inherited */ SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods(lua_State *L) { SWIG_Lua_add_boolean(L, "__add", 1); SWIG_Lua_add_boolean(L, "__sub", 1); SWIG_Lua_add_boolean(L, "__mul", 1); SWIG_Lua_add_boolean(L, "__div", 1); SWIG_Lua_add_boolean(L, "__mod", 1); SWIG_Lua_add_boolean(L, "__pow", 1); SWIG_Lua_add_boolean(L, "__unm", 1); SWIG_Lua_add_boolean(L, "__len", 1 ); SWIG_Lua_add_boolean(L, "__concat", 1 ); SWIG_Lua_add_boolean(L, "__eq", 1); SWIG_Lua_add_boolean(L, "__lt", 1); SWIG_Lua_add_boolean(L, "__le", 1); SWIG_Lua_add_boolean(L, "__call", 1); SWIG_Lua_add_boolean(L, "__tostring", 1); SWIG_Lua_add_boolean(L, "__gc", 0); } /* creates the swig registry */ SWIGINTERN void SWIG_Lua_create_class_registry(lua_State *L) { /* create main SWIG registry table */ lua_pushstring(L,"SWIG"); lua_newtable(L); /* populate it with some predefined data */ /* .library table. Placeholder */ lua_pushstring(L,".library"); lua_newtable(L); { /* list of metamethods that class inherits from its bases */ lua_pushstring(L,"inheritable_metamethods"); lua_newtable(L); /* populate with list of metamethods */ SWIG_Lua_populate_inheritable_metamethods(L); lua_rawset(L,-3); } lua_rawset(L,-3); lua_rawset(L,LUA_REGISTRYINDEX); } /* gets the swig registry (or creates it) */ SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L) { /* add this all into the swig registry: */ lua_pushstring(L,"SWIG"); lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */ if (!lua_istable(L,-1)) /* not there */ { /* must be first time, so add it */ lua_pop(L,1); /* remove the result */ SWIG_Lua_create_class_registry(L); /* then get it */ lua_pushstring(L,"SWIG"); lua_rawget(L,LUA_REGISTRYINDEX); } } SWIGINTERN void SWIG_Lua_get_inheritable_metamethods(lua_State *L) { SWIG_Lua_get_class_registry(L); lua_pushstring(L, ".library"); lua_rawget(L,-2); assert( !lua_isnil(L,-1) ); lua_pushstring(L, "inheritable_metamethods"); lua_rawget(L,-2); /* Remove class registry and library table */ lua_remove(L,-2); lua_remove(L,-2); } /* Helper function to get the classes metatable from the register */ SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname) { SWIG_Lua_get_class_registry(L); /* get the registry */ lua_pushstring(L,cname); /* get the name */ lua_rawget(L,-2); /* get it */ lua_remove(L,-2); /* tidy up (remove registry) */ } /* Set up the base classes pointers. Each class structure has a list of pointers to the base class structures. This function fills them. It cannot be done at compile time, as this will not work with hireachies spread over more than one swig file. Therefore it must be done at runtime, querying the SWIG type system. */ SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L,swig_lua_class *clss) { int i=0; swig_module_info *module=SWIG_GetModule(L); for(i=0;clss->base_names[i];i++) { if (clss->bases[i]==0) /* not found yet */ { /* lookup and cache the base class */ swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]); if (info) clss->bases[i] = (swig_lua_class *) info->clientdata; } } } #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* Merges two tables */ SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source) { /* iterating */ lua_pushnil(L); while (lua_next(L,source) != 0) { /* -1 - value, -2 - index */ /* have to copy to assign */ lua_pushvalue(L,-2); /* copy of index */ lua_pushvalue(L,-2); /* copy of value */ lua_rawset(L, target); lua_pop(L,1); /* only key is left */ } } /* Merges two tables with given name. original - index of target metatable, base - index of source metatable */ SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base) { /* push original[name], then base[name] */ lua_pushstring(L,name); lua_rawget(L,original); int original_table = lua_gettop(L); lua_pushstring(L,name); lua_rawget(L,base); int base_table = lua_gettop(L); SWIG_Lua_merge_tables_by_index(L, original_table, base_table); /* clearing stack */ lua_pop(L,2); } /* Function takes all symbols from base and adds it to derived class. It's just a helper. */ SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls) { /* There is one parameter - original, i.e. 'derived' class metatable */ assert(lua_istable(L,-1)); int original = lua_gettop(L); SWIG_Lua_get_class_metatable(L,base_cls->fqname); int base = lua_gettop(L); SWIG_Lua_merge_tables(L, ".fn", original, base ); SWIG_Lua_merge_tables(L, ".set", original, base ); SWIG_Lua_merge_tables(L, ".get", original, base ); lua_pop(L,1); } /* Function squashes all symbols from 'clss' bases into itself */ SWIGINTERN void SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss) { int i; SWIG_Lua_get_class_metatable(L,clss->fqname); for(i=0;clss->base_names[i];i++) { if (clss->bases[i]==0) /* Somehow it's not found. Skip it */ continue; /* Thing is: all bases are already registered. Thus they have already executed * this function. So we just need to squash them into us, because their bases * are already squashed into them. No need for recursion here! */ SWIG_Lua_class_squash_base(L, clss->bases[i]); } lua_pop(L,1); /*tidy stack*/ } #endif #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */ /* helper add a variable to a registered class */ SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn) { assert(lua_istable(L,-1)); /* just in case */ SWIG_Lua_get_table(L,".get"); /* find the .get table */ assert(lua_istable(L,-1)); /* just in case */ SWIG_Lua_add_function(L,name,getFn); lua_pop(L,1); /* tidy stack (remove table) */ if (setFn) { SWIG_Lua_get_table(L,".set"); /* find the .set table */ assert(lua_istable(L,-1)); /* just in case */ SWIG_Lua_add_function(L,name,setFn); lua_pop(L,1); /* tidy stack (remove table) */ } } /* helper to recursively add class static details (static attributes, operations and constants) */ SWIGINTERN void SWIG_Lua_add_class_static_details(lua_State *L, swig_lua_class *clss) { int i = 0; /* The class namespace table must be on the top of the stack */ assert(lua_istable(L,-1)); /* call all the base classes first: we can then override these later: */ for(i=0;clss->bases[i];i++) { SWIG_Lua_add_class_static_details(L,clss->bases[i]); } SWIG_Lua_add_namespace_details(L, clss->cls_static); } SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss); /* forward declaration */ /* helper to recursively add class details (attributes & operations) */ SWIGINTERN void SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_class *clss) { int i; size_t bases_count = 0; /* Add bases to .bases table */ SWIG_Lua_get_table(L,".bases"); assert(lua_istable(L,-1)); /* just in case */ for(i=0;clss->bases[i];i++) { SWIG_Lua_get_class_metatable(L,clss->bases[i]->fqname); /* Base class must be already registered */ assert(lua_istable(L,-1)); lua_rawseti(L,-2,i+1); /* In lua indexing starts from 1 */ bases_count++; } assert(lua_rawlen(L,-1) == bases_count); lua_pop(L,1); /* remove .bases table */ /* add attributes */ for(i=0;clss->attributes[i].name;i++){ SWIG_Lua_add_variable(L,clss->attributes[i].name,clss->attributes[i].getmethod,clss->attributes[i].setmethod); } /* add methods to the metatable */ SWIG_Lua_get_table(L,".fn"); /* find the .fn table */ assert(lua_istable(L,-1)); /* just in case */ for(i=0;clss->methods[i].name;i++){ SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].func); } lua_pop(L,1); /* tidy stack (remove table) */ /* add operator overloads This adds methods from metatable array to metatable. Can mess up garbage collectind if someone defines __gc method */ if(clss->metatable) { for(i=0;clss->metatable[i].name;i++) { SWIG_Lua_add_function(L,clss->metatable[i].name,clss->metatable[i].func); } } #if !defined(SWIG_LUA_SQUASH_BASES) /* Adding metamethods that are defined in base classes. If bases were squashed * then it is obviously unnecessary */ SWIG_Lua_add_class_user_metamethods(L, clss); #endif } /* Helpers to add user defined class metamedhods - __add, __sub etc. The helpers are needed for the following issue: Lua runtime checks for metamethod existence with rawget function ignoring our SWIG-provided __index and __newindex functions. Thus our inheritance-aware method search algorithm doesn't work in such case. (Not to say that Lua runtime queries metamethod directly in metatable and not in object). Current solution is this: if somewhere in hierarchy metamethod __x is defined, then all descendants are automatically given a special proxy __x that calls the real __x method. Obvious idea - to copy __x instead of creating __x-proxy is wrong because if someone changes __x in runtime, those changes must be reflected in all descendants. */ 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 * 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 * SWIG_Lua_resolve_metamethod * */ SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx, int skip_check) { /* This function is called recursively */ int result = 0; int i = 0; if (!skip_check) { SWIG_Lua_get_class_metatable(L, clss->fqname); lua_pushvalue(L, metamethod_name_idx); lua_rawget(L,-2); /* If this is cfunction and it is equal to SWIG_Lua_resolve_metamethod then * this isn't the function we are looking for :) * lua_tocfunction will return NULL if not cfunction */ if (!lua_isnil(L,-1) && lua_tocfunction(L,-1) != SWIG_Lua_resolve_metamethod ) { lua_remove(L,-2); /* removing class metatable */ return 1; } lua_pop(L,2); /* remove class metatable and query result */ } /* Forwarding calls to bases */ for(i=0;clss->bases[i];i++) { result = SWIG_Lua_do_resolve_metamethod(L, clss->bases[i], metamethod_name_idx, 0); if (result) break; } return result; } /* The proxy function for metamethod. All parameters are passed as cclosure. Searches for actual method * and calls it */ SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L) { int numargs; int metamethod_name_idx; const swig_lua_class* clss; int result; lua_checkstack(L,5); numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */ /* Get upvalues from closure */ lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/ metamethod_name_idx = lua_gettop(L); lua_pushvalue(L, lua_upvalueindex(2)); clss = (const swig_lua_class*)(lua_touserdata(L,-1)); lua_pop(L,1); /* remove lightuserdata with clss from stack */ /* Actual work */ result = SWIG_Lua_do_resolve_metamethod(L, clss, metamethod_name_idx, 1); if (!result) { SWIG_Lua_pushferrstring(L,"The metamethod proxy is set, but it failed to find actual metamethod. Memory corruption is most likely explanation."); lua_error(L); return 0; } lua_remove(L,-2); /* remove metamethod key */ lua_insert(L,1); /* move function to correct position */ lua_call(L, numargs, LUA_MULTRET); return lua_gettop(L); /* return all results */ } /* If given metamethod must be present in given class, then creates appropriate proxy * Returns 1 if successfully added, 0 if not added because no base class has it, -1 * if method is defined in the class metatable itself */ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index) { int key_index; int success = 0; int i = 0; /* metamethod name - on the top of the stack */ assert(lua_isstring(L,-1)); key_index = lua_gettop(L); /* Check whether method is already defined in metatable */ lua_pushvalue(L,key_index); /* copy of the key */ lua_gettable(L,metatable_index); if( !lua_isnil(L,-1) ) { lua_pop(L,1); return -1; } lua_pop(L,1); /* Iterating over immediate bases */ for(i=0;clss->bases[i];i++) { const swig_lua_class *base = clss->bases[i]; SWIG_Lua_get_class_metatable(L, base->fqname); lua_pushvalue(L, key_index); lua_rawget(L, -2); if( !lua_isnil(L,-1) ) { lua_pushvalue(L, key_index); /* Add proxy function */ lua_pushvalue(L, key_index); /* first closure value is function name */ lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */ lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2); lua_rawset(L, metatable_index); success = 1; } lua_pop(L,1); /* remove function or nil */ lua_pop(L,1); /* remove base class metatable */ if( success ) break; } return success; } SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss) { int metatable_index; int metamethods_info_index; int tostring_undefined; int eq_undefined = 0; SWIG_Lua_get_class_metatable(L, clss->fqname); metatable_index = lua_gettop(L); SWIG_Lua_get_inheritable_metamethods(L); assert(lua_istable(L,-1)); metamethods_info_index = lua_gettop(L); lua_pushnil(L); /* first key */ while(lua_next(L, metamethods_info_index) != 0 ) { /* key at index -2, value at index -1 */ const int is_inheritable = lua_toboolean(L,-2); lua_pop(L,1); /* remove value - we don't need it anymore */ if(is_inheritable) { /* if metamethod is inheritable */ SWIG_Lua_add_class_user_metamethod(L,clss,metatable_index); } } lua_pop(L,1); /* remove inheritable metatmethods table */ /* Special handling for __tostring method */ lua_pushstring(L, "__tostring"); lua_pushvalue(L,-1); lua_rawget(L,metatable_index); tostring_undefined = lua_isnil(L,-1); lua_pop(L,1); if( tostring_undefined ) { lua_pushcfunction(L, SWIG_Lua_class_tostring); lua_rawset(L, metatable_index); } else { lua_pop(L,1); /* remove copy of the key */ } /* Special handling for __eq method */ lua_pushstring(L, "__eq"); lua_pushvalue(L,-1); lua_rawget(L,metatable_index); eq_undefined = lua_isnil(L,-1); lua_pop(L,1); if( eq_undefined ) { lua_pushcfunction(L, SWIG_Lua_class_equal); lua_rawset(L, metatable_index); } else { lua_pop(L,1); /* remove copy of the key */ } /* Warning: __index and __newindex are SWIG-defined. For user-defined operator[] * a __getitem/__setitem method should be defined */ lua_pop(L,1); /* pop class metatable */ } /* Register class static methods,attributes etc as well as constructor proxy */ SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss) { const int SWIGUNUSED begin = lua_gettop(L); lua_checkstack(L,5); /* just in case */ assert(lua_istable(L,-1)); /* just in case */ assert(strcmp(clss->name, clss->cls_static->name) == 0); /* in class those 2 must be equal */ SWIG_Lua_namespace_register(L,clss->cls_static, 1); assert(lua_istable(L,-1)); /* just in case */ /* add its constructor to module with the name of the class so you can do MyClass(...) as well as new_MyClass(...) BUT only if a constructor is defined (this overcomes the problem of pure virtual classes without constructors)*/ if (clss->constructor) { lua_getmetatable(L,-1); assert(lua_istable(L,-1)); /* just in case */ SWIG_Lua_add_function(L,"__call", clss->constructor); lua_pop(L,1); } assert(lua_istable(L,-1)); /* just in case */ SWIG_Lua_add_class_static_details(L, clss); /* clear stack */ lua_pop(L,1); assert( lua_gettop(L) == begin ); } /* Performs the instance (non-static) class registration process. Metatable for class is created * and added to the class registry. */ SWIGINTERN void SWIG_Lua_class_register_instance(lua_State *L,swig_lua_class *clss) { const int SWIGUNUSED begin = lua_gettop(L); int i; /* if name already there (class is already registered) then do nothing */ SWIG_Lua_get_class_registry(L); /* get the registry */ lua_pushstring(L,clss->fqname); /* get the name */ lua_rawget(L,-2); if(!lua_isnil(L,-1)) { lua_pop(L,2); assert(lua_gettop(L)==begin); return; } lua_pop(L,2); /* tidy stack */ /* Recursively initialize all bases */ for(i=0;clss->bases[i];i++) { SWIG_Lua_class_register_instance(L,clss->bases[i]); } /* Again, get registry and push name */ SWIG_Lua_get_class_registry(L); /* get the registry */ lua_pushstring(L,clss->fqname); /* get the name */ lua_newtable(L); /* create the metatable */ #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* If squashing is requested, then merges all bases metatable into this one. * It would get us all special methods: __getitem, __add etc. * This would set .fn, .type, and other .xxx incorrectly, but we will overwrite it right away */ { int new_metatable_index = lua_absindex(L,-1); for(i=0;clss->bases[i];i++) { int base_metatable; SWIG_Lua_get_class_metatable(L,clss->bases[i]->fqname); base_metatable = lua_absindex(L,-1); SWIG_Lua_merge_tables_by_index(L,new_metatable_index, base_metatable); lua_pop(L,1); } } /* And now we will overwrite all incorrectly set data */ #endif /* add string of class name called ".type" */ lua_pushstring(L,".type"); lua_pushstring(L,clss->fqname); lua_rawset(L,-3); /* add a table called bases */ lua_pushstring(L,".bases"); lua_newtable(L); lua_rawset(L,-3); /* add a table called ".get" */ lua_pushstring(L,".get"); lua_newtable(L); lua_rawset(L,-3); /* add a table called ".set" */ lua_pushstring(L,".set"); lua_newtable(L); lua_rawset(L,-3); /* add a table called ".fn" */ lua_pushstring(L,".fn"); lua_newtable(L); /* add manual disown method */ SWIG_Lua_add_function(L,"__disown",SWIG_Lua_class_disown); lua_rawset(L,-3); /* add accessor fns for using the .get,.set&.fn */ SWIG_Lua_add_function(L,"__index",SWIG_Lua_class_get); SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set); SWIG_Lua_add_function(L,"__gc",SWIG_Lua_class_destruct); /* add it */ lua_rawset(L,-3); /* metatable into registry */ lua_pop(L,1); /* tidy stack (remove registry) */ assert(lua_gettop(L) == begin); #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */ SWIG_Lua_class_squash_bases(L,clss); #endif SWIG_Lua_get_class_metatable(L,clss->fqname); SWIG_Lua_add_class_instance_details(L,clss); /* recursive adding of details (atts & ops) */ lua_pop(L,1); /* tidy stack (remove class metatable) */ assert( lua_gettop(L) == begin ); } SWIGINTERN void SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss) { int SWIGUNUSED begin; assert(lua_istable(L,-1)); /* This is a table (module or namespace) where classes will be added */ SWIG_Lua_class_register_instance(L,clss); SWIG_Lua_class_register_static(L,clss); /* Add links from static part to instance part and vice versa */ /* [SWIG registry] [Module] * "MyClass" ----> [MyClass metatable] <===== "MyClass" -+> [static part] * ".get" ----> ... | | getmetatable()----| * ".set" ----> ... | | | * ".static" --------------)----------------/ [static part metatable] * | ".get" --> ... * | ".set" --> .... * |=============================== ".instance" */ begin = lua_gettop(L); lua_pushstring(L,clss->cls_static->name); lua_rawget(L,-2); /* get class static table */ assert(lua_istable(L,-1)); lua_getmetatable(L,-1); assert(lua_istable(L,-1)); /* get class static metatable */ lua_pushstring(L,".instance"); /* prepare key */ SWIG_Lua_get_class_metatable(L,clss->fqname); /* get class metatable */ assert(lua_istable(L,-1)); lua_pushstring(L,".static"); /* prepare key */ lua_pushvalue(L, -4); /* push static class TABLE */ assert(lua_istable(L,-1)); lua_rawset(L,-3); /* assign static class table(!NOT metatable) as ".static" member of class metatable */ lua_rawset(L,-3); /* assign class metatable as ".instance" member of class static METATABLE */ lua_pop(L,2); assert(lua_gettop(L) == begin); } #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */ #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC) SWIGINTERN void SWIG_Lua_elua_class_register_instance(lua_State *L, swig_lua_class *clss) { const int SWIGUNUSED begin = lua_gettop(L); int i; /* if name already there (class is already registered) then do nothing */ SWIG_Lua_get_class_registry(L); /* get the registry */ lua_pushstring(L,clss->fqname); /* get the name */ lua_rawget(L,-2); if(!lua_isnil(L,-1)) { lua_pop(L,2); assert(lua_gettop(L)==begin); return; } lua_pop(L,2); /* tidy stack */ /* Recursively initialize all bases */ for(i=0;clss->bases[i];i++) { SWIG_Lua_elua_class_register_instance(L,clss->bases[i]); } /* Again, get registry and push name */ SWIG_Lua_get_class_registry(L); /* get the registry */ lua_pushstring(L,clss->fqname); /* get the name */ assert(clss->metatable); lua_pushrotable(L, (void*)(clss->metatable)); /* create the metatable */ lua_rawset(L,-3); lua_pop(L,1); assert(lua_gettop(L) == begin); } #endif /* elua && eluac */ /* ----------------------------------------------------------------------------- * Class/structure conversion fns * ----------------------------------------------------------------------------- */ /* helper to add metatable to new lua object */ SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L,swig_type_info *type) { if (type->clientdata) /* there is clientdata: so add the metatable */ { SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->fqname); if (lua_istable(L,-1)) { lua_setmetatable(L,-2); } else { lua_pop(L,1); } } } /* pushes a new object into the lua stack */ SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own) { swig_lua_userdata *usr; if (!ptr){ lua_pushnil(L); return; } usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */ usr->ptr=ptr; /* set the ptr */ usr->type=type; usr->own=own; #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) SWIG_Lua_AddMetatable(L,type); /* add metatable */ #endif } /* takes a object from the lua stack & converts it into an object of the correct type (if possible) */ SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags) { swig_lua_userdata *usr; swig_cast_info *cast; /* special case: lua nil => NULL pointer */ if (lua_isnil(L,index)) { *ptr=0; return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; } if (lua_islightuserdata(L,index)) { *ptr=lua_touserdata(L,index); return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; } usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */ if (usr) { if (flags & SWIG_POINTER_DISOWN) /* must disown the object */ { usr->own=0; } if (!type) /* special cast void*, no casting fn */ { *ptr=usr->ptr; return SWIG_OK; /* ok */ } cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */ if (cast) { int newmemory = 0; *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory); assert(!newmemory); /* newmemory handling not yet implemented */ return SWIG_OK; /* ok */ } } return SWIG_ERROR; /* error */ } SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags, int argnum,const char *func_name){ void *result; 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); } return result; } /* pushes a packed userdata. user for member fn pointers only */ SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type) { swig_lua_rawdata *raw; assert(ptr); /* not acceptable to pass in a NULL value */ raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */ raw->type=type; raw->own=0; memcpy(raw->data,ptr,size); /* copy the data */ SWIG_Lua_AddMetatable(L,type); /* add metatable */ } /* converts a packed userdata. user for member fn pointers only */ SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type) { swig_lua_rawdata *raw; raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */ if (!raw) return SWIG_ERROR; /* error */ if (type==0 || type==raw->type) /* void* or identical type */ { memcpy(ptr,raw->data,size); /* copy it */ return SWIG_OK; /* ok */ } return SWIG_ERROR; /* error */ } /* a function to get the typestring of a piece of data */ SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp) { swig_lua_userdata *usr; if (lua_isuserdata(L,tp)) { usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */ if (usr && usr->type && usr->type->str) return usr->type->str; return "userdata (unknown type)"; } return lua_typename(L,lua_type(L,tp)); } /* lua callable function to get the userdata's type */ SWIGRUNTIME int SWIG_Lua_type(lua_State *L) { lua_pushstring(L,SWIG_Lua_typename(L,1)); return 1; } /* ----------------------------------------------------------------------------- * global variable support code: class/struct typemap functions * ----------------------------------------------------------------------------- */ #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) /* Install Constants */ SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]) { int i; for (i = 0; constants[i].type; i++) { switch(constants[i].type) { case SWIG_LUA_INT: lua_pushstring(L,constants[i].name); lua_pushinteger(L,(lua_Integer)constants[i].lvalue); lua_rawset(L,-3); break; case SWIG_LUA_FLOAT: lua_pushstring(L,constants[i].name); lua_pushnumber(L,(lua_Number)constants[i].dvalue); lua_rawset(L,-3); break; case SWIG_LUA_CHAR: lua_pushstring(L,constants[i].name); { char c = (char)constants[i].lvalue; lua_pushlstring(L,&c,1); } lua_rawset(L,-3); break; case SWIG_LUA_STRING: lua_pushstring(L,constants[i].name); lua_pushstring(L,(char *) constants[i].pvalue); lua_rawset(L,-3); break; case SWIG_LUA_POINTER: lua_pushstring(L,constants[i].name); SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0); lua_rawset(L,-3); break; case SWIG_LUA_BINARY: lua_pushstring(L,constants[i].name); SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype); lua_rawset(L,-3); break; default: break; } } } #endif /* ----------------------------------------------------------------------------- * executing lua code from within the wrapper * ----------------------------------------------------------------------------- */ #ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */ #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S) #endif /* Executes a C string in Lua which is a really simple way of calling lua from C Unfortunately lua keeps changing its APIs, so we need a conditional compile In lua 5.0.X it's lua_dostring() In lua 5.1.X it's luaL_dostring() */ SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str) { int ok,top; if (str==0 || str[0]==0) return 0; /* nothing to do */ top=lua_gettop(L); /* save stack */ #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501)) ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */ #else ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */ #endif if (ok!=0) { SWIG_DOSTRING_FAIL(lua_tostring(L,-1)); } lua_settop(L,top); /* restore the stack */ return ok; } #ifdef __cplusplus } #endif /* ------------------------------ end luarun.swg ------------------------------ */ /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_bool swig_types[0] #define SWIGTYPE_p_double swig_types[1] #define SWIGTYPE_p_f_p_q_const__char_p_void__void swig_types[2] #define SWIGTYPE_p_f_p_void__p_void swig_types[3] #define SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void swig_types[4] #define SWIGTYPE_p_int swig_types[5] #define SWIGTYPE_p_lldb__ConnectionStatus swig_types[6] #define SWIGTYPE_p_lldb__SBAddress swig_types[7] #define SWIGTYPE_p_lldb__SBAttachInfo swig_types[8] #define SWIGTYPE_p_lldb__SBBlock swig_types[9] #define SWIGTYPE_p_lldb__SBBreakpoint swig_types[10] #define SWIGTYPE_p_lldb__SBBreakpointList swig_types[11] #define SWIGTYPE_p_lldb__SBBreakpointLocation swig_types[12] #define SWIGTYPE_p_lldb__SBBreakpointName swig_types[13] #define SWIGTYPE_p_lldb__SBBroadcaster swig_types[14] #define SWIGTYPE_p_lldb__SBCommandInterpreter swig_types[15] #define SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions swig_types[16] #define SWIGTYPE_p_lldb__SBCommandReturnObject swig_types[17] #define SWIGTYPE_p_lldb__SBCommunication swig_types[18] #define SWIGTYPE_p_lldb__SBCompileUnit swig_types[19] #define SWIGTYPE_p_lldb__SBData swig_types[20] #define SWIGTYPE_p_lldb__SBDebugger swig_types[21] #define SWIGTYPE_p_lldb__SBDeclaration swig_types[22] #define SWIGTYPE_p_lldb__SBEnvironment swig_types[23] #define SWIGTYPE_p_lldb__SBError swig_types[24] #define SWIGTYPE_p_lldb__SBEvent swig_types[25] #define SWIGTYPE_p_lldb__SBExecutionContext swig_types[26] #define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[27] #define SWIGTYPE_p_lldb__SBFile swig_types[28] #define SWIGTYPE_p_lldb__SBFileSpec swig_types[29] #define SWIGTYPE_p_lldb__SBFileSpecList swig_types[30] #define SWIGTYPE_p_lldb__SBFrame swig_types[31] #define SWIGTYPE_p_lldb__SBFunction swig_types[32] #define SWIGTYPE_p_lldb__SBHostOS swig_types[33] #define SWIGTYPE_p_lldb__SBInstruction swig_types[34] #define SWIGTYPE_p_lldb__SBInstructionList swig_types[35] #define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[36] #define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[37] #define SWIGTYPE_p_lldb__SBLineEntry swig_types[38] #define SWIGTYPE_p_lldb__SBListener swig_types[39] #define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[40] #define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[41] #define SWIGTYPE_p_lldb__SBModule swig_types[42] #define SWIGTYPE_p_lldb__SBModuleSpec swig_types[43] #define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[44] #define SWIGTYPE_p_lldb__SBPlatform swig_types[45] #define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[46] #define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[47] #define SWIGTYPE_p_lldb__SBProcess swig_types[48] #define SWIGTYPE_p_lldb__SBProcessInfo swig_types[49] #define SWIGTYPE_p_lldb__SBQueue swig_types[50] #define SWIGTYPE_p_lldb__SBQueueItem swig_types[51] #define SWIGTYPE_p_lldb__SBReproducer swig_types[52] #define SWIGTYPE_p_lldb__SBSection swig_types[53] #define SWIGTYPE_p_lldb__SBSourceManager swig_types[54] #define SWIGTYPE_p_lldb__SBStream swig_types[55] #define SWIGTYPE_p_lldb__SBStringList swig_types[56] #define SWIGTYPE_p_lldb__SBStructuredData swig_types[57] #define SWIGTYPE_p_lldb__SBSymbol swig_types[58] #define SWIGTYPE_p_lldb__SBSymbolContext swig_types[59] #define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[60] #define SWIGTYPE_p_lldb__SBTarget swig_types[61] #define SWIGTYPE_p_lldb__SBThread swig_types[62] #define SWIGTYPE_p_lldb__SBThreadCollection swig_types[63] #define SWIGTYPE_p_lldb__SBThreadPlan swig_types[64] #define SWIGTYPE_p_lldb__SBTrace swig_types[65] #define SWIGTYPE_p_lldb__SBTraceOptions swig_types[66] #define SWIGTYPE_p_lldb__SBType swig_types[67] #define SWIGTYPE_p_lldb__SBTypeCategory swig_types[68] #define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[69] #define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[70] #define SWIGTYPE_p_lldb__SBTypeFilter swig_types[71] #define SWIGTYPE_p_lldb__SBTypeFormat swig_types[72] #define SWIGTYPE_p_lldb__SBTypeList swig_types[73] #define SWIGTYPE_p_lldb__SBTypeMember swig_types[74] #define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[75] #define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[76] #define SWIGTYPE_p_lldb__SBTypeSummary swig_types[77] #define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[78] #define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[79] #define SWIGTYPE_p_lldb__SBUnixSignals swig_types[80] #define SWIGTYPE_p_lldb__SBValue swig_types[81] #define SWIGTYPE_p_lldb__SBValueList swig_types[82] #define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[83] #define SWIGTYPE_p_lldb__SBWatchpoint swig_types[84] #define SWIGTYPE_p_long_double swig_types[85] #define SWIGTYPE_p_long_long swig_types[86] #define SWIGTYPE_p_p_char swig_types[87] #define SWIGTYPE_p_p_void swig_types[88] #define SWIGTYPE_p_pthread_rwlock_t swig_types[89] #define SWIGTYPE_p_pthread_t swig_types[90] #define SWIGTYPE_p_short swig_types[91] #define SWIGTYPE_p_signed_char swig_types[92] #define SWIGTYPE_p_size_t swig_types[93] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[94] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[95] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[96] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[97] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[98] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[99] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[100] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[101] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[102] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[103] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[104] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Communication_t swig_types[105] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[106] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[107] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[108] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[109] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[110] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[111] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__DynamicLoader_t swig_types[112] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[113] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[114] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[115] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[116] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[117] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[118] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[119] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__FunctionCaller_t swig_types[120] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[121] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[122] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[123] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[124] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[125] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[126] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[127] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[128] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[129] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__LineTable_t swig_types[130] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[131] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[132] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[133] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[134] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[135] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueArch_t swig_types[136] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueArgs_t swig_types[137] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueArray_t swig_types[138] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueBoolean_t swig_types[139] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueDictionary_t swig_types[140] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueFileSpecList_t swig_types[141] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueFileSpec_t swig_types[142] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueFormat_t swig_types[143] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValuePathMappings_t swig_types[144] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[145] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueRegex_t swig_types[146] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueSInt64_t swig_types[147] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueString_t swig_types[148] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueUInt64_t swig_types[149] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueUUID_t swig_types[150] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[151] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[152] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[153] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[154] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[155] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Property_t swig_types[156] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[157] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[158] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[159] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[160] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[161] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[162] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[163] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[164] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[165] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[166] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[167] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[168] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[169] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Settings_t swig_types[170] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[171] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[172] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[173] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[174] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StoppointLocation_t swig_types[175] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[176] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[177] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[178] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[179] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[180] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[181] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFile_t swig_types[182] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[183] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[184] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SystemRuntime_t swig_types[185] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TargetProperties_t swig_types[186] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[187] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[188] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[189] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[190] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[191] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceOptions_t swig_types[192] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[193] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[194] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[195] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[196] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[197] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[198] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[199] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[200] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[201] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[202] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[203] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[204] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[205] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[206] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[207] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UtilityFunction_t swig_types[208] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueList_t swig_types[209] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[210] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[211] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[212] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[213] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[214] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[215] #define SWIGTYPE_p_std__string swig_types[216] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[217] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[218] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[219] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[220] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[221] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[222] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptInterpreter_t swig_types[223] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[224] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[225] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrame_t swig_types[226] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[227] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[228] #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[229] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[230] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointSite_t swig_types[231] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[232] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[233] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[234] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[235] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[236] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[237] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFile_t swig_types[238] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[239] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[240] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[241] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[242] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[243] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Stream_t swig_types[244] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[245] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__SymbolFileType_t swig_types[246] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[247] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[248] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[249] #define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[250] #define SWIGTYPE_p_unsigned_char swig_types[251] #define SWIGTYPE_p_unsigned_int swig_types[252] #define SWIGTYPE_p_unsigned_long_long swig_types[253] #define SWIGTYPE_p_unsigned_short swig_types[254] #define SWIGTYPE_p_void swig_types[255] static swig_type_info *swig_types[257]; static swig_module_info swig_module = {swig_types, 256, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ #define SWIG_name "lldb" #define SWIG_init luaopen_lldb #define SWIG_init_user luaopen_lldb_user #define SWIG_LUACODE luaopen_lldb_luacode namespace swig { typedef struct{} LANGUAGE_OBJ; } #include SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) { int ret = lua_isstring(L, idx); if (!ret) ret = lua_isnil(L, idx); return ret; } #ifdef __cplusplus /* generic alloc/dealloc fns*/ #define SWIG_ALLOC_ARRAY(TYPE,LEN) new TYPE[LEN] #define SWIG_FREE_ARRAY(PTR) delete[] PTR #else #define SWIG_ALLOC_ARRAY(TYPE,LEN) (TYPE *)malloc(LEN*sizeof(TYPE)) #define SWIG_FREE_ARRAY(PTR) free(PTR) #endif /* counting the size of arrays:*/ SWIGINTERN int SWIG_itable_size(lua_State* L, int index) { int n=0; while(1){ lua_rawgeti(L,index,n+1); if (lua_isnil(L,-1))break; ++n; lua_pop(L,1); } lua_pop(L,1); return n; } SWIGINTERN int SWIG_table_size(lua_State* L, int index) { int n=0; lua_pushnil(L); /* first key*/ while (lua_next(L, index) != 0) { ++n; lua_pop(L, 1); /* removes `value'; keeps `key' for next iteration*/ } return n; } /* super macro to declare array typemap helper fns */ #define SWIG_DECLARE_TYPEMAP_ARR_FN(NAME,TYPE)\ SWIGINTERN int SWIG_read_##NAME##_num_array(lua_State* L,int index,TYPE *array,int size){\ int i;\ for (i = 0; i < size; i++) {\ lua_rawgeti(L,index,i+1);\ if (lua_isnumber(L,-1)){\ array[i] = (TYPE)lua_tonumber(L,-1);\ } else {\ lua_pop(L,1);\ return 0;\ }\ lua_pop(L,1);\ }\ return 1;\ }\ SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_fixed(lua_State* L, int index, int size){\ TYPE *array;\ if (!lua_istable(L,index) || SWIG_itable_size(L,index) != size) {\ SWIG_Lua_pushferrstring(L,"expected a table of size %d",size);\ return 0;\ }\ array=SWIG_ALLOC_ARRAY(TYPE,size);\ if (!SWIG_read_##NAME##_num_array(L,index,array,size)){\ SWIG_Lua_pusherrstring(L,"table must contain numbers");\ SWIG_FREE_ARRAY(array);\ return 0;\ }\ return array;\ }\ SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_var(lua_State* L, int index, int* size)\ {\ TYPE *array;\ if (!lua_istable(L,index)) {\ SWIG_Lua_pusherrstring(L,"expected a table");\ return 0;\ }\ *size=SWIG_itable_size(L,index);\ if (*size<1){\ SWIG_Lua_pusherrstring(L,"table appears to be empty");\ return 0;\ }\ array=SWIG_ALLOC_ARRAY(TYPE,*size);\ if (!SWIG_read_##NAME##_num_array(L,index,array,*size)){\ SWIG_Lua_pusherrstring(L,"table must contain numbers");\ SWIG_FREE_ARRAY(array);\ return 0;\ }\ return array;\ }\ SWIGINTERN void SWIG_write_##NAME##_num_array(lua_State* L,TYPE *array,int size){\ int i;\ lua_newtable(L);\ for (i = 0; i < size; i++){\ lua_pushnumber(L,(lua_Number)array[i]);\ lua_rawseti(L,-2,i+1);/* -1 is the number, -2 is the table*/ \ }\ } SWIG_DECLARE_TYPEMAP_ARR_FN(schar,signed char) SWIG_DECLARE_TYPEMAP_ARR_FN(uchar,unsigned char) SWIG_DECLARE_TYPEMAP_ARR_FN(int,int) SWIG_DECLARE_TYPEMAP_ARR_FN(uint,unsigned int) SWIG_DECLARE_TYPEMAP_ARR_FN(short,short) SWIG_DECLARE_TYPEMAP_ARR_FN(ushort,unsigned short) SWIG_DECLARE_TYPEMAP_ARR_FN(long,long) SWIG_DECLARE_TYPEMAP_ARR_FN(ulong,unsigned long) SWIG_DECLARE_TYPEMAP_ARR_FN(float,float) SWIG_DECLARE_TYPEMAP_ARR_FN(double,double) SWIGINTERN int SWIG_read_ptr_array(lua_State* L,int index,void **array,int size,swig_type_info *type){ int i; for (i = 0; i < size; i++) { lua_rawgeti(L,index,i+1); if (!lua_isuserdata(L,-1) || SWIG_ConvertPtr(L,-1,&array[i],type,0)==-1){ lua_pop(L,1); return 0; } lua_pop(L,1); } return 1; } SWIGINTERN void** SWIG_get_ptr_array_fixed(lua_State* L, int index, int size,swig_type_info *type){ void **array; if (!lua_istable(L,index) || SWIG_itable_size(L,index) != size) { SWIG_Lua_pushferrstring(L,"expected a table of size %d",size); return 0; } array=SWIG_ALLOC_ARRAY(void*,size); if (!SWIG_read_ptr_array(L,index,array,size,type)){ SWIG_Lua_pushferrstring(L,"table must contain pointers of type %s",type->name); SWIG_FREE_ARRAY(array); return 0; } return array; } SWIGINTERN void** SWIG_get_ptr_array_var(lua_State* L, int index, int* size,swig_type_info *type){ void **array; if (!lua_istable(L,index)) { SWIG_Lua_pusherrstring(L,"expected a table"); return 0; } *size=SWIG_itable_size(L,index); if (*size<1){ SWIG_Lua_pusherrstring(L,"table appears to be empty"); return 0; } array=SWIG_ALLOC_ARRAY(void*,*size); if (!SWIG_read_ptr_array(L,index,array,*size,type)){ SWIG_Lua_pushferrstring(L,"table must contain pointers of type %s",type->name); SWIG_FREE_ARRAY(array); return 0; } return array; } SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_type_info *type,int own){ int i; lua_newtable(L); for (i = 0; i < size; i++){ SWIG_NewPointerObj(L,array[i],type,own); lua_rawseti(L,-2,i+1);/* -1 is the number, -2 is the table*/ } } #include #include #include "lldb/lldb-public.h" #include "lldb/API/SBAddress.h" #include "lldb/API/SBAttachInfo.h" #include "lldb/API/SBBlock.h" #include "lldb/API/SBBreakpoint.h" #include "lldb/API/SBBreakpointLocation.h" #include "lldb/API/SBBreakpointName.h" #include "lldb/API/SBBroadcaster.h" #include "lldb/API/SBCommandInterpreter.h" #include "lldb/API/SBCommandInterpreterRunOptions.h" #include "lldb/API/SBCommandReturnObject.h" #include "lldb/API/SBCommunication.h" #include "lldb/API/SBCompileUnit.h" #include "lldb/API/SBData.h" #include "lldb/API/SBDebugger.h" #include "lldb/API/SBDeclaration.h" #include "lldb/API/SBEnvironment.h" #include "lldb/API/SBError.h" #include "lldb/API/SBEvent.h" #include "lldb/API/SBExecutionContext.h" #include "lldb/API/SBExpressionOptions.h" #include "lldb/API/SBFile.h" #include "lldb/API/SBFileSpec.h" #include "lldb/API/SBFileSpecList.h" #include "lldb/API/SBFrame.h" #include "lldb/API/SBFunction.h" #include "lldb/API/SBHostOS.h" #include "lldb/API/SBInstruction.h" #include "lldb/API/SBInstructionList.h" #include "lldb/API/SBLanguageRuntime.h" #include "lldb/API/SBLaunchInfo.h" #include "lldb/API/SBLineEntry.h" #include "lldb/API/SBListener.h" #include "lldb/API/SBMemoryRegionInfo.h" #include "lldb/API/SBMemoryRegionInfoList.h" #include "lldb/API/SBModule.h" #include "lldb/API/SBModuleSpec.h" #include "lldb/API/SBPlatform.h" #include "lldb/API/SBProcess.h" #include "lldb/API/SBProcessInfo.h" #include "lldb/API/SBQueue.h" #include "lldb/API/SBQueueItem.h" #include "lldb/API/SBReproducer.h" #include "lldb/API/SBSection.h" #include "lldb/API/SBSourceManager.h" #include "lldb/API/SBStream.h" #include "lldb/API/SBStringList.h" #include "lldb/API/SBStructuredData.h" #include "lldb/API/SBSymbol.h" #include "lldb/API/SBSymbolContext.h" #include "lldb/API/SBSymbolContextList.h" #include "lldb/API/SBTarget.h" #include "lldb/API/SBThread.h" #include "lldb/API/SBThreadCollection.h" #include "lldb/API/SBThreadPlan.h" #include "lldb/API/SBTrace.h" #include "lldb/API/SBTraceOptions.h" #include "lldb/API/SBType.h" #include "lldb/API/SBTypeCategory.h" #include "lldb/API/SBTypeEnumMember.h" #include "lldb/API/SBTypeFilter.h" #include "lldb/API/SBTypeFormat.h" #include "lldb/API/SBTypeNameSpecifier.h" #include "lldb/API/SBTypeSummary.h" #include "lldb/API/SBTypeSynthetic.h" #include "lldb/API/SBUnixSignals.h" #include "lldb/API/SBValue.h" #include "lldb/API/SBValueList.h" #include "lldb/API/SBVariablesOptions.h" #include "lldb/API/SBWatchpoint.h" using namespace lldb_private; using namespace lldb; #include // Use the C99 official header SWIGINTERN std::string lldb_SBAddress___str__(lldb::SBAddress *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBBlock___str__(lldb::SBBlock *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBBreakpoint___str__(lldb::SBBreakpoint *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBBreakpointLocation___str__(lldb::SBBreakpointLocation *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelFull); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBBreakpointName___str__(lldb::SBBreakpointName *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBCommandReturnObject___str__(lldb::SBCommandReturnObject *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN void lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lldb::SBCommandReturnObject *self,lldb::FileSP BORROWED,bool transfer_ownership){ self->SetImmediateOutputFile(BORROWED); } SWIGINTERN void lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lldb::SBCommandReturnObject *self,lldb::FileSP BORROWED,bool transfer_ownership){ self->SetImmediateErrorFile(BORROWED); } SWIGINTERN void lldb_SBCommandReturnObject_Print(lldb::SBCommandReturnObject *self,char const *str){ self->Printf("%s", str); } SWIGINTERN std::string lldb_SBCompileUnit___str__(lldb::SBCompileUnit *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBData___str__(lldb::SBData *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN lldb::FileSP lldb_SBDebugger_GetInputFileHandle(lldb::SBDebugger *self){ return self->GetInputFile().GetFile(); } SWIGINTERN lldb::FileSP lldb_SBDebugger_GetOutputFileHandle(lldb::SBDebugger *self){ return self->GetOutputFile().GetFile(); } SWIGINTERN lldb::FileSP lldb_SBDebugger_GetErrorFileHandle(lldb::SBDebugger *self){ return self->GetErrorFile().GetFile(); } SWIGINTERN std::string lldb_SBDebugger___str__(lldb::SBDebugger *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBDeclaration___str__(lldb::SBDeclaration *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBError___str__(lldb::SBError *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN lldb::SBFile lldb_SBFile_MakeBorrowed(lldb::FileSP BORROWED){ return lldb::SBFile(BORROWED); } SWIGINTERN lldb::SBFile lldb_SBFile_MakeForcingIOMethods(lldb::FileSP FORCE_IO_METHODS){ return lldb::SBFile(FORCE_IO_METHODS); } SWIGINTERN lldb::SBFile lldb_SBFile_MakeBorrowedForcingIOMethods(lldb::FileSP BORROWED_FORCE_IO_METHODS){ return lldb::SBFile(BORROWED_FORCE_IO_METHODS); } SWIGINTERN std::string lldb_SBFileSpec___str__(lldb::SBFileSpec *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBFrame___str__(lldb::SBFrame *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBFunction___str__(lldb::SBFunction *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBInstruction___str__(lldb::SBInstruction *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBInstructionList___str__(lldb::SBInstructionList *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBLineEntry___str__(lldb::SBLineEntry *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBMemoryRegionInfo___str__(lldb::SBMemoryRegionInfo *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBModule___str__(lldb::SBModule *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBModuleSpec___str__(lldb::SBModuleSpec *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBModuleSpecList___str__(lldb::SBModuleSpecList *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBProcess___str__(lldb::SBProcess *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBSection___str__(lldb::SBSection *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN void lldb_SBStream_RedirectToFileHandle(lldb::SBStream *self,lldb::FileSP file,bool transfer_fh_ownership){ self->RedirectToFile(file); } SWIGINTERN std::string lldb_SBSymbol___str__(lldb::SBSymbol *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBSymbolContext___str__(lldb::SBSymbolContext *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBSymbolContextList___str__(lldb::SBSymbolContextList *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTarget___str__(lldb::SBTarget *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBThread___str__(lldb::SBThread *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeMember___str__(lldb::SBTypeMember *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeMemberFunction___str__(lldb::SBTypeMemberFunction *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBType___str__(lldb::SBType *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeCategory___str__(lldb::SBTypeCategory *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeEnumMember___str__(lldb::SBTypeEnumMember *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeFilter___str__(lldb::SBTypeFilter *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeFormat___str__(lldb::SBTypeFormat *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeNameSpecifier___str__(lldb::SBTypeNameSpecifier *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeSummary___str__(lldb::SBTypeSummary *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBTypeSynthetic___str__(lldb::SBTypeSynthetic *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelBrief); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBValue___str__(lldb::SBValue *self){ lldb::SBStream stream; self->GetDescription (stream); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBValueList___str__(lldb::SBValueList *self){ lldb::SBStream description; const size_t n = self->GetSize(); if (n) { for (size_t i=0; iGetValueAtIndex(i).GetDescription(description); } else { description.Printf(" lldb.SBValueList()"); } const char *desc = description.GetData(); size_t desc_len = description.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) --desc_len; return std::string(desc, desc_len); } SWIGINTERN std::string lldb_SBWatchpoint___str__(lldb::SBWatchpoint *self){ lldb::SBStream stream; self->GetDescription (stream, lldb::eDescriptionLevelVerbose); const char *desc = stream.GetData(); size_t desc_len = stream.GetSize(); if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { --desc_len; } return std::string(desc, desc_len); } #ifdef __cplusplus 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } static int _wrap_new_string(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_string__SWIG_0(L); } if (argc == 1) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { return _wrap_new_string__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_string'\n" " Possible C/C++ prototypes are:\n" " std::string::string()\n" " std::string::string(char const *)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } static void swig_delete_string(void *obj) { std::string *arg1 = (std::string *) obj; delete arg1; } static int _proxy__wrap_new_string(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_string); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_string_attributes[] = { {0,0,0} }; static swig_lua_method swig_string_methods[]= { { "size", _wrap_string_size}, { "length", _wrap_string_length}, { "empty", _wrap_string_empty}, { "c_str", _wrap_string_c_str}, { "data", _wrap_string_data}, { "assign", _wrap_string_assign}, {0,0} }; static swig_lua_method swig_string_meta[] = { {0,0} }; static swig_lua_attribute swig_string_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_string_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_string_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_string_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_string_Sf_SwigStatic = { "string", swig_string_Sf_SwigStatic_methods, swig_string_Sf_SwigStatic_attributes, swig_string_Sf_SwigStatic_constants, swig_string_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_string_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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_tonumber(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; } 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_isnumber(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_tonumber(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; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_new_SBAddress(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBAddress__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBAddress__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_new_SBAddress__SWIG_2(L); } } } if (argc == 2) { int _v; { _v = lua_isnumber(L,argv[0]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBAddress__SWIG_3(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBAddress'\n" " Possible C/C++ prototypes are:\n" " lldb::SBAddress::SBAddress()\n" " lldb::SBAddress::SBAddress(lldb::SBAddress const &)\n" " lldb::SBAddress::SBAddress(lldb::SBSection,lldb::addr_t)\n" " lldb::SBAddress::SBAddress(lldb::addr_t,lldb::SBTarget &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetFileAddress(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetLoadAddress((lldb::SBTarget const &)*arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)(arg1)->GetOffset(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); (arg1)->SetAddress(arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::__str__",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___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; } static void swig_delete_SBAddress(void *obj) { lldb::SBAddress *arg1 = (lldb::SBAddress *) obj; delete arg1; } static int _proxy__wrap_new_SBAddress(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBAddress); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBAddress_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBAddress_methods[]= { { "IsValid", _wrap_SBAddress_IsValid}, { "Clear", _wrap_SBAddress_Clear}, { "GetFileAddress", _wrap_SBAddress_GetFileAddress}, { "GetLoadAddress", _wrap_SBAddress_GetLoadAddress}, { "SetLoadAddress", _wrap_SBAddress_SetLoadAddress}, { "OffsetAddress", _wrap_SBAddress_OffsetAddress}, { "GetDescription", _wrap_SBAddress_GetDescription}, { "GetSection", _wrap_SBAddress_GetSection}, { "GetOffset", _wrap_SBAddress_GetOffset}, { "SetAddress", _wrap_SBAddress_SetAddress}, { "GetSymbolContext", _wrap_SBAddress_GetSymbolContext}, { "GetModule", _wrap_SBAddress_GetModule}, { "GetCompileUnit", _wrap_SBAddress_GetCompileUnit}, { "GetFunction", _wrap_SBAddress_GetFunction}, { "GetBlock", _wrap_SBAddress_GetBlock}, { "GetSymbol", _wrap_SBAddress_GetSymbol}, { "GetLineEntry", _wrap_SBAddress_GetLineEntry}, { "__tostring", _wrap_SBAddress___tostring}, {0,0} }; static swig_lua_method swig_SBAddress_meta[] = { { "__tostring", _wrap_SBAddress___tostring}, {0,0} }; static swig_lua_attribute swig_SBAddress_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBAddress_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBAddress_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBAddress_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBAddress_Sf_SwigStatic = { "SBAddress", swig_SBAddress_Sf_SwigStatic_methods, swig_SBAddress_Sf_SwigStatic_attributes, swig_SBAddress_Sf_SwigStatic_constants, swig_SBAddress_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBAddress_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::pid_t"); arg1 = (lldb::pid_t)lua_tonumber(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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBAttachInfo(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBAttachInfo__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBAttachInfo__SWIG_4(L); } } if (argc == 1) { int _v; { _v = lua_isnumber(L,argv[0]); } if (_v) { return _wrap_new_SBAttachInfo__SWIG_1(L); } } if (argc == 2) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_new_SBAttachInfo__SWIG_2(L); } } } if (argc == 3) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_new_SBAttachInfo__SWIG_3(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBAttachInfo'\n" " Possible C/C++ prototypes are:\n" " lldb::SBAttachInfo::SBAttachInfo()\n" " lldb::SBAttachInfo::SBAttachInfo(lldb::pid_t)\n" " lldb::SBAttachInfo::SBAttachInfo(char const *,bool)\n" " lldb::SBAttachInfo::SBAttachInfo(char const *,bool,bool)\n" " lldb::SBAttachInfo::SBAttachInfo(lldb::SBAttachInfo const &)\n"); lua_error(L);return 0; } 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); } result = (lldb::pid_t)(arg1)->GetProcessID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetProcessID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = *argp2; (arg1)->SetExecutable(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBAttachInfo_SetExecutable__SWIG_1(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBAttachInfo_SetExecutable__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBAttachInfo_SetExecutable'\n" " Possible C/C++ prototypes are:\n" " lldb::SBAttachInfo::SetExecutable(char const *)\n" " lldb::SBAttachInfo::SetExecutable(lldb::SBFileSpec)\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetWaitForLaunch(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_SBAttachInfo_SetWaitForLaunch(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBAttachInfo_SetWaitForLaunch'\n" " Possible C/C++ prototypes are:\n" " lldb::SBAttachInfo::SetWaitForLaunch(bool)\n" " lldb::SBAttachInfo::SetWaitForLaunch(bool,bool)\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetIgnoreExisting(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetResumeCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetResumeCount(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)(arg1)->GetUserID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetGroupID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetUserID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetGroupID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetEffectiveUserID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetEffectiveGroupID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetEffectiveUserID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetEffectiveGroupID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::pid_t)(arg1)->GetParentProcessID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetParentProcessID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetListener(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBAttachInfo(void *obj) { lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) obj; delete arg1; } static int _proxy__wrap_new_SBAttachInfo(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBAttachInfo); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBAttachInfo_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBAttachInfo_methods[]= { { "GetProcessID", _wrap_SBAttachInfo_GetProcessID}, { "SetProcessID", _wrap_SBAttachInfo_SetProcessID}, { "SetExecutable", _wrap_SBAttachInfo_SetExecutable}, { "GetWaitForLaunch", _wrap_SBAttachInfo_GetWaitForLaunch}, { "SetWaitForLaunch", _wrap_SBAttachInfo_SetWaitForLaunch}, { "GetIgnoreExisting", _wrap_SBAttachInfo_GetIgnoreExisting}, { "SetIgnoreExisting", _wrap_SBAttachInfo_SetIgnoreExisting}, { "GetResumeCount", _wrap_SBAttachInfo_GetResumeCount}, { "SetResumeCount", _wrap_SBAttachInfo_SetResumeCount}, { "GetProcessPluginName", _wrap_SBAttachInfo_GetProcessPluginName}, { "SetProcessPluginName", _wrap_SBAttachInfo_SetProcessPluginName}, { "GetUserID", _wrap_SBAttachInfo_GetUserID}, { "GetGroupID", _wrap_SBAttachInfo_GetGroupID}, { "UserIDIsValid", _wrap_SBAttachInfo_UserIDIsValid}, { "GroupIDIsValid", _wrap_SBAttachInfo_GroupIDIsValid}, { "SetUserID", _wrap_SBAttachInfo_SetUserID}, { "SetGroupID", _wrap_SBAttachInfo_SetGroupID}, { "GetEffectiveUserID", _wrap_SBAttachInfo_GetEffectiveUserID}, { "GetEffectiveGroupID", _wrap_SBAttachInfo_GetEffectiveGroupID}, { "EffectiveUserIDIsValid", _wrap_SBAttachInfo_EffectiveUserIDIsValid}, { "EffectiveGroupIDIsValid", _wrap_SBAttachInfo_EffectiveGroupIDIsValid}, { "SetEffectiveUserID", _wrap_SBAttachInfo_SetEffectiveUserID}, { "SetEffectiveGroupID", _wrap_SBAttachInfo_SetEffectiveGroupID}, { "GetParentProcessID", _wrap_SBAttachInfo_GetParentProcessID}, { "SetParentProcessID", _wrap_SBAttachInfo_SetParentProcessID}, { "ParentProcessIDIsValid", _wrap_SBAttachInfo_ParentProcessIDIsValid}, { "GetListener", _wrap_SBAttachInfo_GetListener}, { "SetListener", _wrap_SBAttachInfo_SetListener}, {0,0} }; static swig_lua_method swig_SBAttachInfo_meta[] = { {0,0} }; static swig_lua_attribute swig_SBAttachInfo_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBAttachInfo_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBAttachInfo_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBAttachInfo_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBAttachInfo_Sf_SwigStatic = { "SBAttachInfo", swig_SBAttachInfo_Sf_SwigStatic_methods, swig_SBAttachInfo_Sf_SwigStatic_attributes, swig_SBAttachInfo_Sf_SwigStatic_constants, swig_SBAttachInfo_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBAttachInfo_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBBlock(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBBlock__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBBlock__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBlock'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBlock::SBBlock()\n" " lldb::SBBlock::SBBlock(lldb::SBBlock const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteLine(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteColumn(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumRanges(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBlock_GetVariables(lua_State* L) { int argc; int argv[7]={ 1,2,3,4,5,6,7 }; argc = lua_gettop(L); if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { return _wrap_SBBlock_GetVariables__SWIG_1(L); } } } } } } if (argc == 6) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { { _v = lua_isnumber(L,argv[5]); } if (_v) { return _wrap_SBBlock_GetVariables__SWIG_0(L); } } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBlock_GetVariables'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBlock::GetVariables(lldb::SBFrame &,bool,bool,bool,lldb::DynamicValueType)\n" " lldb::SBBlock::GetVariables(lldb::SBTarget &,bool,bool,bool)\n"); lua_error(L);return 0; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::__str__",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___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; } static void swig_delete_SBBlock(void *obj) { lldb::SBBlock *arg1 = (lldb::SBBlock *) obj; delete arg1; } static int _proxy__wrap_new_SBBlock(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBlock); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBlock_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBlock_methods[]= { { "IsInlined", _wrap_SBBlock_IsInlined}, { "IsValid", _wrap_SBBlock_IsValid}, { "GetInlinedName", _wrap_SBBlock_GetInlinedName}, { "GetInlinedCallSiteFile", _wrap_SBBlock_GetInlinedCallSiteFile}, { "GetInlinedCallSiteLine", _wrap_SBBlock_GetInlinedCallSiteLine}, { "GetInlinedCallSiteColumn", _wrap_SBBlock_GetInlinedCallSiteColumn}, { "GetParent", _wrap_SBBlock_GetParent}, { "GetContainingInlinedBlock", _wrap_SBBlock_GetContainingInlinedBlock}, { "GetSibling", _wrap_SBBlock_GetSibling}, { "GetFirstChild", _wrap_SBBlock_GetFirstChild}, { "GetNumRanges", _wrap_SBBlock_GetNumRanges}, { "GetRangeStartAddress", _wrap_SBBlock_GetRangeStartAddress}, { "GetRangeEndAddress", _wrap_SBBlock_GetRangeEndAddress}, { "GetRangeIndexForBlockAddress", _wrap_SBBlock_GetRangeIndexForBlockAddress}, { "GetDescription", _wrap_SBBlock_GetDescription}, { "GetVariables", _wrap_SBBlock_GetVariables}, { "__tostring", _wrap_SBBlock___tostring}, {0,0} }; static swig_lua_method swig_SBBlock_meta[] = { { "__tostring", _wrap_SBBlock___tostring}, {0,0} }; static swig_lua_attribute swig_SBBlock_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBlock_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBlock_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBBlock_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBlock_Sf_SwigStatic = { "SBBlock", swig_SBBlock_Sf_SwigStatic_methods, swig_SBBlock_Sf_SwigStatic_attributes, swig_SBBlock_Sf_SwigStatic_constants, swig_SBBlock_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBlock_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBBreakpoint(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBBreakpoint__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBBreakpoint__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpoint'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpoint::SBBreakpoint()\n" " lldb::SBBreakpoint::SBBreakpoint(lldb::SBBreakpoint const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } result = (lldb::break_id_t)((lldb::SBBreakpoint const *)arg1)->GetID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } (arg1)->ClearAllBreakpointSites(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 2); result = (lldb::break_id_t)(arg1)->FindLocationIDByAddress(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetEnabled(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetOneShot(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetHitCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetIgnoreCount(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetIgnoreCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAutoContinue(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetThreadID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::tid_t)(arg1)->GetThreadID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetThreadIndex(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetThreadIndex(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpoint_SetScriptCallbackFunction'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpoint::SetScriptCallbackFunction(char const *)\n" " lldb::SBBreakpoint::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetCommandLineCommands(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } (arg1)->GetNames(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = ((lldb::SBBreakpoint const *)arg1)->GetNumResolvedLocations(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = ((lldb::SBBreakpoint const *)arg1)->GetNumLocations(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } static int _wrap_SBBreakpoint_GetDescription(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBreakpoint_GetDescription__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBBreakpoint_GetDescription__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpoint_GetDescription'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpoint::GetDescription(lldb::SBStream &)\n" " lldb::SBBreakpoint::GetDescription(lldb::SBStream &,bool)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (lldb::BreakpointEventType)lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent((lldb::SBEvent const &)*arg1); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent((lldb::SBEvent const &)*arg1); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::__str__",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___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; } static void swig_delete_SBBreakpoint(void *obj) { lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) obj; delete arg1; } static int _proxy__wrap_new_SBBreakpoint(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBreakpoint); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBreakpoint_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBreakpoint_methods[]= { { "__eq", _wrap_SBBreakpoint___eq}, { "GetID", _wrap_SBBreakpoint_GetID}, { "IsValid", _wrap_SBBreakpoint_IsValid}, { "ClearAllBreakpointSites", _wrap_SBBreakpoint_ClearAllBreakpointSites}, { "FindLocationByAddress", _wrap_SBBreakpoint_FindLocationByAddress}, { "FindLocationIDByAddress", _wrap_SBBreakpoint_FindLocationIDByAddress}, { "FindLocationByID", _wrap_SBBreakpoint_FindLocationByID}, { "GetLocationAtIndex", _wrap_SBBreakpoint_GetLocationAtIndex}, { "SetEnabled", _wrap_SBBreakpoint_SetEnabled}, { "IsEnabled", _wrap_SBBreakpoint_IsEnabled}, { "SetOneShot", _wrap_SBBreakpoint_SetOneShot}, { "IsOneShot", _wrap_SBBreakpoint_IsOneShot}, { "IsInternal", _wrap_SBBreakpoint_IsInternal}, { "GetHitCount", _wrap_SBBreakpoint_GetHitCount}, { "SetIgnoreCount", _wrap_SBBreakpoint_SetIgnoreCount}, { "GetIgnoreCount", _wrap_SBBreakpoint_GetIgnoreCount}, { "SetCondition", _wrap_SBBreakpoint_SetCondition}, { "GetCondition", _wrap_SBBreakpoint_GetCondition}, { "SetAutoContinue", _wrap_SBBreakpoint_SetAutoContinue}, { "GetAutoContinue", _wrap_SBBreakpoint_GetAutoContinue}, { "SetThreadID", _wrap_SBBreakpoint_SetThreadID}, { "GetThreadID", _wrap_SBBreakpoint_GetThreadID}, { "SetThreadIndex", _wrap_SBBreakpoint_SetThreadIndex}, { "GetThreadIndex", _wrap_SBBreakpoint_GetThreadIndex}, { "SetThreadName", _wrap_SBBreakpoint_SetThreadName}, { "GetThreadName", _wrap_SBBreakpoint_GetThreadName}, { "SetQueueName", _wrap_SBBreakpoint_SetQueueName}, { "GetQueueName", _wrap_SBBreakpoint_GetQueueName}, { "SetScriptCallbackFunction", _wrap_SBBreakpoint_SetScriptCallbackFunction}, { "SetScriptCallbackBody", _wrap_SBBreakpoint_SetScriptCallbackBody}, { "SetCommandLineCommands", _wrap_SBBreakpoint_SetCommandLineCommands}, { "GetCommandLineCommands", _wrap_SBBreakpoint_GetCommandLineCommands}, { "AddName", _wrap_SBBreakpoint_AddName}, { "AddNameWithErrorHandling", _wrap_SBBreakpoint_AddNameWithErrorHandling}, { "RemoveName", _wrap_SBBreakpoint_RemoveName}, { "MatchesName", _wrap_SBBreakpoint_MatchesName}, { "GetNames", _wrap_SBBreakpoint_GetNames}, { "GetNumResolvedLocations", _wrap_SBBreakpoint_GetNumResolvedLocations}, { "GetNumLocations", _wrap_SBBreakpoint_GetNumLocations}, { "GetDescription", _wrap_SBBreakpoint_GetDescription}, { "AddLocation", _wrap_SBBreakpoint_AddLocation}, { "IsHardware", _wrap_SBBreakpoint_IsHardware}, { "__tostring", _wrap_SBBreakpoint___tostring}, {0,0} }; static swig_lua_method swig_SBBreakpoint_meta[] = { { "__eq", _wrap_SBBreakpoint___eq}, { "__tostring", _wrap_SBBreakpoint___tostring}, {0,0} }; static swig_lua_attribute swig_SBBreakpoint_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBreakpoint_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBreakpoint_Sf_SwigStatic_methods[]= { { "EventIsBreakpointEvent", _wrap_SBBreakpoint_EventIsBreakpointEvent}, { "GetBreakpointEventTypeFromEvent", _wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent}, { "GetBreakpointFromEvent", _wrap_SBBreakpoint_GetBreakpointFromEvent}, { "GetBreakpointLocationAtIndexFromEvent", _wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent}, { "GetNumBreakpointLocationsFromEvent", _wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent}, {0,0} }; static swig_lua_class* swig_SBBreakpoint_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBreakpoint_Sf_SwigStatic = { "SBBreakpoint", swig_SBBreakpoint_Sf_SwigStatic_methods, swig_SBBreakpoint_Sf_SwigStatic_attributes, swig_SBBreakpoint_Sf_SwigStatic_constants, swig_SBBreakpoint_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBreakpoint_bases[] = {0}; 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); } 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; } 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); } result = ((lldb::SBBreakpointList const *)arg1)->GetSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (size_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Append((lldb::SBBreakpoint const &)*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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_tonumber(L, 2); (arg1)->AppendByID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBBreakpointList(void *obj) { lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) obj; delete arg1; } static int _proxy__wrap_new_SBBreakpointList(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBreakpointList); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBreakpointList_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBreakpointList_methods[]= { { "GetSize", _wrap_SBBreakpointList_GetSize}, { "GetBreakpointAtIndex", _wrap_SBBreakpointList_GetBreakpointAtIndex}, { "FindBreakpointByID", _wrap_SBBreakpointList_FindBreakpointByID}, { "Append", _wrap_SBBreakpointList_Append}, { "AppendIfUnique", _wrap_SBBreakpointList_AppendIfUnique}, { "AppendByID", _wrap_SBBreakpointList_AppendByID}, { "Clear", _wrap_SBBreakpointList_Clear}, {0,0} }; static swig_lua_method swig_SBBreakpointList_meta[] = { {0,0} }; static swig_lua_attribute swig_SBBreakpointList_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBreakpointList_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBreakpointList_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBBreakpointList_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBreakpointList_Sf_SwigStatic = { "SBBreakpointList", swig_SBBreakpointList_Sf_SwigStatic_methods, swig_SBBreakpointList_Sf_SwigStatic_attributes, swig_SBBreakpointList_Sf_SwigStatic_constants, swig_SBBreakpointList_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBreakpointList_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBBreakpointLocation(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBBreakpointLocation__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBBreakpointLocation__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpointLocation'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpointLocation::SBBreakpointLocation()\n" " lldb::SBBreakpointLocation::SBBreakpointLocation(lldb::SBBreakpointLocation const &)\n"); lua_error(L);return 0; } 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); } result = (lldb::break_id_t)(arg1)->GetID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)(arg1)->GetLoadAddress(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetEnabled(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (uint32_t)(arg1)->GetHitCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetIgnoreCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetIgnoreCount(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAutoContinue(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpointLocation_SetScriptCallbackFunction'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpointLocation::SetScriptCallbackFunction(char const *)\n" " lldb::SBBreakpointLocation::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetCommandLineCommands(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetThreadID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::tid_t)(arg1)->GetThreadID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetThreadIndex(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBreakpointLocation const *)arg1)->GetThreadIndex(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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_isnumber(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)(int)lua_tonumber(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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::__str__",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___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; } static void swig_delete_SBBreakpointLocation(void *obj) { lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) obj; delete arg1; } static int _proxy__wrap_new_SBBreakpointLocation(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBreakpointLocation); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBreakpointLocation_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBreakpointLocation_methods[]= { { "GetID", _wrap_SBBreakpointLocation_GetID}, { "IsValid", _wrap_SBBreakpointLocation_IsValid}, { "GetAddress", _wrap_SBBreakpointLocation_GetAddress}, { "GetLoadAddress", _wrap_SBBreakpointLocation_GetLoadAddress}, { "SetEnabled", _wrap_SBBreakpointLocation_SetEnabled}, { "IsEnabled", _wrap_SBBreakpointLocation_IsEnabled}, { "GetHitCount", _wrap_SBBreakpointLocation_GetHitCount}, { "GetIgnoreCount", _wrap_SBBreakpointLocation_GetIgnoreCount}, { "SetIgnoreCount", _wrap_SBBreakpointLocation_SetIgnoreCount}, { "SetCondition", _wrap_SBBreakpointLocation_SetCondition}, { "GetCondition", _wrap_SBBreakpointLocation_GetCondition}, { "GetAutoContinue", _wrap_SBBreakpointLocation_GetAutoContinue}, { "SetAutoContinue", _wrap_SBBreakpointLocation_SetAutoContinue}, { "SetScriptCallbackFunction", _wrap_SBBreakpointLocation_SetScriptCallbackFunction}, { "SetScriptCallbackBody", _wrap_SBBreakpointLocation_SetScriptCallbackBody}, { "SetCommandLineCommands", _wrap_SBBreakpointLocation_SetCommandLineCommands}, { "GetCommandLineCommands", _wrap_SBBreakpointLocation_GetCommandLineCommands}, { "SetThreadID", _wrap_SBBreakpointLocation_SetThreadID}, { "GetThreadID", _wrap_SBBreakpointLocation_GetThreadID}, { "SetThreadIndex", _wrap_SBBreakpointLocation_SetThreadIndex}, { "GetThreadIndex", _wrap_SBBreakpointLocation_GetThreadIndex}, { "SetThreadName", _wrap_SBBreakpointLocation_SetThreadName}, { "GetThreadName", _wrap_SBBreakpointLocation_GetThreadName}, { "SetQueueName", _wrap_SBBreakpointLocation_SetQueueName}, { "GetQueueName", _wrap_SBBreakpointLocation_GetQueueName}, { "IsResolved", _wrap_SBBreakpointLocation_IsResolved}, { "GetDescription", _wrap_SBBreakpointLocation_GetDescription}, { "GetBreakpoint", _wrap_SBBreakpointLocation_GetBreakpoint}, { "__tostring", _wrap_SBBreakpointLocation___tostring}, {0,0} }; static swig_lua_method swig_SBBreakpointLocation_meta[] = { { "__tostring", _wrap_SBBreakpointLocation___tostring}, {0,0} }; static swig_lua_attribute swig_SBBreakpointLocation_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBreakpointLocation_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBreakpointLocation_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBBreakpointLocation_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBreakpointLocation_Sf_SwigStatic = { "SBBreakpointLocation", swig_SBBreakpointLocation_Sf_SwigStatic_methods, swig_SBBreakpointLocation_Sf_SwigStatic_attributes, swig_SBBreakpointLocation_Sf_SwigStatic_constants, swig_SBBreakpointLocation_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBreakpointLocation_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } static int _wrap_new_SBBreakpointName(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBBreakpointName__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBBreakpointName__SWIG_3(L); } } if (argc == 2) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_new_SBBreakpointName__SWIG_2(L); } } } if (argc == 2) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_new_SBBreakpointName__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpointName'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpointName::SBBreakpointName()\n" " lldb::SBBreakpointName::SBBreakpointName(lldb::SBTarget &,char const *)\n" " lldb::SBBreakpointName::SBBreakpointName(lldb::SBBreakpoint &,char const *)\n" " lldb::SBBreakpointName::SBBreakpointName(lldb::SBBreakpointName const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetEnabled(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetOneShot(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetIgnoreCount(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetIgnoreCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAutoContinue(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetThreadID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::tid_t)(arg1)->GetThreadID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetThreadIndex(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetThreadIndex(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpointName_SetScriptCallbackFunction'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBreakpointName::SetScriptCallbackFunction(char const *)\n" " lldb::SBBreakpointName::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n"); lua_error(L);return 0; } 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); } (arg1)->SetCommandLineCommands(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAllowList(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAllowDelete(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAllowDisable(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::__str__",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___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; } static void swig_delete_SBBreakpointName(void *obj) { lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) obj; delete arg1; } static int _proxy__wrap_new_SBBreakpointName(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBreakpointName); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBreakpointName_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBreakpointName_methods[]= { { "__eq", _wrap_SBBreakpointName___eq}, { "IsValid", _wrap_SBBreakpointName_IsValid}, { "GetName", _wrap_SBBreakpointName_GetName}, { "SetEnabled", _wrap_SBBreakpointName_SetEnabled}, { "IsEnabled", _wrap_SBBreakpointName_IsEnabled}, { "SetOneShot", _wrap_SBBreakpointName_SetOneShot}, { "IsOneShot", _wrap_SBBreakpointName_IsOneShot}, { "SetIgnoreCount", _wrap_SBBreakpointName_SetIgnoreCount}, { "GetIgnoreCount", _wrap_SBBreakpointName_GetIgnoreCount}, { "SetCondition", _wrap_SBBreakpointName_SetCondition}, { "GetCondition", _wrap_SBBreakpointName_GetCondition}, { "SetAutoContinue", _wrap_SBBreakpointName_SetAutoContinue}, { "GetAutoContinue", _wrap_SBBreakpointName_GetAutoContinue}, { "SetThreadID", _wrap_SBBreakpointName_SetThreadID}, { "GetThreadID", _wrap_SBBreakpointName_GetThreadID}, { "SetThreadIndex", _wrap_SBBreakpointName_SetThreadIndex}, { "GetThreadIndex", _wrap_SBBreakpointName_GetThreadIndex}, { "SetThreadName", _wrap_SBBreakpointName_SetThreadName}, { "GetThreadName", _wrap_SBBreakpointName_GetThreadName}, { "SetQueueName", _wrap_SBBreakpointName_SetQueueName}, { "GetQueueName", _wrap_SBBreakpointName_GetQueueName}, { "SetScriptCallbackFunction", _wrap_SBBreakpointName_SetScriptCallbackFunction}, { "SetCommandLineCommands", _wrap_SBBreakpointName_SetCommandLineCommands}, { "GetCommandLineCommands", _wrap_SBBreakpointName_GetCommandLineCommands}, { "SetScriptCallbackBody", _wrap_SBBreakpointName_SetScriptCallbackBody}, { "GetHelpString", _wrap_SBBreakpointName_GetHelpString}, { "SetHelpString", _wrap_SBBreakpointName_SetHelpString}, { "GetAllowList", _wrap_SBBreakpointName_GetAllowList}, { "SetAllowList", _wrap_SBBreakpointName_SetAllowList}, { "GetAllowDelete", _wrap_SBBreakpointName_GetAllowDelete}, { "SetAllowDelete", _wrap_SBBreakpointName_SetAllowDelete}, { "GetAllowDisable", _wrap_SBBreakpointName_GetAllowDisable}, { "SetAllowDisable", _wrap_SBBreakpointName_SetAllowDisable}, { "GetDescription", _wrap_SBBreakpointName_GetDescription}, { "__tostring", _wrap_SBBreakpointName___tostring}, {0,0} }; static swig_lua_method swig_SBBreakpointName_meta[] = { { "__eq", _wrap_SBBreakpointName___eq}, { "__tostring", _wrap_SBBreakpointName___tostring}, {0,0} }; static swig_lua_attribute swig_SBBreakpointName_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBreakpointName_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBreakpointName_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBBreakpointName_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBreakpointName_Sf_SwigStatic = { "SBBreakpointName", swig_SBBreakpointName_Sf_SwigStatic_methods, swig_SBBreakpointName_Sf_SwigStatic_attributes, swig_SBBreakpointName_Sf_SwigStatic_constants, swig_SBBreakpointName_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBreakpointName_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBBroadcaster(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBBroadcaster__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBBroadcaster__SWIG_2(L); } } if (argc == 1) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { return _wrap_new_SBBroadcaster__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBroadcaster'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBroadcaster::SBBroadcaster()\n" " lldb::SBBroadcaster::SBBroadcaster(char const *)\n" " lldb::SBBroadcaster::SBBroadcaster(lldb::SBBroadcaster const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->BroadcastEventByType(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBroadcaster_BroadcastEventByType(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBBroadcaster_BroadcastEventByType__SWIG_1(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBBroadcaster_BroadcastEventByType__SWIG_0(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_BroadcastEventByType'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBroadcaster::BroadcastEventByType(uint32_t,bool)\n" " lldb::SBBroadcaster::BroadcastEventByType(uint32_t)\n"); lua_error(L);return 0; } 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); } 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; } 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); } (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBroadcaster_BroadcastEvent__SWIG_1(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBBroadcaster_BroadcastEvent__SWIG_0(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_BroadcastEvent'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBroadcaster::BroadcastEvent(lldb::SBEvent const &,bool)\n" " lldb::SBBroadcaster::BroadcastEvent(lldb::SBEvent const &)\n"); lua_error(L);return 0; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); (arg1)->AddInitialEventsToListener((lldb::SBListener const &)*arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); result = (uint32_t)(arg1)->AddListener((lldb::SBListener const &)*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(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; } 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); } 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; } static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBBroadcaster_RemoveListener__SWIG_1(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_SBBroadcaster_RemoveListener__SWIG_0(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_RemoveListener'\n" " Possible C/C++ prototypes are:\n" " lldb::SBBroadcaster::RemoveListener(lldb::SBListener const &,uint32_t)\n" " lldb::SBBroadcaster::RemoveListener(lldb::SBListener const &)\n"); lua_error(L);return 0; } 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); } 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; } static void swig_delete_SBBroadcaster(void *obj) { lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) obj; delete arg1; } static int _proxy__wrap_new_SBBroadcaster(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBBroadcaster); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBBroadcaster_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBBroadcaster_methods[]= { { "IsValid", _wrap_SBBroadcaster_IsValid}, { "Clear", _wrap_SBBroadcaster_Clear}, { "BroadcastEventByType", _wrap_SBBroadcaster_BroadcastEventByType}, { "BroadcastEvent", _wrap_SBBroadcaster_BroadcastEvent}, { "AddInitialEventsToListener", _wrap_SBBroadcaster_AddInitialEventsToListener}, { "AddListener", _wrap_SBBroadcaster_AddListener}, { "GetName", _wrap_SBBroadcaster_GetName}, { "EventTypeHasListeners", _wrap_SBBroadcaster_EventTypeHasListeners}, { "RemoveListener", _wrap_SBBroadcaster_RemoveListener}, { "__eq", _wrap_SBBroadcaster___eq}, {0,0} }; static swig_lua_method swig_SBBroadcaster_meta[] = { { "__eq", _wrap_SBBroadcaster___eq}, {0,0} }; static swig_lua_attribute swig_SBBroadcaster_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBBroadcaster_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBBroadcaster_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBBroadcaster_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBBroadcaster_Sf_SwigStatic = { "SBBroadcaster", swig_SBBroadcaster_Sf_SwigStatic_methods, swig_SBBroadcaster_Sf_SwigStatic_attributes, swig_SBBroadcaster_Sf_SwigStatic_constants, swig_SBBroadcaster_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBBroadcaster_bases[] = {0}; 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); } 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; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,"lldb::CommandArgumentType const"); arg1 = (lldb::CommandArgumentType const)(int)lua_tonumber(L, 1); result = (char *)lldb::SBCommandInterpreter::GetArgumentTypeAsCString(arg1); lua_pushstring(L,(const char *)result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,"lldb::CommandArgumentType const"); arg1 = (lldb::CommandArgumentType const)(int)lua_tonumber(L, 1); result = (char *)lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString(arg1); lua_pushstring(L,(const char *)result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetPromptOnQuit(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->AllowExitCodeOnQuit(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (int)(arg1)->GetQuitStatus(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->ResolveCommand((char const *)arg2,*arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SourceInitFileInHomeDirectory(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SourceInitFileInCurrentWorkingDirectory(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg4 = (lua_toboolean(L, 4)!=0); result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,arg4); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg5 = (lua_toboolean(L, 5)!=0); result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4,arg5); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) { int argc; int argv[6]={ 1,2,3,4,5,6 }; argc = lua_gettop(L); if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandInterpreter_HandleCommand__SWIG_1(L); } } } } if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { return _wrap_SBCommandInterpreter_HandleCommand__SWIG_0(L); } } } } } if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandInterpreter_HandleCommand__SWIG_3(L); } } } } } if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { return _wrap_SBCommandInterpreter_HandleCommand__SWIG_2(L); } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandInterpreter_HandleCommand'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBCommandReturnObject &,bool)\n" " lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBCommandReturnObject &)\n" " lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBExecutionContext &,lldb::SBCommandReturnObject &,bool)\n" " lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBExecutionContext &,lldb::SBCommandReturnObject &)\n"); lua_error(L);return 0; } 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); } arg5 = *argp5; (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,arg5); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",3,"uint32_t"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",4,"int"); if(!lua_isnumber(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); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); arg4 = (int)lua_tonumber(L, 4); arg5 = (int)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",3,"uint32_t"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",4,"int"); if(!lua_isnumber(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); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); arg4 = (int)lua_tonumber(L, 4); arg5 = (int)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } static void swig_delete_SBCommandInterpreter(void *obj) { lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) obj; delete arg1; } static int _proxy__wrap_new_SBCommandInterpreter(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBCommandInterpreter); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBCommandInterpreter_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBCommandInterpreter_methods[]= { { "IsValid", _wrap_SBCommandInterpreter_IsValid}, { "GetIOHandlerControlSequence", _wrap_SBCommandInterpreter_GetIOHandlerControlSequence}, { "GetPromptOnQuit", _wrap_SBCommandInterpreter_GetPromptOnQuit}, { "SetPromptOnQuit", _wrap_SBCommandInterpreter_SetPromptOnQuit}, { "AllowExitCodeOnQuit", _wrap_SBCommandInterpreter_AllowExitCodeOnQuit}, { "HasCustomQuitExitCode", _wrap_SBCommandInterpreter_HasCustomQuitExitCode}, { "GetQuitStatus", _wrap_SBCommandInterpreter_GetQuitStatus}, { "ResolveCommand", _wrap_SBCommandInterpreter_ResolveCommand}, { "CommandExists", _wrap_SBCommandInterpreter_CommandExists}, { "AliasExists", _wrap_SBCommandInterpreter_AliasExists}, { "GetBroadcaster", _wrap_SBCommandInterpreter_GetBroadcaster}, { "HasCommands", _wrap_SBCommandInterpreter_HasCommands}, { "HasAliases", _wrap_SBCommandInterpreter_HasAliases}, { "HasAliasOptions", _wrap_SBCommandInterpreter_HasAliasOptions}, { "GetProcess", _wrap_SBCommandInterpreter_GetProcess}, { "GetDebugger", _wrap_SBCommandInterpreter_GetDebugger}, { "SourceInitFileInHomeDirectory", _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory}, { "SourceInitFileInCurrentWorkingDirectory", _wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory}, { "HandleCommand", _wrap_SBCommandInterpreter_HandleCommand}, { "HandleCommandsFromFile", _wrap_SBCommandInterpreter_HandleCommandsFromFile}, { "HandleCompletion", _wrap_SBCommandInterpreter_HandleCompletion}, { "HandleCompletionWithDescriptions", _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions}, { "IsActive", _wrap_SBCommandInterpreter_IsActive}, { "WasInterrupted", _wrap_SBCommandInterpreter_WasInterrupted}, {0,0} }; static swig_lua_method swig_SBCommandInterpreter_meta[] = { {0,0} }; static swig_lua_attribute swig_SBCommandInterpreter_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBCommandInterpreter_Sf_SwigStatic_constants[]= { {SWIG_LUA_CONSTTAB_INT("eBroadcastBitThreadShouldExit", lldb::SBCommandInterpreter::eBroadcastBitThreadShouldExit)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitResetPrompt", lldb::SBCommandInterpreter::eBroadcastBitResetPrompt)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitQuitCommandReceived", lldb::SBCommandInterpreter::eBroadcastBitQuitCommandReceived)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitAsynchronousOutputData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousOutputData)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitAsynchronousErrorData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousErrorData)}, {0,0,0,0,0,0} }; static swig_lua_method swig_SBCommandInterpreter_Sf_SwigStatic_methods[]= { { "GetArgumentTypeAsCString", _wrap_SBCommandInterpreter_GetArgumentTypeAsCString}, { "GetArgumentDescriptionAsCString", _wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString}, { "EventIsCommandInterpreterEvent", _wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent}, { "GetBroadcasterClass", _wrap_SBCommandInterpreter_GetBroadcasterClass}, {0,0} }; static swig_lua_class* swig_SBCommandInterpreter_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBCommandInterpreter_Sf_SwigStatic = { "SBCommandInterpreter", swig_SBCommandInterpreter_Sf_SwigStatic_methods, swig_SBCommandInterpreter_Sf_SwigStatic_attributes, swig_SBCommandInterpreter_Sf_SwigStatic_constants, swig_SBCommandInterpreter_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBCommandInterpreter_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetStopOnContinue(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetStopOnError(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetStopOnCrash(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetEchoCommands(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetPrintResults(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAddToHistory(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBCommandInterpreterRunOptions(void *obj) { lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) obj; delete arg1; } static int _proxy__wrap_new_SBCommandInterpreterRunOptions(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBCommandInterpreterRunOptions); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBCommandInterpreterRunOptions_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBCommandInterpreterRunOptions_methods[]= { { "GetStopOnContinue", _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue}, { "SetStopOnContinue", _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue}, { "GetStopOnError", _wrap_SBCommandInterpreterRunOptions_GetStopOnError}, { "SetStopOnError", _wrap_SBCommandInterpreterRunOptions_SetStopOnError}, { "GetStopOnCrash", _wrap_SBCommandInterpreterRunOptions_GetStopOnCrash}, { "SetStopOnCrash", _wrap_SBCommandInterpreterRunOptions_SetStopOnCrash}, { "GetEchoCommands", _wrap_SBCommandInterpreterRunOptions_GetEchoCommands}, { "SetEchoCommands", _wrap_SBCommandInterpreterRunOptions_SetEchoCommands}, { "GetPrintResults", _wrap_SBCommandInterpreterRunOptions_GetPrintResults}, { "SetPrintResults", _wrap_SBCommandInterpreterRunOptions_SetPrintResults}, { "GetAddToHistory", _wrap_SBCommandInterpreterRunOptions_GetAddToHistory}, { "SetAddToHistory", _wrap_SBCommandInterpreterRunOptions_SetAddToHistory}, {0,0} }; static swig_lua_method swig_SBCommandInterpreterRunOptions_meta[] = { {0,0} }; static swig_lua_attribute swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBCommandInterpreterRunOptions_Sf_SwigStatic = { "SBCommandInterpreterRunOptions", swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_methods, swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_attributes, swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_constants, swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBCommandInterpreterRunOptions_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBCommandReturnObject(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBCommandReturnObject__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBCommandReturnObject__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommandReturnObject'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::SBCommandReturnObject()\n" " lldb::SBCommandReturnObject::SBCommandReturnObject(lldb::SBCommandReturnObject const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } result = (arg1)->GetOutputSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (arg1)->GetErrorSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_SBCommandReturnObject_GetOutput(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_GetOutput__SWIG_0(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBCommandReturnObject_GetOutput__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_GetOutput'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::GetOutput()\n" " lldb::SBCommandReturnObject::GetOutput(bool)\n"); lua_error(L);return 0; } 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); } 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; } static int _wrap_SBCommandReturnObject_GetError(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_GetError__SWIG_0(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBCommandReturnObject_GetError__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_GetError'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::GetError()\n" " lldb::SBCommandReturnObject::GetError(bool)\n"); lua_error(L);return 0; } 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); } arg2 = *argp2; result = (arg1)->PutOutput(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; result = (arg1)->PutError(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_PutOutput",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; result = (arg1)->PutOutput(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCommandReturnObject_PutOutput(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_PutOutput__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_PutOutput__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_PutOutput'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::PutOutput(lldb::SBFile)\n" " lldb::SBCommandReturnObject::PutOutput(lldb::FileSP)\n"); lua_error(L);return 0; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_PutError",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; result = (arg1)->PutError(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCommandReturnObject_PutError(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_PutError__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_PutError__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_PutError'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::PutError(lldb::SBFile)\n" " lldb::SBCommandReturnObject::PutError(lldb::FileSP)\n"); lua_error(L);return 0; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(L, 2); (arg1)->SetStatus(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } (arg1)->SetError(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_SBCommandReturnObject_SetError(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_SetError__SWIG_1(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBCommandReturnObject_SetError__SWIG_2(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { return _wrap_SBCommandReturnObject_SetError__SWIG_0(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetError'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::SetError(lldb::SBError &,char const *)\n" " lldb::SBCommandReturnObject::SetError(lldb::SBError &)\n" " lldb::SBCommandReturnObject::SetError(char const *)\n"); lua_error(L);return 0; } 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); } result = (lldb::ReturnStatus)(arg1)->GetStatus(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = *argp2; (arg1)->SetImmediateOutputFile(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; (arg1)->SetImmediateErrorFile(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; (arg1)->SetImmediateOutputFile(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; (arg1)->SetImmediateErrorFile(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::__str__",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___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; } 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 ; lldb::FileSP *argp2 ; 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_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,"lldb::FileSP"); 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); } if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; 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; } static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetImmediateOutputFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::SBFile)\n" " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP)\n" " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP,bool)\n"); lua_error(L);return 0; } 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 ; lldb::FileSP *argp2 ; 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_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,"lldb::FileSP"); 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); } if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; 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; } static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetImmediateErrorFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::SBFile)\n" " lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::FileSP)\n" " lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::FileSP,bool)\n"); lua_error(L);return 0; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",1,"lldb::SBCommandReturnObject *"); if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",2,"char const *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",3,"int"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){ SWIG_fail_ptr("SBCommandReturnObject_PutCString",1,SWIGTYPE_p_lldb__SBCommandReturnObject); } arg2 = (char *)lua_tostring(L, 2); arg3 = (int)lua_tonumber(L, 3); (arg1)->PutCString((char const *)arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } static void swig_delete_SBCommandReturnObject(void *obj) { lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) obj; delete arg1; } static int _proxy__wrap_new_SBCommandReturnObject(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBCommandReturnObject); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBCommandReturnObject_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBCommandReturnObject_methods[]= { { "IsValid", _wrap_SBCommandReturnObject_IsValid}, { "GetOutputSize", _wrap_SBCommandReturnObject_GetOutputSize}, { "GetErrorSize", _wrap_SBCommandReturnObject_GetErrorSize}, { "GetOutput", _wrap_SBCommandReturnObject_GetOutput}, { "GetError", _wrap_SBCommandReturnObject_GetError}, { "PutOutput", _wrap_SBCommandReturnObject_PutOutput}, { "PutError", _wrap_SBCommandReturnObject_PutError}, { "Clear", _wrap_SBCommandReturnObject_Clear}, { "SetStatus", _wrap_SBCommandReturnObject_SetStatus}, { "SetError", _wrap_SBCommandReturnObject_SetError}, { "GetStatus", _wrap_SBCommandReturnObject_GetStatus}, { "Succeeded", _wrap_SBCommandReturnObject_Succeeded}, { "HasResult", _wrap_SBCommandReturnObject_HasResult}, { "AppendMessage", _wrap_SBCommandReturnObject_AppendMessage}, { "AppendWarning", _wrap_SBCommandReturnObject_AppendWarning}, { "GetDescription", _wrap_SBCommandReturnObject_GetDescription}, { "__tostring", _wrap_SBCommandReturnObject___tostring}, { "SetImmediateOutputFile", _wrap_SBCommandReturnObject_SetImmediateOutputFile}, { "SetImmediateErrorFile", _wrap_SBCommandReturnObject_SetImmediateErrorFile}, { "PutCString", _wrap_SBCommandReturnObject_PutCString}, { "Print", _wrap_SBCommandReturnObject_Print}, {0,0} }; static swig_lua_method swig_SBCommandReturnObject_meta[] = { { "__tostring", _wrap_SBCommandReturnObject___tostring}, {0,0} }; static swig_lua_attribute swig_SBCommandReturnObject_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBCommandReturnObject_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBCommandReturnObject_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBCommandReturnObject_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBCommandReturnObject_Sf_SwigStatic = { "SBCommandReturnObject", swig_SBCommandReturnObject_Sf_SwigStatic_methods, swig_SBCommandReturnObject_Sf_SwigStatic_attributes, swig_SBCommandReturnObject_Sf_SwigStatic_constants, swig_SBCommandReturnObject_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBCommandReturnObject_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } static int _wrap_new_SBCommunication(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBCommunication__SWIG_0(L); } if (argc == 1) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { return _wrap_new_SBCommunication__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommunication'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCommunication::SBCommunication()\n" " lldb::SBCommunication::SBCommunication(char const *)\n"); lua_error(L);return 0; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 2); arg3 = (lua_toboolean(L, 3)!=0); result = (lldb::ConnectionStatus)(arg1)->AdoptFileDesriptor(arg2,arg3); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (char *)lua_tostring(L, 2); result = (lldb::ConnectionStatus)(arg1)->Connect((char const *)arg2); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::ConnectionStatus)(arg1)->Disconnect(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetCloseOnEOF(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBCommunication::Read",3,"size_t"); if(!lua_isnumber(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"); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (uint32_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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"); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } static void swig_delete_SBCommunication(void *obj) { lldb::SBCommunication *arg1 = (lldb::SBCommunication *) obj; delete arg1; } static int _proxy__wrap_new_SBCommunication(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBCommunication); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBCommunication_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBCommunication_methods[]= { { "IsValid", _wrap_SBCommunication_IsValid}, { "GetBroadcaster", _wrap_SBCommunication_GetBroadcaster}, { "AdoptFileDesriptor", _wrap_SBCommunication_AdoptFileDesriptor}, { "Connect", _wrap_SBCommunication_Connect}, { "Disconnect", _wrap_SBCommunication_Disconnect}, { "IsConnected", _wrap_SBCommunication_IsConnected}, { "GetCloseOnEOF", _wrap_SBCommunication_GetCloseOnEOF}, { "SetCloseOnEOF", _wrap_SBCommunication_SetCloseOnEOF}, { "Read", _wrap_SBCommunication_Read}, { "Write", _wrap_SBCommunication_Write}, { "ReadThreadStart", _wrap_SBCommunication_ReadThreadStart}, { "ReadThreadStop", _wrap_SBCommunication_ReadThreadStop}, { "ReadThreadIsRunning", _wrap_SBCommunication_ReadThreadIsRunning}, { "SetReadThreadBytesReceivedCallback", _wrap_SBCommunication_SetReadThreadBytesReceivedCallback}, {0,0} }; static swig_lua_method swig_SBCommunication_meta[] = { {0,0} }; static swig_lua_attribute swig_SBCommunication_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBCommunication_Sf_SwigStatic_constants[]= { {SWIG_LUA_CONSTTAB_INT("eBroadcastBitDisconnected", lldb::SBCommunication::eBroadcastBitDisconnected)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadGotBytes", lldb::SBCommunication::eBroadcastBitReadThreadGotBytes)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadDidExit", lldb::SBCommunication::eBroadcastBitReadThreadDidExit)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadShouldExit", lldb::SBCommunication::eBroadcastBitReadThreadShouldExit)}, {SWIG_LUA_CONSTTAB_INT("eBroadcastBitPacketAvailable", lldb::SBCommunication::eBroadcastBitPacketAvailable)}, {SWIG_LUA_CONSTTAB_INT("eAllEventBits", lldb::SBCommunication::eAllEventBits)}, {0,0,0,0,0,0} }; static swig_lua_method swig_SBCommunication_Sf_SwigStatic_methods[]= { { "GetBroadcasterClass", _wrap_SBCommunication_GetBroadcasterClass}, {0,0} }; static swig_lua_class* swig_SBCommunication_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBCommunication_Sf_SwigStatic = { "SBCommunication", swig_SBCommunication_Sf_SwigStatic_methods, swig_SBCommunication_Sf_SwigStatic_attributes, swig_SBCommunication_Sf_SwigStatic_constants, swig_SBCommunication_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBCommunication_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBCompileUnit(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBCompileUnit__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBCompileUnit__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCompileUnit'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCompileUnit::SBCompileUnit()\n" " lldb::SBCompileUnit::SBCompileUnit(lldb::SBCompileUnit const &)\n"); lua_error(L);return 0; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumLineEntries(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(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_isnumber(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); if(!lua_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(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_isnumber(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t"); if(!lua_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) { int argc; int argv[6]={ 1,2,3,4,5,6 }; argc = lua_gettop(L); if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { { void *ptr; if (SWIG_isptrtype(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(L); } } } } } if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { { void *ptr; if (SWIG_isptrtype(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(L); } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCompileUnit_FindLineEntryIndex'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCompileUnit::FindLineEntryIndex(uint32_t,uint32_t,lldb::SBFileSpec *) const\n" " lldb::SBCompileUnit::FindLineEntryIndex(uint32_t,uint32_t,lldb::SBFileSpec *,bool) const\n"); lua_error(L);return 0; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumSupportFiles(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBCompileUnit_GetTypes(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBCompileUnit_GetTypes__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBCompileUnit_GetTypes__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCompileUnit_GetTypes'\n" " Possible C/C++ prototypes are:\n" " lldb::SBCompileUnit::GetTypes(uint32_t)\n" " lldb::SBCompileUnit::GetTypes()\n"); lua_error(L);return 0; } 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); } result = (lldb::LanguageType)(arg1)->GetLanguage(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::__str__",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___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; } static void swig_delete_SBCompileUnit(void *obj) { lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) obj; delete arg1; } static int _proxy__wrap_new_SBCompileUnit(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBCompileUnit); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBCompileUnit_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBCompileUnit_methods[]= { { "IsValid", _wrap_SBCompileUnit_IsValid}, { "GetFileSpec", _wrap_SBCompileUnit_GetFileSpec}, { "GetNumLineEntries", _wrap_SBCompileUnit_GetNumLineEntries}, { "GetLineEntryAtIndex", _wrap_SBCompileUnit_GetLineEntryAtIndex}, { "FindLineEntryIndex", _wrap_SBCompileUnit_FindLineEntryIndex}, { "GetSupportFileAtIndex", _wrap_SBCompileUnit_GetSupportFileAtIndex}, { "GetNumSupportFiles", _wrap_SBCompileUnit_GetNumSupportFiles}, { "FindSupportFileIndex", _wrap_SBCompileUnit_FindSupportFileIndex}, { "GetTypes", _wrap_SBCompileUnit_GetTypes}, { "GetLanguage", _wrap_SBCompileUnit_GetLanguage}, { "GetDescription", _wrap_SBCompileUnit_GetDescription}, { "__eq", _wrap_SBCompileUnit___eq}, { "__tostring", _wrap_SBCompileUnit___tostring}, {0,0} }; static swig_lua_method swig_SBCompileUnit_meta[] = { { "__eq", _wrap_SBCompileUnit___eq}, { "__tostring", _wrap_SBCompileUnit___tostring}, {0,0} }; static swig_lua_attribute swig_SBCompileUnit_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBCompileUnit_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBCompileUnit_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBCompileUnit_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBCompileUnit_Sf_SwigStatic = { "SBCompileUnit", swig_SBCompileUnit_Sf_SwigStatic_methods, swig_SBCompileUnit_Sf_SwigStatic_attributes, swig_SBCompileUnit_Sf_SwigStatic_constants, swig_SBCompileUnit_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBCompileUnit_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBData(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBData__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBData__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBData'\n" " Possible C/C++ prototypes are:\n" " lldb::SBData::SBData()\n" " lldb::SBData::SBData(lldb::SBData const &)\n"); lua_error(L);return 0; } 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); } result = (uint8_t)(arg1)->GetAddressByteSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint8_t)lua_tonumber(L, 2); (arg1)->SetAddressByteSize(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (arg1)->GetByteSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::ByteOrder)(arg1)->GetByteOrder(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(L, 2); (arg1)->SetByteOrder(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; } 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_isnumber(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_tonumber(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; } 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_isnumber(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_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (lldb::addr_t)(arg1)->GetAddress(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (uint8_t)(arg1)->GetUnsignedInt8(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (uint16_t)(arg1)->GetUnsignedInt16(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (uint32_t)(arg1)->GetUnsignedInt32(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (uint64_t)(arg1)->GetUnsignedInt64(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (int8_t)(arg1)->GetSignedInt8(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (int16_t)(arg1)->GetSignedInt16(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (int32_t)(arg1)->GetSignedInt32(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(L, 3); result = (int64_t)(arg1)->GetSignedInt64(*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; } 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_isnumber(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_tonumber(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; } 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",5,5) 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::ReadRawData",3,"lldb::offset_t"); if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBData::ReadRawData",4,"void *"); if(!lua_isnumber(L,5)) SWIG_fail_arg("lldb::SBData::ReadRawData",5,"size_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_tonumber(L, 3); arg4=(void *)SWIG_MustGetPtr(L,4,0,0,4,"SBData_ReadRawData"); SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative") arg5 = (size_t)lua_tonumber(L, 5); result = (arg1)->ReadRawData(*arg2,arg3,arg4,arg5); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",6,6) 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(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::SetData",3,"void const *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::SetData",4,"size_t"); if(!lua_isnumber(L,5)) SWIG_fail_arg("lldb::SBData::SetData",5,"lldb::ByteOrder"); if(!lua_isnumber(L,6)) SWIG_fail_arg("lldb::SBData::SetData",6,"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 *)SWIG_MustGetPtr(L,3,0,0,3,"SBData_SetData"); SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); arg5 = (lldb::ByteOrder)(int)lua_tonumber(L, 5); SWIG_contract_assert((lua_tonumber(L,6)>=0),"number must not be negative") arg6 = (uint8_t)lua_tonumber(L, 6); (arg1)->SetData(*arg2,(void const *)arg3,arg4,arg5,arg6); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",1,"lldb::ByteOrder"); if(!lua_isnumber(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)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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: lua_error(L); return SWIG_arg; } 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",4,4) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",1,"lldb::ByteOrder"); if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",2,"uint32_t"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",3,"uint64_t *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",4,"size_t"); arg1 = (lldb::ByteOrder)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_unsigned_long_long,0))){ SWIG_fail_ptr("SBData_CreateDataFromUInt64Array",3,SWIGTYPE_p_unsigned_long_long); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",4,4) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",1,"lldb::ByteOrder"); if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",2,"uint32_t"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",3,"uint32_t *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",4,"size_t"); arg1 = (lldb::ByteOrder)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_unsigned_int,0))){ SWIG_fail_ptr("SBData_CreateDataFromUInt32Array",3,SWIGTYPE_p_unsigned_int); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",4,4) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",1,"lldb::ByteOrder"); if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",2,"uint32_t"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",3,"int64_t *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",4,"size_t"); arg1 = (lldb::ByteOrder)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_long_long,0))){ SWIG_fail_ptr("SBData_CreateDataFromSInt64Array",3,SWIGTYPE_p_long_long); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",4,4) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",1,"lldb::ByteOrder"); if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",2,"uint32_t"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",3,"int32_t *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",4,"size_t"); arg1 = (lldb::ByteOrder)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_int,0))){ SWIG_fail_ptr("SBData_CreateDataFromSInt32Array",3,SWIGTYPE_p_int); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",4,4) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",1,"lldb::ByteOrder"); if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",2,"uint32_t"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",3,"double *"); if(!lua_isnumber(L,4)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",4,"size_t"); arg1 = (lldb::ByteOrder)(int)lua_tonumber(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_double,0))){ SWIG_fail_ptr("SBData_CreateDataFromDoubleArray",3,SWIGTYPE_p_double); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (size_t)lua_tonumber(L, 4); 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",1,"lldb::SBData *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",2,"uint64_t *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",3,"size_t"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_long_long,0))){ SWIG_fail_ptr("SBData_SetDataFromUInt64Array",2,SWIGTYPE_p_unsigned_long_long); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (bool)(arg1)->SetDataFromUInt64Array(arg2,arg3); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",1,"lldb::SBData *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",2,"uint32_t *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",3,"size_t"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_int,0))){ SWIG_fail_ptr("SBData_SetDataFromUInt32Array",2,SWIGTYPE_p_unsigned_int); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (bool)(arg1)->SetDataFromUInt32Array(arg2,arg3); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",1,"lldb::SBData *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",2,"int64_t *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",3,"size_t"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_long_long,0))){ SWIG_fail_ptr("SBData_SetDataFromSInt64Array",2,SWIGTYPE_p_long_long); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (bool)(arg1)->SetDataFromSInt64Array(arg2,arg3); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",1,"lldb::SBData *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",2,"int32_t *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",3,"size_t"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_int,0))){ SWIG_fail_ptr("SBData_SetDataFromSInt32Array",2,SWIGTYPE_p_int); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (bool)(arg1)->SetDataFromSInt32Array(arg2,arg3); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",1,"lldb::SBData *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",2,"double *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",3,"size_t"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_double,0))){ SWIG_fail_ptr("SBData_SetDataFromDoubleArray",2,SWIGTYPE_p_double); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (bool)(arg1)->SetDataFromDoubleArray(arg2,arg3); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::__str__",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___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; } static void swig_delete_SBData(void *obj) { lldb::SBData *arg1 = (lldb::SBData *) obj; delete arg1; } static int _proxy__wrap_new_SBData(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBData); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBData_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBData_methods[]= { { "GetAddressByteSize", _wrap_SBData_GetAddressByteSize}, { "SetAddressByteSize", _wrap_SBData_SetAddressByteSize}, { "Clear", _wrap_SBData_Clear}, { "IsValid", _wrap_SBData_IsValid}, { "GetByteSize", _wrap_SBData_GetByteSize}, { "GetByteOrder", _wrap_SBData_GetByteOrder}, { "SetByteOrder", _wrap_SBData_SetByteOrder}, { "GetFloat", _wrap_SBData_GetFloat}, { "GetDouble", _wrap_SBData_GetDouble}, { "GetLongDouble", _wrap_SBData_GetLongDouble}, { "GetAddress", _wrap_SBData_GetAddress}, { "GetUnsignedInt8", _wrap_SBData_GetUnsignedInt8}, { "GetUnsignedInt16", _wrap_SBData_GetUnsignedInt16}, { "GetUnsignedInt32", _wrap_SBData_GetUnsignedInt32}, { "GetUnsignedInt64", _wrap_SBData_GetUnsignedInt64}, { "GetSignedInt8", _wrap_SBData_GetSignedInt8}, { "GetSignedInt16", _wrap_SBData_GetSignedInt16}, { "GetSignedInt32", _wrap_SBData_GetSignedInt32}, { "GetSignedInt64", _wrap_SBData_GetSignedInt64}, { "GetString", _wrap_SBData_GetString}, { "GetDescription", _wrap_SBData_GetDescription}, { "ReadRawData", _wrap_SBData_ReadRawData}, { "SetData", _wrap_SBData_SetData}, { "Append", _wrap_SBData_Append}, { "SetDataFromCString", _wrap_SBData_SetDataFromCString}, { "SetDataFromUInt64Array", _wrap_SBData_SetDataFromUInt64Array}, { "SetDataFromUInt32Array", _wrap_SBData_SetDataFromUInt32Array}, { "SetDataFromSInt64Array", _wrap_SBData_SetDataFromSInt64Array}, { "SetDataFromSInt32Array", _wrap_SBData_SetDataFromSInt32Array}, { "SetDataFromDoubleArray", _wrap_SBData_SetDataFromDoubleArray}, { "__tostring", _wrap_SBData___tostring}, {0,0} }; static swig_lua_method swig_SBData_meta[] = { { "__tostring", _wrap_SBData___tostring}, {0,0} }; static swig_lua_attribute swig_SBData_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBData_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBData_Sf_SwigStatic_methods[]= { { "CreateDataFromCString", _wrap_SBData_CreateDataFromCString}, { "CreateDataFromUInt64Array", _wrap_SBData_CreateDataFromUInt64Array}, { "CreateDataFromUInt32Array", _wrap_SBData_CreateDataFromUInt32Array}, { "CreateDataFromSInt64Array", _wrap_SBData_CreateDataFromSInt64Array}, { "CreateDataFromSInt32Array", _wrap_SBData_CreateDataFromSInt32Array}, { "CreateDataFromDoubleArray", _wrap_SBData_CreateDataFromDoubleArray}, {0,0} }; static swig_lua_class* swig_SBData_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBData_Sf_SwigStatic = { "SBData", swig_SBData_Sf_SwigStatic_methods, swig_SBData_Sf_SwigStatic_attributes, swig_SBData_Sf_SwigStatic_constants, swig_SBData_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBData_bases[] = {0}; 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_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: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBDebugger::Create",2,"lldb::LogOutputCallback"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBDebugger::Create",3,"void *"); arg1 = (lua_toboolean(L, 1)!=0); if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_q_const__char_p_void__void,0))){ SWIG_fail_ptr("SBDebugger_Create",2,SWIGTYPE_p_f_p_q_const__char_p_void__void); } arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBDebugger_Create"); 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; } static int _wrap_SBDebugger_Create(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_SBDebugger_Create__SWIG_0(L); } if (argc == 1) { int _v; { _v = lua_isboolean(L,argv[0]); } if (_v) { return _wrap_SBDebugger_Create__SWIG_1(L); } } if (argc == 3) { int _v; { _v = lua_isboolean(L,argv[0]); } if (_v) { { void *ptr; if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_f_p_q_const__char_p_void__void, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, 0, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_Create__SWIG_2(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_Create'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::Create()\n" " lldb::SBDebugger::Create(bool)\n" " lldb::SBDebugger::Create(bool,lldb::LogOutputCallback,void *)\n"); lua_error(L);return 0; } 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); } lldb::SBDebugger::Destroy(*arg1); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBDebugger(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBDebugger__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBDebugger__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBDebugger'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::SBDebugger()\n" " lldb::SBDebugger::SBDebugger(lldb::SBDebugger const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAsync(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SkipLLDBInitFiles(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 * resultptr = new lldb::FileSP((const lldb::FileSP &) result); SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,1); SWIG_arg++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 * resultptr = new lldb::FileSP((const lldb::FileSP &) result); SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,1); SWIG_arg++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 * resultptr = new lldb::FileSP((const lldb::FileSP &) result); SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,1); SWIG_arg++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBDebugger_SetInputFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBDebugger_SetInputFile(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetInputFile__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetInputFile__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetInputFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::SetInputFile(lldb::SBFile)\n" " lldb::SBDebugger::SetInputFile(lldb::FileSP)\n"); lua_error(L);return 0; } 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::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBDebugger_SetOutputFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBDebugger_SetOutputFile(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetOutputFile__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetOutputFile__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetOutputFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::SetOutputFile(lldb::SBFile)\n" " lldb::SBDebugger::SetOutputFile(lldb::FileSP)\n"); lua_error(L);return 0; } 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::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBDebugger_SetErrorFile",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBDebugger_SetErrorFile(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetErrorFile__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_SetErrorFile__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetErrorFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::SetErrorFile(lldb::SBFile)\n" " lldb::SBDebugger::SetErrorFile(lldb::FileSP)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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 ; lldb::FileSP *argp4 ; lldb::FileSP *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::FileSP"); if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",5,"lldb::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBDebugger_HandleProcessEvent",4,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg4 = *argp4; if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBDebugger_HandleProcessEvent",5,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } 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; } static int _wrap_SBDebugger_HandleProcessEvent(lua_State* L) { int argc; int argv[6]={ 1,2,3,4,5,6 }; argc = lua_gettop(L); if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_HandleProcessEvent__SWIG_0(L); } } } } } } if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_HandleProcessEvent__SWIG_1(L); } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_HandleProcessEvent'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::HandleProcessEvent(lldb::SBProcess const &,lldb::SBEvent const &,lldb::SBFile,lldb::SBFile)\n" " lldb::SBDebugger::HandleProcessEvent(lldb::SBProcess const &,lldb::SBEvent const &,lldb::FileSP,lldb::FileSP)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBDebugger_CreateTarget(lua_State* L) { int argc; int argv[7]={ 1,2,3,4,5,6,7 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBDebugger_CreateTarget__SWIG_1(L); } } } if (argc == 6) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[3]); } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBDebugger_CreateTarget__SWIG_0(L); } } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_CreateTarget'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::CreateTarget(char const *,char const *,char const *,bool,lldb::SBError &)\n" " lldb::SBDebugger::CreateTarget(char const *)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; result = (uint32_t)(arg1)->GetIndexOfTarget(arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumTargets(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetSelectedTarget(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetSelectedPlatform(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumPlatforms(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumAvailablePlatforms(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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_isnumber(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",2,"size_t"); arg1 = (char *)lua_tostring(L, 1); SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (size_t)lua_tonumber(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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } arg2 = (char *)lua_tostring(L, 2); result = (lldb::ScriptLanguage)(arg1)->GetScriptingLanguage((char const *)arg2); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateAsCString",1,"lldb::StateType"); arg1 = (lldb::StateType)(int)lua_tonumber(L, 1); result = (char *)lldb::SBDebugger::StateAsCString(arg1); lua_pushstring(L,(const char *)result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsRunningState",1,"lldb::StateType"); arg1 = (lldb::StateType)(int)lua_tonumber(L, 1); result = (bool)lldb::SBDebugger::StateIsRunningState(arg1); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsStoppedState",1,"lldb::StateType"); arg1 = (lldb::StateType)(int)lua_tonumber(L, 1); result = (bool)lldb::SBDebugger::StateIsStoppedState(arg1); lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isptrtype(L,3)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",3,"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 (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_p_char,0))){ SWIG_fail_ptr("SBDebugger_EnableLog",3,SWIGTYPE_p_p_char); } result = (bool)(arg1)->EnableLog((char const *)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; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",1,"lldb::SBDebugger *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",2,"lldb::LogOutputCallback"); if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",3,"void *"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){ SWIG_fail_ptr("SBDebugger_SetLoggingCallback",1,SWIGTYPE_p_lldb__SBDebugger); } if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_q_const__char_p_void__void,0))){ SWIG_fail_ptr("SBDebugger_SetLoggingCallback",2,SWIGTYPE_p_f_p_q_const__char_p_void__void); } arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBDebugger_SetLoggingCallback"); (arg1)->SetLoggingCallback(arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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",3,3) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",1,"lldb::SBDebugger *"); if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",2,"void const *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",3,"size_t"); 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 *)SWIG_MustGetPtr(L,2,0,0,2,"SBDebugger_DispatchInput"); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); (arg1)->DispatchInput((void const *)arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->DispatchInputInterrupt(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->DispatchInputEndOfFile(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindDebuggerWithID",1,"int"); arg1 = (int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (uint32_t)((lldb::SBDebugger const *)arg1)->GetTerminalWidth(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetTerminalWidth(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::user_id_t)(arg1)->GetID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } result = (lldb::ScriptLanguage)((lldb::SBDebugger const *)arg1)->GetScriptLanguage(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(L, 2); (arg1)->SetScriptLanguage(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetCloseInputOnEOF(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBDebugger_GetCategory(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBDebugger_GetCategory__SWIG_1(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBDebugger_GetCategory__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_GetCategory'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDebugger::GetCategory(char const *)\n" " lldb::SBDebugger::GetCategory(lldb::LanguageType)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } result = (uint32_t)(arg1)->GetNumCategories(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::__str__",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___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; } 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_isnumber(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_tonumber(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_pushnumber(L, (lua_Number) *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; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBDebugger(void *obj) { lldb::SBDebugger *arg1 = (lldb::SBDebugger *) obj; delete arg1; } static int _proxy__wrap_new_SBDebugger(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBDebugger); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBDebugger_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBDebugger_methods[]= { { "IsValid", _wrap_SBDebugger_IsValid}, { "Clear", _wrap_SBDebugger_Clear}, { "SetAsync", _wrap_SBDebugger_SetAsync}, { "GetAsync", _wrap_SBDebugger_GetAsync}, { "SkipLLDBInitFiles", _wrap_SBDebugger_SkipLLDBInitFiles}, { "GetInputFileHandle", _wrap_SBDebugger_GetInputFileHandle}, { "GetOutputFileHandle", _wrap_SBDebugger_GetOutputFileHandle}, { "GetErrorFileHandle", _wrap_SBDebugger_GetErrorFileHandle}, { "SetInputFile", _wrap_SBDebugger_SetInputFile}, { "SetOutputFile", _wrap_SBDebugger_SetOutputFile}, { "SetErrorFile", _wrap_SBDebugger_SetErrorFile}, { "GetInputFile", _wrap_SBDebugger_GetInputFile}, { "GetOutputFile", _wrap_SBDebugger_GetOutputFile}, { "GetErrorFile", _wrap_SBDebugger_GetErrorFile}, { "GetCommandInterpreter", _wrap_SBDebugger_GetCommandInterpreter}, { "HandleCommand", _wrap_SBDebugger_HandleCommand}, { "GetListener", _wrap_SBDebugger_GetListener}, { "HandleProcessEvent", _wrap_SBDebugger_HandleProcessEvent}, { "CreateTargetWithFileAndTargetTriple", _wrap_SBDebugger_CreateTargetWithFileAndTargetTriple}, { "CreateTargetWithFileAndArch", _wrap_SBDebugger_CreateTargetWithFileAndArch}, { "CreateTarget", _wrap_SBDebugger_CreateTarget}, { "GetDummyTarget", _wrap_SBDebugger_GetDummyTarget}, { "DeleteTarget", _wrap_SBDebugger_DeleteTarget}, { "GetTargetAtIndex", _wrap_SBDebugger_GetTargetAtIndex}, { "GetIndexOfTarget", _wrap_SBDebugger_GetIndexOfTarget}, { "FindTargetWithProcessID", _wrap_SBDebugger_FindTargetWithProcessID}, { "FindTargetWithFileAndArch", _wrap_SBDebugger_FindTargetWithFileAndArch}, { "GetNumTargets", _wrap_SBDebugger_GetNumTargets}, { "GetSelectedTarget", _wrap_SBDebugger_GetSelectedTarget}, { "SetSelectedTarget", _wrap_SBDebugger_SetSelectedTarget}, { "GetSelectedPlatform", _wrap_SBDebugger_GetSelectedPlatform}, { "SetSelectedPlatform", _wrap_SBDebugger_SetSelectedPlatform}, { "GetNumPlatforms", _wrap_SBDebugger_GetNumPlatforms}, { "GetPlatformAtIndex", _wrap_SBDebugger_GetPlatformAtIndex}, { "GetNumAvailablePlatforms", _wrap_SBDebugger_GetNumAvailablePlatforms}, { "GetAvailablePlatformInfoAtIndex", _wrap_SBDebugger_GetAvailablePlatformInfoAtIndex}, { "GetSourceManager", _wrap_SBDebugger_GetSourceManager}, { "SetCurrentPlatform", _wrap_SBDebugger_SetCurrentPlatform}, { "SetCurrentPlatformSDKRoot", _wrap_SBDebugger_SetCurrentPlatformSDKRoot}, { "SetUseExternalEditor", _wrap_SBDebugger_SetUseExternalEditor}, { "GetUseExternalEditor", _wrap_SBDebugger_GetUseExternalEditor}, { "SetUseColor", _wrap_SBDebugger_SetUseColor}, { "GetUseColor", _wrap_SBDebugger_GetUseColor}, { "GetScriptingLanguage", _wrap_SBDebugger_GetScriptingLanguage}, { "EnableLog", _wrap_SBDebugger_EnableLog}, { "SetLoggingCallback", _wrap_SBDebugger_SetLoggingCallback}, { "DispatchInput", _wrap_SBDebugger_DispatchInput}, { "DispatchInputInterrupt", _wrap_SBDebugger_DispatchInputInterrupt}, { "DispatchInputEndOfFile", _wrap_SBDebugger_DispatchInputEndOfFile}, { "GetInstanceName", _wrap_SBDebugger_GetInstanceName}, { "GetDescription", _wrap_SBDebugger_GetDescription}, { "GetTerminalWidth", _wrap_SBDebugger_GetTerminalWidth}, { "SetTerminalWidth", _wrap_SBDebugger_SetTerminalWidth}, { "GetID", _wrap_SBDebugger_GetID}, { "GetPrompt", _wrap_SBDebugger_GetPrompt}, { "SetPrompt", _wrap_SBDebugger_SetPrompt}, { "GetReproducerPath", _wrap_SBDebugger_GetReproducerPath}, { "GetScriptLanguage", _wrap_SBDebugger_GetScriptLanguage}, { "SetScriptLanguage", _wrap_SBDebugger_SetScriptLanguage}, { "GetCloseInputOnEOF", _wrap_SBDebugger_GetCloseInputOnEOF}, { "SetCloseInputOnEOF", _wrap_SBDebugger_SetCloseInputOnEOF}, { "GetCategory", _wrap_SBDebugger_GetCategory}, { "CreateCategory", _wrap_SBDebugger_CreateCategory}, { "DeleteCategory", _wrap_SBDebugger_DeleteCategory}, { "GetNumCategories", _wrap_SBDebugger_GetNumCategories}, { "GetCategoryAtIndex", _wrap_SBDebugger_GetCategoryAtIndex}, { "GetDefaultCategory", _wrap_SBDebugger_GetDefaultCategory}, { "GetFormatForType", _wrap_SBDebugger_GetFormatForType}, { "GetSummaryForType", _wrap_SBDebugger_GetSummaryForType}, { "GetFilterForType", _wrap_SBDebugger_GetFilterForType}, { "GetSyntheticForType", _wrap_SBDebugger_GetSyntheticForType}, { "__tostring", _wrap_SBDebugger___tostring}, { "RunCommandInterpreter", _wrap_SBDebugger_RunCommandInterpreter}, { "RunREPL", _wrap_SBDebugger_RunREPL}, {0,0} }; static swig_lua_method swig_SBDebugger_meta[] = { { "__tostring", _wrap_SBDebugger___tostring}, {0,0} }; static swig_lua_attribute swig_SBDebugger_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBDebugger_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBDebugger_Sf_SwigStatic_methods[]= { { "Initialize", _wrap_SBDebugger_Initialize}, { "InitializeWithErrorHandling", _wrap_SBDebugger_InitializeWithErrorHandling}, { "Terminate", _wrap_SBDebugger_Terminate}, { "Create", _wrap_SBDebugger_Create}, { "Destroy", _wrap_SBDebugger_Destroy}, { "MemoryPressureDetected", _wrap_SBDebugger_MemoryPressureDetected}, { "GetDefaultArchitecture", _wrap_SBDebugger_GetDefaultArchitecture}, { "SetDefaultArchitecture", _wrap_SBDebugger_SetDefaultArchitecture}, { "GetVersionString", _wrap_SBDebugger_GetVersionString}, { "StateAsCString", _wrap_SBDebugger_StateAsCString}, { "GetBuildConfiguration", _wrap_SBDebugger_GetBuildConfiguration}, { "StateIsRunningState", _wrap_SBDebugger_StateIsRunningState}, { "StateIsStoppedState", _wrap_SBDebugger_StateIsStoppedState}, { "FindDebuggerWithID", _wrap_SBDebugger_FindDebuggerWithID}, { "SetInternalVariable", _wrap_SBDebugger_SetInternalVariable}, { "GetInternalVariableValue", _wrap_SBDebugger_GetInternalVariableValue}, {0,0} }; static swig_lua_class* swig_SBDebugger_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBDebugger_Sf_SwigStatic = { "SBDebugger", swig_SBDebugger_Sf_SwigStatic_methods, swig_SBDebugger_Sf_SwigStatic_attributes, swig_SBDebugger_Sf_SwigStatic_constants, swig_SBDebugger_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBDebugger_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBDeclaration(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBDeclaration__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDeclaration, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBDeclaration__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBDeclaration'\n" " Possible C/C++ prototypes are:\n" " lldb::SBDeclaration::SBDeclaration()\n" " lldb::SBDeclaration::SBDeclaration(lldb::SBDeclaration const &)\n"); lua_error(L);return 0; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetLine(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetColumn(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = *argp2; (arg1)->SetFileSpec(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetLine(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetColumn(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::__str__",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___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; } static void swig_delete_SBDeclaration(void *obj) { lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) obj; delete arg1; } static int _proxy__wrap_new_SBDeclaration(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBDeclaration); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBDeclaration_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBDeclaration_methods[]= { { "IsValid", _wrap_SBDeclaration_IsValid}, { "GetFileSpec", _wrap_SBDeclaration_GetFileSpec}, { "GetLine", _wrap_SBDeclaration_GetLine}, { "GetColumn", _wrap_SBDeclaration_GetColumn}, { "GetDescription", _wrap_SBDeclaration_GetDescription}, { "SetFileSpec", _wrap_SBDeclaration_SetFileSpec}, { "SetLine", _wrap_SBDeclaration_SetLine}, { "SetColumn", _wrap_SBDeclaration_SetColumn}, { "__eq", _wrap_SBDeclaration___eq}, { "__tostring", _wrap_SBDeclaration___tostring}, {0,0} }; static swig_lua_method swig_SBDeclaration_meta[] = { { "__eq", _wrap_SBDeclaration___eq}, { "__tostring", _wrap_SBDeclaration___tostring}, {0,0} }; static swig_lua_attribute swig_SBDeclaration_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBDeclaration_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBDeclaration_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBDeclaration_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBDeclaration_Sf_SwigStatic = { "SBDeclaration", swig_SBDeclaration_Sf_SwigStatic_methods, swig_SBDeclaration_Sf_SwigStatic_attributes, swig_SBDeclaration_Sf_SwigStatic_constants, swig_SBDeclaration_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBDeclaration_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBError(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBError__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBError__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBError'\n" " Possible C/C++ prototypes are:\n" " lldb::SBError::SBError()\n" " lldb::SBError::SBError(lldb::SBError const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)((lldb::SBError const *)arg1)->GetError(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::ErrorType)((lldb::SBError const *)arg1)->GetType(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,2)) SWIG_fail_arg("lldb::SBError::SetError",2,"uint32_t"); if(!lua_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); arg3 = (lldb::ErrorType)(int)lua_tonumber(L, 3); (arg1)->SetError(arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetErrorToErrno(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetErrorToGenericError(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (char *)lua_tostring(L, 2); arg3 = (char *)lua_tostring(L, 3); result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = (char *)lua_tostring(L, 2); result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) { int argc; int argv[6]={ 1,2,3,4,5,6 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBError_SetErrorStringWithFormat__SWIG_3(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { return _wrap_SBError_SetErrorStringWithFormat__SWIG_2(L); } } } } if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[3]); } if (_v) { return _wrap_SBError_SetErrorStringWithFormat__SWIG_1(L); } } } } } if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[3]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[4]); } if (_v) { return _wrap_SBError_SetErrorStringWithFormat__SWIG_0(L); } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBError_SetErrorStringWithFormat'\n" " Possible C/C++ prototypes are:\n" " lldb::SBError::SetErrorStringWithFormat(char const *,char *,char *,char *)\n" " lldb::SBError::SetErrorStringWithFormat(char const *,char *,char *)\n" " lldb::SBError::SetErrorStringWithFormat(char const *,char *)\n" " lldb::SBError::SetErrorStringWithFormat(char const *)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::__str__",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___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; } static void swig_delete_SBError(void *obj) { lldb::SBError *arg1 = (lldb::SBError *) obj; delete arg1; } static int _proxy__wrap_new_SBError(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBError); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBError_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBError_methods[]= { { "GetCString", _wrap_SBError_GetCString}, { "Clear", _wrap_SBError_Clear}, { "Fail", _wrap_SBError_Fail}, { "Success", _wrap_SBError_Success}, { "GetError", _wrap_SBError_GetError}, { "GetType", _wrap_SBError_GetType}, { "SetError", _wrap_SBError_SetError}, { "SetErrorToErrno", _wrap_SBError_SetErrorToErrno}, { "SetErrorToGenericError", _wrap_SBError_SetErrorToGenericError}, { "SetErrorString", _wrap_SBError_SetErrorString}, { "SetErrorStringWithFormat", _wrap_SBError_SetErrorStringWithFormat}, { "IsValid", _wrap_SBError_IsValid}, { "GetDescription", _wrap_SBError_GetDescription}, { "__tostring", _wrap_SBError___tostring}, {0,0} }; static swig_lua_method swig_SBError_meta[] = { { "__tostring", _wrap_SBError___tostring}, {0,0} }; static swig_lua_attribute swig_SBError_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBError_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBError_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBError_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBError_Sf_SwigStatic = { "SBError", swig_SBError_Sf_SwigStatic_methods, swig_SBError_Sf_SwigStatic_attributes, swig_SBError_Sf_SwigStatic_constants, swig_SBError_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBError_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBEnvironment(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBEnvironment__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEnvironment, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBEnvironment__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBEnvironment'\n" " Possible C/C++ prototypes are:\n" " lldb::SBEnvironment::SBEnvironment()\n" " lldb::SBEnvironment::SBEnvironment(lldb::SBEnvironment const &)\n"); lua_error(L);return 0; } 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); } result = (arg1)->GetNumValues(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (size_t)lua_tonumber(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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (size_t)lua_tonumber(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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBEnvironment(void *obj) { lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) obj; delete arg1; } static int _proxy__wrap_new_SBEnvironment(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBEnvironment); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBEnvironment_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBEnvironment_methods[]= { { "GetNumValues", _wrap_SBEnvironment_GetNumValues}, { "Get", _wrap_SBEnvironment_Get}, { "GetNameAtIndex", _wrap_SBEnvironment_GetNameAtIndex}, { "GetValueAtIndex", _wrap_SBEnvironment_GetValueAtIndex}, { "GetEntries", _wrap_SBEnvironment_GetEntries}, { "PutEntry", _wrap_SBEnvironment_PutEntry}, { "SetEntries", _wrap_SBEnvironment_SetEntries}, { "Set", _wrap_SBEnvironment_Set}, { "Unset", _wrap_SBEnvironment_Unset}, { "Clear", _wrap_SBEnvironment_Clear}, {0,0} }; static swig_lua_method swig_SBEnvironment_meta[] = { {0,0} }; static swig_lua_attribute swig_SBEnvironment_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBEnvironment_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBEnvironment_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBEnvironment_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBEnvironment_Sf_SwigStatic = { "SBEnvironment", swig_SBEnvironment_Sf_SwigStatic_methods, swig_SBEnvironment_Sf_SwigStatic_attributes, swig_SBEnvironment_Sf_SwigStatic_constants, swig_SBEnvironment_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBEnvironment_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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",3,3) if(!lua_isnumber(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"uint32_t"); if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEvent::SBEvent",2,"char const *"); if(!lua_isnumber(L,3)) SWIG_fail_arg("lldb::SBEvent::SBEvent",3,"uint32_t"); SWIG_contract_assert((lua_tonumber(L,1)>=0),"number must not be negative") arg1 = (uint32_t)lua_tonumber(L, 1); arg2 = (char *)lua_tostring(L, 2); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); 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; } static int _wrap_new_SBEvent(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBEvent__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBEvent__SWIG_1(L); } } if (argc == 3) { int _v; { _v = lua_isnumber(L,argv[0]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_new_SBEvent__SWIG_2(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBEvent'\n" " Possible C/C++ prototypes are:\n" " lldb::SBEvent::SBEvent()\n" " lldb::SBEvent::SBEvent(lldb::SBEvent const &)\n" " lldb::SBEvent::SBEvent(uint32_t,char const *,uint32_t)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)((lldb::SBEvent const *)arg1)->GetType(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } static void swig_delete_SBEvent(void *obj) { lldb::SBEvent *arg1 = (lldb::SBEvent *) obj; delete arg1; } static int _proxy__wrap_new_SBEvent(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBEvent); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBEvent_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBEvent_methods[]= { { "IsValid", _wrap_SBEvent_IsValid}, { "GetDataFlavor", _wrap_SBEvent_GetDataFlavor}, { "GetType", _wrap_SBEvent_GetType}, { "GetBroadcaster", _wrap_SBEvent_GetBroadcaster}, { "GetBroadcasterClass", _wrap_SBEvent_GetBroadcasterClass}, { "BroadcasterMatchesRef", _wrap_SBEvent_BroadcasterMatchesRef}, { "Clear", _wrap_SBEvent_Clear}, { "GetDescription", _wrap_SBEvent_GetDescription}, {0,0} }; static swig_lua_method swig_SBEvent_meta[] = { {0,0} }; static swig_lua_attribute swig_SBEvent_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBEvent_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBEvent_Sf_SwigStatic_methods[]= { { "GetCStringFromEvent", _wrap_SBEvent_GetCStringFromEvent}, {0,0} }; static swig_lua_class* swig_SBEvent_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBEvent_Sf_SwigStatic = { "SBEvent", swig_SBEvent_Sf_SwigStatic_methods, swig_SBEvent_Sf_SwigStatic_attributes, swig_SBEvent_Sf_SwigStatic_constants, swig_SBEvent_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBEvent_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } static int _wrap_new_SBExecutionContext(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBExecutionContext__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExecutionContext__SWIG_1(L); } } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExecutionContext__SWIG_2(L); } } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExecutionContext__SWIG_3(L); } } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExecutionContext__SWIG_4(L); } } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExecutionContext__SWIG_5(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBExecutionContext'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExecutionContext::SBExecutionContext()\n" " lldb::SBExecutionContext::SBExecutionContext(lldb::SBExecutionContext const &)\n" " lldb::SBExecutionContext::SBExecutionContext(lldb::SBTarget const &)\n" " lldb::SBExecutionContext::SBExecutionContext(lldb::SBProcess const &)\n" " lldb::SBExecutionContext::SBExecutionContext(lldb::SBThread)\n" " lldb::SBExecutionContext::SBExecutionContext(lldb::SBFrame const &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBExecutionContext(void *obj) { lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) obj; delete arg1; } static int _proxy__wrap_new_SBExecutionContext(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBExecutionContext); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBExecutionContext_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBExecutionContext_methods[]= { { "GetTarget", _wrap_SBExecutionContext_GetTarget}, { "GetProcess", _wrap_SBExecutionContext_GetProcess}, { "GetThread", _wrap_SBExecutionContext_GetThread}, { "GetFrame", _wrap_SBExecutionContext_GetFrame}, {0,0} }; static swig_lua_method swig_SBExecutionContext_meta[] = { {0,0} }; static swig_lua_attribute swig_SBExecutionContext_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBExecutionContext_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBExecutionContext_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBExecutionContext_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBExecutionContext_Sf_SwigStatic = { "SBExecutionContext", swig_SBExecutionContext_Sf_SwigStatic_methods, swig_SBExecutionContext_Sf_SwigStatic_attributes, swig_SBExecutionContext_Sf_SwigStatic_constants, swig_SBExecutionContext_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBExecutionContext_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBExpressionOptions(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBExpressionOptions__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBExpressionOptions__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBExpressionOptions'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SBExpressionOptions()\n" " lldb::SBExpressionOptions::SBExpressionOptions(lldb::SBExpressionOptions const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetCoerceResultToId(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetCoerceResultToId(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetCoerceResultToId(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetCoerceResultToId'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetCoerceResultToId(bool)\n" " lldb::SBExpressionOptions::SetCoerceResultToId()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetUnwindOnError(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetUnwindOnError(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetUnwindOnError(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetUnwindOnError'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetUnwindOnError(bool)\n" " lldb::SBExpressionOptions::SetUnwindOnError()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetIgnoreBreakpoints(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetIgnoreBreakpoints(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetIgnoreBreakpoints'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetIgnoreBreakpoints(bool)\n" " lldb::SBExpressionOptions::SetIgnoreBreakpoints()\n"); lua_error(L);return 0; } 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); } result = (lldb::DynamicValueType)((lldb::SBExpressionOptions const *)arg1)->GetFetchDynamicValue(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(L, 2); (arg1)->SetFetchDynamicValue(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetFetchDynamicValue(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetFetchDynamicValue'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetFetchDynamicValue(lldb::DynamicValueType)\n" " lldb::SBExpressionOptions::SetFetchDynamicValue()\n"); lua_error(L);return 0; } 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); } result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetTimeoutInMicroSeconds(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetTimeoutInMicroSeconds(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetTimeoutInMicroSeconds(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTimeoutInMicroSeconds'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetTimeoutInMicroSeconds(uint32_t)\n" " lldb::SBExpressionOptions::SetTimeoutInMicroSeconds()\n"); lua_error(L);return 0; } 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); } result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetOneThreadTimeoutInMicroSeconds(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetOneThreadTimeoutInMicroSeconds(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetOneThreadTimeoutInMicroSeconds(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isnumber(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds(uint32_t)\n" " lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetTryAllThreads(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetTryAllThreads(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetTryAllThreads(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTryAllThreads'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetTryAllThreads(bool)\n" " lldb::SBExpressionOptions::SetTryAllThreads()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetStopOthers(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetStopOthers(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetStopOthers(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetStopOthers__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetStopOthers__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetStopOthers'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetStopOthers(bool)\n" " lldb::SBExpressionOptions::SetStopOthers()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetTrapExceptions(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetTrapExceptions(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetTrapExceptions(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTrapExceptions'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetTrapExceptions(bool)\n" " lldb::SBExpressionOptions::SetTrapExceptions()\n"); lua_error(L);return 0; } 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_isnumber(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)(int)lua_tonumber(L, 2); (arg1)->SetLanguage(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetGenerateDebugInfo(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetGenerateDebugInfo(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetGenerateDebugInfo'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetGenerateDebugInfo(bool)\n" " lldb::SBExpressionOptions::SetGenerateDebugInfo()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetSuppressPersistentResult(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetSuppressPersistentResult(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetSuppressPersistentResult'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetSuppressPersistentResult(bool)\n" " lldb::SBExpressionOptions::SetSuppressPersistentResult()\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAutoApplyFixIts(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetAutoApplyFixIts(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetAutoApplyFixIts'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetAutoApplyFixIts(bool)\n" " lldb::SBExpressionOptions::SetAutoApplyFixIts()\n"); lua_error(L);return 0; } 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); } 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; } 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_isnumber(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_tonumber(L, 2); (arg1)->SetRetriesWithFixIts(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint64_t)(arg1)->GetRetriesWithFixIts(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetTopLevel(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetTopLevel(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBExpressionOptions_SetTopLevel(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBExpressionOptions_SetTopLevel__SWIG_1(L); } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_SBExpressionOptions_SetTopLevel__SWIG_0(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTopLevel'\n" " Possible C/C++ prototypes are:\n" " lldb::SBExpressionOptions::SetTopLevel(bool)\n" " lldb::SBExpressionOptions::SetTopLevel()\n"); lua_error(L);return 0; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetAllowJIT(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBExpressionOptions(void *obj) { lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) obj; delete arg1; } static int _proxy__wrap_new_SBExpressionOptions(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBExpressionOptions); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBExpressionOptions_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBExpressionOptions_methods[]= { { "GetCoerceResultToId", _wrap_SBExpressionOptions_GetCoerceResultToId}, { "SetCoerceResultToId", _wrap_SBExpressionOptions_SetCoerceResultToId}, { "GetUnwindOnError", _wrap_SBExpressionOptions_GetUnwindOnError}, { "SetUnwindOnError", _wrap_SBExpressionOptions_SetUnwindOnError}, { "GetIgnoreBreakpoints", _wrap_SBExpressionOptions_GetIgnoreBreakpoints}, { "SetIgnoreBreakpoints", _wrap_SBExpressionOptions_SetIgnoreBreakpoints}, { "GetFetchDynamicValue", _wrap_SBExpressionOptions_GetFetchDynamicValue}, { "SetFetchDynamicValue", _wrap_SBExpressionOptions_SetFetchDynamicValue}, { "GetTimeoutInMicroSeconds", _wrap_SBExpressionOptions_GetTimeoutInMicroSeconds}, { "SetTimeoutInMicroSeconds", _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds}, { "GetOneThreadTimeoutInMicroSeconds", _wrap_SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds}, { "SetOneThreadTimeoutInMicroSeconds", _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds}, { "GetTryAllThreads", _wrap_SBExpressionOptions_GetTryAllThreads}, { "SetTryAllThreads", _wrap_SBExpressionOptions_SetTryAllThreads}, { "GetStopOthers", _wrap_SBExpressionOptions_GetStopOthers}, { "SetStopOthers", _wrap_SBExpressionOptions_SetStopOthers}, { "GetTrapExceptions", _wrap_SBExpressionOptions_GetTrapExceptions}, { "SetTrapExceptions", _wrap_SBExpressionOptions_SetTrapExceptions}, { "SetLanguage", _wrap_SBExpressionOptions_SetLanguage}, { "GetGenerateDebugInfo", _wrap_SBExpressionOptions_GetGenerateDebugInfo}, { "SetGenerateDebugInfo", _wrap_SBExpressionOptions_SetGenerateDebugInfo}, { "GetSuppressPersistentResult", _wrap_SBExpressionOptions_GetSuppressPersistentResult}, { "SetSuppressPersistentResult", _wrap_SBExpressionOptions_SetSuppressPersistentResult}, { "GetPrefix", _wrap_SBExpressionOptions_GetPrefix}, { "SetPrefix", _wrap_SBExpressionOptions_SetPrefix}, { "SetAutoApplyFixIts", _wrap_SBExpressionOptions_SetAutoApplyFixIts}, { "GetAutoApplyFixIts", _wrap_SBExpressionOptions_GetAutoApplyFixIts}, { "SetRetriesWithFixIts", _wrap_SBExpressionOptions_SetRetriesWithFixIts}, { "GetRetriesWithFixIts", _wrap_SBExpressionOptions_GetRetriesWithFixIts}, { "GetTopLevel", _wrap_SBExpressionOptions_GetTopLevel}, { "SetTopLevel", _wrap_SBExpressionOptions_SetTopLevel}, { "GetAllowJIT", _wrap_SBExpressionOptions_GetAllowJIT}, { "SetAllowJIT", _wrap_SBExpressionOptions_SetAllowJIT}, {0,0} }; static swig_lua_method swig_SBExpressionOptions_meta[] = { {0,0} }; static swig_lua_attribute swig_SBExpressionOptions_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBExpressionOptions_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBExpressionOptions_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBExpressionOptions_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBExpressionOptions_Sf_SwigStatic = { "SBExpressionOptions", swig_SBExpressionOptions_Sf_SwigStatic_methods, swig_SBExpressionOptions_Sf_SwigStatic_attributes, swig_SBExpressionOptions_Sf_SwigStatic_constants, swig_SBExpressionOptions_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBExpressionOptions_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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: lua_error(L); return SWIG_arg; } static int _wrap_new_SBFile__SWIG_2(lua_State* L) { int SWIG_arg = 0; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; lldb::FileSP *argp1 ; lldb::SBFile *result = 0 ; SWIG_check_num_args("lldb::SBFile::SBFile",1,1) if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFile::SBFile",1,"lldb::FileSP"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("new_SBFile",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg1 = *argp1; 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: lua_error(L); return SWIG_arg; } static int _wrap_new_SBFile(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBFile__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBFile__SWIG_2(L); } } if (argc == 3) { int _v; { _v = lua_isnumber(L,argv[0]); } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { return _wrap_new_SBFile__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFile'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFile::SBFile()\n" " lldb::SBFile::SBFile(int,char const *,bool)\n" " lldb::SBFile::SBFile(lldb::FileSP)\n"); lua_error(L);return 0; } static int _wrap_SBFile_MakeBorrowed(lua_State* L) { int SWIG_arg = 0; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; lldb::FileSP *argp1 ; lldb::SBFile result; SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowed",1,1) if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFile::lldb_SBFile_MakeBorrowed",1,"lldb::FileSP"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBFile_MakeBorrowed",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg1 = *argp1; 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFile_MakeForcingIOMethods(lua_State* L) { int SWIG_arg = 0; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; lldb::FileSP *argp1 ; lldb::SBFile result; SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeForcingIOMethods",1,1) if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFile::lldb_SBFile_MakeForcingIOMethods",1,"lldb::FileSP"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBFile_MakeForcingIOMethods",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg1 = *argp1; 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFile_MakeBorrowedForcingIOMethods(lua_State* L) { int SWIG_arg = 0; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ; lldb::FileSP *argp1 ; lldb::SBFile result; SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowedForcingIOMethods",1,1) if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFile::lldb_SBFile_MakeBorrowedForcingIOMethods",1,"lldb::FileSP"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBFile_MakeBorrowedForcingIOMethods",1,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg1 = *argp1; 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Flush(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 * resultptr = new lldb::FileSP((const lldb::FileSP &) result); SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t,1); SWIG_arg++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBFile(void *obj) { lldb::SBFile *arg1 = (lldb::SBFile *) obj; delete arg1; } static int _proxy__wrap_new_SBFile(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBFile); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBFile_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBFile_methods[]= { { "Read", _wrap_SBFile_Read}, { "Write", _wrap_SBFile_Write}, { "Flush", _wrap_SBFile_Flush}, { "IsValid", _wrap_SBFile_IsValid}, { "Close", _wrap_SBFile_Close}, { "GetFile", _wrap_SBFile_GetFile}, {0,0} }; static swig_lua_method swig_SBFile_meta[] = { {0,0} }; static swig_lua_attribute swig_SBFile_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBFile_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBFile_Sf_SwigStatic_methods[]= { { "MakeBorrowed", _wrap_SBFile_MakeBorrowed}, { "MakeForcingIOMethods", _wrap_SBFile_MakeForcingIOMethods}, { "MakeBorrowedForcingIOMethods", _wrap_SBFile_MakeBorrowedForcingIOMethods}, {0,0} }; static swig_lua_class* swig_SBFile_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBFile_Sf_SwigStatic = { "SBFile", swig_SBFile_Sf_SwigStatic_methods, swig_SBFile_Sf_SwigStatic_attributes, swig_SBFile_Sf_SwigStatic_constants, swig_SBFile_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBFile_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } static int _wrap_new_SBFileSpec(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBFileSpec__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBFileSpec__SWIG_1(L); } } if (argc == 1) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { return _wrap_new_SBFileSpec__SWIG_2(L); } } if (argc == 2) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { return _wrap_new_SBFileSpec__SWIG_3(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFileSpec'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFileSpec::SBFileSpec()\n" " lldb::SBFileSpec::SBFileSpec(lldb::SBFileSpec const &)\n" " lldb::SBFileSpec::SBFileSpec(char const *)\n" " lldb::SBFileSpec::SBFileSpec(char const *,bool)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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_isnumber(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); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",3,"size_t"); arg1 = (char *)lua_tostring(L, 1); arg2 = (char *)lua_tostring(L, 2); SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (size_t)lua_tonumber(L, 3); result = (int)lldb::SBFileSpec::ResolvePath((char const *)arg1,arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::__str__",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___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; } static void swig_delete_SBFileSpec(void *obj) { lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) obj; delete arg1; } static int _proxy__wrap_new_SBFileSpec(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBFileSpec); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBFileSpec_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBFileSpec_methods[]= { { "__eq", _wrap_SBFileSpec___eq}, { "IsValid", _wrap_SBFileSpec_IsValid}, { "Exists", _wrap_SBFileSpec_Exists}, { "ResolveExecutableLocation", _wrap_SBFileSpec_ResolveExecutableLocation}, { "GetFilename", _wrap_SBFileSpec_GetFilename}, { "GetDirectory", _wrap_SBFileSpec_GetDirectory}, { "SetFilename", _wrap_SBFileSpec_SetFilename}, { "SetDirectory", _wrap_SBFileSpec_SetDirectory}, { "GetPath", _wrap_SBFileSpec_GetPath}, { "GetDescription", _wrap_SBFileSpec_GetDescription}, { "AppendPathComponent", _wrap_SBFileSpec_AppendPathComponent}, { "__tostring", _wrap_SBFileSpec___tostring}, {0,0} }; static swig_lua_method swig_SBFileSpec_meta[] = { { "__eq", _wrap_SBFileSpec___eq}, { "__tostring", _wrap_SBFileSpec___tostring}, {0,0} }; static swig_lua_attribute swig_SBFileSpec_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBFileSpec_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBFileSpec_Sf_SwigStatic_methods[]= { { "ResolvePath", _wrap_SBFileSpec_ResolvePath}, {0,0} }; static swig_lua_class* swig_SBFileSpec_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBFileSpec_Sf_SwigStatic = { "SBFileSpec", swig_SBFileSpec_Sf_SwigStatic_methods, swig_SBFileSpec_Sf_SwigStatic_attributes, swig_SBFileSpec_Sf_SwigStatic_constants, swig_SBFileSpec_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBFileSpec_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBFileSpecList(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBFileSpecList__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBFileSpecList__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFileSpecList'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFileSpecList::SBFileSpecList()\n" " lldb::SBFileSpecList::SBFileSpecList(lldb::SBFileSpecList const &)\n"); lua_error(L);return 0; } 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); } result = (uint32_t)((lldb::SBFileSpecList const *)arg1)->GetSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } (arg1)->Append((lldb::SBFileSpec const &)*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBFileSpecList(void *obj) { lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) obj; delete arg1; } static int _proxy__wrap_new_SBFileSpecList(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBFileSpecList); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBFileSpecList_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBFileSpecList_methods[]= { { "GetSize", _wrap_SBFileSpecList_GetSize}, { "GetDescription", _wrap_SBFileSpecList_GetDescription}, { "Append", _wrap_SBFileSpecList_Append}, { "AppendIfUnique", _wrap_SBFileSpecList_AppendIfUnique}, { "Clear", _wrap_SBFileSpecList_Clear}, { "FindFileIndex", _wrap_SBFileSpecList_FindFileIndex}, { "GetFileSpecAtIndex", _wrap_SBFileSpecList_GetFileSpecAtIndex}, {0,0} }; static swig_lua_method swig_SBFileSpecList_meta[] = { {0,0} }; static swig_lua_attribute swig_SBFileSpecList_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBFileSpecList_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBFileSpecList_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBFileSpecList_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBFileSpecList_Sf_SwigStatic = { "SBFileSpecList", swig_SBFileSpecList_Sf_SwigStatic_methods, swig_SBFileSpecList_Sf_SwigStatic_attributes, swig_SBFileSpecList_Sf_SwigStatic_constants, swig_SBFileSpecList_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBFileSpecList_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBFrame(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBFrame__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBFrame__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFrame'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::SBFrame()\n" " lldb::SBFrame::SBFrame(lldb::SBFrame const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)((lldb::SBFrame const *)arg1)->GetFrameID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetCFA(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetPC(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; } 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); } result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetSP(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetFP(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } static int _wrap_SBFrame_GetFunctionName(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_GetFunctionName__SWIG_0(L); } } if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_GetFunctionName__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetFunctionName'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::GetFunctionName()\n" " lldb::SBFrame::GetFunctionName() const\n"); lua_error(L);return 0; } 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); } result = (lldb::LanguageType)((lldb::SBFrame const *)arg1)->GuessLanguage(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } static int _wrap_SBFrame_IsInlined(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_IsInlined__SWIG_0(L); } } if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_IsInlined__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_IsInlined'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::IsInlined()\n" " lldb::SBFrame::IsInlined() const\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } static int _wrap_SBFrame_IsArtificial(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_IsArtificial__SWIG_0(L); } } if (argc == 1) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_IsArtificial__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_IsArtificial'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::IsArtificial()\n" " lldb::SBFrame::IsArtificial() const\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFrame_EvaluateExpression(lua_State* L) { int argc; int argv[5]={ 1,2,3,4,5 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBFrame_EvaluateExpression__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_EvaluateExpression__SWIG_3(L); } } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_SBFrame_EvaluateExpression__SWIG_1(L); } } } } if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { return _wrap_SBFrame_EvaluateExpression__SWIG_2(L); } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_EvaluateExpression'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::EvaluateExpression(char const *)\n" " lldb::SBFrame::EvaluateExpression(char const *,lldb::DynamicValueType)\n" " lldb::SBFrame::EvaluateExpression(char const *,lldb::DynamicValueType,bool)\n" " lldb::SBFrame::EvaluateExpression(char const *,lldb::SBExpressionOptions &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFrame_GetVariables(lua_State* L) { int argc; int argv[7]={ 1,2,3,4,5,6,7 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBVariablesOptions, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFrame_GetVariables__SWIG_2(L); } } } if (argc == 5) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { return _wrap_SBFrame_GetVariables__SWIG_0(L); } } } } } } if (argc == 6) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = lua_isboolean(L,argv[1]); } if (_v) { { _v = lua_isboolean(L,argv[2]); } if (_v) { { _v = lua_isboolean(L,argv[3]); } if (_v) { { _v = lua_isboolean(L,argv[4]); } if (_v) { { _v = lua_isnumber(L,argv[5]); } if (_v) { return _wrap_SBFrame_GetVariables__SWIG_1(L); } } } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetVariables'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::GetVariables(bool,bool,bool,bool)\n" " lldb::SBFrame::GetVariables(bool,bool,bool,bool,lldb::DynamicValueType)\n" " lldb::SBFrame::GetVariables(lldb::SBVariablesOptions const &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFrame_FindVariable(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBFrame_FindVariable__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_SBFrame_FindVariable__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_FindVariable'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::FindVariable(char const *)\n" " lldb::SBFrame::FindVariable(char const *,lldb::DynamicValueType)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFrame_GetValueForVariablePath(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { return _wrap_SBFrame_GetValueForVariablePath__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_SBFrame_GetValueForVariablePath__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetValueForVariablePath'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::GetValueForVariablePath(char const *)\n" " lldb::SBFrame::GetValueForVariablePath(char const *,lldb::DynamicValueType)\n"); lua_error(L);return 0; } 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_isnumber(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)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType"); if(!lua_isnumber(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)(int)lua_tonumber(L, 3); arg4 = (lldb::DynamicValueType)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFrame_FindValue(lua_State* L) { int argc; int argv[5]={ 1,2,3,4,5 }; argc = lua_gettop(L); if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { return _wrap_SBFrame_FindValue__SWIG_0(L); } } } } if (argc == 4) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[1]); } if (_v) { { _v = lua_isnumber(L,argv[2]); } if (_v) { { _v = lua_isnumber(L,argv[3]); } if (_v) { return _wrap_SBFrame_FindValue__SWIG_1(L); } } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_FindValue'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFrame::FindValue(char const *,lldb::ValueType)\n" " lldb::SBFrame::FindValue(char const *,lldb::ValueType,lldb::DynamicValueType)\n"); lua_error(L);return 0; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::__str__",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___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; } static void swig_delete_SBFrame(void *obj) { lldb::SBFrame *arg1 = (lldb::SBFrame *) obj; delete arg1; } static int _proxy__wrap_new_SBFrame(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBFrame); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBFrame_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBFrame_methods[]= { { "IsEqual", _wrap_SBFrame_IsEqual}, { "IsValid", _wrap_SBFrame_IsValid}, { "GetFrameID", _wrap_SBFrame_GetFrameID}, { "GetCFA", _wrap_SBFrame_GetCFA}, { "GetPC", _wrap_SBFrame_GetPC}, { "SetPC", _wrap_SBFrame_SetPC}, { "GetSP", _wrap_SBFrame_GetSP}, { "GetFP", _wrap_SBFrame_GetFP}, { "GetPCAddress", _wrap_SBFrame_GetPCAddress}, { "GetSymbolContext", _wrap_SBFrame_GetSymbolContext}, { "GetModule", _wrap_SBFrame_GetModule}, { "GetCompileUnit", _wrap_SBFrame_GetCompileUnit}, { "GetFunction", _wrap_SBFrame_GetFunction}, { "GetSymbol", _wrap_SBFrame_GetSymbol}, { "GetBlock", _wrap_SBFrame_GetBlock}, { "GetDisplayFunctionName", _wrap_SBFrame_GetDisplayFunctionName}, { "GetFunctionName", _wrap_SBFrame_GetFunctionName}, { "GuessLanguage", _wrap_SBFrame_GuessLanguage}, { "IsInlined", _wrap_SBFrame_IsInlined}, { "IsArtificial", _wrap_SBFrame_IsArtificial}, { "EvaluateExpression", _wrap_SBFrame_EvaluateExpression}, { "GetFrameBlock", _wrap_SBFrame_GetFrameBlock}, { "GetLineEntry", _wrap_SBFrame_GetLineEntry}, { "GetThread", _wrap_SBFrame_GetThread}, { "Disassemble", _wrap_SBFrame_Disassemble}, { "Clear", _wrap_SBFrame_Clear}, { "__eq", _wrap_SBFrame___eq}, { "GetVariables", _wrap_SBFrame_GetVariables}, { "GetRegisters", _wrap_SBFrame_GetRegisters}, { "FindVariable", _wrap_SBFrame_FindVariable}, { "FindRegister", _wrap_SBFrame_FindRegister}, { "GetValueForVariablePath", _wrap_SBFrame_GetValueForVariablePath}, { "FindValue", _wrap_SBFrame_FindValue}, { "GetDescription", _wrap_SBFrame_GetDescription}, { "__tostring", _wrap_SBFrame___tostring}, {0,0} }; static swig_lua_method swig_SBFrame_meta[] = { { "__eq", _wrap_SBFrame___eq}, { "__tostring", _wrap_SBFrame___tostring}, {0,0} }; static swig_lua_attribute swig_SBFrame_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBFrame_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBFrame_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBFrame_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBFrame_Sf_SwigStatic = { "SBFrame", swig_SBFrame_Sf_SwigStatic_methods, swig_SBFrame_Sf_SwigStatic_attributes, swig_SBFrame_Sf_SwigStatic_constants, swig_SBFrame_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBFrame_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBFunction(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBFunction__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBFunction__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFunction'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFunction::SBFunction()\n" " lldb::SBFunction::SBFunction(lldb::SBFunction const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBFunction_GetInstructions(lua_State* L) { int argc; int argv[4]={ 1,2,3,4 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBFunction_GetInstructions__SWIG_0(L); } } } if (argc == 3) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { { _v = SWIG_lua_isnilstring(L,argv[2]); } if (_v) { return _wrap_SBFunction_GetInstructions__SWIG_1(L); } } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFunction_GetInstructions'\n" " Possible C/C++ prototypes are:\n" " lldb::SBFunction::GetInstructions(lldb::SBTarget)\n" " lldb::SBFunction::GetInstructions(lldb::SBTarget,char const *)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; } 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); } result = (uint32_t)(arg1)->GetPrologueByteSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::LanguageType)(arg1)->GetLanguage(); lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::__str__",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___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; } static void swig_delete_SBFunction(void *obj) { lldb::SBFunction *arg1 = (lldb::SBFunction *) obj; delete arg1; } static int _proxy__wrap_new_SBFunction(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBFunction); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBFunction_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBFunction_methods[]= { { "IsValid", _wrap_SBFunction_IsValid}, { "GetName", _wrap_SBFunction_GetName}, { "GetDisplayName", _wrap_SBFunction_GetDisplayName}, { "GetMangledName", _wrap_SBFunction_GetMangledName}, { "GetInstructions", _wrap_SBFunction_GetInstructions}, { "GetStartAddress", _wrap_SBFunction_GetStartAddress}, { "GetEndAddress", _wrap_SBFunction_GetEndAddress}, { "GetArgumentName", _wrap_SBFunction_GetArgumentName}, { "GetPrologueByteSize", _wrap_SBFunction_GetPrologueByteSize}, { "GetType", _wrap_SBFunction_GetType}, { "GetBlock", _wrap_SBFunction_GetBlock}, { "GetLanguage", _wrap_SBFunction_GetLanguage}, { "GetIsOptimized", _wrap_SBFunction_GetIsOptimized}, { "GetDescription", _wrap_SBFunction_GetDescription}, { "__eq", _wrap_SBFunction___eq}, { "__tostring", _wrap_SBFunction___tostring}, {0,0} }; static swig_lua_method swig_SBFunction_meta[] = { { "__eq", _wrap_SBFunction___eq}, { "__tostring", _wrap_SBFunction___tostring}, {0,0} }; static swig_lua_attribute swig_SBFunction_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBFunction_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBFunction_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBFunction_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBFunction_Sf_SwigStatic = { "SBFunction", swig_SBFunction_Sf_SwigStatic_methods, swig_SBFunction_Sf_SwigStatic_attributes, swig_SBFunction_Sf_SwigStatic_constants, swig_SBFunction_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBFunction_bases[] = {0}; 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBHostOS::GetLLDBPath",1,"lldb::PathType"); arg1 = (lldb::PathType)(int)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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: lua_error(L); return SWIG_arg; } static void swig_delete_SBHostOS(void *obj) { lldb::SBHostOS *arg1 = (lldb::SBHostOS *) obj; delete arg1; } static int _proxy__wrap_new_SBHostOS(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBHostOS); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBHostOS_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBHostOS_methods[]= { {0,0} }; static swig_lua_method swig_SBHostOS_meta[] = { {0,0} }; static swig_lua_attribute swig_SBHostOS_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBHostOS_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBHostOS_Sf_SwigStatic_methods[]= { { "GetProgramFileSpec", _wrap_SBHostOS_GetProgramFileSpec}, { "GetLLDBPythonPath", _wrap_SBHostOS_GetLLDBPythonPath}, { "GetLLDBPath", _wrap_SBHostOS_GetLLDBPath}, { "GetUserHomeDirectory", _wrap_SBHostOS_GetUserHomeDirectory}, { "ThreadCreated", _wrap_SBHostOS_ThreadCreated}, { "ThreadCreate", _wrap_SBHostOS_ThreadCreate}, { "ThreadCancel", _wrap_SBHostOS_ThreadCancel}, { "ThreadDetach", _wrap_SBHostOS_ThreadDetach}, { "ThreadJoin", _wrap_SBHostOS_ThreadJoin}, {0,0} }; static swig_lua_class* swig_SBHostOS_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBHostOS_Sf_SwigStatic = { "SBHostOS", swig_SBHostOS_Sf_SwigStatic_methods, swig_SBHostOS_Sf_SwigStatic_attributes, swig_SBHostOS_Sf_SwigStatic_constants, swig_SBHostOS_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBHostOS_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBInstruction(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBInstruction__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBInstruction__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBInstruction'\n" " Possible C/C++ prototypes are:\n" " lldb::SBInstruction::SBInstruction()\n" " lldb::SBInstruction::SBInstruction(lldb::SBInstruction const &)\n"); lua_error(L);return 0; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (arg1)->GetByteSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = *argp2; (arg1)->Print(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBInstruction_Print",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; (arg1)->Print(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBInstruction_Print(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBInstruction_Print__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBInstruction_Print__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBInstruction_Print'\n" " Possible C/C++ prototypes are:\n" " lldb::SBInstruction::Print(lldb::SBFile)\n" " lldb::SBInstruction::Print(lldb::FileSP)\n"); lua_error(L);return 0; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(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; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::__str__",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___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; } static void swig_delete_SBInstruction(void *obj) { lldb::SBInstruction *arg1 = (lldb::SBInstruction *) obj; delete arg1; } static int _proxy__wrap_new_SBInstruction(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBInstruction); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBInstruction_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBInstruction_methods[]= { { "IsValid", _wrap_SBInstruction_IsValid}, { "GetAddress", _wrap_SBInstruction_GetAddress}, { "GetMnemonic", _wrap_SBInstruction_GetMnemonic}, { "GetOperands", _wrap_SBInstruction_GetOperands}, { "GetComment", _wrap_SBInstruction_GetComment}, { "GetData", _wrap_SBInstruction_GetData}, { "GetByteSize", _wrap_SBInstruction_GetByteSize}, { "DoesBranch", _wrap_SBInstruction_DoesBranch}, { "HasDelaySlot", _wrap_SBInstruction_HasDelaySlot}, { "CanSetBreakpoint", _wrap_SBInstruction_CanSetBreakpoint}, { "Print", _wrap_SBInstruction_Print}, { "GetDescription", _wrap_SBInstruction_GetDescription}, { "EmulateWithFrame", _wrap_SBInstruction_EmulateWithFrame}, { "DumpEmulation", _wrap_SBInstruction_DumpEmulation}, { "TestEmulation", _wrap_SBInstruction_TestEmulation}, { "__tostring", _wrap_SBInstruction___tostring}, {0,0} }; static swig_lua_method swig_SBInstruction_meta[] = { { "__tostring", _wrap_SBInstruction___tostring}, {0,0} }; static swig_lua_attribute swig_SBInstruction_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBInstruction_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBInstruction_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBInstruction_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBInstruction_Sf_SwigStatic = { "SBInstruction", swig_SBInstruction_Sf_SwigStatic_methods, swig_SBInstruction_Sf_SwigStatic_attributes, swig_SBInstruction_Sf_SwigStatic_constants, swig_SBInstruction_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBInstruction_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBInstructionList(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBInstructionList__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBInstructionList__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBInstructionList'\n" " Possible C/C++ prototypes are:\n" " lldb::SBInstructionList::SBInstructionList()\n" " lldb::SBInstructionList::SBInstructionList(lldb::SBInstructionList const &)\n"); lua_error(L);return 0; } 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); } 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; } 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); } result = (arg1)->GetSize(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg4 = (lua_toboolean(L, 4)!=0); result = (arg1)->GetInstructionsCount((lldb::SBAddress const &)*arg2,(lldb::SBAddress const &)*arg3,arg4); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; (arg1)->AppendInstruction(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } arg2 = *argp2; (arg1)->Print(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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 ; lldb::FileSP *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::FileSP"); 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_std__shared_ptrT_lldb_private__File_t,0))){ SWIG_fail_ptr("SBInstructionList_Print",2,SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t); } arg2 = *argp2; (arg1)->Print(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static int _wrap_SBInstructionList_Print(lua_State* L) { int argc; int argv[3]={ 1,2,3 }; argc = lua_gettop(L); if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBInstructionList_Print__SWIG_0(L); } } } if (argc == 2) { int _v; { void *ptr; if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) { _v = 0; } else { _v = 1; } } if (_v) { { void *ptr; if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_SBInstructionList_Print__SWIG_1(L); } } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBInstructionList_Print'\n" " Possible C/C++ prototypes are:\n" " lldb::SBInstructionList::Print(lldb::SBFile)\n" " lldb::SBInstructionList::Print(lldb::FileSP)\n"); lua_error(L);return 0; } 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); } 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; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::__str__",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___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; } static void swig_delete_SBInstructionList(void *obj) { lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) obj; delete arg1; } static int _proxy__wrap_new_SBInstructionList(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBInstructionList); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBInstructionList_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBInstructionList_methods[]= { { "IsValid", _wrap_SBInstructionList_IsValid}, { "GetSize", _wrap_SBInstructionList_GetSize}, { "GetInstructionAtIndex", _wrap_SBInstructionList_GetInstructionAtIndex}, { "GetInstructionsCount", _wrap_SBInstructionList_GetInstructionsCount}, { "Clear", _wrap_SBInstructionList_Clear}, { "AppendInstruction", _wrap_SBInstructionList_AppendInstruction}, { "Print", _wrap_SBInstructionList_Print}, { "GetDescription", _wrap_SBInstructionList_GetDescription}, { "DumpEmulationForAllInstructions", _wrap_SBInstructionList_DumpEmulationForAllInstructions}, { "__tostring", _wrap_SBInstructionList___tostring}, {0,0} }; static swig_lua_method swig_SBInstructionList_meta[] = { { "__tostring", _wrap_SBInstructionList___tostring}, {0,0} }; static swig_lua_attribute swig_SBInstructionList_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBInstructionList_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBInstructionList_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBInstructionList_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBInstructionList_Sf_SwigStatic = { "SBInstructionList", swig_SBInstructionList_Sf_SwigStatic_methods, swig_SBInstructionList_Sf_SwigStatic_attributes, swig_SBInstructionList_Sf_SwigStatic_constants, swig_SBInstructionList_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBInstructionList_bases[] = {0}; 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_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetNameForLanguageType",1,"lldb::LanguageType"); arg1 = (lldb::LanguageType)(int)lua_tonumber(L, 1); result = (char *)lldb::SBLanguageRuntime::GetNameForLanguageType(arg1); lua_pushstring(L,(const char *)result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } static void swig_delete_SBLanguageRuntime(void *obj) { lldb::SBLanguageRuntime *arg1 = (lldb::SBLanguageRuntime *) obj; delete arg1; } static int _proxy__wrap_new_SBLanguageRuntime(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBLanguageRuntime); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBLanguageRuntime_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBLanguageRuntime_methods[]= { {0,0} }; static swig_lua_method swig_SBLanguageRuntime_meta[] = { {0,0} }; static swig_lua_attribute swig_SBLanguageRuntime_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBLanguageRuntime_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBLanguageRuntime_Sf_SwigStatic_methods[]= { { "GetLanguageTypeFromString", _wrap_SBLanguageRuntime_GetLanguageTypeFromString}, { "GetNameForLanguageType", _wrap_SBLanguageRuntime_GetNameForLanguageType}, {0,0} }; static swig_lua_class* swig_SBLanguageRuntime_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBLanguageRuntime_Sf_SwigStatic = { "SBLanguageRuntime", swig_SBLanguageRuntime_Sf_SwigStatic_methods, swig_SBLanguageRuntime_Sf_SwigStatic_attributes, swig_SBLanguageRuntime_Sf_SwigStatic_constants, swig_SBLanguageRuntime_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBLanguageRuntime_bases[] = {0}; 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(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SBLaunchInfo",1,"char const **"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_p_char,0))){ SWIG_fail_ptr("new_SBLaunchInfo",1,SWIGTYPE_p_p_char); } result = (lldb::SBLaunchInfo *)new lldb::SBLaunchInfo((char const **)arg1); SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (lldb::pid_t)(arg1)->GetProcessID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetUserID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetGroupID(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetUserID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetGroupID(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->SetListener(*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumArguments(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; } 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(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",2,"char const **"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_p_char,0))){ SWIG_fail_ptr("SBLaunchInfo_SetArguments",2,SWIGTYPE_p_p_char); } arg3 = (lua_toboolean(L, 3)!=0); (arg1)->SetArguments((char const **)arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetNumEnvironmentEntries(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; } 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(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",2,"char const **"); 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 (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_p_char,0))){ SWIG_fail_ptr("SBLaunchInfo_SetEnvironmentEntries",2,SWIGTYPE_p_p_char); } arg3 = (lua_toboolean(L, 3)!=0); (arg1)->SetEnvironmentEntries((char const **)arg2,arg3); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } result = (uint32_t)(arg1)->GetLaunchFlags(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetLaunchFlags(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetShellExpandArguments(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)(arg1)->GetResumeCount(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetResumeCount(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_tonumber(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; } 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_isnumber(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",2,"int"); if(!lua_isnumber(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_tonumber(L, 2); arg3 = (int)lua_tonumber(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; } 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_isnumber(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_tonumber(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; } 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_isnumber(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_tonumber(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; } 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); } 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; } 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); } 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; } 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); } 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; } 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); } arg2 = (lua_toboolean(L, 2)!=0); (arg1)->SetDetachOnError(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } static void swig_delete_SBLaunchInfo(void *obj) { lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) obj; delete arg1; } static int _proxy__wrap_new_SBLaunchInfo(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBLaunchInfo); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBLaunchInfo_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBLaunchInfo_methods[]= { { "GetProcessID", _wrap_SBLaunchInfo_GetProcessID}, { "GetUserID", _wrap_SBLaunchInfo_GetUserID}, { "GetGroupID", _wrap_SBLaunchInfo_GetGroupID}, { "UserIDIsValid", _wrap_SBLaunchInfo_UserIDIsValid}, { "GroupIDIsValid", _wrap_SBLaunchInfo_GroupIDIsValid}, { "SetUserID", _wrap_SBLaunchInfo_SetUserID}, { "SetGroupID", _wrap_SBLaunchInfo_SetGroupID}, { "GetExecutableFile", _wrap_SBLaunchInfo_GetExecutableFile}, { "SetExecutableFile", _wrap_SBLaunchInfo_SetExecutableFile}, { "GetListener", _wrap_SBLaunchInfo_GetListener}, { "SetListener", _wrap_SBLaunchInfo_SetListener}, { "GetNumArguments", _wrap_SBLaunchInfo_GetNumArguments}, { "GetArgumentAtIndex", _wrap_SBLaunchInfo_GetArgumentAtIndex}, { "SetArguments", _wrap_SBLaunchInfo_SetArguments}, { "GetNumEnvironmentEntries", _wrap_SBLaunchInfo_GetNumEnvironmentEntries}, { "GetEnvironmentEntryAtIndex", _wrap_SBLaunchInfo_GetEnvironmentEntryAtIndex}, { "SetEnvironmentEntries", _wrap_SBLaunchInfo_SetEnvironmentEntries}, { "SetEnvironment", _wrap_SBLaunchInfo_SetEnvironment}, { "GetEnvironment", _wrap_SBLaunchInfo_GetEnvironment}, { "Clear", _wrap_SBLaunchInfo_Clear}, { "GetWorkingDirectory", _wrap_SBLaunchInfo_GetWorkingDirectory}, { "SetWorkingDirectory", _wrap_SBLaunchInfo_SetWorkingDirectory}, { "GetLaunchFlags", _wrap_SBLaunchInfo_GetLaunchFlags}, { "SetLaunchFlags", _wrap_SBLaunchInfo_SetLaunchFlags}, { "GetProcessPluginName", _wrap_SBLaunchInfo_GetProcessPluginName}, { "SetProcessPluginName", _wrap_SBLaunchInfo_SetProcessPluginName}, { "GetShell", _wrap_SBLaunchInfo_GetShell}, { "SetShell", _wrap_SBLaunchInfo_SetShell}, { "GetShellExpandArguments", _wrap_SBLaunchInfo_GetShellExpandArguments}, { "SetShellExpandArguments", _wrap_SBLaunchInfo_SetShellExpandArguments}, { "GetResumeCount", _wrap_SBLaunchInfo_GetResumeCount}, { "SetResumeCount", _wrap_SBLaunchInfo_SetResumeCount}, { "AddCloseFileAction", _wrap_SBLaunchInfo_AddCloseFileAction}, { "AddDuplicateFileAction", _wrap_SBLaunchInfo_AddDuplicateFileAction}, { "AddOpenFileAction", _wrap_SBLaunchInfo_AddOpenFileAction}, { "AddSuppressFileAction", _wrap_SBLaunchInfo_AddSuppressFileAction}, { "SetLaunchEventData", _wrap_SBLaunchInfo_SetLaunchEventData}, { "GetLaunchEventData", _wrap_SBLaunchInfo_GetLaunchEventData}, { "GetDetachOnError", _wrap_SBLaunchInfo_GetDetachOnError}, { "SetDetachOnError", _wrap_SBLaunchInfo_SetDetachOnError}, {0,0} }; static swig_lua_method swig_SBLaunchInfo_meta[] = { {0,0} }; static swig_lua_attribute swig_SBLaunchInfo_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBLaunchInfo_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBLaunchInfo_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBLaunchInfo_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBLaunchInfo_Sf_SwigStatic = { "SBLaunchInfo", swig_SBLaunchInfo_Sf_SwigStatic_methods, swig_SBLaunchInfo_Sf_SwigStatic_attributes, swig_SBLaunchInfo_Sf_SwigStatic_constants, swig_SBLaunchInfo_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBLaunchInfo_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBLineEntry(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBLineEntry__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBLineEntry, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBLineEntry__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBLineEntry'\n" " Possible C/C++ prototypes are:\n" " lldb::SBLineEntry::SBLineEntry()\n" " lldb::SBLineEntry::SBLineEntry(lldb::SBLineEntry const &)\n"); lua_error(L);return 0; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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++; } return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetLine(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetColumn(); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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); } arg2 = *argp2; (arg1)->SetFileSpec(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetLine(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(L, 2); (arg1)->SetColumn(arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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::__str__",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::__str__",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___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; } static void swig_delete_SBLineEntry(void *obj) { lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) obj; delete arg1; } static int _proxy__wrap_new_SBLineEntry(lua_State *L) { assert(lua_istable(L,1)); lua_pushcfunction(L,_wrap_new_SBLineEntry); assert(!lua_isnil(L,-1)); lua_replace(L,1); /* replace our table with real constructor */ lua_call(L,lua_gettop(L)-1,1); return 1; } static swig_lua_attribute swig_SBLineEntry_attributes[] = { {0,0,0} }; static swig_lua_method swig_SBLineEntry_methods[]= { { "GetStartAddress", _wrap_SBLineEntry_GetStartAddress}, { "GetEndAddress", _wrap_SBLineEntry_GetEndAddress}, { "IsValid", _wrap_SBLineEntry_IsValid}, { "GetFileSpec", _wrap_SBLineEntry_GetFileSpec}, { "GetLine", _wrap_SBLineEntry_GetLine}, { "GetColumn", _wrap_SBLineEntry_GetColumn}, { "GetDescription", _wrap_SBLineEntry_GetDescription}, { "SetFileSpec", _wrap_SBLineEntry_SetFileSpec}, { "SetLine", _wrap_SBLineEntry_SetLine}, { "SetColumn", _wrap_SBLineEntry_SetColumn}, { "__eq", _wrap_SBLineEntry___eq}, { "__tostring", _wrap_SBLineEntry___tostring}, {0,0} }; static swig_lua_method swig_SBLineEntry_meta[] = { { "__eq", _wrap_SBLineEntry___eq}, { "__tostring", _wrap_SBLineEntry___tostring}, {0,0} }; static swig_lua_attribute swig_SBLineEntry_Sf_SwigStatic_attributes[] = { {0,0,0} }; static swig_lua_const_info swig_SBLineEntry_Sf_SwigStatic_constants[]= { {0,0,0,0,0,0} }; static swig_lua_method swig_SBLineEntry_Sf_SwigStatic_methods[]= { {0,0} }; static swig_lua_class* swig_SBLineEntry_Sf_SwigStatic_classes[]= { 0 }; static swig_lua_namespace swig_SBLineEntry_Sf_SwigStatic = { "SBLineEntry", swig_SBLineEntry_Sf_SwigStatic_methods, swig_SBLineEntry_Sf_SwigStatic_attributes, swig_SBLineEntry_Sf_SwigStatic_constants, swig_SBLineEntry_Sf_SwigStatic_classes, 0 }; static swig_lua_class *swig_SBLineEntry_bases[] = {0}; 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: lua_error(L); return SWIG_arg; } 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: lua_error(L); return SWIG_arg; } 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); } 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; } static int _wrap_new_SBListener(lua_State* L) { int argc; int argv[2]={ 1,2 }; argc = lua_gettop(L); if (argc == 0) { return _wrap_new_SBListener__SWIG_0(L); } if (argc == 1) { int _v; { void *ptr; if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; } } if (_v) { return _wrap_new_SBListener__SWIG_2(L); } } if (argc == 1) { int _v; { _v = SWIG_lua_isnilstring(L,argv[0]); } if (_v) { return _wrap_new_SBListener__SWIG_1(L); } } SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBListener'\n" " Possible C/C++ prototypes are:\n" " lldb::SBListener::SBListener()\n" " lldb::SBListener::SBListener(char const *)\n" " lldb::SBListener::SBListener(lldb::SBListener const &)\n"); lua_error(L);return 0; } 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); } (arg1)->AddEvent((lldb::SBEvent const &)*arg2); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } (arg1)->Clear(); return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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); } 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; } 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_isnumber(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); SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (uint32_t)lua_tonumber(L, 4); result = (uint32_t)(arg1)->StartListeningForEventClass(*arg2,(char const *)arg3,arg4); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (uint32_t)lua_tonumber(L, 4); result = (uint32_t)(arg1)->StopListeningForEventClass(*arg2,(char const *)arg3,arg4); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(L, 3); result = (uint32_t)(arg1)->StartListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3); lua_pushnumber(L, (lua_Number) result); SWIG_arg++; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative") arg3 = (uint32_t)lua_tonumber(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; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } 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_isnumber(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_isnumber(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); } SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative") arg2 = (uint32_t)lua_tonumber(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); } SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative") arg4 = (uint32_t)lua_tonumber(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