xref: /freebsd/lib/clang/liblldb/LLDBWrapLua.cpp (revision 4c2d3b02)
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (https://www.swig.org).
3  * Version 4.1.1
4  *
5  * Do not make changes to this file unless you know what you are doing - modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8 
9 
10 #define SWIG_VERSION 0x040101
11 #define SWIGLUA
12 #define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
13 #define SWIG_LUA_MODULE_GLOBAL
14 
15 /* -----------------------------------------------------------------------------
16  *  This section contains generic SWIG labels for method/variable
17  *  declarations/attributes, and other compiler dependent labels.
18  * ----------------------------------------------------------------------------- */
19 
20 /* template workaround for compilers that cannot correctly implement the C++ standard */
21 #ifndef SWIGTEMPLATEDISAMBIGUATOR
22 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
23 #  define SWIGTEMPLATEDISAMBIGUATOR template
24 # elif defined(__HP_aCC)
25 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
26 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
27 #  define SWIGTEMPLATEDISAMBIGUATOR template
28 # else
29 #  define SWIGTEMPLATEDISAMBIGUATOR
30 # endif
31 #endif
32 
33 /* inline attribute */
34 #ifndef SWIGINLINE
35 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
36 #   define SWIGINLINE inline
37 # else
38 #   define SWIGINLINE
39 # endif
40 #endif
41 
42 /* attribute recognised by some compilers to avoid 'unused' warnings */
43 #ifndef SWIGUNUSED
44 # if defined(__GNUC__)
45 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
46 #     define SWIGUNUSED __attribute__ ((__unused__))
47 #   else
48 #     define SWIGUNUSED
49 #   endif
50 # elif defined(__ICC)
51 #   define SWIGUNUSED __attribute__ ((__unused__))
52 # else
53 #   define SWIGUNUSED
54 # endif
55 #endif
56 
57 #ifndef SWIG_MSC_UNSUPPRESS_4505
58 # if defined(_MSC_VER)
59 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
60 # endif
61 #endif
62 
63 #ifndef SWIGUNUSEDPARM
64 # ifdef __cplusplus
65 #   define SWIGUNUSEDPARM(p)
66 # else
67 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
68 # endif
69 #endif
70 
71 /* internal SWIG method */
72 #ifndef SWIGINTERN
73 # define SWIGINTERN static SWIGUNUSED
74 #endif
75 
76 /* internal inline SWIG method */
77 #ifndef SWIGINTERNINLINE
78 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
79 #endif
80 
81 /* exporting methods */
82 #if defined(__GNUC__)
83 #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
84 #    ifndef GCC_HASCLASSVISIBILITY
85 #      define GCC_HASCLASSVISIBILITY
86 #    endif
87 #  endif
88 #endif
89 
90 #ifndef SWIGEXPORT
91 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
92 #   if defined(STATIC_LINKED)
93 #     define SWIGEXPORT
94 #   else
95 #     define SWIGEXPORT __declspec(dllexport)
96 #   endif
97 # else
98 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
99 #     define SWIGEXPORT __attribute__ ((visibility("default")))
100 #   else
101 #     define SWIGEXPORT
102 #   endif
103 # endif
104 #endif
105 
106 /* calling conventions for Windows */
107 #ifndef SWIGSTDCALL
108 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
109 #   define SWIGSTDCALL __stdcall
110 # else
111 #   define SWIGSTDCALL
112 # endif
113 #endif
114 
115 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
116 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
117 # define _CRT_SECURE_NO_DEPRECATE
118 #endif
119 
120 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
121 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
122 # define _SCL_SECURE_NO_DEPRECATE
123 #endif
124 
125 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
126 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
127 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
128 #endif
129 
130 /* Intel's compiler complains if a variable which was never initialised is
131  * cast to void, which is a common idiom which we use to indicate that we
132  * are aware a variable isn't used.  So we just silence that warning.
133  * See: https://github.com/swig/swig/issues/192 for more discussion.
134  */
135 #ifdef __INTEL_COMPILER
136 # pragma warning disable 592
137 #endif
138 
139 /* -----------------------------------------------------------------------------
140  * swigrun.swg
141  *
142  * This file contains generic C API SWIG runtime support for pointer
143  * type checking.
144  * ----------------------------------------------------------------------------- */
145 
146 /* This should only be incremented when either the layout of swig_type_info changes,
147    or for whatever reason, the runtime changes incompatibly */
148 #define SWIG_RUNTIME_VERSION "4"
149 
150 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
151 #ifdef SWIG_TYPE_TABLE
152 # define SWIG_QUOTE_STRING(x) #x
153 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
154 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
155 #else
156 # define SWIG_TYPE_TABLE_NAME
157 #endif
158 
159 /*
160   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
161   creating a static or dynamic library from the SWIG runtime code.
162   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
163 
164   But only do this if strictly necessary, ie, if you have problems
165   with your compiler or suchlike.
166 */
167 
168 #ifndef SWIGRUNTIME
169 # define SWIGRUNTIME SWIGINTERN
170 #endif
171 
172 #ifndef SWIGRUNTIMEINLINE
173 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
174 #endif
175 
176 /*  Generic buffer size */
177 #ifndef SWIG_BUFFER_SIZE
178 # define SWIG_BUFFER_SIZE 1024
179 #endif
180 
181 /* Flags for pointer conversions */
182 #define SWIG_POINTER_DISOWN        0x1
183 #define SWIG_CAST_NEW_MEMORY       0x2
184 #define SWIG_POINTER_NO_NULL       0x4
185 #define SWIG_POINTER_CLEAR         0x8
186 #define SWIG_POINTER_RELEASE       (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
187 
188 /* Flags for new pointer objects */
189 #define SWIG_POINTER_OWN           0x1
190 
191 
192 /*
193    Flags/methods for returning states.
194 
195    The SWIG conversion methods, as ConvertPtr, return an integer
196    that tells if the conversion was successful or not. And if not,
197    an error code can be returned (see swigerrors.swg for the codes).
198 
199    Use the following macros/flags to set or process the returning
200    states.
201 
202    In old versions of SWIG, code such as the following was usually written:
203 
204      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
205        // success code
206      } else {
207        //fail code
208      }
209 
210    Now you can be more explicit:
211 
212     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
213     if (SWIG_IsOK(res)) {
214       // success code
215     } else {
216       // fail code
217     }
218 
219    which is the same really, but now you can also do
220 
221     Type *ptr;
222     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
223     if (SWIG_IsOK(res)) {
224       // success code
225       if (SWIG_IsNewObj(res) {
226         ...
227 	delete *ptr;
228       } else {
229         ...
230       }
231     } else {
232       // fail code
233     }
234 
235    I.e., now SWIG_ConvertPtr can return new objects and you can
236    identify the case and take care of the deallocation. Of course that
237    also requires SWIG_ConvertPtr to return new result values, such as
238 
239       int SWIG_ConvertPtr(obj, ptr,...) {
240         if (<obj is ok>) {
241           if (<need new object>) {
242             *ptr = <ptr to new allocated object>;
243             return SWIG_NEWOBJ;
244           } else {
245             *ptr = <ptr to old object>;
246             return SWIG_OLDOBJ;
247           }
248         } else {
249           return SWIG_BADOBJ;
250         }
251       }
252 
253    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
254    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
255    SWIG errors code.
256 
257    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
258    allows returning the 'cast rank', for example, if you have this
259 
260        int food(double)
261        int fooi(int);
262 
263    and you call
264 
265       food(1)   // cast rank '1'  (1 -> 1.0)
266       fooi(1)   // cast rank '0'
267 
268    just use the SWIG_AddCast()/SWIG_CheckState()
269 */
270 
271 #define SWIG_OK                    (0)
272 /* Runtime errors are < 0 */
273 #define SWIG_ERROR                 (-1)
274 /* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
275 /* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
276 /* Errors < -200 are generic runtime specific errors */
277 #define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
278 
279 #define SWIG_IsOK(r)               (r >= 0)
280 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
281 
282 /* The CastRankLimit says how many bits are used for the cast rank */
283 #define SWIG_CASTRANKLIMIT         (1 << 8)
284 /* The NewMask denotes the object was created (using new/malloc) */
285 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
286 /* The TmpMask is for in/out typemaps that use temporal objects */
287 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
288 /* Simple returning values */
289 #define SWIG_BADOBJ                (SWIG_ERROR)
290 #define SWIG_OLDOBJ                (SWIG_OK)
291 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
292 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
293 /* Check, add and del object mask methods */
294 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
295 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
296 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
297 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
298 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
299 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
300 
301 /* Cast-Rank Mode */
302 #if defined(SWIG_CASTRANK_MODE)
303 #  ifndef SWIG_TypeRank
304 #    define SWIG_TypeRank             unsigned long
305 #  endif
306 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
307 #    define SWIG_MAXCASTRANK          (2)
308 #  endif
309 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
310 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIG_AddCast(int r)311 SWIGINTERNINLINE int SWIG_AddCast(int r) {
312   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
313 }
SWIG_CheckState(int r)314 SWIGINTERNINLINE int SWIG_CheckState(int r) {
315   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
316 }
317 #else /* no cast-rank mode */
318 #  define SWIG_AddCast(r) (r)
319 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
320 #endif
321 
322 
323 #include <string.h>
324 
325 #ifdef __cplusplus
326 extern "C" {
327 #endif
328 
329 typedef void *(*swig_converter_func)(void *, int *);
330 typedef struct swig_type_info *(*swig_dycast_func)(void **);
331 
332 /* Structure to store information on one type */
333 typedef struct swig_type_info {
334   const char             *name;			/* mangled name of this type */
335   const char             *str;			/* human readable name of this type */
336   swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
337   struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
338   void                   *clientdata;		/* language specific type data */
339   int                    owndata;		/* flag if the structure owns the clientdata */
340 } swig_type_info;
341 
342 /* Structure to store a type and conversion function used for casting */
343 typedef struct swig_cast_info {
344   swig_type_info         *type;			/* pointer to type that is equivalent to this type */
345   swig_converter_func     converter;		/* function to cast the void pointers */
346   struct swig_cast_info  *next;			/* pointer to next cast in linked list */
347   struct swig_cast_info  *prev;			/* pointer to the previous cast */
348 } swig_cast_info;
349 
350 /* Structure used to store module information
351  * Each module generates one structure like this, and the runtime collects
352  * all of these structures and stores them in a circularly linked list.*/
353 typedef struct swig_module_info {
354   swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
355   size_t                 size;		        /* Number of types in this module */
356   struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
357   swig_type_info         **type_initial;	/* Array of initially generated type structures */
358   swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
359   void                    *clientdata;		/* Language specific module data */
360 } swig_module_info;
361 
362 /*
363   Compare two type names skipping the space characters, therefore
364   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
365 
366   Return 0 when the two name types are equivalent, as in
367   strncmp, but skipping ' '.
368 */
369 SWIGRUNTIME int
SWIG_TypeNameComp(const char * f1,const char * l1,const char * f2,const char * l2)370 SWIG_TypeNameComp(const char *f1, const char *l1,
371 		  const char *f2, const char *l2) {
372   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
373     while ((*f1 == ' ') && (f1 != l1)) ++f1;
374     while ((*f2 == ' ') && (f2 != l2)) ++f2;
375     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
376   }
377   return (int)((l1 - f1) - (l2 - f2));
378 }
379 
380 /*
381   Check type equivalence in a name list like <name1>|<name2>|...
382   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
383 */
384 SWIGRUNTIME int
SWIG_TypeCmp(const char * nb,const char * tb)385 SWIG_TypeCmp(const char *nb, const char *tb) {
386   int equiv = 1;
387   const char* te = tb + strlen(tb);
388   const char* ne = nb;
389   while (equiv != 0 && *ne) {
390     for (nb = ne; *ne; ++ne) {
391       if (*ne == '|') break;
392     }
393     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
394     if (*ne) ++ne;
395   }
396   return equiv;
397 }
398 
399 /*
400   Check type equivalence in a name list like <name1>|<name2>|...
401   Return 0 if not equal, 1 if equal
402 */
403 SWIGRUNTIME int
SWIG_TypeEquiv(const char * nb,const char * tb)404 SWIG_TypeEquiv(const char *nb, const char *tb) {
405   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
406 }
407 
408 /*
409   Check the typename
410 */
411 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char * c,swig_type_info * ty)412 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
413   if (ty) {
414     swig_cast_info *iter = ty->cast;
415     while (iter) {
416       if (strcmp(iter->type->name, c) == 0) {
417         if (iter == ty->cast)
418           return iter;
419         /* Move iter to the top of the linked list */
420         iter->prev->next = iter->next;
421         if (iter->next)
422           iter->next->prev = iter->prev;
423         iter->next = ty->cast;
424         iter->prev = 0;
425         if (ty->cast) ty->cast->prev = iter;
426         ty->cast = iter;
427         return iter;
428       }
429       iter = iter->next;
430     }
431   }
432   return 0;
433 }
434 
435 /*
436   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
437 */
438 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(const swig_type_info * from,swig_type_info * ty)439 SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) {
440   if (ty) {
441     swig_cast_info *iter = ty->cast;
442     while (iter) {
443       if (iter->type == from) {
444         if (iter == ty->cast)
445           return iter;
446         /* Move iter to the top of the linked list */
447         iter->prev->next = iter->next;
448         if (iter->next)
449           iter->next->prev = iter->prev;
450         iter->next = ty->cast;
451         iter->prev = 0;
452         if (ty->cast) ty->cast->prev = iter;
453         ty->cast = iter;
454         return iter;
455       }
456       iter = iter->next;
457     }
458   }
459   return 0;
460 }
461 
462 /*
463   Cast a pointer up an inheritance hierarchy
464 */
465 SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info * ty,void * ptr,int * newmemory)466 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
467   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
468 }
469 
470 /*
471    Dynamic pointer casting. Down an inheritance hierarchy
472 */
473 SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info * ty,void ** ptr)474 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
475   swig_type_info *lastty = ty;
476   if (!ty || !ty->dcast) return ty;
477   while (ty && (ty->dcast)) {
478     ty = (*ty->dcast)(ptr);
479     if (ty) lastty = ty;
480   }
481   return lastty;
482 }
483 
484 /*
485   Return the name associated with this type
486 */
487 SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info * ty)488 SWIG_TypeName(const swig_type_info *ty) {
489   return ty->name;
490 }
491 
492 /*
493   Return the pretty name associated with this type,
494   that is an unmangled type name in a form presentable to the user.
495 */
496 SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info * type)497 SWIG_TypePrettyName(const swig_type_info *type) {
498   /* The "str" field contains the equivalent pretty names of the
499      type, separated by vertical-bar characters.  Choose the last
500      name. It should be the most specific; a fully resolved name
501      but not necessarily with default template parameters expanded. */
502   if (!type) return NULL;
503   if (type->str != NULL) {
504     const char *last_name = type->str;
505     const char *s;
506     for (s = type->str; *s; s++)
507       if (*s == '|') last_name = s+1;
508     return last_name;
509   }
510   else
511     return type->name;
512 }
513 
514 /*
515    Set the clientdata field for a type
516 */
517 SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info * ti,void * clientdata)518 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
519   swig_cast_info *cast = ti->cast;
520   /* if (ti->clientdata == clientdata) return; */
521   ti->clientdata = clientdata;
522 
523   while (cast) {
524     if (!cast->converter) {
525       swig_type_info *tc = cast->type;
526       if (!tc->clientdata) {
527 	SWIG_TypeClientData(tc, clientdata);
528       }
529     }
530     cast = cast->next;
531   }
532 }
533 SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info * ti,void * clientdata)534 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
535   SWIG_TypeClientData(ti, clientdata);
536   ti->owndata = 1;
537 }
538 
539 /*
540   Search for a swig_type_info structure only by mangled name
541   Search is a O(log #types)
542 
543   We start searching at module start, and finish searching when start == end.
544   Note: if start == end at the beginning of the function, we go all the way around
545   the circular list.
546 */
547 SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)548 SWIG_MangledTypeQueryModule(swig_module_info *start,
549                             swig_module_info *end,
550 		            const char *name) {
551   swig_module_info *iter = start;
552   do {
553     if (iter->size) {
554       size_t l = 0;
555       size_t r = iter->size - 1;
556       do {
557 	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
558 	size_t i = (l + r) >> 1;
559 	const char *iname = iter->types[i]->name;
560 	if (iname) {
561 	  int compare = strcmp(name, iname);
562 	  if (compare == 0) {
563 	    return iter->types[i];
564 	  } else if (compare < 0) {
565 	    if (i) {
566 	      r = i - 1;
567 	    } else {
568 	      break;
569 	    }
570 	  } else if (compare > 0) {
571 	    l = i + 1;
572 	  }
573 	} else {
574 	  break; /* should never happen */
575 	}
576       } while (l <= r);
577     }
578     iter = iter->next;
579   } while (iter != end);
580   return 0;
581 }
582 
583 /*
584   Search for a swig_type_info structure for either a mangled name or a human readable name.
585   It first searches the mangled names of the types, which is a O(log #types)
586   If a type is not found it then searches the human readable names, which is O(#types).
587 
588   We start searching at module start, and finish searching when start == end.
589   Note: if start == end at the beginning of the function, we go all the way around
590   the circular list.
591 */
592 SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)593 SWIG_TypeQueryModule(swig_module_info *start,
594                      swig_module_info *end,
595 		     const char *name) {
596   /* STEP 1: Search the name field using binary search */
597   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
598   if (ret) {
599     return ret;
600   } else {
601     /* STEP 2: If the type hasn't been found, do a complete search
602        of the str field (the human readable name) */
603     swig_module_info *iter = start;
604     do {
605       size_t i = 0;
606       for (; i < iter->size; ++i) {
607 	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
608 	  return iter->types[i];
609       }
610       iter = iter->next;
611     } while (iter != end);
612   }
613 
614   /* neither found a match */
615   return 0;
616 }
617 
618 /*
619    Pack binary data into a string
620 */
621 SWIGRUNTIME char *
SWIG_PackData(char * c,void * ptr,size_t sz)622 SWIG_PackData(char *c, void *ptr, size_t sz) {
623   static const char hex[17] = "0123456789abcdef";
624   const unsigned char *u = (unsigned char *) ptr;
625   const unsigned char *eu =  u + sz;
626   for (; u != eu; ++u) {
627     unsigned char uu = *u;
628     *(c++) = hex[(uu & 0xf0) >> 4];
629     *(c++) = hex[uu & 0xf];
630   }
631   return c;
632 }
633 
634 /*
635    Unpack binary data from a string
636 */
637 SWIGRUNTIME const char *
SWIG_UnpackData(const char * c,void * ptr,size_t sz)638 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
639   unsigned char *u = (unsigned char *) ptr;
640   const unsigned char *eu = u + sz;
641   for (; u != eu; ++u) {
642     char d = *(c++);
643     unsigned char uu;
644     if ((d >= '0') && (d <= '9'))
645       uu = (unsigned char)((d - '0') << 4);
646     else if ((d >= 'a') && (d <= 'f'))
647       uu = (unsigned char)((d - ('a'-10)) << 4);
648     else
649       return (char *) 0;
650     d = *(c++);
651     if ((d >= '0') && (d <= '9'))
652       uu |= (unsigned char)(d - '0');
653     else if ((d >= 'a') && (d <= 'f'))
654       uu |= (unsigned char)(d - ('a'-10));
655     else
656       return (char *) 0;
657     *u = uu;
658   }
659   return c;
660 }
661 
662 /*
663    Pack 'void *' into a string buffer.
664 */
665 SWIGRUNTIME char *
SWIG_PackVoidPtr(char * buff,void * ptr,const char * name,size_t bsz)666 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
667   char *r = buff;
668   if ((2*sizeof(void *) + 2) > bsz) return 0;
669   *(r++) = '_';
670   r = SWIG_PackData(r,&ptr,sizeof(void *));
671   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
672   strcpy(r,name);
673   return buff;
674 }
675 
676 SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char * c,void ** ptr,const char * name)677 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
678   if (*c != '_') {
679     if (strcmp(c,"NULL") == 0) {
680       *ptr = (void *) 0;
681       return name;
682     } else {
683       return 0;
684     }
685   }
686   return SWIG_UnpackData(++c,ptr,sizeof(void *));
687 }
688 
689 SWIGRUNTIME char *
SWIG_PackDataName(char * buff,void * ptr,size_t sz,const char * name,size_t bsz)690 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
691   char *r = buff;
692   size_t lname = (name ? strlen(name) : 0);
693   if ((2*sz + 2 + lname) > bsz) return 0;
694   *(r++) = '_';
695   r = SWIG_PackData(r,ptr,sz);
696   if (lname) {
697     strncpy(r,name,lname+1);
698   } else {
699     *r = 0;
700   }
701   return buff;
702 }
703 
704 SWIGRUNTIME const char *
SWIG_UnpackDataName(const char * c,void * ptr,size_t sz,const char * name)705 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
706   if (*c != '_') {
707     if (strcmp(c,"NULL") == 0) {
708       memset(ptr,0,sz);
709       return name;
710     } else {
711       return 0;
712     }
713   }
714   return SWIG_UnpackData(++c,ptr,sz);
715 }
716 
717 #ifdef __cplusplus
718 }
719 #endif
720 
721 /* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
722 #define  SWIG_UnknownError    	   -1
723 #define  SWIG_IOError        	   -2
724 #define  SWIG_RuntimeError   	   -3
725 #define  SWIG_IndexError     	   -4
726 #define  SWIG_TypeError      	   -5
727 #define  SWIG_DivisionByZero 	   -6
728 #define  SWIG_OverflowError  	   -7
729 #define  SWIG_SyntaxError    	   -8
730 #define  SWIG_ValueError     	   -9
731 #define  SWIG_SystemError    	   -10
732 #define  SWIG_AttributeError 	   -11
733 #define  SWIG_MemoryError    	   -12
734 #define  SWIG_NullReferenceError   -13
735 
736 
737 /* -----------------------------------------------------------------------------
738  * luarun.swg
739  *
740  * This file contains the runtime support for Lua modules
741  * and includes code for managing global variables and pointer
742  * type checking.
743  * ----------------------------------------------------------------------------- */
744 
745 #ifdef __cplusplus
746 extern "C" {
747 #endif
748 
749 #include "lua.h"
750 #include "lauxlib.h"
751 #include <stdlib.h>  /* for malloc */
752 #include <assert.h>  /* for a few sanity tests */
753 
754 /* -----------------------------------------------------------------------------
755  * Lua flavors
756  * ----------------------------------------------------------------------------- */
757 
758 #define SWIG_LUA_FLAVOR_LUA 1
759 #define SWIG_LUA_FLAVOR_ELUA 2
760 #define SWIG_LUA_FLAVOR_ELUAC 3
761 
762 #if !defined(SWIG_LUA_TARGET)
763 # error SWIG_LUA_TARGET not defined
764 #endif
765 
766 #if defined(SWIG_LUA_ELUA_EMULATE)
767 
768 struct swig_elua_entry;
769 
770 typedef struct swig_elua_key {
771   int type;
772   union {
773     const char* strkey;
774     lua_Number numkey;
775   } key;
776 } swig_elua_key;
777 
778 typedef struct swig_elua_val {
779   int type;
780   union {
781     lua_Number number;
782     const struct swig_elua_entry *table;
783     const char *string;
784     lua_CFunction function;
785     struct {
786       char member;
787       long lvalue;
788       void *pvalue;
789       swig_type_info **ptype;
790     } userdata;
791   } value;
792 } swig_elua_val;
793 
794 typedef struct swig_elua_entry {
795   swig_elua_key key;
796   swig_elua_val value;
797 } swig_elua_entry;
798 
799 #define LSTRKEY(x) {LUA_TSTRING, {.strkey = x} }
800 #define LNUMKEY(x) {LUA_TNUMBER, {.numkey = x} }
801 #define LNILKEY {LUA_TNIL, {.strkey = 0} }
802 
803 #define LNUMVAL(x) {LUA_TNUMBER, {.number = x} }
804 #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} }
805 #define LROVAL(x) {LUA_TTABLE, {.table = x} }
806 #define LNILVAL {LUA_TNIL, {.string = 0} }
807 #define LSTRVAL(x) {LUA_TSTRING, {.string = x} }
808 
809 #define LUA_REG_TYPE swig_elua_entry
810 
811 #define SWIG_LUA_ELUA_EMUL_METATABLE_KEY "__metatable"
812 
813 #define lua_pushrotable(L,p)\
814   lua_newtable(L);\
815   assert(p);\
816   SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
817 
818 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
819   LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }
820 
821 #define SWIG_LUA_CONSTTAB_BINARY(B,S,C,D)\
822   LSTRKEY(B), {LUA_TUSERDATA, { .userdata={1,S,(void*)(C),&D} } }
823 #endif
824 
825 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
826 #  define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
827 #  define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
828 #  define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
829 #  define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
830     /* Those two types of constants are not supported in elua */
831 
832 #ifndef SWIG_LUA_CONSTTAB_POINTER
833 #warning eLua does not support pointers as constants. By default, nil will be used as value
834 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D) LSTRKEY(B), LNILVAL
835 #endif
836 
837 #ifndef SWIG_LUA_CONSTTAB_BINARY
838 #warning eLua does not support pointers to member as constants. By default, nil will be used as value
839 #define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D) LSTRKEY(B), LNILVAL
840 #endif
841 #else /* SWIG_LUA_FLAVOR_LUA */
842 #  define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
843 #  define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
844 #  define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
845 #  define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
846 #  define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
847        SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D
848 #  define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)\
849        SWIG_LUA_BINARY,  (char *)B, S, 0, (void *)C, &D
850 #endif
851 
852 #ifndef SWIG_LUA_ELUA_EMULATE
853 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
854 #  define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
855 #  define LSTRVAL LRO_STRVAL
856 #endif
857 #endif /* SWIG_LUA_ELUA_EMULATE*/
858 
859 #ifndef SWIG_LUA_ELUA_EMULATE
860 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
861 
862 #ifndef MIN_OPT_LEVEL
863 #define MIN_OPT_LEVEL 2
864 #endif
865 
866 #include "lrodefs.h"
867 #include "lrotable.h"
868 #endif
869 #endif /* SWIG_LUA_ELUA_EMULATE*/
870 /* -----------------------------------------------------------------------------
871  * compatibility defines
872  * ----------------------------------------------------------------------------- */
873 
874 /* History of Lua C API length functions:  In Lua 5.0 (and before?)
875    there was "lua_strlen".  In Lua 5.1, this was renamed "lua_objlen",
876    but a compatibility define of "lua_strlen" was added.  In Lua 5.2,
877    this function was again renamed, to "lua_rawlen" (to emphasize that
878    it doesn't call the "__len" metamethod), and the compatibility
879    define of lua_strlen was removed.  All SWIG uses have been updated
880    to "lua_rawlen", and we add our own defines of that here for older
881    versions of Lua.  */
882 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
883 # define lua_rawlen lua_strlen
884 #elif LUA_VERSION_NUM == 501
885 # define lua_rawlen lua_objlen
886 #endif
887 
888 
889 /* lua_pushglobaltable is the recommended "future-proof" way to get
890    the global table for Lua 5.2 and later.  Here we define
891    lua_pushglobaltable ourselves for Lua versions before 5.2.  */
892 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
893 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
894 #endif
895 
896 /* lua_absindex was introduced in Lua 5.2 */
897 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
898 # define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)
899 #endif
900 
901 /* lua_rawsetp was introduced in Lua 5.2 */
902 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
903 #define lua_rawsetp(L,index,ptr)\
904   lua_pushlightuserdata(L,(void*)(ptr));\
905   lua_insert(L,-2);\
906   lua_rawset(L,index);
907 
908 #define lua_rawgetp(L,index,ptr)\
909   lua_pushlightuserdata(L,(void*)(ptr));\
910   lua_rawget(L,index);
911 
912 #endif
913 
914 /* --------------------------------------------------------------------------
915  * Helper functions for error handling
916  * -------------------------------------------------------------------------- */
917 
918 /* Push the string STR on the Lua stack, like lua_pushstring, but
919    prefixed with the location of the innermost Lua call-point
920    (as formatted by luaL_where).  */
921 SWIGRUNTIME void
SWIG_Lua_pusherrstring(lua_State * L,const char * str)922 SWIG_Lua_pusherrstring (lua_State *L, const char *str)
923 {
924   luaL_where (L, 1);
925   lua_pushstring (L, str);
926   lua_concat (L, 2);
927 }
928 
929 /* Push a formatted string generated from FMT and following args on
930    the Lua stack, like lua_pushfstring, but prefixed with the
931    location of the innermost Lua call-point (as formatted by luaL_where).  */
932 SWIGRUNTIME void
SWIG_Lua_pushferrstring(lua_State * L,const char * fmt,...)933 SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...)
934 {
935   va_list argp;
936   va_start(argp, fmt);
937   luaL_where(L, 1);
938   lua_pushvfstring(L, fmt, argp);
939   va_end(argp);
940   lua_concat(L, 2);
941 }
942 
943 
944 /* -----------------------------------------------------------------------------
945  * global swig types
946  * ----------------------------------------------------------------------------- */
947 /* Constant table */
948 #define SWIG_LUA_INT     1
949 #define SWIG_LUA_FLOAT   2
950 #define SWIG_LUA_STRING  3
951 #define SWIG_LUA_POINTER 4
952 #define SWIG_LUA_BINARY  5
953 #define SWIG_LUA_CHAR    6
954 
955 /* Structure for variable linking table */
956 typedef struct {
957   const char *name;
958   lua_CFunction get;
959   lua_CFunction set;
960 } swig_lua_var_info;
961 
962 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
963 typedef const LUA_REG_TYPE swig_lua_method;
964 typedef const LUA_REG_TYPE swig_lua_const_info;
965 #else /* Normal lua */
966 typedef luaL_Reg swig_lua_method;
967 
968 /* Constant information structure */
969 typedef struct {
970     int type;
971     char *name;
972     long lvalue;
973     double dvalue;
974     void   *pvalue;
975     swig_type_info **ptype;
976 } swig_lua_const_info;
977 
978 #endif
979 
980 typedef struct {
981   const char     *name;
982   lua_CFunction   getmethod;
983   lua_CFunction   setmethod;
984 } swig_lua_attribute;
985 
986 
987 struct swig_lua_class;
988 /* Can be used to create namespaces. Currently used to wrap class static methods/variables/constants */
989 typedef struct swig_lua_namespace {
990   const char            *name;
991   swig_lua_method       *ns_methods;
992   swig_lua_attribute    *ns_attributes;
993   swig_lua_const_info   *ns_constants;
994   struct swig_lua_class        **ns_classes;
995   struct swig_lua_namespace    **ns_namespaces;
996 } swig_lua_namespace;
997 
998 typedef struct swig_lua_class {
999   const char    *name; /* Name that this class has in Lua */
1000   const char    *fqname; /* Fully qualified name - Scope + class name */
1001   swig_type_info   **type;
1002   lua_CFunction  constructor;
1003   void    (*destructor)(void *);
1004   swig_lua_method   *methods;
1005   swig_lua_attribute     *attributes;
1006   swig_lua_namespace    *cls_static;
1007   swig_lua_method   *metatable; /* 0 for -eluac */
1008   struct swig_lua_class **bases;
1009   const char **base_names;
1010 } swig_lua_class;
1011 
1012 /* this is the struct for wrapping all pointers in SwigLua
1013 */
1014 typedef struct {
1015   swig_type_info   *type;
1016   int     own;  /* 1 if owned & must be destroyed */
1017   void        *ptr;
1018 } swig_lua_userdata;
1019 
1020 /* this is the struct for wrapping arbitrary packed binary data
1021 (currently it is only used for member function pointers)
1022 the data ordering is similar to swig_lua_userdata, but it is currently not possible
1023 to tell the two structures apart within SWIG, other than by looking at the type
1024 */
1025 typedef struct {
1026   swig_type_info   *type;
1027   int     own;  /* 1 if owned & must be destroyed */
1028   char data[1];       /* arbitrary amount of data */
1029 } swig_lua_rawdata;
1030 
1031 /* Common SWIG API */
1032 #define SWIG_NewPointerObj(L, ptr, type, owner)       SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
1033 #define SWIG_ConvertPtr(L,idx, ptr, type, flags)    SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
1034 #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname)  SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
1035 /* for C++ member pointers, ie, member methods */
1036 #define SWIG_ConvertMember(L, idx, ptr, sz, ty)       SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
1037 #define SWIG_NewMemberObj(L, ptr, sz, type)      SWIG_Lua_NewPackedObj(L, ptr, sz, type)
1038 
1039 /* Runtime API */
1040 #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
1041 #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
1042 #define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
1043 
1044 /* Contract support */
1045 #define SWIG_contract_assert(expr, msg)  \
1046   do { if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } } while (0)
1047 
1048 
1049 /* helper #defines */
1050 #define SWIG_fail {goto fail;}
1051 #define SWIG_fail_arg(func_name,argnum,type) \
1052   {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
1053   func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
1054   goto fail;}
1055 #define SWIG_fail_ptr(func_name,argnum,type) \
1056   SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
1057 #define SWIG_check_num_args(func_name,a,b) \
1058   if (lua_gettop(L)<a || lua_gettop(L)>b) \
1059   {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
1060   goto fail;}
1061 
1062 
1063 #define SWIG_Lua_get_table(L,n) \
1064   (lua_pushstring(L, n), lua_rawget(L,-2))
1065 
1066 #define SWIG_Lua_add_function(L,n,f) \
1067   (lua_pushstring(L, n), \
1068       lua_pushcfunction(L, f), \
1069       lua_rawset(L,-3))
1070 
1071 #define SWIG_Lua_add_boolean(L,n,b) \
1072   (lua_pushstring(L, n), \
1073       lua_pushboolean(L, b), \
1074       lua_rawset(L,-3))
1075 
1076 /* special helper for allowing 'nil' for usertypes */
1077 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
1078 
1079 #ifdef __cplusplus
1080 /* Special helper for member function pointers
1081 it gets the address, casts it, then dereferences it */
1082 /*#define SWIG_mem_fn_as_voidptr(a)  (*((char**)&(a))) */
1083 #endif
1084 
1085 /* storing/access of swig_module_info */
1086 SWIGRUNTIME swig_module_info *
SWIG_Lua_GetModule(lua_State * L)1087 SWIG_Lua_GetModule(lua_State *L) {
1088   swig_module_info *ret = 0;
1089   lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1090   lua_rawget(L,LUA_REGISTRYINDEX);
1091   if (lua_islightuserdata(L,-1))
1092     ret=(swig_module_info*)lua_touserdata(L,-1);
1093   lua_pop(L,1);  /* tidy */
1094   return ret;
1095 }
1096 
1097 SWIGRUNTIME void
SWIG_Lua_SetModule(lua_State * L,swig_module_info * module)1098 SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) {
1099   /* add this all into the Lua registry: */
1100   lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1101   lua_pushlightuserdata(L,(void*)module);
1102   lua_rawset(L,LUA_REGISTRYINDEX);
1103 }
1104 
1105 /* -----------------------------------------------------------------------------
1106  * global variable support code: modules
1107  * ----------------------------------------------------------------------------- */
1108 
1109 /* this function is called when trying to set an immutable.
1110 default action is to print an error.
1111 This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
SWIG_Lua_set_immutable(lua_State * L)1112 SWIGINTERN int SWIG_Lua_set_immutable(lua_State *L)
1113 {
1114 /*  there should be 1 param passed in: the new value */
1115 #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
1116   lua_pop(L,1);  /* remove it */
1117   luaL_error(L,"This variable is immutable");
1118 #endif
1119     return 0;   /* should not return anything */
1120 }
1121 
1122 #ifdef SWIG_LUA_ELUA_EMULATE
1123 
1124 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own);
1125 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type);
1126 static int swig_lua_elua_emulate_unique_key;
1127 
1128 /* This function emulates eLua rotables behaviour. It loads a rotable definition into the usual lua table. */
SWIG_Lua_elua_emulate_register(lua_State * L,const swig_elua_entry * table)1129 SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_entry *table)
1130 {
1131   int i, table_parsed, parsed_tables_array, target_table;
1132   assert(lua_istable(L,-1));
1133   target_table = lua_gettop(L);
1134   /* Get the registry where we put all parsed tables to avoid loops */
1135   lua_rawgetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1136   if(lua_isnil(L,-1)) {
1137     lua_pop(L,1);
1138     lua_newtable(L);
1139     lua_pushvalue(L,-1);
1140     lua_rawsetp(L,LUA_REGISTRYINDEX,(void*)(&swig_lua_elua_emulate_unique_key));
1141   }
1142   parsed_tables_array = lua_gettop(L);
1143   lua_pushvalue(L,target_table);
1144   lua_rawsetp(L, parsed_tables_array, table);
1145   table_parsed = 0;
1146   const int SWIGUNUSED pairs_start = lua_gettop(L);
1147   for(i = 0;table[i].key.type != LUA_TNIL || table[i].value.type != LUA_TNIL;i++)
1148   {
1149     const swig_elua_entry *entry = table + i;
1150     int is_metatable = 0;
1151     switch(entry->key.type) {
1152       case LUA_TSTRING:
1153         lua_pushstring(L,entry->key.key.strkey);
1154         if(strcmp(entry->key.key.strkey, SWIG_LUA_ELUA_EMUL_METATABLE_KEY) == 0)
1155           is_metatable = 1;
1156         break;
1157       case  LUA_TNUMBER:
1158         lua_pushnumber(L,entry->key.key.numkey);
1159         break;
1160       case LUA_TNIL:
1161         lua_pushnil(L);
1162         break;
1163       default:
1164         assert(0);
1165     }
1166     switch(entry->value.type) {
1167       case LUA_TSTRING:
1168         lua_pushstring(L,entry->value.value.string);
1169         break;
1170       case  LUA_TNUMBER:
1171         lua_pushnumber(L,entry->value.value.number);
1172         break;
1173       case LUA_TFUNCTION:
1174         lua_pushcfunction(L,entry->value.value.function);
1175         break;
1176       case LUA_TTABLE:
1177         lua_rawgetp(L,parsed_tables_array, entry->value.value.table);
1178         table_parsed = !lua_isnil(L,-1);
1179         if(!table_parsed) {
1180           lua_pop(L,1); /*remove nil */
1181           lua_newtable(L);
1182           SWIG_Lua_elua_emulate_register(L,entry->value.value.table);
1183         }
1184         if(is_metatable) {
1185           assert(lua_istable(L,-1));
1186           lua_pushvalue(L,-1);
1187           lua_setmetatable(L,target_table);
1188         }
1189 
1190         break;
1191       case LUA_TUSERDATA:
1192         if(entry->value.value.userdata.member)
1193           SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue,
1194               entry->value.value.userdata.lvalue,
1195               *(entry->value.value.userdata.ptype));
1196         else
1197           SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue,
1198               *(entry->value.value.userdata.ptype),0);
1199         break;
1200       case LUA_TNIL:
1201         lua_pushnil(L);
1202         break;
1203       default:
1204         assert(0);
1205     }
1206     assert(lua_gettop(L) == pairs_start + 2);
1207     lua_rawset(L,target_table);
1208   }
1209   lua_pop(L,1); /* Removing parsed tables storage */
1210   assert(lua_gettop(L) == target_table);
1211 }
1212 
SWIG_Lua_elua_emulate_register_clear(lua_State * L)1213 SWIGINTERN void SWIG_Lua_elua_emulate_register_clear(lua_State *L)
1214 {
1215   lua_pushnil(L);
1216   lua_rawsetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1217 }
1218 
1219 SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L);
1220 
SWIG_Lua_emulate_elua_getmetatable(lua_State * L)1221 SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L)
1222 {
1223   SWIG_check_num_args("getmetatable(SWIG eLua emulation)", 1, 1);
1224   SWIG_Lua_get_class_registry(L);
1225   lua_getfield(L,-1,"lua_getmetatable");
1226   lua_remove(L,-2); /* remove the registry*/
1227   assert(!lua_isnil(L,-1));
1228   lua_pushvalue(L,1);
1229   assert(lua_gettop(L) == 3); /* object | function | object again */
1230   lua_call(L,1,1);
1231   if(!lua_isnil(L,-1)) /*There is an ordinary metatable */
1232     return 1;
1233   /*if it is a table, then emulate elua behaviour - check for __metatable attribute of a table*/
1234   assert(lua_gettop(L) == 2);
1235   if(lua_istable(L,-2)) {
1236     lua_pop(L,1); /*remove the nil*/
1237     lua_getfield(L,-1, SWIG_LUA_ELUA_EMUL_METATABLE_KEY);
1238   }
1239   assert(lua_gettop(L) == 2);
1240   return 1;
1241 
1242 fail:
1243   lua_error(L);
1244   return 0;
1245 }
1246 
SWIG_Lua_emulate_elua_swap_getmetatable(lua_State * L)1247 SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L)
1248 {
1249   SWIG_Lua_get_class_registry(L);
1250   lua_pushglobaltable(L);
1251   lua_pushstring(L,"lua_getmetatable");
1252   lua_getfield(L,-2,"getmetatable");
1253   assert(!lua_isnil(L,-1));
1254   lua_rawset(L,-4);
1255   lua_pushstring(L, "getmetatable");
1256   lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable);
1257   lua_rawset(L,-3);
1258   lua_pop(L,2);
1259 
1260 }
1261 /* END OF REMOVE */
1262 
1263 #endif
1264 /* -----------------------------------------------------------------------------
1265  * global variable support code: namespaces and modules (which are the same thing)
1266  * ----------------------------------------------------------------------------- */
1267 
SWIG_Lua_namespace_get(lua_State * L)1268 SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L)
1269 {
1270 /*  there should be 2 params passed in
1271   (1) table (not the meta table)
1272   (2) string name of the attribute
1273 */
1274   assert(lua_istable(L,-2));  /* just in case */
1275   lua_getmetatable(L,-2);
1276   assert(lua_istable(L,-1));
1277   SWIG_Lua_get_table(L,".get"); /* find the .get table */
1278   assert(lua_istable(L,-1));
1279   /* look for the key in the .get table */
1280   lua_pushvalue(L,2);  /* key */
1281   lua_rawget(L,-2);
1282   lua_remove(L,-2); /* stack tidy, remove .get table */
1283   if (lua_iscfunction(L,-1))
1284   {  /* found it so call the fn & return its value */
1285     lua_call(L,0,1);  /* 1 value in (userdata),1 out (result) */
1286     lua_remove(L,-2); /* stack tidy, remove metatable */
1287     return 1;
1288   }
1289   lua_pop(L,1);  /* remove whatever was there */
1290   /* ok, so try the .fn table */
1291   SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1292   assert(lua_istable(L,-1));  /* just in case */
1293   lua_pushvalue(L,2);  /* key */
1294   lua_rawget(L,-2);  /* look for the fn */
1295   lua_remove(L,-2); /* stack tidy, remove .fn table */
1296   if (lua_isfunction(L,-1)) /* note: whether it's a C function or lua function */
1297   {  /* found it so return the fn & let lua call it */
1298     lua_remove(L,-2); /* stack tidy, remove metatable */
1299     return 1;
1300   }
1301   lua_pop(L,1);  /* remove whatever was there */
1302   return 0;
1303 }
1304 
SWIG_Lua_namespace_set(lua_State * L)1305 SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L)
1306 {
1307 /*  there should be 3 params passed in
1308   (1) table (not the meta table)
1309   (2) string name of the attribute
1310   (3) any for the new value
1311 */
1312 
1313   assert(lua_istable(L,1));
1314   lua_getmetatable(L,1);    /* get the meta table */
1315   assert(lua_istable(L,-1));
1316 
1317   SWIG_Lua_get_table(L,".set"); /* find the .set table */
1318   if (lua_istable(L,-1))
1319   {
1320     /* look for the key in the .set table */
1321     lua_pushvalue(L,2);  /* key */
1322     lua_rawget(L,-2);
1323     if (lua_iscfunction(L,-1))
1324     {  /* found it so call the fn & return its value */
1325       lua_pushvalue(L,3);  /* value */
1326       lua_call(L,1,0);
1327       return 0;
1328     }
1329     lua_pop(L,1);  /* remove the value */
1330   }
1331   lua_pop(L,1);  /* remove the value .set table */
1332   lua_pop(L,1); /* remote metatable */
1333   lua_rawset(L,-3);
1334   return 0;
1335 }
1336 
1337 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1338 SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]); /* forward declaration */
1339 SWIGINTERN void  SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn); /* forward declaration */
1340 SWIGINTERN void  SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss);
1341 
1342 /* helper function - register namespace methods and attributes into namespace */
SWIG_Lua_add_namespace_details(lua_State * L,swig_lua_namespace * ns)1343 SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State *L, swig_lua_namespace *ns)
1344 {
1345   int i;
1346   /* There must be namespace table (not metatable) at the top of the stack */
1347   assert(lua_istable(L,-1));
1348   SWIG_Lua_InstallConstants(L, ns->ns_constants);
1349 
1350   /* add methods to the namespace/module table */
1351   for(i=0;ns->ns_methods[i].name;i++){
1352     SWIG_Lua_add_function(L,ns->ns_methods[i].name,ns->ns_methods[i].func);
1353   }
1354   lua_getmetatable(L,-1);
1355 
1356   /* add fns */
1357   for(i=0;ns->ns_attributes[i].name;i++){
1358     SWIG_Lua_add_variable(L,ns->ns_attributes[i].name,ns->ns_attributes[i].getmethod,ns->ns_attributes[i].setmethod);
1359   }
1360 
1361   /* clear stack - remove metatble */
1362   lua_pop(L,1);
1363   return 0;
1364 }
1365 
1366 /* Register all classes in the namespace */
SWIG_Lua_add_namespace_classes(lua_State * L,swig_lua_namespace * ns)1367 SWIGINTERN void SWIG_Lua_add_namespace_classes(lua_State *L, swig_lua_namespace *ns)
1368 {
1369   swig_lua_class **classes;
1370 
1371   /* There must be a module/namespace table at the top of the stack */
1372   assert(lua_istable(L,-1));
1373 
1374   classes = ns->ns_classes;
1375 
1376   if( classes != 0 ) {
1377     while(*classes != 0) {
1378       SWIG_Lua_class_register(L, *classes);
1379       classes++;
1380     }
1381   }
1382 }
1383 
1384 /* Helper function. Creates namespace table and adds it to module table
1385    if 'reg' is true, then will register namespace table to parent one (must be on top of the stack
1386    when function is called).
1387    Function always returns newly registered table on top of the stack.
1388 */
SWIG_Lua_namespace_register(lua_State * L,swig_lua_namespace * ns,int reg)1389 SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
1390 {
1391   swig_lua_namespace **sub_namespace;
1392   /* 1 argument - table on the top of the stack */
1393   const int SWIGUNUSED begin = lua_gettop(L);
1394   assert(lua_istable(L,-1)); /* just in case. This is supposed to be module table or parent namespace table */
1395   lua_checkstack(L,5);
1396   lua_newtable(L); /* namespace itself */
1397   lua_newtable(L); /* metatable for namespace */
1398 
1399   /* add a table called ".get" */
1400   lua_pushstring(L,".get");
1401   lua_newtable(L);
1402   lua_rawset(L,-3);
1403   /* add a table called ".set" */
1404   lua_pushstring(L,".set");
1405   lua_newtable(L);
1406   lua_rawset(L,-3);
1407   /* add a table called ".fn" */
1408   lua_pushstring(L,".fn");
1409   lua_newtable(L);
1410   lua_rawset(L,-3);
1411 
1412   /* add accessor fns for using the .get,.set&.fn */
1413   SWIG_Lua_add_function(L,"__index",SWIG_Lua_namespace_get);
1414   SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_namespace_set);
1415 
1416   lua_setmetatable(L,-2); /* set metatable */
1417 
1418   /* Register all functions, variables etc */
1419   SWIG_Lua_add_namespace_details(L,ns);
1420   /* Register classes */
1421   SWIG_Lua_add_namespace_classes(L,ns);
1422 
1423   sub_namespace = ns->ns_namespaces;
1424   if( sub_namespace != 0) {
1425     while(*sub_namespace != 0) {
1426       SWIG_Lua_namespace_register(L, *sub_namespace, 1);
1427       lua_pop(L,1); /* removing sub-namespace table */
1428       sub_namespace++;
1429     }
1430   }
1431 
1432   if (reg) {
1433     lua_pushstring(L,ns->name);
1434     lua_pushvalue(L,-2);
1435     lua_rawset(L,-4); /* add namespace to module table */
1436   }
1437   assert(lua_gettop(L) == begin+1);
1438 }
1439 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
1440 
1441 /* -----------------------------------------------------------------------------
1442  * global variable support code: classes
1443  * ----------------------------------------------------------------------------- */
1444 
1445 SWIGINTERN void  SWIG_Lua_get_class_metatable(lua_State *L,const char *cname);
1446 
1447 typedef int (*swig_lua_base_iterator_func)(lua_State*,swig_type_info*, int, int *ret);
1448 
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)1449 SWIGINTERN int SWIG_Lua_iterate_bases(lua_State *L, swig_type_info * SWIGUNUSED swig_type,
1450   int first_arg, swig_lua_base_iterator_func func, int  *const ret)
1451 {
1452     /* first_arg - position of the object in stack. Everything that is above are arguments
1453      * and is passed to every evocation of the func */
1454     int last_arg = lua_gettop(L);/* position of last argument */
1455     int original_metatable = last_arg + 1;
1456     size_t bases_count;
1457     int result = SWIG_ERROR;
1458     int bases_table;
1459     (void)swig_type;
1460     lua_getmetatable(L,first_arg);
1461 
1462     /* initialise base search */
1463 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1464     SWIG_Lua_get_table(L,".bases");
1465     assert(lua_istable(L,-1));
1466     bases_count = lua_rawlen(L,-1);
1467     bases_table = lua_gettop(L);
1468 #else
1469     /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1470     (void)bases_table;
1471     assert(swig_type!=0);
1472     swig_module_info *module=SWIG_GetModule(L);
1473     swig_lua_class **bases= ((swig_lua_class*)(swig_type->clientdata))->bases;
1474     const char **base_names= ((swig_lua_class*)(swig_type->clientdata))->base_names;
1475     bases_count = 0;
1476     for(;base_names[bases_count];
1477       bases_count++);/* get length of bases */
1478 #endif
1479 
1480     if(ret)
1481       *ret = 0;
1482     if(bases_count>0)
1483     {
1484       int to_remove;
1485       size_t i;
1486       int j;
1487       int subcall_last_arg;
1488       int subcall_first_arg = lua_gettop(L) + 1;/* Here a copy of first_arg and arguments begin */
1489       int valid = 1;
1490       swig_type_info *base_swig_type = 0;
1491       for(j=first_arg;j<=last_arg;j++)
1492         lua_pushvalue(L,j);
1493       subcall_last_arg = lua_gettop(L);
1494 
1495       /* Trick: temporarily replacing original metatable with metatable for base class and call getter */
1496       for(i=0;i<bases_count;i++) {
1497         /* Iteration through class bases */
1498 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1499         lua_rawgeti(L,bases_table,i+1);
1500         base_swig_type = 0;
1501         if(lua_isnil(L,-1)) {
1502           valid = 0;
1503           lua_pop(L,1);
1504         } else {
1505           valid = 1;
1506         }
1507 #else /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1508         swig_lua_class *base_class = bases[i];
1509         if(!base_class) {
1510           valid = 0;
1511         } else {
1512           valid = 1;
1513           SWIG_Lua_get_class_metatable(L,base_class->fqname);
1514           base_swig_type = SWIG_TypeQueryModule(module,module,base_names[i]);
1515           assert(base_swig_type != 0);
1516         }
1517 #endif
1518 
1519         if(!valid)
1520           continue;
1521         assert(lua_isuserdata(L, subcall_first_arg));
1522         assert(lua_istable(L,-1));
1523         lua_setmetatable(L,subcall_first_arg); /* Set new metatable */
1524         assert(lua_gettop(L) == subcall_last_arg);
1525         result = func(L, base_swig_type,subcall_first_arg, ret); /* Forward call */
1526         if(result != SWIG_ERROR) {
1527           break;
1528         }
1529       }
1530       /* Restore original metatable */
1531       lua_pushvalue(L,original_metatable);
1532       lua_setmetatable(L,first_arg);
1533       /* Clear - remove everything between last_arg and subcall_last_arg including */
1534       to_remove = subcall_last_arg - last_arg;
1535       for(j=0;j<to_remove;j++)
1536         lua_remove(L,last_arg+1);
1537     } else {
1538       /* Remove everything after last_arg */
1539       lua_pop(L, lua_gettop(L) - last_arg);
1540     }
1541     if(ret) assert(lua_gettop(L) == last_arg + *ret);
1542     return result;
1543 }
1544 
1545 /* The class.get method helper, performs the lookup of class attributes.
1546  * It returns an error code. Number of function return values is passed inside 'ret'.
1547  * first_arg is not used in this function because function always has 2 arguments.
1548  */
SWIG_Lua_class_do_get_item(lua_State * L,swig_type_info * type,int SWIGUNUSED first_arg,int * ret)1549 SWIGINTERN int  SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1550 {
1551 /*  there should be 2 params passed in
1552   (1) userdata (not the meta table)
1553   (2) string name of the attribute
1554 */
1555   int bases_search_result;
1556   int substack_start = lua_gettop(L)-2;
1557   assert(first_arg == substack_start+1);
1558   lua_checkstack(L,5);
1559   assert(lua_isuserdata(L,-2));  /* just in case */
1560   lua_getmetatable(L,-2);    /* get the meta table */
1561   assert(lua_istable(L,-1));  /* just in case */
1562   /* NEW: looks for the __getitem() fn
1563   this is a user provided get fn */
1564   SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1565   if (lua_iscfunction(L,-1))  /* if it's there */
1566   {  /* found it so call the fn & return its value */
1567     lua_pushvalue(L,substack_start+1);  /* the userdata */
1568     lua_pushvalue(L,substack_start+2);  /* the parameter */
1569     lua_call(L,2,1);  /* 2 value in (userdata),1 out (result) */
1570     lua_remove(L,-2); /* stack tidy, remove metatable */
1571     if(ret) *ret = 1;
1572     return SWIG_OK;
1573   }
1574   lua_pop(L,1);
1575   /* Remove the metatable */
1576   lua_pop(L,1);
1577   /* Search in base classes */
1578   bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get_item,ret);
1579   return bases_search_result;  /* sorry not known */
1580 }
1581 
1582 
1583 /* The class.get method helper, performs the lookup of class attributes.
1584  * It returns an error code. Number of function return values is passed inside 'ret'.
1585  * first_arg is not used in this function because function always has 2 arguments.
1586  */
SWIG_Lua_class_do_get(lua_State * L,swig_type_info * type,int SWIGUNUSED first_arg,int * ret)1587 SWIGINTERN int  SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1588 {
1589 /*  there should be 2 params passed in
1590   (1) userdata (not the meta table)
1591   (2) string name of the attribute
1592 */
1593   int bases_search_result;
1594   int substack_start = lua_gettop(L)-2;
1595   assert(first_arg == substack_start+1);
1596   lua_checkstack(L,5);
1597   assert(lua_isuserdata(L,-2));  /* just in case */
1598   lua_getmetatable(L,-2);    /* get the meta table */
1599   assert(lua_istable(L,-1));  /* just in case */
1600   SWIG_Lua_get_table(L,".get"); /* find the .get table */
1601   assert(lua_istable(L,-1));  /* just in case */
1602   /* look for the key in the .get table */
1603   lua_pushvalue(L,substack_start+2);  /* key */
1604   lua_rawget(L,-2);
1605   lua_remove(L,-2); /* stack tidy, remove .get table */
1606   if (lua_iscfunction(L,-1))
1607   {  /* found it so call the fn & return its value */
1608     lua_pushvalue(L,substack_start+1);  /* the userdata */
1609     lua_call(L,1,1);  /* 1 value in (userdata),1 out (result) */
1610     lua_remove(L,-2); /* stack tidy, remove metatable */
1611     if(ret)
1612       *ret = 1;
1613     return SWIG_OK;
1614   }
1615   lua_pop(L,1);  /* remove whatever was there */
1616   /* ok, so try the .fn table */
1617   SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1618   assert(lua_istable(L,-1));  /* just in case */
1619   lua_pushvalue(L,substack_start+2);  /* key */
1620   lua_rawget(L,-2);  /* look for the fn */
1621   lua_remove(L,-2); /* stack tidy, remove .fn table */
1622   if (lua_isfunction(L,-1)) /* note: if it's a C function or lua function */
1623   {  /* found it so return the fn & let lua call it */
1624     lua_remove(L,-2); /* stack tidy, remove metatable */
1625     if(ret)
1626       *ret = 1;
1627     return SWIG_OK;
1628   }
1629   lua_pop(L,1);  /* remove whatever was there */
1630   /* Remove the metatable */
1631   lua_pop(L,1);
1632   /* Search in base classes */
1633   bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get,ret);
1634   return bases_search_result;  /* sorry not known */
1635 }
1636 
1637 /* the class.get method, performs the lookup of class attributes
1638  */
SWIG_Lua_class_get(lua_State * L)1639 SWIGINTERN int  SWIG_Lua_class_get(lua_State *L)
1640 {
1641 /*  there should be 2 params passed in
1642   (1) userdata (not the meta table)
1643   (2) string name of the attribute
1644 */
1645   int result;
1646   swig_lua_userdata *usr;
1647   swig_type_info *type;
1648   int ret = 0;
1649   assert(lua_isuserdata(L,1));
1650   usr=(swig_lua_userdata*)lua_touserdata(L,1);  /* get data */
1651   type = usr->type;
1652   result = SWIG_Lua_class_do_get(L,type,1,&ret);
1653   if(result == SWIG_OK)
1654     return ret;
1655 
1656   result = SWIG_Lua_class_do_get_item(L,type,1,&ret);
1657   if(result == SWIG_OK)
1658     return ret;
1659 
1660   return 0;
1661 }
1662 
1663 /* helper for the class.set method, performs the lookup of class attributes
1664  * It returns error code. Number of function return values is passed inside 'ret'
1665  */
SWIG_Lua_class_do_set(lua_State * L,swig_type_info * type,int first_arg,int * ret)1666 SWIGINTERN int  SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
1667 {
1668 /*  there should be 3 params passed in
1669   (1) table (not the meta table)
1670   (2) string name of the attribute
1671   (3) any for the new value
1672   */
1673 
1674   int bases_search_result;
1675   int substack_start = lua_gettop(L) - 3;
1676   lua_checkstack(L,5);
1677   assert(lua_isuserdata(L,substack_start+1));  /* just in case */
1678   lua_getmetatable(L,substack_start+1);    /* get the meta table */
1679   assert(lua_istable(L,-1));  /* just in case */
1680   if(ret)
1681     *ret = 0; /* it is setter - number of return values is always 0 */
1682 
1683   SWIG_Lua_get_table(L,".set"); /* find the .set table */
1684   if (lua_istable(L,-1))
1685   {
1686     /* look for the key in the .set table */
1687     lua_pushvalue(L,substack_start+2);  /* key */
1688     lua_rawget(L,-2);
1689     lua_remove(L,-2); /* tidy stack, remove .set table */
1690     if (lua_iscfunction(L,-1))
1691     {  /* found it so call the fn & return its value */
1692       lua_pushvalue(L,substack_start+1);  /* userdata */
1693       lua_pushvalue(L,substack_start+3);  /* value */
1694       lua_call(L,2,0);
1695       lua_remove(L,substack_start+4); /*remove metatable*/
1696       return SWIG_OK;
1697     }
1698     lua_pop(L,1);  /* remove the value */
1699   } else {
1700     lua_pop(L,1);  /* remove the answer for .set table request*/
1701   }
1702   /* NEW: looks for the __setitem() fn
1703   this is a user provided set fn */
1704   SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1705   if (lua_iscfunction(L,-1))  /* if it's there */
1706   {  /* found it so call the fn & return its value */
1707     lua_pushvalue(L,substack_start+1);  /* the userdata */
1708     lua_pushvalue(L,substack_start+2);  /* the parameter */
1709     lua_pushvalue(L,substack_start+3);  /* the value */
1710     lua_call(L,3,0);  /* 3 values in ,0 out */
1711     lua_remove(L,-2); /* stack tidy, remove metatable */
1712     return SWIG_OK;
1713   }
1714   lua_pop(L,1); /* remove value */
1715 
1716   lua_pop(L,1); /* remove metatable */
1717   /* Search among bases */
1718   bases_search_result = SWIG_Lua_iterate_bases(L,type,first_arg,SWIG_Lua_class_do_set,ret);
1719   if(ret)
1720     assert(*ret == 0);
1721   assert(lua_gettop(L) == substack_start + 3);
1722   return bases_search_result;
1723 }
1724 
1725 /* This is the actual method exported to Lua. It calls SWIG_Lua_class_do_set and correctly
1726  * handles return values.
1727  */
SWIG_Lua_class_set(lua_State * L)1728 SWIGINTERN int  SWIG_Lua_class_set(lua_State *L)
1729 {
1730 /*  There should be 3 params passed in
1731   (1) table (not the meta table)
1732   (2) string name of the attribute
1733   (3) any for the new value
1734   */
1735   int ret = 0;
1736   int result;
1737   swig_lua_userdata *usr;
1738   swig_type_info *type;
1739   assert(lua_isuserdata(L,1));
1740   usr=(swig_lua_userdata*)lua_touserdata(L,1);  /* get data */
1741   type = usr->type;
1742   result = SWIG_Lua_class_do_set(L,type,1,&ret);
1743   if(result != SWIG_OK) {
1744    SWIG_Lua_pushferrstring(L,"Assignment not possible. No setter/member with this name. For custom assignments implement __setitem method.");
1745    lua_error(L);
1746   } else {
1747     assert(ret==0);
1748   }
1749   return 0;
1750 }
1751 
1752 /* the class.destruct method called by the interpreter */
SWIG_Lua_class_destruct(lua_State * L)1753 SWIGINTERN int  SWIG_Lua_class_destruct(lua_State *L)
1754 {
1755 /*  there should be 1 params passed in
1756   (1) userdata (not the meta table) */
1757   swig_lua_userdata *usr;
1758   swig_lua_class *clss;
1759   assert(lua_isuserdata(L,-1));  /* just in case */
1760   usr=(swig_lua_userdata*)lua_touserdata(L,-1);  /* get it */
1761   /* if must be destroyed & has a destructor */
1762   if (usr->own) /* if must be destroyed */
1763   {
1764     clss=(swig_lua_class*)usr->type->clientdata;  /* get the class */
1765     if (clss && clss->destructor)  /* there is a destroy fn */
1766     {
1767       clss->destructor(usr->ptr);  /* bye bye */
1768     }
1769   }
1770   return 0;
1771 }
1772 
1773 /* the class.__tostring method called by the interpreter and print */
SWIG_Lua_class_tostring(lua_State * L)1774 SWIGINTERN int  SWIG_Lua_class_tostring(lua_State *L)
1775 {
1776 /*  there should be 1 param passed in
1777   (1) userdata (not the metatable) */
1778   swig_lua_userdata* userData;
1779   assert(lua_isuserdata(L,1));  /* just in case */
1780   userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */
1781 
1782   lua_pushfstring(L, "<userdata of type '%s' at %p>", userData->type->str, userData->ptr);
1783   return 1;
1784 }
1785 
1786 /* to manually disown some userdata */
SWIG_Lua_class_disown(lua_State * L)1787 SWIGINTERN int  SWIG_Lua_class_disown(lua_State *L)
1788 {
1789 /*  there should be 1 params passed in
1790   (1) userdata (not the meta table) */
1791   swig_lua_userdata *usr;
1792   assert(lua_isuserdata(L,-1));  /* just in case */
1793   usr=(swig_lua_userdata*)lua_touserdata(L,-1);  /* get it */
1794 
1795   usr->own = 0; /* clear our ownership */
1796   return 0;
1797 }
1798 
1799 /* lua callable function to compare userdata's value
1800 the issue is that two userdata may point to the same thing
1801 but to lua, they are different objects */
SWIG_Lua_class_equal(lua_State * L)1802 SWIGRUNTIME int SWIG_Lua_class_equal(lua_State *L)
1803 {
1804   int result;
1805   swig_lua_userdata *usr1,*usr2;
1806   if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2))  /* just in case */
1807     return 0;  /* nil reply */
1808   usr1=(swig_lua_userdata*)lua_touserdata(L,1);  /* get data */
1809   usr2=(swig_lua_userdata*)lua_touserdata(L,2);  /* get data */
1810   /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1811   result=(usr1->ptr==usr2->ptr);
1812    lua_pushboolean(L,result);
1813   return 1;
1814 }
1815 
1816 /* populate table at the top of the stack with metamethods that ought to be inherited */
SWIG_Lua_populate_inheritable_metamethods(lua_State * L)1817 SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods(lua_State *L)
1818 {
1819   SWIG_Lua_add_boolean(L, "__add", 1);
1820   SWIG_Lua_add_boolean(L, "__sub", 1);
1821   SWIG_Lua_add_boolean(L, "__mul", 1);
1822   SWIG_Lua_add_boolean(L, "__div", 1);
1823   SWIG_Lua_add_boolean(L, "__mod", 1);
1824   SWIG_Lua_add_boolean(L, "__pow", 1);
1825   SWIG_Lua_add_boolean(L, "__unm", 1);
1826   SWIG_Lua_add_boolean(L, "__len", 1 );
1827   SWIG_Lua_add_boolean(L, "__concat", 1 );
1828   SWIG_Lua_add_boolean(L, "__eq", 1);
1829   SWIG_Lua_add_boolean(L, "__lt", 1);
1830   SWIG_Lua_add_boolean(L, "__le", 1);
1831   SWIG_Lua_add_boolean(L, "__call", 1);
1832   SWIG_Lua_add_boolean(L, "__tostring", 1);
1833   SWIG_Lua_add_boolean(L, "__gc", 0);
1834 }
1835 
1836 /* creates the swig registry */
SWIG_Lua_create_class_registry(lua_State * L)1837 SWIGINTERN void SWIG_Lua_create_class_registry(lua_State *L)
1838 {
1839   /* create main SWIG registry table */
1840   lua_pushstring(L,"SWIG");
1841   lua_newtable(L);
1842   /* populate it with some predefined data */
1843 
1844   /* .library table. Placeholder */
1845   lua_pushstring(L,".library");
1846   lua_newtable(L);
1847   {
1848     /* list of metamethods that class inherits from its bases */
1849     lua_pushstring(L,"inheritable_metamethods");
1850     lua_newtable(L);
1851     /* populate with list of metamethods */
1852     SWIG_Lua_populate_inheritable_metamethods(L);
1853     lua_rawset(L,-3);
1854   }
1855   lua_rawset(L,-3);
1856 
1857   lua_rawset(L,LUA_REGISTRYINDEX);
1858 }
1859 
1860 /* gets the swig registry (or creates it) */
SWIG_Lua_get_class_registry(lua_State * L)1861 SWIGINTERN void  SWIG_Lua_get_class_registry(lua_State *L)
1862 {
1863   /* add this all into the swig registry: */
1864   lua_pushstring(L,"SWIG");
1865   lua_rawget(L,LUA_REGISTRYINDEX);  /* get the registry */
1866   if (!lua_istable(L,-1))  /* not there */
1867   {  /* must be first time, so add it */
1868     lua_pop(L,1);  /* remove the result */
1869     SWIG_Lua_create_class_registry(L);
1870     /* then get it */
1871     lua_pushstring(L,"SWIG");
1872     lua_rawget(L,LUA_REGISTRYINDEX);
1873   }
1874 }
1875 
SWIG_Lua_get_inheritable_metamethods(lua_State * L)1876 SWIGINTERN void SWIG_Lua_get_inheritable_metamethods(lua_State *L)
1877 {
1878   SWIG_Lua_get_class_registry(L);
1879   lua_pushstring(L, ".library");
1880   lua_rawget(L,-2);
1881   assert( !lua_isnil(L,-1) );
1882   lua_pushstring(L, "inheritable_metamethods");
1883   lua_rawget(L,-2);
1884 
1885   /* Remove class registry and library table */
1886   lua_remove(L,-2);
1887   lua_remove(L,-2);
1888 }
1889 
1890 /* Helper function to get the classes metatable from the register */
SWIG_Lua_get_class_metatable(lua_State * L,const char * cname)1891 SWIGINTERN void  SWIG_Lua_get_class_metatable(lua_State *L,const char *cname)
1892 {
1893   SWIG_Lua_get_class_registry(L);  /* get the registry */
1894   lua_pushstring(L,cname);  /* get the name */
1895   lua_rawget(L,-2);    /* get it */
1896   lua_remove(L,-2);    /* tidy up (remove registry) */
1897 }
1898 
1899 /* Set up the base classes pointers.
1900 Each class structure has a list of pointers to the base class structures.
1901 This function fills them.
1902 It cannot be done at compile time, as this will not work with hireachies
1903 spread over more than one swig file.
1904 Therefore it must be done at runtime, querying the SWIG type system.
1905 */
SWIG_Lua_init_base_class(lua_State * L,swig_lua_class * clss)1906 SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L,swig_lua_class *clss)
1907 {
1908   int i=0;
1909   swig_module_info *module=SWIG_GetModule(L);
1910   for(i=0;clss->base_names[i];i++)
1911   {
1912     if (clss->bases[i]==0) /* not found yet */
1913     {
1914       /* lookup and cache the base class */
1915       swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1916       if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1917     }
1918   }
1919 }
1920 
1921 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1922 /* Merges two tables  */
SWIG_Lua_merge_tables_by_index(lua_State * L,int target,int source)1923 SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source)
1924 {
1925   /* iterating */
1926   lua_pushnil(L);
1927   while (lua_next(L,source) != 0) {
1928     /* -1 - value, -2 - index */
1929     /* have to copy to assign */
1930     lua_pushvalue(L,-2); /* copy of index */
1931     lua_pushvalue(L,-2); /* copy of value */
1932     lua_rawset(L, target);
1933     lua_pop(L,1);
1934     /* only key is left */
1935   }
1936 }
1937 
1938 /* Merges two tables with given name. original - index of target metatable, base - index of source metatable */
SWIG_Lua_merge_tables(lua_State * L,const char * name,int original,int base)1939 SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base)
1940 {
1941   /* push original[name], then base[name] */
1942   lua_pushstring(L,name);
1943   lua_rawget(L,original);
1944   int original_table = lua_gettop(L);
1945   lua_pushstring(L,name);
1946   lua_rawget(L,base);
1947   int base_table = lua_gettop(L);
1948   SWIG_Lua_merge_tables_by_index(L, original_table, base_table);
1949   /* clearing stack */
1950   lua_pop(L,2);
1951 }
1952 
1953 /* Function takes all symbols from base and adds it to derived class. It's just a helper. */
SWIG_Lua_class_squash_base(lua_State * L,swig_lua_class * base_cls)1954 SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls)
1955 {
1956   /* There is one parameter - original, i.e. 'derived' class metatable */
1957   assert(lua_istable(L,-1));
1958   int original = lua_gettop(L);
1959   SWIG_Lua_get_class_metatable(L,base_cls->fqname);
1960   int base = lua_gettop(L);
1961   SWIG_Lua_merge_tables(L, ".fn", original, base );
1962   SWIG_Lua_merge_tables(L, ".set", original, base );
1963   SWIG_Lua_merge_tables(L, ".get", original, base );
1964   lua_pop(L,1);
1965 }
1966 
1967 /* Function squashes all symbols from 'clss' bases into itself */
SWIG_Lua_class_squash_bases(lua_State * L,swig_lua_class * clss)1968 SWIGINTERN void  SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss)
1969 {
1970   int i;
1971   SWIG_Lua_get_class_metatable(L,clss->fqname);
1972   for(i=0;clss->base_names[i];i++)
1973   {
1974     if (clss->bases[i]==0) /* Somehow it's not found. Skip it */
1975       continue;
1976     /* Thing is: all bases are already registered. Thus they have already executed
1977      * this function. So we just need to squash them into us, because their bases
1978      * are already squashed into them. No need for recursion here!
1979      */
1980     SWIG_Lua_class_squash_base(L, clss->bases[i]);
1981   }
1982   lua_pop(L,1); /*tidy stack*/
1983 }
1984 #endif
1985 
1986 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1987 /* helper add a variable to a registered class */
SWIG_Lua_add_variable(lua_State * L,const char * name,lua_CFunction getFn,lua_CFunction setFn)1988 SWIGINTERN void  SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn)
1989 {
1990   assert(lua_istable(L,-1));  /* just in case */
1991   SWIG_Lua_get_table(L,".get"); /* find the .get table */
1992   assert(lua_istable(L,-1));  /* just in case */
1993   SWIG_Lua_add_function(L,name,getFn);
1994   lua_pop(L,1);       /* tidy stack (remove table) */
1995   if (setFn)
1996   {
1997     SWIG_Lua_get_table(L,".set"); /* find the .set table */
1998     assert(lua_istable(L,-1));  /* just in case */
1999     SWIG_Lua_add_function(L,name,setFn);
2000     lua_pop(L,1);       /* tidy stack (remove table) */
2001   }
2002 }
2003 
2004 /* helper to recursively add class static details (static attributes, operations and constants) */
SWIG_Lua_add_class_static_details(lua_State * L,swig_lua_class * clss)2005 SWIGINTERN void SWIG_Lua_add_class_static_details(lua_State *L, swig_lua_class *clss)
2006 {
2007   int i = 0;
2008   /* The class namespace table must be on the top of the stack */
2009   assert(lua_istable(L,-1));
2010   /* call all the base classes first: we can then override these later: */
2011   for(i=0;clss->bases[i];i++)
2012   {
2013     SWIG_Lua_add_class_static_details(L,clss->bases[i]);
2014   }
2015 
2016   SWIG_Lua_add_namespace_details(L, clss->cls_static);
2017 }
2018 
2019 SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss); /* forward declaration */
2020 
2021 /* helper to recursively add class details (attributes & operations) */
SWIG_Lua_add_class_instance_details(lua_State * L,swig_lua_class * clss)2022 SWIGINTERN void  SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_class *clss)
2023 {
2024   int i;
2025   size_t bases_count = 0;
2026   /* Add bases to .bases table */
2027   SWIG_Lua_get_table(L,".bases");
2028   assert(lua_istable(L,-1));  /* just in case */
2029   for(i=0;clss->bases[i];i++)
2030   {
2031     SWIG_Lua_get_class_metatable(L,clss->bases[i]->fqname);
2032     /* Base class must be already registered */
2033     assert(lua_istable(L,-1));
2034     lua_rawseti(L,-2,i+1); /* In lua indexing starts from 1 */
2035     bases_count++;
2036   }
2037   assert(lua_rawlen(L,-1) == bases_count);
2038   lua_pop(L,1); /* remove .bases table */
2039   /* add attributes */
2040   for(i=0;clss->attributes[i].name;i++){
2041     SWIG_Lua_add_variable(L,clss->attributes[i].name,clss->attributes[i].getmethod,clss->attributes[i].setmethod);
2042   }
2043   /* add methods to the metatable */
2044   SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
2045   assert(lua_istable(L,-1));  /* just in case */
2046   for(i=0;clss->methods[i].name;i++){
2047     SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].func);
2048   }
2049   lua_pop(L,1);       /* tidy stack (remove table) */
2050   /* add operator overloads
2051     This adds methods from metatable array to metatable. Can mess up garbage
2052     collectind if someone defines __gc method
2053     */
2054   if(clss->metatable) {
2055     for(i=0;clss->metatable[i].name;i++) {
2056       SWIG_Lua_add_function(L,clss->metatable[i].name,clss->metatable[i].func);
2057     }
2058   }
2059 
2060 #if !defined(SWIG_LUA_SQUASH_BASES)
2061   /* Adding metamethods that are defined in base classes. If bases were squashed
2062    * then it is obviously unnecessary
2063    */
2064   SWIG_Lua_add_class_user_metamethods(L, clss);
2065 #endif
2066 }
2067 
2068 /* Helpers to add user defined class metamedhods - __add, __sub etc. The helpers are needed
2069    for the following issue: Lua runtime checks for metamethod existence with rawget function
2070    ignoring our SWIG-provided __index and __newindex functions. Thus our inheritance-aware method
2071    search algorithm doesn't work in such case. (Not to say that Lua runtime queries metamethod directly
2072    in metatable and not in object).
2073    Current solution is this: if somewhere in hierarchy metamethod __x is defined, then all descendants
2074    are automatically given a special proxy __x that calls the real __x method.
2075    Obvious idea - to copy __x instead of creating __x-proxy is wrong because if someone changes __x in runtime,
2076    those changes must be reflected in all descendants.
2077 */
2078 
2079 SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L); /*forward declaration*/
2080 
2081 /* The real function that resolves a metamethod.
2082  * Function searches given class and all its bases (recursively) for first instance of something that is
2083  * not equal to SWIG_Lua_resolve_metamethod. (Almost always this 'something' is actual metamethod implementation
2084  * and it is a SWIG-generated C function.). It returns value on the top of the L and there is no garbage below the
2085  * answer.
2086  * Returns 1 if found, 0 otherwise.
2087  * clss is class which metatable we will search for method
2088  * metamethod_name_idx is index in L where metamethod name (as string) lies
2089  * skip_check allows skipping searching metamethod in the given class and immediately going to searching in bases. skip_check
2090  * is not carried to subsequent recursive calls - false is always passed. It is set to true only at first call from
2091  * SWIG_Lua_resolve_metamethod
2092  * */
SWIG_Lua_do_resolve_metamethod(lua_State * L,const swig_lua_class * clss,int metamethod_name_idx,int skip_check)2093 SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx,
2094     int skip_check)
2095 {
2096   /* This function is called recursively */
2097   int result = 0;
2098   int i = 0;
2099 
2100   if (!skip_check) {
2101     SWIG_Lua_get_class_metatable(L, clss->fqname);
2102     lua_pushvalue(L, metamethod_name_idx);
2103     lua_rawget(L,-2);
2104     /* If this is cfunction and it is equal to SWIG_Lua_resolve_metamethod then
2105      * this isn't the function we are looking for :)
2106      * lua_tocfunction will return NULL if not cfunction
2107      */
2108     if (!lua_isnil(L,-1) && lua_tocfunction(L,-1) != SWIG_Lua_resolve_metamethod ) {
2109       lua_remove(L,-2); /* removing class metatable */
2110       return 1;
2111     }
2112     lua_pop(L,2); /* remove class metatable and query result */
2113   }
2114 
2115   /* Forwarding calls to bases */
2116   for(i=0;clss->bases[i];i++)
2117   {
2118     result = SWIG_Lua_do_resolve_metamethod(L, clss->bases[i], metamethod_name_idx, 0);
2119     if (result)
2120       break;
2121   }
2122 
2123   return result;
2124 }
2125 
2126 /* The proxy function for metamethod. All parameters are passed as cclosure. Searches for actual method
2127  * and calls it */
SWIG_Lua_resolve_metamethod(lua_State * L)2128 SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L)
2129 {
2130   int numargs;
2131   int metamethod_name_idx;
2132   const swig_lua_class* clss;
2133   int result;
2134 
2135   lua_checkstack(L,5);
2136   numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */
2137 
2138   /* Get upvalues from closure */
2139   lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/
2140   metamethod_name_idx = lua_gettop(L);
2141 
2142   lua_pushvalue(L, lua_upvalueindex(2));
2143   clss = (const swig_lua_class*)(lua_touserdata(L,-1));
2144   lua_pop(L,1); /* remove lightuserdata with clss from stack */
2145 
2146   /* Actual work */
2147   result = SWIG_Lua_do_resolve_metamethod(L, clss, metamethod_name_idx, 1);
2148   if (!result) {
2149    SWIG_Lua_pushferrstring(L,"The metamethod proxy is set, but it failed to find actual metamethod. Memory corruption is most likely explanation.");
2150    lua_error(L);
2151    return 0;
2152   }
2153 
2154   lua_remove(L,-2); /* remove metamethod key */
2155   lua_insert(L,1); /* move function to correct position */
2156   lua_call(L, numargs, LUA_MULTRET);
2157   return lua_gettop(L); /* return all results */
2158 }
2159 
2160 
2161 /* If given metamethod must be present in given class, then creates appropriate proxy
2162  * Returns 1 if successfully added, 0 if not added because no base class has it, -1
2163  * if method is defined in the class metatable itself
2164  */
SWIG_Lua_add_class_user_metamethod(lua_State * L,swig_lua_class * clss,const int metatable_index)2165 SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
2166 {
2167   int key_index;
2168   int success = 0;
2169   int i = 0;
2170 
2171   /* metamethod name - on the top of the stack */
2172   assert(lua_isstring(L,-1));
2173 
2174   key_index = lua_gettop(L);
2175 
2176   /* Check whether method is already defined in metatable */
2177   lua_pushvalue(L,key_index); /* copy of the key */
2178   lua_gettable(L,metatable_index);
2179   if( !lua_isnil(L,-1) ) {
2180     lua_pop(L,1);
2181     return -1;
2182   }
2183   lua_pop(L,1);
2184 
2185   /* Iterating over immediate bases */
2186   for(i=0;clss->bases[i];i++)
2187   {
2188     const swig_lua_class *base = clss->bases[i];
2189     SWIG_Lua_get_class_metatable(L, base->fqname);
2190     lua_pushvalue(L, key_index);
2191     lua_rawget(L, -2);
2192     if( !lua_isnil(L,-1) ) {
2193       lua_pushvalue(L, key_index);
2194 
2195       /* Add proxy function */
2196       lua_pushvalue(L, key_index); /* first closure value is function name */
2197       lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */
2198       lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2);
2199 
2200       lua_rawset(L, metatable_index);
2201       success = 1;
2202     }
2203     lua_pop(L,1); /* remove function or nil */
2204     lua_pop(L,1); /* remove base class metatable */
2205 
2206     if( success )
2207       break;
2208   }
2209 
2210   return success;
2211 }
2212 
SWIG_Lua_add_class_user_metamethods(lua_State * L,swig_lua_class * clss)2213 SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss)
2214 {
2215   int metatable_index;
2216   int metamethods_info_index;
2217   int tostring_undefined;
2218   int eq_undefined = 0;
2219 
2220   SWIG_Lua_get_class_metatable(L, clss->fqname);
2221   metatable_index = lua_gettop(L);
2222   SWIG_Lua_get_inheritable_metamethods(L);
2223   assert(lua_istable(L,-1));
2224   metamethods_info_index = lua_gettop(L);
2225   lua_pushnil(L); /* first key */
2226   while(lua_next(L, metamethods_info_index) != 0 ) {
2227     /* key at index -2, value at index -1 */
2228     const int is_inheritable = lua_toboolean(L,-2);
2229     lua_pop(L,1); /* remove value - we don't need it anymore */
2230 
2231     if(is_inheritable) { /* if metamethod is inheritable */
2232       SWIG_Lua_add_class_user_metamethod(L,clss,metatable_index);
2233     }
2234   }
2235 
2236   lua_pop(L,1); /* remove inheritable metamethods table */
2237 
2238   /* Special handling for __tostring method */
2239   lua_pushstring(L, "__tostring");
2240   lua_pushvalue(L,-1);
2241   lua_rawget(L,metatable_index);
2242   tostring_undefined = lua_isnil(L,-1);
2243   lua_pop(L,1);
2244   if( tostring_undefined ) {
2245     lua_pushcfunction(L, SWIG_Lua_class_tostring);
2246     lua_rawset(L, metatable_index);
2247   } else {
2248     lua_pop(L,1); /* remove copy of the key */
2249   }
2250 
2251   /* Special handling for __eq method */
2252   lua_pushstring(L, "__eq");
2253   lua_pushvalue(L,-1);
2254   lua_rawget(L,metatable_index);
2255   eq_undefined = lua_isnil(L,-1);
2256   lua_pop(L,1);
2257   if( eq_undefined ) {
2258     lua_pushcfunction(L, SWIG_Lua_class_equal);
2259     lua_rawset(L, metatable_index);
2260   } else {
2261     lua_pop(L,1); /* remove copy of the key */
2262   }
2263   /* Warning: __index and __newindex are SWIG-defined. For user-defined operator[]
2264    * a __getitem/__setitem method should be defined
2265    */
2266   lua_pop(L,1); /* pop class metatable */
2267 }
2268 
2269 /* Register class static methods,attributes etc as well as constructor proxy */
SWIG_Lua_class_register_static(lua_State * L,swig_lua_class * clss)2270 SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss)
2271 {
2272   const int SWIGUNUSED begin = lua_gettop(L);
2273   lua_checkstack(L,5); /* just in case */
2274   assert(lua_istable(L,-1));  /* just in case */
2275   assert(strcmp(clss->name, clss->cls_static->name) == 0); /* in class those 2 must be equal */
2276 
2277   SWIG_Lua_namespace_register(L,clss->cls_static, 1);
2278 
2279   assert(lua_istable(L,-1)); /* just in case */
2280 
2281   /*  add its constructor to module with the name of the class
2282   so you can do MyClass(...) as well as new_MyClass(...)
2283   BUT only if a constructor is defined
2284   (this overcomes the problem of pure virtual classes without constructors)*/
2285   if (clss->constructor)
2286   {
2287     lua_getmetatable(L,-1);
2288     assert(lua_istable(L,-1)); /* just in case */
2289     SWIG_Lua_add_function(L,"__call", clss->constructor);
2290     lua_pop(L,1);
2291   }
2292 
2293   assert(lua_istable(L,-1)); /* just in case */
2294   SWIG_Lua_add_class_static_details(L, clss);
2295 
2296   /* clear stack */
2297   lua_pop(L,1);
2298   assert( lua_gettop(L) == begin );
2299 }
2300 
2301 /* Performs the instance (non-static) class registration process. Metatable for class is created
2302  * and added to the class registry.
2303  */
SWIG_Lua_class_register_instance(lua_State * L,swig_lua_class * clss)2304 SWIGINTERN void  SWIG_Lua_class_register_instance(lua_State *L,swig_lua_class *clss)
2305 {
2306   const int SWIGUNUSED begin = lua_gettop(L);
2307   int i;
2308   /* if name already there (class is already registered) then do nothing */
2309   SWIG_Lua_get_class_registry(L);  /* get the registry */
2310   lua_pushstring(L,clss->fqname);  /* get the name */
2311   lua_rawget(L,-2);
2312   if(!lua_isnil(L,-1)) {
2313     lua_pop(L,2);
2314     assert(lua_gettop(L)==begin);
2315     return;
2316   }
2317   lua_pop(L,2); /* tidy stack */
2318   /* Recursively initialize all bases */
2319   for(i=0;clss->bases[i];i++)
2320   {
2321     SWIG_Lua_class_register_instance(L,clss->bases[i]);
2322   }
2323   /* Again, get registry and push name */
2324   SWIG_Lua_get_class_registry(L);  /* get the registry */
2325   lua_pushstring(L,clss->fqname);  /* get the name */
2326   lua_newtable(L);    /* create the metatable */
2327 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2328   /* If squashing is requested, then merges all bases metatable into this one.
2329    * It would get us all special methods: __getitem, __add etc.
2330    * This would set .fn, .type, and other .xxx incorrectly, but we will overwrite it right away
2331    */
2332   {
2333     int new_metatable_index = lua_absindex(L,-1);
2334     for(i=0;clss->bases[i];i++)
2335     {
2336       int base_metatable;
2337       SWIG_Lua_get_class_metatable(L,clss->bases[i]->fqname);
2338       base_metatable = lua_absindex(L,-1);
2339       SWIG_Lua_merge_tables_by_index(L,new_metatable_index, base_metatable);
2340       lua_pop(L,1);
2341     }
2342   }
2343   /* And now we will overwrite all incorrectly set data */
2344 #endif
2345   /* add string of class name called ".type" */
2346   lua_pushstring(L,".type");
2347   lua_pushstring(L,clss->fqname);
2348   lua_rawset(L,-3);
2349   /* add a table called bases */
2350   lua_pushstring(L,".bases");
2351   lua_newtable(L);
2352   lua_rawset(L,-3);
2353   /* add a table called ".get" */
2354   lua_pushstring(L,".get");
2355   lua_newtable(L);
2356   lua_rawset(L,-3);
2357   /* add a table called ".set" */
2358   lua_pushstring(L,".set");
2359   lua_newtable(L);
2360   lua_rawset(L,-3);
2361   /* add a table called ".fn" */
2362   lua_pushstring(L,".fn");
2363   lua_newtable(L);
2364   /* add manual disown method */
2365   SWIG_Lua_add_function(L,"__disown",SWIG_Lua_class_disown);
2366   lua_rawset(L,-3);
2367   /* add accessor fns for using the .get,.set&.fn */
2368   SWIG_Lua_add_function(L,"__index",SWIG_Lua_class_get);
2369   SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set);
2370   SWIG_Lua_add_function(L,"__gc",SWIG_Lua_class_destruct);
2371   /* add it */
2372   lua_rawset(L,-3);  /* metatable into registry */
2373   lua_pop(L,1);      /* tidy stack (remove registry) */
2374   assert(lua_gettop(L) == begin);
2375 
2376 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2377   /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */
2378   SWIG_Lua_class_squash_bases(L,clss);
2379 #endif
2380   SWIG_Lua_get_class_metatable(L,clss->fqname);
2381   SWIG_Lua_add_class_instance_details(L,clss);  /* recursive adding of details (atts & ops) */
2382   lua_pop(L,1);      /* tidy stack (remove class metatable) */
2383   assert( lua_gettop(L) == begin );
2384 }
2385 
SWIG_Lua_class_register(lua_State * L,swig_lua_class * clss)2386 SWIGINTERN void  SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss)
2387 {
2388   int SWIGUNUSED begin;
2389   assert(lua_istable(L,-1)); /* This is a table (module or namespace) where classes will be added */
2390   SWIG_Lua_class_register_instance(L,clss);
2391   SWIG_Lua_class_register_static(L,clss);
2392 
2393   /* Add links from static part to instance part and vice versa */
2394   /* [SWIG registry]                                   [Module]
2395    *    "MyClass" ----> [MyClass metatable] <=====     "MyClass" -+> [static part]
2396    *                     ".get" ----> ...        |                |     getmetatable()----|
2397    *                     ".set" ----> ...        |                |                       |
2398    *                     ".static" --------------)----------------/           [static part metatable]
2399    *                                             |                                ".get" --> ...
2400    *                                             |                                ".set" --> ....
2401    *                                             |=============================== ".instance"
2402    */
2403   begin = lua_gettop(L);
2404   lua_pushstring(L,clss->cls_static->name);
2405   lua_rawget(L,-2); /* get class static table */
2406   assert(lua_istable(L,-1));
2407   lua_getmetatable(L,-1);
2408   assert(lua_istable(L,-1)); /* get class static metatable */
2409   lua_pushstring(L,".instance"); /* prepare key */
2410 
2411   SWIG_Lua_get_class_metatable(L,clss->fqname); /* get class metatable */
2412   assert(lua_istable(L,-1));
2413   lua_pushstring(L,".static"); /* prepare key */
2414   lua_pushvalue(L, -4); /* push static class TABLE */
2415   assert(lua_istable(L,-1));
2416   lua_rawset(L,-3); /* assign static class table(!NOT metatable) as ".static" member of class metatable */
2417   lua_rawset(L,-3); /* assign class metatable as ".instance" member of class static METATABLE */
2418   lua_pop(L,2);
2419   assert(lua_gettop(L) == begin);
2420 }
2421 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
2422 
2423 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
SWIG_Lua_elua_class_register_instance(lua_State * L,swig_lua_class * clss)2424 SWIGINTERN void SWIG_Lua_elua_class_register_instance(lua_State *L, swig_lua_class *clss)
2425 {
2426   const int SWIGUNUSED begin = lua_gettop(L);
2427   int i;
2428   /* if name already there (class is already registered) then do nothing */
2429   SWIG_Lua_get_class_registry(L);  /* get the registry */
2430   lua_pushstring(L,clss->fqname);  /* get the name */
2431   lua_rawget(L,-2);
2432   if(!lua_isnil(L,-1)) {
2433     lua_pop(L,2);
2434     assert(lua_gettop(L)==begin);
2435     return;
2436   }
2437   lua_pop(L,2); /* tidy stack */
2438   /* Recursively initialize all bases */
2439   for(i=0;clss->bases[i];i++)
2440   {
2441     SWIG_Lua_elua_class_register_instance(L,clss->bases[i]);
2442   }
2443   /* Again, get registry and push name */
2444   SWIG_Lua_get_class_registry(L);  /* get the registry */
2445   lua_pushstring(L,clss->fqname);  /* get the name */
2446   assert(clss->metatable);
2447   lua_pushrotable(L, (void*)(clss->metatable));    /* create the metatable */
2448   lua_rawset(L,-3);
2449   lua_pop(L,1);
2450   assert(lua_gettop(L) == begin);
2451 }
2452 #endif /* elua && eluac */
2453 
2454 /* -----------------------------------------------------------------------------
2455  * Class/structure conversion fns
2456  * ----------------------------------------------------------------------------- */
2457 
2458 /* helper to add metatable to new lua object */
SWIG_Lua_AddMetatable(lua_State * L,swig_type_info * type)2459 SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L,swig_type_info *type)
2460 {
2461   if (type->clientdata)  /* there is clientdata: so add the metatable */
2462   {
2463     SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->fqname);
2464     if (lua_istable(L,-1))
2465     {
2466       lua_setmetatable(L,-2);
2467     }
2468     else
2469     {
2470       lua_pop(L,1);
2471     }
2472   }
2473 }
2474 
2475 /* pushes a new object into the lua stack */
SWIG_Lua_NewPointerObj(lua_State * L,void * ptr,swig_type_info * type,int own)2476 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own)
2477 {
2478   swig_lua_userdata *usr;
2479   if (!ptr){
2480     lua_pushnil(L);
2481     return;
2482   }
2483   usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata));  /* get data */
2484   usr->ptr=ptr;  /* set the ptr */
2485   usr->type=type;
2486   usr->own=own;
2487 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
2488   SWIG_Lua_AddMetatable(L,type); /* add metatable */
2489 #endif
2490 }
2491 
2492 /* takes a object from the lua stack & converts it into an object of the correct type
2493  (if possible) */
SWIG_Lua_ConvertPtr(lua_State * L,int index,void ** ptr,swig_type_info * type,int flags)2494 SWIGRUNTIME int  SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags)
2495 {
2496   int ret = SWIG_ERROR;
2497   swig_lua_userdata *usr;
2498   swig_cast_info *cast;
2499   /* special case: lua nil => NULL pointer */
2500   if (lua_isnil(L,index))
2501   {
2502     *ptr=0;
2503     return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
2504   }
2505   if (lua_islightuserdata(L,index))
2506   {
2507     *ptr=lua_touserdata(L,index);
2508     return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
2509   }
2510   usr=(swig_lua_userdata*)lua_touserdata(L,index);  /* get data */
2511   if (usr)
2512   {
2513     if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !usr->own)
2514     {
2515       return SWIG_ERROR_RELEASE_NOT_OWNED;
2516     }
2517     if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
2518     {
2519       usr->own = 0;
2520     }
2521     if (!type)            /* special cast void*, no casting fn */
2522     {
2523       *ptr=usr->ptr;
2524       ret = SWIG_OK;
2525     }
2526     else
2527     {
2528       cast=SWIG_TypeCheck(usr->type->name,type); /* performs normal type checking */
2529       if (cast)
2530       {
2531         int newmemory = 0;
2532         *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
2533         assert(!newmemory); /* newmemory handling not yet implemented */
2534         ret = SWIG_OK;
2535       }
2536     }
2537     if ((ret == SWIG_OK) && (flags & SWIG_POINTER_CLEAR))
2538     {
2539       usr->ptr = 0;
2540     }
2541   }
2542   return ret;
2543 }
2544 
SWIG_Lua_MustGetPtr(lua_State * L,int index,swig_type_info * type,int flags,int argnum,const char * func_name)2545 SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags,
2546        int argnum,const char *func_name){
2547   void *result = 0;
2548   if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
2549     luaL_error (L,"Error in %s, expected a %s at argument number %d\n",
2550 		func_name,(type && type->str)?type->str:"void*",argnum);
2551   }
2552   return result;
2553 }
2554 
2555 /* pushes a packed userdata. user for member fn pointers only */
SWIG_Lua_NewPackedObj(lua_State * L,void * ptr,size_t size,swig_type_info * type)2556 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type)
2557 {
2558   swig_lua_rawdata *raw;
2559   assert(ptr); /* not acceptable to pass in a NULL value */
2560   raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size);  /* alloc data */
2561   raw->type=type;
2562   raw->own=0;
2563   memcpy(raw->data,ptr,size); /* copy the data */
2564   SWIG_Lua_AddMetatable(L,type); /* add metatable */
2565 }
2566 
2567 /* converts a packed userdata. user for member fn pointers only */
SWIG_Lua_ConvertPacked(lua_State * L,int index,void * ptr,size_t size,swig_type_info * type)2568 SWIGRUNTIME int  SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type)
2569 {
2570   swig_lua_rawdata *raw;
2571   raw=(swig_lua_rawdata*)lua_touserdata(L,index);  /* get data */
2572   if (!raw) return SWIG_ERROR;  /* error */
2573   if (type==0 || type==raw->type) /* void* or identical type */
2574   {
2575     memcpy(ptr,raw->data,size); /* copy it */
2576     return SWIG_OK; /* ok */
2577   }
2578   return SWIG_ERROR;  /* error */
2579 }
2580 
2581 /* a function to get the typestring of a piece of data */
SWIG_Lua_typename(lua_State * L,int tp)2582 SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
2583 {
2584   swig_lua_userdata *usr;
2585   if (lua_isuserdata(L,tp))
2586   {
2587     usr=(swig_lua_userdata*)lua_touserdata(L,tp);  /* get data */
2588     if (usr && usr->type && usr->type->str)
2589       return usr->type->str;
2590     return "userdata (unknown type)";
2591   }
2592   return lua_typename(L,lua_type(L,tp));
2593 }
2594 
2595 /* lua callable function to get the userdata's type */
SWIG_Lua_type(lua_State * L)2596 SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
2597 {
2598   lua_pushstring(L,SWIG_Lua_typename(L,1));
2599   return 1;
2600 }
2601 
2602 /* -----------------------------------------------------------------------------
2603  * global variable support code: class/struct typemap functions
2604  * ----------------------------------------------------------------------------- */
2605 
2606 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
2607 /* Install Constants */
2608 SWIGINTERN void
SWIG_Lua_InstallConstants(lua_State * L,swig_lua_const_info constants[])2609 SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]) {
2610   int i;
2611   for (i = 0; constants[i].type; i++) {
2612     switch(constants[i].type) {
2613     case SWIG_LUA_INT:
2614       lua_pushstring(L,constants[i].name);
2615       lua_pushinteger(L,(lua_Integer)constants[i].lvalue);
2616       lua_rawset(L,-3);
2617       break;
2618     case SWIG_LUA_FLOAT:
2619       lua_pushstring(L,constants[i].name);
2620       lua_pushnumber(L,(lua_Number)constants[i].dvalue);
2621       lua_rawset(L,-3);
2622       break;
2623     case SWIG_LUA_CHAR:
2624       lua_pushstring(L,constants[i].name);
2625       {
2626         char c = (char)constants[i].lvalue;
2627         lua_pushlstring(L,&c,1);
2628       }
2629       lua_rawset(L,-3);
2630       break;
2631     case SWIG_LUA_STRING:
2632       lua_pushstring(L,constants[i].name);
2633       lua_pushstring(L,(char *) constants[i].pvalue);
2634       lua_rawset(L,-3);
2635       break;
2636     case SWIG_LUA_POINTER:
2637       lua_pushstring(L,constants[i].name);
2638       SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
2639       lua_rawset(L,-3);
2640       break;
2641     case SWIG_LUA_BINARY:
2642       lua_pushstring(L,constants[i].name);
2643       SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
2644       lua_rawset(L,-3);
2645       break;
2646     default:
2647       break;
2648     }
2649   }
2650 }
2651 #endif
2652 
2653 /* -----------------------------------------------------------------------------
2654  * executing lua code from within the wrapper
2655  * ----------------------------------------------------------------------------- */
2656 
2657 #ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
2658 #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
2659 #endif
2660 /* Executes a C string in Lua which is a really simple way of calling lua from C
2661 Unfortunately lua keeps changing its APIs, so we need a conditional compile
2662 In lua 5.0.X it's lua_dostring()
2663 In lua 5.1.X it's luaL_dostring()
2664 */
2665 SWIGINTERN int
SWIG_Lua_dostring(lua_State * L,const char * str)2666 SWIG_Lua_dostring(lua_State *L, const char *str) {
2667   int ok,top;
2668   if (str==0 || str[0]==0) return 0; /* nothing to do */
2669   top=lua_gettop(L); /* save stack */
2670 #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
2671   ok=luaL_dostring(L,str);	/* looks like this is lua 5.1.X or later, good */
2672 #else
2673   ok=lua_dostring(L,str);	/* might be lua 5.0.x, using lua_dostring */
2674 #endif
2675   if (ok!=0) {
2676     SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
2677   }
2678   lua_settop(L,top); /* restore the stack */
2679   return ok;
2680 }
2681 
2682 #ifdef __cplusplus
2683 }
2684 #endif
2685 
2686 /* ------------------------------ end luarun.swg  ------------------------------ */
2687 
2688 
2689 /* -------- TYPES TABLE (BEGIN) -------- */
2690 
2691 #define SWIGTYPE_p_bool swig_types[0]
2692 #define SWIGTYPE_p_double swig_types[1]
2693 #define SWIGTYPE_p_f_p_q_const__char_p_void__void swig_types[2]
2694 #define SWIGTYPE_p_f_p_void__p_void swig_types[3]
2695 #define SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void swig_types[4]
2696 #define SWIGTYPE_p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError swig_types[5]
2697 #define SWIGTYPE_p_f_unsigned_long_long_p_void__void swig_types[6]
2698 #define SWIGTYPE_p_int swig_types[7]
2699 #define SWIGTYPE_p_lldb__ConnectionStatus swig_types[8]
2700 #define SWIGTYPE_p_lldb__SBAddress swig_types[9]
2701 #define SWIGTYPE_p_lldb__SBAttachInfo swig_types[10]
2702 #define SWIGTYPE_p_lldb__SBBlock swig_types[11]
2703 #define SWIGTYPE_p_lldb__SBBreakpoint swig_types[12]
2704 #define SWIGTYPE_p_lldb__SBBreakpointList swig_types[13]
2705 #define SWIGTYPE_p_lldb__SBBreakpointLocation swig_types[14]
2706 #define SWIGTYPE_p_lldb__SBBreakpointName swig_types[15]
2707 #define SWIGTYPE_p_lldb__SBBroadcaster swig_types[16]
2708 #define SWIGTYPE_p_lldb__SBCommandInterpreter swig_types[17]
2709 #define SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions swig_types[18]
2710 #define SWIGTYPE_p_lldb__SBCommandReturnObject swig_types[19]
2711 #define SWIGTYPE_p_lldb__SBCommunication swig_types[20]
2712 #define SWIGTYPE_p_lldb__SBCompileUnit swig_types[21]
2713 #define SWIGTYPE_p_lldb__SBData swig_types[22]
2714 #define SWIGTYPE_p_lldb__SBDebugger swig_types[23]
2715 #define SWIGTYPE_p_lldb__SBDeclaration swig_types[24]
2716 #define SWIGTYPE_p_lldb__SBEnvironment swig_types[25]
2717 #define SWIGTYPE_p_lldb__SBError swig_types[26]
2718 #define SWIGTYPE_p_lldb__SBEvent swig_types[27]
2719 #define SWIGTYPE_p_lldb__SBExecutionContext swig_types[28]
2720 #define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[29]
2721 #define SWIGTYPE_p_lldb__SBFile swig_types[30]
2722 #define SWIGTYPE_p_lldb__SBFileSpec swig_types[31]
2723 #define SWIGTYPE_p_lldb__SBFileSpecList swig_types[32]
2724 #define SWIGTYPE_p_lldb__SBFormat swig_types[33]
2725 #define SWIGTYPE_p_lldb__SBFrame swig_types[34]
2726 #define SWIGTYPE_p_lldb__SBFunction swig_types[35]
2727 #define SWIGTYPE_p_lldb__SBHostOS swig_types[36]
2728 #define SWIGTYPE_p_lldb__SBInstruction swig_types[37]
2729 #define SWIGTYPE_p_lldb__SBInstructionList swig_types[38]
2730 #define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[39]
2731 #define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[40]
2732 #define SWIGTYPE_p_lldb__SBLineEntry swig_types[41]
2733 #define SWIGTYPE_p_lldb__SBListener swig_types[42]
2734 #define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[43]
2735 #define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[44]
2736 #define SWIGTYPE_p_lldb__SBModule swig_types[45]
2737 #define SWIGTYPE_p_lldb__SBModuleSpec swig_types[46]
2738 #define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[47]
2739 #define SWIGTYPE_p_lldb__SBPlatform swig_types[48]
2740 #define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[49]
2741 #define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[50]
2742 #define SWIGTYPE_p_lldb__SBProcess swig_types[51]
2743 #define SWIGTYPE_p_lldb__SBProcessInfo swig_types[52]
2744 #define SWIGTYPE_p_lldb__SBProcessInfoList swig_types[53]
2745 #define SWIGTYPE_p_lldb__SBQueue swig_types[54]
2746 #define SWIGTYPE_p_lldb__SBQueueItem swig_types[55]
2747 #define SWIGTYPE_p_lldb__SBReproducer swig_types[56]
2748 #define SWIGTYPE_p_lldb__SBScriptObject swig_types[57]
2749 #define SWIGTYPE_p_lldb__SBSection swig_types[58]
2750 #define SWIGTYPE_p_lldb__SBSourceManager swig_types[59]
2751 #define SWIGTYPE_p_lldb__SBStream swig_types[60]
2752 #define SWIGTYPE_p_lldb__SBStringList swig_types[61]
2753 #define SWIGTYPE_p_lldb__SBStructuredData swig_types[62]
2754 #define SWIGTYPE_p_lldb__SBSymbol swig_types[63]
2755 #define SWIGTYPE_p_lldb__SBSymbolContext swig_types[64]
2756 #define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[65]
2757 #define SWIGTYPE_p_lldb__SBTarget swig_types[66]
2758 #define SWIGTYPE_p_lldb__SBThread swig_types[67]
2759 #define SWIGTYPE_p_lldb__SBThreadCollection swig_types[68]
2760 #define SWIGTYPE_p_lldb__SBThreadPlan swig_types[69]
2761 #define SWIGTYPE_p_lldb__SBTrace swig_types[70]
2762 #define SWIGTYPE_p_lldb__SBTraceCursor swig_types[71]
2763 #define SWIGTYPE_p_lldb__SBType swig_types[72]
2764 #define SWIGTYPE_p_lldb__SBTypeCategory swig_types[73]
2765 #define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[74]
2766 #define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[75]
2767 #define SWIGTYPE_p_lldb__SBTypeFilter swig_types[76]
2768 #define SWIGTYPE_p_lldb__SBTypeFormat swig_types[77]
2769 #define SWIGTYPE_p_lldb__SBTypeList swig_types[78]
2770 #define SWIGTYPE_p_lldb__SBTypeMember swig_types[79]
2771 #define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[80]
2772 #define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[81]
2773 #define SWIGTYPE_p_lldb__SBTypeSummary swig_types[82]
2774 #define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[83]
2775 #define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[84]
2776 #define SWIGTYPE_p_lldb__SBUnixSignals swig_types[85]
2777 #define SWIGTYPE_p_lldb__SBValue swig_types[86]
2778 #define SWIGTYPE_p_lldb__SBValueList swig_types[87]
2779 #define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[88]
2780 #define SWIGTYPE_p_lldb__SBWatchpoint swig_types[89]
2781 #define SWIGTYPE_p_lldb__SBWatchpointOptions swig_types[90]
2782 #define SWIGTYPE_p_long_double swig_types[91]
2783 #define SWIGTYPE_p_long_long swig_types[92]
2784 #define SWIGTYPE_p_p_void swig_types[93]
2785 #define SWIGTYPE_p_pthread_rwlock_t swig_types[94]
2786 #define SWIGTYPE_p_pthread_t swig_types[95]
2787 #define SWIGTYPE_p_short swig_types[96]
2788 #define SWIGTYPE_p_signed_char swig_types[97]
2789 #define SWIGTYPE_p_size_t swig_types[98]
2790 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[99]
2791 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[100]
2792 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[101]
2793 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[102]
2794 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[103]
2795 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[104]
2796 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[105]
2797 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[106]
2798 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[107]
2799 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[108]
2800 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[109]
2801 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[110]
2802 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[111]
2803 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[112]
2804 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[113]
2805 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[114]
2806 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[115]
2807 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[116]
2808 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[117]
2809 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[118]
2810 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[119]
2811 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[120]
2812 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[121]
2813 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t swig_types[122]
2814 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[123]
2815 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[124]
2816 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[125]
2817 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[126]
2818 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[127]
2819 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[128]
2820 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[129]
2821 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[130]
2822 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[131]
2823 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[132]
2824 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[133]
2825 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[134]
2826 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t swig_types[135]
2827 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[136]
2828 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectContainer_t swig_types[137]
2829 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[138]
2830 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[139]
2831 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t swig_types[140]
2832 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[141]
2833 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[142]
2834 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[143]
2835 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[144]
2836 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[145]
2837 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[146]
2838 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[147]
2839 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[148]
2840 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[149]
2841 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[150]
2842 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[151]
2843 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[152]
2844 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t swig_types[153]
2845 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[154]
2846 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[155]
2847 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[156]
2848 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t swig_types[157]
2849 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[158]
2850 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t swig_types[159]
2851 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[160]
2852 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[161]
2853 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[162]
2854 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[163]
2855 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[164]
2856 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[165]
2857 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[166]
2858 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[167]
2859 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[168]
2860 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[169]
2861 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[170]
2862 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SupportFile_t swig_types[171]
2863 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[172]
2864 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[173]
2865 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[174]
2866 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[175]
2867 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[176]
2868 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[177]
2869 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[178]
2870 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[179]
2871 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t swig_types[180]
2872 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[181]
2873 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t swig_types[182]
2874 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Trace_t swig_types[183]
2875 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[184]
2876 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[185]
2877 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[186]
2878 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[187]
2879 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[188]
2880 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[189]
2881 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[190]
2882 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[191]
2883 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[192]
2884 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystemClang_t swig_types[193]
2885 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[194]
2886 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[195]
2887 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[196]
2888 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[197]
2889 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[198]
2890 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[199]
2891 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[200]
2892 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[201]
2893 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[202]
2894 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[203]
2895 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[204]
2896 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__WatchpointResource_t swig_types[205]
2897 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[206]
2898 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t swig_types[207]
2899 #define SWIGTYPE_p_std__string swig_types[208]
2900 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[209]
2901 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[210]
2902 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[211]
2903 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[212]
2904 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[213]
2905 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[214]
2906 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t swig_types[215]
2907 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t swig_types[216]
2908 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[217]
2909 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[218]
2910 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t swig_types[219]
2911 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[220]
2912 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[221]
2913 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[222]
2914 #define SWIGTYPE_p_std__unique_ptrT_lldb_private__TraceExporter_t swig_types[223]
2915 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[224]
2916 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[225]
2917 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[226]
2918 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[227]
2919 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[228]
2920 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[229]
2921 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[230]
2922 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[231]
2923 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[232]
2924 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[233]
2925 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[234]
2926 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[235]
2927 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[236]
2928 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[237]
2929 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__ThreadPlan_t swig_types[238]
2930 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[239]
2931 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__TypeSystem_t swig_types[240]
2932 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[241]
2933 #define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[242]
2934 #define SWIGTYPE_p_unsigned_char swig_types[243]
2935 #define SWIGTYPE_p_unsigned_int swig_types[244]
2936 #define SWIGTYPE_p_unsigned_long_long swig_types[245]
2937 #define SWIGTYPE_p_unsigned_short swig_types[246]
2938 #define SWIGTYPE_p_void swig_types[247]
2939 static swig_type_info *swig_types[249];
2940 static swig_module_info swig_module = {swig_types, 248, 0, 0, 0, 0};
2941 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2942 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2943 
2944 /* -------- TYPES TABLE (END) -------- */
2945 
2946 #define SWIG_name      "lldb"
2947 #define SWIG_init      luaopen_lldb
2948 #define SWIG_init_user luaopen_lldb_user
2949 
2950 #define SWIG_LUACODE   luaopen_lldb_luacode
2951 
2952 #ifdef __cplusplus
2953 #include <utility>
2954 /* SwigValueWrapper is described in swig.swg */
2955 template<typename T> class SwigValueWrapper {
2956   struct SwigSmartPointer {
2957     T *ptr;
SwigSmartPointerSwigValueWrapper::SwigSmartPointer2958     SwigSmartPointer(T *p) : ptr(p) { }
~SwigSmartPointerSwigValueWrapper::SwigSmartPointer2959     ~SwigSmartPointer() { delete ptr; }
operator =SwigValueWrapper::SwigSmartPointer2960     SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
resetSwigValueWrapper::SwigSmartPointer2961     void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; }
2962   } pointer;
2963   SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
2964   SwigValueWrapper(const SwigValueWrapper<T>& rhs);
2965 public:
SwigValueWrapper()2966   SwigValueWrapper() : pointer(0) { }
operator =(const T & t)2967   SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
2968 #if __cplusplus >=201103L
operator =(T && t)2969   SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
operator T&&() const2970   operator T&&() const { return std::move(*pointer.ptr); }
2971 #else
operator T&() const2972   operator T&() const { return *pointer.ptr; }
2973 #endif
operator &() const2974   T *operator&() const { return pointer.ptr; }
reset(SwigValueWrapper & t,T * p)2975   static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
2976 };
2977 
2978 /*
2979  * SwigValueInit() is a generic initialisation solution as the following approach:
2980  *
2981  *       T c_result = T();
2982  *
2983  * doesn't compile for all types for example:
2984  *
2985  *       unsigned int c_result = unsigned int();
2986  */
SwigValueInit()2987 template <typename T> T SwigValueInit() {
2988   return T();
2989 }
2990 
2991 #if __cplusplus >=201103L
2992 # define SWIG_STD_MOVE(OBJ) std::move(OBJ)
2993 #else
2994 # define SWIG_STD_MOVE(OBJ) OBJ
2995 #endif
2996 
2997 #endif
2998 
2999 
3000 namespace swig {
3001 typedef struct{} LANGUAGE_OBJ;
3002 }
3003 
3004 
3005 #include <string>
3006 
3007 
SWIG_lua_isnilstring(lua_State * L,int idx)3008 SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
3009   int ret = lua_isstring(L, idx);
3010   if (!ret)
3011    ret = lua_isnil(L, idx);
3012   return ret;
3013 }
3014 
3015 
3016 #ifdef __cplusplus	/* generic alloc/dealloc fns*/
3017 #define SWIG_ALLOC_ARRAY(TYPE,LEN) 	new TYPE[LEN]
3018 #define SWIG_FREE_ARRAY(PTR)		delete[] PTR
3019 #else
3020 #define SWIG_ALLOC_ARRAY(TYPE,LEN) 	(TYPE *)malloc(LEN*sizeof(TYPE))
3021 #define SWIG_FREE_ARRAY(PTR)		free(PTR)
3022 #endif
3023 /* counting the size of arrays:*/
SWIG_itable_size(lua_State * L,int index)3024 SWIGINTERN int SWIG_itable_size(lua_State* L, int index)
3025 {
3026 	int n=0;
3027 	while(1){
3028 		lua_rawgeti(L,index,n+1);
3029 		if (lua_isnil(L,-1))break;
3030 		++n;
3031 		lua_pop(L,1);
3032 	}
3033 	lua_pop(L,1);
3034 	return n;
3035 }
3036 
SWIG_table_size(lua_State * L,int index)3037 SWIGINTERN int SWIG_table_size(lua_State* L, int index)
3038 {
3039 	int n=0;
3040 	lua_pushnil(L);  /* first key*/
3041 	while (lua_next(L, index) != 0) {
3042 		++n;
3043 		lua_pop(L, 1);  /* removes `value'; keeps `key' for next iteration*/
3044 	}
3045 	return n;
3046 }
3047 
3048 /* super macro to declare array typemap helper fns */
3049 #define SWIG_DECLARE_TYPEMAP_ARR_FN(NAME,TYPE)\
3050 	SWIGINTERN int SWIG_read_##NAME##_num_array(lua_State* L,int index,TYPE *array,int size){\
3051 		int i;\
3052 		for (i = 0; i < size; i++) {\
3053 			lua_rawgeti(L,index,i+1);\
3054 			if (lua_isnumber(L,-1)){\
3055 				array[i] = (TYPE)lua_tonumber(L,-1);\
3056 			} else {\
3057 				lua_pop(L,1);\
3058 				return 0;\
3059 			}\
3060 			lua_pop(L,1);\
3061 		}\
3062 		return 1;\
3063 	}\
3064 	SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_fixed(lua_State* L, int index, int size){\
3065 		TYPE *array;\
3066 		if (!lua_istable(L,index) || SWIG_itable_size(L,index) != size) {\
3067 			SWIG_Lua_pushferrstring(L,"expected a table of size %d",size);\
3068 			return 0;\
3069 		}\
3070 		array=SWIG_ALLOC_ARRAY(TYPE,size);\
3071 		if (!SWIG_read_##NAME##_num_array(L,index,array,size)){\
3072 			SWIG_Lua_pusherrstring(L,"table must contain numbers");\
3073 			SWIG_FREE_ARRAY(array);\
3074 			return 0;\
3075 		}\
3076 		return array;\
3077 	}\
3078 	SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_var(lua_State* L, int index, int* size)\
3079 	{\
3080 		TYPE *array;\
3081 		if (!lua_istable(L,index)) {\
3082 			SWIG_Lua_pusherrstring(L,"expected a table");\
3083 			return 0;\
3084 		}\
3085 		*size=SWIG_itable_size(L,index);\
3086 		if (*size<1){\
3087 			SWIG_Lua_pusherrstring(L,"table appears to be empty");\
3088 			return 0;\
3089 		}\
3090 		array=SWIG_ALLOC_ARRAY(TYPE,*size);\
3091 		if (!SWIG_read_##NAME##_num_array(L,index,array,*size)){\
3092 			SWIG_Lua_pusherrstring(L,"table must contain numbers");\
3093 			SWIG_FREE_ARRAY(array);\
3094 			return 0;\
3095 		}\
3096 		return array;\
3097 	}\
3098 	SWIGINTERN void SWIG_write_##NAME##_num_array(lua_State* L,TYPE *array,int size){\
3099 		int i;\
3100 		lua_newtable(L);\
3101 		for (i = 0; i < size; i++){\
3102 			lua_pushnumber(L,(lua_Number)array[i]);\
3103 			lua_rawseti(L,-2,i+1);/* -1 is the number, -2 is the table*/ \
3104 		}\
3105 	}
3106 
SWIG_DECLARE_TYPEMAP_ARR_FN(schar,signed char)3107 SWIG_DECLARE_TYPEMAP_ARR_FN(schar,signed char)
3108 SWIG_DECLARE_TYPEMAP_ARR_FN(uchar,unsigned char)
3109 SWIG_DECLARE_TYPEMAP_ARR_FN(int,int)
3110 SWIG_DECLARE_TYPEMAP_ARR_FN(uint,unsigned int)
3111 SWIG_DECLARE_TYPEMAP_ARR_FN(short,short)
3112 SWIG_DECLARE_TYPEMAP_ARR_FN(ushort,unsigned short)
3113 SWIG_DECLARE_TYPEMAP_ARR_FN(long,long)
3114 SWIG_DECLARE_TYPEMAP_ARR_FN(ulong,unsigned long)
3115 SWIG_DECLARE_TYPEMAP_ARR_FN(float,float)
3116 SWIG_DECLARE_TYPEMAP_ARR_FN(double,double)
3117 
3118 SWIGINTERN int SWIG_read_ptr_array(lua_State* L,int index,void **array,int size,swig_type_info *type){
3119 	int i;
3120 	for (i = 0; i < size; i++) {
3121 		lua_rawgeti(L,index,i+1);
3122 		if (!lua_isuserdata(L,-1) || SWIG_ConvertPtr(L,-1,&array[i],type,0)==-1){
3123 			lua_pop(L,1);
3124 			return 0;
3125 		}
3126 		lua_pop(L,1);
3127 	}
3128 	return 1;
3129 }
SWIG_get_ptr_array_fixed(lua_State * L,int index,int size,swig_type_info * type)3130 SWIGINTERN void** SWIG_get_ptr_array_fixed(lua_State* L, int index, int size,swig_type_info *type){
3131 	void **array;
3132 	if (!lua_istable(L,index) || SWIG_itable_size(L,index) != size) {
3133 		SWIG_Lua_pushferrstring(L,"expected a table of size %d",size);
3134 		return 0;
3135 	}
3136 	array=SWIG_ALLOC_ARRAY(void*,size);
3137 	if (!SWIG_read_ptr_array(L,index,array,size,type)){
3138 		SWIG_Lua_pushferrstring(L,"table must contain pointers of type %s",type->name);
3139 		SWIG_FREE_ARRAY(array);
3140 		return 0;
3141 	}
3142 	return array;
3143 }
SWIG_get_ptr_array_var(lua_State * L,int index,int * size,swig_type_info * type)3144 SWIGINTERN void** SWIG_get_ptr_array_var(lua_State* L, int index, int* size,swig_type_info *type){
3145 	void **array;
3146 	if (!lua_istable(L,index)) {
3147 		SWIG_Lua_pusherrstring(L,"expected a table");
3148 		return 0;
3149 	}
3150 	*size=SWIG_itable_size(L,index);
3151 	if (*size<1){
3152 		SWIG_Lua_pusherrstring(L,"table appears to be empty");
3153 		return 0;
3154 	}
3155 	array=SWIG_ALLOC_ARRAY(void*,*size);
3156 	if (!SWIG_read_ptr_array(L,index,array,*size,type)){
3157 		SWIG_Lua_pushferrstring(L,"table must contain pointers of type %s",type->name);
3158 		SWIG_FREE_ARRAY(array);
3159 		return 0;
3160 	}
3161 	return array;
3162 }
SWIG_write_ptr_array(lua_State * L,void ** array,int size,swig_type_info * type,int own)3163 SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_type_info *type,int own){
3164 	int i;
3165 	lua_newtable(L);
3166 	for (i = 0; i < size; i++){
3167 		SWIG_NewPointerObj(L,array[i],type,own);
3168 		lua_rawseti(L,-2,i+1);/* -1 is the number, -2 is the table*/
3169 	}
3170 }
3171 
3172 
3173 #include <algorithm>
3174 #include <string>
3175 
3176 
3177 #include "lldb/lldb-public.h"
3178 #include "lldb/API/SBAddress.h"
3179 #include "lldb/API/SBAttachInfo.h"
3180 #include "lldb/API/SBBlock.h"
3181 #include "lldb/API/SBBreakpoint.h"
3182 #include "lldb/API/SBBreakpointLocation.h"
3183 #include "lldb/API/SBBreakpointName.h"
3184 #include "lldb/API/SBBroadcaster.h"
3185 #include "lldb/API/SBCommandInterpreter.h"
3186 #include "lldb/API/SBCommandInterpreterRunOptions.h"
3187 #include "lldb/API/SBCommandReturnObject.h"
3188 #include "lldb/API/SBCommunication.h"
3189 #include "lldb/API/SBCompileUnit.h"
3190 #include "lldb/API/SBData.h"
3191 #include "lldb/API/SBDebugger.h"
3192 #include "lldb/API/SBDeclaration.h"
3193 #include "lldb/API/SBEnvironment.h"
3194 #include "lldb/API/SBError.h"
3195 #include "lldb/API/SBEvent.h"
3196 #include "lldb/API/SBExecutionContext.h"
3197 #include "lldb/API/SBExpressionOptions.h"
3198 #include "lldb/API/SBFile.h"
3199 #include "lldb/API/SBFileSpec.h"
3200 #include "lldb/API/SBFileSpecList.h"
3201 #include "lldb/API/SBFormat.h"
3202 #include "lldb/API/SBFrame.h"
3203 #include "lldb/API/SBFunction.h"
3204 #include "lldb/API/SBHostOS.h"
3205 #include "lldb/API/SBInstruction.h"
3206 #include "lldb/API/SBInstructionList.h"
3207 #include "lldb/API/SBLanguageRuntime.h"
3208 #include "lldb/API/SBLaunchInfo.h"
3209 #include "lldb/API/SBLineEntry.h"
3210 #include "lldb/API/SBListener.h"
3211 #include "lldb/API/SBMemoryRegionInfo.h"
3212 #include "lldb/API/SBMemoryRegionInfoList.h"
3213 #include "lldb/API/SBModule.h"
3214 #include "lldb/API/SBModuleSpec.h"
3215 #include "lldb/API/SBPlatform.h"
3216 #include "lldb/API/SBProcess.h"
3217 #include "lldb/API/SBProcessInfo.h"
3218 #include "lldb/API/SBProcessInfoList.h"
3219 #include "lldb/API/SBQueue.h"
3220 #include "lldb/API/SBQueueItem.h"
3221 #include "lldb/API/SBReproducer.h"
3222 #include "lldb/API/SBScriptObject.h"
3223 #include "lldb/API/SBSection.h"
3224 #include "lldb/API/SBSourceManager.h"
3225 #include "lldb/API/SBStream.h"
3226 #include "lldb/API/SBStringList.h"
3227 #include "lldb/API/SBStructuredData.h"
3228 #include "lldb/API/SBSymbol.h"
3229 #include "lldb/API/SBSymbolContext.h"
3230 #include "lldb/API/SBSymbolContextList.h"
3231 #include "lldb/API/SBTarget.h"
3232 #include "lldb/API/SBThread.h"
3233 #include "lldb/API/SBThreadCollection.h"
3234 #include "lldb/API/SBThreadPlan.h"
3235 #include "lldb/API/SBTrace.h"
3236 #include "lldb/API/SBTraceCursor.h"
3237 #include "lldb/API/SBType.h"
3238 #include "lldb/API/SBTypeCategory.h"
3239 #include "lldb/API/SBTypeEnumMember.h"
3240 #include "lldb/API/SBTypeFilter.h"
3241 #include "lldb/API/SBTypeFormat.h"
3242 #include "lldb/API/SBTypeNameSpecifier.h"
3243 #include "lldb/API/SBTypeSummary.h"
3244 #include "lldb/API/SBTypeSynthetic.h"
3245 #include "lldb/API/SBUnixSignals.h"
3246 #include "lldb/API/SBValue.h"
3247 #include "lldb/API/SBValueList.h"
3248 #include "lldb/API/SBVariablesOptions.h"
3249 #include "lldb/API/SBWatchpoint.h"
3250 #include "lldb/API/SBWatchpointOptions.h"
3251 
3252 
3253 #include "llvm/Support/Error.h"
3254 #include "llvm/Support/FormatVariadic.h"
3255 #include "../bindings/lua/lua-swigsafecast.swig"
3256 #include "../source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h"
3257 
3258 // required headers for typemaps
3259 #include "lldb/Host/File.h"
3260 
3261 using namespace lldb_private;
3262 using namespace lldb;
3263 
3264 
3265 #include <stdint.h>		// Use the C99 official header
3266 
lldb_SBAddress___repr__(lldb::SBAddress * self)3267 SWIGINTERN std::string lldb_SBAddress___repr__(lldb::SBAddress *self){
3268     lldb::SBStream stream;
3269     self->GetDescription (stream);
3270     const char *desc = stream.GetData();
3271     size_t desc_len = stream.GetSize();
3272     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3273       --desc_len;
3274     }
3275     return std::string(desc, desc_len);
3276   }
lldb_SBBlock___repr__(lldb::SBBlock * self)3277 SWIGINTERN std::string lldb_SBBlock___repr__(lldb::SBBlock *self){
3278     lldb::SBStream stream;
3279     self->GetDescription (stream);
3280     const char *desc = stream.GetData();
3281     size_t desc_len = stream.GetSize();
3282     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3283       --desc_len;
3284     }
3285     return std::string(desc, desc_len);
3286   }
lldb_SBBreakpoint___repr__(lldb::SBBreakpoint * self)3287 SWIGINTERN std::string lldb_SBBreakpoint___repr__(lldb::SBBreakpoint *self){
3288     lldb::SBStream stream;
3289     self->GetDescription (stream);
3290     const char *desc = stream.GetData();
3291     size_t desc_len = stream.GetSize();
3292     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3293       --desc_len;
3294     }
3295     return std::string(desc, desc_len);
3296   }
lldb_SBBreakpointLocation___repr__(lldb::SBBreakpointLocation * self)3297 SWIGINTERN std::string lldb_SBBreakpointLocation___repr__(lldb::SBBreakpointLocation *self){
3298     lldb::SBStream stream;
3299     self->GetDescription (stream, lldb::eDescriptionLevelFull);
3300     const char *desc = stream.GetData();
3301     size_t desc_len = stream.GetSize();
3302     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3303       --desc_len;
3304     }
3305     return std::string(desc, desc_len);
3306   }
lldb_SBBreakpointName___repr__(lldb::SBBreakpointName * self)3307 SWIGINTERN std::string lldb_SBBreakpointName___repr__(lldb::SBBreakpointName *self){
3308     lldb::SBStream stream;
3309     self->GetDescription (stream);
3310     const char *desc = stream.GetData();
3311     size_t desc_len = stream.GetSize();
3312     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3313       --desc_len;
3314     }
3315     return std::string(desc, desc_len);
3316   }
lldb_SBCommandReturnObject___repr__(lldb::SBCommandReturnObject * self)3317 SWIGINTERN std::string lldb_SBCommandReturnObject___repr__(lldb::SBCommandReturnObject *self){
3318     lldb::SBStream stream;
3319     self->GetDescription (stream);
3320     const char *desc = stream.GetData();
3321     size_t desc_len = stream.GetSize();
3322     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3323       --desc_len;
3324     }
3325     return std::string(desc, desc_len);
3326   }
lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lldb::SBCommandReturnObject * self,lldb::FileSP BORROWED,bool transfer_ownership)3327 SWIGINTERN void lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lldb::SBCommandReturnObject *self,lldb::FileSP BORROWED,bool transfer_ownership){
3328         self->SetImmediateOutputFile(BORROWED);
3329     }
lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lldb::SBCommandReturnObject * self,lldb::FileSP BORROWED,bool transfer_ownership)3330 SWIGINTERN void lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lldb::SBCommandReturnObject *self,lldb::FileSP BORROWED,bool transfer_ownership){
3331         self->SetImmediateErrorFile(BORROWED);
3332     }
lldb_SBCommandReturnObject_Print(lldb::SBCommandReturnObject * self,char const * str)3333 SWIGINTERN void lldb_SBCommandReturnObject_Print(lldb::SBCommandReturnObject *self,char const *str){
3334         self->Printf("%s", str);
3335     }
lldb_SBCompileUnit___repr__(lldb::SBCompileUnit * self)3336 SWIGINTERN std::string lldb_SBCompileUnit___repr__(lldb::SBCompileUnit *self){
3337     lldb::SBStream stream;
3338     self->GetDescription (stream);
3339     const char *desc = stream.GetData();
3340     size_t desc_len = stream.GetSize();
3341     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3342       --desc_len;
3343     }
3344     return std::string(desc, desc_len);
3345   }
lldb_SBData___repr__(lldb::SBData * self)3346 SWIGINTERN std::string lldb_SBData___repr__(lldb::SBData *self){
3347     lldb::SBStream stream;
3348     self->GetDescription (stream);
3349     const char *desc = stream.GetData();
3350     size_t desc_len = stream.GetSize();
3351     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3352       --desc_len;
3353     }
3354     return std::string(desc, desc_len);
3355   }
lldb_SBDebugger___repr__(lldb::SBDebugger * self)3356 SWIGINTERN std::string lldb_SBDebugger___repr__(lldb::SBDebugger *self){
3357     lldb::SBStream stream;
3358     self->GetDescription (stream);
3359     const char *desc = stream.GetData();
3360     size_t desc_len = stream.GetSize();
3361     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3362       --desc_len;
3363     }
3364     return std::string(desc, desc_len);
3365   }
lldb_SBDebugger_GetInputFileHandle(lldb::SBDebugger * self)3366 SWIGINTERN lldb::FileSP lldb_SBDebugger_GetInputFileHandle(lldb::SBDebugger *self){
3367         return self->GetInputFile().GetFile();
3368     }
lldb_SBDebugger_GetOutputFileHandle(lldb::SBDebugger * self)3369 SWIGINTERN lldb::FileSP lldb_SBDebugger_GetOutputFileHandle(lldb::SBDebugger *self){
3370         return self->GetOutputFile().GetFile();
3371     }
lldb_SBDebugger_GetErrorFileHandle(lldb::SBDebugger * self)3372 SWIGINTERN lldb::FileSP lldb_SBDebugger_GetErrorFileHandle(lldb::SBDebugger *self){
3373         return self->GetErrorFile().GetFile();
3374     }
lldb_SBDeclaration___repr__(lldb::SBDeclaration * self)3375 SWIGINTERN std::string lldb_SBDeclaration___repr__(lldb::SBDeclaration *self){
3376     lldb::SBStream stream;
3377     self->GetDescription (stream);
3378     const char *desc = stream.GetData();
3379     size_t desc_len = stream.GetSize();
3380     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3381       --desc_len;
3382     }
3383     return std::string(desc, desc_len);
3384   }
lldb_SBError___repr__(lldb::SBError * self)3385 SWIGINTERN std::string lldb_SBError___repr__(lldb::SBError *self){
3386     lldb::SBStream stream;
3387     self->GetDescription (stream);
3388     const char *desc = stream.GetData();
3389     size_t desc_len = stream.GetSize();
3390     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3391       --desc_len;
3392     }
3393     return std::string(desc, desc_len);
3394   }
lldb_SBFile_MakeBorrowed(lldb::FileSP BORROWED)3395 SWIGINTERN lldb::SBFile lldb_SBFile_MakeBorrowed(lldb::FileSP BORROWED){
3396         return lldb::SBFile(BORROWED);
3397     }
lldb_SBFile_MakeForcingIOMethods(lldb::FileSP FORCE_IO_METHODS)3398 SWIGINTERN lldb::SBFile lldb_SBFile_MakeForcingIOMethods(lldb::FileSP FORCE_IO_METHODS){
3399         return lldb::SBFile(FORCE_IO_METHODS);
3400     }
lldb_SBFile_MakeBorrowedForcingIOMethods(lldb::FileSP BORROWED_FORCE_IO_METHODS)3401 SWIGINTERN lldb::SBFile lldb_SBFile_MakeBorrowedForcingIOMethods(lldb::FileSP BORROWED_FORCE_IO_METHODS){
3402         return lldb::SBFile(BORROWED_FORCE_IO_METHODS);
3403     }
lldb_SBFileSpec___repr__(lldb::SBFileSpec * self)3404 SWIGINTERN std::string lldb_SBFileSpec___repr__(lldb::SBFileSpec *self){
3405     lldb::SBStream stream;
3406     self->GetDescription (stream);
3407     const char *desc = stream.GetData();
3408     size_t desc_len = stream.GetSize();
3409     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3410       --desc_len;
3411     }
3412     return std::string(desc, desc_len);
3413   }
lldb_SBFileSpecList___repr__(lldb::SBFileSpecList * self)3414 SWIGINTERN std::string lldb_SBFileSpecList___repr__(lldb::SBFileSpecList *self){
3415     lldb::SBStream stream;
3416     self->GetDescription (stream);
3417     const char *desc = stream.GetData();
3418     size_t desc_len = stream.GetSize();
3419     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3420       --desc_len;
3421     }
3422     return std::string(desc, desc_len);
3423   }
lldb_SBFrame___repr__(lldb::SBFrame * self)3424 SWIGINTERN std::string lldb_SBFrame___repr__(lldb::SBFrame *self){
3425     lldb::SBStream stream;
3426     self->GetDescription (stream);
3427     const char *desc = stream.GetData();
3428     size_t desc_len = stream.GetSize();
3429     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3430       --desc_len;
3431     }
3432     return std::string(desc, desc_len);
3433   }
lldb_SBFunction___repr__(lldb::SBFunction * self)3434 SWIGINTERN std::string lldb_SBFunction___repr__(lldb::SBFunction *self){
3435     lldb::SBStream stream;
3436     self->GetDescription (stream);
3437     const char *desc = stream.GetData();
3438     size_t desc_len = stream.GetSize();
3439     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3440       --desc_len;
3441     }
3442     return std::string(desc, desc_len);
3443   }
lldb_SBInstruction___repr__(lldb::SBInstruction * self)3444 SWIGINTERN std::string lldb_SBInstruction___repr__(lldb::SBInstruction *self){
3445     lldb::SBStream stream;
3446     self->GetDescription (stream);
3447     const char *desc = stream.GetData();
3448     size_t desc_len = stream.GetSize();
3449     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3450       --desc_len;
3451     }
3452     return std::string(desc, desc_len);
3453   }
lldb_SBInstructionList___repr__(lldb::SBInstructionList * self)3454 SWIGINTERN std::string lldb_SBInstructionList___repr__(lldb::SBInstructionList *self){
3455     lldb::SBStream stream;
3456     self->GetDescription (stream);
3457     const char *desc = stream.GetData();
3458     size_t desc_len = stream.GetSize();
3459     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3460       --desc_len;
3461     }
3462     return std::string(desc, desc_len);
3463   }
lldb_SBLineEntry___repr__(lldb::SBLineEntry * self)3464 SWIGINTERN std::string lldb_SBLineEntry___repr__(lldb::SBLineEntry *self){
3465     lldb::SBStream stream;
3466     self->GetDescription (stream);
3467     const char *desc = stream.GetData();
3468     size_t desc_len = stream.GetSize();
3469     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3470       --desc_len;
3471     }
3472     return std::string(desc, desc_len);
3473   }
lldb_SBMemoryRegionInfo___repr__(lldb::SBMemoryRegionInfo * self)3474 SWIGINTERN std::string lldb_SBMemoryRegionInfo___repr__(lldb::SBMemoryRegionInfo *self){
3475     lldb::SBStream stream;
3476     self->GetDescription (stream);
3477     const char *desc = stream.GetData();
3478     size_t desc_len = stream.GetSize();
3479     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3480       --desc_len;
3481     }
3482     return std::string(desc, desc_len);
3483   }
lldb_SBModule___repr__(lldb::SBModule * self)3484 SWIGINTERN std::string lldb_SBModule___repr__(lldb::SBModule *self){
3485     lldb::SBStream stream;
3486     self->GetDescription (stream);
3487     const char *desc = stream.GetData();
3488     size_t desc_len = stream.GetSize();
3489     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3490       --desc_len;
3491     }
3492     return std::string(desc, desc_len);
3493   }
lldb_SBModuleSpec___repr__(lldb::SBModuleSpec * self)3494 SWIGINTERN std::string lldb_SBModuleSpec___repr__(lldb::SBModuleSpec *self){
3495     lldb::SBStream stream;
3496     self->GetDescription (stream);
3497     const char *desc = stream.GetData();
3498     size_t desc_len = stream.GetSize();
3499     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3500       --desc_len;
3501     }
3502     return std::string(desc, desc_len);
3503   }
lldb_SBModuleSpecList___repr__(lldb::SBModuleSpecList * self)3504 SWIGINTERN std::string lldb_SBModuleSpecList___repr__(lldb::SBModuleSpecList *self){
3505     lldb::SBStream stream;
3506     self->GetDescription (stream);
3507     const char *desc = stream.GetData();
3508     size_t desc_len = stream.GetSize();
3509     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3510       --desc_len;
3511     }
3512     return std::string(desc, desc_len);
3513   }
lldb_SBProcess___repr__(lldb::SBProcess * self)3514 SWIGINTERN std::string lldb_SBProcess___repr__(lldb::SBProcess *self){
3515     lldb::SBStream stream;
3516     self->GetDescription (stream);
3517     const char *desc = stream.GetData();
3518     size_t desc_len = stream.GetSize();
3519     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3520       --desc_len;
3521     }
3522     return std::string(desc, desc_len);
3523   }
lldb_SBSection___repr__(lldb::SBSection * self)3524 SWIGINTERN std::string lldb_SBSection___repr__(lldb::SBSection *self){
3525     lldb::SBStream stream;
3526     self->GetDescription (stream);
3527     const char *desc = stream.GetData();
3528     size_t desc_len = stream.GetSize();
3529     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3530       --desc_len;
3531     }
3532     return std::string(desc, desc_len);
3533   }
lldb_SBStream_RedirectToFileHandle(lldb::SBStream * self,lldb::FileSP file,bool transfer_fh_ownership)3534 SWIGINTERN void lldb_SBStream_RedirectToFileHandle(lldb::SBStream *self,lldb::FileSP file,bool transfer_fh_ownership){
3535         self->RedirectToFile(file);
3536     }
lldb_SBStructuredData___repr__(lldb::SBStructuredData * self)3537 SWIGINTERN std::string lldb_SBStructuredData___repr__(lldb::SBStructuredData *self){
3538     lldb::SBStream stream;
3539     self->GetDescription (stream);
3540     const char *desc = stream.GetData();
3541     size_t desc_len = stream.GetSize();
3542     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3543       --desc_len;
3544     }
3545     return std::string(desc, desc_len);
3546   }
lldb_SBSymbol___repr__(lldb::SBSymbol * self)3547 SWIGINTERN std::string lldb_SBSymbol___repr__(lldb::SBSymbol *self){
3548     lldb::SBStream stream;
3549     self->GetDescription (stream);
3550     const char *desc = stream.GetData();
3551     size_t desc_len = stream.GetSize();
3552     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3553       --desc_len;
3554     }
3555     return std::string(desc, desc_len);
3556   }
lldb_SBSymbolContext___repr__(lldb::SBSymbolContext * self)3557 SWIGINTERN std::string lldb_SBSymbolContext___repr__(lldb::SBSymbolContext *self){
3558     lldb::SBStream stream;
3559     self->GetDescription (stream);
3560     const char *desc = stream.GetData();
3561     size_t desc_len = stream.GetSize();
3562     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3563       --desc_len;
3564     }
3565     return std::string(desc, desc_len);
3566   }
lldb_SBSymbolContextList___repr__(lldb::SBSymbolContextList * self)3567 SWIGINTERN std::string lldb_SBSymbolContextList___repr__(lldb::SBSymbolContextList *self){
3568     lldb::SBStream stream;
3569     self->GetDescription (stream);
3570     const char *desc = stream.GetData();
3571     size_t desc_len = stream.GetSize();
3572     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3573       --desc_len;
3574     }
3575     return std::string(desc, desc_len);
3576   }
lldb_SBTarget___repr__(lldb::SBTarget * self)3577 SWIGINTERN std::string lldb_SBTarget___repr__(lldb::SBTarget *self){
3578     lldb::SBStream stream;
3579     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3580     const char *desc = stream.GetData();
3581     size_t desc_len = stream.GetSize();
3582     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3583       --desc_len;
3584     }
3585     return std::string(desc, desc_len);
3586   }
lldb_SBThread___repr__(lldb::SBThread * self)3587 SWIGINTERN std::string lldb_SBThread___repr__(lldb::SBThread *self){
3588     lldb::SBStream stream;
3589     self->GetDescription (stream);
3590     const char *desc = stream.GetData();
3591     size_t desc_len = stream.GetSize();
3592     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3593       --desc_len;
3594     }
3595     return std::string(desc, desc_len);
3596   }
lldb_SBTypeMember___repr__(lldb::SBTypeMember * self)3597 SWIGINTERN std::string lldb_SBTypeMember___repr__(lldb::SBTypeMember *self){
3598     lldb::SBStream stream;
3599     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3600     const char *desc = stream.GetData();
3601     size_t desc_len = stream.GetSize();
3602     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3603       --desc_len;
3604     }
3605     return std::string(desc, desc_len);
3606   }
lldb_SBTypeMemberFunction___repr__(lldb::SBTypeMemberFunction * self)3607 SWIGINTERN std::string lldb_SBTypeMemberFunction___repr__(lldb::SBTypeMemberFunction *self){
3608     lldb::SBStream stream;
3609     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3610     const char *desc = stream.GetData();
3611     size_t desc_len = stream.GetSize();
3612     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3613       --desc_len;
3614     }
3615     return std::string(desc, desc_len);
3616   }
lldb_SBType___repr__(lldb::SBType * self)3617 SWIGINTERN std::string lldb_SBType___repr__(lldb::SBType *self){
3618     lldb::SBStream stream;
3619     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3620     const char *desc = stream.GetData();
3621     size_t desc_len = stream.GetSize();
3622     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3623       --desc_len;
3624     }
3625     return std::string(desc, desc_len);
3626   }
lldb_SBTypeCategory___repr__(lldb::SBTypeCategory * self)3627 SWIGINTERN std::string lldb_SBTypeCategory___repr__(lldb::SBTypeCategory *self){
3628     lldb::SBStream stream;
3629     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3630     const char *desc = stream.GetData();
3631     size_t desc_len = stream.GetSize();
3632     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3633       --desc_len;
3634     }
3635     return std::string(desc, desc_len);
3636   }
lldb_SBTypeEnumMember___repr__(lldb::SBTypeEnumMember * self)3637 SWIGINTERN std::string lldb_SBTypeEnumMember___repr__(lldb::SBTypeEnumMember *self){
3638     lldb::SBStream stream;
3639     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3640     const char *desc = stream.GetData();
3641     size_t desc_len = stream.GetSize();
3642     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3643       --desc_len;
3644     }
3645     return std::string(desc, desc_len);
3646   }
lldb_SBTypeFilter___repr__(lldb::SBTypeFilter * self)3647 SWIGINTERN std::string lldb_SBTypeFilter___repr__(lldb::SBTypeFilter *self){
3648     lldb::SBStream stream;
3649     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3650     const char *desc = stream.GetData();
3651     size_t desc_len = stream.GetSize();
3652     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3653       --desc_len;
3654     }
3655     return std::string(desc, desc_len);
3656   }
lldb_SBTypeFormat___repr__(lldb::SBTypeFormat * self)3657 SWIGINTERN std::string lldb_SBTypeFormat___repr__(lldb::SBTypeFormat *self){
3658     lldb::SBStream stream;
3659     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3660     const char *desc = stream.GetData();
3661     size_t desc_len = stream.GetSize();
3662     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3663       --desc_len;
3664     }
3665     return std::string(desc, desc_len);
3666   }
lldb_SBTypeNameSpecifier___repr__(lldb::SBTypeNameSpecifier * self)3667 SWIGINTERN std::string lldb_SBTypeNameSpecifier___repr__(lldb::SBTypeNameSpecifier *self){
3668     lldb::SBStream stream;
3669     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3670     const char *desc = stream.GetData();
3671     size_t desc_len = stream.GetSize();
3672     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3673       --desc_len;
3674     }
3675     return std::string(desc, desc_len);
3676   }
lldb_SBTypeSummary___repr__(lldb::SBTypeSummary * self)3677 SWIGINTERN std::string lldb_SBTypeSummary___repr__(lldb::SBTypeSummary *self){
3678     lldb::SBStream stream;
3679     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3680     const char *desc = stream.GetData();
3681     size_t desc_len = stream.GetSize();
3682     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3683       --desc_len;
3684     }
3685     return std::string(desc, desc_len);
3686   }
lldb_SBTypeSynthetic___repr__(lldb::SBTypeSynthetic * self)3687 SWIGINTERN std::string lldb_SBTypeSynthetic___repr__(lldb::SBTypeSynthetic *self){
3688     lldb::SBStream stream;
3689     self->GetDescription (stream, lldb::eDescriptionLevelBrief);
3690     const char *desc = stream.GetData();
3691     size_t desc_len = stream.GetSize();
3692     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3693       --desc_len;
3694     }
3695     return std::string(desc, desc_len);
3696   }
lldb_SBValue___repr__(lldb::SBValue * self)3697 SWIGINTERN std::string lldb_SBValue___repr__(lldb::SBValue *self){
3698     lldb::SBStream stream;
3699     self->GetDescription (stream);
3700     const char *desc = stream.GetData();
3701     size_t desc_len = stream.GetSize();
3702     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3703       --desc_len;
3704     }
3705     return std::string(desc, desc_len);
3706   }
lldb_SBValueList___str__(lldb::SBValueList * self)3707 SWIGINTERN std::string lldb_SBValueList___str__(lldb::SBValueList *self){
3708            lldb::SBStream description;
3709            const size_t n = self->GetSize();
3710            if (n)
3711            {
3712                for (size_t i=0; i<n; ++i)
3713                    self->GetValueAtIndex(i).GetDescription(description);
3714            }
3715            else
3716            {
3717                description.Printf("<empty> lldb.SBValueList()");
3718            }
3719            const char *desc = description.GetData();
3720            size_t desc_len = description.GetSize();
3721            if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r'))
3722                --desc_len;
3723            return std::string(desc, desc_len);
3724        }
lldb_SBWatchpoint___repr__(lldb::SBWatchpoint * self)3725 SWIGINTERN std::string lldb_SBWatchpoint___repr__(lldb::SBWatchpoint *self){
3726     lldb::SBStream stream;
3727     self->GetDescription (stream, lldb::eDescriptionLevelVerbose);
3728     const char *desc = stream.GetData();
3729     size_t desc_len = stream.GetSize();
3730     if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) {
3731       --desc_len;
3732     }
3733     return std::string(desc, desc_len);
3734   }
3735 
3736 
3737 template <typename T> void PushSBClass(lua_State * L, T * obj);
3738 
3739 // This function is called from Lua::CallBreakpointCallback
3740 llvm::Expected<bool>
LLDBSwigLuaBreakpointCallbackFunction(lua_State * L,lldb::StackFrameSP stop_frame_sp,lldb::BreakpointLocationSP bp_loc_sp,const StructuredDataImpl & extra_args_impl)3741 lldb_private::lua::SWIGBridge::LLDBSwigLuaBreakpointCallbackFunction(
3742     lua_State * L, lldb::StackFrameSP stop_frame_sp,
3743     lldb::BreakpointLocationSP bp_loc_sp,
3744     const StructuredDataImpl &extra_args_impl) {
3745   lldb::SBFrame sb_frame(stop_frame_sp);
3746   lldb::SBBreakpointLocation sb_bp_loc(bp_loc_sp);
3747   int nargs = 2;
3748 
3749   lldb::SBStructuredData extra_args(extra_args_impl);
3750 
3751   // Push the Lua wrappers
3752   PushSBClass(L, &sb_frame);
3753   PushSBClass(L, &sb_bp_loc);
3754 
3755   if (extra_args.IsValid()) {
3756     PushSBClass(L, &extra_args);
3757     nargs++;
3758   }
3759 
3760   // Call into the Lua callback passing 'sb_frame' and 'sb_bp_loc'.
3761   // Expects a boolean return.
3762   if (lua_pcall(L, nargs, 1, 0) != LUA_OK) {
3763     llvm::Error E = llvm::make_error<llvm::StringError>(
3764         llvm::formatv("{0}\n", lua_tostring(L, -1)),
3765         llvm::inconvertibleErrorCode());
3766     // Pop error message from the stack.
3767     lua_pop(L, 1);
3768     return std::move(E);
3769   }
3770 
3771   // Boolean return from the callback
3772   bool stop = lua_toboolean(L, -1);
3773   lua_pop(L, 1);
3774 
3775   return stop;
3776 }
3777 
3778 // This function is called from Lua::CallWatchpointCallback
3779 llvm::Expected<bool>
LLDBSwigLuaWatchpointCallbackFunction(lua_State * L,lldb::StackFrameSP stop_frame_sp,lldb::WatchpointSP wp_sp)3780 lldb_private::lua::SWIGBridge::LLDBSwigLuaWatchpointCallbackFunction(
3781     lua_State * L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) {
3782   lldb::SBFrame sb_frame(stop_frame_sp);
3783   lldb::SBWatchpoint sb_wp(wp_sp);
3784   int nargs = 2;
3785 
3786   // Push the Lua wrappers
3787   PushSBClass(L, &sb_frame);
3788   PushSBClass(L, &sb_wp);
3789 
3790   // Call into the Lua callback passing 'sb_frame' and 'sb_wp'.
3791   // Expects a boolean return.
3792   if (lua_pcall(L, nargs, 1, 0) != LUA_OK) {
3793     llvm::Error E = llvm::make_error<llvm::StringError>(
3794         llvm::formatv("{0}\n", lua_tostring(L, -1)),
3795         llvm::inconvertibleErrorCode());
3796     // Pop error message from the stack.
3797     lua_pop(L, 1);
3798     return std::move(E);
3799   }
3800 
3801   // Boolean return from the callback
3802   bool stop = lua_toboolean(L, -1);
3803   lua_pop(L, 1);
3804 
3805   return stop;
3806 }
3807 
LLDBSwigLuaCallLuaLogOutputCallback(const char * str,void * baton)3808 static void LLDBSwigLuaCallLuaLogOutputCallback(const char *str, void *baton) {
3809   lua_State *L = (lua_State *)baton;
3810 
3811   lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback);
3812   lua_gettable(L, LUA_REGISTRYINDEX);
3813 
3814   // FIXME: There's no way to report errors back to the user
3815   lua_pushstring(L, str);
3816   lua_pcall(L, 1, 0, 0);
3817 }
3818 
LLDBSwigLuaCloseFileHandle(lua_State * L)3819 static int LLDBSwigLuaCloseFileHandle(lua_State * L) {
3820   return luaL_error(L, "You cannot close a file handle used by lldb.");
3821 }
3822 
3823 
3824 #ifdef __cplusplus
3825 extern "C" {
3826 #endif
_wrap_new_string__SWIG_0(lua_State * L)3827 static int _wrap_new_string__SWIG_0(lua_State* L) {
3828   {
3829     int SWIG_arg = 0;
3830     std::string *result = 0 ;
3831 
3832     SWIG_check_num_args("std::string::string",0,0)
3833     result = (std::string *)new std::string();
3834     SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++;
3835     return SWIG_arg;
3836 
3837     fail: SWIGUNUSED;
3838   }
3839   lua_error(L);
3840   return 0;
3841 }
3842 
3843 
_wrap_new_string__SWIG_1(lua_State * L)3844 static int _wrap_new_string__SWIG_1(lua_State* L) {
3845   {
3846     int SWIG_arg = 0;
3847     char *arg1 = (char *) 0 ;
3848     std::string *result = 0 ;
3849 
3850     SWIG_check_num_args("std::string::string",1,1)
3851     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("std::string::string",1,"char const *");
3852     arg1 = (char *)lua_tostring(L, 1);
3853     result = (std::string *)new std::string((char const *)arg1);
3854     SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++;
3855     return SWIG_arg;
3856 
3857     fail: SWIGUNUSED;
3858   }
3859   lua_error(L);
3860   return 0;
3861 }
3862 
3863 
_wrap_new_string(lua_State * L)3864 static int _wrap_new_string(lua_State* L) {
3865   int argc;
3866   int argv[2]={
3867     1,2
3868   };
3869 
3870   argc = lua_gettop(L);
3871   if (argc == 0) {
3872     return _wrap_new_string__SWIG_0(L);
3873   }
3874   if (argc == 1) {
3875     int _v = 0;
3876     {
3877       _v = SWIG_lua_isnilstring(L,argv[0]);
3878     }
3879     if (_v) {
3880       return _wrap_new_string__SWIG_1(L);
3881     }
3882   }
3883 
3884   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_string'\n"
3885     "  Possible C/C++ prototypes are:\n"
3886     "    std::string::string()\n"
3887     "    std::string::string(char const *)\n");
3888   lua_error(L);return 0;
3889 }
3890 
3891 
_wrap_string_size(lua_State * L)3892 static int _wrap_string_size(lua_State* L) {
3893   {
3894     int SWIG_arg = 0;
3895     std::string *arg1 = (std::string *) 0 ;
3896     unsigned int result;
3897 
3898     SWIG_check_num_args("std::string::size",1,1)
3899     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::size",1,"std::string const *");
3900 
3901     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
3902       SWIG_fail_ptr("string_size",1,SWIGTYPE_p_std__string);
3903     }
3904 
3905     result = (unsigned int)((std::string const *)arg1)->size();
3906     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3907     return SWIG_arg;
3908 
3909     fail: SWIGUNUSED;
3910   }
3911   lua_error(L);
3912   return 0;
3913 }
3914 
3915 
_wrap_string_length(lua_State * L)3916 static int _wrap_string_length(lua_State* L) {
3917   {
3918     int SWIG_arg = 0;
3919     std::string *arg1 = (std::string *) 0 ;
3920     unsigned int result;
3921 
3922     SWIG_check_num_args("std::string::length",1,1)
3923     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::length",1,"std::string const *");
3924 
3925     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
3926       SWIG_fail_ptr("string_length",1,SWIGTYPE_p_std__string);
3927     }
3928 
3929     result = (unsigned int)((std::string const *)arg1)->length();
3930     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3931     return SWIG_arg;
3932 
3933     fail: SWIGUNUSED;
3934   }
3935   lua_error(L);
3936   return 0;
3937 }
3938 
3939 
_wrap_string_empty(lua_State * L)3940 static int _wrap_string_empty(lua_State* L) {
3941   {
3942     int SWIG_arg = 0;
3943     std::string *arg1 = (std::string *) 0 ;
3944     bool result;
3945 
3946     SWIG_check_num_args("std::string::empty",1,1)
3947     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::empty",1,"std::string const *");
3948 
3949     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
3950       SWIG_fail_ptr("string_empty",1,SWIGTYPE_p_std__string);
3951     }
3952 
3953     result = (bool)((std::string const *)arg1)->empty();
3954     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
3955     return SWIG_arg;
3956 
3957     fail: SWIGUNUSED;
3958   }
3959   lua_error(L);
3960   return 0;
3961 }
3962 
3963 
_wrap_string_c_str(lua_State * L)3964 static int _wrap_string_c_str(lua_State* L) {
3965   {
3966     int SWIG_arg = 0;
3967     std::string *arg1 = (std::string *) 0 ;
3968     char *result = 0 ;
3969 
3970     SWIG_check_num_args("std::string::c_str",1,1)
3971     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::c_str",1,"std::string const *");
3972 
3973     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
3974       SWIG_fail_ptr("string_c_str",1,SWIGTYPE_p_std__string);
3975     }
3976 
3977     result = (char *)((std::string const *)arg1)->c_str();
3978     lua_pushstring(L,(const char *)result); SWIG_arg++;
3979     return SWIG_arg;
3980 
3981     fail: SWIGUNUSED;
3982   }
3983   lua_error(L);
3984   return 0;
3985 }
3986 
3987 
_wrap_string_data(lua_State * L)3988 static int _wrap_string_data(lua_State* L) {
3989   {
3990     int SWIG_arg = 0;
3991     std::string *arg1 = (std::string *) 0 ;
3992     char *result = 0 ;
3993 
3994     SWIG_check_num_args("std::string::data",1,1)
3995     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::data",1,"std::string const *");
3996 
3997     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
3998       SWIG_fail_ptr("string_data",1,SWIGTYPE_p_std__string);
3999     }
4000 
4001     result = (char *)((std::string const *)arg1)->data();
4002     lua_pushstring(L,(const char *)result); SWIG_arg++;
4003     return SWIG_arg;
4004 
4005     fail: SWIGUNUSED;
4006   }
4007   lua_error(L);
4008   return 0;
4009 }
4010 
4011 
_wrap_string_assign(lua_State * L)4012 static int _wrap_string_assign(lua_State* L) {
4013   {
4014     int SWIG_arg = 0;
4015     std::string *arg1 = (std::string *) 0 ;
4016     char *arg2 = (char *) 0 ;
4017 
4018     SWIG_check_num_args("std::string::assign",2,2)
4019     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::assign",1,"std::string *");
4020     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("std::string::assign",2,"char const *");
4021 
4022     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
4023       SWIG_fail_ptr("string_assign",1,SWIGTYPE_p_std__string);
4024     }
4025 
4026     arg2 = (char *)lua_tostring(L, 2);
4027     (arg1)->assign((char const *)arg2);
4028 
4029     return SWIG_arg;
4030 
4031     fail: SWIGUNUSED;
4032   }
4033   lua_error(L);
4034   return 0;
4035 }
4036 
4037 
swig_delete_string(void * obj)4038 static void swig_delete_string(void *obj) {
4039 std::string *arg1 = (std::string *) obj;
4040 delete arg1;
4041 }
_proxy__wrap_new_string(lua_State * L)4042 static int _proxy__wrap_new_string(lua_State *L) {
4043     assert(lua_istable(L,1));
4044     lua_pushcfunction(L,_wrap_new_string);
4045     assert(!lua_isnil(L,-1));
4046     lua_replace(L,1); /* replace our table with real constructor */
4047     lua_call(L,lua_gettop(L)-1,1);
4048     return 1;
4049 }
4050 static swig_lua_attribute swig_string_attributes[] = {
4051     {0,0,0}
4052 };
4053 static swig_lua_method swig_string_methods[]= {
4054     { "size", _wrap_string_size},
4055     { "length", _wrap_string_length},
4056     { "empty", _wrap_string_empty},
4057     { "c_str", _wrap_string_c_str},
4058     { "data", _wrap_string_data},
4059     { "assign", _wrap_string_assign},
4060     {0,0}
4061 };
4062 static swig_lua_method swig_string_meta[] = {
4063     {0,0}
4064 };
4065 
4066 static swig_lua_attribute swig_string_Sf_SwigStatic_attributes[] = {
4067     {0,0,0}
4068 };
4069 static swig_lua_const_info swig_string_Sf_SwigStatic_constants[]= {
4070     {0,0,0,0,0,0}
4071 };
4072 static swig_lua_method swig_string_Sf_SwigStatic_methods[]= {
4073     {0,0}
4074 };
4075 static swig_lua_class* swig_string_Sf_SwigStatic_classes[]= {
4076     0
4077 };
4078 
4079 static swig_lua_namespace swig_string_Sf_SwigStatic = {
4080     "string",
4081     swig_string_Sf_SwigStatic_methods,
4082     swig_string_Sf_SwigStatic_attributes,
4083     swig_string_Sf_SwigStatic_constants,
4084     swig_string_Sf_SwigStatic_classes,
4085     0
4086 };
4087 static swig_lua_class *swig_string_bases[] = {0};
4088 static const char *swig_string_base_names[] = {0};
4089 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 };
4090 
_wrap_new_SBAddress__SWIG_0(lua_State * L)4091 static int _wrap_new_SBAddress__SWIG_0(lua_State* L) {
4092   {
4093     int SWIG_arg = 0;
4094     lldb::SBAddress *result = 0 ;
4095 
4096     SWIG_check_num_args("lldb::SBAddress::SBAddress",0,0)
4097     result = (lldb::SBAddress *)new lldb::SBAddress();
4098     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
4099     return SWIG_arg;
4100 
4101     fail: SWIGUNUSED;
4102   }
4103   lua_error(L);
4104   return 0;
4105 }
4106 
4107 
_wrap_new_SBAddress__SWIG_1(lua_State * L)4108 static int _wrap_new_SBAddress__SWIG_1(lua_State* L) {
4109   {
4110     int SWIG_arg = 0;
4111     lldb::SBAddress *arg1 = 0 ;
4112     lldb::SBAddress *result = 0 ;
4113 
4114     SWIG_check_num_args("lldb::SBAddress::SBAddress",1,1)
4115     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBAddress const &");
4116 
4117     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4118       SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBAddress);
4119     }
4120 
4121     result = (lldb::SBAddress *)new lldb::SBAddress((lldb::SBAddress const &)*arg1);
4122     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
4123     return SWIG_arg;
4124 
4125     fail: SWIGUNUSED;
4126   }
4127   lua_error(L);
4128   return 0;
4129 }
4130 
4131 
_wrap_new_SBAddress__SWIG_2(lua_State * L)4132 static int _wrap_new_SBAddress__SWIG_2(lua_State* L) {
4133   {
4134     int SWIG_arg = 0;
4135     lldb::SBSection arg1 ;
4136     lldb::addr_t arg2 ;
4137     lldb::SBSection *argp1 ;
4138     lldb::SBAddress *result = 0 ;
4139 
4140     SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2)
4141     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::SBSection");
4142     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::addr_t");
4143 
4144     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBSection,0))){
4145       SWIG_fail_ptr("new_SBAddress",1,SWIGTYPE_p_lldb__SBSection);
4146     }
4147     arg1 = *argp1;
4148 
4149     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
4150     result = (lldb::SBAddress *)new lldb::SBAddress(arg1,arg2);
4151     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
4152     return SWIG_arg;
4153 
4154     fail: SWIGUNUSED;
4155   }
4156   lua_error(L);
4157   return 0;
4158 }
4159 
4160 
_wrap_new_SBAddress__SWIG_3(lua_State * L)4161 static int _wrap_new_SBAddress__SWIG_3(lua_State* L) {
4162   {
4163     int SWIG_arg = 0;
4164     lldb::addr_t arg1 ;
4165     lldb::SBTarget *arg2 = 0 ;
4166     lldb::SBAddress *result = 0 ;
4167 
4168     SWIG_check_num_args("lldb::SBAddress::SBAddress",2,2)
4169     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAddress::SBAddress",1,"lldb::addr_t");
4170     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SBAddress",2,"lldb::SBTarget &");
4171     arg1 = (lldb::addr_t)lua_tointeger(L, 1);
4172 
4173     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
4174       SWIG_fail_ptr("new_SBAddress",2,SWIGTYPE_p_lldb__SBTarget);
4175     }
4176 
4177     result = (lldb::SBAddress *)new lldb::SBAddress(arg1,*arg2);
4178     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
4179     return SWIG_arg;
4180 
4181     fail: SWIGUNUSED;
4182   }
4183   lua_error(L);
4184   return 0;
4185 }
4186 
4187 
_wrap_new_SBAddress(lua_State * L)4188 static int _wrap_new_SBAddress(lua_State* L) {
4189   int argc;
4190   int argv[3]={
4191     1,2,3
4192   };
4193 
4194   argc = lua_gettop(L);
4195   if (argc == 0) {
4196     return _wrap_new_SBAddress__SWIG_0(L);
4197   }
4198   if (argc == 1) {
4199     int _v = 0;
4200     {
4201       void *ptr;
4202       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
4203         _v = 0;
4204       } else {
4205         _v = 1;
4206       }
4207     }
4208     if (_v) {
4209       return _wrap_new_SBAddress__SWIG_1(L);
4210     }
4211   }
4212   if (argc == 2) {
4213     int _v = 0;
4214     {
4215       void *ptr;
4216       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) {
4217         _v = 0;
4218       } else {
4219         _v = 1;
4220       }
4221     }
4222     if (_v) {
4223       {
4224         _v = lua_isnumber(L,argv[1]);
4225       }
4226       if (_v) {
4227         return _wrap_new_SBAddress__SWIG_2(L);
4228       }
4229     }
4230   }
4231   if (argc == 2) {
4232     int _v = 0;
4233     {
4234       _v = lua_isnumber(L,argv[0]);
4235     }
4236     if (_v) {
4237       {
4238         void *ptr;
4239         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
4240           _v = 0;
4241         } else {
4242           _v = 1;
4243         }
4244       }
4245       if (_v) {
4246         return _wrap_new_SBAddress__SWIG_3(L);
4247       }
4248     }
4249   }
4250 
4251   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBAddress'\n"
4252     "  Possible C/C++ prototypes are:\n"
4253     "    lldb::SBAddress::SBAddress()\n"
4254     "    lldb::SBAddress::SBAddress(lldb::SBAddress const &)\n"
4255     "    lldb::SBAddress::SBAddress(lldb::SBSection,lldb::addr_t)\n"
4256     "    lldb::SBAddress::SBAddress(lldb::addr_t,lldb::SBTarget &)\n");
4257   lua_error(L);return 0;
4258 }
4259 
4260 
_wrap_SBAddress_IsValid(lua_State * L)4261 static int _wrap_SBAddress_IsValid(lua_State* L) {
4262   {
4263     int SWIG_arg = 0;
4264     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4265     bool result;
4266 
4267     SWIG_check_num_args("lldb::SBAddress::IsValid",1,1)
4268     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::IsValid",1,"lldb::SBAddress const *");
4269 
4270     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4271       SWIG_fail_ptr("SBAddress_IsValid",1,SWIGTYPE_p_lldb__SBAddress);
4272     }
4273 
4274     result = (bool)((lldb::SBAddress const *)arg1)->IsValid();
4275     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4276     return SWIG_arg;
4277 
4278     fail: SWIGUNUSED;
4279   }
4280   lua_error(L);
4281   return 0;
4282 }
4283 
4284 
_wrap_SBAddress_Clear(lua_State * L)4285 static int _wrap_SBAddress_Clear(lua_State* L) {
4286   {
4287     int SWIG_arg = 0;
4288     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4289 
4290     SWIG_check_num_args("lldb::SBAddress::Clear",1,1)
4291     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::Clear",1,"lldb::SBAddress *");
4292 
4293     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4294       SWIG_fail_ptr("SBAddress_Clear",1,SWIGTYPE_p_lldb__SBAddress);
4295     }
4296 
4297     (arg1)->Clear();
4298 
4299     return SWIG_arg;
4300 
4301     fail: SWIGUNUSED;
4302   }
4303   lua_error(L);
4304   return 0;
4305 }
4306 
4307 
_wrap_SBAddress_GetFileAddress(lua_State * L)4308 static int _wrap_SBAddress_GetFileAddress(lua_State* L) {
4309   {
4310     int SWIG_arg = 0;
4311     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4312     lldb::addr_t result;
4313 
4314     SWIG_check_num_args("lldb::SBAddress::GetFileAddress",1,1)
4315     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFileAddress",1,"lldb::SBAddress const *");
4316 
4317     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4318       SWIG_fail_ptr("SBAddress_GetFileAddress",1,SWIGTYPE_p_lldb__SBAddress);
4319     }
4320 
4321     result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetFileAddress();
4322     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
4323     return SWIG_arg;
4324 
4325     fail: SWIGUNUSED;
4326   }
4327   lua_error(L);
4328   return 0;
4329 }
4330 
4331 
_wrap_SBAddress_GetLoadAddress(lua_State * L)4332 static int _wrap_SBAddress_GetLoadAddress(lua_State* L) {
4333   {
4334     int SWIG_arg = 0;
4335     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4336     lldb::SBTarget *arg2 = 0 ;
4337     lldb::addr_t result;
4338 
4339     SWIG_check_num_args("lldb::SBAddress::GetLoadAddress",2,2)
4340     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",1,"lldb::SBAddress const *");
4341     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetLoadAddress",2,"lldb::SBTarget const &");
4342 
4343     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4344       SWIG_fail_ptr("SBAddress_GetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress);
4345     }
4346 
4347 
4348     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
4349       SWIG_fail_ptr("SBAddress_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget);
4350     }
4351 
4352     result = (lldb::addr_t)((lldb::SBAddress const *)arg1)->GetLoadAddress((lldb::SBTarget const &)*arg2);
4353     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
4354     return SWIG_arg;
4355 
4356     fail: SWIGUNUSED;
4357   }
4358   lua_error(L);
4359   return 0;
4360 }
4361 
4362 
_wrap_SBAddress_SetAddress(lua_State * L)4363 static int _wrap_SBAddress_SetAddress(lua_State* L) {
4364   {
4365     int SWIG_arg = 0;
4366     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4367     lldb::SBSection arg2 ;
4368     lldb::addr_t arg3 ;
4369     lldb::SBSection *argp2 ;
4370 
4371     SWIG_check_num_args("lldb::SBAddress::SetAddress",3,3)
4372     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetAddress",1,"lldb::SBAddress *");
4373     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::SetAddress",2,"lldb::SBSection");
4374     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBAddress::SetAddress",3,"lldb::addr_t");
4375 
4376     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4377       SWIG_fail_ptr("SBAddress_SetAddress",1,SWIGTYPE_p_lldb__SBAddress);
4378     }
4379 
4380 
4381     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){
4382       SWIG_fail_ptr("SBAddress_SetAddress",2,SWIGTYPE_p_lldb__SBSection);
4383     }
4384     arg2 = *argp2;
4385 
4386     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
4387     (arg1)->SetAddress(arg2,arg3);
4388 
4389     return SWIG_arg;
4390 
4391     fail: SWIGUNUSED;
4392   }
4393   lua_error(L);
4394   return 0;
4395 }
4396 
4397 
_wrap_SBAddress_SetLoadAddress(lua_State * L)4398 static int _wrap_SBAddress_SetLoadAddress(lua_State* L) {
4399   {
4400     int SWIG_arg = 0;
4401     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4402     lldb::addr_t arg2 ;
4403     lldb::SBTarget *arg3 = 0 ;
4404 
4405     SWIG_check_num_args("lldb::SBAddress::SetLoadAddress",3,3)
4406     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",1,"lldb::SBAddress *");
4407     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",2,"lldb::addr_t");
4408     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBAddress::SetLoadAddress",3,"lldb::SBTarget &");
4409 
4410     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4411       SWIG_fail_ptr("SBAddress_SetLoadAddress",1,SWIGTYPE_p_lldb__SBAddress);
4412     }
4413 
4414     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
4415 
4416     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTarget,0))){
4417       SWIG_fail_ptr("SBAddress_SetLoadAddress",3,SWIGTYPE_p_lldb__SBTarget);
4418     }
4419 
4420     (arg1)->SetLoadAddress(arg2,*arg3);
4421 
4422     return SWIG_arg;
4423 
4424     fail: SWIGUNUSED;
4425   }
4426   lua_error(L);
4427   return 0;
4428 }
4429 
4430 
_wrap_SBAddress_OffsetAddress(lua_State * L)4431 static int _wrap_SBAddress_OffsetAddress(lua_State* L) {
4432   {
4433     int SWIG_arg = 0;
4434     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4435     lldb::addr_t arg2 ;
4436     bool result;
4437 
4438     SWIG_check_num_args("lldb::SBAddress::OffsetAddress",2,2)
4439     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",1,"lldb::SBAddress *");
4440     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::OffsetAddress",2,"lldb::addr_t");
4441 
4442     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4443       SWIG_fail_ptr("SBAddress_OffsetAddress",1,SWIGTYPE_p_lldb__SBAddress);
4444     }
4445 
4446     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
4447     result = (bool)(arg1)->OffsetAddress(arg2);
4448     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4449     return SWIG_arg;
4450 
4451     fail: SWIGUNUSED;
4452   }
4453   lua_error(L);
4454   return 0;
4455 }
4456 
4457 
_wrap_SBAddress_GetDescription(lua_State * L)4458 static int _wrap_SBAddress_GetDescription(lua_State* L) {
4459   {
4460     int SWIG_arg = 0;
4461     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4462     lldb::SBStream *arg2 = 0 ;
4463     bool result;
4464 
4465     SWIG_check_num_args("lldb::SBAddress::GetDescription",2,2)
4466     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetDescription",1,"lldb::SBAddress *");
4467     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAddress::GetDescription",2,"lldb::SBStream &");
4468 
4469     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4470       SWIG_fail_ptr("SBAddress_GetDescription",1,SWIGTYPE_p_lldb__SBAddress);
4471     }
4472 
4473 
4474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
4475       SWIG_fail_ptr("SBAddress_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
4476     }
4477 
4478     result = (bool)(arg1)->GetDescription(*arg2);
4479     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4480     return SWIG_arg;
4481 
4482     fail: SWIGUNUSED;
4483   }
4484   lua_error(L);
4485   return 0;
4486 }
4487 
4488 
_wrap_SBAddress_GetSymbolContext(lua_State * L)4489 static int _wrap_SBAddress_GetSymbolContext(lua_State* L) {
4490   {
4491     int SWIG_arg = 0;
4492     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4493     uint32_t arg2 ;
4494     lldb::SBSymbolContext result;
4495 
4496     SWIG_check_num_args("lldb::SBAddress::GetSymbolContext",2,2)
4497     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",1,"lldb::SBAddress *");
4498     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAddress::GetSymbolContext",2,"uint32_t");
4499 
4500     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4501       SWIG_fail_ptr("SBAddress_GetSymbolContext",1,SWIGTYPE_p_lldb__SBAddress);
4502     }
4503 
4504     arg2 = (uint32_t)lua_tointeger(L, 2);
4505     result = (arg1)->GetSymbolContext(arg2);
4506     {
4507       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
4508       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
4509     }
4510     return SWIG_arg;
4511 
4512     fail: SWIGUNUSED;
4513   }
4514   lua_error(L);
4515   return 0;
4516 }
4517 
4518 
_wrap_SBAddress_GetSection(lua_State * L)4519 static int _wrap_SBAddress_GetSection(lua_State* L) {
4520   {
4521     int SWIG_arg = 0;
4522     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4523     lldb::SBSection result;
4524 
4525     SWIG_check_num_args("lldb::SBAddress::GetSection",1,1)
4526     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSection",1,"lldb::SBAddress *");
4527 
4528     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4529       SWIG_fail_ptr("SBAddress_GetSection",1,SWIGTYPE_p_lldb__SBAddress);
4530     }
4531 
4532     result = (arg1)->GetSection();
4533     {
4534       lldb::SBSection * resultptr = new lldb::SBSection(result);
4535       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
4536     }
4537     return SWIG_arg;
4538 
4539     fail: SWIGUNUSED;
4540   }
4541   lua_error(L);
4542   return 0;
4543 }
4544 
4545 
_wrap_SBAddress_GetOffset(lua_State * L)4546 static int _wrap_SBAddress_GetOffset(lua_State* L) {
4547   {
4548     int SWIG_arg = 0;
4549     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4550     lldb::addr_t result;
4551 
4552     SWIG_check_num_args("lldb::SBAddress::GetOffset",1,1)
4553     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetOffset",1,"lldb::SBAddress *");
4554 
4555     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4556       SWIG_fail_ptr("SBAddress_GetOffset",1,SWIGTYPE_p_lldb__SBAddress);
4557     }
4558 
4559     result = (lldb::addr_t)(arg1)->GetOffset();
4560     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
4561     return SWIG_arg;
4562 
4563     fail: SWIGUNUSED;
4564   }
4565   lua_error(L);
4566   return 0;
4567 }
4568 
4569 
_wrap_SBAddress_GetModule(lua_State * L)4570 static int _wrap_SBAddress_GetModule(lua_State* L) {
4571   {
4572     int SWIG_arg = 0;
4573     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4574     lldb::SBModule result;
4575 
4576     SWIG_check_num_args("lldb::SBAddress::GetModule",1,1)
4577     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetModule",1,"lldb::SBAddress *");
4578 
4579     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4580       SWIG_fail_ptr("SBAddress_GetModule",1,SWIGTYPE_p_lldb__SBAddress);
4581     }
4582 
4583     result = (arg1)->GetModule();
4584     {
4585       lldb::SBModule * resultptr = new lldb::SBModule(result);
4586       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
4587     }
4588     return SWIG_arg;
4589 
4590     fail: SWIGUNUSED;
4591   }
4592   lua_error(L);
4593   return 0;
4594 }
4595 
4596 
_wrap_SBAddress_GetCompileUnit(lua_State * L)4597 static int _wrap_SBAddress_GetCompileUnit(lua_State* L) {
4598   {
4599     int SWIG_arg = 0;
4600     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4601     lldb::SBCompileUnit result;
4602 
4603     SWIG_check_num_args("lldb::SBAddress::GetCompileUnit",1,1)
4604     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetCompileUnit",1,"lldb::SBAddress *");
4605 
4606     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4607       SWIG_fail_ptr("SBAddress_GetCompileUnit",1,SWIGTYPE_p_lldb__SBAddress);
4608     }
4609 
4610     result = (arg1)->GetCompileUnit();
4611     {
4612       lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result);
4613       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
4614     }
4615     return SWIG_arg;
4616 
4617     fail: SWIGUNUSED;
4618   }
4619   lua_error(L);
4620   return 0;
4621 }
4622 
4623 
_wrap_SBAddress_GetFunction(lua_State * L)4624 static int _wrap_SBAddress_GetFunction(lua_State* L) {
4625   {
4626     int SWIG_arg = 0;
4627     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4628     lldb::SBFunction result;
4629 
4630     SWIG_check_num_args("lldb::SBAddress::GetFunction",1,1)
4631     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetFunction",1,"lldb::SBAddress *");
4632 
4633     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4634       SWIG_fail_ptr("SBAddress_GetFunction",1,SWIGTYPE_p_lldb__SBAddress);
4635     }
4636 
4637     result = (arg1)->GetFunction();
4638     {
4639       lldb::SBFunction * resultptr = new lldb::SBFunction(result);
4640       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++;
4641     }
4642     return SWIG_arg;
4643 
4644     fail: SWIGUNUSED;
4645   }
4646   lua_error(L);
4647   return 0;
4648 }
4649 
4650 
_wrap_SBAddress_GetBlock(lua_State * L)4651 static int _wrap_SBAddress_GetBlock(lua_State* L) {
4652   {
4653     int SWIG_arg = 0;
4654     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4655     lldb::SBBlock result;
4656 
4657     SWIG_check_num_args("lldb::SBAddress::GetBlock",1,1)
4658     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetBlock",1,"lldb::SBAddress *");
4659 
4660     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4661       SWIG_fail_ptr("SBAddress_GetBlock",1,SWIGTYPE_p_lldb__SBAddress);
4662     }
4663 
4664     result = (arg1)->GetBlock();
4665     {
4666       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
4667       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
4668     }
4669     return SWIG_arg;
4670 
4671     fail: SWIGUNUSED;
4672   }
4673   lua_error(L);
4674   return 0;
4675 }
4676 
4677 
_wrap_SBAddress_GetSymbol(lua_State * L)4678 static int _wrap_SBAddress_GetSymbol(lua_State* L) {
4679   {
4680     int SWIG_arg = 0;
4681     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4682     lldb::SBSymbol result;
4683 
4684     SWIG_check_num_args("lldb::SBAddress::GetSymbol",1,1)
4685     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetSymbol",1,"lldb::SBAddress *");
4686 
4687     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4688       SWIG_fail_ptr("SBAddress_GetSymbol",1,SWIGTYPE_p_lldb__SBAddress);
4689     }
4690 
4691     result = (arg1)->GetSymbol();
4692     {
4693       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
4694       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
4695     }
4696     return SWIG_arg;
4697 
4698     fail: SWIGUNUSED;
4699   }
4700   lua_error(L);
4701   return 0;
4702 }
4703 
4704 
_wrap_SBAddress_GetLineEntry(lua_State * L)4705 static int _wrap_SBAddress_GetLineEntry(lua_State* L) {
4706   {
4707     int SWIG_arg = 0;
4708     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4709     lldb::SBLineEntry result;
4710 
4711     SWIG_check_num_args("lldb::SBAddress::GetLineEntry",1,1)
4712     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::GetLineEntry",1,"lldb::SBAddress *");
4713 
4714     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4715       SWIG_fail_ptr("SBAddress_GetLineEntry",1,SWIGTYPE_p_lldb__SBAddress);
4716     }
4717 
4718     result = (arg1)->GetLineEntry();
4719     {
4720       lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result);
4721       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
4722     }
4723     return SWIG_arg;
4724 
4725     fail: SWIGUNUSED;
4726   }
4727   lua_error(L);
4728   return 0;
4729 }
4730 
4731 
_wrap_SBAddress___tostring(lua_State * L)4732 static int _wrap_SBAddress___tostring(lua_State* L) {
4733   {
4734     int SWIG_arg = 0;
4735     lldb::SBAddress *arg1 = (lldb::SBAddress *) 0 ;
4736     std::string result;
4737 
4738     SWIG_check_num_args("lldb::SBAddress::__repr__",1,1)
4739     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAddress::__repr__",1,"lldb::SBAddress *");
4740 
4741     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAddress,0))){
4742       SWIG_fail_ptr("SBAddress___tostring",1,SWIGTYPE_p_lldb__SBAddress);
4743     }
4744 
4745     result = lldb_SBAddress___repr__(arg1);
4746     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
4747     return SWIG_arg;
4748 
4749     fail: SWIGUNUSED;
4750   }
4751   lua_error(L);
4752   return 0;
4753 }
4754 
4755 
swig_delete_SBAddress(void * obj)4756 static void swig_delete_SBAddress(void *obj) {
4757 lldb::SBAddress *arg1 = (lldb::SBAddress *) obj;
4758 delete arg1;
4759 }
_proxy__wrap_new_SBAddress(lua_State * L)4760 static int _proxy__wrap_new_SBAddress(lua_State *L) {
4761     assert(lua_istable(L,1));
4762     lua_pushcfunction(L,_wrap_new_SBAddress);
4763     assert(!lua_isnil(L,-1));
4764     lua_replace(L,1); /* replace our table with real constructor */
4765     lua_call(L,lua_gettop(L)-1,1);
4766     return 1;
4767 }
4768 static swig_lua_attribute swig_SBAddress_attributes[] = {
4769     {0,0,0}
4770 };
4771 static swig_lua_method swig_SBAddress_methods[]= {
4772     { "IsValid", _wrap_SBAddress_IsValid},
4773     { "Clear", _wrap_SBAddress_Clear},
4774     { "GetFileAddress", _wrap_SBAddress_GetFileAddress},
4775     { "GetLoadAddress", _wrap_SBAddress_GetLoadAddress},
4776     { "SetAddress", _wrap_SBAddress_SetAddress},
4777     { "SetLoadAddress", _wrap_SBAddress_SetLoadAddress},
4778     { "OffsetAddress", _wrap_SBAddress_OffsetAddress},
4779     { "GetDescription", _wrap_SBAddress_GetDescription},
4780     { "GetSymbolContext", _wrap_SBAddress_GetSymbolContext},
4781     { "GetSection", _wrap_SBAddress_GetSection},
4782     { "GetOffset", _wrap_SBAddress_GetOffset},
4783     { "GetModule", _wrap_SBAddress_GetModule},
4784     { "GetCompileUnit", _wrap_SBAddress_GetCompileUnit},
4785     { "GetFunction", _wrap_SBAddress_GetFunction},
4786     { "GetBlock", _wrap_SBAddress_GetBlock},
4787     { "GetSymbol", _wrap_SBAddress_GetSymbol},
4788     { "GetLineEntry", _wrap_SBAddress_GetLineEntry},
4789     { "__tostring", _wrap_SBAddress___tostring},
4790     {0,0}
4791 };
4792 static swig_lua_method swig_SBAddress_meta[] = {
4793     { "__tostring", _wrap_SBAddress___tostring},
4794     {0,0}
4795 };
4796 
4797 static swig_lua_attribute swig_SBAddress_Sf_SwigStatic_attributes[] = {
4798     {0,0,0}
4799 };
4800 static swig_lua_const_info swig_SBAddress_Sf_SwigStatic_constants[]= {
4801     {0,0,0,0,0,0}
4802 };
4803 static swig_lua_method swig_SBAddress_Sf_SwigStatic_methods[]= {
4804     {0,0}
4805 };
4806 static swig_lua_class* swig_SBAddress_Sf_SwigStatic_classes[]= {
4807     0
4808 };
4809 
4810 static swig_lua_namespace swig_SBAddress_Sf_SwigStatic = {
4811     "SBAddress",
4812     swig_SBAddress_Sf_SwigStatic_methods,
4813     swig_SBAddress_Sf_SwigStatic_attributes,
4814     swig_SBAddress_Sf_SwigStatic_constants,
4815     swig_SBAddress_Sf_SwigStatic_classes,
4816     0
4817 };
4818 static swig_lua_class *swig_SBAddress_bases[] = {0};
4819 static const char *swig_SBAddress_base_names[] = {0};
4820 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 };
4821 
_wrap_new_SBAttachInfo__SWIG_0(lua_State * L)4822 static int _wrap_new_SBAttachInfo__SWIG_0(lua_State* L) {
4823   {
4824     int SWIG_arg = 0;
4825     lldb::SBAttachInfo *result = 0 ;
4826 
4827     SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",0,0)
4828     result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo();
4829     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++;
4830     return SWIG_arg;
4831 
4832     fail: SWIGUNUSED;
4833   }
4834   lua_error(L);
4835   return 0;
4836 }
4837 
4838 
_wrap_new_SBAttachInfo__SWIG_1(lua_State * L)4839 static int _wrap_new_SBAttachInfo__SWIG_1(lua_State* L) {
4840   {
4841     int SWIG_arg = 0;
4842     lldb::pid_t arg1 ;
4843     lldb::SBAttachInfo *result = 0 ;
4844 
4845     SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1)
4846     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::pid_t");
4847     arg1 = (lldb::pid_t)lua_tointeger(L, 1);
4848     result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo(arg1);
4849     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++;
4850     return SWIG_arg;
4851 
4852     fail: SWIGUNUSED;
4853   }
4854   lua_error(L);
4855   return 0;
4856 }
4857 
4858 
_wrap_new_SBAttachInfo__SWIG_2(lua_State * L)4859 static int _wrap_new_SBAttachInfo__SWIG_2(lua_State* L) {
4860   {
4861     int SWIG_arg = 0;
4862     char *arg1 = (char *) 0 ;
4863     bool arg2 ;
4864     lldb::SBAttachInfo *result = 0 ;
4865 
4866     SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",2,2)
4867     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *");
4868     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool");
4869     arg1 = (char *)lua_tostring(L, 1);
4870     arg2 = (lua_toboolean(L, 2)!=0);
4871     result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2);
4872     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++;
4873     return SWIG_arg;
4874 
4875     fail: SWIGUNUSED;
4876   }
4877   lua_error(L);
4878   return 0;
4879 }
4880 
4881 
_wrap_new_SBAttachInfo__SWIG_3(lua_State * L)4882 static int _wrap_new_SBAttachInfo__SWIG_3(lua_State* L) {
4883   {
4884     int SWIG_arg = 0;
4885     char *arg1 = (char *) 0 ;
4886     bool arg2 ;
4887     bool arg3 ;
4888     lldb::SBAttachInfo *result = 0 ;
4889 
4890     SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",3,3)
4891     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"char const *");
4892     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",2,"bool");
4893     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",3,"bool");
4894     arg1 = (char *)lua_tostring(L, 1);
4895     arg2 = (lua_toboolean(L, 2)!=0);
4896     arg3 = (lua_toboolean(L, 3)!=0);
4897     result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((char const *)arg1,arg2,arg3);
4898     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++;
4899     return SWIG_arg;
4900 
4901     fail: SWIGUNUSED;
4902   }
4903   lua_error(L);
4904   return 0;
4905 }
4906 
4907 
_wrap_new_SBAttachInfo__SWIG_4(lua_State * L)4908 static int _wrap_new_SBAttachInfo__SWIG_4(lua_State* L) {
4909   {
4910     int SWIG_arg = 0;
4911     lldb::SBAttachInfo *arg1 = 0 ;
4912     lldb::SBAttachInfo *result = 0 ;
4913 
4914     SWIG_check_num_args("lldb::SBAttachInfo::SBAttachInfo",1,1)
4915     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SBAttachInfo",1,"lldb::SBAttachInfo const &");
4916 
4917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
4918       SWIG_fail_ptr("new_SBAttachInfo",1,SWIGTYPE_p_lldb__SBAttachInfo);
4919     }
4920 
4921     result = (lldb::SBAttachInfo *)new lldb::SBAttachInfo((lldb::SBAttachInfo const &)*arg1);
4922     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBAttachInfo,1); SWIG_arg++;
4923     return SWIG_arg;
4924 
4925     fail: SWIGUNUSED;
4926   }
4927   lua_error(L);
4928   return 0;
4929 }
4930 
4931 
_wrap_new_SBAttachInfo(lua_State * L)4932 static int _wrap_new_SBAttachInfo(lua_State* L) {
4933   int argc;
4934   int argv[4]={
4935     1,2,3,4
4936   };
4937 
4938   argc = lua_gettop(L);
4939   if (argc == 0) {
4940     return _wrap_new_SBAttachInfo__SWIG_0(L);
4941   }
4942   if (argc == 1) {
4943     int _v = 0;
4944     {
4945       void *ptr;
4946       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, SWIG_POINTER_NO_NULL)) {
4947         _v = 0;
4948       } else {
4949         _v = 1;
4950       }
4951     }
4952     if (_v) {
4953       return _wrap_new_SBAttachInfo__SWIG_4(L);
4954     }
4955   }
4956   if (argc == 1) {
4957     int _v = 0;
4958     {
4959       _v = lua_isnumber(L,argv[0]);
4960     }
4961     if (_v) {
4962       return _wrap_new_SBAttachInfo__SWIG_1(L);
4963     }
4964   }
4965   if (argc == 2) {
4966     int _v = 0;
4967     {
4968       _v = SWIG_lua_isnilstring(L,argv[0]);
4969     }
4970     if (_v) {
4971       {
4972         _v = lua_isboolean(L,argv[1]);
4973       }
4974       if (_v) {
4975         return _wrap_new_SBAttachInfo__SWIG_2(L);
4976       }
4977     }
4978   }
4979   if (argc == 3) {
4980     int _v = 0;
4981     {
4982       _v = SWIG_lua_isnilstring(L,argv[0]);
4983     }
4984     if (_v) {
4985       {
4986         _v = lua_isboolean(L,argv[1]);
4987       }
4988       if (_v) {
4989         {
4990           _v = lua_isboolean(L,argv[2]);
4991         }
4992         if (_v) {
4993           return _wrap_new_SBAttachInfo__SWIG_3(L);
4994         }
4995       }
4996     }
4997   }
4998 
4999   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBAttachInfo'\n"
5000     "  Possible C/C++ prototypes are:\n"
5001     "    lldb::SBAttachInfo::SBAttachInfo()\n"
5002     "    lldb::SBAttachInfo::SBAttachInfo(lldb::pid_t)\n"
5003     "    lldb::SBAttachInfo::SBAttachInfo(char const *,bool)\n"
5004     "    lldb::SBAttachInfo::SBAttachInfo(char const *,bool,bool)\n"
5005     "    lldb::SBAttachInfo::SBAttachInfo(lldb::SBAttachInfo const &)\n");
5006   lua_error(L);return 0;
5007 }
5008 
5009 
_wrap_SBAttachInfo_GetProcessID(lua_State * L)5010 static int _wrap_SBAttachInfo_GetProcessID(lua_State* L) {
5011   {
5012     int SWIG_arg = 0;
5013     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5014     lldb::pid_t result;
5015 
5016     SWIG_check_num_args("lldb::SBAttachInfo::GetProcessID",1,1)
5017     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessID",1,"lldb::SBAttachInfo *");
5018 
5019     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5020       SWIG_fail_ptr("SBAttachInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5021     }
5022 
5023     result = (lldb::pid_t)(arg1)->GetProcessID();
5024     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5025     return SWIG_arg;
5026 
5027     fail: SWIGUNUSED;
5028   }
5029   lua_error(L);
5030   return 0;
5031 }
5032 
5033 
_wrap_SBAttachInfo_SetProcessID(lua_State * L)5034 static int _wrap_SBAttachInfo_SetProcessID(lua_State* L) {
5035   {
5036     int SWIG_arg = 0;
5037     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5038     lldb::pid_t arg2 ;
5039 
5040     SWIG_check_num_args("lldb::SBAttachInfo::SetProcessID",2,2)
5041     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",1,"lldb::SBAttachInfo *");
5042     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessID",2,"lldb::pid_t");
5043 
5044     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5045       SWIG_fail_ptr("SBAttachInfo_SetProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5046     }
5047 
5048     arg2 = (lldb::pid_t)lua_tointeger(L, 2);
5049     (arg1)->SetProcessID(arg2);
5050 
5051     return SWIG_arg;
5052 
5053     fail: SWIGUNUSED;
5054   }
5055   lua_error(L);
5056   return 0;
5057 }
5058 
5059 
_wrap_SBAttachInfo_SetExecutable__SWIG_0(lua_State * L)5060 static int _wrap_SBAttachInfo_SetExecutable__SWIG_0(lua_State* L) {
5061   {
5062     int SWIG_arg = 0;
5063     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5064     char *arg2 = (char *) 0 ;
5065 
5066     SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2)
5067     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *");
5068     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"char const *");
5069 
5070     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5071       SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo);
5072     }
5073 
5074     arg2 = (char *)lua_tostring(L, 2);
5075     (arg1)->SetExecutable((char const *)arg2);
5076 
5077     return SWIG_arg;
5078 
5079     fail: SWIGUNUSED;
5080   }
5081   lua_error(L);
5082   return 0;
5083 }
5084 
5085 
_wrap_SBAttachInfo_SetExecutable__SWIG_1(lua_State * L)5086 static int _wrap_SBAttachInfo_SetExecutable__SWIG_1(lua_State* L) {
5087   {
5088     int SWIG_arg = 0;
5089     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5090     lldb::SBFileSpec arg2 ;
5091     lldb::SBFileSpec *argp2 ;
5092 
5093     SWIG_check_num_args("lldb::SBAttachInfo::SetExecutable",2,2)
5094     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",1,"lldb::SBAttachInfo *");
5095     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetExecutable",2,"lldb::SBFileSpec");
5096 
5097     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5098       SWIG_fail_ptr("SBAttachInfo_SetExecutable",1,SWIGTYPE_p_lldb__SBAttachInfo);
5099     }
5100 
5101 
5102     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){
5103       SWIG_fail_ptr("SBAttachInfo_SetExecutable",2,SWIGTYPE_p_lldb__SBFileSpec);
5104     }
5105     arg2 = *argp2;
5106 
5107     (arg1)->SetExecutable(arg2);
5108 
5109     return SWIG_arg;
5110 
5111     fail: SWIGUNUSED;
5112   }
5113   lua_error(L);
5114   return 0;
5115 }
5116 
5117 
_wrap_SBAttachInfo_SetExecutable(lua_State * L)5118 static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) {
5119   int argc;
5120   int argv[3]={
5121     1,2,3
5122   };
5123 
5124   argc = lua_gettop(L);
5125   if (argc == 2) {
5126     int _v = 0;
5127     {
5128       void *ptr;
5129       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) {
5130         _v = 0;
5131       } else {
5132         _v = 1;
5133       }
5134     }
5135     if (_v) {
5136       {
5137         void *ptr;
5138         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
5139           _v = 0;
5140         } else {
5141           _v = 1;
5142         }
5143       }
5144       if (_v) {
5145         return _wrap_SBAttachInfo_SetExecutable__SWIG_1(L);
5146       }
5147     }
5148   }
5149   if (argc == 2) {
5150     int _v = 0;
5151     {
5152       void *ptr;
5153       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) {
5154         _v = 0;
5155       } else {
5156         _v = 1;
5157       }
5158     }
5159     if (_v) {
5160       {
5161         _v = SWIG_lua_isnilstring(L,argv[1]);
5162       }
5163       if (_v) {
5164         return _wrap_SBAttachInfo_SetExecutable__SWIG_0(L);
5165       }
5166     }
5167   }
5168 
5169   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBAttachInfo_SetExecutable'\n"
5170     "  Possible C/C++ prototypes are:\n"
5171     "    lldb::SBAttachInfo::SetExecutable(char const *)\n"
5172     "    lldb::SBAttachInfo::SetExecutable(lldb::SBFileSpec)\n");
5173   lua_error(L);return 0;
5174 }
5175 
5176 
_wrap_SBAttachInfo_GetWaitForLaunch(lua_State * L)5177 static int _wrap_SBAttachInfo_GetWaitForLaunch(lua_State* L) {
5178   {
5179     int SWIG_arg = 0;
5180     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5181     bool result;
5182 
5183     SWIG_check_num_args("lldb::SBAttachInfo::GetWaitForLaunch",1,1)
5184     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetWaitForLaunch",1,"lldb::SBAttachInfo *");
5185 
5186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5187       SWIG_fail_ptr("SBAttachInfo_GetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo);
5188     }
5189 
5190     result = (bool)(arg1)->GetWaitForLaunch();
5191     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5192     return SWIG_arg;
5193 
5194     fail: SWIGUNUSED;
5195   }
5196   lua_error(L);
5197   return 0;
5198 }
5199 
5200 
_wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0(lua_State * L)5201 static int _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0(lua_State* L) {
5202   {
5203     int SWIG_arg = 0;
5204     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5205     bool arg2 ;
5206 
5207     SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",2,2)
5208     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *");
5209     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool");
5210 
5211     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5212       SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo);
5213     }
5214 
5215     arg2 = (lua_toboolean(L, 2)!=0);
5216     (arg1)->SetWaitForLaunch(arg2);
5217 
5218     return SWIG_arg;
5219 
5220     fail: SWIGUNUSED;
5221   }
5222   lua_error(L);
5223   return 0;
5224 }
5225 
5226 
_wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1(lua_State * L)5227 static int _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1(lua_State* L) {
5228   {
5229     int SWIG_arg = 0;
5230     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5231     bool arg2 ;
5232     bool arg3 ;
5233 
5234     SWIG_check_num_args("lldb::SBAttachInfo::SetWaitForLaunch",3,3)
5235     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",1,"lldb::SBAttachInfo *");
5236     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",2,"bool");
5237     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBAttachInfo::SetWaitForLaunch",3,"bool");
5238 
5239     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5240       SWIG_fail_ptr("SBAttachInfo_SetWaitForLaunch",1,SWIGTYPE_p_lldb__SBAttachInfo);
5241     }
5242 
5243     arg2 = (lua_toboolean(L, 2)!=0);
5244     arg3 = (lua_toboolean(L, 3)!=0);
5245     (arg1)->SetWaitForLaunch(arg2,arg3);
5246 
5247     return SWIG_arg;
5248 
5249     fail: SWIGUNUSED;
5250   }
5251   lua_error(L);
5252   return 0;
5253 }
5254 
5255 
_wrap_SBAttachInfo_SetWaitForLaunch(lua_State * L)5256 static int _wrap_SBAttachInfo_SetWaitForLaunch(lua_State* L) {
5257   int argc;
5258   int argv[4]={
5259     1,2,3,4
5260   };
5261 
5262   argc = lua_gettop(L);
5263   if (argc == 2) {
5264     int _v = 0;
5265     {
5266       void *ptr;
5267       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) {
5268         _v = 0;
5269       } else {
5270         _v = 1;
5271       }
5272     }
5273     if (_v) {
5274       {
5275         _v = lua_isboolean(L,argv[1]);
5276       }
5277       if (_v) {
5278         return _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0(L);
5279       }
5280     }
5281   }
5282   if (argc == 3) {
5283     int _v = 0;
5284     {
5285       void *ptr;
5286       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) {
5287         _v = 0;
5288       } else {
5289         _v = 1;
5290       }
5291     }
5292     if (_v) {
5293       {
5294         _v = lua_isboolean(L,argv[1]);
5295       }
5296       if (_v) {
5297         {
5298           _v = lua_isboolean(L,argv[2]);
5299         }
5300         if (_v) {
5301           return _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1(L);
5302         }
5303       }
5304     }
5305   }
5306 
5307   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBAttachInfo_SetWaitForLaunch'\n"
5308     "  Possible C/C++ prototypes are:\n"
5309     "    lldb::SBAttachInfo::SetWaitForLaunch(bool)\n"
5310     "    lldb::SBAttachInfo::SetWaitForLaunch(bool,bool)\n");
5311   lua_error(L);return 0;
5312 }
5313 
5314 
_wrap_SBAttachInfo_GetIgnoreExisting(lua_State * L)5315 static int _wrap_SBAttachInfo_GetIgnoreExisting(lua_State* L) {
5316   {
5317     int SWIG_arg = 0;
5318     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5319     bool result;
5320 
5321     SWIG_check_num_args("lldb::SBAttachInfo::GetIgnoreExisting",1,1)
5322     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetIgnoreExisting",1,"lldb::SBAttachInfo *");
5323 
5324     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5325       SWIG_fail_ptr("SBAttachInfo_GetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo);
5326     }
5327 
5328     result = (bool)(arg1)->GetIgnoreExisting();
5329     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5330     return SWIG_arg;
5331 
5332     fail: SWIGUNUSED;
5333   }
5334   lua_error(L);
5335   return 0;
5336 }
5337 
5338 
_wrap_SBAttachInfo_SetIgnoreExisting(lua_State * L)5339 static int _wrap_SBAttachInfo_SetIgnoreExisting(lua_State* L) {
5340   {
5341     int SWIG_arg = 0;
5342     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5343     bool arg2 ;
5344 
5345     SWIG_check_num_args("lldb::SBAttachInfo::SetIgnoreExisting",2,2)
5346     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",1,"lldb::SBAttachInfo *");
5347     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetIgnoreExisting",2,"bool");
5348 
5349     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5350       SWIG_fail_ptr("SBAttachInfo_SetIgnoreExisting",1,SWIGTYPE_p_lldb__SBAttachInfo);
5351     }
5352 
5353     arg2 = (lua_toboolean(L, 2)!=0);
5354     (arg1)->SetIgnoreExisting(arg2);
5355 
5356     return SWIG_arg;
5357 
5358     fail: SWIGUNUSED;
5359   }
5360   lua_error(L);
5361   return 0;
5362 }
5363 
5364 
_wrap_SBAttachInfo_GetResumeCount(lua_State * L)5365 static int _wrap_SBAttachInfo_GetResumeCount(lua_State* L) {
5366   {
5367     int SWIG_arg = 0;
5368     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5369     uint32_t result;
5370 
5371     SWIG_check_num_args("lldb::SBAttachInfo::GetResumeCount",1,1)
5372     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetResumeCount",1,"lldb::SBAttachInfo *");
5373 
5374     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5375       SWIG_fail_ptr("SBAttachInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo);
5376     }
5377 
5378     result = (uint32_t)(arg1)->GetResumeCount();
5379     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5380     return SWIG_arg;
5381 
5382     fail: SWIGUNUSED;
5383   }
5384   lua_error(L);
5385   return 0;
5386 }
5387 
5388 
_wrap_SBAttachInfo_SetResumeCount(lua_State * L)5389 static int _wrap_SBAttachInfo_SetResumeCount(lua_State* L) {
5390   {
5391     int SWIG_arg = 0;
5392     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5393     uint32_t arg2 ;
5394 
5395     SWIG_check_num_args("lldb::SBAttachInfo::SetResumeCount",2,2)
5396     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",1,"lldb::SBAttachInfo *");
5397     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetResumeCount",2,"uint32_t");
5398 
5399     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5400       SWIG_fail_ptr("SBAttachInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBAttachInfo);
5401     }
5402 
5403     arg2 = (uint32_t)lua_tointeger(L, 2);
5404     (arg1)->SetResumeCount(arg2);
5405 
5406     return SWIG_arg;
5407 
5408     fail: SWIGUNUSED;
5409   }
5410   lua_error(L);
5411   return 0;
5412 }
5413 
5414 
_wrap_SBAttachInfo_GetProcessPluginName(lua_State * L)5415 static int _wrap_SBAttachInfo_GetProcessPluginName(lua_State* L) {
5416   {
5417     int SWIG_arg = 0;
5418     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5419     char *result = 0 ;
5420 
5421     SWIG_check_num_args("lldb::SBAttachInfo::GetProcessPluginName",1,1)
5422     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetProcessPluginName",1,"lldb::SBAttachInfo *");
5423 
5424     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5425       SWIG_fail_ptr("SBAttachInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo);
5426     }
5427 
5428     result = (char *)(arg1)->GetProcessPluginName();
5429     lua_pushstring(L,(const char *)result); SWIG_arg++;
5430     return SWIG_arg;
5431 
5432     fail: SWIGUNUSED;
5433   }
5434   lua_error(L);
5435   return 0;
5436 }
5437 
5438 
_wrap_SBAttachInfo_SetProcessPluginName(lua_State * L)5439 static int _wrap_SBAttachInfo_SetProcessPluginName(lua_State* L) {
5440   {
5441     int SWIG_arg = 0;
5442     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5443     char *arg2 = (char *) 0 ;
5444 
5445     SWIG_check_num_args("lldb::SBAttachInfo::SetProcessPluginName",2,2)
5446     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",1,"lldb::SBAttachInfo *");
5447     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetProcessPluginName",2,"char const *");
5448 
5449     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5450       SWIG_fail_ptr("SBAttachInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBAttachInfo);
5451     }
5452 
5453     arg2 = (char *)lua_tostring(L, 2);
5454     (arg1)->SetProcessPluginName((char const *)arg2);
5455 
5456     return SWIG_arg;
5457 
5458     fail: SWIGUNUSED;
5459   }
5460   lua_error(L);
5461   return 0;
5462 }
5463 
5464 
_wrap_SBAttachInfo_GetUserID(lua_State * L)5465 static int _wrap_SBAttachInfo_GetUserID(lua_State* L) {
5466   {
5467     int SWIG_arg = 0;
5468     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5469     uint32_t result;
5470 
5471     SWIG_check_num_args("lldb::SBAttachInfo::GetUserID",1,1)
5472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetUserID",1,"lldb::SBAttachInfo *");
5473 
5474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5475       SWIG_fail_ptr("SBAttachInfo_GetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5476     }
5477 
5478     result = (uint32_t)(arg1)->GetUserID();
5479     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5480     return SWIG_arg;
5481 
5482     fail: SWIGUNUSED;
5483   }
5484   lua_error(L);
5485   return 0;
5486 }
5487 
5488 
_wrap_SBAttachInfo_GetGroupID(lua_State * L)5489 static int _wrap_SBAttachInfo_GetGroupID(lua_State* L) {
5490   {
5491     int SWIG_arg = 0;
5492     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5493     uint32_t result;
5494 
5495     SWIG_check_num_args("lldb::SBAttachInfo::GetGroupID",1,1)
5496     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetGroupID",1,"lldb::SBAttachInfo *");
5497 
5498     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5499       SWIG_fail_ptr("SBAttachInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5500     }
5501 
5502     result = (uint32_t)(arg1)->GetGroupID();
5503     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5504     return SWIG_arg;
5505 
5506     fail: SWIGUNUSED;
5507   }
5508   lua_error(L);
5509   return 0;
5510 }
5511 
5512 
_wrap_SBAttachInfo_UserIDIsValid(lua_State * L)5513 static int _wrap_SBAttachInfo_UserIDIsValid(lua_State* L) {
5514   {
5515     int SWIG_arg = 0;
5516     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5517     bool result;
5518 
5519     SWIG_check_num_args("lldb::SBAttachInfo::UserIDIsValid",1,1)
5520     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::UserIDIsValid",1,"lldb::SBAttachInfo *");
5521 
5522     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5523       SWIG_fail_ptr("SBAttachInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo);
5524     }
5525 
5526     result = (bool)(arg1)->UserIDIsValid();
5527     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5528     return SWIG_arg;
5529 
5530     fail: SWIGUNUSED;
5531   }
5532   lua_error(L);
5533   return 0;
5534 }
5535 
5536 
_wrap_SBAttachInfo_GroupIDIsValid(lua_State * L)5537 static int _wrap_SBAttachInfo_GroupIDIsValid(lua_State* L) {
5538   {
5539     int SWIG_arg = 0;
5540     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5541     bool result;
5542 
5543     SWIG_check_num_args("lldb::SBAttachInfo::GroupIDIsValid",1,1)
5544     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GroupIDIsValid",1,"lldb::SBAttachInfo *");
5545 
5546     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5547       SWIG_fail_ptr("SBAttachInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo);
5548     }
5549 
5550     result = (bool)(arg1)->GroupIDIsValid();
5551     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5552     return SWIG_arg;
5553 
5554     fail: SWIGUNUSED;
5555   }
5556   lua_error(L);
5557   return 0;
5558 }
5559 
5560 
_wrap_SBAttachInfo_SetUserID(lua_State * L)5561 static int _wrap_SBAttachInfo_SetUserID(lua_State* L) {
5562   {
5563     int SWIG_arg = 0;
5564     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5565     uint32_t arg2 ;
5566 
5567     SWIG_check_num_args("lldb::SBAttachInfo::SetUserID",2,2)
5568     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",1,"lldb::SBAttachInfo *");
5569     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetUserID",2,"uint32_t");
5570 
5571     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5572       SWIG_fail_ptr("SBAttachInfo_SetUserID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5573     }
5574 
5575     arg2 = (uint32_t)lua_tointeger(L, 2);
5576     (arg1)->SetUserID(arg2);
5577 
5578     return SWIG_arg;
5579 
5580     fail: SWIGUNUSED;
5581   }
5582   lua_error(L);
5583   return 0;
5584 }
5585 
5586 
_wrap_SBAttachInfo_SetGroupID(lua_State * L)5587 static int _wrap_SBAttachInfo_SetGroupID(lua_State* L) {
5588   {
5589     int SWIG_arg = 0;
5590     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5591     uint32_t arg2 ;
5592 
5593     SWIG_check_num_args("lldb::SBAttachInfo::SetGroupID",2,2)
5594     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",1,"lldb::SBAttachInfo *");
5595     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetGroupID",2,"uint32_t");
5596 
5597     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5598       SWIG_fail_ptr("SBAttachInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5599     }
5600 
5601     arg2 = (uint32_t)lua_tointeger(L, 2);
5602     (arg1)->SetGroupID(arg2);
5603 
5604     return SWIG_arg;
5605 
5606     fail: SWIGUNUSED;
5607   }
5608   lua_error(L);
5609   return 0;
5610 }
5611 
5612 
_wrap_SBAttachInfo_GetEffectiveUserID(lua_State * L)5613 static int _wrap_SBAttachInfo_GetEffectiveUserID(lua_State* L) {
5614   {
5615     int SWIG_arg = 0;
5616     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5617     uint32_t result;
5618 
5619     SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveUserID",1,1)
5620     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveUserID",1,"lldb::SBAttachInfo *");
5621 
5622     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5623       SWIG_fail_ptr("SBAttachInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5624     }
5625 
5626     result = (uint32_t)(arg1)->GetEffectiveUserID();
5627     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5628     return SWIG_arg;
5629 
5630     fail: SWIGUNUSED;
5631   }
5632   lua_error(L);
5633   return 0;
5634 }
5635 
5636 
_wrap_SBAttachInfo_GetEffectiveGroupID(lua_State * L)5637 static int _wrap_SBAttachInfo_GetEffectiveGroupID(lua_State* L) {
5638   {
5639     int SWIG_arg = 0;
5640     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5641     uint32_t result;
5642 
5643     SWIG_check_num_args("lldb::SBAttachInfo::GetEffectiveGroupID",1,1)
5644     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetEffectiveGroupID",1,"lldb::SBAttachInfo *");
5645 
5646     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5647       SWIG_fail_ptr("SBAttachInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5648     }
5649 
5650     result = (uint32_t)(arg1)->GetEffectiveGroupID();
5651     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5652     return SWIG_arg;
5653 
5654     fail: SWIGUNUSED;
5655   }
5656   lua_error(L);
5657   return 0;
5658 }
5659 
5660 
_wrap_SBAttachInfo_EffectiveUserIDIsValid(lua_State * L)5661 static int _wrap_SBAttachInfo_EffectiveUserIDIsValid(lua_State* L) {
5662   {
5663     int SWIG_arg = 0;
5664     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5665     bool result;
5666 
5667     SWIG_check_num_args("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,1)
5668     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveUserIDIsValid",1,"lldb::SBAttachInfo *");
5669 
5670     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5671       SWIG_fail_ptr("SBAttachInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo);
5672     }
5673 
5674     result = (bool)(arg1)->EffectiveUserIDIsValid();
5675     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5676     return SWIG_arg;
5677 
5678     fail: SWIGUNUSED;
5679   }
5680   lua_error(L);
5681   return 0;
5682 }
5683 
5684 
_wrap_SBAttachInfo_EffectiveGroupIDIsValid(lua_State * L)5685 static int _wrap_SBAttachInfo_EffectiveGroupIDIsValid(lua_State* L) {
5686   {
5687     int SWIG_arg = 0;
5688     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5689     bool result;
5690 
5691     SWIG_check_num_args("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,1)
5692     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::EffectiveGroupIDIsValid",1,"lldb::SBAttachInfo *");
5693 
5694     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5695       SWIG_fail_ptr("SBAttachInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo);
5696     }
5697 
5698     result = (bool)(arg1)->EffectiveGroupIDIsValid();
5699     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5700     return SWIG_arg;
5701 
5702     fail: SWIGUNUSED;
5703   }
5704   lua_error(L);
5705   return 0;
5706 }
5707 
5708 
_wrap_SBAttachInfo_SetEffectiveUserID(lua_State * L)5709 static int _wrap_SBAttachInfo_SetEffectiveUserID(lua_State* L) {
5710   {
5711     int SWIG_arg = 0;
5712     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5713     uint32_t arg2 ;
5714 
5715     SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveUserID",2,2)
5716     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",1,"lldb::SBAttachInfo *");
5717     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveUserID",2,"uint32_t");
5718 
5719     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5720       SWIG_fail_ptr("SBAttachInfo_SetEffectiveUserID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5721     }
5722 
5723     arg2 = (uint32_t)lua_tointeger(L, 2);
5724     (arg1)->SetEffectiveUserID(arg2);
5725 
5726     return SWIG_arg;
5727 
5728     fail: SWIGUNUSED;
5729   }
5730   lua_error(L);
5731   return 0;
5732 }
5733 
5734 
_wrap_SBAttachInfo_SetEffectiveGroupID(lua_State * L)5735 static int _wrap_SBAttachInfo_SetEffectiveGroupID(lua_State* L) {
5736   {
5737     int SWIG_arg = 0;
5738     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5739     uint32_t arg2 ;
5740 
5741     SWIG_check_num_args("lldb::SBAttachInfo::SetEffectiveGroupID",2,2)
5742     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",1,"lldb::SBAttachInfo *");
5743     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetEffectiveGroupID",2,"uint32_t");
5744 
5745     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5746       SWIG_fail_ptr("SBAttachInfo_SetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5747     }
5748 
5749     arg2 = (uint32_t)lua_tointeger(L, 2);
5750     (arg1)->SetEffectiveGroupID(arg2);
5751 
5752     return SWIG_arg;
5753 
5754     fail: SWIGUNUSED;
5755   }
5756   lua_error(L);
5757   return 0;
5758 }
5759 
5760 
_wrap_SBAttachInfo_GetParentProcessID(lua_State * L)5761 static int _wrap_SBAttachInfo_GetParentProcessID(lua_State* L) {
5762   {
5763     int SWIG_arg = 0;
5764     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5765     lldb::pid_t result;
5766 
5767     SWIG_check_num_args("lldb::SBAttachInfo::GetParentProcessID",1,1)
5768     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetParentProcessID",1,"lldb::SBAttachInfo *");
5769 
5770     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5771       SWIG_fail_ptr("SBAttachInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5772     }
5773 
5774     result = (lldb::pid_t)(arg1)->GetParentProcessID();
5775     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
5776     return SWIG_arg;
5777 
5778     fail: SWIGUNUSED;
5779   }
5780   lua_error(L);
5781   return 0;
5782 }
5783 
5784 
_wrap_SBAttachInfo_SetParentProcessID(lua_State * L)5785 static int _wrap_SBAttachInfo_SetParentProcessID(lua_State* L) {
5786   {
5787     int SWIG_arg = 0;
5788     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5789     lldb::pid_t arg2 ;
5790 
5791     SWIG_check_num_args("lldb::SBAttachInfo::SetParentProcessID",2,2)
5792     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",1,"lldb::SBAttachInfo *");
5793     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetParentProcessID",2,"lldb::pid_t");
5794 
5795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5796       SWIG_fail_ptr("SBAttachInfo_SetParentProcessID",1,SWIGTYPE_p_lldb__SBAttachInfo);
5797     }
5798 
5799     arg2 = (lldb::pid_t)lua_tointeger(L, 2);
5800     (arg1)->SetParentProcessID(arg2);
5801 
5802     return SWIG_arg;
5803 
5804     fail: SWIGUNUSED;
5805   }
5806   lua_error(L);
5807   return 0;
5808 }
5809 
5810 
_wrap_SBAttachInfo_ParentProcessIDIsValid(lua_State * L)5811 static int _wrap_SBAttachInfo_ParentProcessIDIsValid(lua_State* L) {
5812   {
5813     int SWIG_arg = 0;
5814     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5815     bool result;
5816 
5817     SWIG_check_num_args("lldb::SBAttachInfo::ParentProcessIDIsValid",1,1)
5818     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::ParentProcessIDIsValid",1,"lldb::SBAttachInfo *");
5819 
5820     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5821       SWIG_fail_ptr("SBAttachInfo_ParentProcessIDIsValid",1,SWIGTYPE_p_lldb__SBAttachInfo);
5822     }
5823 
5824     result = (bool)(arg1)->ParentProcessIDIsValid();
5825     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5826     return SWIG_arg;
5827 
5828     fail: SWIGUNUSED;
5829   }
5830   lua_error(L);
5831   return 0;
5832 }
5833 
5834 
_wrap_SBAttachInfo_GetListener(lua_State * L)5835 static int _wrap_SBAttachInfo_GetListener(lua_State* L) {
5836   {
5837     int SWIG_arg = 0;
5838     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5839     lldb::SBListener result;
5840 
5841     SWIG_check_num_args("lldb::SBAttachInfo::GetListener",1,1)
5842     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetListener",1,"lldb::SBAttachInfo *");
5843 
5844     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5845       SWIG_fail_ptr("SBAttachInfo_GetListener",1,SWIGTYPE_p_lldb__SBAttachInfo);
5846     }
5847 
5848     result = (arg1)->GetListener();
5849     {
5850       lldb::SBListener * resultptr = new lldb::SBListener(result);
5851       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
5852     }
5853     return SWIG_arg;
5854 
5855     fail: SWIGUNUSED;
5856   }
5857   lua_error(L);
5858   return 0;
5859 }
5860 
5861 
_wrap_SBAttachInfo_SetListener(lua_State * L)5862 static int _wrap_SBAttachInfo_SetListener(lua_State* L) {
5863   {
5864     int SWIG_arg = 0;
5865     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5866     lldb::SBListener *arg2 = 0 ;
5867 
5868     SWIG_check_num_args("lldb::SBAttachInfo::SetListener",2,2)
5869     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",1,"lldb::SBAttachInfo *");
5870     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetListener",2,"lldb::SBListener &");
5871 
5872     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5873       SWIG_fail_ptr("SBAttachInfo_SetListener",1,SWIGTYPE_p_lldb__SBAttachInfo);
5874     }
5875 
5876 
5877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
5878       SWIG_fail_ptr("SBAttachInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener);
5879     }
5880 
5881     (arg1)->SetListener(*arg2);
5882 
5883     return SWIG_arg;
5884 
5885     fail: SWIGUNUSED;
5886   }
5887   lua_error(L);
5888   return 0;
5889 }
5890 
5891 
_wrap_SBAttachInfo_GetShadowListener(lua_State * L)5892 static int _wrap_SBAttachInfo_GetShadowListener(lua_State* L) {
5893   {
5894     int SWIG_arg = 0;
5895     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5896     lldb::SBListener result;
5897 
5898     SWIG_check_num_args("lldb::SBAttachInfo::GetShadowListener",1,1)
5899     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetShadowListener",1,"lldb::SBAttachInfo *");
5900 
5901     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5902       SWIG_fail_ptr("SBAttachInfo_GetShadowListener",1,SWIGTYPE_p_lldb__SBAttachInfo);
5903     }
5904 
5905     result = (arg1)->GetShadowListener();
5906     {
5907       lldb::SBListener * resultptr = new lldb::SBListener(result);
5908       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
5909     }
5910     return SWIG_arg;
5911 
5912     fail: SWIGUNUSED;
5913   }
5914   lua_error(L);
5915   return 0;
5916 }
5917 
5918 
_wrap_SBAttachInfo_SetShadowListener(lua_State * L)5919 static int _wrap_SBAttachInfo_SetShadowListener(lua_State* L) {
5920   {
5921     int SWIG_arg = 0;
5922     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5923     lldb::SBListener *arg2 = 0 ;
5924 
5925     SWIG_check_num_args("lldb::SBAttachInfo::SetShadowListener",2,2)
5926     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetShadowListener",1,"lldb::SBAttachInfo *");
5927     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetShadowListener",2,"lldb::SBListener &");
5928 
5929     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5930       SWIG_fail_ptr("SBAttachInfo_SetShadowListener",1,SWIGTYPE_p_lldb__SBAttachInfo);
5931     }
5932 
5933 
5934     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
5935       SWIG_fail_ptr("SBAttachInfo_SetShadowListener",2,SWIGTYPE_p_lldb__SBListener);
5936     }
5937 
5938     (arg1)->SetShadowListener(*arg2);
5939 
5940     return SWIG_arg;
5941 
5942     fail: SWIGUNUSED;
5943   }
5944   lua_error(L);
5945   return 0;
5946 }
5947 
5948 
_wrap_SBAttachInfo_GetScriptedProcessClassName(lua_State * L)5949 static int _wrap_SBAttachInfo_GetScriptedProcessClassName(lua_State* L) {
5950   {
5951     int SWIG_arg = 0;
5952     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5953     char *result = 0 ;
5954 
5955     SWIG_check_num_args("lldb::SBAttachInfo::GetScriptedProcessClassName",1,1)
5956     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetScriptedProcessClassName",1,"lldb::SBAttachInfo const *");
5957 
5958     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5959       SWIG_fail_ptr("SBAttachInfo_GetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBAttachInfo);
5960     }
5961 
5962     result = (char *)((lldb::SBAttachInfo const *)arg1)->GetScriptedProcessClassName();
5963     lua_pushstring(L,(const char *)result); SWIG_arg++;
5964     return SWIG_arg;
5965 
5966     fail: SWIGUNUSED;
5967   }
5968   lua_error(L);
5969   return 0;
5970 }
5971 
5972 
_wrap_SBAttachInfo_SetScriptedProcessClassName(lua_State * L)5973 static int _wrap_SBAttachInfo_SetScriptedProcessClassName(lua_State* L) {
5974   {
5975     int SWIG_arg = 0;
5976     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
5977     char *arg2 = (char *) 0 ;
5978 
5979     SWIG_check_num_args("lldb::SBAttachInfo::SetScriptedProcessClassName",2,2)
5980     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetScriptedProcessClassName",1,"lldb::SBAttachInfo *");
5981     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetScriptedProcessClassName",2,"char const *");
5982 
5983     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
5984       SWIG_fail_ptr("SBAttachInfo_SetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBAttachInfo);
5985     }
5986 
5987     arg2 = (char *)lua_tostring(L, 2);
5988     (arg1)->SetScriptedProcessClassName((char const *)arg2);
5989 
5990     return SWIG_arg;
5991 
5992     fail: SWIGUNUSED;
5993   }
5994   lua_error(L);
5995   return 0;
5996 }
5997 
5998 
_wrap_SBAttachInfo_GetScriptedProcessDictionary(lua_State * L)5999 static int _wrap_SBAttachInfo_GetScriptedProcessDictionary(lua_State* L) {
6000   {
6001     int SWIG_arg = 0;
6002     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
6003     lldb::SBStructuredData result;
6004 
6005     SWIG_check_num_args("lldb::SBAttachInfo::GetScriptedProcessDictionary",1,1)
6006     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::GetScriptedProcessDictionary",1,"lldb::SBAttachInfo const *");
6007 
6008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
6009       SWIG_fail_ptr("SBAttachInfo_GetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBAttachInfo);
6010     }
6011 
6012     result = ((lldb::SBAttachInfo const *)arg1)->GetScriptedProcessDictionary();
6013     {
6014       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
6015       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
6016     }
6017     return SWIG_arg;
6018 
6019     fail: SWIGUNUSED;
6020   }
6021   lua_error(L);
6022   return 0;
6023 }
6024 
6025 
_wrap_SBAttachInfo_SetScriptedProcessDictionary(lua_State * L)6026 static int _wrap_SBAttachInfo_SetScriptedProcessDictionary(lua_State* L) {
6027   {
6028     int SWIG_arg = 0;
6029     lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) 0 ;
6030     lldb::SBStructuredData arg2 ;
6031     lldb::SBStructuredData *argp2 ;
6032 
6033     SWIG_check_num_args("lldb::SBAttachInfo::SetScriptedProcessDictionary",2,2)
6034     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBAttachInfo::SetScriptedProcessDictionary",1,"lldb::SBAttachInfo *");
6035     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBAttachInfo::SetScriptedProcessDictionary",2,"lldb::SBStructuredData");
6036 
6037     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBAttachInfo,0))){
6038       SWIG_fail_ptr("SBAttachInfo_SetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBAttachInfo);
6039     }
6040 
6041 
6042     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBStructuredData,0))){
6043       SWIG_fail_ptr("SBAttachInfo_SetScriptedProcessDictionary",2,SWIGTYPE_p_lldb__SBStructuredData);
6044     }
6045     arg2 = *argp2;
6046 
6047     (arg1)->SetScriptedProcessDictionary(arg2);
6048 
6049     return SWIG_arg;
6050 
6051     fail: SWIGUNUSED;
6052   }
6053   lua_error(L);
6054   return 0;
6055 }
6056 
6057 
swig_delete_SBAttachInfo(void * obj)6058 static void swig_delete_SBAttachInfo(void *obj) {
6059 lldb::SBAttachInfo *arg1 = (lldb::SBAttachInfo *) obj;
6060 delete arg1;
6061 }
_proxy__wrap_new_SBAttachInfo(lua_State * L)6062 static int _proxy__wrap_new_SBAttachInfo(lua_State *L) {
6063     assert(lua_istable(L,1));
6064     lua_pushcfunction(L,_wrap_new_SBAttachInfo);
6065     assert(!lua_isnil(L,-1));
6066     lua_replace(L,1); /* replace our table with real constructor */
6067     lua_call(L,lua_gettop(L)-1,1);
6068     return 1;
6069 }
6070 static swig_lua_attribute swig_SBAttachInfo_attributes[] = {
6071     {0,0,0}
6072 };
6073 static swig_lua_method swig_SBAttachInfo_methods[]= {
6074     { "GetProcessID", _wrap_SBAttachInfo_GetProcessID},
6075     { "SetProcessID", _wrap_SBAttachInfo_SetProcessID},
6076     { "SetExecutable", _wrap_SBAttachInfo_SetExecutable},
6077     { "GetWaitForLaunch", _wrap_SBAttachInfo_GetWaitForLaunch},
6078     { "SetWaitForLaunch", _wrap_SBAttachInfo_SetWaitForLaunch},
6079     { "GetIgnoreExisting", _wrap_SBAttachInfo_GetIgnoreExisting},
6080     { "SetIgnoreExisting", _wrap_SBAttachInfo_SetIgnoreExisting},
6081     { "GetResumeCount", _wrap_SBAttachInfo_GetResumeCount},
6082     { "SetResumeCount", _wrap_SBAttachInfo_SetResumeCount},
6083     { "GetProcessPluginName", _wrap_SBAttachInfo_GetProcessPluginName},
6084     { "SetProcessPluginName", _wrap_SBAttachInfo_SetProcessPluginName},
6085     { "GetUserID", _wrap_SBAttachInfo_GetUserID},
6086     { "GetGroupID", _wrap_SBAttachInfo_GetGroupID},
6087     { "UserIDIsValid", _wrap_SBAttachInfo_UserIDIsValid},
6088     { "GroupIDIsValid", _wrap_SBAttachInfo_GroupIDIsValid},
6089     { "SetUserID", _wrap_SBAttachInfo_SetUserID},
6090     { "SetGroupID", _wrap_SBAttachInfo_SetGroupID},
6091     { "GetEffectiveUserID", _wrap_SBAttachInfo_GetEffectiveUserID},
6092     { "GetEffectiveGroupID", _wrap_SBAttachInfo_GetEffectiveGroupID},
6093     { "EffectiveUserIDIsValid", _wrap_SBAttachInfo_EffectiveUserIDIsValid},
6094     { "EffectiveGroupIDIsValid", _wrap_SBAttachInfo_EffectiveGroupIDIsValid},
6095     { "SetEffectiveUserID", _wrap_SBAttachInfo_SetEffectiveUserID},
6096     { "SetEffectiveGroupID", _wrap_SBAttachInfo_SetEffectiveGroupID},
6097     { "GetParentProcessID", _wrap_SBAttachInfo_GetParentProcessID},
6098     { "SetParentProcessID", _wrap_SBAttachInfo_SetParentProcessID},
6099     { "ParentProcessIDIsValid", _wrap_SBAttachInfo_ParentProcessIDIsValid},
6100     { "GetListener", _wrap_SBAttachInfo_GetListener},
6101     { "SetListener", _wrap_SBAttachInfo_SetListener},
6102     { "GetShadowListener", _wrap_SBAttachInfo_GetShadowListener},
6103     { "SetShadowListener", _wrap_SBAttachInfo_SetShadowListener},
6104     { "GetScriptedProcessClassName", _wrap_SBAttachInfo_GetScriptedProcessClassName},
6105     { "SetScriptedProcessClassName", _wrap_SBAttachInfo_SetScriptedProcessClassName},
6106     { "GetScriptedProcessDictionary", _wrap_SBAttachInfo_GetScriptedProcessDictionary},
6107     { "SetScriptedProcessDictionary", _wrap_SBAttachInfo_SetScriptedProcessDictionary},
6108     {0,0}
6109 };
6110 static swig_lua_method swig_SBAttachInfo_meta[] = {
6111     {0,0}
6112 };
6113 
6114 static swig_lua_attribute swig_SBAttachInfo_Sf_SwigStatic_attributes[] = {
6115     {0,0,0}
6116 };
6117 static swig_lua_const_info swig_SBAttachInfo_Sf_SwigStatic_constants[]= {
6118     {0,0,0,0,0,0}
6119 };
6120 static swig_lua_method swig_SBAttachInfo_Sf_SwigStatic_methods[]= {
6121     {0,0}
6122 };
6123 static swig_lua_class* swig_SBAttachInfo_Sf_SwigStatic_classes[]= {
6124     0
6125 };
6126 
6127 static swig_lua_namespace swig_SBAttachInfo_Sf_SwigStatic = {
6128     "SBAttachInfo",
6129     swig_SBAttachInfo_Sf_SwigStatic_methods,
6130     swig_SBAttachInfo_Sf_SwigStatic_attributes,
6131     swig_SBAttachInfo_Sf_SwigStatic_constants,
6132     swig_SBAttachInfo_Sf_SwigStatic_classes,
6133     0
6134 };
6135 static swig_lua_class *swig_SBAttachInfo_bases[] = {0};
6136 static const char *swig_SBAttachInfo_base_names[] = {0};
6137 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 };
6138 
_wrap_new_SBBlock__SWIG_0(lua_State * L)6139 static int _wrap_new_SBBlock__SWIG_0(lua_State* L) {
6140   {
6141     int SWIG_arg = 0;
6142     lldb::SBBlock *result = 0 ;
6143 
6144     SWIG_check_num_args("lldb::SBBlock::SBBlock",0,0)
6145     result = (lldb::SBBlock *)new lldb::SBBlock();
6146     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6147     return SWIG_arg;
6148 
6149     fail: SWIGUNUSED;
6150   }
6151   lua_error(L);
6152   return 0;
6153 }
6154 
6155 
_wrap_new_SBBlock__SWIG_1(lua_State * L)6156 static int _wrap_new_SBBlock__SWIG_1(lua_State* L) {
6157   {
6158     int SWIG_arg = 0;
6159     lldb::SBBlock *arg1 = 0 ;
6160     lldb::SBBlock *result = 0 ;
6161 
6162     SWIG_check_num_args("lldb::SBBlock::SBBlock",1,1)
6163     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBlock::SBBlock",1,"lldb::SBBlock const &");
6164 
6165     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6166       SWIG_fail_ptr("new_SBBlock",1,SWIGTYPE_p_lldb__SBBlock);
6167     }
6168 
6169     result = (lldb::SBBlock *)new lldb::SBBlock((lldb::SBBlock const &)*arg1);
6170     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6171     return SWIG_arg;
6172 
6173     fail: SWIGUNUSED;
6174   }
6175   lua_error(L);
6176   return 0;
6177 }
6178 
6179 
_wrap_new_SBBlock(lua_State * L)6180 static int _wrap_new_SBBlock(lua_State* L) {
6181   int argc;
6182   int argv[2]={
6183     1,2
6184   };
6185 
6186   argc = lua_gettop(L);
6187   if (argc == 0) {
6188     return _wrap_new_SBBlock__SWIG_0(L);
6189   }
6190   if (argc == 1) {
6191     int _v = 0;
6192     {
6193       void *ptr;
6194       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, SWIG_POINTER_NO_NULL)) {
6195         _v = 0;
6196       } else {
6197         _v = 1;
6198       }
6199     }
6200     if (_v) {
6201       return _wrap_new_SBBlock__SWIG_1(L);
6202     }
6203   }
6204 
6205   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBlock'\n"
6206     "  Possible C/C++ prototypes are:\n"
6207     "    lldb::SBBlock::SBBlock()\n"
6208     "    lldb::SBBlock::SBBlock(lldb::SBBlock const &)\n");
6209   lua_error(L);return 0;
6210 }
6211 
6212 
_wrap_SBBlock_IsInlined(lua_State * L)6213 static int _wrap_SBBlock_IsInlined(lua_State* L) {
6214   {
6215     int SWIG_arg = 0;
6216     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6217     bool result;
6218 
6219     SWIG_check_num_args("lldb::SBBlock::IsInlined",1,1)
6220     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsInlined",1,"lldb::SBBlock const *");
6221 
6222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6223       SWIG_fail_ptr("SBBlock_IsInlined",1,SWIGTYPE_p_lldb__SBBlock);
6224     }
6225 
6226     result = (bool)((lldb::SBBlock const *)arg1)->IsInlined();
6227     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
6228     return SWIG_arg;
6229 
6230     fail: SWIGUNUSED;
6231   }
6232   lua_error(L);
6233   return 0;
6234 }
6235 
6236 
_wrap_SBBlock_IsValid(lua_State * L)6237 static int _wrap_SBBlock_IsValid(lua_State* L) {
6238   {
6239     int SWIG_arg = 0;
6240     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6241     bool result;
6242 
6243     SWIG_check_num_args("lldb::SBBlock::IsValid",1,1)
6244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::IsValid",1,"lldb::SBBlock const *");
6245 
6246     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6247       SWIG_fail_ptr("SBBlock_IsValid",1,SWIGTYPE_p_lldb__SBBlock);
6248     }
6249 
6250     result = (bool)((lldb::SBBlock const *)arg1)->IsValid();
6251     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
6252     return SWIG_arg;
6253 
6254     fail: SWIGUNUSED;
6255   }
6256   lua_error(L);
6257   return 0;
6258 }
6259 
6260 
_wrap_SBBlock_GetInlinedName(lua_State * L)6261 static int _wrap_SBBlock_GetInlinedName(lua_State* L) {
6262   {
6263     int SWIG_arg = 0;
6264     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6265     char *result = 0 ;
6266 
6267     SWIG_check_num_args("lldb::SBBlock::GetInlinedName",1,1)
6268     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedName",1,"lldb::SBBlock const *");
6269 
6270     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6271       SWIG_fail_ptr("SBBlock_GetInlinedName",1,SWIGTYPE_p_lldb__SBBlock);
6272     }
6273 
6274     result = (char *)((lldb::SBBlock const *)arg1)->GetInlinedName();
6275     lua_pushstring(L,(const char *)result); SWIG_arg++;
6276     return SWIG_arg;
6277 
6278     fail: SWIGUNUSED;
6279   }
6280   lua_error(L);
6281   return 0;
6282 }
6283 
6284 
_wrap_SBBlock_GetInlinedCallSiteFile(lua_State * L)6285 static int _wrap_SBBlock_GetInlinedCallSiteFile(lua_State* L) {
6286   {
6287     int SWIG_arg = 0;
6288     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6289     lldb::SBFileSpec result;
6290 
6291     SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteFile",1,1)
6292     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteFile",1,"lldb::SBBlock const *");
6293 
6294     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6295       SWIG_fail_ptr("SBBlock_GetInlinedCallSiteFile",1,SWIGTYPE_p_lldb__SBBlock);
6296     }
6297 
6298     result = ((lldb::SBBlock const *)arg1)->GetInlinedCallSiteFile();
6299     {
6300       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
6301       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
6302     }
6303     return SWIG_arg;
6304 
6305     fail: SWIGUNUSED;
6306   }
6307   lua_error(L);
6308   return 0;
6309 }
6310 
6311 
_wrap_SBBlock_GetInlinedCallSiteLine(lua_State * L)6312 static int _wrap_SBBlock_GetInlinedCallSiteLine(lua_State* L) {
6313   {
6314     int SWIG_arg = 0;
6315     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6316     uint32_t result;
6317 
6318     SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteLine",1,1)
6319     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteLine",1,"lldb::SBBlock const *");
6320 
6321     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6322       SWIG_fail_ptr("SBBlock_GetInlinedCallSiteLine",1,SWIGTYPE_p_lldb__SBBlock);
6323     }
6324 
6325     result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteLine();
6326     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
6327     return SWIG_arg;
6328 
6329     fail: SWIGUNUSED;
6330   }
6331   lua_error(L);
6332   return 0;
6333 }
6334 
6335 
_wrap_SBBlock_GetInlinedCallSiteColumn(lua_State * L)6336 static int _wrap_SBBlock_GetInlinedCallSiteColumn(lua_State* L) {
6337   {
6338     int SWIG_arg = 0;
6339     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6340     uint32_t result;
6341 
6342     SWIG_check_num_args("lldb::SBBlock::GetInlinedCallSiteColumn",1,1)
6343     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetInlinedCallSiteColumn",1,"lldb::SBBlock const *");
6344 
6345     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6346       SWIG_fail_ptr("SBBlock_GetInlinedCallSiteColumn",1,SWIGTYPE_p_lldb__SBBlock);
6347     }
6348 
6349     result = (uint32_t)((lldb::SBBlock const *)arg1)->GetInlinedCallSiteColumn();
6350     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
6351     return SWIG_arg;
6352 
6353     fail: SWIGUNUSED;
6354   }
6355   lua_error(L);
6356   return 0;
6357 }
6358 
6359 
_wrap_SBBlock_GetParent(lua_State * L)6360 static int _wrap_SBBlock_GetParent(lua_State* L) {
6361   {
6362     int SWIG_arg = 0;
6363     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6364     lldb::SBBlock result;
6365 
6366     SWIG_check_num_args("lldb::SBBlock::GetParent",1,1)
6367     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetParent",1,"lldb::SBBlock *");
6368 
6369     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6370       SWIG_fail_ptr("SBBlock_GetParent",1,SWIGTYPE_p_lldb__SBBlock);
6371     }
6372 
6373     result = (arg1)->GetParent();
6374     {
6375       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
6376       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6377     }
6378     return SWIG_arg;
6379 
6380     fail: SWIGUNUSED;
6381   }
6382   lua_error(L);
6383   return 0;
6384 }
6385 
6386 
_wrap_SBBlock_GetSibling(lua_State * L)6387 static int _wrap_SBBlock_GetSibling(lua_State* L) {
6388   {
6389     int SWIG_arg = 0;
6390     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6391     lldb::SBBlock result;
6392 
6393     SWIG_check_num_args("lldb::SBBlock::GetSibling",1,1)
6394     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetSibling",1,"lldb::SBBlock *");
6395 
6396     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6397       SWIG_fail_ptr("SBBlock_GetSibling",1,SWIGTYPE_p_lldb__SBBlock);
6398     }
6399 
6400     result = (arg1)->GetSibling();
6401     {
6402       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
6403       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6404     }
6405     return SWIG_arg;
6406 
6407     fail: SWIGUNUSED;
6408   }
6409   lua_error(L);
6410   return 0;
6411 }
6412 
6413 
_wrap_SBBlock_GetFirstChild(lua_State * L)6414 static int _wrap_SBBlock_GetFirstChild(lua_State* L) {
6415   {
6416     int SWIG_arg = 0;
6417     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6418     lldb::SBBlock result;
6419 
6420     SWIG_check_num_args("lldb::SBBlock::GetFirstChild",1,1)
6421     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetFirstChild",1,"lldb::SBBlock *");
6422 
6423     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6424       SWIG_fail_ptr("SBBlock_GetFirstChild",1,SWIGTYPE_p_lldb__SBBlock);
6425     }
6426 
6427     result = (arg1)->GetFirstChild();
6428     {
6429       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
6430       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6431     }
6432     return SWIG_arg;
6433 
6434     fail: SWIGUNUSED;
6435   }
6436   lua_error(L);
6437   return 0;
6438 }
6439 
6440 
_wrap_SBBlock_GetNumRanges(lua_State * L)6441 static int _wrap_SBBlock_GetNumRanges(lua_State* L) {
6442   {
6443     int SWIG_arg = 0;
6444     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6445     uint32_t result;
6446 
6447     SWIG_check_num_args("lldb::SBBlock::GetNumRanges",1,1)
6448     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetNumRanges",1,"lldb::SBBlock *");
6449 
6450     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6451       SWIG_fail_ptr("SBBlock_GetNumRanges",1,SWIGTYPE_p_lldb__SBBlock);
6452     }
6453 
6454     result = (uint32_t)(arg1)->GetNumRanges();
6455     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
6456     return SWIG_arg;
6457 
6458     fail: SWIGUNUSED;
6459   }
6460   lua_error(L);
6461   return 0;
6462 }
6463 
6464 
_wrap_SBBlock_GetRangeStartAddress(lua_State * L)6465 static int _wrap_SBBlock_GetRangeStartAddress(lua_State* L) {
6466   {
6467     int SWIG_arg = 0;
6468     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6469     uint32_t arg2 ;
6470     lldb::SBAddress result;
6471 
6472     SWIG_check_num_args("lldb::SBBlock::GetRangeStartAddress",2,2)
6473     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",1,"lldb::SBBlock *");
6474     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeStartAddress",2,"uint32_t");
6475 
6476     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6477       SWIG_fail_ptr("SBBlock_GetRangeStartAddress",1,SWIGTYPE_p_lldb__SBBlock);
6478     }
6479 
6480     arg2 = (uint32_t)lua_tointeger(L, 2);
6481     result = (arg1)->GetRangeStartAddress(arg2);
6482     {
6483       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
6484       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
6485     }
6486     return SWIG_arg;
6487 
6488     fail: SWIGUNUSED;
6489   }
6490   lua_error(L);
6491   return 0;
6492 }
6493 
6494 
_wrap_SBBlock_GetRangeEndAddress(lua_State * L)6495 static int _wrap_SBBlock_GetRangeEndAddress(lua_State* L) {
6496   {
6497     int SWIG_arg = 0;
6498     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6499     uint32_t arg2 ;
6500     lldb::SBAddress result;
6501 
6502     SWIG_check_num_args("lldb::SBBlock::GetRangeEndAddress",2,2)
6503     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",1,"lldb::SBBlock *");
6504     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeEndAddress",2,"uint32_t");
6505 
6506     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6507       SWIG_fail_ptr("SBBlock_GetRangeEndAddress",1,SWIGTYPE_p_lldb__SBBlock);
6508     }
6509 
6510     arg2 = (uint32_t)lua_tointeger(L, 2);
6511     result = (arg1)->GetRangeEndAddress(arg2);
6512     {
6513       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
6514       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
6515     }
6516     return SWIG_arg;
6517 
6518     fail: SWIGUNUSED;
6519   }
6520   lua_error(L);
6521   return 0;
6522 }
6523 
6524 
_wrap_SBBlock_GetRangeIndexForBlockAddress(lua_State * L)6525 static int _wrap_SBBlock_GetRangeIndexForBlockAddress(lua_State* L) {
6526   {
6527     int SWIG_arg = 0;
6528     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6529     lldb::SBAddress arg2 ;
6530     lldb::SBAddress *argp2 ;
6531     uint32_t result;
6532 
6533     SWIG_check_num_args("lldb::SBBlock::GetRangeIndexForBlockAddress",2,2)
6534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",1,"lldb::SBBlock *");
6535     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetRangeIndexForBlockAddress",2,"lldb::SBAddress");
6536 
6537     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6538       SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",1,SWIGTYPE_p_lldb__SBBlock);
6539     }
6540 
6541 
6542     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
6543       SWIG_fail_ptr("SBBlock_GetRangeIndexForBlockAddress",2,SWIGTYPE_p_lldb__SBAddress);
6544     }
6545     arg2 = *argp2;
6546 
6547     result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(arg2);
6548     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
6549     return SWIG_arg;
6550 
6551     fail: SWIGUNUSED;
6552   }
6553   lua_error(L);
6554   return 0;
6555 }
6556 
6557 
_wrap_SBBlock_GetVariables__SWIG_0(lua_State * L)6558 static int _wrap_SBBlock_GetVariables__SWIG_0(lua_State* L) {
6559   {
6560     int SWIG_arg = 0;
6561     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6562     lldb::SBFrame *arg2 = 0 ;
6563     bool arg3 ;
6564     bool arg4 ;
6565     bool arg5 ;
6566     lldb::DynamicValueType arg6 ;
6567     lldb::SBValueList result;
6568 
6569     SWIG_check_num_args("lldb::SBBlock::GetVariables",6,6)
6570     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *");
6571     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBFrame &");
6572     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool");
6573     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool");
6574     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool");
6575     if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBBlock::GetVariables",6,"lldb::DynamicValueType");
6576 
6577     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6578       SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock);
6579     }
6580 
6581 
6582     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
6583       SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBFrame);
6584     }
6585 
6586     arg3 = (lua_toboolean(L, 3)!=0);
6587     arg4 = (lua_toboolean(L, 4)!=0);
6588     arg5 = (lua_toboolean(L, 5)!=0);
6589     arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6);
6590     result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5,arg6);
6591     {
6592       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
6593       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
6594     }
6595     return SWIG_arg;
6596 
6597     fail: SWIGUNUSED;
6598   }
6599   lua_error(L);
6600   return 0;
6601 }
6602 
6603 
_wrap_SBBlock_GetVariables__SWIG_1(lua_State * L)6604 static int _wrap_SBBlock_GetVariables__SWIG_1(lua_State* L) {
6605   {
6606     int SWIG_arg = 0;
6607     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6608     lldb::SBTarget *arg2 = 0 ;
6609     bool arg3 ;
6610     bool arg4 ;
6611     bool arg5 ;
6612     lldb::SBValueList result;
6613 
6614     SWIG_check_num_args("lldb::SBBlock::GetVariables",5,5)
6615     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetVariables",1,"lldb::SBBlock *");
6616     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetVariables",2,"lldb::SBTarget &");
6617     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBlock::GetVariables",3,"bool");
6618     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBBlock::GetVariables",4,"bool");
6619     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBBlock::GetVariables",5,"bool");
6620 
6621     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6622       SWIG_fail_ptr("SBBlock_GetVariables",1,SWIGTYPE_p_lldb__SBBlock);
6623     }
6624 
6625 
6626     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
6627       SWIG_fail_ptr("SBBlock_GetVariables",2,SWIGTYPE_p_lldb__SBTarget);
6628     }
6629 
6630     arg3 = (lua_toboolean(L, 3)!=0);
6631     arg4 = (lua_toboolean(L, 4)!=0);
6632     arg5 = (lua_toboolean(L, 5)!=0);
6633     result = (arg1)->GetVariables(*arg2,arg3,arg4,arg5);
6634     {
6635       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
6636       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
6637     }
6638     return SWIG_arg;
6639 
6640     fail: SWIGUNUSED;
6641   }
6642   lua_error(L);
6643   return 0;
6644 }
6645 
6646 
_wrap_SBBlock_GetVariables(lua_State * L)6647 static int _wrap_SBBlock_GetVariables(lua_State* L) {
6648   int argc;
6649   int argv[7]={
6650     1,2,3,4,5,6,7
6651   };
6652 
6653   argc = lua_gettop(L);
6654   if (argc == 5) {
6655     int _v = 0;
6656     {
6657       void *ptr;
6658       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) {
6659         _v = 0;
6660       } else {
6661         _v = 1;
6662       }
6663     }
6664     if (_v) {
6665       {
6666         void *ptr;
6667         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
6668           _v = 0;
6669         } else {
6670           _v = 1;
6671         }
6672       }
6673       if (_v) {
6674         {
6675           _v = lua_isboolean(L,argv[2]);
6676         }
6677         if (_v) {
6678           {
6679             _v = lua_isboolean(L,argv[3]);
6680           }
6681           if (_v) {
6682             {
6683               _v = lua_isboolean(L,argv[4]);
6684             }
6685             if (_v) {
6686               return _wrap_SBBlock_GetVariables__SWIG_1(L);
6687             }
6688           }
6689         }
6690       }
6691     }
6692   }
6693   if (argc == 6) {
6694     int _v = 0;
6695     {
6696       void *ptr;
6697       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) {
6698         _v = 0;
6699       } else {
6700         _v = 1;
6701       }
6702     }
6703     if (_v) {
6704       {
6705         void *ptr;
6706         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
6707           _v = 0;
6708         } else {
6709           _v = 1;
6710         }
6711       }
6712       if (_v) {
6713         {
6714           _v = lua_isboolean(L,argv[2]);
6715         }
6716         if (_v) {
6717           {
6718             _v = lua_isboolean(L,argv[3]);
6719           }
6720           if (_v) {
6721             {
6722               _v = lua_isboolean(L,argv[4]);
6723             }
6724             if (_v) {
6725               {
6726                 _v = lua_isnumber(L,argv[5]);
6727               }
6728               if (_v) {
6729                 return _wrap_SBBlock_GetVariables__SWIG_0(L);
6730               }
6731             }
6732           }
6733         }
6734       }
6735     }
6736   }
6737 
6738   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBlock_GetVariables'\n"
6739     "  Possible C/C++ prototypes are:\n"
6740     "    lldb::SBBlock::GetVariables(lldb::SBFrame &,bool,bool,bool,lldb::DynamicValueType)\n"
6741     "    lldb::SBBlock::GetVariables(lldb::SBTarget &,bool,bool,bool)\n");
6742   lua_error(L);return 0;
6743 }
6744 
6745 
_wrap_SBBlock_GetContainingInlinedBlock(lua_State * L)6746 static int _wrap_SBBlock_GetContainingInlinedBlock(lua_State* L) {
6747   {
6748     int SWIG_arg = 0;
6749     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6750     lldb::SBBlock result;
6751 
6752     SWIG_check_num_args("lldb::SBBlock::GetContainingInlinedBlock",1,1)
6753     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetContainingInlinedBlock",1,"lldb::SBBlock *");
6754 
6755     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6756       SWIG_fail_ptr("SBBlock_GetContainingInlinedBlock",1,SWIGTYPE_p_lldb__SBBlock);
6757     }
6758 
6759     result = (arg1)->GetContainingInlinedBlock();
6760     {
6761       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
6762       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
6763     }
6764     return SWIG_arg;
6765 
6766     fail: SWIGUNUSED;
6767   }
6768   lua_error(L);
6769   return 0;
6770 }
6771 
6772 
_wrap_SBBlock_GetDescription(lua_State * L)6773 static int _wrap_SBBlock_GetDescription(lua_State* L) {
6774   {
6775     int SWIG_arg = 0;
6776     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6777     lldb::SBStream *arg2 = 0 ;
6778     bool result;
6779 
6780     SWIG_check_num_args("lldb::SBBlock::GetDescription",2,2)
6781     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::GetDescription",1,"lldb::SBBlock *");
6782     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBlock::GetDescription",2,"lldb::SBStream &");
6783 
6784     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6785       SWIG_fail_ptr("SBBlock_GetDescription",1,SWIGTYPE_p_lldb__SBBlock);
6786     }
6787 
6788 
6789     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
6790       SWIG_fail_ptr("SBBlock_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
6791     }
6792 
6793     result = (bool)(arg1)->GetDescription(*arg2);
6794     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
6795     return SWIG_arg;
6796 
6797     fail: SWIGUNUSED;
6798   }
6799   lua_error(L);
6800   return 0;
6801 }
6802 
6803 
_wrap_SBBlock___tostring(lua_State * L)6804 static int _wrap_SBBlock___tostring(lua_State* L) {
6805   {
6806     int SWIG_arg = 0;
6807     lldb::SBBlock *arg1 = (lldb::SBBlock *) 0 ;
6808     std::string result;
6809 
6810     SWIG_check_num_args("lldb::SBBlock::__repr__",1,1)
6811     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBlock::__repr__",1,"lldb::SBBlock *");
6812 
6813     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBlock,0))){
6814       SWIG_fail_ptr("SBBlock___tostring",1,SWIGTYPE_p_lldb__SBBlock);
6815     }
6816 
6817     result = lldb_SBBlock___repr__(arg1);
6818     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
6819     return SWIG_arg;
6820 
6821     fail: SWIGUNUSED;
6822   }
6823   lua_error(L);
6824   return 0;
6825 }
6826 
6827 
swig_delete_SBBlock(void * obj)6828 static void swig_delete_SBBlock(void *obj) {
6829 lldb::SBBlock *arg1 = (lldb::SBBlock *) obj;
6830 delete arg1;
6831 }
_proxy__wrap_new_SBBlock(lua_State * L)6832 static int _proxy__wrap_new_SBBlock(lua_State *L) {
6833     assert(lua_istable(L,1));
6834     lua_pushcfunction(L,_wrap_new_SBBlock);
6835     assert(!lua_isnil(L,-1));
6836     lua_replace(L,1); /* replace our table with real constructor */
6837     lua_call(L,lua_gettop(L)-1,1);
6838     return 1;
6839 }
6840 static swig_lua_attribute swig_SBBlock_attributes[] = {
6841     {0,0,0}
6842 };
6843 static swig_lua_method swig_SBBlock_methods[]= {
6844     { "IsInlined", _wrap_SBBlock_IsInlined},
6845     { "IsValid", _wrap_SBBlock_IsValid},
6846     { "GetInlinedName", _wrap_SBBlock_GetInlinedName},
6847     { "GetInlinedCallSiteFile", _wrap_SBBlock_GetInlinedCallSiteFile},
6848     { "GetInlinedCallSiteLine", _wrap_SBBlock_GetInlinedCallSiteLine},
6849     { "GetInlinedCallSiteColumn", _wrap_SBBlock_GetInlinedCallSiteColumn},
6850     { "GetParent", _wrap_SBBlock_GetParent},
6851     { "GetSibling", _wrap_SBBlock_GetSibling},
6852     { "GetFirstChild", _wrap_SBBlock_GetFirstChild},
6853     { "GetNumRanges", _wrap_SBBlock_GetNumRanges},
6854     { "GetRangeStartAddress", _wrap_SBBlock_GetRangeStartAddress},
6855     { "GetRangeEndAddress", _wrap_SBBlock_GetRangeEndAddress},
6856     { "GetRangeIndexForBlockAddress", _wrap_SBBlock_GetRangeIndexForBlockAddress},
6857     { "GetVariables", _wrap_SBBlock_GetVariables},
6858     { "GetContainingInlinedBlock", _wrap_SBBlock_GetContainingInlinedBlock},
6859     { "GetDescription", _wrap_SBBlock_GetDescription},
6860     { "__tostring", _wrap_SBBlock___tostring},
6861     {0,0}
6862 };
6863 static swig_lua_method swig_SBBlock_meta[] = {
6864     { "__tostring", _wrap_SBBlock___tostring},
6865     {0,0}
6866 };
6867 
6868 static swig_lua_attribute swig_SBBlock_Sf_SwigStatic_attributes[] = {
6869     {0,0,0}
6870 };
6871 static swig_lua_const_info swig_SBBlock_Sf_SwigStatic_constants[]= {
6872     {0,0,0,0,0,0}
6873 };
6874 static swig_lua_method swig_SBBlock_Sf_SwigStatic_methods[]= {
6875     {0,0}
6876 };
6877 static swig_lua_class* swig_SBBlock_Sf_SwigStatic_classes[]= {
6878     0
6879 };
6880 
6881 static swig_lua_namespace swig_SBBlock_Sf_SwigStatic = {
6882     "SBBlock",
6883     swig_SBBlock_Sf_SwigStatic_methods,
6884     swig_SBBlock_Sf_SwigStatic_attributes,
6885     swig_SBBlock_Sf_SwigStatic_constants,
6886     swig_SBBlock_Sf_SwigStatic_classes,
6887     0
6888 };
6889 static swig_lua_class *swig_SBBlock_bases[] = {0};
6890 static const char *swig_SBBlock_base_names[] = {0};
6891 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 };
6892 
_wrap_new_SBBreakpoint__SWIG_0(lua_State * L)6893 static int _wrap_new_SBBreakpoint__SWIG_0(lua_State* L) {
6894   {
6895     int SWIG_arg = 0;
6896     lldb::SBBreakpoint *result = 0 ;
6897 
6898     SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",0,0)
6899     result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint();
6900     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
6901     return SWIG_arg;
6902 
6903     fail: SWIGUNUSED;
6904   }
6905   lua_error(L);
6906   return 0;
6907 }
6908 
6909 
_wrap_new_SBBreakpoint__SWIG_1(lua_State * L)6910 static int _wrap_new_SBBreakpoint__SWIG_1(lua_State* L) {
6911   {
6912     int SWIG_arg = 0;
6913     lldb::SBBreakpoint *arg1 = 0 ;
6914     lldb::SBBreakpoint *result = 0 ;
6915 
6916     SWIG_check_num_args("lldb::SBBreakpoint::SBBreakpoint",1,1)
6917     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SBBreakpoint",1,"lldb::SBBreakpoint const &");
6918 
6919     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
6920       SWIG_fail_ptr("new_SBBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpoint);
6921     }
6922 
6923     result = (lldb::SBBreakpoint *)new lldb::SBBreakpoint((lldb::SBBreakpoint const &)*arg1);
6924     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
6925     return SWIG_arg;
6926 
6927     fail: SWIGUNUSED;
6928   }
6929   lua_error(L);
6930   return 0;
6931 }
6932 
6933 
_wrap_new_SBBreakpoint(lua_State * L)6934 static int _wrap_new_SBBreakpoint(lua_State* L) {
6935   int argc;
6936   int argv[2]={
6937     1,2
6938   };
6939 
6940   argc = lua_gettop(L);
6941   if (argc == 0) {
6942     return _wrap_new_SBBreakpoint__SWIG_0(L);
6943   }
6944   if (argc == 1) {
6945     int _v = 0;
6946     {
6947       void *ptr;
6948       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) {
6949         _v = 0;
6950       } else {
6951         _v = 1;
6952       }
6953     }
6954     if (_v) {
6955       return _wrap_new_SBBreakpoint__SWIG_1(L);
6956     }
6957   }
6958 
6959   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpoint'\n"
6960     "  Possible C/C++ prototypes are:\n"
6961     "    lldb::SBBreakpoint::SBBreakpoint()\n"
6962     "    lldb::SBBreakpoint::SBBreakpoint(lldb::SBBreakpoint const &)\n");
6963   lua_error(L);return 0;
6964 }
6965 
6966 
_wrap_SBBreakpoint___eq(lua_State * L)6967 static int _wrap_SBBreakpoint___eq(lua_State* L) {
6968   {
6969     int SWIG_arg = 0;
6970     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
6971     lldb::SBBreakpoint *arg2 = 0 ;
6972     bool result;
6973 
6974     SWIG_check_num_args("lldb::SBBreakpoint::operator ==",2,2)
6975     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",1,"lldb::SBBreakpoint *");
6976     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::operator ==",2,"lldb::SBBreakpoint const &");
6977 
6978     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
6979       SWIG_fail_ptr("SBBreakpoint___eq",1,SWIGTYPE_p_lldb__SBBreakpoint);
6980     }
6981 
6982 
6983     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){
6984       SWIG_fail_ptr("SBBreakpoint___eq",2,SWIGTYPE_p_lldb__SBBreakpoint);
6985     }
6986 
6987     result = (bool)(arg1)->operator ==((lldb::SBBreakpoint const &)*arg2);
6988     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
6989     return SWIG_arg;
6990 
6991     fail: SWIGUNUSED;
6992   }
6993   lua_error(L);
6994   return 0;
6995 }
6996 
6997 
_wrap_SBBreakpoint_GetID(lua_State * L)6998 static int _wrap_SBBreakpoint_GetID(lua_State* L) {
6999   {
7000     int SWIG_arg = 0;
7001     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7002     lldb::break_id_t result;
7003 
7004     SWIG_check_num_args("lldb::SBBreakpoint::GetID",1,1)
7005     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetID",1,"lldb::SBBreakpoint const *");
7006 
7007     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7008       SWIG_fail_ptr("SBBreakpoint_GetID",1,SWIGTYPE_p_lldb__SBBreakpoint);
7009     }
7010 
7011     result = (lldb::break_id_t)((lldb::SBBreakpoint const *)arg1)->GetID();
7012     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7013     return SWIG_arg;
7014 
7015     fail: SWIGUNUSED;
7016   }
7017   lua_error(L);
7018   return 0;
7019 }
7020 
7021 
_wrap_SBBreakpoint_IsValid(lua_State * L)7022 static int _wrap_SBBreakpoint_IsValid(lua_State* L) {
7023   {
7024     int SWIG_arg = 0;
7025     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7026     bool result;
7027 
7028     SWIG_check_num_args("lldb::SBBreakpoint::IsValid",1,1)
7029     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsValid",1,"lldb::SBBreakpoint const *");
7030 
7031     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7032       SWIG_fail_ptr("SBBreakpoint_IsValid",1,SWIGTYPE_p_lldb__SBBreakpoint);
7033     }
7034 
7035     result = (bool)((lldb::SBBreakpoint const *)arg1)->IsValid();
7036     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7037     return SWIG_arg;
7038 
7039     fail: SWIGUNUSED;
7040   }
7041   lua_error(L);
7042   return 0;
7043 }
7044 
7045 
_wrap_SBBreakpoint_ClearAllBreakpointSites(lua_State * L)7046 static int _wrap_SBBreakpoint_ClearAllBreakpointSites(lua_State* L) {
7047   {
7048     int SWIG_arg = 0;
7049     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7050 
7051     SWIG_check_num_args("lldb::SBBreakpoint::ClearAllBreakpointSites",1,1)
7052     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::ClearAllBreakpointSites",1,"lldb::SBBreakpoint *");
7053 
7054     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7055       SWIG_fail_ptr("SBBreakpoint_ClearAllBreakpointSites",1,SWIGTYPE_p_lldb__SBBreakpoint);
7056     }
7057 
7058     (arg1)->ClearAllBreakpointSites();
7059 
7060     return SWIG_arg;
7061 
7062     fail: SWIGUNUSED;
7063   }
7064   lua_error(L);
7065   return 0;
7066 }
7067 
7068 
_wrap_SBBreakpoint_GetTarget(lua_State * L)7069 static int _wrap_SBBreakpoint_GetTarget(lua_State* L) {
7070   {
7071     int SWIG_arg = 0;
7072     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7073     lldb::SBTarget result;
7074 
7075     SWIG_check_num_args("lldb::SBBreakpoint::GetTarget",1,1)
7076     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetTarget",1,"lldb::SBBreakpoint const *");
7077 
7078     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7079       SWIG_fail_ptr("SBBreakpoint_GetTarget",1,SWIGTYPE_p_lldb__SBBreakpoint);
7080     }
7081 
7082     result = ((lldb::SBBreakpoint const *)arg1)->GetTarget();
7083     {
7084       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
7085       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
7086     }
7087     return SWIG_arg;
7088 
7089     fail: SWIGUNUSED;
7090   }
7091   lua_error(L);
7092   return 0;
7093 }
7094 
7095 
_wrap_SBBreakpoint_FindLocationByAddress(lua_State * L)7096 static int _wrap_SBBreakpoint_FindLocationByAddress(lua_State* L) {
7097   {
7098     int SWIG_arg = 0;
7099     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7100     lldb::addr_t arg2 ;
7101     lldb::SBBreakpointLocation result;
7102 
7103     SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByAddress",2,2)
7104     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",1,"lldb::SBBreakpoint *");
7105     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByAddress",2,"lldb::addr_t");
7106 
7107     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7108       SWIG_fail_ptr("SBBreakpoint_FindLocationByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint);
7109     }
7110 
7111     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
7112     result = (arg1)->FindLocationByAddress(arg2);
7113     {
7114       lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result);
7115       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
7116     }
7117     return SWIG_arg;
7118 
7119     fail: SWIGUNUSED;
7120   }
7121   lua_error(L);
7122   return 0;
7123 }
7124 
7125 
_wrap_SBBreakpoint_FindLocationIDByAddress(lua_State * L)7126 static int _wrap_SBBreakpoint_FindLocationIDByAddress(lua_State* L) {
7127   {
7128     int SWIG_arg = 0;
7129     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7130     lldb::addr_t arg2 ;
7131     lldb::break_id_t result;
7132 
7133     SWIG_check_num_args("lldb::SBBreakpoint::FindLocationIDByAddress",2,2)
7134     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",1,"lldb::SBBreakpoint *");
7135     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationIDByAddress",2,"lldb::addr_t");
7136 
7137     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7138       SWIG_fail_ptr("SBBreakpoint_FindLocationIDByAddress",1,SWIGTYPE_p_lldb__SBBreakpoint);
7139     }
7140 
7141     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
7142     result = (lldb::break_id_t)(arg1)->FindLocationIDByAddress(arg2);
7143     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7144     return SWIG_arg;
7145 
7146     fail: SWIGUNUSED;
7147   }
7148   lua_error(L);
7149   return 0;
7150 }
7151 
7152 
_wrap_SBBreakpoint_FindLocationByID(lua_State * L)7153 static int _wrap_SBBreakpoint_FindLocationByID(lua_State* L) {
7154   {
7155     int SWIG_arg = 0;
7156     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7157     lldb::break_id_t arg2 ;
7158     lldb::SBBreakpointLocation result;
7159 
7160     SWIG_check_num_args("lldb::SBBreakpoint::FindLocationByID",2,2)
7161     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",1,"lldb::SBBreakpoint *");
7162     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::FindLocationByID",2,"lldb::break_id_t");
7163 
7164     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7165       SWIG_fail_ptr("SBBreakpoint_FindLocationByID",1,SWIGTYPE_p_lldb__SBBreakpoint);
7166     }
7167 
7168     arg2 = (lldb::break_id_t)lua_tointeger(L, 2);
7169     result = (arg1)->FindLocationByID(arg2);
7170     {
7171       lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result);
7172       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
7173     }
7174     return SWIG_arg;
7175 
7176     fail: SWIGUNUSED;
7177   }
7178   lua_error(L);
7179   return 0;
7180 }
7181 
7182 
_wrap_SBBreakpoint_GetLocationAtIndex(lua_State * L)7183 static int _wrap_SBBreakpoint_GetLocationAtIndex(lua_State* L) {
7184   {
7185     int SWIG_arg = 0;
7186     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7187     uint32_t arg2 ;
7188     lldb::SBBreakpointLocation result;
7189 
7190     SWIG_check_num_args("lldb::SBBreakpoint::GetLocationAtIndex",2,2)
7191     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",1,"lldb::SBBreakpoint *");
7192     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetLocationAtIndex",2,"uint32_t");
7193 
7194     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7195       SWIG_fail_ptr("SBBreakpoint_GetLocationAtIndex",1,SWIGTYPE_p_lldb__SBBreakpoint);
7196     }
7197 
7198     arg2 = (uint32_t)lua_tointeger(L, 2);
7199     result = (arg1)->GetLocationAtIndex(arg2);
7200     {
7201       lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result);
7202       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
7203     }
7204     return SWIG_arg;
7205 
7206     fail: SWIGUNUSED;
7207   }
7208   lua_error(L);
7209   return 0;
7210 }
7211 
7212 
_wrap_SBBreakpoint_SetEnabled(lua_State * L)7213 static int _wrap_SBBreakpoint_SetEnabled(lua_State* L) {
7214   {
7215     int SWIG_arg = 0;
7216     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7217     bool arg2 ;
7218 
7219     SWIG_check_num_args("lldb::SBBreakpoint::SetEnabled",2,2)
7220     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",1,"lldb::SBBreakpoint *");
7221     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetEnabled",2,"bool");
7222 
7223     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7224       SWIG_fail_ptr("SBBreakpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint);
7225     }
7226 
7227     arg2 = (lua_toboolean(L, 2)!=0);
7228     (arg1)->SetEnabled(arg2);
7229 
7230     return SWIG_arg;
7231 
7232     fail: SWIGUNUSED;
7233   }
7234   lua_error(L);
7235   return 0;
7236 }
7237 
7238 
_wrap_SBBreakpoint_IsEnabled(lua_State * L)7239 static int _wrap_SBBreakpoint_IsEnabled(lua_State* L) {
7240   {
7241     int SWIG_arg = 0;
7242     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7243     bool result;
7244 
7245     SWIG_check_num_args("lldb::SBBreakpoint::IsEnabled",1,1)
7246     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsEnabled",1,"lldb::SBBreakpoint *");
7247 
7248     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7249       SWIG_fail_ptr("SBBreakpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpoint);
7250     }
7251 
7252     result = (bool)(arg1)->IsEnabled();
7253     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7254     return SWIG_arg;
7255 
7256     fail: SWIGUNUSED;
7257   }
7258   lua_error(L);
7259   return 0;
7260 }
7261 
7262 
_wrap_SBBreakpoint_SetOneShot(lua_State * L)7263 static int _wrap_SBBreakpoint_SetOneShot(lua_State* L) {
7264   {
7265     int SWIG_arg = 0;
7266     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7267     bool arg2 ;
7268 
7269     SWIG_check_num_args("lldb::SBBreakpoint::SetOneShot",2,2)
7270     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",1,"lldb::SBBreakpoint *");
7271     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetOneShot",2,"bool");
7272 
7273     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7274       SWIG_fail_ptr("SBBreakpoint_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint);
7275     }
7276 
7277     arg2 = (lua_toboolean(L, 2)!=0);
7278     (arg1)->SetOneShot(arg2);
7279 
7280     return SWIG_arg;
7281 
7282     fail: SWIGUNUSED;
7283   }
7284   lua_error(L);
7285   return 0;
7286 }
7287 
7288 
_wrap_SBBreakpoint_IsOneShot(lua_State * L)7289 static int _wrap_SBBreakpoint_IsOneShot(lua_State* L) {
7290   {
7291     int SWIG_arg = 0;
7292     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7293     bool result;
7294 
7295     SWIG_check_num_args("lldb::SBBreakpoint::IsOneShot",1,1)
7296     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsOneShot",1,"lldb::SBBreakpoint const *");
7297 
7298     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7299       SWIG_fail_ptr("SBBreakpoint_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpoint);
7300     }
7301 
7302     result = (bool)((lldb::SBBreakpoint const *)arg1)->IsOneShot();
7303     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7304     return SWIG_arg;
7305 
7306     fail: SWIGUNUSED;
7307   }
7308   lua_error(L);
7309   return 0;
7310 }
7311 
7312 
_wrap_SBBreakpoint_IsInternal(lua_State * L)7313 static int _wrap_SBBreakpoint_IsInternal(lua_State* L) {
7314   {
7315     int SWIG_arg = 0;
7316     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7317     bool result;
7318 
7319     SWIG_check_num_args("lldb::SBBreakpoint::IsInternal",1,1)
7320     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsInternal",1,"lldb::SBBreakpoint *");
7321 
7322     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7323       SWIG_fail_ptr("SBBreakpoint_IsInternal",1,SWIGTYPE_p_lldb__SBBreakpoint);
7324     }
7325 
7326     result = (bool)(arg1)->IsInternal();
7327     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7328     return SWIG_arg;
7329 
7330     fail: SWIGUNUSED;
7331   }
7332   lua_error(L);
7333   return 0;
7334 }
7335 
7336 
_wrap_SBBreakpoint_GetHitCount(lua_State * L)7337 static int _wrap_SBBreakpoint_GetHitCount(lua_State* L) {
7338   {
7339     int SWIG_arg = 0;
7340     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7341     uint32_t result;
7342 
7343     SWIG_check_num_args("lldb::SBBreakpoint::GetHitCount",1,1)
7344     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetHitCount",1,"lldb::SBBreakpoint const *");
7345 
7346     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7347       SWIG_fail_ptr("SBBreakpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpoint);
7348     }
7349 
7350     result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetHitCount();
7351     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7352     return SWIG_arg;
7353 
7354     fail: SWIGUNUSED;
7355   }
7356   lua_error(L);
7357   return 0;
7358 }
7359 
7360 
_wrap_SBBreakpoint_SetIgnoreCount(lua_State * L)7361 static int _wrap_SBBreakpoint_SetIgnoreCount(lua_State* L) {
7362   {
7363     int SWIG_arg = 0;
7364     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7365     uint32_t arg2 ;
7366 
7367     SWIG_check_num_args("lldb::SBBreakpoint::SetIgnoreCount",2,2)
7368     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",1,"lldb::SBBreakpoint *");
7369     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetIgnoreCount",2,"uint32_t");
7370 
7371     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7372       SWIG_fail_ptr("SBBreakpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint);
7373     }
7374 
7375     arg2 = (uint32_t)lua_tointeger(L, 2);
7376     (arg1)->SetIgnoreCount(arg2);
7377 
7378     return SWIG_arg;
7379 
7380     fail: SWIGUNUSED;
7381   }
7382   lua_error(L);
7383   return 0;
7384 }
7385 
7386 
_wrap_SBBreakpoint_GetIgnoreCount(lua_State * L)7387 static int _wrap_SBBreakpoint_GetIgnoreCount(lua_State* L) {
7388   {
7389     int SWIG_arg = 0;
7390     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7391     uint32_t result;
7392 
7393     SWIG_check_num_args("lldb::SBBreakpoint::GetIgnoreCount",1,1)
7394     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetIgnoreCount",1,"lldb::SBBreakpoint const *");
7395 
7396     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7397       SWIG_fail_ptr("SBBreakpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpoint);
7398     }
7399 
7400     result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetIgnoreCount();
7401     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7402     return SWIG_arg;
7403 
7404     fail: SWIGUNUSED;
7405   }
7406   lua_error(L);
7407   return 0;
7408 }
7409 
7410 
_wrap_SBBreakpoint_SetCondition(lua_State * L)7411 static int _wrap_SBBreakpoint_SetCondition(lua_State* L) {
7412   {
7413     int SWIG_arg = 0;
7414     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7415     char *arg2 = (char *) 0 ;
7416 
7417     SWIG_check_num_args("lldb::SBBreakpoint::SetCondition",2,2)
7418     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",1,"lldb::SBBreakpoint *");
7419     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCondition",2,"char const *");
7420 
7421     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7422       SWIG_fail_ptr("SBBreakpoint_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint);
7423     }
7424 
7425     arg2 = (char *)lua_tostring(L, 2);
7426     (arg1)->SetCondition((char const *)arg2);
7427 
7428     return SWIG_arg;
7429 
7430     fail: SWIGUNUSED;
7431   }
7432   lua_error(L);
7433   return 0;
7434 }
7435 
7436 
_wrap_SBBreakpoint_GetCondition(lua_State * L)7437 static int _wrap_SBBreakpoint_GetCondition(lua_State* L) {
7438   {
7439     int SWIG_arg = 0;
7440     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7441     char *result = 0 ;
7442 
7443     SWIG_check_num_args("lldb::SBBreakpoint::GetCondition",1,1)
7444     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCondition",1,"lldb::SBBreakpoint *");
7445 
7446     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7447       SWIG_fail_ptr("SBBreakpoint_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpoint);
7448     }
7449 
7450     result = (char *)(arg1)->GetCondition();
7451     lua_pushstring(L,(const char *)result); SWIG_arg++;
7452     return SWIG_arg;
7453 
7454     fail: SWIGUNUSED;
7455   }
7456   lua_error(L);
7457   return 0;
7458 }
7459 
7460 
_wrap_SBBreakpoint_SetAutoContinue(lua_State * L)7461 static int _wrap_SBBreakpoint_SetAutoContinue(lua_State* L) {
7462   {
7463     int SWIG_arg = 0;
7464     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7465     bool arg2 ;
7466 
7467     SWIG_check_num_args("lldb::SBBreakpoint::SetAutoContinue",2,2)
7468     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",1,"lldb::SBBreakpoint *");
7469     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetAutoContinue",2,"bool");
7470 
7471     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7472       SWIG_fail_ptr("SBBreakpoint_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint);
7473     }
7474 
7475     arg2 = (lua_toboolean(L, 2)!=0);
7476     (arg1)->SetAutoContinue(arg2);
7477 
7478     return SWIG_arg;
7479 
7480     fail: SWIGUNUSED;
7481   }
7482   lua_error(L);
7483   return 0;
7484 }
7485 
7486 
_wrap_SBBreakpoint_GetAutoContinue(lua_State * L)7487 static int _wrap_SBBreakpoint_GetAutoContinue(lua_State* L) {
7488   {
7489     int SWIG_arg = 0;
7490     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7491     bool result;
7492 
7493     SWIG_check_num_args("lldb::SBBreakpoint::GetAutoContinue",1,1)
7494     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetAutoContinue",1,"lldb::SBBreakpoint *");
7495 
7496     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7497       SWIG_fail_ptr("SBBreakpoint_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpoint);
7498     }
7499 
7500     result = (bool)(arg1)->GetAutoContinue();
7501     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7502     return SWIG_arg;
7503 
7504     fail: SWIGUNUSED;
7505   }
7506   lua_error(L);
7507   return 0;
7508 }
7509 
7510 
_wrap_SBBreakpoint_SetThreadID(lua_State * L)7511 static int _wrap_SBBreakpoint_SetThreadID(lua_State* L) {
7512   {
7513     int SWIG_arg = 0;
7514     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7515     lldb::tid_t arg2 ;
7516 
7517     SWIG_check_num_args("lldb::SBBreakpoint::SetThreadID",2,2)
7518     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",1,"lldb::SBBreakpoint *");
7519     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadID",2,"lldb::tid_t");
7520 
7521     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7522       SWIG_fail_ptr("SBBreakpoint_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint);
7523     }
7524 
7525     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
7526     (arg1)->SetThreadID(arg2);
7527 
7528     return SWIG_arg;
7529 
7530     fail: SWIGUNUSED;
7531   }
7532   lua_error(L);
7533   return 0;
7534 }
7535 
7536 
_wrap_SBBreakpoint_GetThreadID(lua_State * L)7537 static int _wrap_SBBreakpoint_GetThreadID(lua_State* L) {
7538   {
7539     int SWIG_arg = 0;
7540     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7541     lldb::tid_t result;
7542 
7543     SWIG_check_num_args("lldb::SBBreakpoint::GetThreadID",1,1)
7544     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadID",1,"lldb::SBBreakpoint *");
7545 
7546     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7547       SWIG_fail_ptr("SBBreakpoint_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpoint);
7548     }
7549 
7550     result = (lldb::tid_t)(arg1)->GetThreadID();
7551     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7552     return SWIG_arg;
7553 
7554     fail: SWIGUNUSED;
7555   }
7556   lua_error(L);
7557   return 0;
7558 }
7559 
7560 
_wrap_SBBreakpoint_SetThreadIndex(lua_State * L)7561 static int _wrap_SBBreakpoint_SetThreadIndex(lua_State* L) {
7562   {
7563     int SWIG_arg = 0;
7564     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7565     uint32_t arg2 ;
7566 
7567     SWIG_check_num_args("lldb::SBBreakpoint::SetThreadIndex",2,2)
7568     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",1,"lldb::SBBreakpoint *");
7569     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadIndex",2,"uint32_t");
7570 
7571     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7572       SWIG_fail_ptr("SBBreakpoint_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint);
7573     }
7574 
7575     arg2 = (uint32_t)lua_tointeger(L, 2);
7576     (arg1)->SetThreadIndex(arg2);
7577 
7578     return SWIG_arg;
7579 
7580     fail: SWIGUNUSED;
7581   }
7582   lua_error(L);
7583   return 0;
7584 }
7585 
7586 
_wrap_SBBreakpoint_GetThreadIndex(lua_State * L)7587 static int _wrap_SBBreakpoint_GetThreadIndex(lua_State* L) {
7588   {
7589     int SWIG_arg = 0;
7590     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7591     uint32_t result;
7592 
7593     SWIG_check_num_args("lldb::SBBreakpoint::GetThreadIndex",1,1)
7594     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadIndex",1,"lldb::SBBreakpoint const *");
7595 
7596     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7597       SWIG_fail_ptr("SBBreakpoint_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpoint);
7598     }
7599 
7600     result = (uint32_t)((lldb::SBBreakpoint const *)arg1)->GetThreadIndex();
7601     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
7602     return SWIG_arg;
7603 
7604     fail: SWIGUNUSED;
7605   }
7606   lua_error(L);
7607   return 0;
7608 }
7609 
7610 
_wrap_SBBreakpoint_SetThreadName(lua_State * L)7611 static int _wrap_SBBreakpoint_SetThreadName(lua_State* L) {
7612   {
7613     int SWIG_arg = 0;
7614     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7615     char *arg2 = (char *) 0 ;
7616 
7617     SWIG_check_num_args("lldb::SBBreakpoint::SetThreadName",2,2)
7618     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",1,"lldb::SBBreakpoint *");
7619     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetThreadName",2,"char const *");
7620 
7621     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7622       SWIG_fail_ptr("SBBreakpoint_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7623     }
7624 
7625     arg2 = (char *)lua_tostring(L, 2);
7626     (arg1)->SetThreadName((char const *)arg2);
7627 
7628     return SWIG_arg;
7629 
7630     fail: SWIGUNUSED;
7631   }
7632   lua_error(L);
7633   return 0;
7634 }
7635 
7636 
_wrap_SBBreakpoint_GetThreadName(lua_State * L)7637 static int _wrap_SBBreakpoint_GetThreadName(lua_State* L) {
7638   {
7639     int SWIG_arg = 0;
7640     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7641     char *result = 0 ;
7642 
7643     SWIG_check_num_args("lldb::SBBreakpoint::GetThreadName",1,1)
7644     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetThreadName",1,"lldb::SBBreakpoint const *");
7645 
7646     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7647       SWIG_fail_ptr("SBBreakpoint_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7648     }
7649 
7650     result = (char *)((lldb::SBBreakpoint const *)arg1)->GetThreadName();
7651     lua_pushstring(L,(const char *)result); SWIG_arg++;
7652     return SWIG_arg;
7653 
7654     fail: SWIGUNUSED;
7655   }
7656   lua_error(L);
7657   return 0;
7658 }
7659 
7660 
_wrap_SBBreakpoint_SetQueueName(lua_State * L)7661 static int _wrap_SBBreakpoint_SetQueueName(lua_State* L) {
7662   {
7663     int SWIG_arg = 0;
7664     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7665     char *arg2 = (char *) 0 ;
7666 
7667     SWIG_check_num_args("lldb::SBBreakpoint::SetQueueName",2,2)
7668     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",1,"lldb::SBBreakpoint *");
7669     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetQueueName",2,"char const *");
7670 
7671     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7672       SWIG_fail_ptr("SBBreakpoint_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7673     }
7674 
7675     arg2 = (char *)lua_tostring(L, 2);
7676     (arg1)->SetQueueName((char const *)arg2);
7677 
7678     return SWIG_arg;
7679 
7680     fail: SWIGUNUSED;
7681   }
7682   lua_error(L);
7683   return 0;
7684 }
7685 
7686 
_wrap_SBBreakpoint_GetQueueName(lua_State * L)7687 static int _wrap_SBBreakpoint_GetQueueName(lua_State* L) {
7688   {
7689     int SWIG_arg = 0;
7690     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7691     char *result = 0 ;
7692 
7693     SWIG_check_num_args("lldb::SBBreakpoint::GetQueueName",1,1)
7694     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetQueueName",1,"lldb::SBBreakpoint const *");
7695 
7696     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7697       SWIG_fail_ptr("SBBreakpoint_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7698     }
7699 
7700     result = (char *)((lldb::SBBreakpoint const *)arg1)->GetQueueName();
7701     lua_pushstring(L,(const char *)result); SWIG_arg++;
7702     return SWIG_arg;
7703 
7704     fail: SWIGUNUSED;
7705   }
7706   lua_error(L);
7707   return 0;
7708 }
7709 
7710 
_wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0(lua_State * L)7711 static int _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0(lua_State* L) {
7712   {
7713     int SWIG_arg = 0;
7714     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7715     char *arg2 = (char *) 0 ;
7716 
7717     SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",2,2)
7718     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *");
7719     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *");
7720 
7721     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7722       SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint);
7723     }
7724 
7725     arg2 = (char *)lua_tostring(L, 2);
7726     (arg1)->SetScriptCallbackFunction((char const *)arg2);
7727 
7728     return SWIG_arg;
7729 
7730     fail: SWIGUNUSED;
7731   }
7732   lua_error(L);
7733   return 0;
7734 }
7735 
7736 
_wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(lua_State * L)7737 static int _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(lua_State* L) {
7738   {
7739     int SWIG_arg = 0;
7740     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7741     char *arg2 = (char *) 0 ;
7742     lldb::SBStructuredData *arg3 = 0 ;
7743     lldb::SBError result;
7744 
7745     SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackFunction",3,3)
7746     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",1,"lldb::SBBreakpoint *");
7747     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",2,"char const *");
7748     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackFunction",3,"lldb::SBStructuredData &");
7749 
7750     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7751       SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpoint);
7752     }
7753 
7754     arg2 = (char *)lua_tostring(L, 2);
7755 
7756     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
7757       SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData);
7758     }
7759 
7760     result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3);
7761     {
7762       lldb::SBError * resultptr = new lldb::SBError(result);
7763       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
7764     }
7765     return SWIG_arg;
7766 
7767     fail: SWIGUNUSED;
7768   }
7769   lua_error(L);
7770   return 0;
7771 }
7772 
7773 
_wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State * L)7774 static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) {
7775   int argc;
7776   int argv[4]={
7777     1,2,3,4
7778   };
7779 
7780   argc = lua_gettop(L);
7781   if (argc == 2) {
7782     int _v = 0;
7783     {
7784       void *ptr;
7785       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
7786         _v = 0;
7787       } else {
7788         _v = 1;
7789       }
7790     }
7791     if (_v) {
7792       {
7793         _v = SWIG_lua_isnilstring(L,argv[1]);
7794       }
7795       if (_v) {
7796         return _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0(L);
7797       }
7798     }
7799   }
7800   if (argc == 3) {
7801     int _v = 0;
7802     {
7803       void *ptr;
7804       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
7805         _v = 0;
7806       } else {
7807         _v = 1;
7808       }
7809     }
7810     if (_v) {
7811       {
7812         _v = SWIG_lua_isnilstring(L,argv[1]);
7813       }
7814       if (_v) {
7815         {
7816           void *ptr;
7817           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
7818             _v = 0;
7819           } else {
7820             _v = 1;
7821           }
7822         }
7823         if (_v) {
7824           return _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(L);
7825         }
7826       }
7827     }
7828   }
7829 
7830   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpoint_SetScriptCallbackFunction'\n"
7831     "  Possible C/C++ prototypes are:\n"
7832     "    lldb::SBBreakpoint::SetScriptCallbackFunction(char const *)\n"
7833     "    lldb::SBBreakpoint::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n");
7834   lua_error(L);return 0;
7835 }
7836 
7837 
_wrap_SBBreakpoint_SetCommandLineCommands(lua_State * L)7838 static int _wrap_SBBreakpoint_SetCommandLineCommands(lua_State* L) {
7839   {
7840     int SWIG_arg = 0;
7841     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7842     lldb::SBStringList *arg2 = 0 ;
7843 
7844     SWIG_check_num_args("lldb::SBBreakpoint::SetCommandLineCommands",2,2)
7845     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",1,"lldb::SBBreakpoint *");
7846     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetCommandLineCommands",2,"lldb::SBStringList &");
7847 
7848     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7849       SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint);
7850     }
7851 
7852 
7853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
7854       SWIG_fail_ptr("SBBreakpoint_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
7855     }
7856 
7857     (arg1)->SetCommandLineCommands(*arg2);
7858 
7859     return SWIG_arg;
7860 
7861     fail: SWIGUNUSED;
7862   }
7863   lua_error(L);
7864   return 0;
7865 }
7866 
7867 
_wrap_SBBreakpoint_GetCommandLineCommands(lua_State * L)7868 static int _wrap_SBBreakpoint_GetCommandLineCommands(lua_State* L) {
7869   {
7870     int SWIG_arg = 0;
7871     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7872     lldb::SBStringList *arg2 = 0 ;
7873     bool result;
7874 
7875     SWIG_check_num_args("lldb::SBBreakpoint::GetCommandLineCommands",2,2)
7876     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",1,"lldb::SBBreakpoint *");
7877     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetCommandLineCommands",2,"lldb::SBStringList &");
7878 
7879     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7880       SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpoint);
7881     }
7882 
7883 
7884     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
7885       SWIG_fail_ptr("SBBreakpoint_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
7886     }
7887 
7888     result = (bool)(arg1)->GetCommandLineCommands(*arg2);
7889     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7890     return SWIG_arg;
7891 
7892     fail: SWIGUNUSED;
7893   }
7894   lua_error(L);
7895   return 0;
7896 }
7897 
7898 
_wrap_SBBreakpoint_SetScriptCallbackBody(lua_State * L)7899 static int _wrap_SBBreakpoint_SetScriptCallbackBody(lua_State* L) {
7900   {
7901     int SWIG_arg = 0;
7902     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7903     char *arg2 = (char *) 0 ;
7904     lldb::SBError result;
7905 
7906     SWIG_check_num_args("lldb::SBBreakpoint::SetScriptCallbackBody",2,2)
7907     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",1,"lldb::SBBreakpoint *");
7908     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::SetScriptCallbackBody",2,"char const *");
7909 
7910     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7911       SWIG_fail_ptr("SBBreakpoint_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpoint);
7912     }
7913 
7914     arg2 = (char *)lua_tostring(L, 2);
7915     result = (arg1)->SetScriptCallbackBody((char const *)arg2);
7916     {
7917       lldb::SBError * resultptr = new lldb::SBError(result);
7918       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
7919     }
7920     return SWIG_arg;
7921 
7922     fail: SWIGUNUSED;
7923   }
7924   lua_error(L);
7925   return 0;
7926 }
7927 
7928 
_wrap_SBBreakpoint_AddName(lua_State * L)7929 static int _wrap_SBBreakpoint_AddName(lua_State* L) {
7930   {
7931     int SWIG_arg = 0;
7932     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7933     char *arg2 = (char *) 0 ;
7934     bool result;
7935 
7936     SWIG_check_num_args("lldb::SBBreakpoint::AddName",2,2)
7937     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",1,"lldb::SBBreakpoint *");
7938     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddName",2,"char const *");
7939 
7940     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7941       SWIG_fail_ptr("SBBreakpoint_AddName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7942     }
7943 
7944     arg2 = (char *)lua_tostring(L, 2);
7945     result = (bool)(arg1)->AddName((char const *)arg2);
7946     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7947     return SWIG_arg;
7948 
7949     fail: SWIGUNUSED;
7950   }
7951   lua_error(L);
7952   return 0;
7953 }
7954 
7955 
_wrap_SBBreakpoint_AddNameWithErrorHandling(lua_State * L)7956 static int _wrap_SBBreakpoint_AddNameWithErrorHandling(lua_State* L) {
7957   {
7958     int SWIG_arg = 0;
7959     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7960     char *arg2 = (char *) 0 ;
7961     lldb::SBError result;
7962 
7963     SWIG_check_num_args("lldb::SBBreakpoint::AddNameWithErrorHandling",2,2)
7964     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",1,"lldb::SBBreakpoint *");
7965     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",2,"char const *");
7966 
7967     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7968       SWIG_fail_ptr("SBBreakpoint_AddNameWithErrorHandling",1,SWIGTYPE_p_lldb__SBBreakpoint);
7969     }
7970 
7971     arg2 = (char *)lua_tostring(L, 2);
7972     result = (arg1)->AddNameWithErrorHandling((char const *)arg2);
7973     {
7974       lldb::SBError * resultptr = new lldb::SBError(result);
7975       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
7976     }
7977     return SWIG_arg;
7978 
7979     fail: SWIGUNUSED;
7980   }
7981   lua_error(L);
7982   return 0;
7983 }
7984 
7985 
_wrap_SBBreakpoint_RemoveName(lua_State * L)7986 static int _wrap_SBBreakpoint_RemoveName(lua_State* L) {
7987   {
7988     int SWIG_arg = 0;
7989     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
7990     char *arg2 = (char *) 0 ;
7991 
7992     SWIG_check_num_args("lldb::SBBreakpoint::RemoveName",2,2)
7993     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",1,"lldb::SBBreakpoint *");
7994     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::RemoveName",2,"char const *");
7995 
7996     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
7997       SWIG_fail_ptr("SBBreakpoint_RemoveName",1,SWIGTYPE_p_lldb__SBBreakpoint);
7998     }
7999 
8000     arg2 = (char *)lua_tostring(L, 2);
8001     (arg1)->RemoveName((char const *)arg2);
8002 
8003     return SWIG_arg;
8004 
8005     fail: SWIGUNUSED;
8006   }
8007   lua_error(L);
8008   return 0;
8009 }
8010 
8011 
_wrap_SBBreakpoint_MatchesName(lua_State * L)8012 static int _wrap_SBBreakpoint_MatchesName(lua_State* L) {
8013   {
8014     int SWIG_arg = 0;
8015     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8016     char *arg2 = (char *) 0 ;
8017     bool result;
8018 
8019     SWIG_check_num_args("lldb::SBBreakpoint::MatchesName",2,2)
8020     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",1,"lldb::SBBreakpoint *");
8021     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::MatchesName",2,"char const *");
8022 
8023     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8024       SWIG_fail_ptr("SBBreakpoint_MatchesName",1,SWIGTYPE_p_lldb__SBBreakpoint);
8025     }
8026 
8027     arg2 = (char *)lua_tostring(L, 2);
8028     result = (bool)(arg1)->MatchesName((char const *)arg2);
8029     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8030     return SWIG_arg;
8031 
8032     fail: SWIGUNUSED;
8033   }
8034   lua_error(L);
8035   return 0;
8036 }
8037 
8038 
_wrap_SBBreakpoint_GetNames(lua_State * L)8039 static int _wrap_SBBreakpoint_GetNames(lua_State* L) {
8040   {
8041     int SWIG_arg = 0;
8042     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8043     lldb::SBStringList *arg2 = 0 ;
8044 
8045     SWIG_check_num_args("lldb::SBBreakpoint::GetNames",2,2)
8046     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",1,"lldb::SBBreakpoint *");
8047     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetNames",2,"lldb::SBStringList &");
8048 
8049     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8050       SWIG_fail_ptr("SBBreakpoint_GetNames",1,SWIGTYPE_p_lldb__SBBreakpoint);
8051     }
8052 
8053 
8054     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
8055       SWIG_fail_ptr("SBBreakpoint_GetNames",2,SWIGTYPE_p_lldb__SBStringList);
8056     }
8057 
8058     (arg1)->GetNames(*arg2);
8059 
8060     return SWIG_arg;
8061 
8062     fail: SWIGUNUSED;
8063   }
8064   lua_error(L);
8065   return 0;
8066 }
8067 
8068 
_wrap_SBBreakpoint_GetNumResolvedLocations(lua_State * L)8069 static int _wrap_SBBreakpoint_GetNumResolvedLocations(lua_State* L) {
8070   {
8071     int SWIG_arg = 0;
8072     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8073     size_t result;
8074 
8075     SWIG_check_num_args("lldb::SBBreakpoint::GetNumResolvedLocations",1,1)
8076     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumResolvedLocations",1,"lldb::SBBreakpoint const *");
8077 
8078     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8079       SWIG_fail_ptr("SBBreakpoint_GetNumResolvedLocations",1,SWIGTYPE_p_lldb__SBBreakpoint);
8080     }
8081 
8082     result = ((lldb::SBBreakpoint const *)arg1)->GetNumResolvedLocations();
8083     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8084     return SWIG_arg;
8085 
8086     fail: SWIGUNUSED;
8087   }
8088   lua_error(L);
8089   return 0;
8090 }
8091 
8092 
_wrap_SBBreakpoint_GetNumLocations(lua_State * L)8093 static int _wrap_SBBreakpoint_GetNumLocations(lua_State* L) {
8094   {
8095     int SWIG_arg = 0;
8096     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8097     size_t result;
8098 
8099     SWIG_check_num_args("lldb::SBBreakpoint::GetNumLocations",1,1)
8100     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumLocations",1,"lldb::SBBreakpoint const *");
8101 
8102     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8103       SWIG_fail_ptr("SBBreakpoint_GetNumLocations",1,SWIGTYPE_p_lldb__SBBreakpoint);
8104     }
8105 
8106     result = ((lldb::SBBreakpoint const *)arg1)->GetNumLocations();
8107     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8108     return SWIG_arg;
8109 
8110     fail: SWIGUNUSED;
8111   }
8112   lua_error(L);
8113   return 0;
8114 }
8115 
8116 
_wrap_SBBreakpoint_GetDescription__SWIG_0(lua_State * L)8117 static int _wrap_SBBreakpoint_GetDescription__SWIG_0(lua_State* L) {
8118   {
8119     int SWIG_arg = 0;
8120     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8121     lldb::SBStream *arg2 = 0 ;
8122     bool result;
8123 
8124     SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",2,2)
8125     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *");
8126     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &");
8127 
8128     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8129       SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint);
8130     }
8131 
8132 
8133     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
8134       SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
8135     }
8136 
8137     result = (bool)(arg1)->GetDescription(*arg2);
8138     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8139     return SWIG_arg;
8140 
8141     fail: SWIGUNUSED;
8142   }
8143   lua_error(L);
8144   return 0;
8145 }
8146 
8147 
_wrap_SBBreakpoint_GetDescription__SWIG_1(lua_State * L)8148 static int _wrap_SBBreakpoint_GetDescription__SWIG_1(lua_State* L) {
8149   {
8150     int SWIG_arg = 0;
8151     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8152     lldb::SBStream *arg2 = 0 ;
8153     bool arg3 ;
8154     bool result;
8155 
8156     SWIG_check_num_args("lldb::SBBreakpoint::GetDescription",3,3)
8157     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",1,"lldb::SBBreakpoint *");
8158     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",2,"lldb::SBStream &");
8159     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBreakpoint::GetDescription",3,"bool");
8160 
8161     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8162       SWIG_fail_ptr("SBBreakpoint_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpoint);
8163     }
8164 
8165 
8166     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
8167       SWIG_fail_ptr("SBBreakpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
8168     }
8169 
8170     arg3 = (lua_toboolean(L, 3)!=0);
8171     result = (bool)(arg1)->GetDescription(*arg2,arg3);
8172     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8173     return SWIG_arg;
8174 
8175     fail: SWIGUNUSED;
8176   }
8177   lua_error(L);
8178   return 0;
8179 }
8180 
8181 
_wrap_SBBreakpoint_GetDescription(lua_State * L)8182 static int _wrap_SBBreakpoint_GetDescription(lua_State* L) {
8183   int argc;
8184   int argv[4]={
8185     1,2,3,4
8186   };
8187 
8188   argc = lua_gettop(L);
8189   if (argc == 2) {
8190     int _v = 0;
8191     {
8192       void *ptr;
8193       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
8194         _v = 0;
8195       } else {
8196         _v = 1;
8197       }
8198     }
8199     if (_v) {
8200       {
8201         void *ptr;
8202         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
8203           _v = 0;
8204         } else {
8205           _v = 1;
8206         }
8207       }
8208       if (_v) {
8209         return _wrap_SBBreakpoint_GetDescription__SWIG_0(L);
8210       }
8211     }
8212   }
8213   if (argc == 3) {
8214     int _v = 0;
8215     {
8216       void *ptr;
8217       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
8218         _v = 0;
8219       } else {
8220         _v = 1;
8221       }
8222     }
8223     if (_v) {
8224       {
8225         void *ptr;
8226         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
8227           _v = 0;
8228         } else {
8229           _v = 1;
8230         }
8231       }
8232       if (_v) {
8233         {
8234           _v = lua_isboolean(L,argv[2]);
8235         }
8236         if (_v) {
8237           return _wrap_SBBreakpoint_GetDescription__SWIG_1(L);
8238         }
8239       }
8240     }
8241   }
8242 
8243   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpoint_GetDescription'\n"
8244     "  Possible C/C++ prototypes are:\n"
8245     "    lldb::SBBreakpoint::GetDescription(lldb::SBStream &)\n"
8246     "    lldb::SBBreakpoint::GetDescription(lldb::SBStream &,bool)\n");
8247   lua_error(L);return 0;
8248 }
8249 
8250 
_wrap_SBBreakpoint_EventIsBreakpointEvent(lua_State * L)8251 static int _wrap_SBBreakpoint_EventIsBreakpointEvent(lua_State* L) {
8252   {
8253     int SWIG_arg = 0;
8254     lldb::SBEvent *arg1 = 0 ;
8255     bool result;
8256 
8257     SWIG_check_num_args("lldb::SBBreakpoint::EventIsBreakpointEvent",1,1)
8258     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::EventIsBreakpointEvent",1,"lldb::SBEvent const &");
8259 
8260     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
8261       SWIG_fail_ptr("SBBreakpoint_EventIsBreakpointEvent",1,SWIGTYPE_p_lldb__SBEvent);
8262     }
8263 
8264     result = (bool)lldb::SBBreakpoint::EventIsBreakpointEvent((lldb::SBEvent const &)*arg1);
8265     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8266     return SWIG_arg;
8267 
8268     fail: SWIGUNUSED;
8269   }
8270   lua_error(L);
8271   return 0;
8272 }
8273 
8274 
_wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent(lua_State * L)8275 static int _wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent(lua_State* L) {
8276   {
8277     int SWIG_arg = 0;
8278     lldb::SBEvent *arg1 = 0 ;
8279     lldb::BreakpointEventType result;
8280 
8281     SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,1)
8282     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent",1,"lldb::SBEvent const &");
8283 
8284     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
8285       SWIG_fail_ptr("SBBreakpoint_GetBreakpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
8286     }
8287 
8288     result = (lldb::BreakpointEventType)lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent((lldb::SBEvent const &)*arg1);
8289     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8290     return SWIG_arg;
8291 
8292     fail: SWIGUNUSED;
8293   }
8294   lua_error(L);
8295   return 0;
8296 }
8297 
8298 
_wrap_SBBreakpoint_GetBreakpointFromEvent(lua_State * L)8299 static int _wrap_SBBreakpoint_GetBreakpointFromEvent(lua_State* L) {
8300   {
8301     int SWIG_arg = 0;
8302     lldb::SBEvent *arg1 = 0 ;
8303     lldb::SBBreakpoint result;
8304 
8305     SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointFromEvent",1,1)
8306     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointFromEvent",1,"lldb::SBEvent const &");
8307 
8308     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
8309       SWIG_fail_ptr("SBBreakpoint_GetBreakpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
8310     }
8311 
8312     result = lldb::SBBreakpoint::GetBreakpointFromEvent((lldb::SBEvent const &)*arg1);
8313     {
8314       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
8315       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
8316     }
8317     return SWIG_arg;
8318 
8319     fail: SWIGUNUSED;
8320   }
8321   lua_error(L);
8322   return 0;
8323 }
8324 
8325 
_wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(lua_State * L)8326 static int _wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(lua_State* L) {
8327   {
8328     int SWIG_arg = 0;
8329     lldb::SBEvent *arg1 = 0 ;
8330     uint32_t arg2 ;
8331     lldb::SBBreakpointLocation result;
8332 
8333     SWIG_check_num_args("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,2)
8334     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",1,"lldb::SBEvent const &");
8335     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent",2,"uint32_t");
8336 
8337     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
8338       SWIG_fail_ptr("SBBreakpoint_GetBreakpointLocationAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
8339     }
8340 
8341     arg2 = (uint32_t)lua_tointeger(L, 2);
8342     result = lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent((lldb::SBEvent const &)*arg1,arg2);
8343     {
8344       lldb::SBBreakpointLocation * resultptr = new lldb::SBBreakpointLocation(result);
8345       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
8346     }
8347     return SWIG_arg;
8348 
8349     fail: SWIGUNUSED;
8350   }
8351   lua_error(L);
8352   return 0;
8353 }
8354 
8355 
_wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent(lua_State * L)8356 static int _wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent(lua_State* L) {
8357   {
8358     int SWIG_arg = 0;
8359     lldb::SBEvent *arg1 = 0 ;
8360     uint32_t result;
8361 
8362     SWIG_check_num_args("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,1)
8363     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent",1,"lldb::SBEvent const &");
8364 
8365     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
8366       SWIG_fail_ptr("SBBreakpoint_GetNumBreakpointLocationsFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
8367     }
8368 
8369     result = (uint32_t)lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent((lldb::SBEvent const &)*arg1);
8370     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8371     return SWIG_arg;
8372 
8373     fail: SWIGUNUSED;
8374   }
8375   lua_error(L);
8376   return 0;
8377 }
8378 
8379 
_wrap_SBBreakpoint_IsHardware(lua_State * L)8380 static int _wrap_SBBreakpoint_IsHardware(lua_State* L) {
8381   {
8382     int SWIG_arg = 0;
8383     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8384     bool result;
8385 
8386     SWIG_check_num_args("lldb::SBBreakpoint::IsHardware",1,1)
8387     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::IsHardware",1,"lldb::SBBreakpoint const *");
8388 
8389     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8390       SWIG_fail_ptr("SBBreakpoint_IsHardware",1,SWIGTYPE_p_lldb__SBBreakpoint);
8391     }
8392 
8393     result = (bool)((lldb::SBBreakpoint const *)arg1)->IsHardware();
8394     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8395     return SWIG_arg;
8396 
8397     fail: SWIGUNUSED;
8398   }
8399   lua_error(L);
8400   return 0;
8401 }
8402 
8403 
_wrap_SBBreakpoint_AddLocation(lua_State * L)8404 static int _wrap_SBBreakpoint_AddLocation(lua_State* L) {
8405   {
8406     int SWIG_arg = 0;
8407     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8408     lldb::SBAddress *arg2 = 0 ;
8409     lldb::SBError result;
8410 
8411     SWIG_check_num_args("lldb::SBBreakpoint::AddLocation",2,2)
8412     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",1,"lldb::SBBreakpoint *");
8413     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddLocation",2,"lldb::SBAddress &");
8414 
8415     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8416       SWIG_fail_ptr("SBBreakpoint_AddLocation",1,SWIGTYPE_p_lldb__SBBreakpoint);
8417     }
8418 
8419 
8420     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
8421       SWIG_fail_ptr("SBBreakpoint_AddLocation",2,SWIGTYPE_p_lldb__SBAddress);
8422     }
8423 
8424     result = (arg1)->AddLocation(*arg2);
8425     {
8426       lldb::SBError * resultptr = new lldb::SBError(result);
8427       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
8428     }
8429     return SWIG_arg;
8430 
8431     fail: SWIGUNUSED;
8432   }
8433   lua_error(L);
8434   return 0;
8435 }
8436 
8437 
_wrap_SBBreakpoint_SerializeToStructuredData(lua_State * L)8438 static int _wrap_SBBreakpoint_SerializeToStructuredData(lua_State* L) {
8439   {
8440     int SWIG_arg = 0;
8441     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8442     lldb::SBStructuredData result;
8443 
8444     SWIG_check_num_args("lldb::SBBreakpoint::SerializeToStructuredData",1,1)
8445     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::SerializeToStructuredData",1,"lldb::SBBreakpoint *");
8446 
8447     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8448       SWIG_fail_ptr("SBBreakpoint_SerializeToStructuredData",1,SWIGTYPE_p_lldb__SBBreakpoint);
8449     }
8450 
8451     result = (arg1)->SerializeToStructuredData();
8452     {
8453       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
8454       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
8455     }
8456     return SWIG_arg;
8457 
8458     fail: SWIGUNUSED;
8459   }
8460   lua_error(L);
8461   return 0;
8462 }
8463 
8464 
_wrap_SBBreakpoint___tostring(lua_State * L)8465 static int _wrap_SBBreakpoint___tostring(lua_State* L) {
8466   {
8467     int SWIG_arg = 0;
8468     lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
8469     std::string result;
8470 
8471     SWIG_check_num_args("lldb::SBBreakpoint::__repr__",1,1)
8472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::__repr__",1,"lldb::SBBreakpoint *");
8473 
8474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8475       SWIG_fail_ptr("SBBreakpoint___tostring",1,SWIGTYPE_p_lldb__SBBreakpoint);
8476     }
8477 
8478     result = lldb_SBBreakpoint___repr__(arg1);
8479     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
8480     return SWIG_arg;
8481 
8482     fail: SWIGUNUSED;
8483   }
8484   lua_error(L);
8485   return 0;
8486 }
8487 
8488 
swig_delete_SBBreakpoint(void * obj)8489 static void swig_delete_SBBreakpoint(void *obj) {
8490 lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) obj;
8491 delete arg1;
8492 }
_proxy__wrap_new_SBBreakpoint(lua_State * L)8493 static int _proxy__wrap_new_SBBreakpoint(lua_State *L) {
8494     assert(lua_istable(L,1));
8495     lua_pushcfunction(L,_wrap_new_SBBreakpoint);
8496     assert(!lua_isnil(L,-1));
8497     lua_replace(L,1); /* replace our table with real constructor */
8498     lua_call(L,lua_gettop(L)-1,1);
8499     return 1;
8500 }
8501 static swig_lua_attribute swig_SBBreakpoint_attributes[] = {
8502     {0,0,0}
8503 };
8504 static swig_lua_method swig_SBBreakpoint_methods[]= {
8505     { "__eq", _wrap_SBBreakpoint___eq},
8506     { "GetID", _wrap_SBBreakpoint_GetID},
8507     { "IsValid", _wrap_SBBreakpoint_IsValid},
8508     { "ClearAllBreakpointSites", _wrap_SBBreakpoint_ClearAllBreakpointSites},
8509     { "GetTarget", _wrap_SBBreakpoint_GetTarget},
8510     { "FindLocationByAddress", _wrap_SBBreakpoint_FindLocationByAddress},
8511     { "FindLocationIDByAddress", _wrap_SBBreakpoint_FindLocationIDByAddress},
8512     { "FindLocationByID", _wrap_SBBreakpoint_FindLocationByID},
8513     { "GetLocationAtIndex", _wrap_SBBreakpoint_GetLocationAtIndex},
8514     { "SetEnabled", _wrap_SBBreakpoint_SetEnabled},
8515     { "IsEnabled", _wrap_SBBreakpoint_IsEnabled},
8516     { "SetOneShot", _wrap_SBBreakpoint_SetOneShot},
8517     { "IsOneShot", _wrap_SBBreakpoint_IsOneShot},
8518     { "IsInternal", _wrap_SBBreakpoint_IsInternal},
8519     { "GetHitCount", _wrap_SBBreakpoint_GetHitCount},
8520     { "SetIgnoreCount", _wrap_SBBreakpoint_SetIgnoreCount},
8521     { "GetIgnoreCount", _wrap_SBBreakpoint_GetIgnoreCount},
8522     { "SetCondition", _wrap_SBBreakpoint_SetCondition},
8523     { "GetCondition", _wrap_SBBreakpoint_GetCondition},
8524     { "SetAutoContinue", _wrap_SBBreakpoint_SetAutoContinue},
8525     { "GetAutoContinue", _wrap_SBBreakpoint_GetAutoContinue},
8526     { "SetThreadID", _wrap_SBBreakpoint_SetThreadID},
8527     { "GetThreadID", _wrap_SBBreakpoint_GetThreadID},
8528     { "SetThreadIndex", _wrap_SBBreakpoint_SetThreadIndex},
8529     { "GetThreadIndex", _wrap_SBBreakpoint_GetThreadIndex},
8530     { "SetThreadName", _wrap_SBBreakpoint_SetThreadName},
8531     { "GetThreadName", _wrap_SBBreakpoint_GetThreadName},
8532     { "SetQueueName", _wrap_SBBreakpoint_SetQueueName},
8533     { "GetQueueName", _wrap_SBBreakpoint_GetQueueName},
8534     { "SetScriptCallbackFunction", _wrap_SBBreakpoint_SetScriptCallbackFunction},
8535     { "SetCommandLineCommands", _wrap_SBBreakpoint_SetCommandLineCommands},
8536     { "GetCommandLineCommands", _wrap_SBBreakpoint_GetCommandLineCommands},
8537     { "SetScriptCallbackBody", _wrap_SBBreakpoint_SetScriptCallbackBody},
8538     { "AddName", _wrap_SBBreakpoint_AddName},
8539     { "AddNameWithErrorHandling", _wrap_SBBreakpoint_AddNameWithErrorHandling},
8540     { "RemoveName", _wrap_SBBreakpoint_RemoveName},
8541     { "MatchesName", _wrap_SBBreakpoint_MatchesName},
8542     { "GetNames", _wrap_SBBreakpoint_GetNames},
8543     { "GetNumResolvedLocations", _wrap_SBBreakpoint_GetNumResolvedLocations},
8544     { "GetNumLocations", _wrap_SBBreakpoint_GetNumLocations},
8545     { "GetDescription", _wrap_SBBreakpoint_GetDescription},
8546     { "IsHardware", _wrap_SBBreakpoint_IsHardware},
8547     { "AddLocation", _wrap_SBBreakpoint_AddLocation},
8548     { "SerializeToStructuredData", _wrap_SBBreakpoint_SerializeToStructuredData},
8549     { "__tostring", _wrap_SBBreakpoint___tostring},
8550     {0,0}
8551 };
8552 static swig_lua_method swig_SBBreakpoint_meta[] = {
8553     { "__eq", _wrap_SBBreakpoint___eq},
8554     { "__tostring", _wrap_SBBreakpoint___tostring},
8555     {0,0}
8556 };
8557 
8558 static swig_lua_attribute swig_SBBreakpoint_Sf_SwigStatic_attributes[] = {
8559     {0,0,0}
8560 };
8561 static swig_lua_const_info swig_SBBreakpoint_Sf_SwigStatic_constants[]= {
8562     {0,0,0,0,0,0}
8563 };
8564 static swig_lua_method swig_SBBreakpoint_Sf_SwigStatic_methods[]= {
8565     { "EventIsBreakpointEvent", _wrap_SBBreakpoint_EventIsBreakpointEvent},
8566     { "GetBreakpointEventTypeFromEvent", _wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent},
8567     { "GetBreakpointFromEvent", _wrap_SBBreakpoint_GetBreakpointFromEvent},
8568     { "GetBreakpointLocationAtIndexFromEvent", _wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent},
8569     { "GetNumBreakpointLocationsFromEvent", _wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent},
8570     {0,0}
8571 };
8572 static swig_lua_class* swig_SBBreakpoint_Sf_SwigStatic_classes[]= {
8573     0
8574 };
8575 
8576 static swig_lua_namespace swig_SBBreakpoint_Sf_SwigStatic = {
8577     "SBBreakpoint",
8578     swig_SBBreakpoint_Sf_SwigStatic_methods,
8579     swig_SBBreakpoint_Sf_SwigStatic_attributes,
8580     swig_SBBreakpoint_Sf_SwigStatic_constants,
8581     swig_SBBreakpoint_Sf_SwigStatic_classes,
8582     0
8583 };
8584 static swig_lua_class *swig_SBBreakpoint_bases[] = {0};
8585 static const char *swig_SBBreakpoint_base_names[] = {0};
8586 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 };
8587 
_wrap_new_SBBreakpointList(lua_State * L)8588 static int _wrap_new_SBBreakpointList(lua_State* L) {
8589   {
8590     int SWIG_arg = 0;
8591     lldb::SBTarget *arg1 = 0 ;
8592     lldb::SBBreakpointList *result = 0 ;
8593 
8594     SWIG_check_num_args("lldb::SBBreakpointList::SBBreakpointList",1,1)
8595     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::SBBreakpointList",1,"lldb::SBTarget &");
8596 
8597     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
8598       SWIG_fail_ptr("new_SBBreakpointList",1,SWIGTYPE_p_lldb__SBTarget);
8599     }
8600 
8601     result = (lldb::SBBreakpointList *)new lldb::SBBreakpointList(*arg1);
8602     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointList,1); SWIG_arg++;
8603     return SWIG_arg;
8604 
8605     fail: SWIGUNUSED;
8606   }
8607   lua_error(L);
8608   return 0;
8609 }
8610 
8611 
_wrap_SBBreakpointList_GetSize(lua_State * L)8612 static int _wrap_SBBreakpointList_GetSize(lua_State* L) {
8613   {
8614     int SWIG_arg = 0;
8615     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8616     size_t result;
8617 
8618     SWIG_check_num_args("lldb::SBBreakpointList::GetSize",1,1)
8619     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetSize",1,"lldb::SBBreakpointList const *");
8620 
8621     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8622       SWIG_fail_ptr("SBBreakpointList_GetSize",1,SWIGTYPE_p_lldb__SBBreakpointList);
8623     }
8624 
8625     result = ((lldb::SBBreakpointList const *)arg1)->GetSize();
8626     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8627     return SWIG_arg;
8628 
8629     fail: SWIGUNUSED;
8630   }
8631   lua_error(L);
8632   return 0;
8633 }
8634 
8635 
_wrap_SBBreakpointList_GetBreakpointAtIndex(lua_State * L)8636 static int _wrap_SBBreakpointList_GetBreakpointAtIndex(lua_State* L) {
8637   {
8638     int SWIG_arg = 0;
8639     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8640     size_t arg2 ;
8641     lldb::SBBreakpoint result;
8642 
8643     SWIG_check_num_args("lldb::SBBreakpointList::GetBreakpointAtIndex",2,2)
8644     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",1,"lldb::SBBreakpointList *");
8645     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::GetBreakpointAtIndex",2,"size_t");
8646 
8647     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8648       SWIG_fail_ptr("SBBreakpointList_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBBreakpointList);
8649     }
8650 
8651     arg2 = (size_t)lua_tointeger(L, 2);
8652     result = (arg1)->GetBreakpointAtIndex(arg2);
8653     {
8654       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
8655       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
8656     }
8657     return SWIG_arg;
8658 
8659     fail: SWIGUNUSED;
8660   }
8661   lua_error(L);
8662   return 0;
8663 }
8664 
8665 
_wrap_SBBreakpointList_FindBreakpointByID(lua_State * L)8666 static int _wrap_SBBreakpointList_FindBreakpointByID(lua_State* L) {
8667   {
8668     int SWIG_arg = 0;
8669     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8670     lldb::break_id_t arg2 ;
8671     lldb::SBBreakpoint result;
8672 
8673     SWIG_check_num_args("lldb::SBBreakpointList::FindBreakpointByID",2,2)
8674     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",1,"lldb::SBBreakpointList *");
8675     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::FindBreakpointByID",2,"lldb::break_id_t");
8676 
8677     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8678       SWIG_fail_ptr("SBBreakpointList_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBBreakpointList);
8679     }
8680 
8681     arg2 = (lldb::break_id_t)lua_tointeger(L, 2);
8682     result = (arg1)->FindBreakpointByID(arg2);
8683     {
8684       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
8685       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
8686     }
8687     return SWIG_arg;
8688 
8689     fail: SWIGUNUSED;
8690   }
8691   lua_error(L);
8692   return 0;
8693 }
8694 
8695 
_wrap_SBBreakpointList_Append(lua_State * L)8696 static int _wrap_SBBreakpointList_Append(lua_State* L) {
8697   {
8698     int SWIG_arg = 0;
8699     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8700     lldb::SBBreakpoint *arg2 = 0 ;
8701 
8702     SWIG_check_num_args("lldb::SBBreakpointList::Append",2,2)
8703     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Append",1,"lldb::SBBreakpointList *");
8704     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::Append",2,"lldb::SBBreakpoint const &");
8705 
8706     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8707       SWIG_fail_ptr("SBBreakpointList_Append",1,SWIGTYPE_p_lldb__SBBreakpointList);
8708     }
8709 
8710 
8711     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8712       SWIG_fail_ptr("SBBreakpointList_Append",2,SWIGTYPE_p_lldb__SBBreakpoint);
8713     }
8714 
8715     (arg1)->Append((lldb::SBBreakpoint const &)*arg2);
8716 
8717     return SWIG_arg;
8718 
8719     fail: SWIGUNUSED;
8720   }
8721   lua_error(L);
8722   return 0;
8723 }
8724 
8725 
_wrap_SBBreakpointList_AppendIfUnique(lua_State * L)8726 static int _wrap_SBBreakpointList_AppendIfUnique(lua_State* L) {
8727   {
8728     int SWIG_arg = 0;
8729     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8730     lldb::SBBreakpoint *arg2 = 0 ;
8731     bool result;
8732 
8733     SWIG_check_num_args("lldb::SBBreakpointList::AppendIfUnique",2,2)
8734     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",1,"lldb::SBBreakpointList *");
8735     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendIfUnique",2,"lldb::SBBreakpoint const &");
8736 
8737     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8738       SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBBreakpointList);
8739     }
8740 
8741 
8742     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpoint,0))){
8743       SWIG_fail_ptr("SBBreakpointList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBBreakpoint);
8744     }
8745 
8746     result = (bool)(arg1)->AppendIfUnique((lldb::SBBreakpoint const &)*arg2);
8747     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8748     return SWIG_arg;
8749 
8750     fail: SWIGUNUSED;
8751   }
8752   lua_error(L);
8753   return 0;
8754 }
8755 
8756 
_wrap_SBBreakpointList_AppendByID(lua_State * L)8757 static int _wrap_SBBreakpointList_AppendByID(lua_State* L) {
8758   {
8759     int SWIG_arg = 0;
8760     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8761     lldb::break_id_t arg2 ;
8762 
8763     SWIG_check_num_args("lldb::SBBreakpointList::AppendByID",2,2)
8764     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",1,"lldb::SBBreakpointList *");
8765     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointList::AppendByID",2,"lldb::break_id_t");
8766 
8767     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8768       SWIG_fail_ptr("SBBreakpointList_AppendByID",1,SWIGTYPE_p_lldb__SBBreakpointList);
8769     }
8770 
8771     arg2 = (lldb::break_id_t)lua_tointeger(L, 2);
8772     (arg1)->AppendByID(arg2);
8773 
8774     return SWIG_arg;
8775 
8776     fail: SWIGUNUSED;
8777   }
8778   lua_error(L);
8779   return 0;
8780 }
8781 
8782 
_wrap_SBBreakpointList_Clear(lua_State * L)8783 static int _wrap_SBBreakpointList_Clear(lua_State* L) {
8784   {
8785     int SWIG_arg = 0;
8786     lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) 0 ;
8787 
8788     SWIG_check_num_args("lldb::SBBreakpointList::Clear",1,1)
8789     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointList::Clear",1,"lldb::SBBreakpointList *");
8790 
8791     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointList,0))){
8792       SWIG_fail_ptr("SBBreakpointList_Clear",1,SWIGTYPE_p_lldb__SBBreakpointList);
8793     }
8794 
8795     (arg1)->Clear();
8796 
8797     return SWIG_arg;
8798 
8799     fail: SWIGUNUSED;
8800   }
8801   lua_error(L);
8802   return 0;
8803 }
8804 
8805 
swig_delete_SBBreakpointList(void * obj)8806 static void swig_delete_SBBreakpointList(void *obj) {
8807 lldb::SBBreakpointList *arg1 = (lldb::SBBreakpointList *) obj;
8808 delete arg1;
8809 }
_proxy__wrap_new_SBBreakpointList(lua_State * L)8810 static int _proxy__wrap_new_SBBreakpointList(lua_State *L) {
8811     assert(lua_istable(L,1));
8812     lua_pushcfunction(L,_wrap_new_SBBreakpointList);
8813     assert(!lua_isnil(L,-1));
8814     lua_replace(L,1); /* replace our table with real constructor */
8815     lua_call(L,lua_gettop(L)-1,1);
8816     return 1;
8817 }
8818 static swig_lua_attribute swig_SBBreakpointList_attributes[] = {
8819     {0,0,0}
8820 };
8821 static swig_lua_method swig_SBBreakpointList_methods[]= {
8822     { "GetSize", _wrap_SBBreakpointList_GetSize},
8823     { "GetBreakpointAtIndex", _wrap_SBBreakpointList_GetBreakpointAtIndex},
8824     { "FindBreakpointByID", _wrap_SBBreakpointList_FindBreakpointByID},
8825     { "Append", _wrap_SBBreakpointList_Append},
8826     { "AppendIfUnique", _wrap_SBBreakpointList_AppendIfUnique},
8827     { "AppendByID", _wrap_SBBreakpointList_AppendByID},
8828     { "Clear", _wrap_SBBreakpointList_Clear},
8829     {0,0}
8830 };
8831 static swig_lua_method swig_SBBreakpointList_meta[] = {
8832     {0,0}
8833 };
8834 
8835 static swig_lua_attribute swig_SBBreakpointList_Sf_SwigStatic_attributes[] = {
8836     {0,0,0}
8837 };
8838 static swig_lua_const_info swig_SBBreakpointList_Sf_SwigStatic_constants[]= {
8839     {0,0,0,0,0,0}
8840 };
8841 static swig_lua_method swig_SBBreakpointList_Sf_SwigStatic_methods[]= {
8842     {0,0}
8843 };
8844 static swig_lua_class* swig_SBBreakpointList_Sf_SwigStatic_classes[]= {
8845     0
8846 };
8847 
8848 static swig_lua_namespace swig_SBBreakpointList_Sf_SwigStatic = {
8849     "SBBreakpointList",
8850     swig_SBBreakpointList_Sf_SwigStatic_methods,
8851     swig_SBBreakpointList_Sf_SwigStatic_attributes,
8852     swig_SBBreakpointList_Sf_SwigStatic_constants,
8853     swig_SBBreakpointList_Sf_SwigStatic_classes,
8854     0
8855 };
8856 static swig_lua_class *swig_SBBreakpointList_bases[] = {0};
8857 static const char *swig_SBBreakpointList_base_names[] = {0};
8858 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 };
8859 
_wrap_new_SBBreakpointLocation__SWIG_0(lua_State * L)8860 static int _wrap_new_SBBreakpointLocation__SWIG_0(lua_State* L) {
8861   {
8862     int SWIG_arg = 0;
8863     lldb::SBBreakpointLocation *result = 0 ;
8864 
8865     SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",0,0)
8866     result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation();
8867     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
8868     return SWIG_arg;
8869 
8870     fail: SWIGUNUSED;
8871   }
8872   lua_error(L);
8873   return 0;
8874 }
8875 
8876 
_wrap_new_SBBreakpointLocation__SWIG_1(lua_State * L)8877 static int _wrap_new_SBBreakpointLocation__SWIG_1(lua_State* L) {
8878   {
8879     int SWIG_arg = 0;
8880     lldb::SBBreakpointLocation *arg1 = 0 ;
8881     lldb::SBBreakpointLocation *result = 0 ;
8882 
8883     SWIG_check_num_args("lldb::SBBreakpointLocation::SBBreakpointLocation",1,1)
8884     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SBBreakpointLocation",1,"lldb::SBBreakpointLocation const &");
8885 
8886     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
8887       SWIG_fail_ptr("new_SBBreakpointLocation",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
8888     }
8889 
8890     result = (lldb::SBBreakpointLocation *)new lldb::SBBreakpointLocation((lldb::SBBreakpointLocation const &)*arg1);
8891     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointLocation,1); SWIG_arg++;
8892     return SWIG_arg;
8893 
8894     fail: SWIGUNUSED;
8895   }
8896   lua_error(L);
8897   return 0;
8898 }
8899 
8900 
_wrap_new_SBBreakpointLocation(lua_State * L)8901 static int _wrap_new_SBBreakpointLocation(lua_State* L) {
8902   int argc;
8903   int argv[2]={
8904     1,2
8905   };
8906 
8907   argc = lua_gettop(L);
8908   if (argc == 0) {
8909     return _wrap_new_SBBreakpointLocation__SWIG_0(L);
8910   }
8911   if (argc == 1) {
8912     int _v = 0;
8913     {
8914       void *ptr;
8915       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_POINTER_NO_NULL)) {
8916         _v = 0;
8917       } else {
8918         _v = 1;
8919       }
8920     }
8921     if (_v) {
8922       return _wrap_new_SBBreakpointLocation__SWIG_1(L);
8923     }
8924   }
8925 
8926   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpointLocation'\n"
8927     "  Possible C/C++ prototypes are:\n"
8928     "    lldb::SBBreakpointLocation::SBBreakpointLocation()\n"
8929     "    lldb::SBBreakpointLocation::SBBreakpointLocation(lldb::SBBreakpointLocation const &)\n");
8930   lua_error(L);return 0;
8931 }
8932 
8933 
_wrap_SBBreakpointLocation_GetID(lua_State * L)8934 static int _wrap_SBBreakpointLocation_GetID(lua_State* L) {
8935   {
8936     int SWIG_arg = 0;
8937     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
8938     lldb::break_id_t result;
8939 
8940     SWIG_check_num_args("lldb::SBBreakpointLocation::GetID",1,1)
8941     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetID",1,"lldb::SBBreakpointLocation *");
8942 
8943     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
8944       SWIG_fail_ptr("SBBreakpointLocation_GetID",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
8945     }
8946 
8947     result = (lldb::break_id_t)(arg1)->GetID();
8948     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
8949     return SWIG_arg;
8950 
8951     fail: SWIGUNUSED;
8952   }
8953   lua_error(L);
8954   return 0;
8955 }
8956 
8957 
_wrap_SBBreakpointLocation_IsValid(lua_State * L)8958 static int _wrap_SBBreakpointLocation_IsValid(lua_State* L) {
8959   {
8960     int SWIG_arg = 0;
8961     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
8962     bool result;
8963 
8964     SWIG_check_num_args("lldb::SBBreakpointLocation::IsValid",1,1)
8965     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsValid",1,"lldb::SBBreakpointLocation const *");
8966 
8967     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
8968       SWIG_fail_ptr("SBBreakpointLocation_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
8969     }
8970 
8971     result = (bool)((lldb::SBBreakpointLocation const *)arg1)->IsValid();
8972     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8973     return SWIG_arg;
8974 
8975     fail: SWIGUNUSED;
8976   }
8977   lua_error(L);
8978   return 0;
8979 }
8980 
8981 
_wrap_SBBreakpointLocation_GetAddress(lua_State * L)8982 static int _wrap_SBBreakpointLocation_GetAddress(lua_State* L) {
8983   {
8984     int SWIG_arg = 0;
8985     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
8986     lldb::SBAddress result;
8987 
8988     SWIG_check_num_args("lldb::SBBreakpointLocation::GetAddress",1,1)
8989     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAddress",1,"lldb::SBBreakpointLocation *");
8990 
8991     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
8992       SWIG_fail_ptr("SBBreakpointLocation_GetAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
8993     }
8994 
8995     result = (arg1)->GetAddress();
8996     {
8997       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
8998       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
8999     }
9000     return SWIG_arg;
9001 
9002     fail: SWIGUNUSED;
9003   }
9004   lua_error(L);
9005   return 0;
9006 }
9007 
9008 
_wrap_SBBreakpointLocation_GetLoadAddress(lua_State * L)9009 static int _wrap_SBBreakpointLocation_GetLoadAddress(lua_State* L) {
9010   {
9011     int SWIG_arg = 0;
9012     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9013     lldb::addr_t result;
9014 
9015     SWIG_check_num_args("lldb::SBBreakpointLocation::GetLoadAddress",1,1)
9016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetLoadAddress",1,"lldb::SBBreakpointLocation *");
9017 
9018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9019       SWIG_fail_ptr("SBBreakpointLocation_GetLoadAddress",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9020     }
9021 
9022     result = (lldb::addr_t)(arg1)->GetLoadAddress();
9023     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
9024     return SWIG_arg;
9025 
9026     fail: SWIGUNUSED;
9027   }
9028   lua_error(L);
9029   return 0;
9030 }
9031 
9032 
_wrap_SBBreakpointLocation_SetEnabled(lua_State * L)9033 static int _wrap_SBBreakpointLocation_SetEnabled(lua_State* L) {
9034   {
9035     int SWIG_arg = 0;
9036     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9037     bool arg2 ;
9038 
9039     SWIG_check_num_args("lldb::SBBreakpointLocation::SetEnabled",2,2)
9040     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",1,"lldb::SBBreakpointLocation *");
9041     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetEnabled",2,"bool");
9042 
9043     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9044       SWIG_fail_ptr("SBBreakpointLocation_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9045     }
9046 
9047     arg2 = (lua_toboolean(L, 2)!=0);
9048     (arg1)->SetEnabled(arg2);
9049 
9050     return SWIG_arg;
9051 
9052     fail: SWIGUNUSED;
9053   }
9054   lua_error(L);
9055   return 0;
9056 }
9057 
9058 
_wrap_SBBreakpointLocation_IsEnabled(lua_State * L)9059 static int _wrap_SBBreakpointLocation_IsEnabled(lua_State* L) {
9060   {
9061     int SWIG_arg = 0;
9062     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9063     bool result;
9064 
9065     SWIG_check_num_args("lldb::SBBreakpointLocation::IsEnabled",1,1)
9066     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsEnabled",1,"lldb::SBBreakpointLocation *");
9067 
9068     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9069       SWIG_fail_ptr("SBBreakpointLocation_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9070     }
9071 
9072     result = (bool)(arg1)->IsEnabled();
9073     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9074     return SWIG_arg;
9075 
9076     fail: SWIGUNUSED;
9077   }
9078   lua_error(L);
9079   return 0;
9080 }
9081 
9082 
_wrap_SBBreakpointLocation_GetHitCount(lua_State * L)9083 static int _wrap_SBBreakpointLocation_GetHitCount(lua_State* L) {
9084   {
9085     int SWIG_arg = 0;
9086     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9087     uint32_t result;
9088 
9089     SWIG_check_num_args("lldb::SBBreakpointLocation::GetHitCount",1,1)
9090     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetHitCount",1,"lldb::SBBreakpointLocation *");
9091 
9092     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9093       SWIG_fail_ptr("SBBreakpointLocation_GetHitCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9094     }
9095 
9096     result = (uint32_t)(arg1)->GetHitCount();
9097     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
9098     return SWIG_arg;
9099 
9100     fail: SWIGUNUSED;
9101   }
9102   lua_error(L);
9103   return 0;
9104 }
9105 
9106 
_wrap_SBBreakpointLocation_GetIgnoreCount(lua_State * L)9107 static int _wrap_SBBreakpointLocation_GetIgnoreCount(lua_State* L) {
9108   {
9109     int SWIG_arg = 0;
9110     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9111     uint32_t result;
9112 
9113     SWIG_check_num_args("lldb::SBBreakpointLocation::GetIgnoreCount",1,1)
9114     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetIgnoreCount",1,"lldb::SBBreakpointLocation *");
9115 
9116     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9117       SWIG_fail_ptr("SBBreakpointLocation_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9118     }
9119 
9120     result = (uint32_t)(arg1)->GetIgnoreCount();
9121     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
9122     return SWIG_arg;
9123 
9124     fail: SWIGUNUSED;
9125   }
9126   lua_error(L);
9127   return 0;
9128 }
9129 
9130 
_wrap_SBBreakpointLocation_SetIgnoreCount(lua_State * L)9131 static int _wrap_SBBreakpointLocation_SetIgnoreCount(lua_State* L) {
9132   {
9133     int SWIG_arg = 0;
9134     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9135     uint32_t arg2 ;
9136 
9137     SWIG_check_num_args("lldb::SBBreakpointLocation::SetIgnoreCount",2,2)
9138     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",1,"lldb::SBBreakpointLocation *");
9139     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetIgnoreCount",2,"uint32_t");
9140 
9141     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9142       SWIG_fail_ptr("SBBreakpointLocation_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9143     }
9144 
9145     arg2 = (uint32_t)lua_tointeger(L, 2);
9146     (arg1)->SetIgnoreCount(arg2);
9147 
9148     return SWIG_arg;
9149 
9150     fail: SWIGUNUSED;
9151   }
9152   lua_error(L);
9153   return 0;
9154 }
9155 
9156 
_wrap_SBBreakpointLocation_SetCondition(lua_State * L)9157 static int _wrap_SBBreakpointLocation_SetCondition(lua_State* L) {
9158   {
9159     int SWIG_arg = 0;
9160     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9161     char *arg2 = (char *) 0 ;
9162 
9163     SWIG_check_num_args("lldb::SBBreakpointLocation::SetCondition",2,2)
9164     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",1,"lldb::SBBreakpointLocation *");
9165     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCondition",2,"char const *");
9166 
9167     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9168       SWIG_fail_ptr("SBBreakpointLocation_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9169     }
9170 
9171     arg2 = (char *)lua_tostring(L, 2);
9172     (arg1)->SetCondition((char const *)arg2);
9173 
9174     return SWIG_arg;
9175 
9176     fail: SWIGUNUSED;
9177   }
9178   lua_error(L);
9179   return 0;
9180 }
9181 
9182 
_wrap_SBBreakpointLocation_GetCondition(lua_State * L)9183 static int _wrap_SBBreakpointLocation_GetCondition(lua_State* L) {
9184   {
9185     int SWIG_arg = 0;
9186     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9187     char *result = 0 ;
9188 
9189     SWIG_check_num_args("lldb::SBBreakpointLocation::GetCondition",1,1)
9190     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCondition",1,"lldb::SBBreakpointLocation *");
9191 
9192     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9193       SWIG_fail_ptr("SBBreakpointLocation_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9194     }
9195 
9196     result = (char *)(arg1)->GetCondition();
9197     lua_pushstring(L,(const char *)result); SWIG_arg++;
9198     return SWIG_arg;
9199 
9200     fail: SWIGUNUSED;
9201   }
9202   lua_error(L);
9203   return 0;
9204 }
9205 
9206 
_wrap_SBBreakpointLocation_SetAutoContinue(lua_State * L)9207 static int _wrap_SBBreakpointLocation_SetAutoContinue(lua_State* L) {
9208   {
9209     int SWIG_arg = 0;
9210     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9211     bool arg2 ;
9212 
9213     SWIG_check_num_args("lldb::SBBreakpointLocation::SetAutoContinue",2,2)
9214     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",1,"lldb::SBBreakpointLocation *");
9215     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetAutoContinue",2,"bool");
9216 
9217     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9218       SWIG_fail_ptr("SBBreakpointLocation_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9219     }
9220 
9221     arg2 = (lua_toboolean(L, 2)!=0);
9222     (arg1)->SetAutoContinue(arg2);
9223 
9224     return SWIG_arg;
9225 
9226     fail: SWIGUNUSED;
9227   }
9228   lua_error(L);
9229   return 0;
9230 }
9231 
9232 
_wrap_SBBreakpointLocation_GetAutoContinue(lua_State * L)9233 static int _wrap_SBBreakpointLocation_GetAutoContinue(lua_State* L) {
9234   {
9235     int SWIG_arg = 0;
9236     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9237     bool result;
9238 
9239     SWIG_check_num_args("lldb::SBBreakpointLocation::GetAutoContinue",1,1)
9240     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetAutoContinue",1,"lldb::SBBreakpointLocation *");
9241 
9242     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9243       SWIG_fail_ptr("SBBreakpointLocation_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9244     }
9245 
9246     result = (bool)(arg1)->GetAutoContinue();
9247     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9248     return SWIG_arg;
9249 
9250     fail: SWIGUNUSED;
9251   }
9252   lua_error(L);
9253   return 0;
9254 }
9255 
9256 
_wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(lua_State * L)9257 static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(lua_State* L) {
9258   {
9259     int SWIG_arg = 0;
9260     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9261     char *arg2 = (char *) 0 ;
9262 
9263     SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,2)
9264     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *");
9265     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *");
9266 
9267     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9268       SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9269     }
9270 
9271     arg2 = (char *)lua_tostring(L, 2);
9272     (arg1)->SetScriptCallbackFunction((char const *)arg2);
9273 
9274     return SWIG_arg;
9275 
9276     fail: SWIGUNUSED;
9277   }
9278   lua_error(L);
9279   return 0;
9280 }
9281 
9282 
_wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(lua_State * L)9283 static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(lua_State* L) {
9284   {
9285     int SWIG_arg = 0;
9286     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9287     char *arg2 = (char *) 0 ;
9288     lldb::SBStructuredData *arg3 = 0 ;
9289     lldb::SBError result;
9290 
9291     SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,3)
9292     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",1,"lldb::SBBreakpointLocation *");
9293     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",2,"char const *");
9294     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackFunction",3,"lldb::SBStructuredData &");
9295 
9296     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9297       SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9298     }
9299 
9300     arg2 = (char *)lua_tostring(L, 2);
9301 
9302     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
9303       SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData);
9304     }
9305 
9306     result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3);
9307     {
9308       lldb::SBError * resultptr = new lldb::SBError(result);
9309       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
9310     }
9311     return SWIG_arg;
9312 
9313     fail: SWIGUNUSED;
9314   }
9315   lua_error(L);
9316   return 0;
9317 }
9318 
9319 
_wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State * L)9320 static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) {
9321   int argc;
9322   int argv[4]={
9323     1,2,3,4
9324   };
9325 
9326   argc = lua_gettop(L);
9327   if (argc == 2) {
9328     int _v = 0;
9329     {
9330       void *ptr;
9331       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) {
9332         _v = 0;
9333       } else {
9334         _v = 1;
9335       }
9336     }
9337     if (_v) {
9338       {
9339         _v = SWIG_lua_isnilstring(L,argv[1]);
9340       }
9341       if (_v) {
9342         return _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(L);
9343       }
9344     }
9345   }
9346   if (argc == 3) {
9347     int _v = 0;
9348     {
9349       void *ptr;
9350       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) {
9351         _v = 0;
9352       } else {
9353         _v = 1;
9354       }
9355     }
9356     if (_v) {
9357       {
9358         _v = SWIG_lua_isnilstring(L,argv[1]);
9359       }
9360       if (_v) {
9361         {
9362           void *ptr;
9363           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
9364             _v = 0;
9365           } else {
9366             _v = 1;
9367           }
9368         }
9369         if (_v) {
9370           return _wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(L);
9371         }
9372       }
9373     }
9374   }
9375 
9376   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpointLocation_SetScriptCallbackFunction'\n"
9377     "  Possible C/C++ prototypes are:\n"
9378     "    lldb::SBBreakpointLocation::SetScriptCallbackFunction(char const *)\n"
9379     "    lldb::SBBreakpointLocation::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n");
9380   lua_error(L);return 0;
9381 }
9382 
9383 
_wrap_SBBreakpointLocation_SetScriptCallbackBody(lua_State * L)9384 static int _wrap_SBBreakpointLocation_SetScriptCallbackBody(lua_State* L) {
9385   {
9386     int SWIG_arg = 0;
9387     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9388     char *arg2 = (char *) 0 ;
9389     lldb::SBError result;
9390 
9391     SWIG_check_num_args("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,2)
9392     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",1,"lldb::SBBreakpointLocation *");
9393     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetScriptCallbackBody",2,"char const *");
9394 
9395     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9396       SWIG_fail_ptr("SBBreakpointLocation_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9397     }
9398 
9399     arg2 = (char *)lua_tostring(L, 2);
9400     result = (arg1)->SetScriptCallbackBody((char const *)arg2);
9401     {
9402       lldb::SBError * resultptr = new lldb::SBError(result);
9403       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
9404     }
9405     return SWIG_arg;
9406 
9407     fail: SWIGUNUSED;
9408   }
9409   lua_error(L);
9410   return 0;
9411 }
9412 
9413 
_wrap_SBBreakpointLocation_SetCommandLineCommands(lua_State * L)9414 static int _wrap_SBBreakpointLocation_SetCommandLineCommands(lua_State* L) {
9415   {
9416     int SWIG_arg = 0;
9417     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9418     lldb::SBStringList *arg2 = 0 ;
9419 
9420     SWIG_check_num_args("lldb::SBBreakpointLocation::SetCommandLineCommands",2,2)
9421     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",1,"lldb::SBBreakpointLocation *");
9422     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetCommandLineCommands",2,"lldb::SBStringList &");
9423 
9424     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9425       SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9426     }
9427 
9428 
9429     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
9430       SWIG_fail_ptr("SBBreakpointLocation_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
9431     }
9432 
9433     (arg1)->SetCommandLineCommands(*arg2);
9434 
9435     return SWIG_arg;
9436 
9437     fail: SWIGUNUSED;
9438   }
9439   lua_error(L);
9440   return 0;
9441 }
9442 
9443 
_wrap_SBBreakpointLocation_GetCommandLineCommands(lua_State * L)9444 static int _wrap_SBBreakpointLocation_GetCommandLineCommands(lua_State* L) {
9445   {
9446     int SWIG_arg = 0;
9447     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9448     lldb::SBStringList *arg2 = 0 ;
9449     bool result;
9450 
9451     SWIG_check_num_args("lldb::SBBreakpointLocation::GetCommandLineCommands",2,2)
9452     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",1,"lldb::SBBreakpointLocation *");
9453     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetCommandLineCommands",2,"lldb::SBStringList &");
9454 
9455     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9456       SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9457     }
9458 
9459 
9460     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
9461       SWIG_fail_ptr("SBBreakpointLocation_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
9462     }
9463 
9464     result = (bool)(arg1)->GetCommandLineCommands(*arg2);
9465     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9466     return SWIG_arg;
9467 
9468     fail: SWIGUNUSED;
9469   }
9470   lua_error(L);
9471   return 0;
9472 }
9473 
9474 
_wrap_SBBreakpointLocation_SetThreadID(lua_State * L)9475 static int _wrap_SBBreakpointLocation_SetThreadID(lua_State* L) {
9476   {
9477     int SWIG_arg = 0;
9478     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9479     lldb::tid_t arg2 ;
9480 
9481     SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadID",2,2)
9482     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",1,"lldb::SBBreakpointLocation *");
9483     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadID",2,"lldb::tid_t");
9484 
9485     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9486       SWIG_fail_ptr("SBBreakpointLocation_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9487     }
9488 
9489     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
9490     (arg1)->SetThreadID(arg2);
9491 
9492     return SWIG_arg;
9493 
9494     fail: SWIGUNUSED;
9495   }
9496   lua_error(L);
9497   return 0;
9498 }
9499 
9500 
_wrap_SBBreakpointLocation_GetThreadID(lua_State * L)9501 static int _wrap_SBBreakpointLocation_GetThreadID(lua_State* L) {
9502   {
9503     int SWIG_arg = 0;
9504     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9505     lldb::tid_t result;
9506 
9507     SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadID",1,1)
9508     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadID",1,"lldb::SBBreakpointLocation *");
9509 
9510     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9511       SWIG_fail_ptr("SBBreakpointLocation_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9512     }
9513 
9514     result = (lldb::tid_t)(arg1)->GetThreadID();
9515     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
9516     return SWIG_arg;
9517 
9518     fail: SWIGUNUSED;
9519   }
9520   lua_error(L);
9521   return 0;
9522 }
9523 
9524 
_wrap_SBBreakpointLocation_SetThreadIndex(lua_State * L)9525 static int _wrap_SBBreakpointLocation_SetThreadIndex(lua_State* L) {
9526   {
9527     int SWIG_arg = 0;
9528     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9529     uint32_t arg2 ;
9530 
9531     SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadIndex",2,2)
9532     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",1,"lldb::SBBreakpointLocation *");
9533     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadIndex",2,"uint32_t");
9534 
9535     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9536       SWIG_fail_ptr("SBBreakpointLocation_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9537     }
9538 
9539     arg2 = (uint32_t)lua_tointeger(L, 2);
9540     (arg1)->SetThreadIndex(arg2);
9541 
9542     return SWIG_arg;
9543 
9544     fail: SWIGUNUSED;
9545   }
9546   lua_error(L);
9547   return 0;
9548 }
9549 
9550 
_wrap_SBBreakpointLocation_GetThreadIndex(lua_State * L)9551 static int _wrap_SBBreakpointLocation_GetThreadIndex(lua_State* L) {
9552   {
9553     int SWIG_arg = 0;
9554     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9555     uint32_t result;
9556 
9557     SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadIndex",1,1)
9558     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadIndex",1,"lldb::SBBreakpointLocation const *");
9559 
9560     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9561       SWIG_fail_ptr("SBBreakpointLocation_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9562     }
9563 
9564     result = (uint32_t)((lldb::SBBreakpointLocation const *)arg1)->GetThreadIndex();
9565     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
9566     return SWIG_arg;
9567 
9568     fail: SWIGUNUSED;
9569   }
9570   lua_error(L);
9571   return 0;
9572 }
9573 
9574 
_wrap_SBBreakpointLocation_SetThreadName(lua_State * L)9575 static int _wrap_SBBreakpointLocation_SetThreadName(lua_State* L) {
9576   {
9577     int SWIG_arg = 0;
9578     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9579     char *arg2 = (char *) 0 ;
9580 
9581     SWIG_check_num_args("lldb::SBBreakpointLocation::SetThreadName",2,2)
9582     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",1,"lldb::SBBreakpointLocation *");
9583     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetThreadName",2,"char const *");
9584 
9585     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9586       SWIG_fail_ptr("SBBreakpointLocation_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9587     }
9588 
9589     arg2 = (char *)lua_tostring(L, 2);
9590     (arg1)->SetThreadName((char const *)arg2);
9591 
9592     return SWIG_arg;
9593 
9594     fail: SWIGUNUSED;
9595   }
9596   lua_error(L);
9597   return 0;
9598 }
9599 
9600 
_wrap_SBBreakpointLocation_GetThreadName(lua_State * L)9601 static int _wrap_SBBreakpointLocation_GetThreadName(lua_State* L) {
9602   {
9603     int SWIG_arg = 0;
9604     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9605     char *result = 0 ;
9606 
9607     SWIG_check_num_args("lldb::SBBreakpointLocation::GetThreadName",1,1)
9608     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetThreadName",1,"lldb::SBBreakpointLocation const *");
9609 
9610     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9611       SWIG_fail_ptr("SBBreakpointLocation_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9612     }
9613 
9614     result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetThreadName();
9615     lua_pushstring(L,(const char *)result); SWIG_arg++;
9616     return SWIG_arg;
9617 
9618     fail: SWIGUNUSED;
9619   }
9620   lua_error(L);
9621   return 0;
9622 }
9623 
9624 
_wrap_SBBreakpointLocation_SetQueueName(lua_State * L)9625 static int _wrap_SBBreakpointLocation_SetQueueName(lua_State* L) {
9626   {
9627     int SWIG_arg = 0;
9628     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9629     char *arg2 = (char *) 0 ;
9630 
9631     SWIG_check_num_args("lldb::SBBreakpointLocation::SetQueueName",2,2)
9632     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",1,"lldb::SBBreakpointLocation *");
9633     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::SetQueueName",2,"char const *");
9634 
9635     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9636       SWIG_fail_ptr("SBBreakpointLocation_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9637     }
9638 
9639     arg2 = (char *)lua_tostring(L, 2);
9640     (arg1)->SetQueueName((char const *)arg2);
9641 
9642     return SWIG_arg;
9643 
9644     fail: SWIGUNUSED;
9645   }
9646   lua_error(L);
9647   return 0;
9648 }
9649 
9650 
_wrap_SBBreakpointLocation_GetQueueName(lua_State * L)9651 static int _wrap_SBBreakpointLocation_GetQueueName(lua_State* L) {
9652   {
9653     int SWIG_arg = 0;
9654     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9655     char *result = 0 ;
9656 
9657     SWIG_check_num_args("lldb::SBBreakpointLocation::GetQueueName",1,1)
9658     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetQueueName",1,"lldb::SBBreakpointLocation const *");
9659 
9660     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9661       SWIG_fail_ptr("SBBreakpointLocation_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9662     }
9663 
9664     result = (char *)((lldb::SBBreakpointLocation const *)arg1)->GetQueueName();
9665     lua_pushstring(L,(const char *)result); SWIG_arg++;
9666     return SWIG_arg;
9667 
9668     fail: SWIGUNUSED;
9669   }
9670   lua_error(L);
9671   return 0;
9672 }
9673 
9674 
_wrap_SBBreakpointLocation_IsResolved(lua_State * L)9675 static int _wrap_SBBreakpointLocation_IsResolved(lua_State* L) {
9676   {
9677     int SWIG_arg = 0;
9678     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9679     bool result;
9680 
9681     SWIG_check_num_args("lldb::SBBreakpointLocation::IsResolved",1,1)
9682     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::IsResolved",1,"lldb::SBBreakpointLocation *");
9683 
9684     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9685       SWIG_fail_ptr("SBBreakpointLocation_IsResolved",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9686     }
9687 
9688     result = (bool)(arg1)->IsResolved();
9689     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9690     return SWIG_arg;
9691 
9692     fail: SWIGUNUSED;
9693   }
9694   lua_error(L);
9695   return 0;
9696 }
9697 
9698 
_wrap_SBBreakpointLocation_GetDescription(lua_State * L)9699 static int _wrap_SBBreakpointLocation_GetDescription(lua_State* L) {
9700   {
9701     int SWIG_arg = 0;
9702     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9703     lldb::SBStream *arg2 = 0 ;
9704     lldb::DescriptionLevel arg3 ;
9705     bool result;
9706 
9707     SWIG_check_num_args("lldb::SBBreakpointLocation::GetDescription",3,3)
9708     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",1,"lldb::SBBreakpointLocation *");
9709     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",2,"lldb::SBStream &");
9710     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetDescription",3,"lldb::DescriptionLevel");
9711 
9712     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9713       SWIG_fail_ptr("SBBreakpointLocation_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9714     }
9715 
9716 
9717     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
9718       SWIG_fail_ptr("SBBreakpointLocation_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
9719     }
9720 
9721     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
9722     result = (bool)(arg1)->GetDescription(*arg2,arg3);
9723     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9724     return SWIG_arg;
9725 
9726     fail: SWIGUNUSED;
9727   }
9728   lua_error(L);
9729   return 0;
9730 }
9731 
9732 
_wrap_SBBreakpointLocation_GetBreakpoint(lua_State * L)9733 static int _wrap_SBBreakpointLocation_GetBreakpoint(lua_State* L) {
9734   {
9735     int SWIG_arg = 0;
9736     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9737     lldb::SBBreakpoint result;
9738 
9739     SWIG_check_num_args("lldb::SBBreakpointLocation::GetBreakpoint",1,1)
9740     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::GetBreakpoint",1,"lldb::SBBreakpointLocation *");
9741 
9742     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9743       SWIG_fail_ptr("SBBreakpointLocation_GetBreakpoint",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9744     }
9745 
9746     result = (arg1)->GetBreakpoint();
9747     {
9748       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
9749       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
9750     }
9751     return SWIG_arg;
9752 
9753     fail: SWIGUNUSED;
9754   }
9755   lua_error(L);
9756   return 0;
9757 }
9758 
9759 
_wrap_SBBreakpointLocation___tostring(lua_State * L)9760 static int _wrap_SBBreakpointLocation___tostring(lua_State* L) {
9761   {
9762     int SWIG_arg = 0;
9763     lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) 0 ;
9764     std::string result;
9765 
9766     SWIG_check_num_args("lldb::SBBreakpointLocation::__repr__",1,1)
9767     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointLocation::__repr__",1,"lldb::SBBreakpointLocation *");
9768 
9769     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointLocation,0))){
9770       SWIG_fail_ptr("SBBreakpointLocation___tostring",1,SWIGTYPE_p_lldb__SBBreakpointLocation);
9771     }
9772 
9773     result = lldb_SBBreakpointLocation___repr__(arg1);
9774     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
9775     return SWIG_arg;
9776 
9777     fail: SWIGUNUSED;
9778   }
9779   lua_error(L);
9780   return 0;
9781 }
9782 
9783 
swig_delete_SBBreakpointLocation(void * obj)9784 static void swig_delete_SBBreakpointLocation(void *obj) {
9785 lldb::SBBreakpointLocation *arg1 = (lldb::SBBreakpointLocation *) obj;
9786 delete arg1;
9787 }
_proxy__wrap_new_SBBreakpointLocation(lua_State * L)9788 static int _proxy__wrap_new_SBBreakpointLocation(lua_State *L) {
9789     assert(lua_istable(L,1));
9790     lua_pushcfunction(L,_wrap_new_SBBreakpointLocation);
9791     assert(!lua_isnil(L,-1));
9792     lua_replace(L,1); /* replace our table with real constructor */
9793     lua_call(L,lua_gettop(L)-1,1);
9794     return 1;
9795 }
9796 static swig_lua_attribute swig_SBBreakpointLocation_attributes[] = {
9797     {0,0,0}
9798 };
9799 static swig_lua_method swig_SBBreakpointLocation_methods[]= {
9800     { "GetID", _wrap_SBBreakpointLocation_GetID},
9801     { "IsValid", _wrap_SBBreakpointLocation_IsValid},
9802     { "GetAddress", _wrap_SBBreakpointLocation_GetAddress},
9803     { "GetLoadAddress", _wrap_SBBreakpointLocation_GetLoadAddress},
9804     { "SetEnabled", _wrap_SBBreakpointLocation_SetEnabled},
9805     { "IsEnabled", _wrap_SBBreakpointLocation_IsEnabled},
9806     { "GetHitCount", _wrap_SBBreakpointLocation_GetHitCount},
9807     { "GetIgnoreCount", _wrap_SBBreakpointLocation_GetIgnoreCount},
9808     { "SetIgnoreCount", _wrap_SBBreakpointLocation_SetIgnoreCount},
9809     { "SetCondition", _wrap_SBBreakpointLocation_SetCondition},
9810     { "GetCondition", _wrap_SBBreakpointLocation_GetCondition},
9811     { "SetAutoContinue", _wrap_SBBreakpointLocation_SetAutoContinue},
9812     { "GetAutoContinue", _wrap_SBBreakpointLocation_GetAutoContinue},
9813     { "SetScriptCallbackFunction", _wrap_SBBreakpointLocation_SetScriptCallbackFunction},
9814     { "SetScriptCallbackBody", _wrap_SBBreakpointLocation_SetScriptCallbackBody},
9815     { "SetCommandLineCommands", _wrap_SBBreakpointLocation_SetCommandLineCommands},
9816     { "GetCommandLineCommands", _wrap_SBBreakpointLocation_GetCommandLineCommands},
9817     { "SetThreadID", _wrap_SBBreakpointLocation_SetThreadID},
9818     { "GetThreadID", _wrap_SBBreakpointLocation_GetThreadID},
9819     { "SetThreadIndex", _wrap_SBBreakpointLocation_SetThreadIndex},
9820     { "GetThreadIndex", _wrap_SBBreakpointLocation_GetThreadIndex},
9821     { "SetThreadName", _wrap_SBBreakpointLocation_SetThreadName},
9822     { "GetThreadName", _wrap_SBBreakpointLocation_GetThreadName},
9823     { "SetQueueName", _wrap_SBBreakpointLocation_SetQueueName},
9824     { "GetQueueName", _wrap_SBBreakpointLocation_GetQueueName},
9825     { "IsResolved", _wrap_SBBreakpointLocation_IsResolved},
9826     { "GetDescription", _wrap_SBBreakpointLocation_GetDescription},
9827     { "GetBreakpoint", _wrap_SBBreakpointLocation_GetBreakpoint},
9828     { "__tostring", _wrap_SBBreakpointLocation___tostring},
9829     {0,0}
9830 };
9831 static swig_lua_method swig_SBBreakpointLocation_meta[] = {
9832     { "__tostring", _wrap_SBBreakpointLocation___tostring},
9833     {0,0}
9834 };
9835 
9836 static swig_lua_attribute swig_SBBreakpointLocation_Sf_SwigStatic_attributes[] = {
9837     {0,0,0}
9838 };
9839 static swig_lua_const_info swig_SBBreakpointLocation_Sf_SwigStatic_constants[]= {
9840     {0,0,0,0,0,0}
9841 };
9842 static swig_lua_method swig_SBBreakpointLocation_Sf_SwigStatic_methods[]= {
9843     {0,0}
9844 };
9845 static swig_lua_class* swig_SBBreakpointLocation_Sf_SwigStatic_classes[]= {
9846     0
9847 };
9848 
9849 static swig_lua_namespace swig_SBBreakpointLocation_Sf_SwigStatic = {
9850     "SBBreakpointLocation",
9851     swig_SBBreakpointLocation_Sf_SwigStatic_methods,
9852     swig_SBBreakpointLocation_Sf_SwigStatic_attributes,
9853     swig_SBBreakpointLocation_Sf_SwigStatic_constants,
9854     swig_SBBreakpointLocation_Sf_SwigStatic_classes,
9855     0
9856 };
9857 static swig_lua_class *swig_SBBreakpointLocation_bases[] = {0};
9858 static const char *swig_SBBreakpointLocation_base_names[] = {0};
9859 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 };
9860 
_wrap_new_SBBreakpointName__SWIG_0(lua_State * L)9861 static int _wrap_new_SBBreakpointName__SWIG_0(lua_State* L) {
9862   {
9863     int SWIG_arg = 0;
9864     lldb::SBBreakpointName *result = 0 ;
9865 
9866     SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",0,0)
9867     result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName();
9868     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++;
9869     return SWIG_arg;
9870 
9871     fail: SWIGUNUSED;
9872   }
9873   lua_error(L);
9874   return 0;
9875 }
9876 
9877 
_wrap_new_SBBreakpointName__SWIG_1(lua_State * L)9878 static int _wrap_new_SBBreakpointName__SWIG_1(lua_State* L) {
9879   {
9880     int SWIG_arg = 0;
9881     lldb::SBTarget *arg1 = 0 ;
9882     char *arg2 = (char *) 0 ;
9883     lldb::SBBreakpointName *result = 0 ;
9884 
9885     SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2)
9886     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBTarget &");
9887     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *");
9888 
9889     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
9890       SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBTarget);
9891     }
9892 
9893     arg2 = (char *)lua_tostring(L, 2);
9894     result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2);
9895     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++;
9896     return SWIG_arg;
9897 
9898     fail: SWIGUNUSED;
9899   }
9900   lua_error(L);
9901   return 0;
9902 }
9903 
9904 
_wrap_new_SBBreakpointName__SWIG_2(lua_State * L)9905 static int _wrap_new_SBBreakpointName__SWIG_2(lua_State* L) {
9906   {
9907     int SWIG_arg = 0;
9908     lldb::SBBreakpoint *arg1 = 0 ;
9909     char *arg2 = (char *) 0 ;
9910     lldb::SBBreakpointName *result = 0 ;
9911 
9912     SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",2,2)
9913     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpoint &");
9914     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",2,"char const *");
9915 
9916     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
9917       SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpoint);
9918     }
9919 
9920     arg2 = (char *)lua_tostring(L, 2);
9921     result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName(*arg1,(char const *)arg2);
9922     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++;
9923     return SWIG_arg;
9924 
9925     fail: SWIGUNUSED;
9926   }
9927   lua_error(L);
9928   return 0;
9929 }
9930 
9931 
_wrap_new_SBBreakpointName__SWIG_3(lua_State * L)9932 static int _wrap_new_SBBreakpointName__SWIG_3(lua_State* L) {
9933   {
9934     int SWIG_arg = 0;
9935     lldb::SBBreakpointName *arg1 = 0 ;
9936     lldb::SBBreakpointName *result = 0 ;
9937 
9938     SWIG_check_num_args("lldb::SBBreakpointName::SBBreakpointName",1,1)
9939     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SBBreakpointName",1,"lldb::SBBreakpointName const &");
9940 
9941     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
9942       SWIG_fail_ptr("new_SBBreakpointName",1,SWIGTYPE_p_lldb__SBBreakpointName);
9943     }
9944 
9945     result = (lldb::SBBreakpointName *)new lldb::SBBreakpointName((lldb::SBBreakpointName const &)*arg1);
9946     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBreakpointName,1); SWIG_arg++;
9947     return SWIG_arg;
9948 
9949     fail: SWIGUNUSED;
9950   }
9951   lua_error(L);
9952   return 0;
9953 }
9954 
9955 
_wrap_new_SBBreakpointName(lua_State * L)9956 static int _wrap_new_SBBreakpointName(lua_State* L) {
9957   int argc;
9958   int argv[3]={
9959     1,2,3
9960   };
9961 
9962   argc = lua_gettop(L);
9963   if (argc == 0) {
9964     return _wrap_new_SBBreakpointName__SWIG_0(L);
9965   }
9966   if (argc == 1) {
9967     int _v = 0;
9968     {
9969       void *ptr;
9970       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, SWIG_POINTER_NO_NULL)) {
9971         _v = 0;
9972       } else {
9973         _v = 1;
9974       }
9975     }
9976     if (_v) {
9977       return _wrap_new_SBBreakpointName__SWIG_3(L);
9978     }
9979   }
9980   if (argc == 2) {
9981     int _v = 0;
9982     {
9983       void *ptr;
9984       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) {
9985         _v = 0;
9986       } else {
9987         _v = 1;
9988       }
9989     }
9990     if (_v) {
9991       {
9992         _v = SWIG_lua_isnilstring(L,argv[1]);
9993       }
9994       if (_v) {
9995         return _wrap_new_SBBreakpointName__SWIG_2(L);
9996       }
9997     }
9998   }
9999   if (argc == 2) {
10000     int _v = 0;
10001     {
10002       void *ptr;
10003       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
10004         _v = 0;
10005       } else {
10006         _v = 1;
10007       }
10008     }
10009     if (_v) {
10010       {
10011         _v = SWIG_lua_isnilstring(L,argv[1]);
10012       }
10013       if (_v) {
10014         return _wrap_new_SBBreakpointName__SWIG_1(L);
10015       }
10016     }
10017   }
10018 
10019   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBreakpointName'\n"
10020     "  Possible C/C++ prototypes are:\n"
10021     "    lldb::SBBreakpointName::SBBreakpointName()\n"
10022     "    lldb::SBBreakpointName::SBBreakpointName(lldb::SBTarget &,char const *)\n"
10023     "    lldb::SBBreakpointName::SBBreakpointName(lldb::SBBreakpoint &,char const *)\n"
10024     "    lldb::SBBreakpointName::SBBreakpointName(lldb::SBBreakpointName const &)\n");
10025   lua_error(L);return 0;
10026 }
10027 
10028 
_wrap_SBBreakpointName___eq(lua_State * L)10029 static int _wrap_SBBreakpointName___eq(lua_State* L) {
10030   {
10031     int SWIG_arg = 0;
10032     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10033     lldb::SBBreakpointName *arg2 = 0 ;
10034     bool result;
10035 
10036     SWIG_check_num_args("lldb::SBBreakpointName::operator ==",2,2)
10037     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",1,"lldb::SBBreakpointName *");
10038     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::operator ==",2,"lldb::SBBreakpointName const &");
10039 
10040     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10041       SWIG_fail_ptr("SBBreakpointName___eq",1,SWIGTYPE_p_lldb__SBBreakpointName);
10042     }
10043 
10044 
10045     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10046       SWIG_fail_ptr("SBBreakpointName___eq",2,SWIGTYPE_p_lldb__SBBreakpointName);
10047     }
10048 
10049     result = (bool)(arg1)->operator ==((lldb::SBBreakpointName const &)*arg2);
10050     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10051     return SWIG_arg;
10052 
10053     fail: SWIGUNUSED;
10054   }
10055   lua_error(L);
10056   return 0;
10057 }
10058 
10059 
_wrap_SBBreakpointName_IsValid(lua_State * L)10060 static int _wrap_SBBreakpointName_IsValid(lua_State* L) {
10061   {
10062     int SWIG_arg = 0;
10063     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10064     bool result;
10065 
10066     SWIG_check_num_args("lldb::SBBreakpointName::IsValid",1,1)
10067     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsValid",1,"lldb::SBBreakpointName const *");
10068 
10069     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10070       SWIG_fail_ptr("SBBreakpointName_IsValid",1,SWIGTYPE_p_lldb__SBBreakpointName);
10071     }
10072 
10073     result = (bool)((lldb::SBBreakpointName const *)arg1)->IsValid();
10074     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10075     return SWIG_arg;
10076 
10077     fail: SWIGUNUSED;
10078   }
10079   lua_error(L);
10080   return 0;
10081 }
10082 
10083 
_wrap_SBBreakpointName_GetName(lua_State * L)10084 static int _wrap_SBBreakpointName_GetName(lua_State* L) {
10085   {
10086     int SWIG_arg = 0;
10087     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10088     char *result = 0 ;
10089 
10090     SWIG_check_num_args("lldb::SBBreakpointName::GetName",1,1)
10091     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetName",1,"lldb::SBBreakpointName const *");
10092 
10093     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10094       SWIG_fail_ptr("SBBreakpointName_GetName",1,SWIGTYPE_p_lldb__SBBreakpointName);
10095     }
10096 
10097     result = (char *)((lldb::SBBreakpointName const *)arg1)->GetName();
10098     lua_pushstring(L,(const char *)result); SWIG_arg++;
10099     return SWIG_arg;
10100 
10101     fail: SWIGUNUSED;
10102   }
10103   lua_error(L);
10104   return 0;
10105 }
10106 
10107 
_wrap_SBBreakpointName_SetEnabled(lua_State * L)10108 static int _wrap_SBBreakpointName_SetEnabled(lua_State* L) {
10109   {
10110     int SWIG_arg = 0;
10111     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10112     bool arg2 ;
10113 
10114     SWIG_check_num_args("lldb::SBBreakpointName::SetEnabled",2,2)
10115     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",1,"lldb::SBBreakpointName *");
10116     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetEnabled",2,"bool");
10117 
10118     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10119       SWIG_fail_ptr("SBBreakpointName_SetEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName);
10120     }
10121 
10122     arg2 = (lua_toboolean(L, 2)!=0);
10123     (arg1)->SetEnabled(arg2);
10124 
10125     return SWIG_arg;
10126 
10127     fail: SWIGUNUSED;
10128   }
10129   lua_error(L);
10130   return 0;
10131 }
10132 
10133 
_wrap_SBBreakpointName_IsEnabled(lua_State * L)10134 static int _wrap_SBBreakpointName_IsEnabled(lua_State* L) {
10135   {
10136     int SWIG_arg = 0;
10137     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10138     bool result;
10139 
10140     SWIG_check_num_args("lldb::SBBreakpointName::IsEnabled",1,1)
10141     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsEnabled",1,"lldb::SBBreakpointName *");
10142 
10143     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10144       SWIG_fail_ptr("SBBreakpointName_IsEnabled",1,SWIGTYPE_p_lldb__SBBreakpointName);
10145     }
10146 
10147     result = (bool)(arg1)->IsEnabled();
10148     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10149     return SWIG_arg;
10150 
10151     fail: SWIGUNUSED;
10152   }
10153   lua_error(L);
10154   return 0;
10155 }
10156 
10157 
_wrap_SBBreakpointName_SetOneShot(lua_State * L)10158 static int _wrap_SBBreakpointName_SetOneShot(lua_State* L) {
10159   {
10160     int SWIG_arg = 0;
10161     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10162     bool arg2 ;
10163 
10164     SWIG_check_num_args("lldb::SBBreakpointName::SetOneShot",2,2)
10165     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",1,"lldb::SBBreakpointName *");
10166     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetOneShot",2,"bool");
10167 
10168     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10169       SWIG_fail_ptr("SBBreakpointName_SetOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName);
10170     }
10171 
10172     arg2 = (lua_toboolean(L, 2)!=0);
10173     (arg1)->SetOneShot(arg2);
10174 
10175     return SWIG_arg;
10176 
10177     fail: SWIGUNUSED;
10178   }
10179   lua_error(L);
10180   return 0;
10181 }
10182 
10183 
_wrap_SBBreakpointName_IsOneShot(lua_State * L)10184 static int _wrap_SBBreakpointName_IsOneShot(lua_State* L) {
10185   {
10186     int SWIG_arg = 0;
10187     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10188     bool result;
10189 
10190     SWIG_check_num_args("lldb::SBBreakpointName::IsOneShot",1,1)
10191     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::IsOneShot",1,"lldb::SBBreakpointName const *");
10192 
10193     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10194       SWIG_fail_ptr("SBBreakpointName_IsOneShot",1,SWIGTYPE_p_lldb__SBBreakpointName);
10195     }
10196 
10197     result = (bool)((lldb::SBBreakpointName const *)arg1)->IsOneShot();
10198     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10199     return SWIG_arg;
10200 
10201     fail: SWIGUNUSED;
10202   }
10203   lua_error(L);
10204   return 0;
10205 }
10206 
10207 
_wrap_SBBreakpointName_SetIgnoreCount(lua_State * L)10208 static int _wrap_SBBreakpointName_SetIgnoreCount(lua_State* L) {
10209   {
10210     int SWIG_arg = 0;
10211     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10212     uint32_t arg2 ;
10213 
10214     SWIG_check_num_args("lldb::SBBreakpointName::SetIgnoreCount",2,2)
10215     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",1,"lldb::SBBreakpointName *");
10216     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetIgnoreCount",2,"uint32_t");
10217 
10218     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10219       SWIG_fail_ptr("SBBreakpointName_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName);
10220     }
10221 
10222     arg2 = (uint32_t)lua_tointeger(L, 2);
10223     (arg1)->SetIgnoreCount(arg2);
10224 
10225     return SWIG_arg;
10226 
10227     fail: SWIGUNUSED;
10228   }
10229   lua_error(L);
10230   return 0;
10231 }
10232 
10233 
_wrap_SBBreakpointName_GetIgnoreCount(lua_State * L)10234 static int _wrap_SBBreakpointName_GetIgnoreCount(lua_State* L) {
10235   {
10236     int SWIG_arg = 0;
10237     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10238     uint32_t result;
10239 
10240     SWIG_check_num_args("lldb::SBBreakpointName::GetIgnoreCount",1,1)
10241     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetIgnoreCount",1,"lldb::SBBreakpointName const *");
10242 
10243     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10244       SWIG_fail_ptr("SBBreakpointName_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBBreakpointName);
10245     }
10246 
10247     result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetIgnoreCount();
10248     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
10249     return SWIG_arg;
10250 
10251     fail: SWIGUNUSED;
10252   }
10253   lua_error(L);
10254   return 0;
10255 }
10256 
10257 
_wrap_SBBreakpointName_SetCondition(lua_State * L)10258 static int _wrap_SBBreakpointName_SetCondition(lua_State* L) {
10259   {
10260     int SWIG_arg = 0;
10261     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10262     char *arg2 = (char *) 0 ;
10263 
10264     SWIG_check_num_args("lldb::SBBreakpointName::SetCondition",2,2)
10265     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",1,"lldb::SBBreakpointName *");
10266     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCondition",2,"char const *");
10267 
10268     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10269       SWIG_fail_ptr("SBBreakpointName_SetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName);
10270     }
10271 
10272     arg2 = (char *)lua_tostring(L, 2);
10273     (arg1)->SetCondition((char const *)arg2);
10274 
10275     return SWIG_arg;
10276 
10277     fail: SWIGUNUSED;
10278   }
10279   lua_error(L);
10280   return 0;
10281 }
10282 
10283 
_wrap_SBBreakpointName_GetCondition(lua_State * L)10284 static int _wrap_SBBreakpointName_GetCondition(lua_State* L) {
10285   {
10286     int SWIG_arg = 0;
10287     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10288     char *result = 0 ;
10289 
10290     SWIG_check_num_args("lldb::SBBreakpointName::GetCondition",1,1)
10291     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCondition",1,"lldb::SBBreakpointName *");
10292 
10293     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10294       SWIG_fail_ptr("SBBreakpointName_GetCondition",1,SWIGTYPE_p_lldb__SBBreakpointName);
10295     }
10296 
10297     result = (char *)(arg1)->GetCondition();
10298     lua_pushstring(L,(const char *)result); SWIG_arg++;
10299     return SWIG_arg;
10300 
10301     fail: SWIGUNUSED;
10302   }
10303   lua_error(L);
10304   return 0;
10305 }
10306 
10307 
_wrap_SBBreakpointName_SetAutoContinue(lua_State * L)10308 static int _wrap_SBBreakpointName_SetAutoContinue(lua_State* L) {
10309   {
10310     int SWIG_arg = 0;
10311     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10312     bool arg2 ;
10313 
10314     SWIG_check_num_args("lldb::SBBreakpointName::SetAutoContinue",2,2)
10315     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",1,"lldb::SBBreakpointName *");
10316     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAutoContinue",2,"bool");
10317 
10318     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10319       SWIG_fail_ptr("SBBreakpointName_SetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName);
10320     }
10321 
10322     arg2 = (lua_toboolean(L, 2)!=0);
10323     (arg1)->SetAutoContinue(arg2);
10324 
10325     return SWIG_arg;
10326 
10327     fail: SWIGUNUSED;
10328   }
10329   lua_error(L);
10330   return 0;
10331 }
10332 
10333 
_wrap_SBBreakpointName_GetAutoContinue(lua_State * L)10334 static int _wrap_SBBreakpointName_GetAutoContinue(lua_State* L) {
10335   {
10336     int SWIG_arg = 0;
10337     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10338     bool result;
10339 
10340     SWIG_check_num_args("lldb::SBBreakpointName::GetAutoContinue",1,1)
10341     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAutoContinue",1,"lldb::SBBreakpointName *");
10342 
10343     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10344       SWIG_fail_ptr("SBBreakpointName_GetAutoContinue",1,SWIGTYPE_p_lldb__SBBreakpointName);
10345     }
10346 
10347     result = (bool)(arg1)->GetAutoContinue();
10348     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10349     return SWIG_arg;
10350 
10351     fail: SWIGUNUSED;
10352   }
10353   lua_error(L);
10354   return 0;
10355 }
10356 
10357 
_wrap_SBBreakpointName_SetThreadID(lua_State * L)10358 static int _wrap_SBBreakpointName_SetThreadID(lua_State* L) {
10359   {
10360     int SWIG_arg = 0;
10361     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10362     lldb::tid_t arg2 ;
10363 
10364     SWIG_check_num_args("lldb::SBBreakpointName::SetThreadID",2,2)
10365     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",1,"lldb::SBBreakpointName *");
10366     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadID",2,"lldb::tid_t");
10367 
10368     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10369       SWIG_fail_ptr("SBBreakpointName_SetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName);
10370     }
10371 
10372     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
10373     (arg1)->SetThreadID(arg2);
10374 
10375     return SWIG_arg;
10376 
10377     fail: SWIGUNUSED;
10378   }
10379   lua_error(L);
10380   return 0;
10381 }
10382 
10383 
_wrap_SBBreakpointName_GetThreadID(lua_State * L)10384 static int _wrap_SBBreakpointName_GetThreadID(lua_State* L) {
10385   {
10386     int SWIG_arg = 0;
10387     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10388     lldb::tid_t result;
10389 
10390     SWIG_check_num_args("lldb::SBBreakpointName::GetThreadID",1,1)
10391     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadID",1,"lldb::SBBreakpointName *");
10392 
10393     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10394       SWIG_fail_ptr("SBBreakpointName_GetThreadID",1,SWIGTYPE_p_lldb__SBBreakpointName);
10395     }
10396 
10397     result = (lldb::tid_t)(arg1)->GetThreadID();
10398     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
10399     return SWIG_arg;
10400 
10401     fail: SWIGUNUSED;
10402   }
10403   lua_error(L);
10404   return 0;
10405 }
10406 
10407 
_wrap_SBBreakpointName_SetThreadIndex(lua_State * L)10408 static int _wrap_SBBreakpointName_SetThreadIndex(lua_State* L) {
10409   {
10410     int SWIG_arg = 0;
10411     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10412     uint32_t arg2 ;
10413 
10414     SWIG_check_num_args("lldb::SBBreakpointName::SetThreadIndex",2,2)
10415     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",1,"lldb::SBBreakpointName *");
10416     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadIndex",2,"uint32_t");
10417 
10418     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10419       SWIG_fail_ptr("SBBreakpointName_SetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName);
10420     }
10421 
10422     arg2 = (uint32_t)lua_tointeger(L, 2);
10423     (arg1)->SetThreadIndex(arg2);
10424 
10425     return SWIG_arg;
10426 
10427     fail: SWIGUNUSED;
10428   }
10429   lua_error(L);
10430   return 0;
10431 }
10432 
10433 
_wrap_SBBreakpointName_GetThreadIndex(lua_State * L)10434 static int _wrap_SBBreakpointName_GetThreadIndex(lua_State* L) {
10435   {
10436     int SWIG_arg = 0;
10437     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10438     uint32_t result;
10439 
10440     SWIG_check_num_args("lldb::SBBreakpointName::GetThreadIndex",1,1)
10441     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadIndex",1,"lldb::SBBreakpointName const *");
10442 
10443     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10444       SWIG_fail_ptr("SBBreakpointName_GetThreadIndex",1,SWIGTYPE_p_lldb__SBBreakpointName);
10445     }
10446 
10447     result = (uint32_t)((lldb::SBBreakpointName const *)arg1)->GetThreadIndex();
10448     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
10449     return SWIG_arg;
10450 
10451     fail: SWIGUNUSED;
10452   }
10453   lua_error(L);
10454   return 0;
10455 }
10456 
10457 
_wrap_SBBreakpointName_SetThreadName(lua_State * L)10458 static int _wrap_SBBreakpointName_SetThreadName(lua_State* L) {
10459   {
10460     int SWIG_arg = 0;
10461     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10462     char *arg2 = (char *) 0 ;
10463 
10464     SWIG_check_num_args("lldb::SBBreakpointName::SetThreadName",2,2)
10465     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",1,"lldb::SBBreakpointName *");
10466     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetThreadName",2,"char const *");
10467 
10468     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10469       SWIG_fail_ptr("SBBreakpointName_SetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName);
10470     }
10471 
10472     arg2 = (char *)lua_tostring(L, 2);
10473     (arg1)->SetThreadName((char const *)arg2);
10474 
10475     return SWIG_arg;
10476 
10477     fail: SWIGUNUSED;
10478   }
10479   lua_error(L);
10480   return 0;
10481 }
10482 
10483 
_wrap_SBBreakpointName_GetThreadName(lua_State * L)10484 static int _wrap_SBBreakpointName_GetThreadName(lua_State* L) {
10485   {
10486     int SWIG_arg = 0;
10487     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10488     char *result = 0 ;
10489 
10490     SWIG_check_num_args("lldb::SBBreakpointName::GetThreadName",1,1)
10491     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetThreadName",1,"lldb::SBBreakpointName const *");
10492 
10493     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10494       SWIG_fail_ptr("SBBreakpointName_GetThreadName",1,SWIGTYPE_p_lldb__SBBreakpointName);
10495     }
10496 
10497     result = (char *)((lldb::SBBreakpointName const *)arg1)->GetThreadName();
10498     lua_pushstring(L,(const char *)result); SWIG_arg++;
10499     return SWIG_arg;
10500 
10501     fail: SWIGUNUSED;
10502   }
10503   lua_error(L);
10504   return 0;
10505 }
10506 
10507 
_wrap_SBBreakpointName_SetQueueName(lua_State * L)10508 static int _wrap_SBBreakpointName_SetQueueName(lua_State* L) {
10509   {
10510     int SWIG_arg = 0;
10511     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10512     char *arg2 = (char *) 0 ;
10513 
10514     SWIG_check_num_args("lldb::SBBreakpointName::SetQueueName",2,2)
10515     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",1,"lldb::SBBreakpointName *");
10516     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetQueueName",2,"char const *");
10517 
10518     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10519       SWIG_fail_ptr("SBBreakpointName_SetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName);
10520     }
10521 
10522     arg2 = (char *)lua_tostring(L, 2);
10523     (arg1)->SetQueueName((char const *)arg2);
10524 
10525     return SWIG_arg;
10526 
10527     fail: SWIGUNUSED;
10528   }
10529   lua_error(L);
10530   return 0;
10531 }
10532 
10533 
_wrap_SBBreakpointName_GetQueueName(lua_State * L)10534 static int _wrap_SBBreakpointName_GetQueueName(lua_State* L) {
10535   {
10536     int SWIG_arg = 0;
10537     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10538     char *result = 0 ;
10539 
10540     SWIG_check_num_args("lldb::SBBreakpointName::GetQueueName",1,1)
10541     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetQueueName",1,"lldb::SBBreakpointName const *");
10542 
10543     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10544       SWIG_fail_ptr("SBBreakpointName_GetQueueName",1,SWIGTYPE_p_lldb__SBBreakpointName);
10545     }
10546 
10547     result = (char *)((lldb::SBBreakpointName const *)arg1)->GetQueueName();
10548     lua_pushstring(L,(const char *)result); SWIG_arg++;
10549     return SWIG_arg;
10550 
10551     fail: SWIGUNUSED;
10552   }
10553   lua_error(L);
10554   return 0;
10555 }
10556 
10557 
_wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_0(lua_State * L)10558 static int _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_0(lua_State* L) {
10559   {
10560     int SWIG_arg = 0;
10561     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10562     char *arg2 = (char *) 0 ;
10563 
10564     SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",2,2)
10565     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *");
10566     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *");
10567 
10568     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10569       SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName);
10570     }
10571 
10572     arg2 = (char *)lua_tostring(L, 2);
10573     (arg1)->SetScriptCallbackFunction((char const *)arg2);
10574 
10575     return SWIG_arg;
10576 
10577     fail: SWIGUNUSED;
10578   }
10579   lua_error(L);
10580   return 0;
10581 }
10582 
10583 
_wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(lua_State * L)10584 static int _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(lua_State* L) {
10585   {
10586     int SWIG_arg = 0;
10587     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10588     char *arg2 = (char *) 0 ;
10589     lldb::SBStructuredData *arg3 = 0 ;
10590     lldb::SBError result;
10591 
10592     SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackFunction",3,3)
10593     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",1,"lldb::SBBreakpointName *");
10594     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",2,"char const *");
10595     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackFunction",3,"lldb::SBStructuredData &");
10596 
10597     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10598       SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",1,SWIGTYPE_p_lldb__SBBreakpointName);
10599     }
10600 
10601     arg2 = (char *)lua_tostring(L, 2);
10602 
10603     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
10604       SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackFunction",3,SWIGTYPE_p_lldb__SBStructuredData);
10605     }
10606 
10607     result = (arg1)->SetScriptCallbackFunction((char const *)arg2,*arg3);
10608     {
10609       lldb::SBError * resultptr = new lldb::SBError(result);
10610       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
10611     }
10612     return SWIG_arg;
10613 
10614     fail: SWIGUNUSED;
10615   }
10616   lua_error(L);
10617   return 0;
10618 }
10619 
10620 
_wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State * L)10621 static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) {
10622   int argc;
10623   int argv[4]={
10624     1,2,3,4
10625   };
10626 
10627   argc = lua_gettop(L);
10628   if (argc == 2) {
10629     int _v = 0;
10630     {
10631       void *ptr;
10632       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) {
10633         _v = 0;
10634       } else {
10635         _v = 1;
10636       }
10637     }
10638     if (_v) {
10639       {
10640         _v = SWIG_lua_isnilstring(L,argv[1]);
10641       }
10642       if (_v) {
10643         return _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_0(L);
10644       }
10645     }
10646   }
10647   if (argc == 3) {
10648     int _v = 0;
10649     {
10650       void *ptr;
10651       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) {
10652         _v = 0;
10653       } else {
10654         _v = 1;
10655       }
10656     }
10657     if (_v) {
10658       {
10659         _v = SWIG_lua_isnilstring(L,argv[1]);
10660       }
10661       if (_v) {
10662         {
10663           void *ptr;
10664           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
10665             _v = 0;
10666           } else {
10667             _v = 1;
10668           }
10669         }
10670         if (_v) {
10671           return _wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(L);
10672         }
10673       }
10674     }
10675   }
10676 
10677   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBreakpointName_SetScriptCallbackFunction'\n"
10678     "  Possible C/C++ prototypes are:\n"
10679     "    lldb::SBBreakpointName::SetScriptCallbackFunction(char const *)\n"
10680     "    lldb::SBBreakpointName::SetScriptCallbackFunction(char const *,lldb::SBStructuredData &)\n");
10681   lua_error(L);return 0;
10682 }
10683 
10684 
_wrap_SBBreakpointName_SetCommandLineCommands(lua_State * L)10685 static int _wrap_SBBreakpointName_SetCommandLineCommands(lua_State* L) {
10686   {
10687     int SWIG_arg = 0;
10688     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10689     lldb::SBStringList *arg2 = 0 ;
10690 
10691     SWIG_check_num_args("lldb::SBBreakpointName::SetCommandLineCommands",2,2)
10692     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",1,"lldb::SBBreakpointName *");
10693     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetCommandLineCommands",2,"lldb::SBStringList &");
10694 
10695     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10696       SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName);
10697     }
10698 
10699 
10700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
10701       SWIG_fail_ptr("SBBreakpointName_SetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
10702     }
10703 
10704     (arg1)->SetCommandLineCommands(*arg2);
10705 
10706     return SWIG_arg;
10707 
10708     fail: SWIGUNUSED;
10709   }
10710   lua_error(L);
10711   return 0;
10712 }
10713 
10714 
_wrap_SBBreakpointName_GetCommandLineCommands(lua_State * L)10715 static int _wrap_SBBreakpointName_GetCommandLineCommands(lua_State* L) {
10716   {
10717     int SWIG_arg = 0;
10718     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10719     lldb::SBStringList *arg2 = 0 ;
10720     bool result;
10721 
10722     SWIG_check_num_args("lldb::SBBreakpointName::GetCommandLineCommands",2,2)
10723     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",1,"lldb::SBBreakpointName *");
10724     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetCommandLineCommands",2,"lldb::SBStringList &");
10725 
10726     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10727       SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",1,SWIGTYPE_p_lldb__SBBreakpointName);
10728     }
10729 
10730 
10731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
10732       SWIG_fail_ptr("SBBreakpointName_GetCommandLineCommands",2,SWIGTYPE_p_lldb__SBStringList);
10733     }
10734 
10735     result = (bool)(arg1)->GetCommandLineCommands(*arg2);
10736     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10737     return SWIG_arg;
10738 
10739     fail: SWIGUNUSED;
10740   }
10741   lua_error(L);
10742   return 0;
10743 }
10744 
10745 
_wrap_SBBreakpointName_SetScriptCallbackBody(lua_State * L)10746 static int _wrap_SBBreakpointName_SetScriptCallbackBody(lua_State* L) {
10747   {
10748     int SWIG_arg = 0;
10749     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10750     char *arg2 = (char *) 0 ;
10751     lldb::SBError result;
10752 
10753     SWIG_check_num_args("lldb::SBBreakpointName::SetScriptCallbackBody",2,2)
10754     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",1,"lldb::SBBreakpointName *");
10755     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetScriptCallbackBody",2,"char const *");
10756 
10757     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10758       SWIG_fail_ptr("SBBreakpointName_SetScriptCallbackBody",1,SWIGTYPE_p_lldb__SBBreakpointName);
10759     }
10760 
10761     arg2 = (char *)lua_tostring(L, 2);
10762     result = (arg1)->SetScriptCallbackBody((char const *)arg2);
10763     {
10764       lldb::SBError * resultptr = new lldb::SBError(result);
10765       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
10766     }
10767     return SWIG_arg;
10768 
10769     fail: SWIGUNUSED;
10770   }
10771   lua_error(L);
10772   return 0;
10773 }
10774 
10775 
_wrap_SBBreakpointName_GetHelpString(lua_State * L)10776 static int _wrap_SBBreakpointName_GetHelpString(lua_State* L) {
10777   {
10778     int SWIG_arg = 0;
10779     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10780     char *result = 0 ;
10781 
10782     SWIG_check_num_args("lldb::SBBreakpointName::GetHelpString",1,1)
10783     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetHelpString",1,"lldb::SBBreakpointName const *");
10784 
10785     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10786       SWIG_fail_ptr("SBBreakpointName_GetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName);
10787     }
10788 
10789     result = (char *)((lldb::SBBreakpointName const *)arg1)->GetHelpString();
10790     lua_pushstring(L,(const char *)result); SWIG_arg++;
10791     return SWIG_arg;
10792 
10793     fail: SWIGUNUSED;
10794   }
10795   lua_error(L);
10796   return 0;
10797 }
10798 
10799 
_wrap_SBBreakpointName_SetHelpString(lua_State * L)10800 static int _wrap_SBBreakpointName_SetHelpString(lua_State* L) {
10801   {
10802     int SWIG_arg = 0;
10803     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10804     char *arg2 = (char *) 0 ;
10805 
10806     SWIG_check_num_args("lldb::SBBreakpointName::SetHelpString",2,2)
10807     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",1,"lldb::SBBreakpointName *");
10808     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetHelpString",2,"char const *");
10809 
10810     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10811       SWIG_fail_ptr("SBBreakpointName_SetHelpString",1,SWIGTYPE_p_lldb__SBBreakpointName);
10812     }
10813 
10814     arg2 = (char *)lua_tostring(L, 2);
10815     (arg1)->SetHelpString((char const *)arg2);
10816 
10817     return SWIG_arg;
10818 
10819     fail: SWIGUNUSED;
10820   }
10821   lua_error(L);
10822   return 0;
10823 }
10824 
10825 
_wrap_SBBreakpointName_GetAllowList(lua_State * L)10826 static int _wrap_SBBreakpointName_GetAllowList(lua_State* L) {
10827   {
10828     int SWIG_arg = 0;
10829     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10830     bool result;
10831 
10832     SWIG_check_num_args("lldb::SBBreakpointName::GetAllowList",1,1)
10833     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowList",1,"lldb::SBBreakpointName const *");
10834 
10835     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10836       SWIG_fail_ptr("SBBreakpointName_GetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName);
10837     }
10838 
10839     result = (bool)((lldb::SBBreakpointName const *)arg1)->GetAllowList();
10840     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10841     return SWIG_arg;
10842 
10843     fail: SWIGUNUSED;
10844   }
10845   lua_error(L);
10846   return 0;
10847 }
10848 
10849 
_wrap_SBBreakpointName_SetAllowList(lua_State * L)10850 static int _wrap_SBBreakpointName_SetAllowList(lua_State* L) {
10851   {
10852     int SWIG_arg = 0;
10853     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10854     bool arg2 ;
10855 
10856     SWIG_check_num_args("lldb::SBBreakpointName::SetAllowList",2,2)
10857     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",1,"lldb::SBBreakpointName *");
10858     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowList",2,"bool");
10859 
10860     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10861       SWIG_fail_ptr("SBBreakpointName_SetAllowList",1,SWIGTYPE_p_lldb__SBBreakpointName);
10862     }
10863 
10864     arg2 = (lua_toboolean(L, 2)!=0);
10865     (arg1)->SetAllowList(arg2);
10866 
10867     return SWIG_arg;
10868 
10869     fail: SWIGUNUSED;
10870   }
10871   lua_error(L);
10872   return 0;
10873 }
10874 
10875 
_wrap_SBBreakpointName_GetAllowDelete(lua_State * L)10876 static int _wrap_SBBreakpointName_GetAllowDelete(lua_State* L) {
10877   {
10878     int SWIG_arg = 0;
10879     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10880     bool result;
10881 
10882     SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDelete",1,1)
10883     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDelete",1,"lldb::SBBreakpointName *");
10884 
10885     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10886       SWIG_fail_ptr("SBBreakpointName_GetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName);
10887     }
10888 
10889     result = (bool)(arg1)->GetAllowDelete();
10890     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10891     return SWIG_arg;
10892 
10893     fail: SWIGUNUSED;
10894   }
10895   lua_error(L);
10896   return 0;
10897 }
10898 
10899 
_wrap_SBBreakpointName_SetAllowDelete(lua_State * L)10900 static int _wrap_SBBreakpointName_SetAllowDelete(lua_State* L) {
10901   {
10902     int SWIG_arg = 0;
10903     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10904     bool arg2 ;
10905 
10906     SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDelete",2,2)
10907     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",1,"lldb::SBBreakpointName *");
10908     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDelete",2,"bool");
10909 
10910     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10911       SWIG_fail_ptr("SBBreakpointName_SetAllowDelete",1,SWIGTYPE_p_lldb__SBBreakpointName);
10912     }
10913 
10914     arg2 = (lua_toboolean(L, 2)!=0);
10915     (arg1)->SetAllowDelete(arg2);
10916 
10917     return SWIG_arg;
10918 
10919     fail: SWIGUNUSED;
10920   }
10921   lua_error(L);
10922   return 0;
10923 }
10924 
10925 
_wrap_SBBreakpointName_GetAllowDisable(lua_State * L)10926 static int _wrap_SBBreakpointName_GetAllowDisable(lua_State* L) {
10927   {
10928     int SWIG_arg = 0;
10929     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10930     bool result;
10931 
10932     SWIG_check_num_args("lldb::SBBreakpointName::GetAllowDisable",1,1)
10933     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetAllowDisable",1,"lldb::SBBreakpointName *");
10934 
10935     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10936       SWIG_fail_ptr("SBBreakpointName_GetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName);
10937     }
10938 
10939     result = (bool)(arg1)->GetAllowDisable();
10940     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10941     return SWIG_arg;
10942 
10943     fail: SWIGUNUSED;
10944   }
10945   lua_error(L);
10946   return 0;
10947 }
10948 
10949 
_wrap_SBBreakpointName_SetAllowDisable(lua_State * L)10950 static int _wrap_SBBreakpointName_SetAllowDisable(lua_State* L) {
10951   {
10952     int SWIG_arg = 0;
10953     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10954     bool arg2 ;
10955 
10956     SWIG_check_num_args("lldb::SBBreakpointName::SetAllowDisable",2,2)
10957     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",1,"lldb::SBBreakpointName *");
10958     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::SetAllowDisable",2,"bool");
10959 
10960     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10961       SWIG_fail_ptr("SBBreakpointName_SetAllowDisable",1,SWIGTYPE_p_lldb__SBBreakpointName);
10962     }
10963 
10964     arg2 = (lua_toboolean(L, 2)!=0);
10965     (arg1)->SetAllowDisable(arg2);
10966 
10967     return SWIG_arg;
10968 
10969     fail: SWIGUNUSED;
10970   }
10971   lua_error(L);
10972   return 0;
10973 }
10974 
10975 
_wrap_SBBreakpointName_GetDescription(lua_State * L)10976 static int _wrap_SBBreakpointName_GetDescription(lua_State* L) {
10977   {
10978     int SWIG_arg = 0;
10979     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
10980     lldb::SBStream *arg2 = 0 ;
10981     bool result;
10982 
10983     SWIG_check_num_args("lldb::SBBreakpointName::GetDescription",2,2)
10984     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",1,"lldb::SBBreakpointName *");
10985     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBreakpointName::GetDescription",2,"lldb::SBStream &");
10986 
10987     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
10988       SWIG_fail_ptr("SBBreakpointName_GetDescription",1,SWIGTYPE_p_lldb__SBBreakpointName);
10989     }
10990 
10991 
10992     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
10993       SWIG_fail_ptr("SBBreakpointName_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
10994     }
10995 
10996     result = (bool)(arg1)->GetDescription(*arg2);
10997     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10998     return SWIG_arg;
10999 
11000     fail: SWIGUNUSED;
11001   }
11002   lua_error(L);
11003   return 0;
11004 }
11005 
11006 
_wrap_SBBreakpointName___tostring(lua_State * L)11007 static int _wrap_SBBreakpointName___tostring(lua_State* L) {
11008   {
11009     int SWIG_arg = 0;
11010     lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) 0 ;
11011     std::string result;
11012 
11013     SWIG_check_num_args("lldb::SBBreakpointName::__repr__",1,1)
11014     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpointName::__repr__",1,"lldb::SBBreakpointName *");
11015 
11016     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpointName,0))){
11017       SWIG_fail_ptr("SBBreakpointName___tostring",1,SWIGTYPE_p_lldb__SBBreakpointName);
11018     }
11019 
11020     result = lldb_SBBreakpointName___repr__(arg1);
11021     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
11022     return SWIG_arg;
11023 
11024     fail: SWIGUNUSED;
11025   }
11026   lua_error(L);
11027   return 0;
11028 }
11029 
11030 
swig_delete_SBBreakpointName(void * obj)11031 static void swig_delete_SBBreakpointName(void *obj) {
11032 lldb::SBBreakpointName *arg1 = (lldb::SBBreakpointName *) obj;
11033 delete arg1;
11034 }
_proxy__wrap_new_SBBreakpointName(lua_State * L)11035 static int _proxy__wrap_new_SBBreakpointName(lua_State *L) {
11036     assert(lua_istable(L,1));
11037     lua_pushcfunction(L,_wrap_new_SBBreakpointName);
11038     assert(!lua_isnil(L,-1));
11039     lua_replace(L,1); /* replace our table with real constructor */
11040     lua_call(L,lua_gettop(L)-1,1);
11041     return 1;
11042 }
11043 static swig_lua_attribute swig_SBBreakpointName_attributes[] = {
11044     {0,0,0}
11045 };
11046 static swig_lua_method swig_SBBreakpointName_methods[]= {
11047     { "__eq", _wrap_SBBreakpointName___eq},
11048     { "IsValid", _wrap_SBBreakpointName_IsValid},
11049     { "GetName", _wrap_SBBreakpointName_GetName},
11050     { "SetEnabled", _wrap_SBBreakpointName_SetEnabled},
11051     { "IsEnabled", _wrap_SBBreakpointName_IsEnabled},
11052     { "SetOneShot", _wrap_SBBreakpointName_SetOneShot},
11053     { "IsOneShot", _wrap_SBBreakpointName_IsOneShot},
11054     { "SetIgnoreCount", _wrap_SBBreakpointName_SetIgnoreCount},
11055     { "GetIgnoreCount", _wrap_SBBreakpointName_GetIgnoreCount},
11056     { "SetCondition", _wrap_SBBreakpointName_SetCondition},
11057     { "GetCondition", _wrap_SBBreakpointName_GetCondition},
11058     { "SetAutoContinue", _wrap_SBBreakpointName_SetAutoContinue},
11059     { "GetAutoContinue", _wrap_SBBreakpointName_GetAutoContinue},
11060     { "SetThreadID", _wrap_SBBreakpointName_SetThreadID},
11061     { "GetThreadID", _wrap_SBBreakpointName_GetThreadID},
11062     { "SetThreadIndex", _wrap_SBBreakpointName_SetThreadIndex},
11063     { "GetThreadIndex", _wrap_SBBreakpointName_GetThreadIndex},
11064     { "SetThreadName", _wrap_SBBreakpointName_SetThreadName},
11065     { "GetThreadName", _wrap_SBBreakpointName_GetThreadName},
11066     { "SetQueueName", _wrap_SBBreakpointName_SetQueueName},
11067     { "GetQueueName", _wrap_SBBreakpointName_GetQueueName},
11068     { "SetScriptCallbackFunction", _wrap_SBBreakpointName_SetScriptCallbackFunction},
11069     { "SetCommandLineCommands", _wrap_SBBreakpointName_SetCommandLineCommands},
11070     { "GetCommandLineCommands", _wrap_SBBreakpointName_GetCommandLineCommands},
11071     { "SetScriptCallbackBody", _wrap_SBBreakpointName_SetScriptCallbackBody},
11072     { "GetHelpString", _wrap_SBBreakpointName_GetHelpString},
11073     { "SetHelpString", _wrap_SBBreakpointName_SetHelpString},
11074     { "GetAllowList", _wrap_SBBreakpointName_GetAllowList},
11075     { "SetAllowList", _wrap_SBBreakpointName_SetAllowList},
11076     { "GetAllowDelete", _wrap_SBBreakpointName_GetAllowDelete},
11077     { "SetAllowDelete", _wrap_SBBreakpointName_SetAllowDelete},
11078     { "GetAllowDisable", _wrap_SBBreakpointName_GetAllowDisable},
11079     { "SetAllowDisable", _wrap_SBBreakpointName_SetAllowDisable},
11080     { "GetDescription", _wrap_SBBreakpointName_GetDescription},
11081     { "__tostring", _wrap_SBBreakpointName___tostring},
11082     {0,0}
11083 };
11084 static swig_lua_method swig_SBBreakpointName_meta[] = {
11085     { "__eq", _wrap_SBBreakpointName___eq},
11086     { "__tostring", _wrap_SBBreakpointName___tostring},
11087     {0,0}
11088 };
11089 
11090 static swig_lua_attribute swig_SBBreakpointName_Sf_SwigStatic_attributes[] = {
11091     {0,0,0}
11092 };
11093 static swig_lua_const_info swig_SBBreakpointName_Sf_SwigStatic_constants[]= {
11094     {0,0,0,0,0,0}
11095 };
11096 static swig_lua_method swig_SBBreakpointName_Sf_SwigStatic_methods[]= {
11097     {0,0}
11098 };
11099 static swig_lua_class* swig_SBBreakpointName_Sf_SwigStatic_classes[]= {
11100     0
11101 };
11102 
11103 static swig_lua_namespace swig_SBBreakpointName_Sf_SwigStatic = {
11104     "SBBreakpointName",
11105     swig_SBBreakpointName_Sf_SwigStatic_methods,
11106     swig_SBBreakpointName_Sf_SwigStatic_attributes,
11107     swig_SBBreakpointName_Sf_SwigStatic_constants,
11108     swig_SBBreakpointName_Sf_SwigStatic_classes,
11109     0
11110 };
11111 static swig_lua_class *swig_SBBreakpointName_bases[] = {0};
11112 static const char *swig_SBBreakpointName_base_names[] = {0};
11113 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 };
11114 
_wrap_new_SBBroadcaster__SWIG_0(lua_State * L)11115 static int _wrap_new_SBBroadcaster__SWIG_0(lua_State* L) {
11116   {
11117     int SWIG_arg = 0;
11118     lldb::SBBroadcaster *result = 0 ;
11119 
11120     SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",0,0)
11121     result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster();
11122     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
11123     return SWIG_arg;
11124 
11125     fail: SWIGUNUSED;
11126   }
11127   lua_error(L);
11128   return 0;
11129 }
11130 
11131 
_wrap_new_SBBroadcaster__SWIG_1(lua_State * L)11132 static int _wrap_new_SBBroadcaster__SWIG_1(lua_State* L) {
11133   {
11134     int SWIG_arg = 0;
11135     char *arg1 = (char *) 0 ;
11136     lldb::SBBroadcaster *result = 0 ;
11137 
11138     SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1)
11139     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"char const *");
11140     arg1 = (char *)lua_tostring(L, 1);
11141     result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((char const *)arg1);
11142     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
11143     return SWIG_arg;
11144 
11145     fail: SWIGUNUSED;
11146   }
11147   lua_error(L);
11148   return 0;
11149 }
11150 
11151 
_wrap_new_SBBroadcaster__SWIG_2(lua_State * L)11152 static int _wrap_new_SBBroadcaster__SWIG_2(lua_State* L) {
11153   {
11154     int SWIG_arg = 0;
11155     lldb::SBBroadcaster *arg1 = 0 ;
11156     lldb::SBBroadcaster *result = 0 ;
11157 
11158     SWIG_check_num_args("lldb::SBBroadcaster::SBBroadcaster",1,1)
11159     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::SBBroadcaster",1,"lldb::SBBroadcaster const &");
11160 
11161     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11162       SWIG_fail_ptr("new_SBBroadcaster",1,SWIGTYPE_p_lldb__SBBroadcaster);
11163     }
11164 
11165     result = (lldb::SBBroadcaster *)new lldb::SBBroadcaster((lldb::SBBroadcaster const &)*arg1);
11166     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
11167     return SWIG_arg;
11168 
11169     fail: SWIGUNUSED;
11170   }
11171   lua_error(L);
11172   return 0;
11173 }
11174 
11175 
_wrap_new_SBBroadcaster(lua_State * L)11176 static int _wrap_new_SBBroadcaster(lua_State* L) {
11177   int argc;
11178   int argv[2]={
11179     1,2
11180   };
11181 
11182   argc = lua_gettop(L);
11183   if (argc == 0) {
11184     return _wrap_new_SBBroadcaster__SWIG_0(L);
11185   }
11186   if (argc == 1) {
11187     int _v = 0;
11188     {
11189       void *ptr;
11190       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, SWIG_POINTER_NO_NULL)) {
11191         _v = 0;
11192       } else {
11193         _v = 1;
11194       }
11195     }
11196     if (_v) {
11197       return _wrap_new_SBBroadcaster__SWIG_2(L);
11198     }
11199   }
11200   if (argc == 1) {
11201     int _v = 0;
11202     {
11203       _v = SWIG_lua_isnilstring(L,argv[0]);
11204     }
11205     if (_v) {
11206       return _wrap_new_SBBroadcaster__SWIG_1(L);
11207     }
11208   }
11209 
11210   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBBroadcaster'\n"
11211     "  Possible C/C++ prototypes are:\n"
11212     "    lldb::SBBroadcaster::SBBroadcaster()\n"
11213     "    lldb::SBBroadcaster::SBBroadcaster(char const *)\n"
11214     "    lldb::SBBroadcaster::SBBroadcaster(lldb::SBBroadcaster const &)\n");
11215   lua_error(L);return 0;
11216 }
11217 
11218 
_wrap_SBBroadcaster_IsValid(lua_State * L)11219 static int _wrap_SBBroadcaster_IsValid(lua_State* L) {
11220   {
11221     int SWIG_arg = 0;
11222     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11223     bool result;
11224 
11225     SWIG_check_num_args("lldb::SBBroadcaster::IsValid",1,1)
11226     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::IsValid",1,"lldb::SBBroadcaster const *");
11227 
11228     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11229       SWIG_fail_ptr("SBBroadcaster_IsValid",1,SWIGTYPE_p_lldb__SBBroadcaster);
11230     }
11231 
11232     result = (bool)((lldb::SBBroadcaster const *)arg1)->IsValid();
11233     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11234     return SWIG_arg;
11235 
11236     fail: SWIGUNUSED;
11237   }
11238   lua_error(L);
11239   return 0;
11240 }
11241 
11242 
_wrap_SBBroadcaster_Clear(lua_State * L)11243 static int _wrap_SBBroadcaster_Clear(lua_State* L) {
11244   {
11245     int SWIG_arg = 0;
11246     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11247 
11248     SWIG_check_num_args("lldb::SBBroadcaster::Clear",1,1)
11249     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::Clear",1,"lldb::SBBroadcaster *");
11250 
11251     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11252       SWIG_fail_ptr("SBBroadcaster_Clear",1,SWIGTYPE_p_lldb__SBBroadcaster);
11253     }
11254 
11255     (arg1)->Clear();
11256 
11257     return SWIG_arg;
11258 
11259     fail: SWIGUNUSED;
11260   }
11261   lua_error(L);
11262   return 0;
11263 }
11264 
11265 
_wrap_SBBroadcaster_BroadcastEventByType__SWIG_0(lua_State * L)11266 static int _wrap_SBBroadcaster_BroadcastEventByType__SWIG_0(lua_State* L) {
11267   {
11268     int SWIG_arg = 0;
11269     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11270     uint32_t arg2 ;
11271     bool arg3 ;
11272 
11273     SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",3,3)
11274     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *");
11275     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t");
11276     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",3,"bool");
11277 
11278     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11279       SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster);
11280     }
11281 
11282     arg2 = (uint32_t)lua_tointeger(L, 2);
11283     arg3 = (lua_toboolean(L, 3)!=0);
11284     (arg1)->BroadcastEventByType(arg2,arg3);
11285 
11286     return SWIG_arg;
11287 
11288     fail: SWIGUNUSED;
11289   }
11290   lua_error(L);
11291   return 0;
11292 }
11293 
11294 
_wrap_SBBroadcaster_BroadcastEventByType__SWIG_1(lua_State * L)11295 static int _wrap_SBBroadcaster_BroadcastEventByType__SWIG_1(lua_State* L) {
11296   {
11297     int SWIG_arg = 0;
11298     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11299     uint32_t arg2 ;
11300 
11301     SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEventByType",2,2)
11302     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",1,"lldb::SBBroadcaster *");
11303     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEventByType",2,"uint32_t");
11304 
11305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11306       SWIG_fail_ptr("SBBroadcaster_BroadcastEventByType",1,SWIGTYPE_p_lldb__SBBroadcaster);
11307     }
11308 
11309     arg2 = (uint32_t)lua_tointeger(L, 2);
11310     (arg1)->BroadcastEventByType(arg2);
11311 
11312     return SWIG_arg;
11313 
11314     fail: SWIGUNUSED;
11315   }
11316   lua_error(L);
11317   return 0;
11318 }
11319 
11320 
_wrap_SBBroadcaster_BroadcastEventByType(lua_State * L)11321 static int _wrap_SBBroadcaster_BroadcastEventByType(lua_State* L) {
11322   int argc;
11323   int argv[4]={
11324     1,2,3,4
11325   };
11326 
11327   argc = lua_gettop(L);
11328   if (argc == 2) {
11329     int _v = 0;
11330     {
11331       void *ptr;
11332       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11333         _v = 0;
11334       } else {
11335         _v = 1;
11336       }
11337     }
11338     if (_v) {
11339       {
11340         _v = lua_isnumber(L,argv[1]);
11341       }
11342       if (_v) {
11343         return _wrap_SBBroadcaster_BroadcastEventByType__SWIG_1(L);
11344       }
11345     }
11346   }
11347   if (argc == 3) {
11348     int _v = 0;
11349     {
11350       void *ptr;
11351       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11352         _v = 0;
11353       } else {
11354         _v = 1;
11355       }
11356     }
11357     if (_v) {
11358       {
11359         _v = lua_isnumber(L,argv[1]);
11360       }
11361       if (_v) {
11362         {
11363           _v = lua_isboolean(L,argv[2]);
11364         }
11365         if (_v) {
11366           return _wrap_SBBroadcaster_BroadcastEventByType__SWIG_0(L);
11367         }
11368       }
11369     }
11370   }
11371 
11372   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_BroadcastEventByType'\n"
11373     "  Possible C/C++ prototypes are:\n"
11374     "    lldb::SBBroadcaster::BroadcastEventByType(uint32_t,bool)\n"
11375     "    lldb::SBBroadcaster::BroadcastEventByType(uint32_t)\n");
11376   lua_error(L);return 0;
11377 }
11378 
11379 
_wrap_SBBroadcaster_BroadcastEvent__SWIG_0(lua_State * L)11380 static int _wrap_SBBroadcaster_BroadcastEvent__SWIG_0(lua_State* L) {
11381   {
11382     int SWIG_arg = 0;
11383     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11384     lldb::SBEvent *arg2 = 0 ;
11385     bool arg3 ;
11386 
11387     SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",3,3)
11388     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *");
11389     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &");
11390     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",3,"bool");
11391 
11392     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11393       SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster);
11394     }
11395 
11396 
11397     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
11398       SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent);
11399     }
11400 
11401     arg3 = (lua_toboolean(L, 3)!=0);
11402     (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2,arg3);
11403 
11404     return SWIG_arg;
11405 
11406     fail: SWIGUNUSED;
11407   }
11408   lua_error(L);
11409   return 0;
11410 }
11411 
11412 
_wrap_SBBroadcaster_BroadcastEvent__SWIG_1(lua_State * L)11413 static int _wrap_SBBroadcaster_BroadcastEvent__SWIG_1(lua_State* L) {
11414   {
11415     int SWIG_arg = 0;
11416     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11417     lldb::SBEvent *arg2 = 0 ;
11418 
11419     SWIG_check_num_args("lldb::SBBroadcaster::BroadcastEvent",2,2)
11420     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",1,"lldb::SBBroadcaster *");
11421     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::BroadcastEvent",2,"lldb::SBEvent const &");
11422 
11423     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11424       SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",1,SWIGTYPE_p_lldb__SBBroadcaster);
11425     }
11426 
11427 
11428     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
11429       SWIG_fail_ptr("SBBroadcaster_BroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent);
11430     }
11431 
11432     (arg1)->BroadcastEvent((lldb::SBEvent const &)*arg2);
11433 
11434     return SWIG_arg;
11435 
11436     fail: SWIGUNUSED;
11437   }
11438   lua_error(L);
11439   return 0;
11440 }
11441 
11442 
_wrap_SBBroadcaster_BroadcastEvent(lua_State * L)11443 static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) {
11444   int argc;
11445   int argv[4]={
11446     1,2,3,4
11447   };
11448 
11449   argc = lua_gettop(L);
11450   if (argc == 2) {
11451     int _v = 0;
11452     {
11453       void *ptr;
11454       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11455         _v = 0;
11456       } else {
11457         _v = 1;
11458       }
11459     }
11460     if (_v) {
11461       {
11462         void *ptr;
11463         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
11464           _v = 0;
11465         } else {
11466           _v = 1;
11467         }
11468       }
11469       if (_v) {
11470         return _wrap_SBBroadcaster_BroadcastEvent__SWIG_1(L);
11471       }
11472     }
11473   }
11474   if (argc == 3) {
11475     int _v = 0;
11476     {
11477       void *ptr;
11478       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11479         _v = 0;
11480       } else {
11481         _v = 1;
11482       }
11483     }
11484     if (_v) {
11485       {
11486         void *ptr;
11487         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
11488           _v = 0;
11489         } else {
11490           _v = 1;
11491         }
11492       }
11493       if (_v) {
11494         {
11495           _v = lua_isboolean(L,argv[2]);
11496         }
11497         if (_v) {
11498           return _wrap_SBBroadcaster_BroadcastEvent__SWIG_0(L);
11499         }
11500       }
11501     }
11502   }
11503 
11504   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_BroadcastEvent'\n"
11505     "  Possible C/C++ prototypes are:\n"
11506     "    lldb::SBBroadcaster::BroadcastEvent(lldb::SBEvent const &,bool)\n"
11507     "    lldb::SBBroadcaster::BroadcastEvent(lldb::SBEvent const &)\n");
11508   lua_error(L);return 0;
11509 }
11510 
11511 
_wrap_SBBroadcaster_AddInitialEventsToListener(lua_State * L)11512 static int _wrap_SBBroadcaster_AddInitialEventsToListener(lua_State* L) {
11513   {
11514     int SWIG_arg = 0;
11515     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11516     lldb::SBListener *arg2 = 0 ;
11517     uint32_t arg3 ;
11518 
11519     SWIG_check_num_args("lldb::SBBroadcaster::AddInitialEventsToListener",3,3)
11520     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",1,"lldb::SBBroadcaster *");
11521     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",2,"lldb::SBListener const &");
11522     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddInitialEventsToListener",3,"uint32_t");
11523 
11524     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11525       SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",1,SWIGTYPE_p_lldb__SBBroadcaster);
11526     }
11527 
11528 
11529     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
11530       SWIG_fail_ptr("SBBroadcaster_AddInitialEventsToListener",2,SWIGTYPE_p_lldb__SBListener);
11531     }
11532 
11533     arg3 = (uint32_t)lua_tointeger(L, 3);
11534     (arg1)->AddInitialEventsToListener((lldb::SBListener const &)*arg2,arg3);
11535 
11536     return SWIG_arg;
11537 
11538     fail: SWIGUNUSED;
11539   }
11540   lua_error(L);
11541   return 0;
11542 }
11543 
11544 
_wrap_SBBroadcaster_AddListener(lua_State * L)11545 static int _wrap_SBBroadcaster_AddListener(lua_State* L) {
11546   {
11547     int SWIG_arg = 0;
11548     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11549     lldb::SBListener *arg2 = 0 ;
11550     uint32_t arg3 ;
11551     uint32_t result;
11552 
11553     SWIG_check_num_args("lldb::SBBroadcaster::AddListener",3,3)
11554     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",1,"lldb::SBBroadcaster *");
11555     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",2,"lldb::SBListener const &");
11556     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::AddListener",3,"uint32_t");
11557 
11558     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11559       SWIG_fail_ptr("SBBroadcaster_AddListener",1,SWIGTYPE_p_lldb__SBBroadcaster);
11560     }
11561 
11562 
11563     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
11564       SWIG_fail_ptr("SBBroadcaster_AddListener",2,SWIGTYPE_p_lldb__SBListener);
11565     }
11566 
11567     arg3 = (uint32_t)lua_tointeger(L, 3);
11568     result = (uint32_t)(arg1)->AddListener((lldb::SBListener const &)*arg2,arg3);
11569     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
11570     return SWIG_arg;
11571 
11572     fail: SWIGUNUSED;
11573   }
11574   lua_error(L);
11575   return 0;
11576 }
11577 
11578 
_wrap_SBBroadcaster_GetName(lua_State * L)11579 static int _wrap_SBBroadcaster_GetName(lua_State* L) {
11580   {
11581     int SWIG_arg = 0;
11582     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11583     char *result = 0 ;
11584 
11585     SWIG_check_num_args("lldb::SBBroadcaster::GetName",1,1)
11586     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::GetName",1,"lldb::SBBroadcaster const *");
11587 
11588     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11589       SWIG_fail_ptr("SBBroadcaster_GetName",1,SWIGTYPE_p_lldb__SBBroadcaster);
11590     }
11591 
11592     result = (char *)((lldb::SBBroadcaster const *)arg1)->GetName();
11593     lua_pushstring(L,(const char *)result); SWIG_arg++;
11594     return SWIG_arg;
11595 
11596     fail: SWIGUNUSED;
11597   }
11598   lua_error(L);
11599   return 0;
11600 }
11601 
11602 
_wrap_SBBroadcaster_EventTypeHasListeners(lua_State * L)11603 static int _wrap_SBBroadcaster_EventTypeHasListeners(lua_State* L) {
11604   {
11605     int SWIG_arg = 0;
11606     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11607     uint32_t arg2 ;
11608     bool result;
11609 
11610     SWIG_check_num_args("lldb::SBBroadcaster::EventTypeHasListeners",2,2)
11611     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",1,"lldb::SBBroadcaster *");
11612     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::EventTypeHasListeners",2,"uint32_t");
11613 
11614     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11615       SWIG_fail_ptr("SBBroadcaster_EventTypeHasListeners",1,SWIGTYPE_p_lldb__SBBroadcaster);
11616     }
11617 
11618     arg2 = (uint32_t)lua_tointeger(L, 2);
11619     result = (bool)(arg1)->EventTypeHasListeners(arg2);
11620     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11621     return SWIG_arg;
11622 
11623     fail: SWIGUNUSED;
11624   }
11625   lua_error(L);
11626   return 0;
11627 }
11628 
11629 
_wrap_SBBroadcaster_RemoveListener__SWIG_0(lua_State * L)11630 static int _wrap_SBBroadcaster_RemoveListener__SWIG_0(lua_State* L) {
11631   {
11632     int SWIG_arg = 0;
11633     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11634     lldb::SBListener *arg2 = 0 ;
11635     uint32_t arg3 ;
11636     bool result;
11637 
11638     SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",3,3)
11639     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *");
11640     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &");
11641     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",3,"uint32_t");
11642 
11643     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11644       SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster);
11645     }
11646 
11647 
11648     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
11649       SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener);
11650     }
11651 
11652     arg3 = (uint32_t)lua_tointeger(L, 3);
11653     result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2,arg3);
11654     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11655     return SWIG_arg;
11656 
11657     fail: SWIGUNUSED;
11658   }
11659   lua_error(L);
11660   return 0;
11661 }
11662 
11663 
_wrap_SBBroadcaster_RemoveListener__SWIG_1(lua_State * L)11664 static int _wrap_SBBroadcaster_RemoveListener__SWIG_1(lua_State* L) {
11665   {
11666     int SWIG_arg = 0;
11667     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11668     lldb::SBListener *arg2 = 0 ;
11669     bool result;
11670 
11671     SWIG_check_num_args("lldb::SBBroadcaster::RemoveListener",2,2)
11672     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",1,"lldb::SBBroadcaster *");
11673     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::RemoveListener",2,"lldb::SBListener const &");
11674 
11675     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11676       SWIG_fail_ptr("SBBroadcaster_RemoveListener",1,SWIGTYPE_p_lldb__SBBroadcaster);
11677     }
11678 
11679 
11680     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
11681       SWIG_fail_ptr("SBBroadcaster_RemoveListener",2,SWIGTYPE_p_lldb__SBListener);
11682     }
11683 
11684     result = (bool)(arg1)->RemoveListener((lldb::SBListener const &)*arg2);
11685     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11686     return SWIG_arg;
11687 
11688     fail: SWIGUNUSED;
11689   }
11690   lua_error(L);
11691   return 0;
11692 }
11693 
11694 
_wrap_SBBroadcaster_RemoveListener(lua_State * L)11695 static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) {
11696   int argc;
11697   int argv[4]={
11698     1,2,3,4
11699   };
11700 
11701   argc = lua_gettop(L);
11702   if (argc == 2) {
11703     int _v = 0;
11704     {
11705       void *ptr;
11706       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11707         _v = 0;
11708       } else {
11709         _v = 1;
11710       }
11711     }
11712     if (_v) {
11713       {
11714         void *ptr;
11715         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
11716           _v = 0;
11717         } else {
11718           _v = 1;
11719         }
11720       }
11721       if (_v) {
11722         return _wrap_SBBroadcaster_RemoveListener__SWIG_1(L);
11723       }
11724     }
11725   }
11726   if (argc == 3) {
11727     int _v = 0;
11728     {
11729       void *ptr;
11730       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
11731         _v = 0;
11732       } else {
11733         _v = 1;
11734       }
11735     }
11736     if (_v) {
11737       {
11738         void *ptr;
11739         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
11740           _v = 0;
11741         } else {
11742           _v = 1;
11743         }
11744       }
11745       if (_v) {
11746         {
11747           _v = lua_isnumber(L,argv[2]);
11748         }
11749         if (_v) {
11750           return _wrap_SBBroadcaster_RemoveListener__SWIG_0(L);
11751         }
11752       }
11753     }
11754   }
11755 
11756   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBBroadcaster_RemoveListener'\n"
11757     "  Possible C/C++ prototypes are:\n"
11758     "    lldb::SBBroadcaster::RemoveListener(lldb::SBListener const &,uint32_t)\n"
11759     "    lldb::SBBroadcaster::RemoveListener(lldb::SBListener const &)\n");
11760   lua_error(L);return 0;
11761 }
11762 
11763 
_wrap_SBBroadcaster___eq(lua_State * L)11764 static int _wrap_SBBroadcaster___eq(lua_State* L) {
11765   {
11766     int SWIG_arg = 0;
11767     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11768     lldb::SBBroadcaster *arg2 = 0 ;
11769     bool result;
11770 
11771     SWIG_check_num_args("lldb::SBBroadcaster::operator ==",2,2)
11772     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",1,"lldb::SBBroadcaster const *");
11773     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::operator ==",2,"lldb::SBBroadcaster const &");
11774 
11775     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11776       SWIG_fail_ptr("SBBroadcaster___eq",1,SWIGTYPE_p_lldb__SBBroadcaster);
11777     }
11778 
11779 
11780     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11781       SWIG_fail_ptr("SBBroadcaster___eq",2,SWIGTYPE_p_lldb__SBBroadcaster);
11782     }
11783 
11784     result = (bool)((lldb::SBBroadcaster const *)arg1)->operator ==((lldb::SBBroadcaster const &)*arg2);
11785     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11786     return SWIG_arg;
11787 
11788     fail: SWIGUNUSED;
11789   }
11790   lua_error(L);
11791   return 0;
11792 }
11793 
11794 
_wrap_SBBroadcaster___lt(lua_State * L)11795 static int _wrap_SBBroadcaster___lt(lua_State* L) {
11796   {
11797     int SWIG_arg = 0;
11798     lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) 0 ;
11799     lldb::SBBroadcaster *arg2 = 0 ;
11800     bool result;
11801 
11802     SWIG_check_num_args("lldb::SBBroadcaster::operator <",2,2)
11803     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBroadcaster::operator <",1,"lldb::SBBroadcaster const *");
11804     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBBroadcaster::operator <",2,"lldb::SBBroadcaster const &");
11805 
11806     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11807       SWIG_fail_ptr("SBBroadcaster___lt",1,SWIGTYPE_p_lldb__SBBroadcaster);
11808     }
11809 
11810 
11811     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
11812       SWIG_fail_ptr("SBBroadcaster___lt",2,SWIGTYPE_p_lldb__SBBroadcaster);
11813     }
11814 
11815     result = (bool)((lldb::SBBroadcaster const *)arg1)->operator <((lldb::SBBroadcaster const &)*arg2);
11816     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11817     return SWIG_arg;
11818 
11819     fail: SWIGUNUSED;
11820   }
11821   lua_error(L);
11822   return 0;
11823 }
11824 
11825 
swig_delete_SBBroadcaster(void * obj)11826 static void swig_delete_SBBroadcaster(void *obj) {
11827 lldb::SBBroadcaster *arg1 = (lldb::SBBroadcaster *) obj;
11828 delete arg1;
11829 }
_proxy__wrap_new_SBBroadcaster(lua_State * L)11830 static int _proxy__wrap_new_SBBroadcaster(lua_State *L) {
11831     assert(lua_istable(L,1));
11832     lua_pushcfunction(L,_wrap_new_SBBroadcaster);
11833     assert(!lua_isnil(L,-1));
11834     lua_replace(L,1); /* replace our table with real constructor */
11835     lua_call(L,lua_gettop(L)-1,1);
11836     return 1;
11837 }
11838 static swig_lua_attribute swig_SBBroadcaster_attributes[] = {
11839     {0,0,0}
11840 };
11841 static swig_lua_method swig_SBBroadcaster_methods[]= {
11842     { "IsValid", _wrap_SBBroadcaster_IsValid},
11843     { "Clear", _wrap_SBBroadcaster_Clear},
11844     { "BroadcastEventByType", _wrap_SBBroadcaster_BroadcastEventByType},
11845     { "BroadcastEvent", _wrap_SBBroadcaster_BroadcastEvent},
11846     { "AddInitialEventsToListener", _wrap_SBBroadcaster_AddInitialEventsToListener},
11847     { "AddListener", _wrap_SBBroadcaster_AddListener},
11848     { "GetName", _wrap_SBBroadcaster_GetName},
11849     { "EventTypeHasListeners", _wrap_SBBroadcaster_EventTypeHasListeners},
11850     { "RemoveListener", _wrap_SBBroadcaster_RemoveListener},
11851     { "__eq", _wrap_SBBroadcaster___eq},
11852     { "__lt", _wrap_SBBroadcaster___lt},
11853     {0,0}
11854 };
11855 static swig_lua_method swig_SBBroadcaster_meta[] = {
11856     { "__eq", _wrap_SBBroadcaster___eq},
11857     { "__lt", _wrap_SBBroadcaster___lt},
11858     {0,0}
11859 };
11860 
11861 static swig_lua_attribute swig_SBBroadcaster_Sf_SwigStatic_attributes[] = {
11862     {0,0,0}
11863 };
11864 static swig_lua_const_info swig_SBBroadcaster_Sf_SwigStatic_constants[]= {
11865     {0,0,0,0,0,0}
11866 };
11867 static swig_lua_method swig_SBBroadcaster_Sf_SwigStatic_methods[]= {
11868     {0,0}
11869 };
11870 static swig_lua_class* swig_SBBroadcaster_Sf_SwigStatic_classes[]= {
11871     0
11872 };
11873 
11874 static swig_lua_namespace swig_SBBroadcaster_Sf_SwigStatic = {
11875     "SBBroadcaster",
11876     swig_SBBroadcaster_Sf_SwigStatic_methods,
11877     swig_SBBroadcaster_Sf_SwigStatic_attributes,
11878     swig_SBBroadcaster_Sf_SwigStatic_constants,
11879     swig_SBBroadcaster_Sf_SwigStatic_classes,
11880     0
11881 };
11882 static swig_lua_class *swig_SBBroadcaster_bases[] = {0};
11883 static const char *swig_SBBroadcaster_base_names[] = {0};
11884 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 };
11885 
_wrap_new_SBCommandInterpreter__SWIG_0(lua_State * L)11886 static int _wrap_new_SBCommandInterpreter__SWIG_0(lua_State* L) {
11887   {
11888     int SWIG_arg = 0;
11889     lldb::SBCommandInterpreter *result = 0 ;
11890 
11891     SWIG_check_num_args("lldb::SBCommandInterpreter::SBCommandInterpreter",0,0)
11892     result = (lldb::SBCommandInterpreter *)new lldb::SBCommandInterpreter();
11893     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++;
11894     return SWIG_arg;
11895 
11896     fail: SWIGUNUSED;
11897   }
11898   lua_error(L);
11899   return 0;
11900 }
11901 
11902 
_wrap_new_SBCommandInterpreter__SWIG_1(lua_State * L)11903 static int _wrap_new_SBCommandInterpreter__SWIG_1(lua_State* L) {
11904   {
11905     int SWIG_arg = 0;
11906     lldb::SBCommandInterpreter *arg1 = 0 ;
11907     lldb::SBCommandInterpreter *result = 0 ;
11908 
11909     SWIG_check_num_args("lldb::SBCommandInterpreter::SBCommandInterpreter",1,1)
11910     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SBCommandInterpreter",1,"lldb::SBCommandInterpreter const &");
11911 
11912     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
11913       SWIG_fail_ptr("new_SBCommandInterpreter",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
11914     }
11915 
11916     result = (lldb::SBCommandInterpreter *)new lldb::SBCommandInterpreter((lldb::SBCommandInterpreter const &)*arg1);
11917     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++;
11918     return SWIG_arg;
11919 
11920     fail: SWIGUNUSED;
11921   }
11922   lua_error(L);
11923   return 0;
11924 }
11925 
11926 
_wrap_new_SBCommandInterpreter(lua_State * L)11927 static int _wrap_new_SBCommandInterpreter(lua_State* L) {
11928   int argc;
11929   int argv[2]={
11930     1,2
11931   };
11932 
11933   argc = lua_gettop(L);
11934   if (argc == 0) {
11935     return _wrap_new_SBCommandInterpreter__SWIG_0(L);
11936   }
11937   if (argc == 1) {
11938     int _v = 0;
11939     {
11940       void *ptr;
11941       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, SWIG_POINTER_NO_NULL)) {
11942         _v = 0;
11943       } else {
11944         _v = 1;
11945       }
11946     }
11947     if (_v) {
11948       return _wrap_new_SBCommandInterpreter__SWIG_1(L);
11949     }
11950   }
11951 
11952   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommandInterpreter'\n"
11953     "  Possible C/C++ prototypes are:\n"
11954     "    lldb::SBCommandInterpreter::SBCommandInterpreter()\n"
11955     "    lldb::SBCommandInterpreter::SBCommandInterpreter(lldb::SBCommandInterpreter const &)\n");
11956   lua_error(L);return 0;
11957 }
11958 
11959 
_wrap_SBCommandInterpreter_GetArgumentTypeAsCString(lua_State * L)11960 static int _wrap_SBCommandInterpreter_GetArgumentTypeAsCString(lua_State* L) {
11961   {
11962     int SWIG_arg = 0;
11963     lldb::CommandArgumentType arg1 ;
11964     char *result = 0 ;
11965 
11966     SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,1)
11967     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentTypeAsCString",1,"lldb::CommandArgumentType const");
11968     arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1);
11969     result = (char *)lldb::SBCommandInterpreter::GetArgumentTypeAsCString(arg1);
11970     lua_pushstring(L,(const char *)result); SWIG_arg++;
11971     return SWIG_arg;
11972 
11973     fail: SWIGUNUSED;
11974   }
11975   lua_error(L);
11976   return 0;
11977 }
11978 
11979 
_wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString(lua_State * L)11980 static int _wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString(lua_State* L) {
11981   {
11982     int SWIG_arg = 0;
11983     lldb::CommandArgumentType arg1 ;
11984     char *result = 0 ;
11985 
11986     SWIG_check_num_args("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,1)
11987     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString",1,"lldb::CommandArgumentType const");
11988     arg1 = (lldb::CommandArgumentType const)lua_tointeger(L, 1);
11989     result = (char *)lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString(arg1);
11990     lua_pushstring(L,(const char *)result); SWIG_arg++;
11991     return SWIG_arg;
11992 
11993     fail: SWIGUNUSED;
11994   }
11995   lua_error(L);
11996   return 0;
11997 }
11998 
11999 
_wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent(lua_State * L)12000 static int _wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent(lua_State* L) {
12001   {
12002     int SWIG_arg = 0;
12003     lldb::SBEvent *arg1 = 0 ;
12004     bool result;
12005 
12006     SWIG_check_num_args("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,1)
12007     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent",1,"lldb::SBEvent const &");
12008 
12009     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
12010       SWIG_fail_ptr("SBCommandInterpreter_EventIsCommandInterpreterEvent",1,SWIGTYPE_p_lldb__SBEvent);
12011     }
12012 
12013     result = (bool)lldb::SBCommandInterpreter::EventIsCommandInterpreterEvent((lldb::SBEvent const &)*arg1);
12014     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12015     return SWIG_arg;
12016 
12017     fail: SWIGUNUSED;
12018   }
12019   lua_error(L);
12020   return 0;
12021 }
12022 
12023 
_wrap_SBCommandInterpreter_IsValid(lua_State * L)12024 static int _wrap_SBCommandInterpreter_IsValid(lua_State* L) {
12025   {
12026     int SWIG_arg = 0;
12027     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12028     bool result;
12029 
12030     SWIG_check_num_args("lldb::SBCommandInterpreter::IsValid",1,1)
12031     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsValid",1,"lldb::SBCommandInterpreter const *");
12032 
12033     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12034       SWIG_fail_ptr("SBCommandInterpreter_IsValid",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12035     }
12036 
12037     result = (bool)((lldb::SBCommandInterpreter const *)arg1)->IsValid();
12038     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12039     return SWIG_arg;
12040 
12041     fail: SWIGUNUSED;
12042   }
12043   lua_error(L);
12044   return 0;
12045 }
12046 
12047 
_wrap_SBCommandInterpreter_CommandExists(lua_State * L)12048 static int _wrap_SBCommandInterpreter_CommandExists(lua_State* L) {
12049   {
12050     int SWIG_arg = 0;
12051     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12052     char *arg2 = (char *) 0 ;
12053     bool result;
12054 
12055     SWIG_check_num_args("lldb::SBCommandInterpreter::CommandExists",2,2)
12056     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",1,"lldb::SBCommandInterpreter *");
12057     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::CommandExists",2,"char const *");
12058 
12059     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12060       SWIG_fail_ptr("SBCommandInterpreter_CommandExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12061     }
12062 
12063     arg2 = (char *)lua_tostring(L, 2);
12064     result = (bool)(arg1)->CommandExists((char const *)arg2);
12065     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12066     return SWIG_arg;
12067 
12068     fail: SWIGUNUSED;
12069   }
12070   lua_error(L);
12071   return 0;
12072 }
12073 
12074 
_wrap_SBCommandInterpreter_UserCommandExists(lua_State * L)12075 static int _wrap_SBCommandInterpreter_UserCommandExists(lua_State* L) {
12076   {
12077     int SWIG_arg = 0;
12078     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12079     char *arg2 = (char *) 0 ;
12080     bool result;
12081 
12082     SWIG_check_num_args("lldb::SBCommandInterpreter::UserCommandExists",2,2)
12083     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::UserCommandExists",1,"lldb::SBCommandInterpreter *");
12084     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::UserCommandExists",2,"char const *");
12085 
12086     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12087       SWIG_fail_ptr("SBCommandInterpreter_UserCommandExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12088     }
12089 
12090     arg2 = (char *)lua_tostring(L, 2);
12091     result = (bool)(arg1)->UserCommandExists((char const *)arg2);
12092     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12093     return SWIG_arg;
12094 
12095     fail: SWIGUNUSED;
12096   }
12097   lua_error(L);
12098   return 0;
12099 }
12100 
12101 
_wrap_SBCommandInterpreter_AliasExists(lua_State * L)12102 static int _wrap_SBCommandInterpreter_AliasExists(lua_State* L) {
12103   {
12104     int SWIG_arg = 0;
12105     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12106     char *arg2 = (char *) 0 ;
12107     bool result;
12108 
12109     SWIG_check_num_args("lldb::SBCommandInterpreter::AliasExists",2,2)
12110     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",1,"lldb::SBCommandInterpreter *");
12111     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AliasExists",2,"char const *");
12112 
12113     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12114       SWIG_fail_ptr("SBCommandInterpreter_AliasExists",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12115     }
12116 
12117     arg2 = (char *)lua_tostring(L, 2);
12118     result = (bool)(arg1)->AliasExists((char const *)arg2);
12119     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12120     return SWIG_arg;
12121 
12122     fail: SWIGUNUSED;
12123   }
12124   lua_error(L);
12125   return 0;
12126 }
12127 
12128 
_wrap_SBCommandInterpreter_GetBroadcaster(lua_State * L)12129 static int _wrap_SBCommandInterpreter_GetBroadcaster(lua_State* L) {
12130   {
12131     int SWIG_arg = 0;
12132     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12133     lldb::SBBroadcaster result;
12134 
12135     SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcaster",1,1)
12136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetBroadcaster",1,"lldb::SBCommandInterpreter *");
12137 
12138     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12139       SWIG_fail_ptr("SBCommandInterpreter_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12140     }
12141 
12142     result = (arg1)->GetBroadcaster();
12143     {
12144       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
12145       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
12146     }
12147     return SWIG_arg;
12148 
12149     fail: SWIGUNUSED;
12150   }
12151   lua_error(L);
12152   return 0;
12153 }
12154 
12155 
_wrap_SBCommandInterpreter_GetBroadcasterClass(lua_State * L)12156 static int _wrap_SBCommandInterpreter_GetBroadcasterClass(lua_State* L) {
12157   {
12158     int SWIG_arg = 0;
12159     char *result = 0 ;
12160 
12161     SWIG_check_num_args("lldb::SBCommandInterpreter::GetBroadcasterClass",0,0)
12162     result = (char *)lldb::SBCommandInterpreter::GetBroadcasterClass();
12163     lua_pushstring(L,(const char *)result); SWIG_arg++;
12164     return SWIG_arg;
12165 
12166     fail: SWIGUNUSED;
12167   }
12168   lua_error(L);
12169   return 0;
12170 }
12171 
12172 
_wrap_SBCommandInterpreter_HasCommands(lua_State * L)12173 static int _wrap_SBCommandInterpreter_HasCommands(lua_State* L) {
12174   {
12175     int SWIG_arg = 0;
12176     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12177     bool result;
12178 
12179     SWIG_check_num_args("lldb::SBCommandInterpreter::HasCommands",1,1)
12180     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCommands",1,"lldb::SBCommandInterpreter *");
12181 
12182     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12183       SWIG_fail_ptr("SBCommandInterpreter_HasCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12184     }
12185 
12186     result = (bool)(arg1)->HasCommands();
12187     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12188     return SWIG_arg;
12189 
12190     fail: SWIGUNUSED;
12191   }
12192   lua_error(L);
12193   return 0;
12194 }
12195 
12196 
_wrap_SBCommandInterpreter_HasAliases(lua_State * L)12197 static int _wrap_SBCommandInterpreter_HasAliases(lua_State* L) {
12198   {
12199     int SWIG_arg = 0;
12200     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12201     bool result;
12202 
12203     SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliases",1,1)
12204     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliases",1,"lldb::SBCommandInterpreter *");
12205 
12206     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12207       SWIG_fail_ptr("SBCommandInterpreter_HasAliases",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12208     }
12209 
12210     result = (bool)(arg1)->HasAliases();
12211     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12212     return SWIG_arg;
12213 
12214     fail: SWIGUNUSED;
12215   }
12216   lua_error(L);
12217   return 0;
12218 }
12219 
12220 
_wrap_SBCommandInterpreter_HasAliasOptions(lua_State * L)12221 static int _wrap_SBCommandInterpreter_HasAliasOptions(lua_State* L) {
12222   {
12223     int SWIG_arg = 0;
12224     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12225     bool result;
12226 
12227     SWIG_check_num_args("lldb::SBCommandInterpreter::HasAliasOptions",1,1)
12228     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasAliasOptions",1,"lldb::SBCommandInterpreter *");
12229 
12230     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12231       SWIG_fail_ptr("SBCommandInterpreter_HasAliasOptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12232     }
12233 
12234     result = (bool)(arg1)->HasAliasOptions();
12235     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12236     return SWIG_arg;
12237 
12238     fail: SWIGUNUSED;
12239   }
12240   lua_error(L);
12241   return 0;
12242 }
12243 
12244 
_wrap_SBCommandInterpreter_IsInteractive(lua_State * L)12245 static int _wrap_SBCommandInterpreter_IsInteractive(lua_State* L) {
12246   {
12247     int SWIG_arg = 0;
12248     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12249     bool result;
12250 
12251     SWIG_check_num_args("lldb::SBCommandInterpreter::IsInteractive",1,1)
12252     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsInteractive",1,"lldb::SBCommandInterpreter *");
12253 
12254     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12255       SWIG_fail_ptr("SBCommandInterpreter_IsInteractive",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12256     }
12257 
12258     result = (bool)(arg1)->IsInteractive();
12259     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12260     return SWIG_arg;
12261 
12262     fail: SWIGUNUSED;
12263   }
12264   lua_error(L);
12265   return 0;
12266 }
12267 
12268 
_wrap_SBCommandInterpreter_GetProcess(lua_State * L)12269 static int _wrap_SBCommandInterpreter_GetProcess(lua_State* L) {
12270   {
12271     int SWIG_arg = 0;
12272     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12273     lldb::SBProcess result;
12274 
12275     SWIG_check_num_args("lldb::SBCommandInterpreter::GetProcess",1,1)
12276     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetProcess",1,"lldb::SBCommandInterpreter *");
12277 
12278     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12279       SWIG_fail_ptr("SBCommandInterpreter_GetProcess",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12280     }
12281 
12282     result = (arg1)->GetProcess();
12283     {
12284       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
12285       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
12286     }
12287     return SWIG_arg;
12288 
12289     fail: SWIGUNUSED;
12290   }
12291   lua_error(L);
12292   return 0;
12293 }
12294 
12295 
_wrap_SBCommandInterpreter_GetDebugger(lua_State * L)12296 static int _wrap_SBCommandInterpreter_GetDebugger(lua_State* L) {
12297   {
12298     int SWIG_arg = 0;
12299     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12300     lldb::SBDebugger result;
12301 
12302     SWIG_check_num_args("lldb::SBCommandInterpreter::GetDebugger",1,1)
12303     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetDebugger",1,"lldb::SBCommandInterpreter *");
12304 
12305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12306       SWIG_fail_ptr("SBCommandInterpreter_GetDebugger",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12307     }
12308 
12309     result = (arg1)->GetDebugger();
12310     {
12311       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
12312       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
12313     }
12314     return SWIG_arg;
12315 
12316     fail: SWIGUNUSED;
12317   }
12318   lua_error(L);
12319   return 0;
12320 }
12321 
12322 
_wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_0(lua_State * L)12323 static int _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_0(lua_State* L) {
12324   {
12325     int SWIG_arg = 0;
12326     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12327     lldb::SBCommandReturnObject *arg2 = 0 ;
12328 
12329     SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,2)
12330     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",1,"lldb::SBCommandInterpreter *");
12331     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,"lldb::SBCommandReturnObject &");
12332 
12333     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12334       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12335     }
12336 
12337 
12338     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12339       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject);
12340     }
12341 
12342     (arg1)->SourceInitFileInHomeDirectory(*arg2);
12343 
12344     return SWIG_arg;
12345 
12346     fail: SWIGUNUSED;
12347   }
12348   lua_error(L);
12349   return 0;
12350 }
12351 
12352 
_wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_1(lua_State * L)12353 static int _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_1(lua_State* L) {
12354   {
12355     int SWIG_arg = 0;
12356     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12357     lldb::SBCommandReturnObject *arg2 = 0 ;
12358     bool arg3 ;
12359 
12360     SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",3,3)
12361     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",1,"lldb::SBCommandInterpreter *");
12362     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",2,"lldb::SBCommandReturnObject &");
12363     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory",3,"bool");
12364 
12365     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12366       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12367     }
12368 
12369 
12370     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12371       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInHomeDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject);
12372     }
12373 
12374     arg3 = (lua_toboolean(L, 3)!=0);
12375     (arg1)->SourceInitFileInHomeDirectory(*arg2,arg3);
12376 
12377     return SWIG_arg;
12378 
12379     fail: SWIGUNUSED;
12380   }
12381   lua_error(L);
12382   return 0;
12383 }
12384 
12385 
_wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory(lua_State * L)12386 static int _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory(lua_State* L) {
12387   int argc;
12388   int argv[4]={
12389     1,2,3,4
12390   };
12391 
12392   argc = lua_gettop(L);
12393   if (argc == 2) {
12394     int _v = 0;
12395     {
12396       void *ptr;
12397       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12398         _v = 0;
12399       } else {
12400         _v = 1;
12401       }
12402     }
12403     if (_v) {
12404       {
12405         void *ptr;
12406         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12407           _v = 0;
12408         } else {
12409           _v = 1;
12410         }
12411       }
12412       if (_v) {
12413         return _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_0(L);
12414       }
12415     }
12416   }
12417   if (argc == 3) {
12418     int _v = 0;
12419     {
12420       void *ptr;
12421       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12422         _v = 0;
12423       } else {
12424         _v = 1;
12425       }
12426     }
12427     if (_v) {
12428       {
12429         void *ptr;
12430         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12431           _v = 0;
12432         } else {
12433           _v = 1;
12434         }
12435       }
12436       if (_v) {
12437         {
12438           _v = lua_isboolean(L,argv[2]);
12439         }
12440         if (_v) {
12441           return _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__SWIG_1(L);
12442         }
12443       }
12444     }
12445   }
12446 
12447   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandInterpreter_SourceInitFileInHomeDirectory'\n"
12448     "  Possible C/C++ prototypes are:\n"
12449     "    lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory(lldb::SBCommandReturnObject &)\n"
12450     "    lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory(lldb::SBCommandReturnObject &,bool)\n");
12451   lua_error(L);return 0;
12452 }
12453 
12454 
_wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory(lua_State * L)12455 static int _wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory(lua_State* L) {
12456   {
12457     int SWIG_arg = 0;
12458     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12459     lldb::SBCommandReturnObject *arg2 = 0 ;
12460 
12461     SWIG_check_num_args("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,2)
12462     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",1,"lldb::SBCommandInterpreter *");
12463     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory",2,"lldb::SBCommandReturnObject &");
12464 
12465     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12466       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12467     }
12468 
12469 
12470     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12471       SWIG_fail_ptr("SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory",2,SWIGTYPE_p_lldb__SBCommandReturnObject);
12472     }
12473 
12474     (arg1)->SourceInitFileInCurrentWorkingDirectory(*arg2);
12475 
12476     return SWIG_arg;
12477 
12478     fail: SWIGUNUSED;
12479   }
12480   lua_error(L);
12481   return 0;
12482 }
12483 
12484 
_wrap_SBCommandInterpreter_HandleCommand__SWIG_0(lua_State * L)12485 static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_0(lua_State* L) {
12486   {
12487     int SWIG_arg = 0;
12488     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12489     char *arg2 = (char *) 0 ;
12490     lldb::SBCommandReturnObject *arg3 = 0 ;
12491     bool arg4 ;
12492     lldb::ReturnStatus result;
12493 
12494     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4)
12495     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *");
12496     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *");
12497     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &");
12498     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"bool");
12499 
12500     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12501       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12502     }
12503 
12504     arg2 = (char *)lua_tostring(L, 2);
12505 
12506     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12507       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject);
12508     }
12509 
12510     arg4 = (lua_toboolean(L, 4)!=0);
12511     result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,arg4);
12512     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12513     return SWIG_arg;
12514 
12515     fail: SWIGUNUSED;
12516   }
12517   lua_error(L);
12518   return 0;
12519 }
12520 
12521 
_wrap_SBCommandInterpreter_HandleCommand__SWIG_1(lua_State * L)12522 static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_1(lua_State* L) {
12523   {
12524     int SWIG_arg = 0;
12525     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12526     char *arg2 = (char *) 0 ;
12527     lldb::SBCommandReturnObject *arg3 = 0 ;
12528     lldb::ReturnStatus result;
12529 
12530     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",3,3)
12531     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *");
12532     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *");
12533     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBCommandReturnObject &");
12534 
12535     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12536       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12537     }
12538 
12539     arg2 = (char *)lua_tostring(L, 2);
12540 
12541     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12542       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject);
12543     }
12544 
12545     result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3);
12546     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12547     return SWIG_arg;
12548 
12549     fail: SWIGUNUSED;
12550   }
12551   lua_error(L);
12552   return 0;
12553 }
12554 
12555 
_wrap_SBCommandInterpreter_HandleCommand__SWIG_2(lua_State * L)12556 static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_2(lua_State* L) {
12557   {
12558     int SWIG_arg = 0;
12559     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12560     char *arg2 = (char *) 0 ;
12561     lldb::SBExecutionContext *arg3 = 0 ;
12562     lldb::SBCommandReturnObject *arg4 = 0 ;
12563     bool arg5 ;
12564     lldb::ReturnStatus result;
12565 
12566     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",5,5)
12567     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *");
12568     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *");
12569     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &");
12570     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &");
12571     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",5,"bool");
12572 
12573     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12574       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12575     }
12576 
12577     arg2 = (char *)lua_tostring(L, 2);
12578 
12579     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){
12580       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext);
12581     }
12582 
12583 
12584     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12585       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject);
12586     }
12587 
12588     arg5 = (lua_toboolean(L, 5)!=0);
12589     result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4,arg5);
12590     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12591     return SWIG_arg;
12592 
12593     fail: SWIGUNUSED;
12594   }
12595   lua_error(L);
12596   return 0;
12597 }
12598 
12599 
_wrap_SBCommandInterpreter_HandleCommand__SWIG_3(lua_State * L)12600 static int _wrap_SBCommandInterpreter_HandleCommand__SWIG_3(lua_State* L) {
12601   {
12602     int SWIG_arg = 0;
12603     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12604     char *arg2 = (char *) 0 ;
12605     lldb::SBExecutionContext *arg3 = 0 ;
12606     lldb::SBCommandReturnObject *arg4 = 0 ;
12607     lldb::ReturnStatus result;
12608 
12609     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommand",4,4)
12610     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",1,"lldb::SBCommandInterpreter *");
12611     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",2,"char const *");
12612     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",3,"lldb::SBExecutionContext &");
12613     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommand",4,"lldb::SBCommandReturnObject &");
12614 
12615     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12616       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12617     }
12618 
12619     arg2 = (char *)lua_tostring(L, 2);
12620 
12621     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){
12622       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",3,SWIGTYPE_p_lldb__SBExecutionContext);
12623     }
12624 
12625 
12626     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12627       SWIG_fail_ptr("SBCommandInterpreter_HandleCommand",4,SWIGTYPE_p_lldb__SBCommandReturnObject);
12628     }
12629 
12630     result = (lldb::ReturnStatus)(arg1)->HandleCommand((char const *)arg2,*arg3,*arg4);
12631     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12632     return SWIG_arg;
12633 
12634     fail: SWIGUNUSED;
12635   }
12636   lua_error(L);
12637   return 0;
12638 }
12639 
12640 
_wrap_SBCommandInterpreter_HandleCommand(lua_State * L)12641 static int _wrap_SBCommandInterpreter_HandleCommand(lua_State* L) {
12642   int argc;
12643   int argv[6]={
12644     1,2,3,4,5,6
12645   };
12646 
12647   argc = lua_gettop(L);
12648   if (argc == 3) {
12649     int _v = 0;
12650     {
12651       void *ptr;
12652       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12653         _v = 0;
12654       } else {
12655         _v = 1;
12656       }
12657     }
12658     if (_v) {
12659       {
12660         _v = SWIG_lua_isnilstring(L,argv[1]);
12661       }
12662       if (_v) {
12663         {
12664           void *ptr;
12665           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12666             _v = 0;
12667           } else {
12668             _v = 1;
12669           }
12670         }
12671         if (_v) {
12672           return _wrap_SBCommandInterpreter_HandleCommand__SWIG_1(L);
12673         }
12674       }
12675     }
12676   }
12677   if (argc == 4) {
12678     int _v = 0;
12679     {
12680       void *ptr;
12681       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12682         _v = 0;
12683       } else {
12684         _v = 1;
12685       }
12686     }
12687     if (_v) {
12688       {
12689         _v = SWIG_lua_isnilstring(L,argv[1]);
12690       }
12691       if (_v) {
12692         {
12693           void *ptr;
12694           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12695             _v = 0;
12696           } else {
12697             _v = 1;
12698           }
12699         }
12700         if (_v) {
12701           {
12702             _v = lua_isboolean(L,argv[3]);
12703           }
12704           if (_v) {
12705             return _wrap_SBCommandInterpreter_HandleCommand__SWIG_0(L);
12706           }
12707         }
12708       }
12709     }
12710   }
12711   if (argc == 4) {
12712     int _v = 0;
12713     {
12714       void *ptr;
12715       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12716         _v = 0;
12717       } else {
12718         _v = 1;
12719       }
12720     }
12721     if (_v) {
12722       {
12723         _v = SWIG_lua_isnilstring(L,argv[1]);
12724       }
12725       if (_v) {
12726         {
12727           void *ptr;
12728           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) {
12729             _v = 0;
12730           } else {
12731             _v = 1;
12732           }
12733         }
12734         if (_v) {
12735           {
12736             void *ptr;
12737             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12738               _v = 0;
12739             } else {
12740               _v = 1;
12741             }
12742           }
12743           if (_v) {
12744             return _wrap_SBCommandInterpreter_HandleCommand__SWIG_3(L);
12745           }
12746         }
12747       }
12748     }
12749   }
12750   if (argc == 5) {
12751     int _v = 0;
12752     {
12753       void *ptr;
12754       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, 0)) {
12755         _v = 0;
12756       } else {
12757         _v = 1;
12758       }
12759     }
12760     if (_v) {
12761       {
12762         _v = SWIG_lua_isnilstring(L,argv[1]);
12763       }
12764       if (_v) {
12765         {
12766           void *ptr;
12767           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) {
12768             _v = 0;
12769           } else {
12770             _v = 1;
12771           }
12772         }
12773         if (_v) {
12774           {
12775             void *ptr;
12776             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
12777               _v = 0;
12778             } else {
12779               _v = 1;
12780             }
12781           }
12782           if (_v) {
12783             {
12784               _v = lua_isboolean(L,argv[4]);
12785             }
12786             if (_v) {
12787               return _wrap_SBCommandInterpreter_HandleCommand__SWIG_2(L);
12788             }
12789           }
12790         }
12791       }
12792     }
12793   }
12794 
12795   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandInterpreter_HandleCommand'\n"
12796     "  Possible C/C++ prototypes are:\n"
12797     "    lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBCommandReturnObject &,bool)\n"
12798     "    lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBCommandReturnObject &)\n"
12799     "    lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBExecutionContext &,lldb::SBCommandReturnObject &,bool)\n"
12800     "    lldb::SBCommandInterpreter::HandleCommand(char const *,lldb::SBExecutionContext &,lldb::SBCommandReturnObject &)\n");
12801   lua_error(L);return 0;
12802 }
12803 
12804 
_wrap_SBCommandInterpreter_HandleCommandsFromFile(lua_State * L)12805 static int _wrap_SBCommandInterpreter_HandleCommandsFromFile(lua_State* L) {
12806   {
12807     int SWIG_arg = 0;
12808     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12809     lldb::SBFileSpec *arg2 = 0 ;
12810     lldb::SBExecutionContext *arg3 = 0 ;
12811     lldb::SBCommandInterpreterRunOptions *arg4 = 0 ;
12812     lldb::SBCommandReturnObject arg5 ;
12813     lldb::SBCommandReturnObject *argp5 ;
12814 
12815     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,5)
12816     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",1,"lldb::SBCommandInterpreter *");
12817     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",2,"lldb::SBFileSpec &");
12818     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",3,"lldb::SBExecutionContext &");
12819     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",4,"lldb::SBCommandInterpreterRunOptions &");
12820     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCommandsFromFile",5,"lldb::SBCommandReturnObject");
12821 
12822     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12823       SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12824     }
12825 
12826 
12827     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
12828       SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",2,SWIGTYPE_p_lldb__SBFileSpec);
12829     }
12830 
12831 
12832     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExecutionContext,0))){
12833       SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",3,SWIGTYPE_p_lldb__SBExecutionContext);
12834     }
12835 
12836 
12837     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
12838       SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
12839     }
12840 
12841 
12842     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
12843       SWIG_fail_ptr("SBCommandInterpreter_HandleCommandsFromFile",5,SWIGTYPE_p_lldb__SBCommandReturnObject);
12844     }
12845     arg5 = *argp5;
12846 
12847     (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,arg5);
12848 
12849     return SWIG_arg;
12850 
12851     fail: SWIGUNUSED;
12852   }
12853   lua_error(L);
12854   return 0;
12855 }
12856 
12857 
_wrap_SBCommandInterpreter_HandleCompletion(lua_State * L)12858 static int _wrap_SBCommandInterpreter_HandleCompletion(lua_State* L) {
12859   {
12860     int SWIG_arg = 0;
12861     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12862     char *arg2 = (char *) 0 ;
12863     uint32_t arg3 ;
12864     int arg4 ;
12865     int arg5 ;
12866     lldb::SBStringList *arg6 = 0 ;
12867     int result;
12868 
12869     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletion",6,6)
12870     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",1,"lldb::SBCommandInterpreter *");
12871     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",2,"char const *");
12872     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",3,"uint32_t");
12873     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",4,"int");
12874     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",5,"int");
12875     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletion",6,"lldb::SBStringList &");
12876 
12877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12878       SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12879     }
12880 
12881     arg2 = (char *)lua_tostring(L, 2);
12882     arg3 = (uint32_t)lua_tointeger(L, 3);
12883     arg4 = (int)lua_tointeger(L, 4);
12884     arg5 = (int)lua_tointeger(L, 5);
12885 
12886     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){
12887       SWIG_fail_ptr("SBCommandInterpreter_HandleCompletion",6,SWIGTYPE_p_lldb__SBStringList);
12888     }
12889 
12890     result = (int)(arg1)->HandleCompletion((char const *)arg2,arg3,arg4,arg5,*arg6);
12891     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12892     return SWIG_arg;
12893 
12894     fail: SWIGUNUSED;
12895   }
12896   lua_error(L);
12897   return 0;
12898 }
12899 
12900 
_wrap_SBCommandInterpreter_HandleCompletionWithDescriptions(lua_State * L)12901 static int _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions(lua_State* L) {
12902   {
12903     int SWIG_arg = 0;
12904     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12905     char *arg2 = (char *) 0 ;
12906     uint32_t arg3 ;
12907     int arg4 ;
12908     int arg5 ;
12909     lldb::SBStringList *arg6 = 0 ;
12910     lldb::SBStringList *arg7 = 0 ;
12911     int result;
12912 
12913     SWIG_check_num_args("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,7)
12914     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",1,"lldb::SBCommandInterpreter *");
12915     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",2,"char const *");
12916     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",3,"uint32_t");
12917     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",4,"int");
12918     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",5,"int");
12919     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",6,"lldb::SBStringList &");
12920     if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBCommandInterpreter::HandleCompletionWithDescriptions",7,"lldb::SBStringList &");
12921 
12922     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12923       SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12924     }
12925 
12926     arg2 = (char *)lua_tostring(L, 2);
12927     arg3 = (uint32_t)lua_tointeger(L, 3);
12928     arg4 = (int)lua_tointeger(L, 4);
12929     arg5 = (int)lua_tointeger(L, 5);
12930 
12931     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBStringList,0))){
12932       SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",6,SWIGTYPE_p_lldb__SBStringList);
12933     }
12934 
12935 
12936     if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStringList,0))){
12937       SWIG_fail_ptr("SBCommandInterpreter_HandleCompletionWithDescriptions",7,SWIGTYPE_p_lldb__SBStringList);
12938     }
12939 
12940     result = (int)(arg1)->HandleCompletionWithDescriptions((char const *)arg2,arg3,arg4,arg5,*arg6,*arg7);
12941     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
12942     return SWIG_arg;
12943 
12944     fail: SWIGUNUSED;
12945   }
12946   lua_error(L);
12947   return 0;
12948 }
12949 
12950 
_wrap_SBCommandInterpreter_WasInterrupted(lua_State * L)12951 static int _wrap_SBCommandInterpreter_WasInterrupted(lua_State* L) {
12952   {
12953     int SWIG_arg = 0;
12954     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12955     bool result;
12956 
12957     SWIG_check_num_args("lldb::SBCommandInterpreter::WasInterrupted",1,1)
12958     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::WasInterrupted",1,"lldb::SBCommandInterpreter const *");
12959 
12960     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12961       SWIG_fail_ptr("SBCommandInterpreter_WasInterrupted",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12962     }
12963 
12964     result = (bool)((lldb::SBCommandInterpreter const *)arg1)->WasInterrupted();
12965     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12966     return SWIG_arg;
12967 
12968     fail: SWIGUNUSED;
12969   }
12970   lua_error(L);
12971   return 0;
12972 }
12973 
12974 
_wrap_SBCommandInterpreter_InterruptCommand(lua_State * L)12975 static int _wrap_SBCommandInterpreter_InterruptCommand(lua_State* L) {
12976   {
12977     int SWIG_arg = 0;
12978     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
12979     bool result;
12980 
12981     SWIG_check_num_args("lldb::SBCommandInterpreter::InterruptCommand",1,1)
12982     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::InterruptCommand",1,"lldb::SBCommandInterpreter *");
12983 
12984     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
12985       SWIG_fail_ptr("SBCommandInterpreter_InterruptCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
12986     }
12987 
12988     result = (bool)(arg1)->InterruptCommand();
12989     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12990     return SWIG_arg;
12991 
12992     fail: SWIGUNUSED;
12993   }
12994   lua_error(L);
12995   return 0;
12996 }
12997 
12998 
_wrap_SBCommandInterpreter_IsActive(lua_State * L)12999 static int _wrap_SBCommandInterpreter_IsActive(lua_State* L) {
13000   {
13001     int SWIG_arg = 0;
13002     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13003     bool result;
13004 
13005     SWIG_check_num_args("lldb::SBCommandInterpreter::IsActive",1,1)
13006     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::IsActive",1,"lldb::SBCommandInterpreter *");
13007 
13008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13009       SWIG_fail_ptr("SBCommandInterpreter_IsActive",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13010     }
13011 
13012     result = (bool)(arg1)->IsActive();
13013     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13014     return SWIG_arg;
13015 
13016     fail: SWIGUNUSED;
13017   }
13018   lua_error(L);
13019   return 0;
13020 }
13021 
13022 
_wrap_SBCommandInterpreter_GetIOHandlerControlSequence(lua_State * L)13023 static int _wrap_SBCommandInterpreter_GetIOHandlerControlSequence(lua_State* L) {
13024   {
13025     int SWIG_arg = 0;
13026     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13027     char arg2 ;
13028     char *result = 0 ;
13029 
13030     SWIG_check_num_args("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,2)
13031     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",1,"lldb::SBCommandInterpreter *");
13032     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetIOHandlerControlSequence",2,"char");
13033 
13034     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13035       SWIG_fail_ptr("SBCommandInterpreter_GetIOHandlerControlSequence",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13036     }
13037 
13038     arg2 = (lua_tostring(L, 2))[0];
13039     result = (char *)(arg1)->GetIOHandlerControlSequence(arg2);
13040     lua_pushstring(L,(const char *)result); SWIG_arg++;
13041     return SWIG_arg;
13042 
13043     fail: SWIGUNUSED;
13044   }
13045   lua_error(L);
13046   return 0;
13047 }
13048 
13049 
_wrap_SBCommandInterpreter_GetPromptOnQuit(lua_State * L)13050 static int _wrap_SBCommandInterpreter_GetPromptOnQuit(lua_State* L) {
13051   {
13052     int SWIG_arg = 0;
13053     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13054     bool result;
13055 
13056     SWIG_check_num_args("lldb::SBCommandInterpreter::GetPromptOnQuit",1,1)
13057     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetPromptOnQuit",1,"lldb::SBCommandInterpreter *");
13058 
13059     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13060       SWIG_fail_ptr("SBCommandInterpreter_GetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13061     }
13062 
13063     result = (bool)(arg1)->GetPromptOnQuit();
13064     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13065     return SWIG_arg;
13066 
13067     fail: SWIGUNUSED;
13068   }
13069   lua_error(L);
13070   return 0;
13071 }
13072 
13073 
_wrap_SBCommandInterpreter_SetPromptOnQuit(lua_State * L)13074 static int _wrap_SBCommandInterpreter_SetPromptOnQuit(lua_State* L) {
13075   {
13076     int SWIG_arg = 0;
13077     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13078     bool arg2 ;
13079 
13080     SWIG_check_num_args("lldb::SBCommandInterpreter::SetPromptOnQuit",2,2)
13081     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",1,"lldb::SBCommandInterpreter *");
13082     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::SetPromptOnQuit",2,"bool");
13083 
13084     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13085       SWIG_fail_ptr("SBCommandInterpreter_SetPromptOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13086     }
13087 
13088     arg2 = (lua_toboolean(L, 2)!=0);
13089     (arg1)->SetPromptOnQuit(arg2);
13090 
13091     return SWIG_arg;
13092 
13093     fail: SWIGUNUSED;
13094   }
13095   lua_error(L);
13096   return 0;
13097 }
13098 
13099 
_wrap_SBCommandInterpreter_AllowExitCodeOnQuit(lua_State * L)13100 static int _wrap_SBCommandInterpreter_AllowExitCodeOnQuit(lua_State* L) {
13101   {
13102     int SWIG_arg = 0;
13103     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13104     bool arg2 ;
13105 
13106     SWIG_check_num_args("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,2)
13107     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",1,"lldb::SBCommandInterpreter *");
13108     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::AllowExitCodeOnQuit",2,"bool");
13109 
13110     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13111       SWIG_fail_ptr("SBCommandInterpreter_AllowExitCodeOnQuit",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13112     }
13113 
13114     arg2 = (lua_toboolean(L, 2)!=0);
13115     (arg1)->AllowExitCodeOnQuit(arg2);
13116 
13117     return SWIG_arg;
13118 
13119     fail: SWIGUNUSED;
13120   }
13121   lua_error(L);
13122   return 0;
13123 }
13124 
13125 
_wrap_SBCommandInterpreter_HasCustomQuitExitCode(lua_State * L)13126 static int _wrap_SBCommandInterpreter_HasCustomQuitExitCode(lua_State* L) {
13127   {
13128     int SWIG_arg = 0;
13129     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13130     bool result;
13131 
13132     SWIG_check_num_args("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,1)
13133     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::HasCustomQuitExitCode",1,"lldb::SBCommandInterpreter *");
13134 
13135     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13136       SWIG_fail_ptr("SBCommandInterpreter_HasCustomQuitExitCode",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13137     }
13138 
13139     result = (bool)(arg1)->HasCustomQuitExitCode();
13140     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13141     return SWIG_arg;
13142 
13143     fail: SWIGUNUSED;
13144   }
13145   lua_error(L);
13146   return 0;
13147 }
13148 
13149 
_wrap_SBCommandInterpreter_GetQuitStatus(lua_State * L)13150 static int _wrap_SBCommandInterpreter_GetQuitStatus(lua_State* L) {
13151   {
13152     int SWIG_arg = 0;
13153     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13154     int result;
13155 
13156     SWIG_check_num_args("lldb::SBCommandInterpreter::GetQuitStatus",1,1)
13157     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::GetQuitStatus",1,"lldb::SBCommandInterpreter *");
13158 
13159     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13160       SWIG_fail_ptr("SBCommandInterpreter_GetQuitStatus",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13161     }
13162 
13163     result = (int)(arg1)->GetQuitStatus();
13164     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
13165     return SWIG_arg;
13166 
13167     fail: SWIGUNUSED;
13168   }
13169   lua_error(L);
13170   return 0;
13171 }
13172 
13173 
_wrap_SBCommandInterpreter_ResolveCommand(lua_State * L)13174 static int _wrap_SBCommandInterpreter_ResolveCommand(lua_State* L) {
13175   {
13176     int SWIG_arg = 0;
13177     lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
13178     char *arg2 = (char *) 0 ;
13179     lldb::SBCommandReturnObject *arg3 = 0 ;
13180 
13181     SWIG_check_num_args("lldb::SBCommandInterpreter::ResolveCommand",3,3)
13182     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",1,"lldb::SBCommandInterpreter *");
13183     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",2,"char const *");
13184     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCommandInterpreter::ResolveCommand",3,"lldb::SBCommandReturnObject &");
13185 
13186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreter,0))){
13187       SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",1,SWIGTYPE_p_lldb__SBCommandInterpreter);
13188     }
13189 
13190     arg2 = (char *)lua_tostring(L, 2);
13191 
13192     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
13193       SWIG_fail_ptr("SBCommandInterpreter_ResolveCommand",3,SWIGTYPE_p_lldb__SBCommandReturnObject);
13194     }
13195 
13196     (arg1)->ResolveCommand((char const *)arg2,*arg3);
13197 
13198     return SWIG_arg;
13199 
13200     fail: SWIGUNUSED;
13201   }
13202   lua_error(L);
13203   return 0;
13204 }
13205 
13206 
swig_delete_SBCommandInterpreter(void * obj)13207 static void swig_delete_SBCommandInterpreter(void *obj) {
13208 lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) obj;
13209 delete arg1;
13210 }
_proxy__wrap_new_SBCommandInterpreter(lua_State * L)13211 static int _proxy__wrap_new_SBCommandInterpreter(lua_State *L) {
13212     assert(lua_istable(L,1));
13213     lua_pushcfunction(L,_wrap_new_SBCommandInterpreter);
13214     assert(!lua_isnil(L,-1));
13215     lua_replace(L,1); /* replace our table with real constructor */
13216     lua_call(L,lua_gettop(L)-1,1);
13217     return 1;
13218 }
13219 static swig_lua_attribute swig_SBCommandInterpreter_attributes[] = {
13220     {0,0,0}
13221 };
13222 static swig_lua_method swig_SBCommandInterpreter_methods[]= {
13223     { "IsValid", _wrap_SBCommandInterpreter_IsValid},
13224     { "CommandExists", _wrap_SBCommandInterpreter_CommandExists},
13225     { "UserCommandExists", _wrap_SBCommandInterpreter_UserCommandExists},
13226     { "AliasExists", _wrap_SBCommandInterpreter_AliasExists},
13227     { "GetBroadcaster", _wrap_SBCommandInterpreter_GetBroadcaster},
13228     { "HasCommands", _wrap_SBCommandInterpreter_HasCommands},
13229     { "HasAliases", _wrap_SBCommandInterpreter_HasAliases},
13230     { "HasAliasOptions", _wrap_SBCommandInterpreter_HasAliasOptions},
13231     { "IsInteractive", _wrap_SBCommandInterpreter_IsInteractive},
13232     { "GetProcess", _wrap_SBCommandInterpreter_GetProcess},
13233     { "GetDebugger", _wrap_SBCommandInterpreter_GetDebugger},
13234     { "SourceInitFileInHomeDirectory", _wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory},
13235     { "SourceInitFileInCurrentWorkingDirectory", _wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory},
13236     { "HandleCommand", _wrap_SBCommandInterpreter_HandleCommand},
13237     { "HandleCommandsFromFile", _wrap_SBCommandInterpreter_HandleCommandsFromFile},
13238     { "HandleCompletion", _wrap_SBCommandInterpreter_HandleCompletion},
13239     { "HandleCompletionWithDescriptions", _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions},
13240     { "WasInterrupted", _wrap_SBCommandInterpreter_WasInterrupted},
13241     { "InterruptCommand", _wrap_SBCommandInterpreter_InterruptCommand},
13242     { "IsActive", _wrap_SBCommandInterpreter_IsActive},
13243     { "GetIOHandlerControlSequence", _wrap_SBCommandInterpreter_GetIOHandlerControlSequence},
13244     { "GetPromptOnQuit", _wrap_SBCommandInterpreter_GetPromptOnQuit},
13245     { "SetPromptOnQuit", _wrap_SBCommandInterpreter_SetPromptOnQuit},
13246     { "AllowExitCodeOnQuit", _wrap_SBCommandInterpreter_AllowExitCodeOnQuit},
13247     { "HasCustomQuitExitCode", _wrap_SBCommandInterpreter_HasCustomQuitExitCode},
13248     { "GetQuitStatus", _wrap_SBCommandInterpreter_GetQuitStatus},
13249     { "ResolveCommand", _wrap_SBCommandInterpreter_ResolveCommand},
13250     {0,0}
13251 };
13252 static swig_lua_method swig_SBCommandInterpreter_meta[] = {
13253     {0,0}
13254 };
13255 
13256 static swig_lua_attribute swig_SBCommandInterpreter_Sf_SwigStatic_attributes[] = {
13257     {0,0,0}
13258 };
13259 static swig_lua_const_info swig_SBCommandInterpreter_Sf_SwigStatic_constants[]= {
13260     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitThreadShouldExit", lldb::SBCommandInterpreter::eBroadcastBitThreadShouldExit)},
13261     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitResetPrompt", lldb::SBCommandInterpreter::eBroadcastBitResetPrompt)},
13262     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitQuitCommandReceived", lldb::SBCommandInterpreter::eBroadcastBitQuitCommandReceived)},
13263     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitAsynchronousOutputData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousOutputData)},
13264     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitAsynchronousErrorData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousErrorData)},
13265     {0,0,0,0,0,0}
13266 };
13267 static swig_lua_method swig_SBCommandInterpreter_Sf_SwigStatic_methods[]= {
13268     { "GetArgumentTypeAsCString", _wrap_SBCommandInterpreter_GetArgumentTypeAsCString},
13269     { "GetArgumentDescriptionAsCString", _wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString},
13270     { "EventIsCommandInterpreterEvent", _wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent},
13271     { "GetBroadcasterClass", _wrap_SBCommandInterpreter_GetBroadcasterClass},
13272     {0,0}
13273 };
13274 static swig_lua_class* swig_SBCommandInterpreter_Sf_SwigStatic_classes[]= {
13275     0
13276 };
13277 
13278 static swig_lua_namespace swig_SBCommandInterpreter_Sf_SwigStatic = {
13279     "SBCommandInterpreter",
13280     swig_SBCommandInterpreter_Sf_SwigStatic_methods,
13281     swig_SBCommandInterpreter_Sf_SwigStatic_attributes,
13282     swig_SBCommandInterpreter_Sf_SwigStatic_constants,
13283     swig_SBCommandInterpreter_Sf_SwigStatic_classes,
13284     0
13285 };
13286 static swig_lua_class *swig_SBCommandInterpreter_bases[] = {0};
13287 static const char *swig_SBCommandInterpreter_base_names[] = {0};
13288 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 };
13289 
_wrap_new_SBCommandInterpreterRunOptions__SWIG_0(lua_State * L)13290 static int _wrap_new_SBCommandInterpreterRunOptions__SWIG_0(lua_State* L) {
13291   {
13292     int SWIG_arg = 0;
13293     lldb::SBCommandInterpreterRunOptions *result = 0 ;
13294 
13295     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",0,0)
13296     result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions();
13297     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++;
13298     return SWIG_arg;
13299 
13300     fail: SWIGUNUSED;
13301   }
13302   lua_error(L);
13303   return 0;
13304 }
13305 
13306 
_wrap_new_SBCommandInterpreterRunOptions__SWIG_1(lua_State * L)13307 static int _wrap_new_SBCommandInterpreterRunOptions__SWIG_1(lua_State* L) {
13308   {
13309     int SWIG_arg = 0;
13310     lldb::SBCommandInterpreterRunOptions *arg1 = 0 ;
13311     lldb::SBCommandInterpreterRunOptions *result = 0 ;
13312 
13313     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",1,1)
13314     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",1,"lldb::SBCommandInterpreterRunOptions const &");
13315 
13316     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13317       SWIG_fail_ptr("new_SBCommandInterpreterRunOptions",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13318     }
13319 
13320     result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions((lldb::SBCommandInterpreterRunOptions const &)*arg1);
13321     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++;
13322     return SWIG_arg;
13323 
13324     fail: SWIGUNUSED;
13325   }
13326   lua_error(L);
13327   return 0;
13328 }
13329 
13330 
_wrap_new_SBCommandInterpreterRunOptions(lua_State * L)13331 static int _wrap_new_SBCommandInterpreterRunOptions(lua_State* L) {
13332   int argc;
13333   int argv[2]={
13334     1,2
13335   };
13336 
13337   argc = lua_gettop(L);
13338   if (argc == 0) {
13339     return _wrap_new_SBCommandInterpreterRunOptions__SWIG_0(L);
13340   }
13341   if (argc == 1) {
13342     int _v = 0;
13343     {
13344       void *ptr;
13345       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions, SWIG_POINTER_NO_NULL)) {
13346         _v = 0;
13347       } else {
13348         _v = 1;
13349       }
13350     }
13351     if (_v) {
13352       return _wrap_new_SBCommandInterpreterRunOptions__SWIG_1(L);
13353     }
13354   }
13355 
13356   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommandInterpreterRunOptions'\n"
13357     "  Possible C/C++ prototypes are:\n"
13358     "    lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions()\n"
13359     "    lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions(lldb::SBCommandInterpreterRunOptions const &)\n");
13360   lua_error(L);return 0;
13361 }
13362 
13363 
_wrap_SBCommandInterpreterRunOptions_GetStopOnContinue(lua_State * L)13364 static int _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue(lua_State* L) {
13365   {
13366     int SWIG_arg = 0;
13367     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13368     bool result;
13369 
13370     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,1)
13371     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions const *");
13372 
13373     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13374       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13375     }
13376 
13377     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnContinue();
13378     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13379     return SWIG_arg;
13380 
13381     fail: SWIGUNUSED;
13382   }
13383   lua_error(L);
13384   return 0;
13385 }
13386 
13387 
_wrap_SBCommandInterpreterRunOptions_SetStopOnContinue(lua_State * L)13388 static int _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue(lua_State* L) {
13389   {
13390     int SWIG_arg = 0;
13391     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13392     bool arg2 ;
13393 
13394     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,2)
13395     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions *");
13396     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,"bool");
13397 
13398     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13399       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13400     }
13401 
13402     arg2 = (lua_toboolean(L, 2)!=0);
13403     (arg1)->SetStopOnContinue(arg2);
13404 
13405     return SWIG_arg;
13406 
13407     fail: SWIGUNUSED;
13408   }
13409   lua_error(L);
13410   return 0;
13411 }
13412 
13413 
_wrap_SBCommandInterpreterRunOptions_GetStopOnError(lua_State * L)13414 static int _wrap_SBCommandInterpreterRunOptions_GetStopOnError(lua_State* L) {
13415   {
13416     int SWIG_arg = 0;
13417     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13418     bool result;
13419 
13420     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,1)
13421     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,"lldb::SBCommandInterpreterRunOptions const *");
13422 
13423     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13424       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13425     }
13426 
13427     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnError();
13428     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13429     return SWIG_arg;
13430 
13431     fail: SWIGUNUSED;
13432   }
13433   lua_error(L);
13434   return 0;
13435 }
13436 
13437 
_wrap_SBCommandInterpreterRunOptions_SetStopOnError(lua_State * L)13438 static int _wrap_SBCommandInterpreterRunOptions_SetStopOnError(lua_State* L) {
13439   {
13440     int SWIG_arg = 0;
13441     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13442     bool arg2 ;
13443 
13444     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,2)
13445     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",1,"lldb::SBCommandInterpreterRunOptions *");
13446     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,"bool");
13447 
13448     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13449       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13450     }
13451 
13452     arg2 = (lua_toboolean(L, 2)!=0);
13453     (arg1)->SetStopOnError(arg2);
13454 
13455     return SWIG_arg;
13456 
13457     fail: SWIGUNUSED;
13458   }
13459   lua_error(L);
13460   return 0;
13461 }
13462 
13463 
_wrap_SBCommandInterpreterRunOptions_GetStopOnCrash(lua_State * L)13464 static int _wrap_SBCommandInterpreterRunOptions_GetStopOnCrash(lua_State* L) {
13465   {
13466     int SWIG_arg = 0;
13467     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13468     bool result;
13469 
13470     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,1)
13471     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions const *");
13472 
13473     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13474       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13475     }
13476 
13477     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnCrash();
13478     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13479     return SWIG_arg;
13480 
13481     fail: SWIGUNUSED;
13482   }
13483   lua_error(L);
13484   return 0;
13485 }
13486 
13487 
_wrap_SBCommandInterpreterRunOptions_SetStopOnCrash(lua_State * L)13488 static int _wrap_SBCommandInterpreterRunOptions_SetStopOnCrash(lua_State* L) {
13489   {
13490     int SWIG_arg = 0;
13491     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13492     bool arg2 ;
13493 
13494     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,2)
13495     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions *");
13496     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnCrash",2,"bool");
13497 
13498     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13499       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13500     }
13501 
13502     arg2 = (lua_toboolean(L, 2)!=0);
13503     (arg1)->SetStopOnCrash(arg2);
13504 
13505     return SWIG_arg;
13506 
13507     fail: SWIGUNUSED;
13508   }
13509   lua_error(L);
13510   return 0;
13511 }
13512 
13513 
_wrap_SBCommandInterpreterRunOptions_GetEchoCommands(lua_State * L)13514 static int _wrap_SBCommandInterpreterRunOptions_GetEchoCommands(lua_State* L) {
13515   {
13516     int SWIG_arg = 0;
13517     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13518     bool result;
13519 
13520     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,1)
13521     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions const *");
13522 
13523     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13524       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13525     }
13526 
13527     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetEchoCommands();
13528     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13529     return SWIG_arg;
13530 
13531     fail: SWIGUNUSED;
13532   }
13533   lua_error(L);
13534   return 0;
13535 }
13536 
13537 
_wrap_SBCommandInterpreterRunOptions_SetEchoCommands(lua_State * L)13538 static int _wrap_SBCommandInterpreterRunOptions_SetEchoCommands(lua_State* L) {
13539   {
13540     int SWIG_arg = 0;
13541     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13542     bool arg2 ;
13543 
13544     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,2)
13545     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",1,"lldb::SBCommandInterpreterRunOptions *");
13546     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommands",2,"bool");
13547 
13548     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13549       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetEchoCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13550     }
13551 
13552     arg2 = (lua_toboolean(L, 2)!=0);
13553     (arg1)->SetEchoCommands(arg2);
13554 
13555     return SWIG_arg;
13556 
13557     fail: SWIGUNUSED;
13558   }
13559   lua_error(L);
13560   return 0;
13561 }
13562 
13563 
_wrap_SBCommandInterpreterRunOptions_GetEchoCommentCommands(lua_State * L)13564 static int _wrap_SBCommandInterpreterRunOptions_GetEchoCommentCommands(lua_State* L) {
13565   {
13566     int SWIG_arg = 0;
13567     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13568     bool result;
13569 
13570     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetEchoCommentCommands",1,1)
13571     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetEchoCommentCommands",1,"lldb::SBCommandInterpreterRunOptions const *");
13572 
13573     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13574       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetEchoCommentCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13575     }
13576 
13577     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetEchoCommentCommands();
13578     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13579     return SWIG_arg;
13580 
13581     fail: SWIGUNUSED;
13582   }
13583   lua_error(L);
13584   return 0;
13585 }
13586 
13587 
_wrap_SBCommandInterpreterRunOptions_SetEchoCommentCommands(lua_State * L)13588 static int _wrap_SBCommandInterpreterRunOptions_SetEchoCommentCommands(lua_State* L) {
13589   {
13590     int SWIG_arg = 0;
13591     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13592     bool arg2 ;
13593 
13594     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetEchoCommentCommands",2,2)
13595     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommentCommands",1,"lldb::SBCommandInterpreterRunOptions *");
13596     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetEchoCommentCommands",2,"bool");
13597 
13598     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13599       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetEchoCommentCommands",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13600     }
13601 
13602     arg2 = (lua_toboolean(L, 2)!=0);
13603     (arg1)->SetEchoCommentCommands(arg2);
13604 
13605     return SWIG_arg;
13606 
13607     fail: SWIGUNUSED;
13608   }
13609   lua_error(L);
13610   return 0;
13611 }
13612 
13613 
_wrap_SBCommandInterpreterRunOptions_GetPrintResults(lua_State * L)13614 static int _wrap_SBCommandInterpreterRunOptions_GetPrintResults(lua_State* L) {
13615   {
13616     int SWIG_arg = 0;
13617     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13618     bool result;
13619 
13620     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,1)
13621     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintResults",1,"lldb::SBCommandInterpreterRunOptions const *");
13622 
13623     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13624       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13625     }
13626 
13627     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintResults();
13628     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13629     return SWIG_arg;
13630 
13631     fail: SWIGUNUSED;
13632   }
13633   lua_error(L);
13634   return 0;
13635 }
13636 
13637 
_wrap_SBCommandInterpreterRunOptions_SetPrintResults(lua_State * L)13638 static int _wrap_SBCommandInterpreterRunOptions_SetPrintResults(lua_State* L) {
13639   {
13640     int SWIG_arg = 0;
13641     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13642     bool arg2 ;
13643 
13644     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,2)
13645     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",1,"lldb::SBCommandInterpreterRunOptions *");
13646     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintResults",2,"bool");
13647 
13648     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13649       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintResults",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13650     }
13651 
13652     arg2 = (lua_toboolean(L, 2)!=0);
13653     (arg1)->SetPrintResults(arg2);
13654 
13655     return SWIG_arg;
13656 
13657     fail: SWIGUNUSED;
13658   }
13659   lua_error(L);
13660   return 0;
13661 }
13662 
13663 
_wrap_SBCommandInterpreterRunOptions_GetPrintErrors(lua_State * L)13664 static int _wrap_SBCommandInterpreterRunOptions_GetPrintErrors(lua_State* L) {
13665   {
13666     int SWIG_arg = 0;
13667     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13668     bool result;
13669 
13670     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,1)
13671     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions const *");
13672 
13673     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13674       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13675     }
13676 
13677     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetPrintErrors();
13678     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13679     return SWIG_arg;
13680 
13681     fail: SWIGUNUSED;
13682   }
13683   lua_error(L);
13684   return 0;
13685 }
13686 
13687 
_wrap_SBCommandInterpreterRunOptions_SetPrintErrors(lua_State * L)13688 static int _wrap_SBCommandInterpreterRunOptions_SetPrintErrors(lua_State* L) {
13689   {
13690     int SWIG_arg = 0;
13691     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13692     bool arg2 ;
13693 
13694     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,2)
13695     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",1,"lldb::SBCommandInterpreterRunOptions *");
13696     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetPrintErrors",2,"bool");
13697 
13698     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13699       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetPrintErrors",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13700     }
13701 
13702     arg2 = (lua_toboolean(L, 2)!=0);
13703     (arg1)->SetPrintErrors(arg2);
13704 
13705     return SWIG_arg;
13706 
13707     fail: SWIGUNUSED;
13708   }
13709   lua_error(L);
13710   return 0;
13711 }
13712 
13713 
_wrap_SBCommandInterpreterRunOptions_GetAddToHistory(lua_State * L)13714 static int _wrap_SBCommandInterpreterRunOptions_GetAddToHistory(lua_State* L) {
13715   {
13716     int SWIG_arg = 0;
13717     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13718     bool result;
13719 
13720     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,1)
13721     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions const *");
13722 
13723     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13724       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13725     }
13726 
13727     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetAddToHistory();
13728     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13729     return SWIG_arg;
13730 
13731     fail: SWIGUNUSED;
13732   }
13733   lua_error(L);
13734   return 0;
13735 }
13736 
13737 
_wrap_SBCommandInterpreterRunOptions_SetAddToHistory(lua_State * L)13738 static int _wrap_SBCommandInterpreterRunOptions_SetAddToHistory(lua_State* L) {
13739   {
13740     int SWIG_arg = 0;
13741     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13742     bool arg2 ;
13743 
13744     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,2)
13745     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",1,"lldb::SBCommandInterpreterRunOptions *");
13746     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAddToHistory",2,"bool");
13747 
13748     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13749       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetAddToHistory",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13750     }
13751 
13752     arg2 = (lua_toboolean(L, 2)!=0);
13753     (arg1)->SetAddToHistory(arg2);
13754 
13755     return SWIG_arg;
13756 
13757     fail: SWIGUNUSED;
13758   }
13759   lua_error(L);
13760   return 0;
13761 }
13762 
13763 
_wrap_SBCommandInterpreterRunOptions_GetAutoHandleEvents(lua_State * L)13764 static int _wrap_SBCommandInterpreterRunOptions_GetAutoHandleEvents(lua_State* L) {
13765   {
13766     int SWIG_arg = 0;
13767     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13768     bool result;
13769 
13770     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetAutoHandleEvents",1,1)
13771     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetAutoHandleEvents",1,"lldb::SBCommandInterpreterRunOptions const *");
13772 
13773     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13774       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetAutoHandleEvents",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13775     }
13776 
13777     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetAutoHandleEvents();
13778     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13779     return SWIG_arg;
13780 
13781     fail: SWIGUNUSED;
13782   }
13783   lua_error(L);
13784   return 0;
13785 }
13786 
13787 
_wrap_SBCommandInterpreterRunOptions_SetAutoHandleEvents(lua_State * L)13788 static int _wrap_SBCommandInterpreterRunOptions_SetAutoHandleEvents(lua_State* L) {
13789   {
13790     int SWIG_arg = 0;
13791     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13792     bool arg2 ;
13793 
13794     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetAutoHandleEvents",2,2)
13795     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAutoHandleEvents",1,"lldb::SBCommandInterpreterRunOptions *");
13796     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetAutoHandleEvents",2,"bool");
13797 
13798     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13799       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetAutoHandleEvents",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13800     }
13801 
13802     arg2 = (lua_toboolean(L, 2)!=0);
13803     (arg1)->SetAutoHandleEvents(arg2);
13804 
13805     return SWIG_arg;
13806 
13807     fail: SWIGUNUSED;
13808   }
13809   lua_error(L);
13810   return 0;
13811 }
13812 
13813 
_wrap_SBCommandInterpreterRunOptions_GetSpawnThread(lua_State * L)13814 static int _wrap_SBCommandInterpreterRunOptions_GetSpawnThread(lua_State* L) {
13815   {
13816     int SWIG_arg = 0;
13817     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13818     bool result;
13819 
13820     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetSpawnThread",1,1)
13821     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetSpawnThread",1,"lldb::SBCommandInterpreterRunOptions const *");
13822 
13823     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13824       SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetSpawnThread",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13825     }
13826 
13827     result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetSpawnThread();
13828     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13829     return SWIG_arg;
13830 
13831     fail: SWIGUNUSED;
13832   }
13833   lua_error(L);
13834   return 0;
13835 }
13836 
13837 
_wrap_SBCommandInterpreterRunOptions_SetSpawnThread(lua_State * L)13838 static int _wrap_SBCommandInterpreterRunOptions_SetSpawnThread(lua_State* L) {
13839   {
13840     int SWIG_arg = 0;
13841     lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
13842     bool arg2 ;
13843 
13844     SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetSpawnThread",2,2)
13845     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetSpawnThread",1,"lldb::SBCommandInterpreterRunOptions *");
13846     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetSpawnThread",2,"bool");
13847 
13848     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
13849       SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetSpawnThread",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
13850     }
13851 
13852     arg2 = (lua_toboolean(L, 2)!=0);
13853     (arg1)->SetSpawnThread(arg2);
13854 
13855     return SWIG_arg;
13856 
13857     fail: SWIGUNUSED;
13858   }
13859   lua_error(L);
13860   return 0;
13861 }
13862 
13863 
swig_delete_SBCommandInterpreterRunOptions(void * obj)13864 static void swig_delete_SBCommandInterpreterRunOptions(void *obj) {
13865 lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) obj;
13866 delete arg1;
13867 }
_proxy__wrap_new_SBCommandInterpreterRunOptions(lua_State * L)13868 static int _proxy__wrap_new_SBCommandInterpreterRunOptions(lua_State *L) {
13869     assert(lua_istable(L,1));
13870     lua_pushcfunction(L,_wrap_new_SBCommandInterpreterRunOptions);
13871     assert(!lua_isnil(L,-1));
13872     lua_replace(L,1); /* replace our table with real constructor */
13873     lua_call(L,lua_gettop(L)-1,1);
13874     return 1;
13875 }
13876 static swig_lua_attribute swig_SBCommandInterpreterRunOptions_attributes[] = {
13877     {0,0,0}
13878 };
13879 static swig_lua_method swig_SBCommandInterpreterRunOptions_methods[]= {
13880     { "GetStopOnContinue", _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue},
13881     { "SetStopOnContinue", _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue},
13882     { "GetStopOnError", _wrap_SBCommandInterpreterRunOptions_GetStopOnError},
13883     { "SetStopOnError", _wrap_SBCommandInterpreterRunOptions_SetStopOnError},
13884     { "GetStopOnCrash", _wrap_SBCommandInterpreterRunOptions_GetStopOnCrash},
13885     { "SetStopOnCrash", _wrap_SBCommandInterpreterRunOptions_SetStopOnCrash},
13886     { "GetEchoCommands", _wrap_SBCommandInterpreterRunOptions_GetEchoCommands},
13887     { "SetEchoCommands", _wrap_SBCommandInterpreterRunOptions_SetEchoCommands},
13888     { "GetEchoCommentCommands", _wrap_SBCommandInterpreterRunOptions_GetEchoCommentCommands},
13889     { "SetEchoCommentCommands", _wrap_SBCommandInterpreterRunOptions_SetEchoCommentCommands},
13890     { "GetPrintResults", _wrap_SBCommandInterpreterRunOptions_GetPrintResults},
13891     { "SetPrintResults", _wrap_SBCommandInterpreterRunOptions_SetPrintResults},
13892     { "GetPrintErrors", _wrap_SBCommandInterpreterRunOptions_GetPrintErrors},
13893     { "SetPrintErrors", _wrap_SBCommandInterpreterRunOptions_SetPrintErrors},
13894     { "GetAddToHistory", _wrap_SBCommandInterpreterRunOptions_GetAddToHistory},
13895     { "SetAddToHistory", _wrap_SBCommandInterpreterRunOptions_SetAddToHistory},
13896     { "GetAutoHandleEvents", _wrap_SBCommandInterpreterRunOptions_GetAutoHandleEvents},
13897     { "SetAutoHandleEvents", _wrap_SBCommandInterpreterRunOptions_SetAutoHandleEvents},
13898     { "GetSpawnThread", _wrap_SBCommandInterpreterRunOptions_GetSpawnThread},
13899     { "SetSpawnThread", _wrap_SBCommandInterpreterRunOptions_SetSpawnThread},
13900     {0,0}
13901 };
13902 static swig_lua_method swig_SBCommandInterpreterRunOptions_meta[] = {
13903     {0,0}
13904 };
13905 
13906 static swig_lua_attribute swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_attributes[] = {
13907     {0,0,0}
13908 };
13909 static swig_lua_const_info swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_constants[]= {
13910     {0,0,0,0,0,0}
13911 };
13912 static swig_lua_method swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_methods[]= {
13913     {0,0}
13914 };
13915 static swig_lua_class* swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_classes[]= {
13916     0
13917 };
13918 
13919 static swig_lua_namespace swig_SBCommandInterpreterRunOptions_Sf_SwigStatic = {
13920     "SBCommandInterpreterRunOptions",
13921     swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_methods,
13922     swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_attributes,
13923     swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_constants,
13924     swig_SBCommandInterpreterRunOptions_Sf_SwigStatic_classes,
13925     0
13926 };
13927 static swig_lua_class *swig_SBCommandInterpreterRunOptions_bases[] = {0};
13928 static const char *swig_SBCommandInterpreterRunOptions_base_names[] = {0};
13929 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 };
13930 
_wrap_new_SBCommandReturnObject__SWIG_0(lua_State * L)13931 static int _wrap_new_SBCommandReturnObject__SWIG_0(lua_State* L) {
13932   {
13933     int SWIG_arg = 0;
13934     lldb::SBCommandReturnObject *result = 0 ;
13935 
13936     SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",0,0)
13937     result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject();
13938     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++;
13939     return SWIG_arg;
13940 
13941     fail: SWIGUNUSED;
13942   }
13943   lua_error(L);
13944   return 0;
13945 }
13946 
13947 
_wrap_new_SBCommandReturnObject__SWIG_1(lua_State * L)13948 static int _wrap_new_SBCommandReturnObject__SWIG_1(lua_State* L) {
13949   {
13950     int SWIG_arg = 0;
13951     lldb::SBCommandReturnObject *arg1 = 0 ;
13952     lldb::SBCommandReturnObject *result = 0 ;
13953 
13954     SWIG_check_num_args("lldb::SBCommandReturnObject::SBCommandReturnObject",1,1)
13955     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SBCommandReturnObject",1,"lldb::SBCommandReturnObject const &");
13956 
13957     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
13958       SWIG_fail_ptr("new_SBCommandReturnObject",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
13959     }
13960 
13961     result = (lldb::SBCommandReturnObject *)new lldb::SBCommandReturnObject((lldb::SBCommandReturnObject const &)*arg1);
13962     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandReturnObject,1); SWIG_arg++;
13963     return SWIG_arg;
13964 
13965     fail: SWIGUNUSED;
13966   }
13967   lua_error(L);
13968   return 0;
13969 }
13970 
13971 
_wrap_new_SBCommandReturnObject(lua_State * L)13972 static int _wrap_new_SBCommandReturnObject(lua_State* L) {
13973   int argc;
13974   int argv[2]={
13975     1,2
13976   };
13977 
13978   argc = lua_gettop(L);
13979   if (argc == 0) {
13980     return _wrap_new_SBCommandReturnObject__SWIG_0(L);
13981   }
13982   if (argc == 1) {
13983     int _v = 0;
13984     {
13985       void *ptr;
13986       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_POINTER_NO_NULL)) {
13987         _v = 0;
13988       } else {
13989         _v = 1;
13990       }
13991     }
13992     if (_v) {
13993       return _wrap_new_SBCommandReturnObject__SWIG_1(L);
13994     }
13995   }
13996 
13997   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommandReturnObject'\n"
13998     "  Possible C/C++ prototypes are:\n"
13999     "    lldb::SBCommandReturnObject::SBCommandReturnObject()\n"
14000     "    lldb::SBCommandReturnObject::SBCommandReturnObject(lldb::SBCommandReturnObject const &)\n");
14001   lua_error(L);return 0;
14002 }
14003 
14004 
_wrap_SBCommandReturnObject_IsValid(lua_State * L)14005 static int _wrap_SBCommandReturnObject_IsValid(lua_State* L) {
14006   {
14007     int SWIG_arg = 0;
14008     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14009     bool result;
14010 
14011     SWIG_check_num_args("lldb::SBCommandReturnObject::IsValid",1,1)
14012     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::IsValid",1,"lldb::SBCommandReturnObject const *");
14013 
14014     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14015       SWIG_fail_ptr("SBCommandReturnObject_IsValid",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14016     }
14017 
14018     result = (bool)((lldb::SBCommandReturnObject const *)arg1)->IsValid();
14019     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14020     return SWIG_arg;
14021 
14022     fail: SWIGUNUSED;
14023   }
14024   lua_error(L);
14025   return 0;
14026 }
14027 
14028 
_wrap_SBCommandReturnObject_GetOutput__SWIG_0(lua_State * L)14029 static int _wrap_SBCommandReturnObject_GetOutput__SWIG_0(lua_State* L) {
14030   {
14031     int SWIG_arg = 0;
14032     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14033     char *result = 0 ;
14034 
14035     SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",1,1)
14036     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *");
14037 
14038     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14039       SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14040     }
14041 
14042     result = (char *)(arg1)->GetOutput();
14043     lua_pushstring(L,(const char *)result); SWIG_arg++;
14044     return SWIG_arg;
14045 
14046     fail: SWIGUNUSED;
14047   }
14048   lua_error(L);
14049   return 0;
14050 }
14051 
14052 
_wrap_SBCommandReturnObject_GetError__SWIG_0(lua_State * L)14053 static int _wrap_SBCommandReturnObject_GetError__SWIG_0(lua_State* L) {
14054   {
14055     int SWIG_arg = 0;
14056     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14057     char *result = 0 ;
14058 
14059     SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",1,1)
14060     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *");
14061 
14062     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14063       SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14064     }
14065 
14066     result = (char *)(arg1)->GetError();
14067     lua_pushstring(L,(const char *)result); SWIG_arg++;
14068     return SWIG_arg;
14069 
14070     fail: SWIGUNUSED;
14071   }
14072   lua_error(L);
14073   return 0;
14074 }
14075 
14076 
_wrap_SBCommandReturnObject_PutOutput__SWIG_0(lua_State * L)14077 static int _wrap_SBCommandReturnObject_PutOutput__SWIG_0(lua_State* L) {
14078   {
14079     int SWIG_arg = 0;
14080     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14081     lldb::SBFile arg2 ;
14082     lldb::SBFile *argp2 ;
14083     size_t result;
14084 
14085     SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2)
14086     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *");
14087     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",2,"lldb::SBFile");
14088 
14089     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14090       SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14091     }
14092 
14093 
14094     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
14095       SWIG_fail_ptr("SBCommandReturnObject_PutOutput",2,SWIGTYPE_p_lldb__SBFile);
14096     }
14097     arg2 = *argp2;
14098 
14099     result = (arg1)->PutOutput(arg2);
14100     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14101     return SWIG_arg;
14102 
14103     fail: SWIGUNUSED;
14104   }
14105   lua_error(L);
14106   return 0;
14107 }
14108 
14109 
_wrap_SBCommandReturnObject_PutOutput__SWIG_1(lua_State * L)14110 static int _wrap_SBCommandReturnObject_PutOutput__SWIG_1(lua_State* L) {
14111   {
14112     int SWIG_arg = 0;
14113     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14114     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
14115     size_t result;
14116 
14117     SWIG_check_num_args("lldb::SBCommandReturnObject::PutOutput",2,2)
14118     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutOutput",1,"lldb::SBCommandReturnObject *");
14119 
14120     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14121       SWIG_fail_ptr("SBCommandReturnObject_PutOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14122     }
14123 
14124     {
14125       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
14126       lldb::FileSP file_sp;
14127       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
14128       if (!file_sp->IsValid())
14129       return luaL_error(L, "Invalid file");
14130       arg2 = file_sp;
14131     }
14132     result = (arg1)->PutOutput(arg2);
14133     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14134     return SWIG_arg;
14135 
14136     fail: SWIGUNUSED;
14137   }
14138   lua_error(L);
14139   return 0;
14140 }
14141 
14142 
_wrap_SBCommandReturnObject_PutOutput(lua_State * L)14143 static int _wrap_SBCommandReturnObject_PutOutput(lua_State* L) {
14144   int argc;
14145   int argv[3]={
14146     1,2,3
14147   };
14148 
14149   argc = lua_gettop(L);
14150   if (argc == 2) {
14151     int _v = 0;
14152     {
14153       void *ptr;
14154       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14155         _v = 0;
14156       } else {
14157         _v = 1;
14158       }
14159     }
14160     if (_v) {
14161       {
14162         void *ptr;
14163         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
14164           _v = 0;
14165         } else {
14166           _v = 1;
14167         }
14168       }
14169       if (_v) {
14170         return _wrap_SBCommandReturnObject_PutOutput__SWIG_0(L);
14171       }
14172     }
14173   }
14174   if (argc == 2) {
14175     int _v = 0;
14176     {
14177       void *ptr;
14178       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14179         _v = 0;
14180       } else {
14181         _v = 1;
14182       }
14183     }
14184     if (_v) {
14185       {
14186         _v = (lua_isuserdata(L, argv[1])) &&
14187         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
14188       }
14189       if (_v) {
14190         return _wrap_SBCommandReturnObject_PutOutput__SWIG_1(L);
14191       }
14192     }
14193   }
14194 
14195   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_PutOutput'\n"
14196     "  Possible C/C++ prototypes are:\n"
14197     "    lldb::SBCommandReturnObject::PutOutput(lldb::SBFile)\n"
14198     "    lldb::SBCommandReturnObject::PutOutput(lldb::FileSP)\n");
14199   lua_error(L);return 0;
14200 }
14201 
14202 
_wrap_SBCommandReturnObject_GetOutputSize(lua_State * L)14203 static int _wrap_SBCommandReturnObject_GetOutputSize(lua_State* L) {
14204   {
14205     int SWIG_arg = 0;
14206     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14207     size_t result;
14208 
14209     SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutputSize",1,1)
14210     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutputSize",1,"lldb::SBCommandReturnObject *");
14211 
14212     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14213       SWIG_fail_ptr("SBCommandReturnObject_GetOutputSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14214     }
14215 
14216     result = (arg1)->GetOutputSize();
14217     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14218     return SWIG_arg;
14219 
14220     fail: SWIGUNUSED;
14221   }
14222   lua_error(L);
14223   return 0;
14224 }
14225 
14226 
_wrap_SBCommandReturnObject_GetErrorSize(lua_State * L)14227 static int _wrap_SBCommandReturnObject_GetErrorSize(lua_State* L) {
14228   {
14229     int SWIG_arg = 0;
14230     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14231     size_t result;
14232 
14233     SWIG_check_num_args("lldb::SBCommandReturnObject::GetErrorSize",1,1)
14234     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetErrorSize",1,"lldb::SBCommandReturnObject *");
14235 
14236     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14237       SWIG_fail_ptr("SBCommandReturnObject_GetErrorSize",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14238     }
14239 
14240     result = (arg1)->GetErrorSize();
14241     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14242     return SWIG_arg;
14243 
14244     fail: SWIGUNUSED;
14245   }
14246   lua_error(L);
14247   return 0;
14248 }
14249 
14250 
_wrap_SBCommandReturnObject_PutError__SWIG_0(lua_State * L)14251 static int _wrap_SBCommandReturnObject_PutError__SWIG_0(lua_State* L) {
14252   {
14253     int SWIG_arg = 0;
14254     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14255     lldb::SBFile arg2 ;
14256     lldb::SBFile *argp2 ;
14257     size_t result;
14258 
14259     SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2)
14260     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *");
14261     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",2,"lldb::SBFile");
14262 
14263     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14264       SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14265     }
14266 
14267 
14268     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
14269       SWIG_fail_ptr("SBCommandReturnObject_PutError",2,SWIGTYPE_p_lldb__SBFile);
14270     }
14271     arg2 = *argp2;
14272 
14273     result = (arg1)->PutError(arg2);
14274     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14275     return SWIG_arg;
14276 
14277     fail: SWIGUNUSED;
14278   }
14279   lua_error(L);
14280   return 0;
14281 }
14282 
14283 
_wrap_SBCommandReturnObject_PutError__SWIG_1(lua_State * L)14284 static int _wrap_SBCommandReturnObject_PutError__SWIG_1(lua_State* L) {
14285   {
14286     int SWIG_arg = 0;
14287     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14288     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
14289     size_t result;
14290 
14291     SWIG_check_num_args("lldb::SBCommandReturnObject::PutError",2,2)
14292     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutError",1,"lldb::SBCommandReturnObject *");
14293 
14294     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14295       SWIG_fail_ptr("SBCommandReturnObject_PutError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14296     }
14297 
14298     {
14299       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
14300       lldb::FileSP file_sp;
14301       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
14302       if (!file_sp->IsValid())
14303       return luaL_error(L, "Invalid file");
14304       arg2 = file_sp;
14305     }
14306     result = (arg1)->PutError(arg2);
14307     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14308     return SWIG_arg;
14309 
14310     fail: SWIGUNUSED;
14311   }
14312   lua_error(L);
14313   return 0;
14314 }
14315 
14316 
_wrap_SBCommandReturnObject_PutError(lua_State * L)14317 static int _wrap_SBCommandReturnObject_PutError(lua_State* L) {
14318   int argc;
14319   int argv[3]={
14320     1,2,3
14321   };
14322 
14323   argc = lua_gettop(L);
14324   if (argc == 2) {
14325     int _v = 0;
14326     {
14327       void *ptr;
14328       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14329         _v = 0;
14330       } else {
14331         _v = 1;
14332       }
14333     }
14334     if (_v) {
14335       {
14336         void *ptr;
14337         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
14338           _v = 0;
14339         } else {
14340           _v = 1;
14341         }
14342       }
14343       if (_v) {
14344         return _wrap_SBCommandReturnObject_PutError__SWIG_0(L);
14345       }
14346     }
14347   }
14348   if (argc == 2) {
14349     int _v = 0;
14350     {
14351       void *ptr;
14352       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14353         _v = 0;
14354       } else {
14355         _v = 1;
14356       }
14357     }
14358     if (_v) {
14359       {
14360         _v = (lua_isuserdata(L, argv[1])) &&
14361         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
14362       }
14363       if (_v) {
14364         return _wrap_SBCommandReturnObject_PutError__SWIG_1(L);
14365       }
14366     }
14367   }
14368 
14369   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_PutError'\n"
14370     "  Possible C/C++ prototypes are:\n"
14371     "    lldb::SBCommandReturnObject::PutError(lldb::SBFile)\n"
14372     "    lldb::SBCommandReturnObject::PutError(lldb::FileSP)\n");
14373   lua_error(L);return 0;
14374 }
14375 
14376 
_wrap_SBCommandReturnObject_Clear(lua_State * L)14377 static int _wrap_SBCommandReturnObject_Clear(lua_State* L) {
14378   {
14379     int SWIG_arg = 0;
14380     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14381 
14382     SWIG_check_num_args("lldb::SBCommandReturnObject::Clear",1,1)
14383     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Clear",1,"lldb::SBCommandReturnObject *");
14384 
14385     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14386       SWIG_fail_ptr("SBCommandReturnObject_Clear",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14387     }
14388 
14389     (arg1)->Clear();
14390 
14391     return SWIG_arg;
14392 
14393     fail: SWIGUNUSED;
14394   }
14395   lua_error(L);
14396   return 0;
14397 }
14398 
14399 
_wrap_SBCommandReturnObject_GetStatus(lua_State * L)14400 static int _wrap_SBCommandReturnObject_GetStatus(lua_State* L) {
14401   {
14402     int SWIG_arg = 0;
14403     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14404     lldb::ReturnStatus result;
14405 
14406     SWIG_check_num_args("lldb::SBCommandReturnObject::GetStatus",1,1)
14407     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetStatus",1,"lldb::SBCommandReturnObject *");
14408 
14409     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14410       SWIG_fail_ptr("SBCommandReturnObject_GetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14411     }
14412 
14413     result = (lldb::ReturnStatus)(arg1)->GetStatus();
14414     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
14415     return SWIG_arg;
14416 
14417     fail: SWIGUNUSED;
14418   }
14419   lua_error(L);
14420   return 0;
14421 }
14422 
14423 
_wrap_SBCommandReturnObject_SetStatus(lua_State * L)14424 static int _wrap_SBCommandReturnObject_SetStatus(lua_State* L) {
14425   {
14426     int SWIG_arg = 0;
14427     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14428     lldb::ReturnStatus arg2 ;
14429 
14430     SWIG_check_num_args("lldb::SBCommandReturnObject::SetStatus",2,2)
14431     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",1,"lldb::SBCommandReturnObject *");
14432     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetStatus",2,"lldb::ReturnStatus");
14433 
14434     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14435       SWIG_fail_ptr("SBCommandReturnObject_SetStatus",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14436     }
14437 
14438     arg2 = (lldb::ReturnStatus)lua_tointeger(L, 2);
14439     (arg1)->SetStatus(arg2);
14440 
14441     return SWIG_arg;
14442 
14443     fail: SWIGUNUSED;
14444   }
14445   lua_error(L);
14446   return 0;
14447 }
14448 
14449 
_wrap_SBCommandReturnObject_Succeeded(lua_State * L)14450 static int _wrap_SBCommandReturnObject_Succeeded(lua_State* L) {
14451   {
14452     int SWIG_arg = 0;
14453     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14454     bool result;
14455 
14456     SWIG_check_num_args("lldb::SBCommandReturnObject::Succeeded",1,1)
14457     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Succeeded",1,"lldb::SBCommandReturnObject *");
14458 
14459     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14460       SWIG_fail_ptr("SBCommandReturnObject_Succeeded",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14461     }
14462 
14463     result = (bool)(arg1)->Succeeded();
14464     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14465     return SWIG_arg;
14466 
14467     fail: SWIGUNUSED;
14468   }
14469   lua_error(L);
14470   return 0;
14471 }
14472 
14473 
_wrap_SBCommandReturnObject_HasResult(lua_State * L)14474 static int _wrap_SBCommandReturnObject_HasResult(lua_State* L) {
14475   {
14476     int SWIG_arg = 0;
14477     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14478     bool result;
14479 
14480     SWIG_check_num_args("lldb::SBCommandReturnObject::HasResult",1,1)
14481     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::HasResult",1,"lldb::SBCommandReturnObject *");
14482 
14483     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14484       SWIG_fail_ptr("SBCommandReturnObject_HasResult",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14485     }
14486 
14487     result = (bool)(arg1)->HasResult();
14488     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14489     return SWIG_arg;
14490 
14491     fail: SWIGUNUSED;
14492   }
14493   lua_error(L);
14494   return 0;
14495 }
14496 
14497 
_wrap_SBCommandReturnObject_AppendMessage(lua_State * L)14498 static int _wrap_SBCommandReturnObject_AppendMessage(lua_State* L) {
14499   {
14500     int SWIG_arg = 0;
14501     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14502     char *arg2 = (char *) 0 ;
14503 
14504     SWIG_check_num_args("lldb::SBCommandReturnObject::AppendMessage",2,2)
14505     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",1,"lldb::SBCommandReturnObject *");
14506     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendMessage",2,"char const *");
14507 
14508     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14509       SWIG_fail_ptr("SBCommandReturnObject_AppendMessage",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14510     }
14511 
14512     arg2 = (char *)lua_tostring(L, 2);
14513     (arg1)->AppendMessage((char const *)arg2);
14514 
14515     return SWIG_arg;
14516 
14517     fail: SWIGUNUSED;
14518   }
14519   lua_error(L);
14520   return 0;
14521 }
14522 
14523 
_wrap_SBCommandReturnObject_AppendWarning(lua_State * L)14524 static int _wrap_SBCommandReturnObject_AppendWarning(lua_State* L) {
14525   {
14526     int SWIG_arg = 0;
14527     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14528     char *arg2 = (char *) 0 ;
14529 
14530     SWIG_check_num_args("lldb::SBCommandReturnObject::AppendWarning",2,2)
14531     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",1,"lldb::SBCommandReturnObject *");
14532     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::AppendWarning",2,"char const *");
14533 
14534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14535       SWIG_fail_ptr("SBCommandReturnObject_AppendWarning",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14536     }
14537 
14538     arg2 = (char *)lua_tostring(L, 2);
14539     (arg1)->AppendWarning((char const *)arg2);
14540 
14541     return SWIG_arg;
14542 
14543     fail: SWIGUNUSED;
14544   }
14545   lua_error(L);
14546   return 0;
14547 }
14548 
14549 
_wrap_SBCommandReturnObject_GetDescription(lua_State * L)14550 static int _wrap_SBCommandReturnObject_GetDescription(lua_State* L) {
14551   {
14552     int SWIG_arg = 0;
14553     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14554     lldb::SBStream *arg2 = 0 ;
14555     bool result;
14556 
14557     SWIG_check_num_args("lldb::SBCommandReturnObject::GetDescription",2,2)
14558     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",1,"lldb::SBCommandReturnObject *");
14559     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetDescription",2,"lldb::SBStream &");
14560 
14561     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14562       SWIG_fail_ptr("SBCommandReturnObject_GetDescription",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14563     }
14564 
14565 
14566     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
14567       SWIG_fail_ptr("SBCommandReturnObject_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
14568     }
14569 
14570     result = (bool)(arg1)->GetDescription(*arg2);
14571     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14572     return SWIG_arg;
14573 
14574     fail: SWIGUNUSED;
14575   }
14576   lua_error(L);
14577   return 0;
14578 }
14579 
14580 
_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(lua_State * L)14581 static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(lua_State* L) {
14582   {
14583     int SWIG_arg = 0;
14584     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14585     lldb::SBFile arg2 ;
14586     lldb::SBFile *argp2 ;
14587 
14588     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2)
14589     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *");
14590     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,"lldb::SBFile");
14591 
14592     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14593       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14594     }
14595 
14596 
14597     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
14598       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",2,SWIGTYPE_p_lldb__SBFile);
14599     }
14600     arg2 = *argp2;
14601 
14602     (arg1)->SetImmediateOutputFile(arg2);
14603 
14604     return SWIG_arg;
14605 
14606     fail: SWIGUNUSED;
14607   }
14608   lua_error(L);
14609   return 0;
14610 }
14611 
14612 
_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(lua_State * L)14613 static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(lua_State* L) {
14614   {
14615     int SWIG_arg = 0;
14616     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14617     lldb::SBFile arg2 ;
14618     lldb::SBFile *argp2 ;
14619 
14620     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2)
14621     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *");
14622     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,"lldb::SBFile");
14623 
14624     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14625       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14626     }
14627 
14628 
14629     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
14630       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",2,SWIGTYPE_p_lldb__SBFile);
14631     }
14632     arg2 = *argp2;
14633 
14634     (arg1)->SetImmediateErrorFile(arg2);
14635 
14636     return SWIG_arg;
14637 
14638     fail: SWIGUNUSED;
14639   }
14640   lua_error(L);
14641   return 0;
14642 }
14643 
14644 
_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(lua_State * L)14645 static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(lua_State* L) {
14646   {
14647     int SWIG_arg = 0;
14648     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14649     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
14650 
14651     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",2,2)
14652     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *");
14653 
14654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14655       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14656     }
14657 
14658     {
14659       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
14660       lldb::FileSP file_sp;
14661       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
14662       if (!file_sp->IsValid())
14663       return luaL_error(L, "Invalid file");
14664       arg2 = file_sp;
14665     }
14666     (arg1)->SetImmediateOutputFile(arg2);
14667 
14668     return SWIG_arg;
14669 
14670     fail: SWIGUNUSED;
14671   }
14672   lua_error(L);
14673   return 0;
14674 }
14675 
14676 
_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(lua_State * L)14677 static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(lua_State* L) {
14678   {
14679     int SWIG_arg = 0;
14680     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14681     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
14682 
14683     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",2,2)
14684     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *");
14685 
14686     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14687       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14688     }
14689 
14690     {
14691       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
14692       lldb::FileSP file_sp;
14693       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
14694       if (!file_sp->IsValid())
14695       return luaL_error(L, "Invalid file");
14696       arg2 = file_sp;
14697     }
14698     (arg1)->SetImmediateErrorFile(arg2);
14699 
14700     return SWIG_arg;
14701 
14702     fail: SWIGUNUSED;
14703   }
14704   lua_error(L);
14705   return 0;
14706 }
14707 
14708 
_wrap_SBCommandReturnObject_PutCString__SWIG_0(lua_State * L)14709 static int _wrap_SBCommandReturnObject_PutCString__SWIG_0(lua_State* L) {
14710   {
14711     int SWIG_arg = 0;
14712     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14713     char *arg2 = (char *) 0 ;
14714     int arg3 ;
14715 
14716     SWIG_check_num_args("lldb::SBCommandReturnObject::PutCString",2,2)
14717     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",1,"lldb::SBCommandReturnObject *");
14718 
14719     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14720       SWIG_fail_ptr("SBCommandReturnObject_PutCString",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14721     }
14722 
14723     {
14724       if (lua_isnil(L, 2)) {
14725         arg2 = NULL;
14726         arg3 = 0;
14727       } else {
14728         arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3);
14729       }
14730     }
14731     (arg1)->PutCString((char const *)arg2,arg3);
14732 
14733     return SWIG_arg;
14734 
14735     fail: SWIGUNUSED;
14736   }
14737   lua_error(L);
14738   return 0;
14739 }
14740 
14741 
_wrap_SBCommandReturnObject_PutCString__SWIG_1(lua_State * L)14742 static int _wrap_SBCommandReturnObject_PutCString__SWIG_1(lua_State* L) {
14743   {
14744     int SWIG_arg = 0;
14745     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14746     char *arg2 = (char *) 0 ;
14747 
14748     SWIG_check_num_args("lldb::SBCommandReturnObject::PutCString",2,2)
14749     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",1,"lldb::SBCommandReturnObject *");
14750     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::PutCString",2,"char const *");
14751 
14752     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14753       SWIG_fail_ptr("SBCommandReturnObject_PutCString",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14754     }
14755 
14756     arg2 = (char *)lua_tostring(L, 2);
14757     (arg1)->PutCString((char const *)arg2);
14758 
14759     return SWIG_arg;
14760 
14761     fail: SWIGUNUSED;
14762   }
14763   lua_error(L);
14764   return 0;
14765 }
14766 
14767 
_wrap_SBCommandReturnObject_PutCString(lua_State * L)14768 static int _wrap_SBCommandReturnObject_PutCString(lua_State* L) {
14769   int argc;
14770   int argv[3]={
14771     1,2,3
14772   };
14773 
14774   argc = lua_gettop(L);
14775   if (argc == 2) {
14776     int _v = 0;
14777     {
14778       void *ptr;
14779       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14780         _v = 0;
14781       } else {
14782         _v = 1;
14783       }
14784     }
14785     if (_v) {
14786       {
14787         _v = SWIG_lua_isnilstring(L,argv[1]);
14788       }
14789       if (_v) {
14790         if (argc <= 2) {
14791           return _wrap_SBCommandReturnObject_PutCString__SWIG_0(L);
14792         }
14793         {
14794           _v = lua_isnumber(L,argv[2]);
14795         }
14796         if (_v) {
14797           return _wrap_SBCommandReturnObject_PutCString__SWIG_0(L);
14798         }
14799       }
14800     }
14801   }
14802   if (argc == 2) {
14803     int _v = 0;
14804     {
14805       void *ptr;
14806       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14807         _v = 0;
14808       } else {
14809         _v = 1;
14810       }
14811     }
14812     if (_v) {
14813       {
14814         _v = SWIG_lua_isnilstring(L,argv[1]);
14815       }
14816       if (_v) {
14817         return _wrap_SBCommandReturnObject_PutCString__SWIG_1(L);
14818       }
14819     }
14820   }
14821 
14822   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_PutCString'\n"
14823     "  Possible C/C++ prototypes are:\n"
14824     "    lldb::SBCommandReturnObject::PutCString(char const *,int)\n"
14825     "    lldb::SBCommandReturnObject::PutCString(char const *)\n");
14826   lua_error(L);return 0;
14827 }
14828 
14829 
_wrap_SBCommandReturnObject_GetOutput__SWIG_1(lua_State * L)14830 static int _wrap_SBCommandReturnObject_GetOutput__SWIG_1(lua_State* L) {
14831   {
14832     int SWIG_arg = 0;
14833     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14834     bool arg2 ;
14835     char *result = 0 ;
14836 
14837     SWIG_check_num_args("lldb::SBCommandReturnObject::GetOutput",2,2)
14838     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",1,"lldb::SBCommandReturnObject *");
14839     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetOutput",2,"bool");
14840 
14841     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14842       SWIG_fail_ptr("SBCommandReturnObject_GetOutput",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14843     }
14844 
14845     arg2 = (lua_toboolean(L, 2)!=0);
14846     result = (char *)(arg1)->GetOutput(arg2);
14847     lua_pushstring(L,(const char *)result); SWIG_arg++;
14848     return SWIG_arg;
14849 
14850     fail: SWIGUNUSED;
14851   }
14852   lua_error(L);
14853   return 0;
14854 }
14855 
14856 
_wrap_SBCommandReturnObject_GetOutput(lua_State * L)14857 static int _wrap_SBCommandReturnObject_GetOutput(lua_State* L) {
14858   int argc;
14859   int argv[3]={
14860     1,2,3
14861   };
14862 
14863   argc = lua_gettop(L);
14864   if (argc == 1) {
14865     int _v = 0;
14866     {
14867       void *ptr;
14868       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14869         _v = 0;
14870       } else {
14871         _v = 1;
14872       }
14873     }
14874     if (_v) {
14875       return _wrap_SBCommandReturnObject_GetOutput__SWIG_0(L);
14876     }
14877   }
14878   if (argc == 2) {
14879     int _v = 0;
14880     {
14881       void *ptr;
14882       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14883         _v = 0;
14884       } else {
14885         _v = 1;
14886       }
14887     }
14888     if (_v) {
14889       {
14890         _v = lua_isboolean(L,argv[1]);
14891       }
14892       if (_v) {
14893         return _wrap_SBCommandReturnObject_GetOutput__SWIG_1(L);
14894       }
14895     }
14896   }
14897 
14898   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_GetOutput'\n"
14899     "  Possible C/C++ prototypes are:\n"
14900     "    lldb::SBCommandReturnObject::GetOutput()\n"
14901     "    lldb::SBCommandReturnObject::GetOutput(bool)\n");
14902   lua_error(L);return 0;
14903 }
14904 
14905 
_wrap_SBCommandReturnObject_GetError__SWIG_1(lua_State * L)14906 static int _wrap_SBCommandReturnObject_GetError__SWIG_1(lua_State* L) {
14907   {
14908     int SWIG_arg = 0;
14909     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14910     bool arg2 ;
14911     char *result = 0 ;
14912 
14913     SWIG_check_num_args("lldb::SBCommandReturnObject::GetError",2,2)
14914     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",1,"lldb::SBCommandReturnObject *");
14915     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::GetError",2,"bool");
14916 
14917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14918       SWIG_fail_ptr("SBCommandReturnObject_GetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14919     }
14920 
14921     arg2 = (lua_toboolean(L, 2)!=0);
14922     result = (char *)(arg1)->GetError(arg2);
14923     lua_pushstring(L,(const char *)result); SWIG_arg++;
14924     return SWIG_arg;
14925 
14926     fail: SWIGUNUSED;
14927   }
14928   lua_error(L);
14929   return 0;
14930 }
14931 
14932 
_wrap_SBCommandReturnObject_GetError(lua_State * L)14933 static int _wrap_SBCommandReturnObject_GetError(lua_State* L) {
14934   int argc;
14935   int argv[3]={
14936     1,2,3
14937   };
14938 
14939   argc = lua_gettop(L);
14940   if (argc == 1) {
14941     int _v = 0;
14942     {
14943       void *ptr;
14944       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14945         _v = 0;
14946       } else {
14947         _v = 1;
14948       }
14949     }
14950     if (_v) {
14951       return _wrap_SBCommandReturnObject_GetError__SWIG_0(L);
14952     }
14953   }
14954   if (argc == 2) {
14955     int _v = 0;
14956     {
14957       void *ptr;
14958       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
14959         _v = 0;
14960       } else {
14961         _v = 1;
14962       }
14963     }
14964     if (_v) {
14965       {
14966         _v = lua_isboolean(L,argv[1]);
14967       }
14968       if (_v) {
14969         return _wrap_SBCommandReturnObject_GetError__SWIG_1(L);
14970       }
14971     }
14972   }
14973 
14974   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_GetError'\n"
14975     "  Possible C/C++ prototypes are:\n"
14976     "    lldb::SBCommandReturnObject::GetError()\n"
14977     "    lldb::SBCommandReturnObject::GetError(bool)\n");
14978   lua_error(L);return 0;
14979 }
14980 
14981 
_wrap_SBCommandReturnObject_SetError__SWIG_0(lua_State * L)14982 static int _wrap_SBCommandReturnObject_SetError__SWIG_0(lua_State* L) {
14983   {
14984     int SWIG_arg = 0;
14985     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
14986     lldb::SBError *arg2 = 0 ;
14987     char *arg3 = (char *) 0 ;
14988 
14989     SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",3,3)
14990     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *");
14991     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &");
14992     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",3,"char const *");
14993 
14994     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
14995       SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
14996     }
14997 
14998 
14999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
15000       SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError);
15001     }
15002 
15003     arg3 = (char *)lua_tostring(L, 3);
15004     (arg1)->SetError(*arg2,(char const *)arg3);
15005 
15006     return SWIG_arg;
15007 
15008     fail: SWIGUNUSED;
15009   }
15010   lua_error(L);
15011   return 0;
15012 }
15013 
15014 
_wrap_SBCommandReturnObject_SetError__SWIG_1(lua_State * L)15015 static int _wrap_SBCommandReturnObject_SetError__SWIG_1(lua_State* L) {
15016   {
15017     int SWIG_arg = 0;
15018     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15019     lldb::SBError *arg2 = 0 ;
15020 
15021     SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2)
15022     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *");
15023     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"lldb::SBError &");
15024 
15025     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15026       SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15027     }
15028 
15029 
15030     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
15031       SWIG_fail_ptr("SBCommandReturnObject_SetError",2,SWIGTYPE_p_lldb__SBError);
15032     }
15033 
15034     (arg1)->SetError(*arg2);
15035 
15036     return SWIG_arg;
15037 
15038     fail: SWIGUNUSED;
15039   }
15040   lua_error(L);
15041   return 0;
15042 }
15043 
15044 
_wrap_SBCommandReturnObject_SetError__SWIG_2(lua_State * L)15045 static int _wrap_SBCommandReturnObject_SetError__SWIG_2(lua_State* L) {
15046   {
15047     int SWIG_arg = 0;
15048     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15049     char *arg2 = (char *) 0 ;
15050 
15051     SWIG_check_num_args("lldb::SBCommandReturnObject::SetError",2,2)
15052     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",1,"lldb::SBCommandReturnObject *");
15053     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetError",2,"char const *");
15054 
15055     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15056       SWIG_fail_ptr("SBCommandReturnObject_SetError",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15057     }
15058 
15059     arg2 = (char *)lua_tostring(L, 2);
15060     (arg1)->SetError((char const *)arg2);
15061 
15062     return SWIG_arg;
15063 
15064     fail: SWIGUNUSED;
15065   }
15066   lua_error(L);
15067   return 0;
15068 }
15069 
15070 
_wrap_SBCommandReturnObject_SetError(lua_State * L)15071 static int _wrap_SBCommandReturnObject_SetError(lua_State* L) {
15072   int argc;
15073   int argv[4]={
15074     1,2,3,4
15075   };
15076 
15077   argc = lua_gettop(L);
15078   if (argc == 2) {
15079     int _v = 0;
15080     {
15081       void *ptr;
15082       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15083         _v = 0;
15084       } else {
15085         _v = 1;
15086       }
15087     }
15088     if (_v) {
15089       {
15090         void *ptr;
15091         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
15092           _v = 0;
15093         } else {
15094           _v = 1;
15095         }
15096       }
15097       if (_v) {
15098         return _wrap_SBCommandReturnObject_SetError__SWIG_1(L);
15099       }
15100     }
15101   }
15102   if (argc == 2) {
15103     int _v = 0;
15104     {
15105       void *ptr;
15106       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15107         _v = 0;
15108       } else {
15109         _v = 1;
15110       }
15111     }
15112     if (_v) {
15113       {
15114         _v = SWIG_lua_isnilstring(L,argv[1]);
15115       }
15116       if (_v) {
15117         return _wrap_SBCommandReturnObject_SetError__SWIG_2(L);
15118       }
15119     }
15120   }
15121   if (argc == 3) {
15122     int _v = 0;
15123     {
15124       void *ptr;
15125       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15126         _v = 0;
15127       } else {
15128         _v = 1;
15129       }
15130     }
15131     if (_v) {
15132       {
15133         void *ptr;
15134         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
15135           _v = 0;
15136         } else {
15137           _v = 1;
15138         }
15139       }
15140       if (_v) {
15141         {
15142           _v = SWIG_lua_isnilstring(L,argv[2]);
15143         }
15144         if (_v) {
15145           return _wrap_SBCommandReturnObject_SetError__SWIG_0(L);
15146         }
15147       }
15148     }
15149   }
15150 
15151   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetError'\n"
15152     "  Possible C/C++ prototypes are:\n"
15153     "    lldb::SBCommandReturnObject::SetError(lldb::SBError &,char const *)\n"
15154     "    lldb::SBCommandReturnObject::SetError(lldb::SBError &)\n"
15155     "    lldb::SBCommandReturnObject::SetError(char const *)\n");
15156   lua_error(L);return 0;
15157 }
15158 
15159 
_wrap_SBCommandReturnObject___tostring(lua_State * L)15160 static int _wrap_SBCommandReturnObject___tostring(lua_State* L) {
15161   {
15162     int SWIG_arg = 0;
15163     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15164     std::string result;
15165 
15166     SWIG_check_num_args("lldb::SBCommandReturnObject::__repr__",1,1)
15167     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::__repr__",1,"lldb::SBCommandReturnObject *");
15168 
15169     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15170       SWIG_fail_ptr("SBCommandReturnObject___tostring",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15171     }
15172 
15173     result = lldb_SBCommandReturnObject___repr__(arg1);
15174     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
15175     return SWIG_arg;
15176 
15177     fail: SWIGUNUSED;
15178   }
15179   lua_error(L);
15180   return 0;
15181 }
15182 
15183 
_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lua_State * L)15184 static int _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(lua_State* L) {
15185   {
15186     int SWIG_arg = 0;
15187     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15188     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
15189     bool arg3 ;
15190 
15191     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,3)
15192     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",1,"lldb::SBCommandReturnObject *");
15193     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateOutputFile",3,"bool");
15194 
15195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15196       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateOutputFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15197     }
15198 
15199     {
15200       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
15201       lldb::FileSP file_sp;
15202       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
15203       if (!file_sp->IsValid())
15204       return luaL_error(L, "Invalid file");
15205       arg2 = file_sp;
15206     }
15207     arg3 = (lua_toboolean(L, 3)!=0);
15208     lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
15209 
15210     return SWIG_arg;
15211 
15212     fail: SWIGUNUSED;
15213   }
15214   lua_error(L);
15215   return 0;
15216 }
15217 
15218 
_wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State * L)15219 static int _wrap_SBCommandReturnObject_SetImmediateOutputFile(lua_State* L) {
15220   int argc;
15221   int argv[4]={
15222     1,2,3,4
15223   };
15224 
15225   argc = lua_gettop(L);
15226   if (argc == 2) {
15227     int _v = 0;
15228     {
15229       void *ptr;
15230       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15231         _v = 0;
15232       } else {
15233         _v = 1;
15234       }
15235     }
15236     if (_v) {
15237       {
15238         void *ptr;
15239         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
15240           _v = 0;
15241         } else {
15242           _v = 1;
15243         }
15244       }
15245       if (_v) {
15246         return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(L);
15247       }
15248     }
15249   }
15250   if (argc == 2) {
15251     int _v = 0;
15252     {
15253       void *ptr;
15254       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15255         _v = 0;
15256       } else {
15257         _v = 1;
15258       }
15259     }
15260     if (_v) {
15261       {
15262         _v = (lua_isuserdata(L, argv[1])) &&
15263         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
15264       }
15265       if (_v) {
15266         return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(L);
15267       }
15268     }
15269   }
15270   if (argc == 3) {
15271     int _v = 0;
15272     {
15273       void *ptr;
15274       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15275         _v = 0;
15276       } else {
15277         _v = 1;
15278       }
15279     }
15280     if (_v) {
15281       {
15282         _v = (lua_isuserdata(L, argv[1])) &&
15283         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
15284       }
15285       if (_v) {
15286         {
15287           _v = lua_isboolean(L,argv[2]);
15288         }
15289         if (_v) {
15290           return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(L);
15291         }
15292       }
15293     }
15294   }
15295 
15296   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetImmediateOutputFile'\n"
15297     "  Possible C/C++ prototypes are:\n"
15298     "    lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::SBFile)\n"
15299     "    lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP)\n"
15300     "    lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP,bool)\n");
15301   lua_error(L);return 0;
15302 }
15303 
15304 
_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lua_State * L)15305 static int _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(lua_State* L) {
15306   {
15307     int SWIG_arg = 0;
15308     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15309     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
15310     bool arg3 ;
15311 
15312     SWIG_check_num_args("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,3)
15313     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",1,"lldb::SBCommandReturnObject *");
15314     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommandReturnObject::SetImmediateErrorFile",3,"bool");
15315 
15316     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15317       SWIG_fail_ptr("SBCommandReturnObject_SetImmediateErrorFile",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15318     }
15319 
15320     {
15321       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
15322       lldb::FileSP file_sp;
15323       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
15324       if (!file_sp->IsValid())
15325       return luaL_error(L, "Invalid file");
15326       arg2 = file_sp;
15327     }
15328     arg3 = (lua_toboolean(L, 3)!=0);
15329     lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
15330 
15331     return SWIG_arg;
15332 
15333     fail: SWIGUNUSED;
15334   }
15335   lua_error(L);
15336   return 0;
15337 }
15338 
15339 
_wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State * L)15340 static int _wrap_SBCommandReturnObject_SetImmediateErrorFile(lua_State* L) {
15341   int argc;
15342   int argv[4]={
15343     1,2,3,4
15344   };
15345 
15346   argc = lua_gettop(L);
15347   if (argc == 2) {
15348     int _v = 0;
15349     {
15350       void *ptr;
15351       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15352         _v = 0;
15353       } else {
15354         _v = 1;
15355       }
15356     }
15357     if (_v) {
15358       {
15359         void *ptr;
15360         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
15361           _v = 0;
15362         } else {
15363           _v = 1;
15364         }
15365       }
15366       if (_v) {
15367         return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(L);
15368       }
15369     }
15370   }
15371   if (argc == 2) {
15372     int _v = 0;
15373     {
15374       void *ptr;
15375       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15376         _v = 0;
15377       } else {
15378         _v = 1;
15379       }
15380     }
15381     if (_v) {
15382       {
15383         _v = (lua_isuserdata(L, argv[1])) &&
15384         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
15385       }
15386       if (_v) {
15387         return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(L);
15388       }
15389     }
15390   }
15391   if (argc == 3) {
15392     int _v = 0;
15393     {
15394       void *ptr;
15395       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0)) {
15396         _v = 0;
15397       } else {
15398         _v = 1;
15399       }
15400     }
15401     if (_v) {
15402       {
15403         _v = (lua_isuserdata(L, argv[1])) &&
15404         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
15405       }
15406       if (_v) {
15407         {
15408           _v = lua_isboolean(L,argv[2]);
15409         }
15410         if (_v) {
15411           return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(L);
15412         }
15413       }
15414     }
15415   }
15416 
15417   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCommandReturnObject_SetImmediateErrorFile'\n"
15418     "  Possible C/C++ prototypes are:\n"
15419     "    lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::SBFile)\n"
15420     "    lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::FileSP)\n"
15421     "    lldb::SBCommandReturnObject::SetImmediateErrorFile(lldb::FileSP,bool)\n");
15422   lua_error(L);return 0;
15423 }
15424 
15425 
_wrap_SBCommandReturnObject_Print(lua_State * L)15426 static int _wrap_SBCommandReturnObject_Print(lua_State* L) {
15427   {
15428     int SWIG_arg = 0;
15429     lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ;
15430     char *arg2 = (char *) 0 ;
15431 
15432     SWIG_check_num_args("lldb::SBCommandReturnObject::Print",2,2)
15433     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",1,"lldb::SBCommandReturnObject *");
15434     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommandReturnObject::Print",2,"char const *");
15435 
15436     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
15437       SWIG_fail_ptr("SBCommandReturnObject_Print",1,SWIGTYPE_p_lldb__SBCommandReturnObject);
15438     }
15439 
15440     arg2 = (char *)lua_tostring(L, 2);
15441     lldb_SBCommandReturnObject_Print(arg1,(char const *)arg2);
15442 
15443     return SWIG_arg;
15444 
15445     fail: SWIGUNUSED;
15446   }
15447   lua_error(L);
15448   return 0;
15449 }
15450 
15451 
swig_delete_SBCommandReturnObject(void * obj)15452 static void swig_delete_SBCommandReturnObject(void *obj) {
15453 lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) obj;
15454 delete arg1;
15455 }
_proxy__wrap_new_SBCommandReturnObject(lua_State * L)15456 static int _proxy__wrap_new_SBCommandReturnObject(lua_State *L) {
15457     assert(lua_istable(L,1));
15458     lua_pushcfunction(L,_wrap_new_SBCommandReturnObject);
15459     assert(!lua_isnil(L,-1));
15460     lua_replace(L,1); /* replace our table with real constructor */
15461     lua_call(L,lua_gettop(L)-1,1);
15462     return 1;
15463 }
15464 static swig_lua_attribute swig_SBCommandReturnObject_attributes[] = {
15465     {0,0,0}
15466 };
15467 static swig_lua_method swig_SBCommandReturnObject_methods[]= {
15468     { "IsValid", _wrap_SBCommandReturnObject_IsValid},
15469     { "PutOutput", _wrap_SBCommandReturnObject_PutOutput},
15470     { "GetOutputSize", _wrap_SBCommandReturnObject_GetOutputSize},
15471     { "GetErrorSize", _wrap_SBCommandReturnObject_GetErrorSize},
15472     { "PutError", _wrap_SBCommandReturnObject_PutError},
15473     { "Clear", _wrap_SBCommandReturnObject_Clear},
15474     { "GetStatus", _wrap_SBCommandReturnObject_GetStatus},
15475     { "SetStatus", _wrap_SBCommandReturnObject_SetStatus},
15476     { "Succeeded", _wrap_SBCommandReturnObject_Succeeded},
15477     { "HasResult", _wrap_SBCommandReturnObject_HasResult},
15478     { "AppendMessage", _wrap_SBCommandReturnObject_AppendMessage},
15479     { "AppendWarning", _wrap_SBCommandReturnObject_AppendWarning},
15480     { "GetDescription", _wrap_SBCommandReturnObject_GetDescription},
15481     { "PutCString", _wrap_SBCommandReturnObject_PutCString},
15482     { "GetOutput", _wrap_SBCommandReturnObject_GetOutput},
15483     { "GetError", _wrap_SBCommandReturnObject_GetError},
15484     { "SetError", _wrap_SBCommandReturnObject_SetError},
15485     { "__tostring", _wrap_SBCommandReturnObject___tostring},
15486     { "SetImmediateOutputFile", _wrap_SBCommandReturnObject_SetImmediateOutputFile},
15487     { "SetImmediateErrorFile", _wrap_SBCommandReturnObject_SetImmediateErrorFile},
15488     { "Print", _wrap_SBCommandReturnObject_Print},
15489     {0,0}
15490 };
15491 static swig_lua_method swig_SBCommandReturnObject_meta[] = {
15492     { "__tostring", _wrap_SBCommandReturnObject___tostring},
15493     {0,0}
15494 };
15495 
15496 static swig_lua_attribute swig_SBCommandReturnObject_Sf_SwigStatic_attributes[] = {
15497     {0,0,0}
15498 };
15499 static swig_lua_const_info swig_SBCommandReturnObject_Sf_SwigStatic_constants[]= {
15500     {0,0,0,0,0,0}
15501 };
15502 static swig_lua_method swig_SBCommandReturnObject_Sf_SwigStatic_methods[]= {
15503     {0,0}
15504 };
15505 static swig_lua_class* swig_SBCommandReturnObject_Sf_SwigStatic_classes[]= {
15506     0
15507 };
15508 
15509 static swig_lua_namespace swig_SBCommandReturnObject_Sf_SwigStatic = {
15510     "SBCommandReturnObject",
15511     swig_SBCommandReturnObject_Sf_SwigStatic_methods,
15512     swig_SBCommandReturnObject_Sf_SwigStatic_attributes,
15513     swig_SBCommandReturnObject_Sf_SwigStatic_constants,
15514     swig_SBCommandReturnObject_Sf_SwigStatic_classes,
15515     0
15516 };
15517 static swig_lua_class *swig_SBCommandReturnObject_bases[] = {0};
15518 static const char *swig_SBCommandReturnObject_base_names[] = {0};
15519 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 };
15520 
_wrap_new_SBCommunication__SWIG_0(lua_State * L)15521 static int _wrap_new_SBCommunication__SWIG_0(lua_State* L) {
15522   {
15523     int SWIG_arg = 0;
15524     lldb::SBCommunication *result = 0 ;
15525 
15526     SWIG_check_num_args("lldb::SBCommunication::SBCommunication",0,0)
15527     result = (lldb::SBCommunication *)new lldb::SBCommunication();
15528     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++;
15529     return SWIG_arg;
15530 
15531     fail: SWIGUNUSED;
15532   }
15533   lua_error(L);
15534   return 0;
15535 }
15536 
15537 
_wrap_new_SBCommunication__SWIG_1(lua_State * L)15538 static int _wrap_new_SBCommunication__SWIG_1(lua_State* L) {
15539   {
15540     int SWIG_arg = 0;
15541     char *arg1 = (char *) 0 ;
15542     lldb::SBCommunication *result = 0 ;
15543 
15544     SWIG_check_num_args("lldb::SBCommunication::SBCommunication",1,1)
15545     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBCommunication::SBCommunication",1,"char const *");
15546     arg1 = (char *)lua_tostring(L, 1);
15547     result = (lldb::SBCommunication *)new lldb::SBCommunication((char const *)arg1);
15548     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommunication,1); SWIG_arg++;
15549     return SWIG_arg;
15550 
15551     fail: SWIGUNUSED;
15552   }
15553   lua_error(L);
15554   return 0;
15555 }
15556 
15557 
_wrap_new_SBCommunication(lua_State * L)15558 static int _wrap_new_SBCommunication(lua_State* L) {
15559   int argc;
15560   int argv[2]={
15561     1,2
15562   };
15563 
15564   argc = lua_gettop(L);
15565   if (argc == 0) {
15566     return _wrap_new_SBCommunication__SWIG_0(L);
15567   }
15568   if (argc == 1) {
15569     int _v = 0;
15570     {
15571       _v = SWIG_lua_isnilstring(L,argv[0]);
15572     }
15573     if (_v) {
15574       return _wrap_new_SBCommunication__SWIG_1(L);
15575     }
15576   }
15577 
15578   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommunication'\n"
15579     "  Possible C/C++ prototypes are:\n"
15580     "    lldb::SBCommunication::SBCommunication()\n"
15581     "    lldb::SBCommunication::SBCommunication(char const *)\n");
15582   lua_error(L);return 0;
15583 }
15584 
15585 
_wrap_SBCommunication_IsValid(lua_State * L)15586 static int _wrap_SBCommunication_IsValid(lua_State* L) {
15587   {
15588     int SWIG_arg = 0;
15589     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15590     bool result;
15591 
15592     SWIG_check_num_args("lldb::SBCommunication::IsValid",1,1)
15593     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsValid",1,"lldb::SBCommunication const *");
15594 
15595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15596       SWIG_fail_ptr("SBCommunication_IsValid",1,SWIGTYPE_p_lldb__SBCommunication);
15597     }
15598 
15599     result = (bool)((lldb::SBCommunication const *)arg1)->IsValid();
15600     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15601     return SWIG_arg;
15602 
15603     fail: SWIGUNUSED;
15604   }
15605   lua_error(L);
15606   return 0;
15607 }
15608 
15609 
_wrap_SBCommunication_GetBroadcaster(lua_State * L)15610 static int _wrap_SBCommunication_GetBroadcaster(lua_State* L) {
15611   {
15612     int SWIG_arg = 0;
15613     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15614     lldb::SBBroadcaster result;
15615 
15616     SWIG_check_num_args("lldb::SBCommunication::GetBroadcaster",1,1)
15617     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetBroadcaster",1,"lldb::SBCommunication *");
15618 
15619     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15620       SWIG_fail_ptr("SBCommunication_GetBroadcaster",1,SWIGTYPE_p_lldb__SBCommunication);
15621     }
15622 
15623     result = (arg1)->GetBroadcaster();
15624     {
15625       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
15626       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
15627     }
15628     return SWIG_arg;
15629 
15630     fail: SWIGUNUSED;
15631   }
15632   lua_error(L);
15633   return 0;
15634 }
15635 
15636 
_wrap_SBCommunication_GetBroadcasterClass(lua_State * L)15637 static int _wrap_SBCommunication_GetBroadcasterClass(lua_State* L) {
15638   {
15639     int SWIG_arg = 0;
15640     char *result = 0 ;
15641 
15642     SWIG_check_num_args("lldb::SBCommunication::GetBroadcasterClass",0,0)
15643     result = (char *)lldb::SBCommunication::GetBroadcasterClass();
15644     lua_pushstring(L,(const char *)result); SWIG_arg++;
15645     return SWIG_arg;
15646 
15647     fail: SWIGUNUSED;
15648   }
15649   lua_error(L);
15650   return 0;
15651 }
15652 
15653 
_wrap_SBCommunication_AdoptFileDesriptor(lua_State * L)15654 static int _wrap_SBCommunication_AdoptFileDesriptor(lua_State* L) {
15655   {
15656     int SWIG_arg = 0;
15657     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15658     int arg2 ;
15659     bool arg3 ;
15660     lldb::ConnectionStatus result;
15661 
15662     SWIG_check_num_args("lldb::SBCommunication::AdoptFileDesriptor",3,3)
15663     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",1,"lldb::SBCommunication *");
15664     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",2,"int");
15665     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCommunication::AdoptFileDesriptor",3,"bool");
15666 
15667     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15668       SWIG_fail_ptr("SBCommunication_AdoptFileDesriptor",1,SWIGTYPE_p_lldb__SBCommunication);
15669     }
15670 
15671     arg2 = (int)lua_tointeger(L, 2);
15672     arg3 = (lua_toboolean(L, 3)!=0);
15673     result = (lldb::ConnectionStatus)(arg1)->AdoptFileDesriptor(arg2,arg3);
15674     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
15675     return SWIG_arg;
15676 
15677     fail: SWIGUNUSED;
15678   }
15679   lua_error(L);
15680   return 0;
15681 }
15682 
15683 
_wrap_SBCommunication_Connect(lua_State * L)15684 static int _wrap_SBCommunication_Connect(lua_State* L) {
15685   {
15686     int SWIG_arg = 0;
15687     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15688     char *arg2 = (char *) 0 ;
15689     lldb::ConnectionStatus result;
15690 
15691     SWIG_check_num_args("lldb::SBCommunication::Connect",2,2)
15692     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Connect",1,"lldb::SBCommunication *");
15693     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBCommunication::Connect",2,"char const *");
15694 
15695     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15696       SWIG_fail_ptr("SBCommunication_Connect",1,SWIGTYPE_p_lldb__SBCommunication);
15697     }
15698 
15699     arg2 = (char *)lua_tostring(L, 2);
15700     result = (lldb::ConnectionStatus)(arg1)->Connect((char const *)arg2);
15701     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
15702     return SWIG_arg;
15703 
15704     fail: SWIGUNUSED;
15705   }
15706   lua_error(L);
15707   return 0;
15708 }
15709 
15710 
_wrap_SBCommunication_Disconnect(lua_State * L)15711 static int _wrap_SBCommunication_Disconnect(lua_State* L) {
15712   {
15713     int SWIG_arg = 0;
15714     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15715     lldb::ConnectionStatus result;
15716 
15717     SWIG_check_num_args("lldb::SBCommunication::Disconnect",1,1)
15718     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Disconnect",1,"lldb::SBCommunication *");
15719 
15720     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15721       SWIG_fail_ptr("SBCommunication_Disconnect",1,SWIGTYPE_p_lldb__SBCommunication);
15722     }
15723 
15724     result = (lldb::ConnectionStatus)(arg1)->Disconnect();
15725     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
15726     return SWIG_arg;
15727 
15728     fail: SWIGUNUSED;
15729   }
15730   lua_error(L);
15731   return 0;
15732 }
15733 
15734 
_wrap_SBCommunication_IsConnected(lua_State * L)15735 static int _wrap_SBCommunication_IsConnected(lua_State* L) {
15736   {
15737     int SWIG_arg = 0;
15738     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15739     bool result;
15740 
15741     SWIG_check_num_args("lldb::SBCommunication::IsConnected",1,1)
15742     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::IsConnected",1,"lldb::SBCommunication const *");
15743 
15744     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15745       SWIG_fail_ptr("SBCommunication_IsConnected",1,SWIGTYPE_p_lldb__SBCommunication);
15746     }
15747 
15748     result = (bool)((lldb::SBCommunication const *)arg1)->IsConnected();
15749     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15750     return SWIG_arg;
15751 
15752     fail: SWIGUNUSED;
15753   }
15754   lua_error(L);
15755   return 0;
15756 }
15757 
15758 
_wrap_SBCommunication_GetCloseOnEOF(lua_State * L)15759 static int _wrap_SBCommunication_GetCloseOnEOF(lua_State* L) {
15760   {
15761     int SWIG_arg = 0;
15762     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15763     bool result;
15764 
15765     SWIG_check_num_args("lldb::SBCommunication::GetCloseOnEOF",1,1)
15766     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::GetCloseOnEOF",1,"lldb::SBCommunication *");
15767 
15768     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15769       SWIG_fail_ptr("SBCommunication_GetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication);
15770     }
15771 
15772     result = (bool)(arg1)->GetCloseOnEOF();
15773     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15774     return SWIG_arg;
15775 
15776     fail: SWIGUNUSED;
15777   }
15778   lua_error(L);
15779   return 0;
15780 }
15781 
15782 
_wrap_SBCommunication_SetCloseOnEOF(lua_State * L)15783 static int _wrap_SBCommunication_SetCloseOnEOF(lua_State* L) {
15784   {
15785     int SWIG_arg = 0;
15786     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15787     bool arg2 ;
15788 
15789     SWIG_check_num_args("lldb::SBCommunication::SetCloseOnEOF",2,2)
15790     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",1,"lldb::SBCommunication *");
15791     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetCloseOnEOF",2,"bool");
15792 
15793     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15794       SWIG_fail_ptr("SBCommunication_SetCloseOnEOF",1,SWIGTYPE_p_lldb__SBCommunication);
15795     }
15796 
15797     arg2 = (lua_toboolean(L, 2)!=0);
15798     (arg1)->SetCloseOnEOF(arg2);
15799 
15800     return SWIG_arg;
15801 
15802     fail: SWIGUNUSED;
15803   }
15804   lua_error(L);
15805   return 0;
15806 }
15807 
15808 
_wrap_SBCommunication_Read(lua_State * L)15809 static int _wrap_SBCommunication_Read(lua_State* L) {
15810   {
15811     int SWIG_arg = 0;
15812     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15813     void *arg2 = (void *) 0 ;
15814     size_t arg3 ;
15815     uint32_t arg4 ;
15816     lldb::ConnectionStatus *arg5 = 0 ;
15817     size_t result;
15818 
15819     SWIG_check_num_args("lldb::SBCommunication::Read",5,5)
15820     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Read",1,"lldb::SBCommunication *");
15821     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Read",2,"void *");
15822     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Read",3,"size_t");
15823     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBCommunication::Read",4,"uint32_t");
15824     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBCommunication::Read",5,"lldb::ConnectionStatus &");
15825 
15826     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15827       SWIG_fail_ptr("SBCommunication_Read",1,SWIGTYPE_p_lldb__SBCommunication);
15828     }
15829 
15830     arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Read");
15831     arg3 = (size_t)lua_tointeger(L, 3);
15832     arg4 = (uint32_t)lua_tointeger(L, 4);
15833 
15834     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__ConnectionStatus,0))){
15835       SWIG_fail_ptr("SBCommunication_Read",5,SWIGTYPE_p_lldb__ConnectionStatus);
15836     }
15837 
15838     result = (arg1)->Read(arg2,arg3,arg4,*arg5);
15839     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
15840     return SWIG_arg;
15841 
15842     fail: SWIGUNUSED;
15843   }
15844   lua_error(L);
15845   return 0;
15846 }
15847 
15848 
_wrap_SBCommunication_Write(lua_State * L)15849 static int _wrap_SBCommunication_Write(lua_State* L) {
15850   {
15851     int SWIG_arg = 0;
15852     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15853     void *arg2 = (void *) 0 ;
15854     size_t arg3 ;
15855     lldb::ConnectionStatus *arg4 = 0 ;
15856     size_t result;
15857 
15858     SWIG_check_num_args("lldb::SBCommunication::Write",4,4)
15859     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::Write",1,"lldb::SBCommunication *");
15860     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::Write",2,"void const *");
15861     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCommunication::Write",3,"size_t");
15862     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBCommunication::Write",4,"lldb::ConnectionStatus &");
15863 
15864     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15865       SWIG_fail_ptr("SBCommunication_Write",1,SWIGTYPE_p_lldb__SBCommunication);
15866     }
15867 
15868     arg2=(void *)SWIG_MustGetPtr(L,2,0,0,2,"SBCommunication_Write");
15869     arg3 = (size_t)lua_tointeger(L, 3);
15870 
15871     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__ConnectionStatus,0))){
15872       SWIG_fail_ptr("SBCommunication_Write",4,SWIGTYPE_p_lldb__ConnectionStatus);
15873     }
15874 
15875     result = (arg1)->Write((void const *)arg2,arg3,*arg4);
15876     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
15877     return SWIG_arg;
15878 
15879     fail: SWIGUNUSED;
15880   }
15881   lua_error(L);
15882   return 0;
15883 }
15884 
15885 
_wrap_SBCommunication_ReadThreadStart(lua_State * L)15886 static int _wrap_SBCommunication_ReadThreadStart(lua_State* L) {
15887   {
15888     int SWIG_arg = 0;
15889     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15890     bool result;
15891 
15892     SWIG_check_num_args("lldb::SBCommunication::ReadThreadStart",1,1)
15893     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStart",1,"lldb::SBCommunication *");
15894 
15895     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15896       SWIG_fail_ptr("SBCommunication_ReadThreadStart",1,SWIGTYPE_p_lldb__SBCommunication);
15897     }
15898 
15899     result = (bool)(arg1)->ReadThreadStart();
15900     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15901     return SWIG_arg;
15902 
15903     fail: SWIGUNUSED;
15904   }
15905   lua_error(L);
15906   return 0;
15907 }
15908 
15909 
_wrap_SBCommunication_ReadThreadStop(lua_State * L)15910 static int _wrap_SBCommunication_ReadThreadStop(lua_State* L) {
15911   {
15912     int SWIG_arg = 0;
15913     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15914     bool result;
15915 
15916     SWIG_check_num_args("lldb::SBCommunication::ReadThreadStop",1,1)
15917     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadStop",1,"lldb::SBCommunication *");
15918 
15919     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15920       SWIG_fail_ptr("SBCommunication_ReadThreadStop",1,SWIGTYPE_p_lldb__SBCommunication);
15921     }
15922 
15923     result = (bool)(arg1)->ReadThreadStop();
15924     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15925     return SWIG_arg;
15926 
15927     fail: SWIGUNUSED;
15928   }
15929   lua_error(L);
15930   return 0;
15931 }
15932 
15933 
_wrap_SBCommunication_ReadThreadIsRunning(lua_State * L)15934 static int _wrap_SBCommunication_ReadThreadIsRunning(lua_State* L) {
15935   {
15936     int SWIG_arg = 0;
15937     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15938     bool result;
15939 
15940     SWIG_check_num_args("lldb::SBCommunication::ReadThreadIsRunning",1,1)
15941     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::ReadThreadIsRunning",1,"lldb::SBCommunication *");
15942 
15943     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15944       SWIG_fail_ptr("SBCommunication_ReadThreadIsRunning",1,SWIGTYPE_p_lldb__SBCommunication);
15945     }
15946 
15947     result = (bool)(arg1)->ReadThreadIsRunning();
15948     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15949     return SWIG_arg;
15950 
15951     fail: SWIGUNUSED;
15952   }
15953   lua_error(L);
15954   return 0;
15955 }
15956 
15957 
_wrap_SBCommunication_SetReadThreadBytesReceivedCallback(lua_State * L)15958 static int _wrap_SBCommunication_SetReadThreadBytesReceivedCallback(lua_State* L) {
15959   {
15960     int SWIG_arg = 0;
15961     lldb::SBCommunication *arg1 = (lldb::SBCommunication *) 0 ;
15962     lldb::SBCommunication::ReadThreadBytesReceived arg2 = (lldb::SBCommunication::ReadThreadBytesReceived) 0 ;
15963     void *arg3 = (void *) 0 ;
15964     bool result;
15965 
15966     SWIG_check_num_args("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,3)
15967     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",1,"lldb::SBCommunication *");
15968     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",2,"lldb::SBCommunication::ReadThreadBytesReceived");
15969     if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBCommunication::SetReadThreadBytesReceivedCallback",3,"void *");
15970 
15971     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommunication,0))){
15972       SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",1,SWIGTYPE_p_lldb__SBCommunication);
15973     }
15974 
15975 
15976     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void,0))){
15977       SWIG_fail_ptr("SBCommunication_SetReadThreadBytesReceivedCallback",2,SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void);
15978     }
15979 
15980     arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBCommunication_SetReadThreadBytesReceivedCallback");
15981     result = (bool)(arg1)->SetReadThreadBytesReceivedCallback(arg2,arg3);
15982     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15983     return SWIG_arg;
15984 
15985     fail: SWIGUNUSED;
15986   }
15987   lua_error(L);
15988   return 0;
15989 }
15990 
15991 
swig_delete_SBCommunication(void * obj)15992 static void swig_delete_SBCommunication(void *obj) {
15993 lldb::SBCommunication *arg1 = (lldb::SBCommunication *) obj;
15994 delete arg1;
15995 }
_proxy__wrap_new_SBCommunication(lua_State * L)15996 static int _proxy__wrap_new_SBCommunication(lua_State *L) {
15997     assert(lua_istable(L,1));
15998     lua_pushcfunction(L,_wrap_new_SBCommunication);
15999     assert(!lua_isnil(L,-1));
16000     lua_replace(L,1); /* replace our table with real constructor */
16001     lua_call(L,lua_gettop(L)-1,1);
16002     return 1;
16003 }
16004 static swig_lua_attribute swig_SBCommunication_attributes[] = {
16005     {0,0,0}
16006 };
16007 static swig_lua_method swig_SBCommunication_methods[]= {
16008     { "IsValid", _wrap_SBCommunication_IsValid},
16009     { "GetBroadcaster", _wrap_SBCommunication_GetBroadcaster},
16010     { "AdoptFileDesriptor", _wrap_SBCommunication_AdoptFileDesriptor},
16011     { "Connect", _wrap_SBCommunication_Connect},
16012     { "Disconnect", _wrap_SBCommunication_Disconnect},
16013     { "IsConnected", _wrap_SBCommunication_IsConnected},
16014     { "GetCloseOnEOF", _wrap_SBCommunication_GetCloseOnEOF},
16015     { "SetCloseOnEOF", _wrap_SBCommunication_SetCloseOnEOF},
16016     { "Read", _wrap_SBCommunication_Read},
16017     { "Write", _wrap_SBCommunication_Write},
16018     { "ReadThreadStart", _wrap_SBCommunication_ReadThreadStart},
16019     { "ReadThreadStop", _wrap_SBCommunication_ReadThreadStop},
16020     { "ReadThreadIsRunning", _wrap_SBCommunication_ReadThreadIsRunning},
16021     { "SetReadThreadBytesReceivedCallback", _wrap_SBCommunication_SetReadThreadBytesReceivedCallback},
16022     {0,0}
16023 };
16024 static swig_lua_method swig_SBCommunication_meta[] = {
16025     {0,0}
16026 };
16027 
16028 static swig_lua_attribute swig_SBCommunication_Sf_SwigStatic_attributes[] = {
16029     {0,0,0}
16030 };
16031 static swig_lua_const_info swig_SBCommunication_Sf_SwigStatic_constants[]= {
16032     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitDisconnected", lldb::SBCommunication::eBroadcastBitDisconnected)},
16033     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadGotBytes", lldb::SBCommunication::eBroadcastBitReadThreadGotBytes)},
16034     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadDidExit", lldb::SBCommunication::eBroadcastBitReadThreadDidExit)},
16035     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitReadThreadShouldExit", lldb::SBCommunication::eBroadcastBitReadThreadShouldExit)},
16036     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitPacketAvailable", lldb::SBCommunication::eBroadcastBitPacketAvailable)},
16037     {SWIG_LUA_CONSTTAB_INT("eAllEventBits", lldb::SBCommunication::eAllEventBits)},
16038     {0,0,0,0,0,0}
16039 };
16040 static swig_lua_method swig_SBCommunication_Sf_SwigStatic_methods[]= {
16041     { "GetBroadcasterClass", _wrap_SBCommunication_GetBroadcasterClass},
16042     {0,0}
16043 };
16044 static swig_lua_class* swig_SBCommunication_Sf_SwigStatic_classes[]= {
16045     0
16046 };
16047 
16048 static swig_lua_namespace swig_SBCommunication_Sf_SwigStatic = {
16049     "SBCommunication",
16050     swig_SBCommunication_Sf_SwigStatic_methods,
16051     swig_SBCommunication_Sf_SwigStatic_attributes,
16052     swig_SBCommunication_Sf_SwigStatic_constants,
16053     swig_SBCommunication_Sf_SwigStatic_classes,
16054     0
16055 };
16056 static swig_lua_class *swig_SBCommunication_bases[] = {0};
16057 static const char *swig_SBCommunication_base_names[] = {0};
16058 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 };
16059 
_wrap_new_SBCompileUnit__SWIG_0(lua_State * L)16060 static int _wrap_new_SBCompileUnit__SWIG_0(lua_State* L) {
16061   {
16062     int SWIG_arg = 0;
16063     lldb::SBCompileUnit *result = 0 ;
16064 
16065     SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",0,0)
16066     result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit();
16067     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
16068     return SWIG_arg;
16069 
16070     fail: SWIGUNUSED;
16071   }
16072   lua_error(L);
16073   return 0;
16074 }
16075 
16076 
_wrap_new_SBCompileUnit__SWIG_1(lua_State * L)16077 static int _wrap_new_SBCompileUnit__SWIG_1(lua_State* L) {
16078   {
16079     int SWIG_arg = 0;
16080     lldb::SBCompileUnit *arg1 = 0 ;
16081     lldb::SBCompileUnit *result = 0 ;
16082 
16083     SWIG_check_num_args("lldb::SBCompileUnit::SBCompileUnit",1,1)
16084     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::SBCompileUnit",1,"lldb::SBCompileUnit const &");
16085 
16086     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16087       SWIG_fail_ptr("new_SBCompileUnit",1,SWIGTYPE_p_lldb__SBCompileUnit);
16088     }
16089 
16090     result = (lldb::SBCompileUnit *)new lldb::SBCompileUnit((lldb::SBCompileUnit const &)*arg1);
16091     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
16092     return SWIG_arg;
16093 
16094     fail: SWIGUNUSED;
16095   }
16096   lua_error(L);
16097   return 0;
16098 }
16099 
16100 
_wrap_new_SBCompileUnit(lua_State * L)16101 static int _wrap_new_SBCompileUnit(lua_State* L) {
16102   int argc;
16103   int argv[2]={
16104     1,2
16105   };
16106 
16107   argc = lua_gettop(L);
16108   if (argc == 0) {
16109     return _wrap_new_SBCompileUnit__SWIG_0(L);
16110   }
16111   if (argc == 1) {
16112     int _v = 0;
16113     {
16114       void *ptr;
16115       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, SWIG_POINTER_NO_NULL)) {
16116         _v = 0;
16117       } else {
16118         _v = 1;
16119       }
16120     }
16121     if (_v) {
16122       return _wrap_new_SBCompileUnit__SWIG_1(L);
16123     }
16124   }
16125 
16126   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCompileUnit'\n"
16127     "  Possible C/C++ prototypes are:\n"
16128     "    lldb::SBCompileUnit::SBCompileUnit()\n"
16129     "    lldb::SBCompileUnit::SBCompileUnit(lldb::SBCompileUnit const &)\n");
16130   lua_error(L);return 0;
16131 }
16132 
16133 
_wrap_SBCompileUnit_IsValid(lua_State * L)16134 static int _wrap_SBCompileUnit_IsValid(lua_State* L) {
16135   {
16136     int SWIG_arg = 0;
16137     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16138     bool result;
16139 
16140     SWIG_check_num_args("lldb::SBCompileUnit::IsValid",1,1)
16141     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::IsValid",1,"lldb::SBCompileUnit const *");
16142 
16143     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16144       SWIG_fail_ptr("SBCompileUnit_IsValid",1,SWIGTYPE_p_lldb__SBCompileUnit);
16145     }
16146 
16147     result = (bool)((lldb::SBCompileUnit const *)arg1)->IsValid();
16148     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16149     return SWIG_arg;
16150 
16151     fail: SWIGUNUSED;
16152   }
16153   lua_error(L);
16154   return 0;
16155 }
16156 
16157 
_wrap_SBCompileUnit_GetFileSpec(lua_State * L)16158 static int _wrap_SBCompileUnit_GetFileSpec(lua_State* L) {
16159   {
16160     int SWIG_arg = 0;
16161     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16162     lldb::SBFileSpec result;
16163 
16164     SWIG_check_num_args("lldb::SBCompileUnit::GetFileSpec",1,1)
16165     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetFileSpec",1,"lldb::SBCompileUnit const *");
16166 
16167     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16168       SWIG_fail_ptr("SBCompileUnit_GetFileSpec",1,SWIGTYPE_p_lldb__SBCompileUnit);
16169     }
16170 
16171     result = ((lldb::SBCompileUnit const *)arg1)->GetFileSpec();
16172     {
16173       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
16174       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
16175     }
16176     return SWIG_arg;
16177 
16178     fail: SWIGUNUSED;
16179   }
16180   lua_error(L);
16181   return 0;
16182 }
16183 
16184 
_wrap_SBCompileUnit_GetNumLineEntries(lua_State * L)16185 static int _wrap_SBCompileUnit_GetNumLineEntries(lua_State* L) {
16186   {
16187     int SWIG_arg = 0;
16188     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16189     uint32_t result;
16190 
16191     SWIG_check_num_args("lldb::SBCompileUnit::GetNumLineEntries",1,1)
16192     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumLineEntries",1,"lldb::SBCompileUnit const *");
16193 
16194     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16195       SWIG_fail_ptr("SBCompileUnit_GetNumLineEntries",1,SWIGTYPE_p_lldb__SBCompileUnit);
16196     }
16197 
16198     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumLineEntries();
16199     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16200     return SWIG_arg;
16201 
16202     fail: SWIGUNUSED;
16203   }
16204   lua_error(L);
16205   return 0;
16206 }
16207 
16208 
_wrap_SBCompileUnit_GetLineEntryAtIndex(lua_State * L)16209 static int _wrap_SBCompileUnit_GetLineEntryAtIndex(lua_State* L) {
16210   {
16211     int SWIG_arg = 0;
16212     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16213     uint32_t arg2 ;
16214     lldb::SBLineEntry result;
16215 
16216     SWIG_check_num_args("lldb::SBCompileUnit::GetLineEntryAtIndex",2,2)
16217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",1,"lldb::SBCompileUnit const *");
16218     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetLineEntryAtIndex",2,"uint32_t");
16219 
16220     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16221       SWIG_fail_ptr("SBCompileUnit_GetLineEntryAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16222     }
16223 
16224     arg2 = (uint32_t)lua_tointeger(L, 2);
16225     result = ((lldb::SBCompileUnit const *)arg1)->GetLineEntryAtIndex(arg2);
16226     {
16227       lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result);
16228       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
16229     }
16230     return SWIG_arg;
16231 
16232     fail: SWIGUNUSED;
16233   }
16234   lua_error(L);
16235   return 0;
16236 }
16237 
16238 
_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(lua_State * L)16239 static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(lua_State* L) {
16240   {
16241     int SWIG_arg = 0;
16242     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16243     lldb::SBLineEntry *arg2 = 0 ;
16244     bool arg3 ;
16245     uint32_t result;
16246 
16247     SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",3,3)
16248     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *");
16249     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &");
16250     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"bool");
16251 
16252     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16253       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16254     }
16255 
16256 
16257     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){
16258       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry);
16259     }
16260 
16261     arg3 = (lua_toboolean(L, 3)!=0);
16262     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2,arg3);
16263     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16264     return SWIG_arg;
16265 
16266     fail: SWIGUNUSED;
16267   }
16268   lua_error(L);
16269   return 0;
16270 }
16271 
16272 
_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(lua_State * L)16273 static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(lua_State* L) {
16274   {
16275     int SWIG_arg = 0;
16276     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16277     lldb::SBLineEntry *arg2 = 0 ;
16278     uint32_t result;
16279 
16280     SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",2,2)
16281     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *");
16282     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"lldb::SBLineEntry &");
16283 
16284     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16285       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16286     }
16287 
16288 
16289     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){
16290       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",2,SWIGTYPE_p_lldb__SBLineEntry);
16291     }
16292 
16293     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(*arg2);
16294     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16295     return SWIG_arg;
16296 
16297     fail: SWIGUNUSED;
16298   }
16299   lua_error(L);
16300   return 0;
16301 }
16302 
16303 
_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_2(lua_State * L)16304 static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_2(lua_State* L) {
16305   {
16306     int SWIG_arg = 0;
16307     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16308     uint32_t arg2 ;
16309     uint32_t arg3 ;
16310     lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ;
16311     uint32_t result;
16312 
16313     SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",4,4)
16314     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *");
16315     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t");
16316     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t");
16317     if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *");
16318 
16319     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16320       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16321     }
16322 
16323     arg2 = (uint32_t)lua_tointeger(L, 2);
16324     arg3 = (uint32_t)lua_tointeger(L, 3);
16325 
16326     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){
16327       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec);
16328     }
16329 
16330     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4);
16331     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16332     return SWIG_arg;
16333 
16334     fail: SWIGUNUSED;
16335   }
16336   lua_error(L);
16337   return 0;
16338 }
16339 
16340 
_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_3(lua_State * L)16341 static int _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_3(lua_State* L) {
16342   {
16343     int SWIG_arg = 0;
16344     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16345     uint32_t arg2 ;
16346     uint32_t arg3 ;
16347     lldb::SBFileSpec *arg4 = (lldb::SBFileSpec *) 0 ;
16348     bool arg5 ;
16349     uint32_t result;
16350 
16351     SWIG_check_num_args("lldb::SBCompileUnit::FindLineEntryIndex",5,5)
16352     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",1,"lldb::SBCompileUnit const *");
16353     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",2,"uint32_t");
16354     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",3,"uint32_t");
16355     if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",4,"lldb::SBFileSpec *");
16356     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBCompileUnit::FindLineEntryIndex",5,"bool");
16357 
16358     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16359       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16360     }
16361 
16362     arg2 = (uint32_t)lua_tointeger(L, 2);
16363     arg3 = (uint32_t)lua_tointeger(L, 3);
16364 
16365     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){
16366       SWIG_fail_ptr("SBCompileUnit_FindLineEntryIndex",4,SWIGTYPE_p_lldb__SBFileSpec);
16367     }
16368 
16369     arg5 = (lua_toboolean(L, 5)!=0);
16370     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->FindLineEntryIndex(arg2,arg3,arg4,arg5);
16371     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16372     return SWIG_arg;
16373 
16374     fail: SWIGUNUSED;
16375   }
16376   lua_error(L);
16377   return 0;
16378 }
16379 
16380 
_wrap_SBCompileUnit_FindLineEntryIndex(lua_State * L)16381 static int _wrap_SBCompileUnit_FindLineEntryIndex(lua_State* L) {
16382   int argc;
16383   int argv[6]={
16384     1,2,3,4,5,6
16385   };
16386 
16387   argc = lua_gettop(L);
16388   if (argc == 2) {
16389     int _v = 0;
16390     {
16391       void *ptr;
16392       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16393         _v = 0;
16394       } else {
16395         _v = 1;
16396       }
16397     }
16398     if (_v) {
16399       {
16400         void *ptr;
16401         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBLineEntry, SWIG_POINTER_NO_NULL)) {
16402           _v = 0;
16403         } else {
16404           _v = 1;
16405         }
16406       }
16407       if (_v) {
16408         return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(L);
16409       }
16410     }
16411   }
16412   if (argc == 3) {
16413     int _v = 0;
16414     {
16415       void *ptr;
16416       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16417         _v = 0;
16418       } else {
16419         _v = 1;
16420       }
16421     }
16422     if (_v) {
16423       {
16424         void *ptr;
16425         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBLineEntry, SWIG_POINTER_NO_NULL)) {
16426           _v = 0;
16427         } else {
16428           _v = 1;
16429         }
16430       }
16431       if (_v) {
16432         {
16433           _v = lua_isboolean(L,argv[2]);
16434         }
16435         if (_v) {
16436           return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(L);
16437         }
16438       }
16439     }
16440   }
16441   if (argc == 4) {
16442     int _v = 0;
16443     {
16444       void *ptr;
16445       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16446         _v = 0;
16447       } else {
16448         _v = 1;
16449       }
16450     }
16451     if (_v) {
16452       {
16453         _v = lua_isnumber(L,argv[1]);
16454       }
16455       if (_v) {
16456         {
16457           _v = lua_isnumber(L,argv[2]);
16458         }
16459         if (_v) {
16460           {
16461             void *ptr;
16462             if (SWIG_isptrtype(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) {
16463               _v = 0;
16464             } else {
16465               _v = 1;
16466             }
16467           }
16468           if (_v) {
16469             return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_2(L);
16470           }
16471         }
16472       }
16473     }
16474   }
16475   if (argc == 5) {
16476     int _v = 0;
16477     {
16478       void *ptr;
16479       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16480         _v = 0;
16481       } else {
16482         _v = 1;
16483       }
16484     }
16485     if (_v) {
16486       {
16487         _v = lua_isnumber(L,argv[1]);
16488       }
16489       if (_v) {
16490         {
16491           _v = lua_isnumber(L,argv[2]);
16492         }
16493         if (_v) {
16494           {
16495             void *ptr;
16496             if (SWIG_isptrtype(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) {
16497               _v = 0;
16498             } else {
16499               _v = 1;
16500             }
16501           }
16502           if (_v) {
16503             {
16504               _v = lua_isboolean(L,argv[4]);
16505             }
16506             if (_v) {
16507               return _wrap_SBCompileUnit_FindLineEntryIndex__SWIG_3(L);
16508             }
16509           }
16510         }
16511       }
16512     }
16513   }
16514 
16515   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCompileUnit_FindLineEntryIndex'\n"
16516     "  Possible C/C++ prototypes are:\n"
16517     "    lldb::SBCompileUnit::FindLineEntryIndex(lldb::SBLineEntry &,bool) const\n"
16518     "    lldb::SBCompileUnit::FindLineEntryIndex(lldb::SBLineEntry &) const\n"
16519     "    lldb::SBCompileUnit::FindLineEntryIndex(uint32_t,uint32_t,lldb::SBFileSpec *) const\n"
16520     "    lldb::SBCompileUnit::FindLineEntryIndex(uint32_t,uint32_t,lldb::SBFileSpec *,bool) const\n");
16521   lua_error(L);return 0;
16522 }
16523 
16524 
_wrap_SBCompileUnit_GetSupportFileAtIndex(lua_State * L)16525 static int _wrap_SBCompileUnit_GetSupportFileAtIndex(lua_State* L) {
16526   {
16527     int SWIG_arg = 0;
16528     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16529     uint32_t arg2 ;
16530     lldb::SBFileSpec result;
16531 
16532     SWIG_check_num_args("lldb::SBCompileUnit::GetSupportFileAtIndex",2,2)
16533     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",1,"lldb::SBCompileUnit const *");
16534     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetSupportFileAtIndex",2,"uint32_t");
16535 
16536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16537       SWIG_fail_ptr("SBCompileUnit_GetSupportFileAtIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16538     }
16539 
16540     arg2 = (uint32_t)lua_tointeger(L, 2);
16541     result = ((lldb::SBCompileUnit const *)arg1)->GetSupportFileAtIndex(arg2);
16542     {
16543       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
16544       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
16545     }
16546     return SWIG_arg;
16547 
16548     fail: SWIGUNUSED;
16549   }
16550   lua_error(L);
16551   return 0;
16552 }
16553 
16554 
_wrap_SBCompileUnit_GetNumSupportFiles(lua_State * L)16555 static int _wrap_SBCompileUnit_GetNumSupportFiles(lua_State* L) {
16556   {
16557     int SWIG_arg = 0;
16558     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16559     uint32_t result;
16560 
16561     SWIG_check_num_args("lldb::SBCompileUnit::GetNumSupportFiles",1,1)
16562     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetNumSupportFiles",1,"lldb::SBCompileUnit const *");
16563 
16564     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16565       SWIG_fail_ptr("SBCompileUnit_GetNumSupportFiles",1,SWIGTYPE_p_lldb__SBCompileUnit);
16566     }
16567 
16568     result = (uint32_t)((lldb::SBCompileUnit const *)arg1)->GetNumSupportFiles();
16569     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16570     return SWIG_arg;
16571 
16572     fail: SWIGUNUSED;
16573   }
16574   lua_error(L);
16575   return 0;
16576 }
16577 
16578 
_wrap_SBCompileUnit_FindSupportFileIndex(lua_State * L)16579 static int _wrap_SBCompileUnit_FindSupportFileIndex(lua_State* L) {
16580   {
16581     int SWIG_arg = 0;
16582     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16583     uint32_t arg2 ;
16584     lldb::SBFileSpec *arg3 = 0 ;
16585     bool arg4 ;
16586     uint32_t result;
16587 
16588     SWIG_check_num_args("lldb::SBCompileUnit::FindSupportFileIndex",4,4)
16589     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",1,"lldb::SBCompileUnit *");
16590     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",2,"uint32_t");
16591     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",3,"lldb::SBFileSpec const &");
16592     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBCompileUnit::FindSupportFileIndex",4,"bool");
16593 
16594     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16595       SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",1,SWIGTYPE_p_lldb__SBCompileUnit);
16596     }
16597 
16598     arg2 = (uint32_t)lua_tointeger(L, 2);
16599 
16600     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
16601       SWIG_fail_ptr("SBCompileUnit_FindSupportFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec);
16602     }
16603 
16604     arg4 = (lua_toboolean(L, 4)!=0);
16605     result = (uint32_t)(arg1)->FindSupportFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4);
16606     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16607     return SWIG_arg;
16608 
16609     fail: SWIGUNUSED;
16610   }
16611   lua_error(L);
16612   return 0;
16613 }
16614 
16615 
_wrap_SBCompileUnit_GetTypes__SWIG_0(lua_State * L)16616 static int _wrap_SBCompileUnit_GetTypes__SWIG_0(lua_State* L) {
16617   {
16618     int SWIG_arg = 0;
16619     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16620     uint32_t arg2 ;
16621     lldb::SBTypeList result;
16622 
16623     SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",2,2)
16624     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *");
16625     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",2,"uint32_t");
16626 
16627     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16628       SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit);
16629     }
16630 
16631     arg2 = (uint32_t)lua_tointeger(L, 2);
16632     result = (arg1)->GetTypes(arg2);
16633     {
16634       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
16635       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
16636     }
16637     return SWIG_arg;
16638 
16639     fail: SWIGUNUSED;
16640   }
16641   lua_error(L);
16642   return 0;
16643 }
16644 
16645 
_wrap_SBCompileUnit_GetTypes__SWIG_1(lua_State * L)16646 static int _wrap_SBCompileUnit_GetTypes__SWIG_1(lua_State* L) {
16647   {
16648     int SWIG_arg = 0;
16649     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16650     lldb::SBTypeList result;
16651 
16652     SWIG_check_num_args("lldb::SBCompileUnit::GetTypes",1,1)
16653     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetTypes",1,"lldb::SBCompileUnit *");
16654 
16655     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16656       SWIG_fail_ptr("SBCompileUnit_GetTypes",1,SWIGTYPE_p_lldb__SBCompileUnit);
16657     }
16658 
16659     result = (arg1)->GetTypes();
16660     {
16661       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
16662       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
16663     }
16664     return SWIG_arg;
16665 
16666     fail: SWIGUNUSED;
16667   }
16668   lua_error(L);
16669   return 0;
16670 }
16671 
16672 
_wrap_SBCompileUnit_GetTypes(lua_State * L)16673 static int _wrap_SBCompileUnit_GetTypes(lua_State* L) {
16674   int argc;
16675   int argv[3]={
16676     1,2,3
16677   };
16678 
16679   argc = lua_gettop(L);
16680   if (argc == 1) {
16681     int _v = 0;
16682     {
16683       void *ptr;
16684       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16685         _v = 0;
16686       } else {
16687         _v = 1;
16688       }
16689     }
16690     if (_v) {
16691       return _wrap_SBCompileUnit_GetTypes__SWIG_1(L);
16692     }
16693   }
16694   if (argc == 2) {
16695     int _v = 0;
16696     {
16697       void *ptr;
16698       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCompileUnit, 0)) {
16699         _v = 0;
16700       } else {
16701         _v = 1;
16702       }
16703     }
16704     if (_v) {
16705       {
16706         _v = lua_isnumber(L,argv[1]);
16707       }
16708       if (_v) {
16709         return _wrap_SBCompileUnit_GetTypes__SWIG_0(L);
16710       }
16711     }
16712   }
16713 
16714   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBCompileUnit_GetTypes'\n"
16715     "  Possible C/C++ prototypes are:\n"
16716     "    lldb::SBCompileUnit::GetTypes(uint32_t)\n"
16717     "    lldb::SBCompileUnit::GetTypes()\n");
16718   lua_error(L);return 0;
16719 }
16720 
16721 
_wrap_SBCompileUnit_GetLanguage(lua_State * L)16722 static int _wrap_SBCompileUnit_GetLanguage(lua_State* L) {
16723   {
16724     int SWIG_arg = 0;
16725     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16726     lldb::LanguageType result;
16727 
16728     SWIG_check_num_args("lldb::SBCompileUnit::GetLanguage",1,1)
16729     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetLanguage",1,"lldb::SBCompileUnit *");
16730 
16731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16732       SWIG_fail_ptr("SBCompileUnit_GetLanguage",1,SWIGTYPE_p_lldb__SBCompileUnit);
16733     }
16734 
16735     result = (lldb::LanguageType)(arg1)->GetLanguage();
16736     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16737     return SWIG_arg;
16738 
16739     fail: SWIGUNUSED;
16740   }
16741   lua_error(L);
16742   return 0;
16743 }
16744 
16745 
_wrap_SBCompileUnit___eq(lua_State * L)16746 static int _wrap_SBCompileUnit___eq(lua_State* L) {
16747   {
16748     int SWIG_arg = 0;
16749     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16750     lldb::SBCompileUnit *arg2 = 0 ;
16751     bool result;
16752 
16753     SWIG_check_num_args("lldb::SBCompileUnit::operator ==",2,2)
16754     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",1,"lldb::SBCompileUnit const *");
16755     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::operator ==",2,"lldb::SBCompileUnit const &");
16756 
16757     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16758       SWIG_fail_ptr("SBCompileUnit___eq",1,SWIGTYPE_p_lldb__SBCompileUnit);
16759     }
16760 
16761 
16762     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16763       SWIG_fail_ptr("SBCompileUnit___eq",2,SWIGTYPE_p_lldb__SBCompileUnit);
16764     }
16765 
16766     result = (bool)((lldb::SBCompileUnit const *)arg1)->operator ==((lldb::SBCompileUnit const &)*arg2);
16767     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16768     return SWIG_arg;
16769 
16770     fail: SWIGUNUSED;
16771   }
16772   lua_error(L);
16773   return 0;
16774 }
16775 
16776 
_wrap_SBCompileUnit_GetDescription(lua_State * L)16777 static int _wrap_SBCompileUnit_GetDescription(lua_State* L) {
16778   {
16779     int SWIG_arg = 0;
16780     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16781     lldb::SBStream *arg2 = 0 ;
16782     bool result;
16783 
16784     SWIG_check_num_args("lldb::SBCompileUnit::GetDescription",2,2)
16785     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",1,"lldb::SBCompileUnit *");
16786     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBCompileUnit::GetDescription",2,"lldb::SBStream &");
16787 
16788     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16789       SWIG_fail_ptr("SBCompileUnit_GetDescription",1,SWIGTYPE_p_lldb__SBCompileUnit);
16790     }
16791 
16792 
16793     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
16794       SWIG_fail_ptr("SBCompileUnit_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
16795     }
16796 
16797     result = (bool)(arg1)->GetDescription(*arg2);
16798     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16799     return SWIG_arg;
16800 
16801     fail: SWIGUNUSED;
16802   }
16803   lua_error(L);
16804   return 0;
16805 }
16806 
16807 
_wrap_SBCompileUnit___tostring(lua_State * L)16808 static int _wrap_SBCompileUnit___tostring(lua_State* L) {
16809   {
16810     int SWIG_arg = 0;
16811     lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) 0 ;
16812     std::string result;
16813 
16814     SWIG_check_num_args("lldb::SBCompileUnit::__repr__",1,1)
16815     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCompileUnit::__repr__",1,"lldb::SBCompileUnit *");
16816 
16817     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCompileUnit,0))){
16818       SWIG_fail_ptr("SBCompileUnit___tostring",1,SWIGTYPE_p_lldb__SBCompileUnit);
16819     }
16820 
16821     result = lldb_SBCompileUnit___repr__(arg1);
16822     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
16823     return SWIG_arg;
16824 
16825     fail: SWIGUNUSED;
16826   }
16827   lua_error(L);
16828   return 0;
16829 }
16830 
16831 
swig_delete_SBCompileUnit(void * obj)16832 static void swig_delete_SBCompileUnit(void *obj) {
16833 lldb::SBCompileUnit *arg1 = (lldb::SBCompileUnit *) obj;
16834 delete arg1;
16835 }
_proxy__wrap_new_SBCompileUnit(lua_State * L)16836 static int _proxy__wrap_new_SBCompileUnit(lua_State *L) {
16837     assert(lua_istable(L,1));
16838     lua_pushcfunction(L,_wrap_new_SBCompileUnit);
16839     assert(!lua_isnil(L,-1));
16840     lua_replace(L,1); /* replace our table with real constructor */
16841     lua_call(L,lua_gettop(L)-1,1);
16842     return 1;
16843 }
16844 static swig_lua_attribute swig_SBCompileUnit_attributes[] = {
16845     {0,0,0}
16846 };
16847 static swig_lua_method swig_SBCompileUnit_methods[]= {
16848     { "IsValid", _wrap_SBCompileUnit_IsValid},
16849     { "GetFileSpec", _wrap_SBCompileUnit_GetFileSpec},
16850     { "GetNumLineEntries", _wrap_SBCompileUnit_GetNumLineEntries},
16851     { "GetLineEntryAtIndex", _wrap_SBCompileUnit_GetLineEntryAtIndex},
16852     { "FindLineEntryIndex", _wrap_SBCompileUnit_FindLineEntryIndex},
16853     { "GetSupportFileAtIndex", _wrap_SBCompileUnit_GetSupportFileAtIndex},
16854     { "GetNumSupportFiles", _wrap_SBCompileUnit_GetNumSupportFiles},
16855     { "FindSupportFileIndex", _wrap_SBCompileUnit_FindSupportFileIndex},
16856     { "GetTypes", _wrap_SBCompileUnit_GetTypes},
16857     { "GetLanguage", _wrap_SBCompileUnit_GetLanguage},
16858     { "__eq", _wrap_SBCompileUnit___eq},
16859     { "GetDescription", _wrap_SBCompileUnit_GetDescription},
16860     { "__tostring", _wrap_SBCompileUnit___tostring},
16861     {0,0}
16862 };
16863 static swig_lua_method swig_SBCompileUnit_meta[] = {
16864     { "__eq", _wrap_SBCompileUnit___eq},
16865     { "__tostring", _wrap_SBCompileUnit___tostring},
16866     {0,0}
16867 };
16868 
16869 static swig_lua_attribute swig_SBCompileUnit_Sf_SwigStatic_attributes[] = {
16870     {0,0,0}
16871 };
16872 static swig_lua_const_info swig_SBCompileUnit_Sf_SwigStatic_constants[]= {
16873     {0,0,0,0,0,0}
16874 };
16875 static swig_lua_method swig_SBCompileUnit_Sf_SwigStatic_methods[]= {
16876     {0,0}
16877 };
16878 static swig_lua_class* swig_SBCompileUnit_Sf_SwigStatic_classes[]= {
16879     0
16880 };
16881 
16882 static swig_lua_namespace swig_SBCompileUnit_Sf_SwigStatic = {
16883     "SBCompileUnit",
16884     swig_SBCompileUnit_Sf_SwigStatic_methods,
16885     swig_SBCompileUnit_Sf_SwigStatic_attributes,
16886     swig_SBCompileUnit_Sf_SwigStatic_constants,
16887     swig_SBCompileUnit_Sf_SwigStatic_classes,
16888     0
16889 };
16890 static swig_lua_class *swig_SBCompileUnit_bases[] = {0};
16891 static const char *swig_SBCompileUnit_base_names[] = {0};
16892 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 };
16893 
_wrap_new_SBData__SWIG_0(lua_State * L)16894 static int _wrap_new_SBData__SWIG_0(lua_State* L) {
16895   {
16896     int SWIG_arg = 0;
16897     lldb::SBData *result = 0 ;
16898 
16899     SWIG_check_num_args("lldb::SBData::SBData",0,0)
16900     result = (lldb::SBData *)new lldb::SBData();
16901     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
16902     return SWIG_arg;
16903 
16904     fail: SWIGUNUSED;
16905   }
16906   lua_error(L);
16907   return 0;
16908 }
16909 
16910 
_wrap_new_SBData__SWIG_1(lua_State * L)16911 static int _wrap_new_SBData__SWIG_1(lua_State* L) {
16912   {
16913     int SWIG_arg = 0;
16914     lldb::SBData *arg1 = 0 ;
16915     lldb::SBData *result = 0 ;
16916 
16917     SWIG_check_num_args("lldb::SBData::SBData",1,1)
16918     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBData::SBData",1,"lldb::SBData const &");
16919 
16920     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
16921       SWIG_fail_ptr("new_SBData",1,SWIGTYPE_p_lldb__SBData);
16922     }
16923 
16924     result = (lldb::SBData *)new lldb::SBData((lldb::SBData const &)*arg1);
16925     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
16926     return SWIG_arg;
16927 
16928     fail: SWIGUNUSED;
16929   }
16930   lua_error(L);
16931   return 0;
16932 }
16933 
16934 
_wrap_new_SBData(lua_State * L)16935 static int _wrap_new_SBData(lua_State* L) {
16936   int argc;
16937   int argv[2]={
16938     1,2
16939   };
16940 
16941   argc = lua_gettop(L);
16942   if (argc == 0) {
16943     return _wrap_new_SBData__SWIG_0(L);
16944   }
16945   if (argc == 1) {
16946     int _v = 0;
16947     {
16948       void *ptr;
16949       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBData, SWIG_POINTER_NO_NULL)) {
16950         _v = 0;
16951       } else {
16952         _v = 1;
16953       }
16954     }
16955     if (_v) {
16956       return _wrap_new_SBData__SWIG_1(L);
16957     }
16958   }
16959 
16960   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBData'\n"
16961     "  Possible C/C++ prototypes are:\n"
16962     "    lldb::SBData::SBData()\n"
16963     "    lldb::SBData::SBData(lldb::SBData const &)\n");
16964   lua_error(L);return 0;
16965 }
16966 
16967 
_wrap_SBData_GetAddressByteSize(lua_State * L)16968 static int _wrap_SBData_GetAddressByteSize(lua_State* L) {
16969   {
16970     int SWIG_arg = 0;
16971     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
16972     uint8_t result;
16973 
16974     SWIG_check_num_args("lldb::SBData::GetAddressByteSize",1,1)
16975     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddressByteSize",1,"lldb::SBData *");
16976 
16977     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
16978       SWIG_fail_ptr("SBData_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBData);
16979     }
16980 
16981     result = (uint8_t)(arg1)->GetAddressByteSize();
16982     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
16983     return SWIG_arg;
16984 
16985     fail: SWIGUNUSED;
16986   }
16987   lua_error(L);
16988   return 0;
16989 }
16990 
16991 
_wrap_SBData_SetAddressByteSize(lua_State * L)16992 static int _wrap_SBData_SetAddressByteSize(lua_State* L) {
16993   {
16994     int SWIG_arg = 0;
16995     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
16996     uint8_t arg2 ;
16997 
16998     SWIG_check_num_args("lldb::SBData::SetAddressByteSize",2,2)
16999     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",1,"lldb::SBData *");
17000     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetAddressByteSize",2,"uint8_t");
17001 
17002     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17003       SWIG_fail_ptr("SBData_SetAddressByteSize",1,SWIGTYPE_p_lldb__SBData);
17004     }
17005 
17006     arg2 = (uint8_t)lua_tointeger(L, 2);
17007     (arg1)->SetAddressByteSize(arg2);
17008 
17009     return SWIG_arg;
17010 
17011     fail: SWIGUNUSED;
17012   }
17013   lua_error(L);
17014   return 0;
17015 }
17016 
17017 
_wrap_SBData_Clear(lua_State * L)17018 static int _wrap_SBData_Clear(lua_State* L) {
17019   {
17020     int SWIG_arg = 0;
17021     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17022 
17023     SWIG_check_num_args("lldb::SBData::Clear",1,1)
17024     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Clear",1,"lldb::SBData *");
17025 
17026     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17027       SWIG_fail_ptr("SBData_Clear",1,SWIGTYPE_p_lldb__SBData);
17028     }
17029 
17030     (arg1)->Clear();
17031 
17032     return SWIG_arg;
17033 
17034     fail: SWIGUNUSED;
17035   }
17036   lua_error(L);
17037   return 0;
17038 }
17039 
17040 
_wrap_SBData_IsValid(lua_State * L)17041 static int _wrap_SBData_IsValid(lua_State* L) {
17042   {
17043     int SWIG_arg = 0;
17044     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17045     bool result;
17046 
17047     SWIG_check_num_args("lldb::SBData::IsValid",1,1)
17048     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::IsValid",1,"lldb::SBData *");
17049 
17050     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17051       SWIG_fail_ptr("SBData_IsValid",1,SWIGTYPE_p_lldb__SBData);
17052     }
17053 
17054     result = (bool)(arg1)->IsValid();
17055     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
17056     return SWIG_arg;
17057 
17058     fail: SWIGUNUSED;
17059   }
17060   lua_error(L);
17061   return 0;
17062 }
17063 
17064 
_wrap_SBData_GetByteSize(lua_State * L)17065 static int _wrap_SBData_GetByteSize(lua_State* L) {
17066   {
17067     int SWIG_arg = 0;
17068     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17069     size_t result;
17070 
17071     SWIG_check_num_args("lldb::SBData::GetByteSize",1,1)
17072     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteSize",1,"lldb::SBData *");
17073 
17074     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17075       SWIG_fail_ptr("SBData_GetByteSize",1,SWIGTYPE_p_lldb__SBData);
17076     }
17077 
17078     result = (arg1)->GetByteSize();
17079     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17080     return SWIG_arg;
17081 
17082     fail: SWIGUNUSED;
17083   }
17084   lua_error(L);
17085   return 0;
17086 }
17087 
17088 
_wrap_SBData_GetByteOrder(lua_State * L)17089 static int _wrap_SBData_GetByteOrder(lua_State* L) {
17090   {
17091     int SWIG_arg = 0;
17092     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17093     lldb::ByteOrder result;
17094 
17095     SWIG_check_num_args("lldb::SBData::GetByteOrder",1,1)
17096     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetByteOrder",1,"lldb::SBData *");
17097 
17098     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17099       SWIG_fail_ptr("SBData_GetByteOrder",1,SWIGTYPE_p_lldb__SBData);
17100     }
17101 
17102     result = (lldb::ByteOrder)(arg1)->GetByteOrder();
17103     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17104     return SWIG_arg;
17105 
17106     fail: SWIGUNUSED;
17107   }
17108   lua_error(L);
17109   return 0;
17110 }
17111 
17112 
_wrap_SBData_SetByteOrder(lua_State * L)17113 static int _wrap_SBData_SetByteOrder(lua_State* L) {
17114   {
17115     int SWIG_arg = 0;
17116     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17117     lldb::ByteOrder arg2 ;
17118 
17119     SWIG_check_num_args("lldb::SBData::SetByteOrder",2,2)
17120     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetByteOrder",1,"lldb::SBData *");
17121     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::SetByteOrder",2,"lldb::ByteOrder");
17122 
17123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17124       SWIG_fail_ptr("SBData_SetByteOrder",1,SWIGTYPE_p_lldb__SBData);
17125     }
17126 
17127     arg2 = (lldb::ByteOrder)lua_tointeger(L, 2);
17128     (arg1)->SetByteOrder(arg2);
17129 
17130     return SWIG_arg;
17131 
17132     fail: SWIGUNUSED;
17133   }
17134   lua_error(L);
17135   return 0;
17136 }
17137 
17138 
_wrap_SBData_GetFloat(lua_State * L)17139 static int _wrap_SBData_GetFloat(lua_State* L) {
17140   {
17141     int SWIG_arg = 0;
17142     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17143     lldb::SBError *arg2 = 0 ;
17144     lldb::offset_t arg3 ;
17145     float result;
17146 
17147     SWIG_check_num_args("lldb::SBData::GetFloat",3,3)
17148     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetFloat",1,"lldb::SBData *");
17149     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetFloat",2,"lldb::SBError &");
17150     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetFloat",3,"lldb::offset_t");
17151 
17152     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17153       SWIG_fail_ptr("SBData_GetFloat",1,SWIGTYPE_p_lldb__SBData);
17154     }
17155 
17156 
17157     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17158       SWIG_fail_ptr("SBData_GetFloat",2,SWIGTYPE_p_lldb__SBError);
17159     }
17160 
17161     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17162     result = (float)(arg1)->GetFloat(*arg2,arg3);
17163     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17164     return SWIG_arg;
17165 
17166     fail: SWIGUNUSED;
17167   }
17168   lua_error(L);
17169   return 0;
17170 }
17171 
17172 
_wrap_SBData_GetDouble(lua_State * L)17173 static int _wrap_SBData_GetDouble(lua_State* L) {
17174   {
17175     int SWIG_arg = 0;
17176     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17177     lldb::SBError *arg2 = 0 ;
17178     lldb::offset_t arg3 ;
17179     double result;
17180 
17181     SWIG_check_num_args("lldb::SBData::GetDouble",3,3)
17182     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDouble",1,"lldb::SBData *");
17183     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDouble",2,"lldb::SBError &");
17184     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDouble",3,"lldb::offset_t");
17185 
17186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17187       SWIG_fail_ptr("SBData_GetDouble",1,SWIGTYPE_p_lldb__SBData);
17188     }
17189 
17190 
17191     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17192       SWIG_fail_ptr("SBData_GetDouble",2,SWIGTYPE_p_lldb__SBError);
17193     }
17194 
17195     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17196     result = (double)(arg1)->GetDouble(*arg2,arg3);
17197     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17198     return SWIG_arg;
17199 
17200     fail: SWIGUNUSED;
17201   }
17202   lua_error(L);
17203   return 0;
17204 }
17205 
17206 
_wrap_SBData_GetLongDouble(lua_State * L)17207 static int _wrap_SBData_GetLongDouble(lua_State* L) {
17208   {
17209     int SWIG_arg = 0;
17210     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17211     lldb::SBError *arg2 = 0 ;
17212     lldb::offset_t arg3 ;
17213     long double result;
17214 
17215     SWIG_check_num_args("lldb::SBData::GetLongDouble",3,3)
17216     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetLongDouble",1,"lldb::SBData *");
17217     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetLongDouble",2,"lldb::SBError &");
17218     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetLongDouble",3,"lldb::offset_t");
17219 
17220     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17221       SWIG_fail_ptr("SBData_GetLongDouble",1,SWIGTYPE_p_lldb__SBData);
17222     }
17223 
17224 
17225     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17226       SWIG_fail_ptr("SBData_GetLongDouble",2,SWIGTYPE_p_lldb__SBError);
17227     }
17228 
17229     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17230     result = (long double)(arg1)->GetLongDouble(*arg2,arg3);
17231     {
17232       long double * resultptr = new long double(result);
17233       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_long_double,1); SWIG_arg++;
17234     }
17235     return SWIG_arg;
17236 
17237     fail: SWIGUNUSED;
17238   }
17239   lua_error(L);
17240   return 0;
17241 }
17242 
17243 
_wrap_SBData_GetAddress(lua_State * L)17244 static int _wrap_SBData_GetAddress(lua_State* L) {
17245   {
17246     int SWIG_arg = 0;
17247     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17248     lldb::SBError *arg2 = 0 ;
17249     lldb::offset_t arg3 ;
17250     lldb::addr_t result;
17251 
17252     SWIG_check_num_args("lldb::SBData::GetAddress",3,3)
17253     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetAddress",1,"lldb::SBData *");
17254     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetAddress",2,"lldb::SBError &");
17255     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetAddress",3,"lldb::offset_t");
17256 
17257     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17258       SWIG_fail_ptr("SBData_GetAddress",1,SWIGTYPE_p_lldb__SBData);
17259     }
17260 
17261 
17262     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17263       SWIG_fail_ptr("SBData_GetAddress",2,SWIGTYPE_p_lldb__SBError);
17264     }
17265 
17266     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17267     result = (lldb::addr_t)(arg1)->GetAddress(*arg2,arg3);
17268     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17269     return SWIG_arg;
17270 
17271     fail: SWIGUNUSED;
17272   }
17273   lua_error(L);
17274   return 0;
17275 }
17276 
17277 
_wrap_SBData_GetUnsignedInt8(lua_State * L)17278 static int _wrap_SBData_GetUnsignedInt8(lua_State* L) {
17279   {
17280     int SWIG_arg = 0;
17281     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17282     lldb::SBError *arg2 = 0 ;
17283     lldb::offset_t arg3 ;
17284     uint8_t result;
17285 
17286     SWIG_check_num_args("lldb::SBData::GetUnsignedInt8",3,3)
17287     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",1,"lldb::SBData *");
17288     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",2,"lldb::SBError &");
17289     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt8",3,"lldb::offset_t");
17290 
17291     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17292       SWIG_fail_ptr("SBData_GetUnsignedInt8",1,SWIGTYPE_p_lldb__SBData);
17293     }
17294 
17295 
17296     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17297       SWIG_fail_ptr("SBData_GetUnsignedInt8",2,SWIGTYPE_p_lldb__SBError);
17298     }
17299 
17300     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17301     result = (uint8_t)(arg1)->GetUnsignedInt8(*arg2,arg3);
17302     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17303     return SWIG_arg;
17304 
17305     fail: SWIGUNUSED;
17306   }
17307   lua_error(L);
17308   return 0;
17309 }
17310 
17311 
_wrap_SBData_GetUnsignedInt16(lua_State * L)17312 static int _wrap_SBData_GetUnsignedInt16(lua_State* L) {
17313   {
17314     int SWIG_arg = 0;
17315     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17316     lldb::SBError *arg2 = 0 ;
17317     lldb::offset_t arg3 ;
17318     uint16_t result;
17319 
17320     SWIG_check_num_args("lldb::SBData::GetUnsignedInt16",3,3)
17321     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",1,"lldb::SBData *");
17322     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",2,"lldb::SBError &");
17323     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt16",3,"lldb::offset_t");
17324 
17325     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17326       SWIG_fail_ptr("SBData_GetUnsignedInt16",1,SWIGTYPE_p_lldb__SBData);
17327     }
17328 
17329 
17330     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17331       SWIG_fail_ptr("SBData_GetUnsignedInt16",2,SWIGTYPE_p_lldb__SBError);
17332     }
17333 
17334     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17335     result = (uint16_t)(arg1)->GetUnsignedInt16(*arg2,arg3);
17336     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17337     return SWIG_arg;
17338 
17339     fail: SWIGUNUSED;
17340   }
17341   lua_error(L);
17342   return 0;
17343 }
17344 
17345 
_wrap_SBData_GetUnsignedInt32(lua_State * L)17346 static int _wrap_SBData_GetUnsignedInt32(lua_State* L) {
17347   {
17348     int SWIG_arg = 0;
17349     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17350     lldb::SBError *arg2 = 0 ;
17351     lldb::offset_t arg3 ;
17352     uint32_t result;
17353 
17354     SWIG_check_num_args("lldb::SBData::GetUnsignedInt32",3,3)
17355     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",1,"lldb::SBData *");
17356     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",2,"lldb::SBError &");
17357     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt32",3,"lldb::offset_t");
17358 
17359     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17360       SWIG_fail_ptr("SBData_GetUnsignedInt32",1,SWIGTYPE_p_lldb__SBData);
17361     }
17362 
17363 
17364     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17365       SWIG_fail_ptr("SBData_GetUnsignedInt32",2,SWIGTYPE_p_lldb__SBError);
17366     }
17367 
17368     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17369     result = (uint32_t)(arg1)->GetUnsignedInt32(*arg2,arg3);
17370     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17371     return SWIG_arg;
17372 
17373     fail: SWIGUNUSED;
17374   }
17375   lua_error(L);
17376   return 0;
17377 }
17378 
17379 
_wrap_SBData_GetUnsignedInt64(lua_State * L)17380 static int _wrap_SBData_GetUnsignedInt64(lua_State* L) {
17381   {
17382     int SWIG_arg = 0;
17383     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17384     lldb::SBError *arg2 = 0 ;
17385     lldb::offset_t arg3 ;
17386     uint64_t result;
17387 
17388     SWIG_check_num_args("lldb::SBData::GetUnsignedInt64",3,3)
17389     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",1,"lldb::SBData *");
17390     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",2,"lldb::SBError &");
17391     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetUnsignedInt64",3,"lldb::offset_t");
17392 
17393     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17394       SWIG_fail_ptr("SBData_GetUnsignedInt64",1,SWIGTYPE_p_lldb__SBData);
17395     }
17396 
17397 
17398     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17399       SWIG_fail_ptr("SBData_GetUnsignedInt64",2,SWIGTYPE_p_lldb__SBError);
17400     }
17401 
17402     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17403     result = (uint64_t)(arg1)->GetUnsignedInt64(*arg2,arg3);
17404     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17405     return SWIG_arg;
17406 
17407     fail: SWIGUNUSED;
17408   }
17409   lua_error(L);
17410   return 0;
17411 }
17412 
17413 
_wrap_SBData_GetSignedInt8(lua_State * L)17414 static int _wrap_SBData_GetSignedInt8(lua_State* L) {
17415   {
17416     int SWIG_arg = 0;
17417     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17418     lldb::SBError *arg2 = 0 ;
17419     lldb::offset_t arg3 ;
17420     int8_t result;
17421 
17422     SWIG_check_num_args("lldb::SBData::GetSignedInt8",3,3)
17423     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",1,"lldb::SBData *");
17424     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",2,"lldb::SBError &");
17425     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt8",3,"lldb::offset_t");
17426 
17427     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17428       SWIG_fail_ptr("SBData_GetSignedInt8",1,SWIGTYPE_p_lldb__SBData);
17429     }
17430 
17431 
17432     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17433       SWIG_fail_ptr("SBData_GetSignedInt8",2,SWIGTYPE_p_lldb__SBError);
17434     }
17435 
17436     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17437     result = (int8_t)(arg1)->GetSignedInt8(*arg2,arg3);
17438     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17439     return SWIG_arg;
17440 
17441     fail: SWIGUNUSED;
17442   }
17443   lua_error(L);
17444   return 0;
17445 }
17446 
17447 
_wrap_SBData_GetSignedInt16(lua_State * L)17448 static int _wrap_SBData_GetSignedInt16(lua_State* L) {
17449   {
17450     int SWIG_arg = 0;
17451     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17452     lldb::SBError *arg2 = 0 ;
17453     lldb::offset_t arg3 ;
17454     int16_t result;
17455 
17456     SWIG_check_num_args("lldb::SBData::GetSignedInt16",3,3)
17457     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",1,"lldb::SBData *");
17458     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",2,"lldb::SBError &");
17459     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt16",3,"lldb::offset_t");
17460 
17461     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17462       SWIG_fail_ptr("SBData_GetSignedInt16",1,SWIGTYPE_p_lldb__SBData);
17463     }
17464 
17465 
17466     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17467       SWIG_fail_ptr("SBData_GetSignedInt16",2,SWIGTYPE_p_lldb__SBError);
17468     }
17469 
17470     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17471     result = (int16_t)(arg1)->GetSignedInt16(*arg2,arg3);
17472     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17473     return SWIG_arg;
17474 
17475     fail: SWIGUNUSED;
17476   }
17477   lua_error(L);
17478   return 0;
17479 }
17480 
17481 
_wrap_SBData_GetSignedInt32(lua_State * L)17482 static int _wrap_SBData_GetSignedInt32(lua_State* L) {
17483   {
17484     int SWIG_arg = 0;
17485     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17486     lldb::SBError *arg2 = 0 ;
17487     lldb::offset_t arg3 ;
17488     int32_t result;
17489 
17490     SWIG_check_num_args("lldb::SBData::GetSignedInt32",3,3)
17491     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",1,"lldb::SBData *");
17492     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",2,"lldb::SBError &");
17493     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt32",3,"lldb::offset_t");
17494 
17495     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17496       SWIG_fail_ptr("SBData_GetSignedInt32",1,SWIGTYPE_p_lldb__SBData);
17497     }
17498 
17499 
17500     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17501       SWIG_fail_ptr("SBData_GetSignedInt32",2,SWIGTYPE_p_lldb__SBError);
17502     }
17503 
17504     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17505     result = (int32_t)(arg1)->GetSignedInt32(*arg2,arg3);
17506     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17507     return SWIG_arg;
17508 
17509     fail: SWIGUNUSED;
17510   }
17511   lua_error(L);
17512   return 0;
17513 }
17514 
17515 
_wrap_SBData_GetSignedInt64(lua_State * L)17516 static int _wrap_SBData_GetSignedInt64(lua_State* L) {
17517   {
17518     int SWIG_arg = 0;
17519     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17520     lldb::SBError *arg2 = 0 ;
17521     lldb::offset_t arg3 ;
17522     int64_t result;
17523 
17524     SWIG_check_num_args("lldb::SBData::GetSignedInt64",3,3)
17525     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",1,"lldb::SBData *");
17526     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",2,"lldb::SBError &");
17527     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetSignedInt64",3,"lldb::offset_t");
17528 
17529     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17530       SWIG_fail_ptr("SBData_GetSignedInt64",1,SWIGTYPE_p_lldb__SBData);
17531     }
17532 
17533 
17534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17535       SWIG_fail_ptr("SBData_GetSignedInt64",2,SWIGTYPE_p_lldb__SBError);
17536     }
17537 
17538     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17539     result = (int64_t)(arg1)->GetSignedInt64(*arg2,arg3);
17540     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17541     return SWIG_arg;
17542 
17543     fail: SWIGUNUSED;
17544   }
17545   lua_error(L);
17546   return 0;
17547 }
17548 
17549 
_wrap_SBData_GetString(lua_State * L)17550 static int _wrap_SBData_GetString(lua_State* L) {
17551   {
17552     int SWIG_arg = 0;
17553     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17554     lldb::SBError *arg2 = 0 ;
17555     lldb::offset_t arg3 ;
17556     char *result = 0 ;
17557 
17558     SWIG_check_num_args("lldb::SBData::GetString",3,3)
17559     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetString",1,"lldb::SBData *");
17560     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetString",2,"lldb::SBError &");
17561     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetString",3,"lldb::offset_t");
17562 
17563     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17564       SWIG_fail_ptr("SBData_GetString",1,SWIGTYPE_p_lldb__SBData);
17565     }
17566 
17567 
17568     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17569       SWIG_fail_ptr("SBData_GetString",2,SWIGTYPE_p_lldb__SBError);
17570     }
17571 
17572     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17573     result = (char *)(arg1)->GetString(*arg2,arg3);
17574     lua_pushstring(L,(const char *)result); SWIG_arg++;
17575     return SWIG_arg;
17576 
17577     fail: SWIGUNUSED;
17578   }
17579   lua_error(L);
17580   return 0;
17581 }
17582 
17583 
_wrap_SBData_ReadRawData(lua_State * L)17584 static int _wrap_SBData_ReadRawData(lua_State* L) {
17585   {
17586     int SWIG_arg = 0;
17587     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17588     lldb::SBError *arg2 = 0 ;
17589     lldb::offset_t arg3 ;
17590     void *arg4 = (void *) 0 ;
17591     size_t arg5 ;
17592     size_t result;
17593 
17594     SWIG_check_num_args("lldb::SBData::ReadRawData",4,4)
17595     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::ReadRawData",1,"lldb::SBData *");
17596     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::ReadRawData",2,"lldb::SBError &");
17597     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::ReadRawData",3,"lldb::offset_t");
17598 
17599     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17600       SWIG_fail_ptr("SBData_ReadRawData",1,SWIGTYPE_p_lldb__SBData);
17601     }
17602 
17603 
17604     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17605       SWIG_fail_ptr("SBData_ReadRawData",2,SWIGTYPE_p_lldb__SBError);
17606     }
17607 
17608     arg3 = (lldb::offset_t)lua_tointeger(L, 3);
17609     {
17610       arg5 = luaL_checkinteger(L, 4);
17611       if (arg5 <= 0) {
17612         return luaL_error(L, "Positive integer expected");
17613       }
17614       arg4 = (char *)malloc(arg5);
17615     }
17616     result = (arg1)->ReadRawData(*arg2,arg3,arg4,arg5);
17617     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
17618     {
17619       lua_pop(L, 1); // Blow away the previous result
17620       if (result == 0) {
17621         lua_pushliteral(L, "");
17622       } else {
17623         lua_pushlstring(L, (const char *)arg4, result);
17624       }
17625       free(arg4);
17626       // SWIG_arg was already incremented
17627     }
17628     return SWIG_arg;
17629 
17630     fail: SWIGUNUSED;
17631   }
17632   lua_error(L);
17633   return 0;
17634 }
17635 
17636 
_wrap_SBData_GetDescription__SWIG_0(lua_State * L)17637 static int _wrap_SBData_GetDescription__SWIG_0(lua_State* L) {
17638   {
17639     int SWIG_arg = 0;
17640     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17641     lldb::SBStream *arg2 = 0 ;
17642     lldb::addr_t arg3 ;
17643     bool result;
17644 
17645     SWIG_check_num_args("lldb::SBData::GetDescription",3,3)
17646     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDescription",1,"lldb::SBData *");
17647     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDescription",2,"lldb::SBStream &");
17648     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBData::GetDescription",3,"lldb::addr_t");
17649 
17650     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17651       SWIG_fail_ptr("SBData_GetDescription",1,SWIGTYPE_p_lldb__SBData);
17652     }
17653 
17654 
17655     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
17656       SWIG_fail_ptr("SBData_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
17657     }
17658 
17659     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
17660     result = (bool)(arg1)->GetDescription(*arg2,arg3);
17661     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
17662     return SWIG_arg;
17663 
17664     fail: SWIGUNUSED;
17665   }
17666   lua_error(L);
17667   return 0;
17668 }
17669 
17670 
_wrap_SBData_GetDescription__SWIG_1(lua_State * L)17671 static int _wrap_SBData_GetDescription__SWIG_1(lua_State* L) {
17672   {
17673     int SWIG_arg = 0;
17674     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17675     lldb::SBStream *arg2 = 0 ;
17676     bool result;
17677 
17678     SWIG_check_num_args("lldb::SBData::GetDescription",2,2)
17679     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::GetDescription",1,"lldb::SBData *");
17680     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::GetDescription",2,"lldb::SBStream &");
17681 
17682     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17683       SWIG_fail_ptr("SBData_GetDescription",1,SWIGTYPE_p_lldb__SBData);
17684     }
17685 
17686 
17687     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
17688       SWIG_fail_ptr("SBData_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
17689     }
17690 
17691     result = (bool)(arg1)->GetDescription(*arg2);
17692     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
17693     return SWIG_arg;
17694 
17695     fail: SWIGUNUSED;
17696   }
17697   lua_error(L);
17698   return 0;
17699 }
17700 
17701 
_wrap_SBData_GetDescription(lua_State * L)17702 static int _wrap_SBData_GetDescription(lua_State* L) {
17703   int argc;
17704   int argv[4]={
17705     1,2,3,4
17706   };
17707 
17708   argc = lua_gettop(L);
17709   if (argc == 2) {
17710     int _v = 0;
17711     {
17712       void *ptr;
17713       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBData, 0)) {
17714         _v = 0;
17715       } else {
17716         _v = 1;
17717       }
17718     }
17719     if (_v) {
17720       {
17721         void *ptr;
17722         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
17723           _v = 0;
17724         } else {
17725           _v = 1;
17726         }
17727       }
17728       if (_v) {
17729         return _wrap_SBData_GetDescription__SWIG_1(L);
17730       }
17731     }
17732   }
17733   if (argc == 3) {
17734     int _v = 0;
17735     {
17736       void *ptr;
17737       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBData, 0)) {
17738         _v = 0;
17739       } else {
17740         _v = 1;
17741       }
17742     }
17743     if (_v) {
17744       {
17745         void *ptr;
17746         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
17747           _v = 0;
17748         } else {
17749           _v = 1;
17750         }
17751       }
17752       if (_v) {
17753         {
17754           _v = lua_isnumber(L,argv[2]);
17755         }
17756         if (_v) {
17757           return _wrap_SBData_GetDescription__SWIG_0(L);
17758         }
17759       }
17760     }
17761   }
17762 
17763   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBData_GetDescription'\n"
17764     "  Possible C/C++ prototypes are:\n"
17765     "    lldb::SBData::GetDescription(lldb::SBStream &,lldb::addr_t)\n"
17766     "    lldb::SBData::GetDescription(lldb::SBStream &)\n");
17767   lua_error(L);return 0;
17768 }
17769 
17770 
_wrap_SBData_SetData(lua_State * L)17771 static int _wrap_SBData_SetData(lua_State* L) {
17772   {
17773     int SWIG_arg = 0;
17774     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17775     lldb::SBError *arg2 = 0 ;
17776     void *arg3 = (void *) 0 ;
17777     size_t arg4 ;
17778     lldb::ByteOrder arg5 ;
17779     uint8_t arg6 ;
17780 
17781     SWIG_check_num_args("lldb::SBData::SetData",5,5)
17782     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetData",1,"lldb::SBData *");
17783     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetData",2,"lldb::SBError &");
17784     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetData",4,"lldb::ByteOrder");
17785     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetData",5,"uint8_t");
17786 
17787     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17788       SWIG_fail_ptr("SBData_SetData",1,SWIGTYPE_p_lldb__SBData);
17789     }
17790 
17791 
17792     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17793       SWIG_fail_ptr("SBData_SetData",2,SWIGTYPE_p_lldb__SBError);
17794     }
17795 
17796     {
17797       arg3 = (void *)luaL_checklstring(L, 3, &arg4);
17798     }
17799     arg5 = (lldb::ByteOrder)lua_tointeger(L, 4);
17800     arg6 = (uint8_t)lua_tointeger(L, 5);
17801     (arg1)->SetData(*arg2,(void const *)arg3,arg4,arg5,arg6);
17802 
17803     return SWIG_arg;
17804 
17805     fail: SWIGUNUSED;
17806   }
17807   lua_error(L);
17808   return 0;
17809 }
17810 
17811 
_wrap_SBData_SetDataWithOwnership(lua_State * L)17812 static int _wrap_SBData_SetDataWithOwnership(lua_State* L) {
17813   {
17814     int SWIG_arg = 0;
17815     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17816     lldb::SBError *arg2 = 0 ;
17817     void *arg3 = (void *) 0 ;
17818     size_t arg4 ;
17819     lldb::ByteOrder arg5 ;
17820     uint8_t arg6 ;
17821 
17822     SWIG_check_num_args("lldb::SBData::SetDataWithOwnership",5,5)
17823     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",1,"lldb::SBData *");
17824     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",2,"lldb::SBError &");
17825     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",4,"lldb::ByteOrder");
17826     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBData::SetDataWithOwnership",5,"uint8_t");
17827 
17828     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17829       SWIG_fail_ptr("SBData_SetDataWithOwnership",1,SWIGTYPE_p_lldb__SBData);
17830     }
17831 
17832 
17833     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
17834       SWIG_fail_ptr("SBData_SetDataWithOwnership",2,SWIGTYPE_p_lldb__SBError);
17835     }
17836 
17837     {
17838       arg3 = (void *)luaL_checklstring(L, 3, &arg4);
17839     }
17840     arg5 = (lldb::ByteOrder)lua_tointeger(L, 4);
17841     arg6 = (uint8_t)lua_tointeger(L, 5);
17842     (arg1)->SetDataWithOwnership(*arg2,(void const *)arg3,arg4,arg5,arg6);
17843 
17844     return SWIG_arg;
17845 
17846     fail: SWIGUNUSED;
17847   }
17848   lua_error(L);
17849   return 0;
17850 }
17851 
17852 
_wrap_SBData_Append(lua_State * L)17853 static int _wrap_SBData_Append(lua_State* L) {
17854   {
17855     int SWIG_arg = 0;
17856     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
17857     lldb::SBData *arg2 = 0 ;
17858     bool result;
17859 
17860     SWIG_check_num_args("lldb::SBData::Append",2,2)
17861     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::Append",1,"lldb::SBData *");
17862     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBData::Append",2,"lldb::SBData const &");
17863 
17864     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
17865       SWIG_fail_ptr("SBData_Append",1,SWIGTYPE_p_lldb__SBData);
17866     }
17867 
17868 
17869     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){
17870       SWIG_fail_ptr("SBData_Append",2,SWIGTYPE_p_lldb__SBData);
17871     }
17872 
17873     result = (bool)(arg1)->Append((lldb::SBData const &)*arg2);
17874     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
17875     return SWIG_arg;
17876 
17877     fail: SWIGUNUSED;
17878   }
17879   lua_error(L);
17880   return 0;
17881 }
17882 
17883 
_wrap_SBData_CreateDataFromCString(lua_State * L)17884 static int _wrap_SBData_CreateDataFromCString(lua_State* L) {
17885   {
17886     int SWIG_arg = 0;
17887     lldb::ByteOrder arg1 ;
17888     uint32_t arg2 ;
17889     char *arg3 = (char *) 0 ;
17890     lldb::SBData result;
17891 
17892     SWIG_check_num_args("lldb::SBData::CreateDataFromCString",3,3)
17893     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",1,"lldb::ByteOrder");
17894     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",2,"uint32_t");
17895     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBData::CreateDataFromCString",3,"char const *");
17896     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
17897     arg2 = (uint32_t)lua_tointeger(L, 2);
17898     arg3 = (char *)lua_tostring(L, 3);
17899     result = lldb::SBData::CreateDataFromCString(arg1,arg2,(char const *)arg3);
17900     {
17901       lldb::SBData * resultptr = new lldb::SBData(result);
17902       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
17903     }
17904     return SWIG_arg;
17905 
17906     fail: SWIGUNUSED;
17907   }
17908   lua_error(L);
17909   return 0;
17910 }
17911 
17912 
_wrap_SBData_CreateDataFromUInt64Array(lua_State * L)17913 static int _wrap_SBData_CreateDataFromUInt64Array(lua_State* L) {
17914   {
17915     int SWIG_arg = 0;
17916     lldb::ByteOrder arg1 ;
17917     uint32_t arg2 ;
17918     uint64_t *arg3 = (uint64_t *) 0 ;
17919     size_t arg4 ;
17920     lldb::SBData result;
17921 
17922     SWIG_check_num_args("lldb::SBData::CreateDataFromUInt64Array",3,3)
17923     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",1,"lldb::ByteOrder");
17924     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt64Array",2,"uint32_t");
17925     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
17926     arg2 = (uint32_t)lua_tointeger(L, 2);
17927     {
17928       if (lua_istable(L, 3)) {
17929         // It should accept a table of numbers.
17930         arg4 = lua_rawlen(L, 3);
17931         arg3 = (uint64_t *)malloc((arg4) * sizeof(uint64_t));
17932         int i = 0, j = 0;
17933         while (i++ < arg4) {
17934           lua_rawgeti(L, 3, i);
17935           if (!lua_isnumber(L, -1)) {
17936             // if current element cannot be converted to number, raise an error
17937             lua_pop(L, 1);
17938             return luaL_error(L, "List should only contain numbers");
17939           }
17940           arg3[j++] = (uint64_t) lua_tonumber(L, -1);
17941           lua_pop(L, 1);
17942         }
17943       } else if (lua_isnil(L, 3)) {
17944         // "nil" is also acceptable, equivalent as an empty table
17945         arg3 = NULL;
17946         arg4 = 0;
17947       } else {
17948         // else raise an error
17949         return luaL_error(L, "A list of numbers expected.");
17950       }
17951     }
17952     result = lldb::SBData::CreateDataFromUInt64Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4));
17953     {
17954       lldb::SBData * resultptr = new lldb::SBData(result);
17955       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
17956     }
17957     {
17958       free(arg3);
17959     }
17960     return SWIG_arg;
17961 
17962     fail: SWIGUNUSED;
17963     {
17964       free(arg3);
17965     }
17966   }
17967   lua_error(L);
17968   return 0;
17969 }
17970 
17971 
_wrap_SBData_CreateDataFromUInt32Array(lua_State * L)17972 static int _wrap_SBData_CreateDataFromUInt32Array(lua_State* L) {
17973   {
17974     int SWIG_arg = 0;
17975     lldb::ByteOrder arg1 ;
17976     uint32_t arg2 ;
17977     uint32_t *arg3 = (uint32_t *) 0 ;
17978     size_t arg4 ;
17979     lldb::SBData result;
17980 
17981     SWIG_check_num_args("lldb::SBData::CreateDataFromUInt32Array",3,3)
17982     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",1,"lldb::ByteOrder");
17983     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromUInt32Array",2,"uint32_t");
17984     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
17985     arg2 = (uint32_t)lua_tointeger(L, 2);
17986     {
17987       if (lua_istable(L, 3)) {
17988         // It should accept a table of numbers.
17989         arg4 = lua_rawlen(L, 3);
17990         arg3 = (uint32_t *)malloc((arg4) * sizeof(uint32_t));
17991         int i = 0, j = 0;
17992         while (i++ < arg4) {
17993           lua_rawgeti(L, 3, i);
17994           if (!lua_isnumber(L, -1)) {
17995             // if current element cannot be converted to number, raise an error
17996             lua_pop(L, 1);
17997             return luaL_error(L, "List should only contain numbers");
17998           }
17999           arg3[j++] = (uint32_t) lua_tonumber(L, -1);
18000           lua_pop(L, 1);
18001         }
18002       } else if (lua_isnil(L, 3)) {
18003         // "nil" is also acceptable, equivalent as an empty table
18004         arg3 = NULL;
18005         arg4 = 0;
18006       } else {
18007         // else raise an error
18008         return luaL_error(L, "A list of numbers expected.");
18009       }
18010     }
18011     result = lldb::SBData::CreateDataFromUInt32Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4));
18012     {
18013       lldb::SBData * resultptr = new lldb::SBData(result);
18014       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
18015     }
18016     {
18017       free(arg3);
18018     }
18019     return SWIG_arg;
18020 
18021     fail: SWIGUNUSED;
18022     {
18023       free(arg3);
18024     }
18025   }
18026   lua_error(L);
18027   return 0;
18028 }
18029 
18030 
_wrap_SBData_CreateDataFromSInt64Array(lua_State * L)18031 static int _wrap_SBData_CreateDataFromSInt64Array(lua_State* L) {
18032   {
18033     int SWIG_arg = 0;
18034     lldb::ByteOrder arg1 ;
18035     uint32_t arg2 ;
18036     int64_t *arg3 = (int64_t *) 0 ;
18037     size_t arg4 ;
18038     lldb::SBData result;
18039 
18040     SWIG_check_num_args("lldb::SBData::CreateDataFromSInt64Array",3,3)
18041     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",1,"lldb::ByteOrder");
18042     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt64Array",2,"uint32_t");
18043     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
18044     arg2 = (uint32_t)lua_tointeger(L, 2);
18045     {
18046       if (lua_istable(L, 3)) {
18047         // It should accept a table of numbers.
18048         arg4 = lua_rawlen(L, 3);
18049         arg3 = (int64_t *)malloc((arg4) * sizeof(int64_t));
18050         int i = 0, j = 0;
18051         while (i++ < arg4) {
18052           lua_rawgeti(L, 3, i);
18053           if (!lua_isnumber(L, -1)) {
18054             // if current element cannot be converted to number, raise an error
18055             lua_pop(L, 1);
18056             return luaL_error(L, "List should only contain numbers");
18057           }
18058           arg3[j++] = (int64_t) lua_tonumber(L, -1);
18059           lua_pop(L, 1);
18060         }
18061       } else if (lua_isnil(L, 3)) {
18062         // "nil" is also acceptable, equivalent as an empty table
18063         arg3 = NULL;
18064         arg4 = 0;
18065       } else {
18066         // else raise an error
18067         return luaL_error(L, "A list of numbers expected.");
18068       }
18069     }
18070     result = lldb::SBData::CreateDataFromSInt64Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4));
18071     {
18072       lldb::SBData * resultptr = new lldb::SBData(result);
18073       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
18074     }
18075     {
18076       free(arg3);
18077     }
18078     return SWIG_arg;
18079 
18080     fail: SWIGUNUSED;
18081     {
18082       free(arg3);
18083     }
18084   }
18085   lua_error(L);
18086   return 0;
18087 }
18088 
18089 
_wrap_SBData_CreateDataFromSInt32Array(lua_State * L)18090 static int _wrap_SBData_CreateDataFromSInt32Array(lua_State* L) {
18091   {
18092     int SWIG_arg = 0;
18093     lldb::ByteOrder arg1 ;
18094     uint32_t arg2 ;
18095     int32_t *arg3 = (int32_t *) 0 ;
18096     size_t arg4 ;
18097     lldb::SBData result;
18098 
18099     SWIG_check_num_args("lldb::SBData::CreateDataFromSInt32Array",3,3)
18100     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",1,"lldb::ByteOrder");
18101     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromSInt32Array",2,"uint32_t");
18102     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
18103     arg2 = (uint32_t)lua_tointeger(L, 2);
18104     {
18105       if (lua_istable(L, 3)) {
18106         // It should accept a table of numbers.
18107         arg4 = lua_rawlen(L, 3);
18108         arg3 = (int32_t *)malloc((arg4) * sizeof(int32_t));
18109         int i = 0, j = 0;
18110         while (i++ < arg4) {
18111           lua_rawgeti(L, 3, i);
18112           if (!lua_isnumber(L, -1)) {
18113             // if current element cannot be converted to number, raise an error
18114             lua_pop(L, 1);
18115             return luaL_error(L, "List should only contain numbers");
18116           }
18117           arg3[j++] = (int32_t) lua_tonumber(L, -1);
18118           lua_pop(L, 1);
18119         }
18120       } else if (lua_isnil(L, 3)) {
18121         // "nil" is also acceptable, equivalent as an empty table
18122         arg3 = NULL;
18123         arg4 = 0;
18124       } else {
18125         // else raise an error
18126         return luaL_error(L, "A list of numbers expected.");
18127       }
18128     }
18129     result = lldb::SBData::CreateDataFromSInt32Array(arg1,arg2,arg3,SWIG_STD_MOVE(arg4));
18130     {
18131       lldb::SBData * resultptr = new lldb::SBData(result);
18132       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
18133     }
18134     {
18135       free(arg3);
18136     }
18137     return SWIG_arg;
18138 
18139     fail: SWIGUNUSED;
18140     {
18141       free(arg3);
18142     }
18143   }
18144   lua_error(L);
18145   return 0;
18146 }
18147 
18148 
_wrap_SBData_CreateDataFromDoubleArray(lua_State * L)18149 static int _wrap_SBData_CreateDataFromDoubleArray(lua_State* L) {
18150   {
18151     int SWIG_arg = 0;
18152     lldb::ByteOrder arg1 ;
18153     uint32_t arg2 ;
18154     double *arg3 = (double *) 0 ;
18155     size_t arg4 ;
18156     lldb::SBData result;
18157 
18158     SWIG_check_num_args("lldb::SBData::CreateDataFromDoubleArray",3,3)
18159     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",1,"lldb::ByteOrder");
18160     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBData::CreateDataFromDoubleArray",2,"uint32_t");
18161     arg1 = (lldb::ByteOrder)lua_tointeger(L, 1);
18162     arg2 = (uint32_t)lua_tointeger(L, 2);
18163     {
18164       if (lua_istable(L, 3)) {
18165         // It should accept a table of numbers.
18166         arg4 = lua_rawlen(L, 3);
18167         arg3 = (double *)malloc((arg4) * sizeof(double));
18168         int i = 0, j = 0;
18169         while (i++ < arg4) {
18170           lua_rawgeti(L, 3, i);
18171           if (!lua_isnumber(L, -1)) {
18172             // if current element cannot be converted to number, raise an error
18173             lua_pop(L, 1);
18174             return luaL_error(L, "List should only contain numbers");
18175           }
18176           arg3[j++] = (double) lua_tonumber(L, -1);
18177           lua_pop(L, 1);
18178         }
18179       } else if (lua_isnil(L, 3)) {
18180         // "nil" is also acceptable, equivalent as an empty table
18181         arg3 = NULL;
18182         arg4 = 0;
18183       } else {
18184         // else raise an error
18185         return luaL_error(L, "A list of numbers expected.");
18186       }
18187     }
18188     result = lldb::SBData::CreateDataFromDoubleArray(arg1,arg2,arg3,SWIG_STD_MOVE(arg4));
18189     {
18190       lldb::SBData * resultptr = new lldb::SBData(result);
18191       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
18192     }
18193     {
18194       free(arg3);
18195     }
18196     return SWIG_arg;
18197 
18198     fail: SWIGUNUSED;
18199     {
18200       free(arg3);
18201     }
18202   }
18203   lua_error(L);
18204   return 0;
18205 }
18206 
18207 
_wrap_SBData_SetDataFromCString(lua_State * L)18208 static int _wrap_SBData_SetDataFromCString(lua_State* L) {
18209   {
18210     int SWIG_arg = 0;
18211     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18212     char *arg2 = (char *) 0 ;
18213     bool result;
18214 
18215     SWIG_check_num_args("lldb::SBData::SetDataFromCString",2,2)
18216     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",1,"lldb::SBData *");
18217     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBData::SetDataFromCString",2,"char const *");
18218 
18219     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18220       SWIG_fail_ptr("SBData_SetDataFromCString",1,SWIGTYPE_p_lldb__SBData);
18221     }
18222 
18223     arg2 = (char *)lua_tostring(L, 2);
18224     result = (bool)(arg1)->SetDataFromCString((char const *)arg2);
18225     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18226     return SWIG_arg;
18227 
18228     fail: SWIGUNUSED;
18229   }
18230   lua_error(L);
18231   return 0;
18232 }
18233 
18234 
_wrap_SBData_SetDataFromUInt64Array(lua_State * L)18235 static int _wrap_SBData_SetDataFromUInt64Array(lua_State* L) {
18236   {
18237     int SWIG_arg = 0;
18238     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18239     uint64_t *arg2 = (uint64_t *) 0 ;
18240     size_t arg3 ;
18241     bool result;
18242 
18243     SWIG_check_num_args("lldb::SBData::SetDataFromUInt64Array",2,2)
18244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt64Array",1,"lldb::SBData *");
18245 
18246     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18247       SWIG_fail_ptr("SBData_SetDataFromUInt64Array",1,SWIGTYPE_p_lldb__SBData);
18248     }
18249 
18250     {
18251       if (lua_istable(L, 2)) {
18252         // It should accept a table of numbers.
18253         arg3 = lua_rawlen(L, 2);
18254         arg2 = (uint64_t *)malloc((arg3) * sizeof(uint64_t));
18255         int i = 0, j = 0;
18256         while (i++ < arg3) {
18257           lua_rawgeti(L, 2, i);
18258           if (!lua_isnumber(L, -1)) {
18259             // if current element cannot be converted to number, raise an error
18260             lua_pop(L, 1);
18261             return luaL_error(L, "List should only contain numbers");
18262           }
18263           arg2[j++] = (uint64_t) lua_tonumber(L, -1);
18264           lua_pop(L, 1);
18265         }
18266       } else if (lua_isnil(L, 2)) {
18267         // "nil" is also acceptable, equivalent as an empty table
18268         arg2 = NULL;
18269         arg3 = 0;
18270       } else {
18271         // else raise an error
18272         return luaL_error(L, "A list of numbers expected.");
18273       }
18274     }
18275     result = (bool)(arg1)->SetDataFromUInt64Array(arg2,arg3);
18276     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18277     {
18278       free(arg2);
18279     }
18280     return SWIG_arg;
18281 
18282     fail: SWIGUNUSED;
18283     {
18284       free(arg2);
18285     }
18286   }
18287   lua_error(L);
18288   return 0;
18289 }
18290 
18291 
_wrap_SBData_SetDataFromUInt32Array(lua_State * L)18292 static int _wrap_SBData_SetDataFromUInt32Array(lua_State* L) {
18293   {
18294     int SWIG_arg = 0;
18295     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18296     uint32_t *arg2 = (uint32_t *) 0 ;
18297     size_t arg3 ;
18298     bool result;
18299 
18300     SWIG_check_num_args("lldb::SBData::SetDataFromUInt32Array",2,2)
18301     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromUInt32Array",1,"lldb::SBData *");
18302 
18303     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18304       SWIG_fail_ptr("SBData_SetDataFromUInt32Array",1,SWIGTYPE_p_lldb__SBData);
18305     }
18306 
18307     {
18308       if (lua_istable(L, 2)) {
18309         // It should accept a table of numbers.
18310         arg3 = lua_rawlen(L, 2);
18311         arg2 = (uint32_t *)malloc((arg3) * sizeof(uint32_t));
18312         int i = 0, j = 0;
18313         while (i++ < arg3) {
18314           lua_rawgeti(L, 2, i);
18315           if (!lua_isnumber(L, -1)) {
18316             // if current element cannot be converted to number, raise an error
18317             lua_pop(L, 1);
18318             return luaL_error(L, "List should only contain numbers");
18319           }
18320           arg2[j++] = (uint32_t) lua_tonumber(L, -1);
18321           lua_pop(L, 1);
18322         }
18323       } else if (lua_isnil(L, 2)) {
18324         // "nil" is also acceptable, equivalent as an empty table
18325         arg2 = NULL;
18326         arg3 = 0;
18327       } else {
18328         // else raise an error
18329         return luaL_error(L, "A list of numbers expected.");
18330       }
18331     }
18332     result = (bool)(arg1)->SetDataFromUInt32Array(arg2,arg3);
18333     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18334     {
18335       free(arg2);
18336     }
18337     return SWIG_arg;
18338 
18339     fail: SWIGUNUSED;
18340     {
18341       free(arg2);
18342     }
18343   }
18344   lua_error(L);
18345   return 0;
18346 }
18347 
18348 
_wrap_SBData_SetDataFromSInt64Array(lua_State * L)18349 static int _wrap_SBData_SetDataFromSInt64Array(lua_State* L) {
18350   {
18351     int SWIG_arg = 0;
18352     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18353     int64_t *arg2 = (int64_t *) 0 ;
18354     size_t arg3 ;
18355     bool result;
18356 
18357     SWIG_check_num_args("lldb::SBData::SetDataFromSInt64Array",2,2)
18358     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt64Array",1,"lldb::SBData *");
18359 
18360     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18361       SWIG_fail_ptr("SBData_SetDataFromSInt64Array",1,SWIGTYPE_p_lldb__SBData);
18362     }
18363 
18364     {
18365       if (lua_istable(L, 2)) {
18366         // It should accept a table of numbers.
18367         arg3 = lua_rawlen(L, 2);
18368         arg2 = (int64_t *)malloc((arg3) * sizeof(int64_t));
18369         int i = 0, j = 0;
18370         while (i++ < arg3) {
18371           lua_rawgeti(L, 2, i);
18372           if (!lua_isnumber(L, -1)) {
18373             // if current element cannot be converted to number, raise an error
18374             lua_pop(L, 1);
18375             return luaL_error(L, "List should only contain numbers");
18376           }
18377           arg2[j++] = (int64_t) lua_tonumber(L, -1);
18378           lua_pop(L, 1);
18379         }
18380       } else if (lua_isnil(L, 2)) {
18381         // "nil" is also acceptable, equivalent as an empty table
18382         arg2 = NULL;
18383         arg3 = 0;
18384       } else {
18385         // else raise an error
18386         return luaL_error(L, "A list of numbers expected.");
18387       }
18388     }
18389     result = (bool)(arg1)->SetDataFromSInt64Array(arg2,arg3);
18390     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18391     {
18392       free(arg2);
18393     }
18394     return SWIG_arg;
18395 
18396     fail: SWIGUNUSED;
18397     {
18398       free(arg2);
18399     }
18400   }
18401   lua_error(L);
18402   return 0;
18403 }
18404 
18405 
_wrap_SBData_SetDataFromSInt32Array(lua_State * L)18406 static int _wrap_SBData_SetDataFromSInt32Array(lua_State* L) {
18407   {
18408     int SWIG_arg = 0;
18409     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18410     int32_t *arg2 = (int32_t *) 0 ;
18411     size_t arg3 ;
18412     bool result;
18413 
18414     SWIG_check_num_args("lldb::SBData::SetDataFromSInt32Array",2,2)
18415     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromSInt32Array",1,"lldb::SBData *");
18416 
18417     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18418       SWIG_fail_ptr("SBData_SetDataFromSInt32Array",1,SWIGTYPE_p_lldb__SBData);
18419     }
18420 
18421     {
18422       if (lua_istable(L, 2)) {
18423         // It should accept a table of numbers.
18424         arg3 = lua_rawlen(L, 2);
18425         arg2 = (int32_t *)malloc((arg3) * sizeof(int32_t));
18426         int i = 0, j = 0;
18427         while (i++ < arg3) {
18428           lua_rawgeti(L, 2, i);
18429           if (!lua_isnumber(L, -1)) {
18430             // if current element cannot be converted to number, raise an error
18431             lua_pop(L, 1);
18432             return luaL_error(L, "List should only contain numbers");
18433           }
18434           arg2[j++] = (int32_t) lua_tonumber(L, -1);
18435           lua_pop(L, 1);
18436         }
18437       } else if (lua_isnil(L, 2)) {
18438         // "nil" is also acceptable, equivalent as an empty table
18439         arg2 = NULL;
18440         arg3 = 0;
18441       } else {
18442         // else raise an error
18443         return luaL_error(L, "A list of numbers expected.");
18444       }
18445     }
18446     result = (bool)(arg1)->SetDataFromSInt32Array(arg2,arg3);
18447     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18448     {
18449       free(arg2);
18450     }
18451     return SWIG_arg;
18452 
18453     fail: SWIGUNUSED;
18454     {
18455       free(arg2);
18456     }
18457   }
18458   lua_error(L);
18459   return 0;
18460 }
18461 
18462 
_wrap_SBData_SetDataFromDoubleArray(lua_State * L)18463 static int _wrap_SBData_SetDataFromDoubleArray(lua_State* L) {
18464   {
18465     int SWIG_arg = 0;
18466     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18467     double *arg2 = (double *) 0 ;
18468     size_t arg3 ;
18469     bool result;
18470 
18471     SWIG_check_num_args("lldb::SBData::SetDataFromDoubleArray",2,2)
18472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::SetDataFromDoubleArray",1,"lldb::SBData *");
18473 
18474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18475       SWIG_fail_ptr("SBData_SetDataFromDoubleArray",1,SWIGTYPE_p_lldb__SBData);
18476     }
18477 
18478     {
18479       if (lua_istable(L, 2)) {
18480         // It should accept a table of numbers.
18481         arg3 = lua_rawlen(L, 2);
18482         arg2 = (double *)malloc((arg3) * sizeof(double));
18483         int i = 0, j = 0;
18484         while (i++ < arg3) {
18485           lua_rawgeti(L, 2, i);
18486           if (!lua_isnumber(L, -1)) {
18487             // if current element cannot be converted to number, raise an error
18488             lua_pop(L, 1);
18489             return luaL_error(L, "List should only contain numbers");
18490           }
18491           arg2[j++] = (double) lua_tonumber(L, -1);
18492           lua_pop(L, 1);
18493         }
18494       } else if (lua_isnil(L, 2)) {
18495         // "nil" is also acceptable, equivalent as an empty table
18496         arg2 = NULL;
18497         arg3 = 0;
18498       } else {
18499         // else raise an error
18500         return luaL_error(L, "A list of numbers expected.");
18501       }
18502     }
18503     result = (bool)(arg1)->SetDataFromDoubleArray(arg2,arg3);
18504     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18505     {
18506       free(arg2);
18507     }
18508     return SWIG_arg;
18509 
18510     fail: SWIGUNUSED;
18511     {
18512       free(arg2);
18513     }
18514   }
18515   lua_error(L);
18516   return 0;
18517 }
18518 
18519 
_wrap_SBData___tostring(lua_State * L)18520 static int _wrap_SBData___tostring(lua_State* L) {
18521   {
18522     int SWIG_arg = 0;
18523     lldb::SBData *arg1 = (lldb::SBData *) 0 ;
18524     std::string result;
18525 
18526     SWIG_check_num_args("lldb::SBData::__repr__",1,1)
18527     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBData::__repr__",1,"lldb::SBData *");
18528 
18529     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBData,0))){
18530       SWIG_fail_ptr("SBData___tostring",1,SWIGTYPE_p_lldb__SBData);
18531     }
18532 
18533     result = lldb_SBData___repr__(arg1);
18534     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
18535     return SWIG_arg;
18536 
18537     fail: SWIGUNUSED;
18538   }
18539   lua_error(L);
18540   return 0;
18541 }
18542 
18543 
swig_delete_SBData(void * obj)18544 static void swig_delete_SBData(void *obj) {
18545 lldb::SBData *arg1 = (lldb::SBData *) obj;
18546 delete arg1;
18547 }
_proxy__wrap_new_SBData(lua_State * L)18548 static int _proxy__wrap_new_SBData(lua_State *L) {
18549     assert(lua_istable(L,1));
18550     lua_pushcfunction(L,_wrap_new_SBData);
18551     assert(!lua_isnil(L,-1));
18552     lua_replace(L,1); /* replace our table with real constructor */
18553     lua_call(L,lua_gettop(L)-1,1);
18554     return 1;
18555 }
18556 static swig_lua_attribute swig_SBData_attributes[] = {
18557     {0,0,0}
18558 };
18559 static swig_lua_method swig_SBData_methods[]= {
18560     { "GetAddressByteSize", _wrap_SBData_GetAddressByteSize},
18561     { "SetAddressByteSize", _wrap_SBData_SetAddressByteSize},
18562     { "Clear", _wrap_SBData_Clear},
18563     { "IsValid", _wrap_SBData_IsValid},
18564     { "GetByteSize", _wrap_SBData_GetByteSize},
18565     { "GetByteOrder", _wrap_SBData_GetByteOrder},
18566     { "SetByteOrder", _wrap_SBData_SetByteOrder},
18567     { "GetFloat", _wrap_SBData_GetFloat},
18568     { "GetDouble", _wrap_SBData_GetDouble},
18569     { "GetLongDouble", _wrap_SBData_GetLongDouble},
18570     { "GetAddress", _wrap_SBData_GetAddress},
18571     { "GetUnsignedInt8", _wrap_SBData_GetUnsignedInt8},
18572     { "GetUnsignedInt16", _wrap_SBData_GetUnsignedInt16},
18573     { "GetUnsignedInt32", _wrap_SBData_GetUnsignedInt32},
18574     { "GetUnsignedInt64", _wrap_SBData_GetUnsignedInt64},
18575     { "GetSignedInt8", _wrap_SBData_GetSignedInt8},
18576     { "GetSignedInt16", _wrap_SBData_GetSignedInt16},
18577     { "GetSignedInt32", _wrap_SBData_GetSignedInt32},
18578     { "GetSignedInt64", _wrap_SBData_GetSignedInt64},
18579     { "GetString", _wrap_SBData_GetString},
18580     { "ReadRawData", _wrap_SBData_ReadRawData},
18581     { "GetDescription", _wrap_SBData_GetDescription},
18582     { "SetData", _wrap_SBData_SetData},
18583     { "SetDataWithOwnership", _wrap_SBData_SetDataWithOwnership},
18584     { "Append", _wrap_SBData_Append},
18585     { "SetDataFromCString", _wrap_SBData_SetDataFromCString},
18586     { "SetDataFromUInt64Array", _wrap_SBData_SetDataFromUInt64Array},
18587     { "SetDataFromUInt32Array", _wrap_SBData_SetDataFromUInt32Array},
18588     { "SetDataFromSInt64Array", _wrap_SBData_SetDataFromSInt64Array},
18589     { "SetDataFromSInt32Array", _wrap_SBData_SetDataFromSInt32Array},
18590     { "SetDataFromDoubleArray", _wrap_SBData_SetDataFromDoubleArray},
18591     { "__tostring", _wrap_SBData___tostring},
18592     {0,0}
18593 };
18594 static swig_lua_method swig_SBData_meta[] = {
18595     { "__tostring", _wrap_SBData___tostring},
18596     {0,0}
18597 };
18598 
18599 static swig_lua_attribute swig_SBData_Sf_SwigStatic_attributes[] = {
18600     {0,0,0}
18601 };
18602 static swig_lua_const_info swig_SBData_Sf_SwigStatic_constants[]= {
18603     {0,0,0,0,0,0}
18604 };
18605 static swig_lua_method swig_SBData_Sf_SwigStatic_methods[]= {
18606     { "CreateDataFromCString", _wrap_SBData_CreateDataFromCString},
18607     { "CreateDataFromUInt64Array", _wrap_SBData_CreateDataFromUInt64Array},
18608     { "CreateDataFromUInt32Array", _wrap_SBData_CreateDataFromUInt32Array},
18609     { "CreateDataFromSInt64Array", _wrap_SBData_CreateDataFromSInt64Array},
18610     { "CreateDataFromSInt32Array", _wrap_SBData_CreateDataFromSInt32Array},
18611     { "CreateDataFromDoubleArray", _wrap_SBData_CreateDataFromDoubleArray},
18612     {0,0}
18613 };
18614 static swig_lua_class* swig_SBData_Sf_SwigStatic_classes[]= {
18615     0
18616 };
18617 
18618 static swig_lua_namespace swig_SBData_Sf_SwigStatic = {
18619     "SBData",
18620     swig_SBData_Sf_SwigStatic_methods,
18621     swig_SBData_Sf_SwigStatic_attributes,
18622     swig_SBData_Sf_SwigStatic_constants,
18623     swig_SBData_Sf_SwigStatic_classes,
18624     0
18625 };
18626 static swig_lua_class *swig_SBData_bases[] = {0};
18627 static const char *swig_SBData_base_names[] = {0};
18628 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 };
18629 
_wrap_new_SBDebugger__SWIG_0(lua_State * L)18630 static int _wrap_new_SBDebugger__SWIG_0(lua_State* L) {
18631   {
18632     int SWIG_arg = 0;
18633     lldb::SBDebugger *result = 0 ;
18634 
18635     SWIG_check_num_args("lldb::SBDebugger::SBDebugger",0,0)
18636     result = (lldb::SBDebugger *)new lldb::SBDebugger();
18637     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
18638     return SWIG_arg;
18639 
18640     fail: SWIGUNUSED;
18641   }
18642   lua_error(L);
18643   return 0;
18644 }
18645 
18646 
_wrap_new_SBDebugger__SWIG_1(lua_State * L)18647 static int _wrap_new_SBDebugger__SWIG_1(lua_State* L) {
18648   {
18649     int SWIG_arg = 0;
18650     lldb::SBDebugger *arg1 = 0 ;
18651     lldb::SBDebugger *result = 0 ;
18652 
18653     SWIG_check_num_args("lldb::SBDebugger::SBDebugger",1,1)
18654     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::SBDebugger",1,"lldb::SBDebugger const &");
18655 
18656     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
18657       SWIG_fail_ptr("new_SBDebugger",1,SWIGTYPE_p_lldb__SBDebugger);
18658     }
18659 
18660     result = (lldb::SBDebugger *)new lldb::SBDebugger((lldb::SBDebugger const &)*arg1);
18661     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
18662     return SWIG_arg;
18663 
18664     fail: SWIGUNUSED;
18665   }
18666   lua_error(L);
18667   return 0;
18668 }
18669 
18670 
_wrap_new_SBDebugger(lua_State * L)18671 static int _wrap_new_SBDebugger(lua_State* L) {
18672   int argc;
18673   int argv[2]={
18674     1,2
18675   };
18676 
18677   argc = lua_gettop(L);
18678   if (argc == 0) {
18679     return _wrap_new_SBDebugger__SWIG_0(L);
18680   }
18681   if (argc == 1) {
18682     int _v = 0;
18683     {
18684       void *ptr;
18685       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL)) {
18686         _v = 0;
18687       } else {
18688         _v = 1;
18689       }
18690     }
18691     if (_v) {
18692       return _wrap_new_SBDebugger__SWIG_1(L);
18693     }
18694   }
18695 
18696   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBDebugger'\n"
18697     "  Possible C/C++ prototypes are:\n"
18698     "    lldb::SBDebugger::SBDebugger()\n"
18699     "    lldb::SBDebugger::SBDebugger(lldb::SBDebugger const &)\n");
18700   lua_error(L);return 0;
18701 }
18702 
18703 
_wrap_SBDebugger_GetBroadcasterClass(lua_State * L)18704 static int _wrap_SBDebugger_GetBroadcasterClass(lua_State* L) {
18705   {
18706     int SWIG_arg = 0;
18707     char *result = 0 ;
18708 
18709     SWIG_check_num_args("lldb::SBDebugger::GetBroadcasterClass",0,0)
18710     result = (char *)lldb::SBDebugger::GetBroadcasterClass();
18711     lua_pushstring(L,(const char *)result); SWIG_arg++;
18712     return SWIG_arg;
18713 
18714     fail: SWIGUNUSED;
18715   }
18716   lua_error(L);
18717   return 0;
18718 }
18719 
18720 
_wrap_SBDebugger_GetBroadcaster(lua_State * L)18721 static int _wrap_SBDebugger_GetBroadcaster(lua_State* L) {
18722   {
18723     int SWIG_arg = 0;
18724     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
18725     lldb::SBBroadcaster result;
18726 
18727     SWIG_check_num_args("lldb::SBDebugger::GetBroadcaster",1,1)
18728     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetBroadcaster",1,"lldb::SBDebugger *");
18729 
18730     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
18731       SWIG_fail_ptr("SBDebugger_GetBroadcaster",1,SWIGTYPE_p_lldb__SBDebugger);
18732     }
18733 
18734     result = (arg1)->GetBroadcaster();
18735     {
18736       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
18737       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
18738     }
18739     return SWIG_arg;
18740 
18741     fail: SWIGUNUSED;
18742   }
18743   lua_error(L);
18744   return 0;
18745 }
18746 
18747 
_wrap_SBDebugger_GetProgressFromEvent(lua_State * L)18748 static int _wrap_SBDebugger_GetProgressFromEvent(lua_State* L) {
18749   {
18750     int SWIG_arg = 0;
18751     lldb::SBEvent *arg1 = 0 ;
18752     uint64_t *arg2 = 0 ;
18753     uint64_t *arg3 = 0 ;
18754     uint64_t *arg4 = 0 ;
18755     bool *arg5 = 0 ;
18756     uint64_t temp2 ;
18757     uint64_t temp3 ;
18758     uint64_t temp4 ;
18759     bool temp5 ;
18760     char *result = 0 ;
18761 
18762     arg2 = &temp2;
18763     arg3 = &temp3;
18764     arg4 = &temp4;
18765     arg5 = &temp5;
18766     SWIG_check_num_args("lldb::SBDebugger::GetProgressFromEvent",1,1)
18767     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetProgressFromEvent",1,"lldb::SBEvent const &");
18768 
18769     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
18770       SWIG_fail_ptr("SBDebugger_GetProgressFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
18771     }
18772 
18773     result = (char *)lldb::SBDebugger::GetProgressFromEvent((lldb::SBEvent const &)*arg1,*arg2,*arg3,*arg4,*arg5);
18774     lua_pushstring(L,(const char *)result); SWIG_arg++;
18775     lua_pushinteger(L, (lua_Integer) *arg2); SWIG_arg++;
18776     lua_pushinteger(L, (lua_Integer) *arg3); SWIG_arg++;
18777     lua_pushinteger(L, (lua_Integer) *arg4); SWIG_arg++;
18778     lua_pushboolean(L, (int)((*arg5)!=0)); SWIG_arg++;
18779     return SWIG_arg;
18780 
18781     fail: SWIGUNUSED;
18782   }
18783   lua_error(L);
18784   return 0;
18785 }
18786 
18787 
_wrap_SBDebugger_GetProgressDataFromEvent(lua_State * L)18788 static int _wrap_SBDebugger_GetProgressDataFromEvent(lua_State* L) {
18789   {
18790     int SWIG_arg = 0;
18791     lldb::SBEvent *arg1 = 0 ;
18792     lldb::SBStructuredData result;
18793 
18794     SWIG_check_num_args("lldb::SBDebugger::GetProgressDataFromEvent",1,1)
18795     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetProgressDataFromEvent",1,"lldb::SBEvent const &");
18796 
18797     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
18798       SWIG_fail_ptr("SBDebugger_GetProgressDataFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
18799     }
18800 
18801     result = lldb::SBDebugger::GetProgressDataFromEvent((lldb::SBEvent const &)*arg1);
18802     {
18803       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
18804       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
18805     }
18806     return SWIG_arg;
18807 
18808     fail: SWIGUNUSED;
18809   }
18810   lua_error(L);
18811   return 0;
18812 }
18813 
18814 
_wrap_SBDebugger_GetDiagnosticFromEvent(lua_State * L)18815 static int _wrap_SBDebugger_GetDiagnosticFromEvent(lua_State* L) {
18816   {
18817     int SWIG_arg = 0;
18818     lldb::SBEvent *arg1 = 0 ;
18819     lldb::SBStructuredData result;
18820 
18821     SWIG_check_num_args("lldb::SBDebugger::GetDiagnosticFromEvent",1,1)
18822     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDiagnosticFromEvent",1,"lldb::SBEvent const &");
18823 
18824     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
18825       SWIG_fail_ptr("SBDebugger_GetDiagnosticFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
18826     }
18827 
18828     result = lldb::SBDebugger::GetDiagnosticFromEvent((lldb::SBEvent const &)*arg1);
18829     {
18830       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
18831       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
18832     }
18833     return SWIG_arg;
18834 
18835     fail: SWIGUNUSED;
18836   }
18837   lua_error(L);
18838   return 0;
18839 }
18840 
18841 
_wrap_SBDebugger_Initialize(lua_State * L)18842 static int _wrap_SBDebugger_Initialize(lua_State* L) {
18843   {
18844     int SWIG_arg = 0;
18845 
18846     SWIG_check_num_args("lldb::SBDebugger::Initialize",0,0)
18847     lldb::SBDebugger::Initialize();
18848 
18849     return SWIG_arg;
18850 
18851     fail: SWIGUNUSED;
18852   }
18853   lua_error(L);
18854   return 0;
18855 }
18856 
18857 
_wrap_SBDebugger_InitializeWithErrorHandling(lua_State * L)18858 static int _wrap_SBDebugger_InitializeWithErrorHandling(lua_State* L) {
18859   {
18860     int SWIG_arg = 0;
18861     lldb::SBError result;
18862 
18863     SWIG_check_num_args("lldb::SBDebugger::InitializeWithErrorHandling",0,0)
18864     result = lldb::SBDebugger::InitializeWithErrorHandling();
18865     {
18866       lldb::SBError * resultptr = new lldb::SBError(result);
18867       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
18868     }
18869     return SWIG_arg;
18870 
18871     fail: SWIGUNUSED;
18872   }
18873   lua_error(L);
18874   return 0;
18875 }
18876 
18877 
_wrap_SBDebugger_PrintStackTraceOnError(lua_State * L)18878 static int _wrap_SBDebugger_PrintStackTraceOnError(lua_State* L) {
18879   {
18880     int SWIG_arg = 0;
18881 
18882     SWIG_check_num_args("lldb::SBDebugger::PrintStackTraceOnError",0,0)
18883     lldb::SBDebugger::PrintStackTraceOnError();
18884 
18885     return SWIG_arg;
18886 
18887     fail: SWIGUNUSED;
18888   }
18889   lua_error(L);
18890   return 0;
18891 }
18892 
18893 
_wrap_SBDebugger_PrintDiagnosticsOnError(lua_State * L)18894 static int _wrap_SBDebugger_PrintDiagnosticsOnError(lua_State* L) {
18895   {
18896     int SWIG_arg = 0;
18897 
18898     SWIG_check_num_args("lldb::SBDebugger::PrintDiagnosticsOnError",0,0)
18899     lldb::SBDebugger::PrintDiagnosticsOnError();
18900 
18901     return SWIG_arg;
18902 
18903     fail: SWIGUNUSED;
18904   }
18905   lua_error(L);
18906   return 0;
18907 }
18908 
18909 
_wrap_SBDebugger_Terminate(lua_State * L)18910 static int _wrap_SBDebugger_Terminate(lua_State* L) {
18911   {
18912     int SWIG_arg = 0;
18913 
18914     SWIG_check_num_args("lldb::SBDebugger::Terminate",0,0)
18915     lldb::SBDebugger::Terminate();
18916 
18917     return SWIG_arg;
18918 
18919     fail: SWIGUNUSED;
18920   }
18921   lua_error(L);
18922   return 0;
18923 }
18924 
18925 
_wrap_SBDebugger_Create__SWIG_0(lua_State * L)18926 static int _wrap_SBDebugger_Create__SWIG_0(lua_State* L) {
18927   {
18928     int SWIG_arg = 0;
18929     lldb::SBDebugger result;
18930 
18931     SWIG_check_num_args("lldb::SBDebugger::Create",0,0)
18932     result = lldb::SBDebugger::Create();
18933     {
18934       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
18935       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
18936     }
18937     return SWIG_arg;
18938 
18939     fail: SWIGUNUSED;
18940   }
18941   lua_error(L);
18942   return 0;
18943 }
18944 
18945 
_wrap_SBDebugger_Create__SWIG_1(lua_State * L)18946 static int _wrap_SBDebugger_Create__SWIG_1(lua_State* L) {
18947   {
18948     int SWIG_arg = 0;
18949     bool arg1 ;
18950     lldb::SBDebugger result;
18951 
18952     SWIG_check_num_args("lldb::SBDebugger::Create",1,1)
18953     if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool");
18954     arg1 = (lua_toboolean(L, 1)!=0);
18955     result = lldb::SBDebugger::Create(arg1);
18956     {
18957       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
18958       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
18959     }
18960     return SWIG_arg;
18961 
18962     fail: SWIGUNUSED;
18963   }
18964   lua_error(L);
18965   return 0;
18966 }
18967 
18968 
_wrap_SBDebugger_Create__SWIG_2(lua_State * L)18969 static int _wrap_SBDebugger_Create__SWIG_2(lua_State* L) {
18970   {
18971     int SWIG_arg = 0;
18972     bool arg1 ;
18973     lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ;
18974     void *arg3 = (void *) 0 ;
18975     lldb::SBDebugger result;
18976 
18977     SWIG_check_num_args("lldb::SBDebugger::Create",2,2)
18978     if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBDebugger::Create",1,"bool");
18979     arg1 = (lua_toboolean(L, 1)!=0);
18980     {
18981       arg2 = LLDBSwigLuaCallLuaLogOutputCallback;
18982       arg3 = (void *)L;
18983 
18984       luaL_checktype(L, 2, LUA_TFUNCTION);
18985       lua_settop(L, 2);
18986 
18987       lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback);
18988       lua_insert(L, 2);
18989       lua_settable(L, LUA_REGISTRYINDEX);
18990     }
18991     result = lldb::SBDebugger::Create(arg1,arg2,arg3);
18992     {
18993       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
18994       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
18995     }
18996     return SWIG_arg;
18997 
18998     fail: SWIGUNUSED;
18999   }
19000   lua_error(L);
19001   return 0;
19002 }
19003 
19004 
_wrap_SBDebugger_Create(lua_State * L)19005 static int _wrap_SBDebugger_Create(lua_State* L) {
19006   int argc;
19007   int argv[3]={
19008     1,2,3
19009   };
19010 
19011   argc = lua_gettop(L);
19012   if (argc == 0) {
19013     return _wrap_SBDebugger_Create__SWIG_0(L);
19014   }
19015   if (argc == 1) {
19016     int _v = 0;
19017     {
19018       _v = lua_isboolean(L,argv[0]);
19019     }
19020     if (_v) {
19021       return _wrap_SBDebugger_Create__SWIG_1(L);
19022     }
19023   }
19024   if (argc == 2) {
19025     int _v = 0;
19026     {
19027       _v = lua_isboolean(L,argv[0]);
19028     }
19029     if (_v) {
19030       {
19031         void *ptr;
19032         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)) {
19033           _v = 0;
19034         } else {
19035           _v = 1;
19036         }
19037       }
19038       if (_v) {
19039         if (argc <= 2) {
19040           return _wrap_SBDebugger_Create__SWIG_2(L);
19041         }
19042         {
19043           void *ptr;
19044           if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, 0, 0)) {
19045             _v = 0;
19046           } else {
19047             _v = 1;
19048           }
19049         }
19050         if (_v) {
19051           return _wrap_SBDebugger_Create__SWIG_2(L);
19052         }
19053       }
19054     }
19055   }
19056 
19057   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_Create'\n"
19058     "  Possible C/C++ prototypes are:\n"
19059     "    lldb::SBDebugger::Create()\n"
19060     "    lldb::SBDebugger::Create(bool)\n"
19061     "    lldb::SBDebugger::Create(bool,lldb::LogOutputCallback,void *)\n");
19062   lua_error(L);return 0;
19063 }
19064 
19065 
_wrap_SBDebugger_Destroy(lua_State * L)19066 static int _wrap_SBDebugger_Destroy(lua_State* L) {
19067   {
19068     int SWIG_arg = 0;
19069     lldb::SBDebugger *arg1 = 0 ;
19070 
19071     SWIG_check_num_args("lldb::SBDebugger::Destroy",1,1)
19072     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDebugger::Destroy",1,"lldb::SBDebugger &");
19073 
19074     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19075       SWIG_fail_ptr("SBDebugger_Destroy",1,SWIGTYPE_p_lldb__SBDebugger);
19076     }
19077 
19078     lldb::SBDebugger::Destroy(*arg1);
19079 
19080     return SWIG_arg;
19081 
19082     fail: SWIGUNUSED;
19083   }
19084   lua_error(L);
19085   return 0;
19086 }
19087 
19088 
_wrap_SBDebugger_MemoryPressureDetected(lua_State * L)19089 static int _wrap_SBDebugger_MemoryPressureDetected(lua_State* L) {
19090   {
19091     int SWIG_arg = 0;
19092 
19093     SWIG_check_num_args("lldb::SBDebugger::MemoryPressureDetected",0,0)
19094     lldb::SBDebugger::MemoryPressureDetected();
19095 
19096     return SWIG_arg;
19097 
19098     fail: SWIGUNUSED;
19099   }
19100   lua_error(L);
19101   return 0;
19102 }
19103 
19104 
_wrap_SBDebugger_IsValid(lua_State * L)19105 static int _wrap_SBDebugger_IsValid(lua_State* L) {
19106   {
19107     int SWIG_arg = 0;
19108     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19109     bool result;
19110 
19111     SWIG_check_num_args("lldb::SBDebugger::IsValid",1,1)
19112     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::IsValid",1,"lldb::SBDebugger const *");
19113 
19114     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19115       SWIG_fail_ptr("SBDebugger_IsValid",1,SWIGTYPE_p_lldb__SBDebugger);
19116     }
19117 
19118     result = (bool)((lldb::SBDebugger const *)arg1)->IsValid();
19119     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
19120     return SWIG_arg;
19121 
19122     fail: SWIGUNUSED;
19123   }
19124   lua_error(L);
19125   return 0;
19126 }
19127 
19128 
_wrap_SBDebugger_Clear(lua_State * L)19129 static int _wrap_SBDebugger_Clear(lua_State* L) {
19130   {
19131     int SWIG_arg = 0;
19132     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19133 
19134     SWIG_check_num_args("lldb::SBDebugger::Clear",1,1)
19135     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::Clear",1,"lldb::SBDebugger *");
19136 
19137     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19138       SWIG_fail_ptr("SBDebugger_Clear",1,SWIGTYPE_p_lldb__SBDebugger);
19139     }
19140 
19141     (arg1)->Clear();
19142 
19143     return SWIG_arg;
19144 
19145     fail: SWIGUNUSED;
19146   }
19147   lua_error(L);
19148   return 0;
19149 }
19150 
19151 
_wrap_SBDebugger_GetSetting__SWIG_0(lua_State * L)19152 static int _wrap_SBDebugger_GetSetting__SWIG_0(lua_State* L) {
19153   {
19154     int SWIG_arg = 0;
19155     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19156     char *arg2 = (char *) 0 ;
19157     lldb::SBStructuredData result;
19158 
19159     SWIG_check_num_args("lldb::SBDebugger::GetSetting",2,2)
19160     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *");
19161     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",2,"char const *");
19162 
19163     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19164       SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger);
19165     }
19166 
19167     arg2 = (char *)lua_tostring(L, 2);
19168     result = (arg1)->GetSetting((char const *)arg2);
19169     {
19170       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
19171       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
19172     }
19173     return SWIG_arg;
19174 
19175     fail: SWIGUNUSED;
19176   }
19177   lua_error(L);
19178   return 0;
19179 }
19180 
19181 
_wrap_SBDebugger_GetSetting__SWIG_1(lua_State * L)19182 static int _wrap_SBDebugger_GetSetting__SWIG_1(lua_State* L) {
19183   {
19184     int SWIG_arg = 0;
19185     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19186     lldb::SBStructuredData result;
19187 
19188     SWIG_check_num_args("lldb::SBDebugger::GetSetting",1,1)
19189     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSetting",1,"lldb::SBDebugger *");
19190 
19191     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19192       SWIG_fail_ptr("SBDebugger_GetSetting",1,SWIGTYPE_p_lldb__SBDebugger);
19193     }
19194 
19195     result = (arg1)->GetSetting();
19196     {
19197       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
19198       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
19199     }
19200     return SWIG_arg;
19201 
19202     fail: SWIGUNUSED;
19203   }
19204   lua_error(L);
19205   return 0;
19206 }
19207 
19208 
_wrap_SBDebugger_GetSetting(lua_State * L)19209 static int _wrap_SBDebugger_GetSetting(lua_State* L) {
19210   int argc;
19211   int argv[3]={
19212     1,2,3
19213   };
19214 
19215   argc = lua_gettop(L);
19216   if (argc == 1) {
19217     int _v = 0;
19218     {
19219       void *ptr;
19220       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19221         _v = 0;
19222       } else {
19223         _v = 1;
19224       }
19225     }
19226     if (_v) {
19227       return _wrap_SBDebugger_GetSetting__SWIG_1(L);
19228     }
19229   }
19230   if (argc == 2) {
19231     int _v = 0;
19232     {
19233       void *ptr;
19234       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19235         _v = 0;
19236       } else {
19237         _v = 1;
19238       }
19239     }
19240     if (_v) {
19241       {
19242         _v = SWIG_lua_isnilstring(L,argv[1]);
19243       }
19244       if (_v) {
19245         return _wrap_SBDebugger_GetSetting__SWIG_0(L);
19246       }
19247     }
19248   }
19249 
19250   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_GetSetting'\n"
19251     "  Possible C/C++ prototypes are:\n"
19252     "    lldb::SBDebugger::GetSetting(char const *)\n"
19253     "    lldb::SBDebugger::GetSetting()\n");
19254   lua_error(L);return 0;
19255 }
19256 
19257 
_wrap_SBDebugger_SetAsync(lua_State * L)19258 static int _wrap_SBDebugger_SetAsync(lua_State* L) {
19259   {
19260     int SWIG_arg = 0;
19261     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19262     bool arg2 ;
19263 
19264     SWIG_check_num_args("lldb::SBDebugger::SetAsync",2,2)
19265     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",1,"lldb::SBDebugger *");
19266     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetAsync",2,"bool");
19267 
19268     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19269       SWIG_fail_ptr("SBDebugger_SetAsync",1,SWIGTYPE_p_lldb__SBDebugger);
19270     }
19271 
19272     arg2 = (lua_toboolean(L, 2)!=0);
19273     (arg1)->SetAsync(arg2);
19274 
19275     return SWIG_arg;
19276 
19277     fail: SWIGUNUSED;
19278   }
19279   lua_error(L);
19280   return 0;
19281 }
19282 
19283 
_wrap_SBDebugger_GetAsync(lua_State * L)19284 static int _wrap_SBDebugger_GetAsync(lua_State* L) {
19285   {
19286     int SWIG_arg = 0;
19287     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19288     bool result;
19289 
19290     SWIG_check_num_args("lldb::SBDebugger::GetAsync",1,1)
19291     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAsync",1,"lldb::SBDebugger *");
19292 
19293     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19294       SWIG_fail_ptr("SBDebugger_GetAsync",1,SWIGTYPE_p_lldb__SBDebugger);
19295     }
19296 
19297     result = (bool)(arg1)->GetAsync();
19298     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
19299     return SWIG_arg;
19300 
19301     fail: SWIGUNUSED;
19302   }
19303   lua_error(L);
19304   return 0;
19305 }
19306 
19307 
_wrap_SBDebugger_SkipLLDBInitFiles(lua_State * L)19308 static int _wrap_SBDebugger_SkipLLDBInitFiles(lua_State* L) {
19309   {
19310     int SWIG_arg = 0;
19311     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19312     bool arg2 ;
19313 
19314     SWIG_check_num_args("lldb::SBDebugger::SkipLLDBInitFiles",2,2)
19315     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",1,"lldb::SBDebugger *");
19316     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SkipLLDBInitFiles",2,"bool");
19317 
19318     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19319       SWIG_fail_ptr("SBDebugger_SkipLLDBInitFiles",1,SWIGTYPE_p_lldb__SBDebugger);
19320     }
19321 
19322     arg2 = (lua_toboolean(L, 2)!=0);
19323     (arg1)->SkipLLDBInitFiles(arg2);
19324 
19325     return SWIG_arg;
19326 
19327     fail: SWIGUNUSED;
19328   }
19329   lua_error(L);
19330   return 0;
19331 }
19332 
19333 
_wrap_SBDebugger_SkipAppInitFiles(lua_State * L)19334 static int _wrap_SBDebugger_SkipAppInitFiles(lua_State* L) {
19335   {
19336     int SWIG_arg = 0;
19337     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19338     bool arg2 ;
19339 
19340     SWIG_check_num_args("lldb::SBDebugger::SkipAppInitFiles",2,2)
19341     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SkipAppInitFiles",1,"lldb::SBDebugger *");
19342     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SkipAppInitFiles",2,"bool");
19343 
19344     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19345       SWIG_fail_ptr("SBDebugger_SkipAppInitFiles",1,SWIGTYPE_p_lldb__SBDebugger);
19346     }
19347 
19348     arg2 = (lua_toboolean(L, 2)!=0);
19349     (arg1)->SkipAppInitFiles(arg2);
19350 
19351     return SWIG_arg;
19352 
19353     fail: SWIGUNUSED;
19354   }
19355   lua_error(L);
19356   return 0;
19357 }
19358 
19359 
_wrap_SBDebugger_SetInputString(lua_State * L)19360 static int _wrap_SBDebugger_SetInputString(lua_State* L) {
19361   {
19362     int SWIG_arg = 0;
19363     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19364     char *arg2 = (char *) 0 ;
19365     lldb::SBError result;
19366 
19367     SWIG_check_num_args("lldb::SBDebugger::SetInputString",2,2)
19368     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",1,"lldb::SBDebugger *");
19369     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputString",2,"char const *");
19370 
19371     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19372       SWIG_fail_ptr("SBDebugger_SetInputString",1,SWIGTYPE_p_lldb__SBDebugger);
19373     }
19374 
19375     arg2 = (char *)lua_tostring(L, 2);
19376     result = (arg1)->SetInputString((char const *)arg2);
19377     {
19378       lldb::SBError * resultptr = new lldb::SBError(result);
19379       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19380     }
19381     return SWIG_arg;
19382 
19383     fail: SWIGUNUSED;
19384   }
19385   lua_error(L);
19386   return 0;
19387 }
19388 
19389 
_wrap_SBDebugger_SetInputFile__SWIG_0(lua_State * L)19390 static int _wrap_SBDebugger_SetInputFile__SWIG_0(lua_State* L) {
19391   {
19392     int SWIG_arg = 0;
19393     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19394     lldb::SBFile arg2 ;
19395     lldb::SBFile *argp2 ;
19396     lldb::SBError result;
19397 
19398     SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2)
19399     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *");
19400     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",2,"lldb::SBFile");
19401 
19402     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19403       SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19404     }
19405 
19406 
19407     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
19408       SWIG_fail_ptr("SBDebugger_SetInputFile",2,SWIGTYPE_p_lldb__SBFile);
19409     }
19410     arg2 = *argp2;
19411 
19412     result = (arg1)->SetInputFile(arg2);
19413     {
19414       lldb::SBError * resultptr = new lldb::SBError(result);
19415       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19416     }
19417     return SWIG_arg;
19418 
19419     fail: SWIGUNUSED;
19420   }
19421   lua_error(L);
19422   return 0;
19423 }
19424 
19425 
_wrap_SBDebugger_SetOutputFile__SWIG_0(lua_State * L)19426 static int _wrap_SBDebugger_SetOutputFile__SWIG_0(lua_State* L) {
19427   {
19428     int SWIG_arg = 0;
19429     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19430     lldb::SBFile arg2 ;
19431     lldb::SBFile *argp2 ;
19432     lldb::SBError result;
19433 
19434     SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2)
19435     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *");
19436     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",2,"lldb::SBFile");
19437 
19438     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19439       SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19440     }
19441 
19442 
19443     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
19444       SWIG_fail_ptr("SBDebugger_SetOutputFile",2,SWIGTYPE_p_lldb__SBFile);
19445     }
19446     arg2 = *argp2;
19447 
19448     result = (arg1)->SetOutputFile(arg2);
19449     {
19450       lldb::SBError * resultptr = new lldb::SBError(result);
19451       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19452     }
19453     return SWIG_arg;
19454 
19455     fail: SWIGUNUSED;
19456   }
19457   lua_error(L);
19458   return 0;
19459 }
19460 
19461 
_wrap_SBDebugger_SetErrorFile__SWIG_0(lua_State * L)19462 static int _wrap_SBDebugger_SetErrorFile__SWIG_0(lua_State* L) {
19463   {
19464     int SWIG_arg = 0;
19465     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19466     lldb::SBFile arg2 ;
19467     lldb::SBFile *argp2 ;
19468     lldb::SBError result;
19469 
19470     SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2)
19471     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *");
19472     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",2,"lldb::SBFile");
19473 
19474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19475       SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger);
19476     }
19477 
19478 
19479     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
19480       SWIG_fail_ptr("SBDebugger_SetErrorFile",2,SWIGTYPE_p_lldb__SBFile);
19481     }
19482     arg2 = *argp2;
19483 
19484     result = (arg1)->SetErrorFile(arg2);
19485     {
19486       lldb::SBError * resultptr = new lldb::SBError(result);
19487       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19488     }
19489     return SWIG_arg;
19490 
19491     fail: SWIGUNUSED;
19492   }
19493   lua_error(L);
19494   return 0;
19495 }
19496 
19497 
_wrap_SBDebugger_SetInputFile__SWIG_1(lua_State * L)19498 static int _wrap_SBDebugger_SetInputFile__SWIG_1(lua_State* L) {
19499   {
19500     int SWIG_arg = 0;
19501     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19502     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
19503     lldb::SBError result;
19504 
19505     SWIG_check_num_args("lldb::SBDebugger::SetInputFile",2,2)
19506     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInputFile",1,"lldb::SBDebugger *");
19507 
19508     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19509       SWIG_fail_ptr("SBDebugger_SetInputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19510     }
19511 
19512     {
19513       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
19514       lldb::FileSP file_sp;
19515       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
19516       if (!file_sp->IsValid())
19517       return luaL_error(L, "Invalid file");
19518       arg2 = file_sp;
19519     }
19520     result = (arg1)->SetInputFile(arg2);
19521     {
19522       lldb::SBError * resultptr = new lldb::SBError(result);
19523       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19524     }
19525     return SWIG_arg;
19526 
19527     fail: SWIGUNUSED;
19528   }
19529   lua_error(L);
19530   return 0;
19531 }
19532 
19533 
_wrap_SBDebugger_SetInputFile(lua_State * L)19534 static int _wrap_SBDebugger_SetInputFile(lua_State* L) {
19535   int argc;
19536   int argv[3]={
19537     1,2,3
19538   };
19539 
19540   argc = lua_gettop(L);
19541   if (argc == 2) {
19542     int _v = 0;
19543     {
19544       void *ptr;
19545       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19546         _v = 0;
19547       } else {
19548         _v = 1;
19549       }
19550     }
19551     if (_v) {
19552       {
19553         void *ptr;
19554         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
19555           _v = 0;
19556         } else {
19557           _v = 1;
19558         }
19559       }
19560       if (_v) {
19561         return _wrap_SBDebugger_SetInputFile__SWIG_0(L);
19562       }
19563     }
19564   }
19565   if (argc == 2) {
19566     int _v = 0;
19567     {
19568       void *ptr;
19569       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19570         _v = 0;
19571       } else {
19572         _v = 1;
19573       }
19574     }
19575     if (_v) {
19576       {
19577         _v = (lua_isuserdata(L, argv[1])) &&
19578         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
19579       }
19580       if (_v) {
19581         return _wrap_SBDebugger_SetInputFile__SWIG_1(L);
19582       }
19583     }
19584   }
19585 
19586   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetInputFile'\n"
19587     "  Possible C/C++ prototypes are:\n"
19588     "    lldb::SBDebugger::SetInputFile(lldb::SBFile)\n"
19589     "    lldb::SBDebugger::SetInputFile(lldb::FileSP)\n");
19590   lua_error(L);return 0;
19591 }
19592 
19593 
_wrap_SBDebugger_SetOutputFile__SWIG_1(lua_State * L)19594 static int _wrap_SBDebugger_SetOutputFile__SWIG_1(lua_State* L) {
19595   {
19596     int SWIG_arg = 0;
19597     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19598     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
19599     lldb::SBError result;
19600 
19601     SWIG_check_num_args("lldb::SBDebugger::SetOutputFile",2,2)
19602     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetOutputFile",1,"lldb::SBDebugger *");
19603 
19604     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19605       SWIG_fail_ptr("SBDebugger_SetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19606     }
19607 
19608     {
19609       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
19610       lldb::FileSP file_sp;
19611       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
19612       if (!file_sp->IsValid())
19613       return luaL_error(L, "Invalid file");
19614       arg2 = file_sp;
19615     }
19616     result = (arg1)->SetOutputFile(arg2);
19617     {
19618       lldb::SBError * resultptr = new lldb::SBError(result);
19619       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19620     }
19621     return SWIG_arg;
19622 
19623     fail: SWIGUNUSED;
19624   }
19625   lua_error(L);
19626   return 0;
19627 }
19628 
19629 
_wrap_SBDebugger_SetOutputFile(lua_State * L)19630 static int _wrap_SBDebugger_SetOutputFile(lua_State* L) {
19631   int argc;
19632   int argv[3]={
19633     1,2,3
19634   };
19635 
19636   argc = lua_gettop(L);
19637   if (argc == 2) {
19638     int _v = 0;
19639     {
19640       void *ptr;
19641       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19642         _v = 0;
19643       } else {
19644         _v = 1;
19645       }
19646     }
19647     if (_v) {
19648       {
19649         void *ptr;
19650         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
19651           _v = 0;
19652         } else {
19653           _v = 1;
19654         }
19655       }
19656       if (_v) {
19657         return _wrap_SBDebugger_SetOutputFile__SWIG_0(L);
19658       }
19659     }
19660   }
19661   if (argc == 2) {
19662     int _v = 0;
19663     {
19664       void *ptr;
19665       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19666         _v = 0;
19667       } else {
19668         _v = 1;
19669       }
19670     }
19671     if (_v) {
19672       {
19673         _v = (lua_isuserdata(L, argv[1])) &&
19674         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
19675       }
19676       if (_v) {
19677         return _wrap_SBDebugger_SetOutputFile__SWIG_1(L);
19678       }
19679     }
19680   }
19681 
19682   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetOutputFile'\n"
19683     "  Possible C/C++ prototypes are:\n"
19684     "    lldb::SBDebugger::SetOutputFile(lldb::SBFile)\n"
19685     "    lldb::SBDebugger::SetOutputFile(lldb::FileSP)\n");
19686   lua_error(L);return 0;
19687 }
19688 
19689 
_wrap_SBDebugger_SetErrorFile__SWIG_1(lua_State * L)19690 static int _wrap_SBDebugger_SetErrorFile__SWIG_1(lua_State* L) {
19691   {
19692     int SWIG_arg = 0;
19693     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19694     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
19695     lldb::SBError result;
19696 
19697     SWIG_check_num_args("lldb::SBDebugger::SetErrorFile",2,2)
19698     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetErrorFile",1,"lldb::SBDebugger *");
19699 
19700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19701       SWIG_fail_ptr("SBDebugger_SetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger);
19702     }
19703 
19704     {
19705       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
19706       lldb::FileSP file_sp;
19707       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
19708       if (!file_sp->IsValid())
19709       return luaL_error(L, "Invalid file");
19710       arg2 = file_sp;
19711     }
19712     result = (arg1)->SetErrorFile(arg2);
19713     {
19714       lldb::SBError * resultptr = new lldb::SBError(result);
19715       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
19716     }
19717     return SWIG_arg;
19718 
19719     fail: SWIGUNUSED;
19720   }
19721   lua_error(L);
19722   return 0;
19723 }
19724 
19725 
_wrap_SBDebugger_SetErrorFile(lua_State * L)19726 static int _wrap_SBDebugger_SetErrorFile(lua_State* L) {
19727   int argc;
19728   int argv[3]={
19729     1,2,3
19730   };
19731 
19732   argc = lua_gettop(L);
19733   if (argc == 2) {
19734     int _v = 0;
19735     {
19736       void *ptr;
19737       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19738         _v = 0;
19739       } else {
19740         _v = 1;
19741       }
19742     }
19743     if (_v) {
19744       {
19745         void *ptr;
19746         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
19747           _v = 0;
19748         } else {
19749           _v = 1;
19750         }
19751       }
19752       if (_v) {
19753         return _wrap_SBDebugger_SetErrorFile__SWIG_0(L);
19754       }
19755     }
19756   }
19757   if (argc == 2) {
19758     int _v = 0;
19759     {
19760       void *ptr;
19761       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
19762         _v = 0;
19763       } else {
19764         _v = 1;
19765       }
19766     }
19767     if (_v) {
19768       {
19769         _v = (lua_isuserdata(L, argv[1])) &&
19770         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
19771       }
19772       if (_v) {
19773         return _wrap_SBDebugger_SetErrorFile__SWIG_1(L);
19774       }
19775     }
19776   }
19777 
19778   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_SetErrorFile'\n"
19779     "  Possible C/C++ prototypes are:\n"
19780     "    lldb::SBDebugger::SetErrorFile(lldb::SBFile)\n"
19781     "    lldb::SBDebugger::SetErrorFile(lldb::FileSP)\n");
19782   lua_error(L);return 0;
19783 }
19784 
19785 
_wrap_SBDebugger_GetInputFile(lua_State * L)19786 static int _wrap_SBDebugger_GetInputFile(lua_State* L) {
19787   {
19788     int SWIG_arg = 0;
19789     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19790     lldb::SBFile result;
19791 
19792     SWIG_check_num_args("lldb::SBDebugger::GetInputFile",1,1)
19793     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFile",1,"lldb::SBDebugger *");
19794 
19795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19796       SWIG_fail_ptr("SBDebugger_GetInputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19797     }
19798 
19799     result = (arg1)->GetInputFile();
19800     {
19801       lldb::SBFile * resultptr = new lldb::SBFile(result);
19802       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
19803     }
19804     return SWIG_arg;
19805 
19806     fail: SWIGUNUSED;
19807   }
19808   lua_error(L);
19809   return 0;
19810 }
19811 
19812 
_wrap_SBDebugger_GetOutputFile(lua_State * L)19813 static int _wrap_SBDebugger_GetOutputFile(lua_State* L) {
19814   {
19815     int SWIG_arg = 0;
19816     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19817     lldb::SBFile result;
19818 
19819     SWIG_check_num_args("lldb::SBDebugger::GetOutputFile",1,1)
19820     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFile",1,"lldb::SBDebugger *");
19821 
19822     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19823       SWIG_fail_ptr("SBDebugger_GetOutputFile",1,SWIGTYPE_p_lldb__SBDebugger);
19824     }
19825 
19826     result = (arg1)->GetOutputFile();
19827     {
19828       lldb::SBFile * resultptr = new lldb::SBFile(result);
19829       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
19830     }
19831     return SWIG_arg;
19832 
19833     fail: SWIGUNUSED;
19834   }
19835   lua_error(L);
19836   return 0;
19837 }
19838 
19839 
_wrap_SBDebugger_GetErrorFile(lua_State * L)19840 static int _wrap_SBDebugger_GetErrorFile(lua_State* L) {
19841   {
19842     int SWIG_arg = 0;
19843     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19844     lldb::SBFile result;
19845 
19846     SWIG_check_num_args("lldb::SBDebugger::GetErrorFile",1,1)
19847     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFile",1,"lldb::SBDebugger *");
19848 
19849     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19850       SWIG_fail_ptr("SBDebugger_GetErrorFile",1,SWIGTYPE_p_lldb__SBDebugger);
19851     }
19852 
19853     result = (arg1)->GetErrorFile();
19854     {
19855       lldb::SBFile * resultptr = new lldb::SBFile(result);
19856       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
19857     }
19858     return SWIG_arg;
19859 
19860     fail: SWIGUNUSED;
19861   }
19862   lua_error(L);
19863   return 0;
19864 }
19865 
19866 
_wrap_SBDebugger_SaveInputTerminalState(lua_State * L)19867 static int _wrap_SBDebugger_SaveInputTerminalState(lua_State* L) {
19868   {
19869     int SWIG_arg = 0;
19870     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19871 
19872     SWIG_check_num_args("lldb::SBDebugger::SaveInputTerminalState",1,1)
19873     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SaveInputTerminalState",1,"lldb::SBDebugger *");
19874 
19875     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19876       SWIG_fail_ptr("SBDebugger_SaveInputTerminalState",1,SWIGTYPE_p_lldb__SBDebugger);
19877     }
19878 
19879     (arg1)->SaveInputTerminalState();
19880 
19881     return SWIG_arg;
19882 
19883     fail: SWIGUNUSED;
19884   }
19885   lua_error(L);
19886   return 0;
19887 }
19888 
19889 
_wrap_SBDebugger_RestoreInputTerminalState(lua_State * L)19890 static int _wrap_SBDebugger_RestoreInputTerminalState(lua_State* L) {
19891   {
19892     int SWIG_arg = 0;
19893     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19894 
19895     SWIG_check_num_args("lldb::SBDebugger::RestoreInputTerminalState",1,1)
19896     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RestoreInputTerminalState",1,"lldb::SBDebugger *");
19897 
19898     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19899       SWIG_fail_ptr("SBDebugger_RestoreInputTerminalState",1,SWIGTYPE_p_lldb__SBDebugger);
19900     }
19901 
19902     (arg1)->RestoreInputTerminalState();
19903 
19904     return SWIG_arg;
19905 
19906     fail: SWIGUNUSED;
19907   }
19908   lua_error(L);
19909   return 0;
19910 }
19911 
19912 
_wrap_SBDebugger_GetCommandInterpreter(lua_State * L)19913 static int _wrap_SBDebugger_GetCommandInterpreter(lua_State* L) {
19914   {
19915     int SWIG_arg = 0;
19916     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19917     lldb::SBCommandInterpreter result;
19918 
19919     SWIG_check_num_args("lldb::SBDebugger::GetCommandInterpreter",1,1)
19920     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCommandInterpreter",1,"lldb::SBDebugger *");
19921 
19922     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19923       SWIG_fail_ptr("SBDebugger_GetCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger);
19924     }
19925 
19926     result = (arg1)->GetCommandInterpreter();
19927     {
19928       lldb::SBCommandInterpreter * resultptr = new lldb::SBCommandInterpreter(result);
19929       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++;
19930     }
19931     return SWIG_arg;
19932 
19933     fail: SWIGUNUSED;
19934   }
19935   lua_error(L);
19936   return 0;
19937 }
19938 
19939 
_wrap_SBDebugger_HandleCommand(lua_State * L)19940 static int _wrap_SBDebugger_HandleCommand(lua_State* L) {
19941   {
19942     int SWIG_arg = 0;
19943     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19944     char *arg2 = (char *) 0 ;
19945 
19946     SWIG_check_num_args("lldb::SBDebugger::HandleCommand",2,2)
19947     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",1,"lldb::SBDebugger *");
19948     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleCommand",2,"char const *");
19949 
19950     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19951       SWIG_fail_ptr("SBDebugger_HandleCommand",1,SWIGTYPE_p_lldb__SBDebugger);
19952     }
19953 
19954     arg2 = (char *)lua_tostring(L, 2);
19955     (arg1)->HandleCommand((char const *)arg2);
19956 
19957     return SWIG_arg;
19958 
19959     fail: SWIGUNUSED;
19960   }
19961   lua_error(L);
19962   return 0;
19963 }
19964 
19965 
_wrap_SBDebugger_RequestInterrupt(lua_State * L)19966 static int _wrap_SBDebugger_RequestInterrupt(lua_State* L) {
19967   {
19968     int SWIG_arg = 0;
19969     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19970 
19971     SWIG_check_num_args("lldb::SBDebugger::RequestInterrupt",1,1)
19972     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RequestInterrupt",1,"lldb::SBDebugger *");
19973 
19974     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19975       SWIG_fail_ptr("SBDebugger_RequestInterrupt",1,SWIGTYPE_p_lldb__SBDebugger);
19976     }
19977 
19978     (arg1)->RequestInterrupt();
19979 
19980     return SWIG_arg;
19981 
19982     fail: SWIGUNUSED;
19983   }
19984   lua_error(L);
19985   return 0;
19986 }
19987 
19988 
_wrap_SBDebugger_CancelInterruptRequest(lua_State * L)19989 static int _wrap_SBDebugger_CancelInterruptRequest(lua_State* L) {
19990   {
19991     int SWIG_arg = 0;
19992     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
19993 
19994     SWIG_check_num_args("lldb::SBDebugger::CancelInterruptRequest",1,1)
19995     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CancelInterruptRequest",1,"lldb::SBDebugger *");
19996 
19997     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
19998       SWIG_fail_ptr("SBDebugger_CancelInterruptRequest",1,SWIGTYPE_p_lldb__SBDebugger);
19999     }
20000 
20001     (arg1)->CancelInterruptRequest();
20002 
20003     return SWIG_arg;
20004 
20005     fail: SWIGUNUSED;
20006   }
20007   lua_error(L);
20008   return 0;
20009 }
20010 
20011 
_wrap_SBDebugger_InterruptRequested(lua_State * L)20012 static int _wrap_SBDebugger_InterruptRequested(lua_State* L) {
20013   {
20014     int SWIG_arg = 0;
20015     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20016     bool result;
20017 
20018     SWIG_check_num_args("lldb::SBDebugger::InterruptRequested",1,1)
20019     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::InterruptRequested",1,"lldb::SBDebugger *");
20020 
20021     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20022       SWIG_fail_ptr("SBDebugger_InterruptRequested",1,SWIGTYPE_p_lldb__SBDebugger);
20023     }
20024 
20025     result = (bool)(arg1)->InterruptRequested();
20026     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
20027     return SWIG_arg;
20028 
20029     fail: SWIGUNUSED;
20030   }
20031   lua_error(L);
20032   return 0;
20033 }
20034 
20035 
_wrap_SBDebugger_GetListener(lua_State * L)20036 static int _wrap_SBDebugger_GetListener(lua_State* L) {
20037   {
20038     int SWIG_arg = 0;
20039     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20040     lldb::SBListener result;
20041 
20042     SWIG_check_num_args("lldb::SBDebugger::GetListener",1,1)
20043     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetListener",1,"lldb::SBDebugger *");
20044 
20045     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20046       SWIG_fail_ptr("SBDebugger_GetListener",1,SWIGTYPE_p_lldb__SBDebugger);
20047     }
20048 
20049     result = (arg1)->GetListener();
20050     {
20051       lldb::SBListener * resultptr = new lldb::SBListener(result);
20052       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
20053     }
20054     return SWIG_arg;
20055 
20056     fail: SWIGUNUSED;
20057   }
20058   lua_error(L);
20059   return 0;
20060 }
20061 
20062 
_wrap_SBDebugger_HandleProcessEvent__SWIG_0(lua_State * L)20063 static int _wrap_SBDebugger_HandleProcessEvent__SWIG_0(lua_State* L) {
20064   {
20065     int SWIG_arg = 0;
20066     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20067     lldb::SBProcess *arg2 = 0 ;
20068     lldb::SBEvent *arg3 = 0 ;
20069     lldb::SBFile arg4 ;
20070     lldb::SBFile arg5 ;
20071     lldb::SBFile *argp4 ;
20072     lldb::SBFile *argp5 ;
20073 
20074     SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5)
20075     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *");
20076     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &");
20077     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &");
20078     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",4,"lldb::SBFile");
20079     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",5,"lldb::SBFile");
20080 
20081     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20082       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger);
20083     }
20084 
20085 
20086     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){
20087       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess);
20088     }
20089 
20090 
20091     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){
20092       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent);
20093     }
20094 
20095 
20096     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBFile,0))){
20097       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",4,SWIGTYPE_p_lldb__SBFile);
20098     }
20099     arg4 = *argp4;
20100 
20101 
20102     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&argp5,SWIGTYPE_p_lldb__SBFile,0))){
20103       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",5,SWIGTYPE_p_lldb__SBFile);
20104     }
20105     arg5 = *argp5;
20106 
20107     (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5);
20108 
20109     return SWIG_arg;
20110 
20111     fail: SWIGUNUSED;
20112   }
20113   lua_error(L);
20114   return 0;
20115 }
20116 
20117 
_wrap_SBDebugger_HandleProcessEvent__SWIG_1(lua_State * L)20118 static int _wrap_SBDebugger_HandleProcessEvent__SWIG_1(lua_State* L) {
20119   {
20120     int SWIG_arg = 0;
20121     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20122     lldb::SBProcess *arg2 = 0 ;
20123     lldb::SBEvent *arg3 = 0 ;
20124     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg4 ;
20125     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg5 ;
20126 
20127     SWIG_check_num_args("lldb::SBDebugger::HandleProcessEvent",5,5)
20128     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",1,"lldb::SBDebugger *");
20129     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",2,"lldb::SBProcess const &");
20130     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::HandleProcessEvent",3,"lldb::SBEvent const &");
20131 
20132     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20133       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",1,SWIGTYPE_p_lldb__SBDebugger);
20134     }
20135 
20136 
20137     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBProcess,0))){
20138       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",2,SWIGTYPE_p_lldb__SBProcess);
20139     }
20140 
20141 
20142     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){
20143       SWIG_fail_ptr("SBDebugger_HandleProcessEvent",3,SWIGTYPE_p_lldb__SBEvent);
20144     }
20145 
20146     {
20147       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 4, LUA_FILEHANDLE);
20148       lldb::FileSP file_sp;
20149       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
20150       if (!file_sp->IsValid())
20151       return luaL_error(L, "Invalid file");
20152       arg4 = file_sp;
20153     }
20154     {
20155       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 5, LUA_FILEHANDLE);
20156       lldb::FileSP file_sp;
20157       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
20158       if (!file_sp->IsValid())
20159       return luaL_error(L, "Invalid file");
20160       arg5 = file_sp;
20161     }
20162     (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5);
20163 
20164     return SWIG_arg;
20165 
20166     fail: SWIGUNUSED;
20167   }
20168   lua_error(L);
20169   return 0;
20170 }
20171 
20172 
_wrap_SBDebugger_HandleProcessEvent(lua_State * L)20173 static int _wrap_SBDebugger_HandleProcessEvent(lua_State* L) {
20174   int argc;
20175   int argv[6]={
20176     1,2,3,4,5,6
20177   };
20178 
20179   argc = lua_gettop(L);
20180   if (argc == 5) {
20181     int _v = 0;
20182     {
20183       void *ptr;
20184       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
20185         _v = 0;
20186       } else {
20187         _v = 1;
20188       }
20189     }
20190     if (_v) {
20191       {
20192         void *ptr;
20193         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) {
20194           _v = 0;
20195         } else {
20196           _v = 1;
20197         }
20198       }
20199       if (_v) {
20200         {
20201           void *ptr;
20202           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
20203             _v = 0;
20204           } else {
20205             _v = 1;
20206           }
20207         }
20208         if (_v) {
20209           {
20210             void *ptr;
20211             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
20212               _v = 0;
20213             } else {
20214               _v = 1;
20215             }
20216           }
20217           if (_v) {
20218             {
20219               void *ptr;
20220               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
20221                 _v = 0;
20222               } else {
20223                 _v = 1;
20224               }
20225             }
20226             if (_v) {
20227               return _wrap_SBDebugger_HandleProcessEvent__SWIG_0(L);
20228             }
20229           }
20230         }
20231       }
20232     }
20233   }
20234   if (argc == 5) {
20235     int _v = 0;
20236     {
20237       void *ptr;
20238       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
20239         _v = 0;
20240       } else {
20241         _v = 1;
20242       }
20243     }
20244     if (_v) {
20245       {
20246         void *ptr;
20247         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) {
20248           _v = 0;
20249         } else {
20250           _v = 1;
20251         }
20252       }
20253       if (_v) {
20254         {
20255           void *ptr;
20256           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
20257             _v = 0;
20258           } else {
20259             _v = 1;
20260           }
20261         }
20262         if (_v) {
20263           {
20264             _v = (lua_isuserdata(L, argv[3])) &&
20265             (luaL_testudata(L, argv[3], LUA_FILEHANDLE) != nullptr);
20266           }
20267           if (_v) {
20268             {
20269               _v = (lua_isuserdata(L, argv[4])) &&
20270               (luaL_testudata(L, argv[4], LUA_FILEHANDLE) != nullptr);
20271             }
20272             if (_v) {
20273               return _wrap_SBDebugger_HandleProcessEvent__SWIG_1(L);
20274             }
20275           }
20276         }
20277       }
20278     }
20279   }
20280 
20281   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_HandleProcessEvent'\n"
20282     "  Possible C/C++ prototypes are:\n"
20283     "    lldb::SBDebugger::HandleProcessEvent(lldb::SBProcess const &,lldb::SBEvent const &,lldb::SBFile,lldb::SBFile)\n"
20284     "    lldb::SBDebugger::HandleProcessEvent(lldb::SBProcess const &,lldb::SBEvent const &,lldb::FileSP,lldb::FileSP)\n");
20285   lua_error(L);return 0;
20286 }
20287 
20288 
_wrap_SBDebugger_CreateTarget__SWIG_0(lua_State * L)20289 static int _wrap_SBDebugger_CreateTarget__SWIG_0(lua_State* L) {
20290   {
20291     int SWIG_arg = 0;
20292     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20293     char *arg2 = (char *) 0 ;
20294     char *arg3 = (char *) 0 ;
20295     char *arg4 = (char *) 0 ;
20296     bool arg5 ;
20297     lldb::SBError *arg6 = 0 ;
20298     lldb::SBTarget result;
20299 
20300     SWIG_check_num_args("lldb::SBDebugger::CreateTarget",6,6)
20301     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *");
20302     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *");
20303     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",3,"char const *");
20304     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",4,"char const *");
20305     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",5,"bool");
20306     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",6,"lldb::SBError &");
20307 
20308     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20309       SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20310     }
20311 
20312     arg2 = (char *)lua_tostring(L, 2);
20313     arg3 = (char *)lua_tostring(L, 3);
20314     arg4 = (char *)lua_tostring(L, 4);
20315     arg5 = (lua_toboolean(L, 5)!=0);
20316 
20317     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){
20318       SWIG_fail_ptr("SBDebugger_CreateTarget",6,SWIGTYPE_p_lldb__SBError);
20319     }
20320 
20321     result = (arg1)->CreateTarget((char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,*arg6);
20322     {
20323       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20324       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20325     }
20326     return SWIG_arg;
20327 
20328     fail: SWIGUNUSED;
20329   }
20330   lua_error(L);
20331   return 0;
20332 }
20333 
20334 
_wrap_SBDebugger_CreateTargetWithFileAndTargetTriple(lua_State * L)20335 static int _wrap_SBDebugger_CreateTargetWithFileAndTargetTriple(lua_State* L) {
20336   {
20337     int SWIG_arg = 0;
20338     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20339     char *arg2 = (char *) 0 ;
20340     char *arg3 = (char *) 0 ;
20341     lldb::SBTarget result;
20342 
20343     SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,3)
20344     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",1,"lldb::SBDebugger *");
20345     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",2,"char const *");
20346     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndTargetTriple",3,"char const *");
20347 
20348     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20349       SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndTargetTriple",1,SWIGTYPE_p_lldb__SBDebugger);
20350     }
20351 
20352     arg2 = (char *)lua_tostring(L, 2);
20353     arg3 = (char *)lua_tostring(L, 3);
20354     result = (arg1)->CreateTargetWithFileAndTargetTriple((char const *)arg2,(char const *)arg3);
20355     {
20356       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20357       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20358     }
20359     return SWIG_arg;
20360 
20361     fail: SWIGUNUSED;
20362   }
20363   lua_error(L);
20364   return 0;
20365 }
20366 
20367 
_wrap_SBDebugger_CreateTargetWithFileAndArch(lua_State * L)20368 static int _wrap_SBDebugger_CreateTargetWithFileAndArch(lua_State* L) {
20369   {
20370     int SWIG_arg = 0;
20371     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20372     char *arg2 = (char *) 0 ;
20373     char *arg3 = (char *) 0 ;
20374     lldb::SBTarget result;
20375 
20376     SWIG_check_num_args("lldb::SBDebugger::CreateTargetWithFileAndArch",3,3)
20377     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",1,"lldb::SBDebugger *");
20378     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",2,"char const *");
20379     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::CreateTargetWithFileAndArch",3,"char const *");
20380 
20381     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20382       SWIG_fail_ptr("SBDebugger_CreateTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger);
20383     }
20384 
20385     arg2 = (char *)lua_tostring(L, 2);
20386     arg3 = (char *)lua_tostring(L, 3);
20387     result = (arg1)->CreateTargetWithFileAndArch((char const *)arg2,(char const *)arg3);
20388     {
20389       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20390       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20391     }
20392     return SWIG_arg;
20393 
20394     fail: SWIGUNUSED;
20395   }
20396   lua_error(L);
20397   return 0;
20398 }
20399 
20400 
_wrap_SBDebugger_CreateTarget__SWIG_1(lua_State * L)20401 static int _wrap_SBDebugger_CreateTarget__SWIG_1(lua_State* L) {
20402   {
20403     int SWIG_arg = 0;
20404     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20405     char *arg2 = (char *) 0 ;
20406     lldb::SBTarget result;
20407 
20408     SWIG_check_num_args("lldb::SBDebugger::CreateTarget",2,2)
20409     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",1,"lldb::SBDebugger *");
20410     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateTarget",2,"char const *");
20411 
20412     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20413       SWIG_fail_ptr("SBDebugger_CreateTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20414     }
20415 
20416     arg2 = (char *)lua_tostring(L, 2);
20417     result = (arg1)->CreateTarget((char const *)arg2);
20418     {
20419       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20420       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20421     }
20422     return SWIG_arg;
20423 
20424     fail: SWIGUNUSED;
20425   }
20426   lua_error(L);
20427   return 0;
20428 }
20429 
20430 
_wrap_SBDebugger_CreateTarget(lua_State * L)20431 static int _wrap_SBDebugger_CreateTarget(lua_State* L) {
20432   int argc;
20433   int argv[7]={
20434     1,2,3,4,5,6,7
20435   };
20436 
20437   argc = lua_gettop(L);
20438   if (argc == 2) {
20439     int _v = 0;
20440     {
20441       void *ptr;
20442       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
20443         _v = 0;
20444       } else {
20445         _v = 1;
20446       }
20447     }
20448     if (_v) {
20449       {
20450         _v = SWIG_lua_isnilstring(L,argv[1]);
20451       }
20452       if (_v) {
20453         return _wrap_SBDebugger_CreateTarget__SWIG_1(L);
20454       }
20455     }
20456   }
20457   if (argc == 6) {
20458     int _v = 0;
20459     {
20460       void *ptr;
20461       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
20462         _v = 0;
20463       } else {
20464         _v = 1;
20465       }
20466     }
20467     if (_v) {
20468       {
20469         _v = SWIG_lua_isnilstring(L,argv[1]);
20470       }
20471       if (_v) {
20472         {
20473           _v = SWIG_lua_isnilstring(L,argv[2]);
20474         }
20475         if (_v) {
20476           {
20477             _v = SWIG_lua_isnilstring(L,argv[3]);
20478           }
20479           if (_v) {
20480             {
20481               _v = lua_isboolean(L,argv[4]);
20482             }
20483             if (_v) {
20484               {
20485                 void *ptr;
20486                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
20487                   _v = 0;
20488                 } else {
20489                   _v = 1;
20490                 }
20491               }
20492               if (_v) {
20493                 return _wrap_SBDebugger_CreateTarget__SWIG_0(L);
20494               }
20495             }
20496           }
20497         }
20498       }
20499     }
20500   }
20501 
20502   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_CreateTarget'\n"
20503     "  Possible C/C++ prototypes are:\n"
20504     "    lldb::SBDebugger::CreateTarget(char const *,char const *,char const *,bool,lldb::SBError &)\n"
20505     "    lldb::SBDebugger::CreateTarget(char const *)\n");
20506   lua_error(L);return 0;
20507 }
20508 
20509 
_wrap_SBDebugger_GetDummyTarget(lua_State * L)20510 static int _wrap_SBDebugger_GetDummyTarget(lua_State* L) {
20511   {
20512     int SWIG_arg = 0;
20513     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20514     lldb::SBTarget result;
20515 
20516     SWIG_check_num_args("lldb::SBDebugger::GetDummyTarget",1,1)
20517     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDummyTarget",1,"lldb::SBDebugger *");
20518 
20519     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20520       SWIG_fail_ptr("SBDebugger_GetDummyTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20521     }
20522 
20523     result = (arg1)->GetDummyTarget();
20524     {
20525       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20526       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20527     }
20528     return SWIG_arg;
20529 
20530     fail: SWIGUNUSED;
20531   }
20532   lua_error(L);
20533   return 0;
20534 }
20535 
20536 
_wrap_SBDebugger_DeleteTarget(lua_State * L)20537 static int _wrap_SBDebugger_DeleteTarget(lua_State* L) {
20538   {
20539     int SWIG_arg = 0;
20540     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20541     lldb::SBTarget *arg2 = 0 ;
20542     bool result;
20543 
20544     SWIG_check_num_args("lldb::SBDebugger::DeleteTarget",2,2)
20545     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",1,"lldb::SBDebugger *");
20546     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteTarget",2,"lldb::SBTarget &");
20547 
20548     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20549       SWIG_fail_ptr("SBDebugger_DeleteTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20550     }
20551 
20552 
20553     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
20554       SWIG_fail_ptr("SBDebugger_DeleteTarget",2,SWIGTYPE_p_lldb__SBTarget);
20555     }
20556 
20557     result = (bool)(arg1)->DeleteTarget(*arg2);
20558     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
20559     return SWIG_arg;
20560 
20561     fail: SWIGUNUSED;
20562   }
20563   lua_error(L);
20564   return 0;
20565 }
20566 
20567 
_wrap_SBDebugger_GetTargetAtIndex(lua_State * L)20568 static int _wrap_SBDebugger_GetTargetAtIndex(lua_State* L) {
20569   {
20570     int SWIG_arg = 0;
20571     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20572     uint32_t arg2 ;
20573     lldb::SBTarget result;
20574 
20575     SWIG_check_num_args("lldb::SBDebugger::GetTargetAtIndex",2,2)
20576     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",1,"lldb::SBDebugger *");
20577     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetTargetAtIndex",2,"uint32_t");
20578 
20579     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20580       SWIG_fail_ptr("SBDebugger_GetTargetAtIndex",1,SWIGTYPE_p_lldb__SBDebugger);
20581     }
20582 
20583     arg2 = (uint32_t)lua_tointeger(L, 2);
20584     result = (arg1)->GetTargetAtIndex(arg2);
20585     {
20586       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20587       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20588     }
20589     return SWIG_arg;
20590 
20591     fail: SWIGUNUSED;
20592   }
20593   lua_error(L);
20594   return 0;
20595 }
20596 
20597 
_wrap_SBDebugger_GetIndexOfTarget(lua_State * L)20598 static int _wrap_SBDebugger_GetIndexOfTarget(lua_State* L) {
20599   {
20600     int SWIG_arg = 0;
20601     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20602     lldb::SBTarget arg2 ;
20603     lldb::SBTarget *argp2 ;
20604     uint32_t result;
20605 
20606     SWIG_check_num_args("lldb::SBDebugger::GetIndexOfTarget",2,2)
20607     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",1,"lldb::SBDebugger *");
20608     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetIndexOfTarget",2,"lldb::SBTarget");
20609 
20610     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20611       SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20612     }
20613 
20614 
20615     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
20616       SWIG_fail_ptr("SBDebugger_GetIndexOfTarget",2,SWIGTYPE_p_lldb__SBTarget);
20617     }
20618     arg2 = *argp2;
20619 
20620     result = (uint32_t)(arg1)->GetIndexOfTarget(arg2);
20621     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
20622     return SWIG_arg;
20623 
20624     fail: SWIGUNUSED;
20625   }
20626   lua_error(L);
20627   return 0;
20628 }
20629 
20630 
_wrap_SBDebugger_FindTargetWithProcessID(lua_State * L)20631 static int _wrap_SBDebugger_FindTargetWithProcessID(lua_State* L) {
20632   {
20633     int SWIG_arg = 0;
20634     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20635     lldb::pid_t arg2 ;
20636     lldb::SBTarget result;
20637 
20638     SWIG_check_num_args("lldb::SBDebugger::FindTargetWithProcessID",2,2)
20639     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",1,"lldb::SBDebugger *");
20640     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithProcessID",2,"lldb::pid_t");
20641 
20642     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20643       SWIG_fail_ptr("SBDebugger_FindTargetWithProcessID",1,SWIGTYPE_p_lldb__SBDebugger);
20644     }
20645 
20646     arg2 = (lldb::pid_t)lua_tointeger(L, 2);
20647     result = (arg1)->FindTargetWithProcessID(arg2);
20648     {
20649       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20650       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20651     }
20652     return SWIG_arg;
20653 
20654     fail: SWIGUNUSED;
20655   }
20656   lua_error(L);
20657   return 0;
20658 }
20659 
20660 
_wrap_SBDebugger_FindTargetWithFileAndArch(lua_State * L)20661 static int _wrap_SBDebugger_FindTargetWithFileAndArch(lua_State* L) {
20662   {
20663     int SWIG_arg = 0;
20664     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20665     char *arg2 = (char *) 0 ;
20666     char *arg3 = (char *) 0 ;
20667     lldb::SBTarget result;
20668 
20669     SWIG_check_num_args("lldb::SBDebugger::FindTargetWithFileAndArch",3,3)
20670     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",1,"lldb::SBDebugger *");
20671     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",2,"char const *");
20672     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::FindTargetWithFileAndArch",3,"char const *");
20673 
20674     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20675       SWIG_fail_ptr("SBDebugger_FindTargetWithFileAndArch",1,SWIGTYPE_p_lldb__SBDebugger);
20676     }
20677 
20678     arg2 = (char *)lua_tostring(L, 2);
20679     arg3 = (char *)lua_tostring(L, 3);
20680     result = (arg1)->FindTargetWithFileAndArch((char const *)arg2,(char const *)arg3);
20681     {
20682       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20683       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20684     }
20685     return SWIG_arg;
20686 
20687     fail: SWIGUNUSED;
20688   }
20689   lua_error(L);
20690   return 0;
20691 }
20692 
20693 
_wrap_SBDebugger_GetNumTargets(lua_State * L)20694 static int _wrap_SBDebugger_GetNumTargets(lua_State* L) {
20695   {
20696     int SWIG_arg = 0;
20697     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20698     uint32_t result;
20699 
20700     SWIG_check_num_args("lldb::SBDebugger::GetNumTargets",1,1)
20701     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumTargets",1,"lldb::SBDebugger *");
20702 
20703     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20704       SWIG_fail_ptr("SBDebugger_GetNumTargets",1,SWIGTYPE_p_lldb__SBDebugger);
20705     }
20706 
20707     result = (uint32_t)(arg1)->GetNumTargets();
20708     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
20709     return SWIG_arg;
20710 
20711     fail: SWIGUNUSED;
20712   }
20713   lua_error(L);
20714   return 0;
20715 }
20716 
20717 
_wrap_SBDebugger_GetSelectedTarget(lua_State * L)20718 static int _wrap_SBDebugger_GetSelectedTarget(lua_State* L) {
20719   {
20720     int SWIG_arg = 0;
20721     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20722     lldb::SBTarget result;
20723 
20724     SWIG_check_num_args("lldb::SBDebugger::GetSelectedTarget",1,1)
20725     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedTarget",1,"lldb::SBDebugger *");
20726 
20727     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20728       SWIG_fail_ptr("SBDebugger_GetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20729     }
20730 
20731     result = (arg1)->GetSelectedTarget();
20732     {
20733       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
20734       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
20735     }
20736     return SWIG_arg;
20737 
20738     fail: SWIGUNUSED;
20739   }
20740   lua_error(L);
20741   return 0;
20742 }
20743 
20744 
_wrap_SBDebugger_SetSelectedTarget(lua_State * L)20745 static int _wrap_SBDebugger_SetSelectedTarget(lua_State* L) {
20746   {
20747     int SWIG_arg = 0;
20748     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20749     lldb::SBTarget *arg2 = 0 ;
20750 
20751     SWIG_check_num_args("lldb::SBDebugger::SetSelectedTarget",2,2)
20752     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",1,"lldb::SBDebugger *");
20753     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedTarget",2,"lldb::SBTarget &");
20754 
20755     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20756       SWIG_fail_ptr("SBDebugger_SetSelectedTarget",1,SWIGTYPE_p_lldb__SBDebugger);
20757     }
20758 
20759 
20760     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
20761       SWIG_fail_ptr("SBDebugger_SetSelectedTarget",2,SWIGTYPE_p_lldb__SBTarget);
20762     }
20763 
20764     (arg1)->SetSelectedTarget(*arg2);
20765 
20766     return SWIG_arg;
20767 
20768     fail: SWIGUNUSED;
20769   }
20770   lua_error(L);
20771   return 0;
20772 }
20773 
20774 
_wrap_SBDebugger_GetSelectedPlatform(lua_State * L)20775 static int _wrap_SBDebugger_GetSelectedPlatform(lua_State* L) {
20776   {
20777     int SWIG_arg = 0;
20778     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20779     lldb::SBPlatform result;
20780 
20781     SWIG_check_num_args("lldb::SBDebugger::GetSelectedPlatform",1,1)
20782     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSelectedPlatform",1,"lldb::SBDebugger *");
20783 
20784     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20785       SWIG_fail_ptr("SBDebugger_GetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger);
20786     }
20787 
20788     result = (arg1)->GetSelectedPlatform();
20789     {
20790       lldb::SBPlatform * resultptr = new lldb::SBPlatform(result);
20791       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
20792     }
20793     return SWIG_arg;
20794 
20795     fail: SWIGUNUSED;
20796   }
20797   lua_error(L);
20798   return 0;
20799 }
20800 
20801 
_wrap_SBDebugger_SetSelectedPlatform(lua_State * L)20802 static int _wrap_SBDebugger_SetSelectedPlatform(lua_State* L) {
20803   {
20804     int SWIG_arg = 0;
20805     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20806     lldb::SBPlatform *arg2 = 0 ;
20807 
20808     SWIG_check_num_args("lldb::SBDebugger::SetSelectedPlatform",2,2)
20809     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",1,"lldb::SBDebugger *");
20810     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetSelectedPlatform",2,"lldb::SBPlatform &");
20811 
20812     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20813       SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",1,SWIGTYPE_p_lldb__SBDebugger);
20814     }
20815 
20816 
20817     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatform,0))){
20818       SWIG_fail_ptr("SBDebugger_SetSelectedPlatform",2,SWIGTYPE_p_lldb__SBPlatform);
20819     }
20820 
20821     (arg1)->SetSelectedPlatform(*arg2);
20822 
20823     return SWIG_arg;
20824 
20825     fail: SWIGUNUSED;
20826   }
20827   lua_error(L);
20828   return 0;
20829 }
20830 
20831 
_wrap_SBDebugger_GetNumPlatforms(lua_State * L)20832 static int _wrap_SBDebugger_GetNumPlatforms(lua_State* L) {
20833   {
20834     int SWIG_arg = 0;
20835     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20836     uint32_t result;
20837 
20838     SWIG_check_num_args("lldb::SBDebugger::GetNumPlatforms",1,1)
20839     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumPlatforms",1,"lldb::SBDebugger *");
20840 
20841     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20842       SWIG_fail_ptr("SBDebugger_GetNumPlatforms",1,SWIGTYPE_p_lldb__SBDebugger);
20843     }
20844 
20845     result = (uint32_t)(arg1)->GetNumPlatforms();
20846     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
20847     return SWIG_arg;
20848 
20849     fail: SWIGUNUSED;
20850   }
20851   lua_error(L);
20852   return 0;
20853 }
20854 
20855 
_wrap_SBDebugger_GetPlatformAtIndex(lua_State * L)20856 static int _wrap_SBDebugger_GetPlatformAtIndex(lua_State* L) {
20857   {
20858     int SWIG_arg = 0;
20859     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20860     uint32_t arg2 ;
20861     lldb::SBPlatform result;
20862 
20863     SWIG_check_num_args("lldb::SBDebugger::GetPlatformAtIndex",2,2)
20864     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",1,"lldb::SBDebugger *");
20865     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetPlatformAtIndex",2,"uint32_t");
20866 
20867     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20868       SWIG_fail_ptr("SBDebugger_GetPlatformAtIndex",1,SWIGTYPE_p_lldb__SBDebugger);
20869     }
20870 
20871     arg2 = (uint32_t)lua_tointeger(L, 2);
20872     result = (arg1)->GetPlatformAtIndex(arg2);
20873     {
20874       lldb::SBPlatform * resultptr = new lldb::SBPlatform(result);
20875       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
20876     }
20877     return SWIG_arg;
20878 
20879     fail: SWIGUNUSED;
20880   }
20881   lua_error(L);
20882   return 0;
20883 }
20884 
20885 
_wrap_SBDebugger_GetNumAvailablePlatforms(lua_State * L)20886 static int _wrap_SBDebugger_GetNumAvailablePlatforms(lua_State* L) {
20887   {
20888     int SWIG_arg = 0;
20889     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20890     uint32_t result;
20891 
20892     SWIG_check_num_args("lldb::SBDebugger::GetNumAvailablePlatforms",1,1)
20893     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumAvailablePlatforms",1,"lldb::SBDebugger *");
20894 
20895     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20896       SWIG_fail_ptr("SBDebugger_GetNumAvailablePlatforms",1,SWIGTYPE_p_lldb__SBDebugger);
20897     }
20898 
20899     result = (uint32_t)(arg1)->GetNumAvailablePlatforms();
20900     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
20901     return SWIG_arg;
20902 
20903     fail: SWIGUNUSED;
20904   }
20905   lua_error(L);
20906   return 0;
20907 }
20908 
20909 
_wrap_SBDebugger_GetAvailablePlatformInfoAtIndex(lua_State * L)20910 static int _wrap_SBDebugger_GetAvailablePlatformInfoAtIndex(lua_State* L) {
20911   {
20912     int SWIG_arg = 0;
20913     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20914     uint32_t arg2 ;
20915     lldb::SBStructuredData result;
20916 
20917     SWIG_check_num_args("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,2)
20918     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",1,"lldb::SBDebugger *");
20919     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetAvailablePlatformInfoAtIndex",2,"uint32_t");
20920 
20921     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20922       SWIG_fail_ptr("SBDebugger_GetAvailablePlatformInfoAtIndex",1,SWIGTYPE_p_lldb__SBDebugger);
20923     }
20924 
20925     arg2 = (uint32_t)lua_tointeger(L, 2);
20926     result = (arg1)->GetAvailablePlatformInfoAtIndex(arg2);
20927     {
20928       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
20929       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
20930     }
20931     return SWIG_arg;
20932 
20933     fail: SWIGUNUSED;
20934   }
20935   lua_error(L);
20936   return 0;
20937 }
20938 
20939 
_wrap_SBDebugger_GetSourceManager(lua_State * L)20940 static int _wrap_SBDebugger_GetSourceManager(lua_State* L) {
20941   {
20942     int SWIG_arg = 0;
20943     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20944     SwigValueWrapper< lldb::SBSourceManager > result;
20945 
20946     SWIG_check_num_args("lldb::SBDebugger::GetSourceManager",1,1)
20947     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSourceManager",1,"lldb::SBDebugger *");
20948 
20949     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20950       SWIG_fail_ptr("SBDebugger_GetSourceManager",1,SWIGTYPE_p_lldb__SBDebugger);
20951     }
20952 
20953     result = (arg1)->GetSourceManager();
20954     {
20955       lldb::SBSourceManager * resultptr = new lldb::SBSourceManager(result);
20956       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++;
20957     }
20958     return SWIG_arg;
20959 
20960     fail: SWIGUNUSED;
20961   }
20962   lua_error(L);
20963   return 0;
20964 }
20965 
20966 
_wrap_SBDebugger_SetCurrentPlatform(lua_State * L)20967 static int _wrap_SBDebugger_SetCurrentPlatform(lua_State* L) {
20968   {
20969     int SWIG_arg = 0;
20970     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
20971     char *arg2 = (char *) 0 ;
20972     lldb::SBError result;
20973 
20974     SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatform",2,2)
20975     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",1,"lldb::SBDebugger *");
20976     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatform",2,"char const *");
20977 
20978     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
20979       SWIG_fail_ptr("SBDebugger_SetCurrentPlatform",1,SWIGTYPE_p_lldb__SBDebugger);
20980     }
20981 
20982     arg2 = (char *)lua_tostring(L, 2);
20983     result = (arg1)->SetCurrentPlatform((char const *)arg2);
20984     {
20985       lldb::SBError * resultptr = new lldb::SBError(result);
20986       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
20987     }
20988     return SWIG_arg;
20989 
20990     fail: SWIGUNUSED;
20991   }
20992   lua_error(L);
20993   return 0;
20994 }
20995 
20996 
_wrap_SBDebugger_SetCurrentPlatformSDKRoot(lua_State * L)20997 static int _wrap_SBDebugger_SetCurrentPlatformSDKRoot(lua_State* L) {
20998   {
20999     int SWIG_arg = 0;
21000     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21001     char *arg2 = (char *) 0 ;
21002     bool result;
21003 
21004     SWIG_check_num_args("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,2)
21005     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",1,"lldb::SBDebugger *");
21006     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCurrentPlatformSDKRoot",2,"char const *");
21007 
21008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21009       SWIG_fail_ptr("SBDebugger_SetCurrentPlatformSDKRoot",1,SWIGTYPE_p_lldb__SBDebugger);
21010     }
21011 
21012     arg2 = (char *)lua_tostring(L, 2);
21013     result = (bool)(arg1)->SetCurrentPlatformSDKRoot((char const *)arg2);
21014     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21015     return SWIG_arg;
21016 
21017     fail: SWIGUNUSED;
21018   }
21019   lua_error(L);
21020   return 0;
21021 }
21022 
21023 
_wrap_SBDebugger_SetUseExternalEditor(lua_State * L)21024 static int _wrap_SBDebugger_SetUseExternalEditor(lua_State* L) {
21025   {
21026     int SWIG_arg = 0;
21027     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21028     bool arg2 ;
21029     bool result;
21030 
21031     SWIG_check_num_args("lldb::SBDebugger::SetUseExternalEditor",2,2)
21032     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",1,"lldb::SBDebugger *");
21033     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseExternalEditor",2,"bool");
21034 
21035     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21036       SWIG_fail_ptr("SBDebugger_SetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger);
21037     }
21038 
21039     arg2 = (lua_toboolean(L, 2)!=0);
21040     result = (bool)(arg1)->SetUseExternalEditor(arg2);
21041     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21042     return SWIG_arg;
21043 
21044     fail: SWIGUNUSED;
21045   }
21046   lua_error(L);
21047   return 0;
21048 }
21049 
21050 
_wrap_SBDebugger_GetUseExternalEditor(lua_State * L)21051 static int _wrap_SBDebugger_GetUseExternalEditor(lua_State* L) {
21052   {
21053     int SWIG_arg = 0;
21054     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21055     bool result;
21056 
21057     SWIG_check_num_args("lldb::SBDebugger::GetUseExternalEditor",1,1)
21058     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseExternalEditor",1,"lldb::SBDebugger *");
21059 
21060     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21061       SWIG_fail_ptr("SBDebugger_GetUseExternalEditor",1,SWIGTYPE_p_lldb__SBDebugger);
21062     }
21063 
21064     result = (bool)(arg1)->GetUseExternalEditor();
21065     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21066     return SWIG_arg;
21067 
21068     fail: SWIGUNUSED;
21069   }
21070   lua_error(L);
21071   return 0;
21072 }
21073 
21074 
_wrap_SBDebugger_SetUseColor(lua_State * L)21075 static int _wrap_SBDebugger_SetUseColor(lua_State* L) {
21076   {
21077     int SWIG_arg = 0;
21078     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21079     bool arg2 ;
21080     bool result;
21081 
21082     SWIG_check_num_args("lldb::SBDebugger::SetUseColor",2,2)
21083     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",1,"lldb::SBDebugger *");
21084     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseColor",2,"bool");
21085 
21086     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21087       SWIG_fail_ptr("SBDebugger_SetUseColor",1,SWIGTYPE_p_lldb__SBDebugger);
21088     }
21089 
21090     arg2 = (lua_toboolean(L, 2)!=0);
21091     result = (bool)(arg1)->SetUseColor(arg2);
21092     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21093     return SWIG_arg;
21094 
21095     fail: SWIGUNUSED;
21096   }
21097   lua_error(L);
21098   return 0;
21099 }
21100 
21101 
_wrap_SBDebugger_GetUseColor(lua_State * L)21102 static int _wrap_SBDebugger_GetUseColor(lua_State* L) {
21103   {
21104     int SWIG_arg = 0;
21105     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21106     bool result;
21107 
21108     SWIG_check_num_args("lldb::SBDebugger::GetUseColor",1,1)
21109     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseColor",1,"lldb::SBDebugger const *");
21110 
21111     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21112       SWIG_fail_ptr("SBDebugger_GetUseColor",1,SWIGTYPE_p_lldb__SBDebugger);
21113     }
21114 
21115     result = (bool)((lldb::SBDebugger const *)arg1)->GetUseColor();
21116     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21117     return SWIG_arg;
21118 
21119     fail: SWIGUNUSED;
21120   }
21121   lua_error(L);
21122   return 0;
21123 }
21124 
21125 
_wrap_SBDebugger_SetUseSourceCache(lua_State * L)21126 static int _wrap_SBDebugger_SetUseSourceCache(lua_State* L) {
21127   {
21128     int SWIG_arg = 0;
21129     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21130     bool arg2 ;
21131     bool result;
21132 
21133     SWIG_check_num_args("lldb::SBDebugger::SetUseSourceCache",2,2)
21134     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetUseSourceCache",1,"lldb::SBDebugger *");
21135     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetUseSourceCache",2,"bool");
21136 
21137     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21138       SWIG_fail_ptr("SBDebugger_SetUseSourceCache",1,SWIGTYPE_p_lldb__SBDebugger);
21139     }
21140 
21141     arg2 = (lua_toboolean(L, 2)!=0);
21142     result = (bool)(arg1)->SetUseSourceCache(arg2);
21143     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21144     return SWIG_arg;
21145 
21146     fail: SWIGUNUSED;
21147   }
21148   lua_error(L);
21149   return 0;
21150 }
21151 
21152 
_wrap_SBDebugger_GetUseSourceCache(lua_State * L)21153 static int _wrap_SBDebugger_GetUseSourceCache(lua_State* L) {
21154   {
21155     int SWIG_arg = 0;
21156     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21157     bool result;
21158 
21159     SWIG_check_num_args("lldb::SBDebugger::GetUseSourceCache",1,1)
21160     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetUseSourceCache",1,"lldb::SBDebugger const *");
21161 
21162     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21163       SWIG_fail_ptr("SBDebugger_GetUseSourceCache",1,SWIGTYPE_p_lldb__SBDebugger);
21164     }
21165 
21166     result = (bool)((lldb::SBDebugger const *)arg1)->GetUseSourceCache();
21167     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21168     return SWIG_arg;
21169 
21170     fail: SWIGUNUSED;
21171   }
21172   lua_error(L);
21173   return 0;
21174 }
21175 
21176 
_wrap_SBDebugger_GetDefaultArchitecture(lua_State * L)21177 static int _wrap_SBDebugger_GetDefaultArchitecture(lua_State* L) {
21178   {
21179     int SWIG_arg = 0;
21180     char *arg1 = (char *) 0 ;
21181     size_t arg2 ;
21182     bool result;
21183 
21184     SWIG_check_num_args("lldb::SBDebugger::GetDefaultArchitecture",2,2)
21185     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",1,"char *");
21186     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultArchitecture",2,"size_t");
21187     arg1 = (char *)lua_tostring(L, 1);
21188     arg2 = (size_t)lua_tointeger(L, 2);
21189     result = (bool)lldb::SBDebugger::GetDefaultArchitecture(arg1,SWIG_STD_MOVE(arg2));
21190     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21191     return SWIG_arg;
21192 
21193     fail: SWIGUNUSED;
21194   }
21195   lua_error(L);
21196   return 0;
21197 }
21198 
21199 
_wrap_SBDebugger_SetDefaultArchitecture(lua_State * L)21200 static int _wrap_SBDebugger_SetDefaultArchitecture(lua_State* L) {
21201   {
21202     int SWIG_arg = 0;
21203     char *arg1 = (char *) 0 ;
21204     bool result;
21205 
21206     SWIG_check_num_args("lldb::SBDebugger::SetDefaultArchitecture",1,1)
21207     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetDefaultArchitecture",1,"char const *");
21208     arg1 = (char *)lua_tostring(L, 1);
21209     result = (bool)lldb::SBDebugger::SetDefaultArchitecture((char const *)arg1);
21210     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21211     return SWIG_arg;
21212 
21213     fail: SWIGUNUSED;
21214   }
21215   lua_error(L);
21216   return 0;
21217 }
21218 
21219 
_wrap_SBDebugger_GetScriptingLanguage(lua_State * L)21220 static int _wrap_SBDebugger_GetScriptingLanguage(lua_State* L) {
21221   {
21222     int SWIG_arg = 0;
21223     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21224     char *arg2 = (char *) 0 ;
21225     lldb::ScriptLanguage result;
21226 
21227     SWIG_check_num_args("lldb::SBDebugger::GetScriptingLanguage",2,2)
21228     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",1,"lldb::SBDebugger *");
21229     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptingLanguage",2,"char const *");
21230 
21231     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21232       SWIG_fail_ptr("SBDebugger_GetScriptingLanguage",1,SWIGTYPE_p_lldb__SBDebugger);
21233     }
21234 
21235     arg2 = (char *)lua_tostring(L, 2);
21236     result = (lldb::ScriptLanguage)(arg1)->GetScriptingLanguage((char const *)arg2);
21237     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
21238     return SWIG_arg;
21239 
21240     fail: SWIGUNUSED;
21241   }
21242   lua_error(L);
21243   return 0;
21244 }
21245 
21246 
_wrap_SBDebugger_GetScriptInterpreterInfo(lua_State * L)21247 static int _wrap_SBDebugger_GetScriptInterpreterInfo(lua_State* L) {
21248   {
21249     int SWIG_arg = 0;
21250     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21251     lldb::ScriptLanguage arg2 ;
21252     lldb::SBStructuredData result;
21253 
21254     SWIG_check_num_args("lldb::SBDebugger::GetScriptInterpreterInfo",2,2)
21255     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",1,"lldb::SBDebugger *");
21256     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetScriptInterpreterInfo",2,"lldb::ScriptLanguage");
21257 
21258     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21259       SWIG_fail_ptr("SBDebugger_GetScriptInterpreterInfo",1,SWIGTYPE_p_lldb__SBDebugger);
21260     }
21261 
21262     arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2);
21263     result = (arg1)->GetScriptInterpreterInfo(arg2);
21264     {
21265       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
21266       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
21267     }
21268     return SWIG_arg;
21269 
21270     fail: SWIGUNUSED;
21271   }
21272   lua_error(L);
21273   return 0;
21274 }
21275 
21276 
_wrap_SBDebugger_GetVersionString(lua_State * L)21277 static int _wrap_SBDebugger_GetVersionString(lua_State* L) {
21278   {
21279     int SWIG_arg = 0;
21280     char *result = 0 ;
21281 
21282     SWIG_check_num_args("lldb::SBDebugger::GetVersionString",0,0)
21283     result = (char *)lldb::SBDebugger::GetVersionString();
21284     lua_pushstring(L,(const char *)result); SWIG_arg++;
21285     return SWIG_arg;
21286 
21287     fail: SWIGUNUSED;
21288   }
21289   lua_error(L);
21290   return 0;
21291 }
21292 
21293 
_wrap_SBDebugger_StateAsCString(lua_State * L)21294 static int _wrap_SBDebugger_StateAsCString(lua_State* L) {
21295   {
21296     int SWIG_arg = 0;
21297     lldb::StateType arg1 ;
21298     char *result = 0 ;
21299 
21300     SWIG_check_num_args("lldb::SBDebugger::StateAsCString",1,1)
21301     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateAsCString",1,"lldb::StateType");
21302     arg1 = (lldb::StateType)lua_tointeger(L, 1);
21303     result = (char *)lldb::SBDebugger::StateAsCString(arg1);
21304     lua_pushstring(L,(const char *)result); SWIG_arg++;
21305     return SWIG_arg;
21306 
21307     fail: SWIGUNUSED;
21308   }
21309   lua_error(L);
21310   return 0;
21311 }
21312 
21313 
_wrap_SBDebugger_GetBuildConfiguration(lua_State * L)21314 static int _wrap_SBDebugger_GetBuildConfiguration(lua_State* L) {
21315   {
21316     int SWIG_arg = 0;
21317     lldb::SBStructuredData result;
21318 
21319     SWIG_check_num_args("lldb::SBDebugger::GetBuildConfiguration",0,0)
21320     result = lldb::SBDebugger::GetBuildConfiguration();
21321     {
21322       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
21323       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
21324     }
21325     return SWIG_arg;
21326 
21327     fail: SWIGUNUSED;
21328   }
21329   lua_error(L);
21330   return 0;
21331 }
21332 
21333 
_wrap_SBDebugger_StateIsRunningState(lua_State * L)21334 static int _wrap_SBDebugger_StateIsRunningState(lua_State* L) {
21335   {
21336     int SWIG_arg = 0;
21337     lldb::StateType arg1 ;
21338     bool result;
21339 
21340     SWIG_check_num_args("lldb::SBDebugger::StateIsRunningState",1,1)
21341     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsRunningState",1,"lldb::StateType");
21342     arg1 = (lldb::StateType)lua_tointeger(L, 1);
21343     result = (bool)lldb::SBDebugger::StateIsRunningState(arg1);
21344     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21345     return SWIG_arg;
21346 
21347     fail: SWIGUNUSED;
21348   }
21349   lua_error(L);
21350   return 0;
21351 }
21352 
21353 
_wrap_SBDebugger_StateIsStoppedState(lua_State * L)21354 static int _wrap_SBDebugger_StateIsStoppedState(lua_State* L) {
21355   {
21356     int SWIG_arg = 0;
21357     lldb::StateType arg1 ;
21358     bool result;
21359 
21360     SWIG_check_num_args("lldb::SBDebugger::StateIsStoppedState",1,1)
21361     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::StateIsStoppedState",1,"lldb::StateType");
21362     arg1 = (lldb::StateType)lua_tointeger(L, 1);
21363     result = (bool)lldb::SBDebugger::StateIsStoppedState(arg1);
21364     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21365     return SWIG_arg;
21366 
21367     fail: SWIGUNUSED;
21368   }
21369   lua_error(L);
21370   return 0;
21371 }
21372 
21373 
_wrap_SBDebugger_EnableLog(lua_State * L)21374 static int _wrap_SBDebugger_EnableLog(lua_State* L) {
21375   {
21376     int SWIG_arg = 0;
21377     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21378     char *arg2 = (char *) 0 ;
21379     char **arg3 = (char **) 0 ;
21380     bool result;
21381 
21382     SWIG_check_num_args("lldb::SBDebugger::EnableLog",3,3)
21383     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",1,"lldb::SBDebugger *");
21384     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::EnableLog",2,"char const *");
21385 
21386     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21387       SWIG_fail_ptr("SBDebugger_EnableLog",1,SWIGTYPE_p_lldb__SBDebugger);
21388     }
21389 
21390     arg2 = (char *)lua_tostring(L, 2);
21391     {
21392       if (lua_istable(L, 3)) {
21393         size_t size = lua_rawlen(L, 3);
21394         arg3 = (char **)malloc((size + 1) * sizeof(char *));
21395         int i = 0, j = 0;
21396         while (i++ < size) {
21397           lua_rawgeti(L, 3, i);
21398           if (!lua_isstring(L, -1)) {
21399             // if current element cannot be converted to string, raise an error
21400             lua_pop(L, 1);
21401             return luaL_error(L, "List should only contain strings");
21402           }
21403           arg3[j++] = (char *)lua_tostring(L, -1);
21404           lua_pop(L, 1);
21405         }
21406         arg3[j] = 0;
21407       } else if (lua_isnil(L, 3)) {
21408         // "nil" is also acceptable, equivalent as an empty table
21409         arg3 = NULL;
21410       } else {
21411         return luaL_error(L, "A list of strings expected");
21412       }
21413     }
21414     result = (bool)(arg1)->EnableLog((char const *)arg2,(char const **)arg3);
21415     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21416     {
21417       free((char *) arg3);
21418     }
21419     return SWIG_arg;
21420 
21421     fail: SWIGUNUSED;
21422     {
21423       free((char *) arg3);
21424     }
21425   }
21426   lua_error(L);
21427   return 0;
21428 }
21429 
21430 
_wrap_SBDebugger_SetLoggingCallback(lua_State * L)21431 static int _wrap_SBDebugger_SetLoggingCallback(lua_State* L) {
21432   {
21433     int SWIG_arg = 0;
21434     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21435     lldb::LogOutputCallback arg2 = (lldb::LogOutputCallback) 0 ;
21436     void *arg3 = (void *) 0 ;
21437 
21438     SWIG_check_num_args("lldb::SBDebugger::SetLoggingCallback",2,2)
21439     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetLoggingCallback",1,"lldb::SBDebugger *");
21440 
21441     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21442       SWIG_fail_ptr("SBDebugger_SetLoggingCallback",1,SWIGTYPE_p_lldb__SBDebugger);
21443     }
21444 
21445     {
21446       arg2 = LLDBSwigLuaCallLuaLogOutputCallback;
21447       arg3 = (void *)L;
21448 
21449       luaL_checktype(L, 2, LUA_TFUNCTION);
21450       lua_settop(L, 2);
21451 
21452       lua_pushlightuserdata(L, (void *)&LLDBSwigLuaCallLuaLogOutputCallback);
21453       lua_insert(L, 2);
21454       lua_settable(L, LUA_REGISTRYINDEX);
21455     }
21456     (arg1)->SetLoggingCallback(arg2,arg3);
21457 
21458     return SWIG_arg;
21459 
21460     fail: SWIGUNUSED;
21461   }
21462   lua_error(L);
21463   return 0;
21464 }
21465 
21466 
_wrap_SBDebugger_SetDestroyCallback(lua_State * L)21467 static int _wrap_SBDebugger_SetDestroyCallback(lua_State* L) {
21468   {
21469     int SWIG_arg = 0;
21470     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21471     lldb::SBDebuggerDestroyCallback arg2 = (lldb::SBDebuggerDestroyCallback) 0 ;
21472     void *arg3 = (void *) 0 ;
21473 
21474     SWIG_check_num_args("lldb::SBDebugger::SetDestroyCallback",3,3)
21475     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetDestroyCallback",1,"lldb::SBDebugger *");
21476     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetDestroyCallback",2,"lldb::SBDebuggerDestroyCallback");
21477     if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBDebugger::SetDestroyCallback",3,"void *");
21478 
21479     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21480       SWIG_fail_ptr("SBDebugger_SetDestroyCallback",1,SWIGTYPE_p_lldb__SBDebugger);
21481     }
21482 
21483 
21484     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_unsigned_long_long_p_void__void,0))){
21485       SWIG_fail_ptr("SBDebugger_SetDestroyCallback",2,SWIGTYPE_p_f_unsigned_long_long_p_void__void);
21486     }
21487 
21488     arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBDebugger_SetDestroyCallback");
21489     (arg1)->SetDestroyCallback(arg2,arg3);
21490 
21491     return SWIG_arg;
21492 
21493     fail: SWIGUNUSED;
21494   }
21495   lua_error(L);
21496   return 0;
21497 }
21498 
21499 
_wrap_SBDebugger_DispatchInput(lua_State * L)21500 static int _wrap_SBDebugger_DispatchInput(lua_State* L) {
21501   {
21502     int SWIG_arg = 0;
21503     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21504     void *arg2 = (void *) 0 ;
21505     size_t arg3 ;
21506 
21507     SWIG_check_num_args("lldb::SBDebugger::DispatchInput",2,2)
21508     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInput",1,"lldb::SBDebugger *");
21509 
21510     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21511       SWIG_fail_ptr("SBDebugger_DispatchInput",1,SWIGTYPE_p_lldb__SBDebugger);
21512     }
21513 
21514     {
21515       arg2 = (void *)luaL_checklstring(L, 2, &arg3);
21516     }
21517     (arg1)->DispatchInput((void const *)arg2,arg3);
21518 
21519     return SWIG_arg;
21520 
21521     fail: SWIGUNUSED;
21522   }
21523   lua_error(L);
21524   return 0;
21525 }
21526 
21527 
_wrap_SBDebugger_DispatchInputInterrupt(lua_State * L)21528 static int _wrap_SBDebugger_DispatchInputInterrupt(lua_State* L) {
21529   {
21530     int SWIG_arg = 0;
21531     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21532 
21533     SWIG_check_num_args("lldb::SBDebugger::DispatchInputInterrupt",1,1)
21534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputInterrupt",1,"lldb::SBDebugger *");
21535 
21536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21537       SWIG_fail_ptr("SBDebugger_DispatchInputInterrupt",1,SWIGTYPE_p_lldb__SBDebugger);
21538     }
21539 
21540     (arg1)->DispatchInputInterrupt();
21541 
21542     return SWIG_arg;
21543 
21544     fail: SWIGUNUSED;
21545   }
21546   lua_error(L);
21547   return 0;
21548 }
21549 
21550 
_wrap_SBDebugger_DispatchInputEndOfFile(lua_State * L)21551 static int _wrap_SBDebugger_DispatchInputEndOfFile(lua_State* L) {
21552   {
21553     int SWIG_arg = 0;
21554     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21555 
21556     SWIG_check_num_args("lldb::SBDebugger::DispatchInputEndOfFile",1,1)
21557     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DispatchInputEndOfFile",1,"lldb::SBDebugger *");
21558 
21559     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21560       SWIG_fail_ptr("SBDebugger_DispatchInputEndOfFile",1,SWIGTYPE_p_lldb__SBDebugger);
21561     }
21562 
21563     (arg1)->DispatchInputEndOfFile();
21564 
21565     return SWIG_arg;
21566 
21567     fail: SWIGUNUSED;
21568   }
21569   lua_error(L);
21570   return 0;
21571 }
21572 
21573 
_wrap_SBDebugger_GetInstanceName(lua_State * L)21574 static int _wrap_SBDebugger_GetInstanceName(lua_State* L) {
21575   {
21576     int SWIG_arg = 0;
21577     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21578     char *result = 0 ;
21579 
21580     SWIG_check_num_args("lldb::SBDebugger::GetInstanceName",1,1)
21581     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInstanceName",1,"lldb::SBDebugger *");
21582 
21583     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21584       SWIG_fail_ptr("SBDebugger_GetInstanceName",1,SWIGTYPE_p_lldb__SBDebugger);
21585     }
21586 
21587     result = (char *)(arg1)->GetInstanceName();
21588     lua_pushstring(L,(const char *)result); SWIG_arg++;
21589     return SWIG_arg;
21590 
21591     fail: SWIGUNUSED;
21592   }
21593   lua_error(L);
21594   return 0;
21595 }
21596 
21597 
_wrap_SBDebugger_FindDebuggerWithID(lua_State * L)21598 static int _wrap_SBDebugger_FindDebuggerWithID(lua_State* L) {
21599   {
21600     int SWIG_arg = 0;
21601     int arg1 ;
21602     lldb::SBDebugger result;
21603 
21604     SWIG_check_num_args("lldb::SBDebugger::FindDebuggerWithID",1,1)
21605     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBDebugger::FindDebuggerWithID",1,"int");
21606     arg1 = (int)lua_tointeger(L, 1);
21607     result = lldb::SBDebugger::FindDebuggerWithID(arg1);
21608     {
21609       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
21610       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
21611     }
21612     return SWIG_arg;
21613 
21614     fail: SWIGUNUSED;
21615   }
21616   lua_error(L);
21617   return 0;
21618 }
21619 
21620 
_wrap_SBDebugger_SetInternalVariable(lua_State * L)21621 static int _wrap_SBDebugger_SetInternalVariable(lua_State* L) {
21622   {
21623     int SWIG_arg = 0;
21624     char *arg1 = (char *) 0 ;
21625     char *arg2 = (char *) 0 ;
21626     char *arg3 = (char *) 0 ;
21627     lldb::SBError result;
21628 
21629     SWIG_check_num_args("lldb::SBDebugger::SetInternalVariable",3,3)
21630     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",1,"char const *");
21631     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",2,"char const *");
21632     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::SetInternalVariable",3,"char const *");
21633     arg1 = (char *)lua_tostring(L, 1);
21634     arg2 = (char *)lua_tostring(L, 2);
21635     arg3 = (char *)lua_tostring(L, 3);
21636     result = lldb::SBDebugger::SetInternalVariable((char const *)arg1,(char const *)arg2,(char const *)arg3);
21637     {
21638       lldb::SBError * resultptr = new lldb::SBError(result);
21639       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
21640     }
21641     return SWIG_arg;
21642 
21643     fail: SWIGUNUSED;
21644   }
21645   lua_error(L);
21646   return 0;
21647 }
21648 
21649 
_wrap_SBDebugger_GetInternalVariableValue(lua_State * L)21650 static int _wrap_SBDebugger_GetInternalVariableValue(lua_State* L) {
21651   {
21652     int SWIG_arg = 0;
21653     char *arg1 = (char *) 0 ;
21654     char *arg2 = (char *) 0 ;
21655     lldb::SBStringList result;
21656 
21657     SWIG_check_num_args("lldb::SBDebugger::GetInternalVariableValue",2,2)
21658     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",1,"char const *");
21659     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetInternalVariableValue",2,"char const *");
21660     arg1 = (char *)lua_tostring(L, 1);
21661     arg2 = (char *)lua_tostring(L, 2);
21662     result = lldb::SBDebugger::GetInternalVariableValue((char const *)arg1,(char const *)arg2);
21663     {
21664       lldb::SBStringList * resultptr = new lldb::SBStringList(result);
21665       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++;
21666     }
21667     return SWIG_arg;
21668 
21669     fail: SWIGUNUSED;
21670   }
21671   lua_error(L);
21672   return 0;
21673 }
21674 
21675 
_wrap_SBDebugger_GetDescription(lua_State * L)21676 static int _wrap_SBDebugger_GetDescription(lua_State* L) {
21677   {
21678     int SWIG_arg = 0;
21679     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21680     lldb::SBStream *arg2 = 0 ;
21681     bool result;
21682 
21683     SWIG_check_num_args("lldb::SBDebugger::GetDescription",2,2)
21684     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",1,"lldb::SBDebugger *");
21685     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetDescription",2,"lldb::SBStream &");
21686 
21687     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21688       SWIG_fail_ptr("SBDebugger_GetDescription",1,SWIGTYPE_p_lldb__SBDebugger);
21689     }
21690 
21691 
21692     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
21693       SWIG_fail_ptr("SBDebugger_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
21694     }
21695 
21696     result = (bool)(arg1)->GetDescription(*arg2);
21697     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21698     return SWIG_arg;
21699 
21700     fail: SWIGUNUSED;
21701   }
21702   lua_error(L);
21703   return 0;
21704 }
21705 
21706 
_wrap_SBDebugger_GetTerminalWidth(lua_State * L)21707 static int _wrap_SBDebugger_GetTerminalWidth(lua_State* L) {
21708   {
21709     int SWIG_arg = 0;
21710     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21711     uint32_t result;
21712 
21713     SWIG_check_num_args("lldb::SBDebugger::GetTerminalWidth",1,1)
21714     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetTerminalWidth",1,"lldb::SBDebugger const *");
21715 
21716     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21717       SWIG_fail_ptr("SBDebugger_GetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger);
21718     }
21719 
21720     result = (uint32_t)((lldb::SBDebugger const *)arg1)->GetTerminalWidth();
21721     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
21722     return SWIG_arg;
21723 
21724     fail: SWIGUNUSED;
21725   }
21726   lua_error(L);
21727   return 0;
21728 }
21729 
21730 
_wrap_SBDebugger_SetTerminalWidth(lua_State * L)21731 static int _wrap_SBDebugger_SetTerminalWidth(lua_State* L) {
21732   {
21733     int SWIG_arg = 0;
21734     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21735     uint32_t arg2 ;
21736 
21737     SWIG_check_num_args("lldb::SBDebugger::SetTerminalWidth",2,2)
21738     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",1,"lldb::SBDebugger *");
21739     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetTerminalWidth",2,"uint32_t");
21740 
21741     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21742       SWIG_fail_ptr("SBDebugger_SetTerminalWidth",1,SWIGTYPE_p_lldb__SBDebugger);
21743     }
21744 
21745     arg2 = (uint32_t)lua_tointeger(L, 2);
21746     (arg1)->SetTerminalWidth(arg2);
21747 
21748     return SWIG_arg;
21749 
21750     fail: SWIGUNUSED;
21751   }
21752   lua_error(L);
21753   return 0;
21754 }
21755 
21756 
_wrap_SBDebugger_GetID(lua_State * L)21757 static int _wrap_SBDebugger_GetID(lua_State* L) {
21758   {
21759     int SWIG_arg = 0;
21760     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21761     lldb::user_id_t result;
21762 
21763     SWIG_check_num_args("lldb::SBDebugger::GetID",1,1)
21764     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetID",1,"lldb::SBDebugger *");
21765 
21766     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21767       SWIG_fail_ptr("SBDebugger_GetID",1,SWIGTYPE_p_lldb__SBDebugger);
21768     }
21769 
21770     result = (lldb::user_id_t)(arg1)->GetID();
21771     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
21772     return SWIG_arg;
21773 
21774     fail: SWIGUNUSED;
21775   }
21776   lua_error(L);
21777   return 0;
21778 }
21779 
21780 
_wrap_SBDebugger_GetPrompt(lua_State * L)21781 static int _wrap_SBDebugger_GetPrompt(lua_State* L) {
21782   {
21783     int SWIG_arg = 0;
21784     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21785     char *result = 0 ;
21786 
21787     SWIG_check_num_args("lldb::SBDebugger::GetPrompt",1,1)
21788     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetPrompt",1,"lldb::SBDebugger const *");
21789 
21790     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21791       SWIG_fail_ptr("SBDebugger_GetPrompt",1,SWIGTYPE_p_lldb__SBDebugger);
21792     }
21793 
21794     result = (char *)((lldb::SBDebugger const *)arg1)->GetPrompt();
21795     lua_pushstring(L,(const char *)result); SWIG_arg++;
21796     return SWIG_arg;
21797 
21798     fail: SWIGUNUSED;
21799   }
21800   lua_error(L);
21801   return 0;
21802 }
21803 
21804 
_wrap_SBDebugger_SetPrompt(lua_State * L)21805 static int _wrap_SBDebugger_SetPrompt(lua_State* L) {
21806   {
21807     int SWIG_arg = 0;
21808     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21809     char *arg2 = (char *) 0 ;
21810 
21811     SWIG_check_num_args("lldb::SBDebugger::SetPrompt",2,2)
21812     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",1,"lldb::SBDebugger *");
21813     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetPrompt",2,"char const *");
21814 
21815     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21816       SWIG_fail_ptr("SBDebugger_SetPrompt",1,SWIGTYPE_p_lldb__SBDebugger);
21817     }
21818 
21819     arg2 = (char *)lua_tostring(L, 2);
21820     (arg1)->SetPrompt((char const *)arg2);
21821 
21822     return SWIG_arg;
21823 
21824     fail: SWIGUNUSED;
21825   }
21826   lua_error(L);
21827   return 0;
21828 }
21829 
21830 
_wrap_SBDebugger_GetReproducerPath(lua_State * L)21831 static int _wrap_SBDebugger_GetReproducerPath(lua_State* L) {
21832   {
21833     int SWIG_arg = 0;
21834     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21835     char *result = 0 ;
21836 
21837     SWIG_check_num_args("lldb::SBDebugger::GetReproducerPath",1,1)
21838     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetReproducerPath",1,"lldb::SBDebugger const *");
21839 
21840     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21841       SWIG_fail_ptr("SBDebugger_GetReproducerPath",1,SWIGTYPE_p_lldb__SBDebugger);
21842     }
21843 
21844     result = (char *)((lldb::SBDebugger const *)arg1)->GetReproducerPath();
21845     lua_pushstring(L,(const char *)result); SWIG_arg++;
21846     return SWIG_arg;
21847 
21848     fail: SWIGUNUSED;
21849   }
21850   lua_error(L);
21851   return 0;
21852 }
21853 
21854 
_wrap_SBDebugger_GetScriptLanguage(lua_State * L)21855 static int _wrap_SBDebugger_GetScriptLanguage(lua_State* L) {
21856   {
21857     int SWIG_arg = 0;
21858     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21859     lldb::ScriptLanguage result;
21860 
21861     SWIG_check_num_args("lldb::SBDebugger::GetScriptLanguage",1,1)
21862     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetScriptLanguage",1,"lldb::SBDebugger const *");
21863 
21864     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21865       SWIG_fail_ptr("SBDebugger_GetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger);
21866     }
21867 
21868     result = (lldb::ScriptLanguage)((lldb::SBDebugger const *)arg1)->GetScriptLanguage();
21869     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
21870     return SWIG_arg;
21871 
21872     fail: SWIGUNUSED;
21873   }
21874   lua_error(L);
21875   return 0;
21876 }
21877 
21878 
_wrap_SBDebugger_SetScriptLanguage(lua_State * L)21879 static int _wrap_SBDebugger_SetScriptLanguage(lua_State* L) {
21880   {
21881     int SWIG_arg = 0;
21882     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21883     lldb::ScriptLanguage arg2 ;
21884 
21885     SWIG_check_num_args("lldb::SBDebugger::SetScriptLanguage",2,2)
21886     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",1,"lldb::SBDebugger *");
21887     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetScriptLanguage",2,"lldb::ScriptLanguage");
21888 
21889     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21890       SWIG_fail_ptr("SBDebugger_SetScriptLanguage",1,SWIGTYPE_p_lldb__SBDebugger);
21891     }
21892 
21893     arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2);
21894     (arg1)->SetScriptLanguage(arg2);
21895 
21896     return SWIG_arg;
21897 
21898     fail: SWIGUNUSED;
21899   }
21900   lua_error(L);
21901   return 0;
21902 }
21903 
21904 
_wrap_SBDebugger_GetREPLLanguage(lua_State * L)21905 static int _wrap_SBDebugger_GetREPLLanguage(lua_State* L) {
21906   {
21907     int SWIG_arg = 0;
21908     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21909     lldb::LanguageType result;
21910 
21911     SWIG_check_num_args("lldb::SBDebugger::GetREPLLanguage",1,1)
21912     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetREPLLanguage",1,"lldb::SBDebugger const *");
21913 
21914     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21915       SWIG_fail_ptr("SBDebugger_GetREPLLanguage",1,SWIGTYPE_p_lldb__SBDebugger);
21916     }
21917 
21918     result = (lldb::LanguageType)((lldb::SBDebugger const *)arg1)->GetREPLLanguage();
21919     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
21920     return SWIG_arg;
21921 
21922     fail: SWIGUNUSED;
21923   }
21924   lua_error(L);
21925   return 0;
21926 }
21927 
21928 
_wrap_SBDebugger_SetREPLLanguage(lua_State * L)21929 static int _wrap_SBDebugger_SetREPLLanguage(lua_State* L) {
21930   {
21931     int SWIG_arg = 0;
21932     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21933     lldb::LanguageType arg2 ;
21934 
21935     SWIG_check_num_args("lldb::SBDebugger::SetREPLLanguage",2,2)
21936     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetREPLLanguage",1,"lldb::SBDebugger *");
21937     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetREPLLanguage",2,"lldb::LanguageType");
21938 
21939     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21940       SWIG_fail_ptr("SBDebugger_SetREPLLanguage",1,SWIGTYPE_p_lldb__SBDebugger);
21941     }
21942 
21943     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
21944     (arg1)->SetREPLLanguage(arg2);
21945 
21946     return SWIG_arg;
21947 
21948     fail: SWIGUNUSED;
21949   }
21950   lua_error(L);
21951   return 0;
21952 }
21953 
21954 
_wrap_SBDebugger_GetCloseInputOnEOF(lua_State * L)21955 static int _wrap_SBDebugger_GetCloseInputOnEOF(lua_State* L) {
21956   {
21957     int SWIG_arg = 0;
21958     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21959     bool result;
21960 
21961     SWIG_check_num_args("lldb::SBDebugger::GetCloseInputOnEOF",1,1)
21962     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCloseInputOnEOF",1,"lldb::SBDebugger const *");
21963 
21964     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21965       SWIG_fail_ptr("SBDebugger_GetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger);
21966     }
21967 
21968     result = (bool)((lldb::SBDebugger const *)arg1)->GetCloseInputOnEOF();
21969     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
21970     return SWIG_arg;
21971 
21972     fail: SWIGUNUSED;
21973   }
21974   lua_error(L);
21975   return 0;
21976 }
21977 
21978 
_wrap_SBDebugger_SetCloseInputOnEOF(lua_State * L)21979 static int _wrap_SBDebugger_SetCloseInputOnEOF(lua_State* L) {
21980   {
21981     int SWIG_arg = 0;
21982     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
21983     bool arg2 ;
21984 
21985     SWIG_check_num_args("lldb::SBDebugger::SetCloseInputOnEOF",2,2)
21986     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",1,"lldb::SBDebugger *");
21987     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::SetCloseInputOnEOF",2,"bool");
21988 
21989     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
21990       SWIG_fail_ptr("SBDebugger_SetCloseInputOnEOF",1,SWIGTYPE_p_lldb__SBDebugger);
21991     }
21992 
21993     arg2 = (lua_toboolean(L, 2)!=0);
21994     (arg1)->SetCloseInputOnEOF(arg2);
21995 
21996     return SWIG_arg;
21997 
21998     fail: SWIGUNUSED;
21999   }
22000   lua_error(L);
22001   return 0;
22002 }
22003 
22004 
_wrap_SBDebugger_GetCategory__SWIG_0(lua_State * L)22005 static int _wrap_SBDebugger_GetCategory__SWIG_0(lua_State* L) {
22006   {
22007     int SWIG_arg = 0;
22008     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22009     char *arg2 = (char *) 0 ;
22010     lldb::SBTypeCategory result;
22011 
22012     SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2)
22013     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *");
22014     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"char const *");
22015 
22016     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22017       SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger);
22018     }
22019 
22020     arg2 = (char *)lua_tostring(L, 2);
22021     result = (arg1)->GetCategory((char const *)arg2);
22022     {
22023       lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result);
22024       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
22025     }
22026     return SWIG_arg;
22027 
22028     fail: SWIGUNUSED;
22029   }
22030   lua_error(L);
22031   return 0;
22032 }
22033 
22034 
_wrap_SBDebugger_GetCategory__SWIG_1(lua_State * L)22035 static int _wrap_SBDebugger_GetCategory__SWIG_1(lua_State* L) {
22036   {
22037     int SWIG_arg = 0;
22038     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22039     lldb::LanguageType arg2 ;
22040     lldb::SBTypeCategory result;
22041 
22042     SWIG_check_num_args("lldb::SBDebugger::GetCategory",2,2)
22043     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",1,"lldb::SBDebugger *");
22044     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategory",2,"lldb::LanguageType");
22045 
22046     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22047       SWIG_fail_ptr("SBDebugger_GetCategory",1,SWIGTYPE_p_lldb__SBDebugger);
22048     }
22049 
22050     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
22051     result = (arg1)->GetCategory(arg2);
22052     {
22053       lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result);
22054       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
22055     }
22056     return SWIG_arg;
22057 
22058     fail: SWIGUNUSED;
22059   }
22060   lua_error(L);
22061   return 0;
22062 }
22063 
22064 
_wrap_SBDebugger_GetCategory(lua_State * L)22065 static int _wrap_SBDebugger_GetCategory(lua_State* L) {
22066   int argc;
22067   int argv[3]={
22068     1,2,3
22069   };
22070 
22071   argc = lua_gettop(L);
22072   if (argc == 2) {
22073     int _v = 0;
22074     {
22075       void *ptr;
22076       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
22077         _v = 0;
22078       } else {
22079         _v = 1;
22080       }
22081     }
22082     if (_v) {
22083       {
22084         _v = lua_isnumber(L,argv[1]);
22085       }
22086       if (_v) {
22087         return _wrap_SBDebugger_GetCategory__SWIG_1(L);
22088       }
22089     }
22090   }
22091   if (argc == 2) {
22092     int _v = 0;
22093     {
22094       void *ptr;
22095       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, 0)) {
22096         _v = 0;
22097       } else {
22098         _v = 1;
22099       }
22100     }
22101     if (_v) {
22102       {
22103         _v = SWIG_lua_isnilstring(L,argv[1]);
22104       }
22105       if (_v) {
22106         return _wrap_SBDebugger_GetCategory__SWIG_0(L);
22107       }
22108     }
22109   }
22110 
22111   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBDebugger_GetCategory'\n"
22112     "  Possible C/C++ prototypes are:\n"
22113     "    lldb::SBDebugger::GetCategory(char const *)\n"
22114     "    lldb::SBDebugger::GetCategory(lldb::LanguageType)\n");
22115   lua_error(L);return 0;
22116 }
22117 
22118 
_wrap_SBDebugger_CreateCategory(lua_State * L)22119 static int _wrap_SBDebugger_CreateCategory(lua_State* L) {
22120   {
22121     int SWIG_arg = 0;
22122     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22123     char *arg2 = (char *) 0 ;
22124     lldb::SBTypeCategory result;
22125 
22126     SWIG_check_num_args("lldb::SBDebugger::CreateCategory",2,2)
22127     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",1,"lldb::SBDebugger *");
22128     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::CreateCategory",2,"char const *");
22129 
22130     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22131       SWIG_fail_ptr("SBDebugger_CreateCategory",1,SWIGTYPE_p_lldb__SBDebugger);
22132     }
22133 
22134     arg2 = (char *)lua_tostring(L, 2);
22135     result = (arg1)->CreateCategory((char const *)arg2);
22136     {
22137       lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result);
22138       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
22139     }
22140     return SWIG_arg;
22141 
22142     fail: SWIGUNUSED;
22143   }
22144   lua_error(L);
22145   return 0;
22146 }
22147 
22148 
_wrap_SBDebugger_DeleteCategory(lua_State * L)22149 static int _wrap_SBDebugger_DeleteCategory(lua_State* L) {
22150   {
22151     int SWIG_arg = 0;
22152     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22153     char *arg2 = (char *) 0 ;
22154     bool result;
22155 
22156     SWIG_check_num_args("lldb::SBDebugger::DeleteCategory",2,2)
22157     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",1,"lldb::SBDebugger *");
22158     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBDebugger::DeleteCategory",2,"char const *");
22159 
22160     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22161       SWIG_fail_ptr("SBDebugger_DeleteCategory",1,SWIGTYPE_p_lldb__SBDebugger);
22162     }
22163 
22164     arg2 = (char *)lua_tostring(L, 2);
22165     result = (bool)(arg1)->DeleteCategory((char const *)arg2);
22166     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
22167     return SWIG_arg;
22168 
22169     fail: SWIGUNUSED;
22170   }
22171   lua_error(L);
22172   return 0;
22173 }
22174 
22175 
_wrap_SBDebugger_GetNumCategories(lua_State * L)22176 static int _wrap_SBDebugger_GetNumCategories(lua_State* L) {
22177   {
22178     int SWIG_arg = 0;
22179     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22180     uint32_t result;
22181 
22182     SWIG_check_num_args("lldb::SBDebugger::GetNumCategories",1,1)
22183     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetNumCategories",1,"lldb::SBDebugger *");
22184 
22185     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22186       SWIG_fail_ptr("SBDebugger_GetNumCategories",1,SWIGTYPE_p_lldb__SBDebugger);
22187     }
22188 
22189     result = (uint32_t)(arg1)->GetNumCategories();
22190     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
22191     return SWIG_arg;
22192 
22193     fail: SWIGUNUSED;
22194   }
22195   lua_error(L);
22196   return 0;
22197 }
22198 
22199 
_wrap_SBDebugger_GetCategoryAtIndex(lua_State * L)22200 static int _wrap_SBDebugger_GetCategoryAtIndex(lua_State* L) {
22201   {
22202     int SWIG_arg = 0;
22203     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22204     uint32_t arg2 ;
22205     lldb::SBTypeCategory result;
22206 
22207     SWIG_check_num_args("lldb::SBDebugger::GetCategoryAtIndex",2,2)
22208     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",1,"lldb::SBDebugger *");
22209     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetCategoryAtIndex",2,"uint32_t");
22210 
22211     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22212       SWIG_fail_ptr("SBDebugger_GetCategoryAtIndex",1,SWIGTYPE_p_lldb__SBDebugger);
22213     }
22214 
22215     arg2 = (uint32_t)lua_tointeger(L, 2);
22216     result = (arg1)->GetCategoryAtIndex(arg2);
22217     {
22218       lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result);
22219       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
22220     }
22221     return SWIG_arg;
22222 
22223     fail: SWIGUNUSED;
22224   }
22225   lua_error(L);
22226   return 0;
22227 }
22228 
22229 
_wrap_SBDebugger_GetDefaultCategory(lua_State * L)22230 static int _wrap_SBDebugger_GetDefaultCategory(lua_State* L) {
22231   {
22232     int SWIG_arg = 0;
22233     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22234     lldb::SBTypeCategory result;
22235 
22236     SWIG_check_num_args("lldb::SBDebugger::GetDefaultCategory",1,1)
22237     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetDefaultCategory",1,"lldb::SBDebugger *");
22238 
22239     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22240       SWIG_fail_ptr("SBDebugger_GetDefaultCategory",1,SWIGTYPE_p_lldb__SBDebugger);
22241     }
22242 
22243     result = (arg1)->GetDefaultCategory();
22244     {
22245       lldb::SBTypeCategory * resultptr = new lldb::SBTypeCategory(result);
22246       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
22247     }
22248     return SWIG_arg;
22249 
22250     fail: SWIGUNUSED;
22251   }
22252   lua_error(L);
22253   return 0;
22254 }
22255 
22256 
_wrap_SBDebugger_GetFormatForType(lua_State * L)22257 static int _wrap_SBDebugger_GetFormatForType(lua_State* L) {
22258   {
22259     int SWIG_arg = 0;
22260     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22261     lldb::SBTypeNameSpecifier arg2 ;
22262     lldb::SBTypeNameSpecifier *argp2 ;
22263     lldb::SBTypeFormat result;
22264 
22265     SWIG_check_num_args("lldb::SBDebugger::GetFormatForType",2,2)
22266     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",1,"lldb::SBDebugger *");
22267     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFormatForType",2,"lldb::SBTypeNameSpecifier");
22268 
22269     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22270       SWIG_fail_ptr("SBDebugger_GetFormatForType",1,SWIGTYPE_p_lldb__SBDebugger);
22271     }
22272 
22273 
22274     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
22275       SWIG_fail_ptr("SBDebugger_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
22276     }
22277     arg2 = *argp2;
22278 
22279     result = (arg1)->GetFormatForType(arg2);
22280     {
22281       lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result);
22282       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
22283     }
22284     return SWIG_arg;
22285 
22286     fail: SWIGUNUSED;
22287   }
22288   lua_error(L);
22289   return 0;
22290 }
22291 
22292 
_wrap_SBDebugger_GetSummaryForType(lua_State * L)22293 static int _wrap_SBDebugger_GetSummaryForType(lua_State* L) {
22294   {
22295     int SWIG_arg = 0;
22296     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22297     lldb::SBTypeNameSpecifier arg2 ;
22298     lldb::SBTypeNameSpecifier *argp2 ;
22299     lldb::SBTypeSummary result;
22300 
22301     SWIG_check_num_args("lldb::SBDebugger::GetSummaryForType",2,2)
22302     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",1,"lldb::SBDebugger *");
22303     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSummaryForType",2,"lldb::SBTypeNameSpecifier");
22304 
22305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22306       SWIG_fail_ptr("SBDebugger_GetSummaryForType",1,SWIGTYPE_p_lldb__SBDebugger);
22307     }
22308 
22309 
22310     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
22311       SWIG_fail_ptr("SBDebugger_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
22312     }
22313     arg2 = *argp2;
22314 
22315     result = (arg1)->GetSummaryForType(arg2);
22316     {
22317       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
22318       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
22319     }
22320     return SWIG_arg;
22321 
22322     fail: SWIGUNUSED;
22323   }
22324   lua_error(L);
22325   return 0;
22326 }
22327 
22328 
_wrap_SBDebugger_GetFilterForType(lua_State * L)22329 static int _wrap_SBDebugger_GetFilterForType(lua_State* L) {
22330   {
22331     int SWIG_arg = 0;
22332     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22333     lldb::SBTypeNameSpecifier arg2 ;
22334     lldb::SBTypeNameSpecifier *argp2 ;
22335     lldb::SBTypeFilter result;
22336 
22337     SWIG_check_num_args("lldb::SBDebugger::GetFilterForType",2,2)
22338     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",1,"lldb::SBDebugger *");
22339     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetFilterForType",2,"lldb::SBTypeNameSpecifier");
22340 
22341     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22342       SWIG_fail_ptr("SBDebugger_GetFilterForType",1,SWIGTYPE_p_lldb__SBDebugger);
22343     }
22344 
22345 
22346     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
22347       SWIG_fail_ptr("SBDebugger_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
22348     }
22349     arg2 = *argp2;
22350 
22351     result = (arg1)->GetFilterForType(arg2);
22352     {
22353       lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result);
22354       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
22355     }
22356     return SWIG_arg;
22357 
22358     fail: SWIGUNUSED;
22359   }
22360   lua_error(L);
22361   return 0;
22362 }
22363 
22364 
_wrap_SBDebugger_GetSyntheticForType(lua_State * L)22365 static int _wrap_SBDebugger_GetSyntheticForType(lua_State* L) {
22366   {
22367     int SWIG_arg = 0;
22368     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22369     lldb::SBTypeNameSpecifier arg2 ;
22370     lldb::SBTypeNameSpecifier *argp2 ;
22371     lldb::SBTypeSynthetic result;
22372 
22373     SWIG_check_num_args("lldb::SBDebugger::GetSyntheticForType",2,2)
22374     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",1,"lldb::SBDebugger *");
22375     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier");
22376 
22377     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22378       SWIG_fail_ptr("SBDebugger_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBDebugger);
22379     }
22380 
22381 
22382     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
22383       SWIG_fail_ptr("SBDebugger_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
22384     }
22385     arg2 = *argp2;
22386 
22387     result = (arg1)->GetSyntheticForType(arg2);
22388     {
22389       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
22390       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
22391     }
22392     return SWIG_arg;
22393 
22394     fail: SWIGUNUSED;
22395   }
22396   lua_error(L);
22397   return 0;
22398 }
22399 
22400 
_wrap_SBDebugger_RunCommandInterpreter(lua_State * L)22401 static int _wrap_SBDebugger_RunCommandInterpreter(lua_State* L) {
22402   {
22403     int SWIG_arg = 0;
22404     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22405     bool arg2 ;
22406     bool arg3 ;
22407     lldb::SBCommandInterpreterRunOptions *arg4 = 0 ;
22408     int *arg5 = 0 ;
22409     bool *arg6 = 0 ;
22410     bool *arg7 = 0 ;
22411     int temp5 ;
22412     bool temp6 ;
22413     bool temp7 ;
22414 
22415     SWIG_check_num_args("lldb::SBDebugger::RunCommandInterpreter",7,7)
22416     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",1,"lldb::SBDebugger *");
22417     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",2,"bool");
22418     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",3,"bool");
22419     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",4,"lldb::SBCommandInterpreterRunOptions &");
22420     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",5,"int &");
22421     if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",6,"bool &");
22422     if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBDebugger::RunCommandInterpreter",7,"bool &");
22423 
22424     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22425       SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",1,SWIGTYPE_p_lldb__SBDebugger);
22426     }
22427 
22428     arg2 = (lua_toboolean(L, 2)!=0);
22429     arg3 = (lua_toboolean(L, 3)!=0);
22430 
22431     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
22432       SWIG_fail_ptr("SBDebugger_RunCommandInterpreter",4,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
22433     }
22434 
22435     temp5 = (int)lua_tointeger(L,5);
22436     arg5 = &temp5;
22437     temp6 = (lua_toboolean(L,6)!=0);
22438     arg6 = &temp6;
22439     temp7 = (lua_toboolean(L,7)!=0);
22440     arg7 = &temp7;
22441     (arg1)->RunCommandInterpreter(arg2,arg3,*arg4,*arg5,*arg6,*arg7);
22442 
22443     lua_pushinteger(L, (lua_Integer) *arg5); SWIG_arg++;
22444     lua_pushboolean(L, (int)((*arg6)!=0)); SWIG_arg++;
22445     lua_pushboolean(L, (int)((*arg7)!=0)); SWIG_arg++;
22446     return SWIG_arg;
22447 
22448     fail: SWIGUNUSED;
22449   }
22450   lua_error(L);
22451   return 0;
22452 }
22453 
22454 
_wrap_SBDebugger_RunREPL(lua_State * L)22455 static int _wrap_SBDebugger_RunREPL(lua_State* L) {
22456   {
22457     int SWIG_arg = 0;
22458     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22459     lldb::LanguageType arg2 ;
22460     char *arg3 = (char *) 0 ;
22461     lldb::SBError result;
22462 
22463     SWIG_check_num_args("lldb::SBDebugger::RunREPL",3,3)
22464     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",1,"lldb::SBDebugger *");
22465     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",2,"lldb::LanguageType");
22466     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBDebugger::RunREPL",3,"char const *");
22467 
22468     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22469       SWIG_fail_ptr("SBDebugger_RunREPL",1,SWIGTYPE_p_lldb__SBDebugger);
22470     }
22471 
22472     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
22473     arg3 = (char *)lua_tostring(L, 3);
22474     result = (arg1)->RunREPL(arg2,(char const *)arg3);
22475     {
22476       lldb::SBError * resultptr = new lldb::SBError(result);
22477       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
22478     }
22479     return SWIG_arg;
22480 
22481     fail: SWIGUNUSED;
22482   }
22483   lua_error(L);
22484   return 0;
22485 }
22486 
22487 
_wrap_SBDebugger_LoadTraceFromFile(lua_State * L)22488 static int _wrap_SBDebugger_LoadTraceFromFile(lua_State* L) {
22489   {
22490     int SWIG_arg = 0;
22491     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22492     lldb::SBError *arg2 = 0 ;
22493     lldb::SBFileSpec *arg3 = 0 ;
22494     lldb::SBTrace result;
22495 
22496     SWIG_check_num_args("lldb::SBDebugger::LoadTraceFromFile",3,3)
22497     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",1,"lldb::SBDebugger *");
22498     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",2,"lldb::SBError &");
22499     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBDebugger::LoadTraceFromFile",3,"lldb::SBFileSpec const &");
22500 
22501     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22502       SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",1,SWIGTYPE_p_lldb__SBDebugger);
22503     }
22504 
22505 
22506     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
22507       SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",2,SWIGTYPE_p_lldb__SBError);
22508     }
22509 
22510 
22511     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
22512       SWIG_fail_ptr("SBDebugger_LoadTraceFromFile",3,SWIGTYPE_p_lldb__SBFileSpec);
22513     }
22514 
22515     result = (arg1)->LoadTraceFromFile(*arg2,(lldb::SBFileSpec const &)*arg3);
22516     {
22517       lldb::SBTrace * resultptr = new lldb::SBTrace(result);
22518       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++;
22519     }
22520     return SWIG_arg;
22521 
22522     fail: SWIGUNUSED;
22523   }
22524   lua_error(L);
22525   return 0;
22526 }
22527 
22528 
_wrap_SBDebugger___tostring(lua_State * L)22529 static int _wrap_SBDebugger___tostring(lua_State* L) {
22530   {
22531     int SWIG_arg = 0;
22532     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22533     std::string result;
22534 
22535     SWIG_check_num_args("lldb::SBDebugger::__repr__",1,1)
22536     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::__repr__",1,"lldb::SBDebugger *");
22537 
22538     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22539       SWIG_fail_ptr("SBDebugger___tostring",1,SWIGTYPE_p_lldb__SBDebugger);
22540     }
22541 
22542     result = lldb_SBDebugger___repr__(arg1);
22543     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
22544     return SWIG_arg;
22545 
22546     fail: SWIGUNUSED;
22547   }
22548   lua_error(L);
22549   return 0;
22550 }
22551 
22552 
_wrap_SBDebugger_GetInputFileHandle(lua_State * L)22553 static int _wrap_SBDebugger_GetInputFileHandle(lua_State* L) {
22554   {
22555     int SWIG_arg = 0;
22556     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22557     SwigValueWrapper< std::shared_ptr< lldb_private::File > > result;
22558 
22559     SWIG_check_num_args("lldb::SBDebugger::GetInputFileHandle",1,1)
22560     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetInputFileHandle",1,"lldb::SBDebugger *");
22561 
22562     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22563       SWIG_fail_ptr("SBDebugger_GetInputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger);
22564     }
22565 
22566     result = lldb_SBDebugger_GetInputFileHandle(arg1);
22567     {
22568       lldb::FileSP sp = result;
22569       if (sp && sp->IsValid()) {
22570         luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
22571         p->closef = &LLDBSwigLuaCloseFileHandle;
22572         p->f = sp->GetStream();
22573         luaL_setmetatable(L, LUA_FILEHANDLE);
22574         SWIG_arg++;
22575       }
22576     }
22577     return SWIG_arg;
22578 
22579     fail: SWIGUNUSED;
22580   }
22581   lua_error(L);
22582   return 0;
22583 }
22584 
22585 
_wrap_SBDebugger_GetOutputFileHandle(lua_State * L)22586 static int _wrap_SBDebugger_GetOutputFileHandle(lua_State* L) {
22587   {
22588     int SWIG_arg = 0;
22589     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22590     SwigValueWrapper< std::shared_ptr< lldb_private::File > > result;
22591 
22592     SWIG_check_num_args("lldb::SBDebugger::GetOutputFileHandle",1,1)
22593     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetOutputFileHandle",1,"lldb::SBDebugger *");
22594 
22595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22596       SWIG_fail_ptr("SBDebugger_GetOutputFileHandle",1,SWIGTYPE_p_lldb__SBDebugger);
22597     }
22598 
22599     result = lldb_SBDebugger_GetOutputFileHandle(arg1);
22600     {
22601       lldb::FileSP sp = result;
22602       if (sp && sp->IsValid()) {
22603         luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
22604         p->closef = &LLDBSwigLuaCloseFileHandle;
22605         p->f = sp->GetStream();
22606         luaL_setmetatable(L, LUA_FILEHANDLE);
22607         SWIG_arg++;
22608       }
22609     }
22610     return SWIG_arg;
22611 
22612     fail: SWIGUNUSED;
22613   }
22614   lua_error(L);
22615   return 0;
22616 }
22617 
22618 
_wrap_SBDebugger_GetErrorFileHandle(lua_State * L)22619 static int _wrap_SBDebugger_GetErrorFileHandle(lua_State* L) {
22620   {
22621     int SWIG_arg = 0;
22622     lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
22623     SwigValueWrapper< std::shared_ptr< lldb_private::File > > result;
22624 
22625     SWIG_check_num_args("lldb::SBDebugger::GetErrorFileHandle",1,1)
22626     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetErrorFileHandle",1,"lldb::SBDebugger *");
22627 
22628     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
22629       SWIG_fail_ptr("SBDebugger_GetErrorFileHandle",1,SWIGTYPE_p_lldb__SBDebugger);
22630     }
22631 
22632     result = lldb_SBDebugger_GetErrorFileHandle(arg1);
22633     {
22634       lldb::FileSP sp = result;
22635       if (sp && sp->IsValid()) {
22636         luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
22637         p->closef = &LLDBSwigLuaCloseFileHandle;
22638         p->f = sp->GetStream();
22639         luaL_setmetatable(L, LUA_FILEHANDLE);
22640         SWIG_arg++;
22641       }
22642     }
22643     return SWIG_arg;
22644 
22645     fail: SWIGUNUSED;
22646   }
22647   lua_error(L);
22648   return 0;
22649 }
22650 
22651 
swig_delete_SBDebugger(void * obj)22652 static void swig_delete_SBDebugger(void *obj) {
22653 lldb::SBDebugger *arg1 = (lldb::SBDebugger *) obj;
22654 delete arg1;
22655 }
_proxy__wrap_new_SBDebugger(lua_State * L)22656 static int _proxy__wrap_new_SBDebugger(lua_State *L) {
22657     assert(lua_istable(L,1));
22658     lua_pushcfunction(L,_wrap_new_SBDebugger);
22659     assert(!lua_isnil(L,-1));
22660     lua_replace(L,1); /* replace our table with real constructor */
22661     lua_call(L,lua_gettop(L)-1,1);
22662     return 1;
22663 }
22664 static swig_lua_attribute swig_SBDebugger_attributes[] = {
22665     {0,0,0}
22666 };
22667 static swig_lua_method swig_SBDebugger_methods[]= {
22668     { "GetBroadcaster", _wrap_SBDebugger_GetBroadcaster},
22669     { "IsValid", _wrap_SBDebugger_IsValid},
22670     { "Clear", _wrap_SBDebugger_Clear},
22671     { "GetSetting", _wrap_SBDebugger_GetSetting},
22672     { "SetAsync", _wrap_SBDebugger_SetAsync},
22673     { "GetAsync", _wrap_SBDebugger_GetAsync},
22674     { "SkipLLDBInitFiles", _wrap_SBDebugger_SkipLLDBInitFiles},
22675     { "SkipAppInitFiles", _wrap_SBDebugger_SkipAppInitFiles},
22676     { "SetInputString", _wrap_SBDebugger_SetInputString},
22677     { "SetInputFile", _wrap_SBDebugger_SetInputFile},
22678     { "SetOutputFile", _wrap_SBDebugger_SetOutputFile},
22679     { "SetErrorFile", _wrap_SBDebugger_SetErrorFile},
22680     { "GetInputFile", _wrap_SBDebugger_GetInputFile},
22681     { "GetOutputFile", _wrap_SBDebugger_GetOutputFile},
22682     { "GetErrorFile", _wrap_SBDebugger_GetErrorFile},
22683     { "SaveInputTerminalState", _wrap_SBDebugger_SaveInputTerminalState},
22684     { "RestoreInputTerminalState", _wrap_SBDebugger_RestoreInputTerminalState},
22685     { "GetCommandInterpreter", _wrap_SBDebugger_GetCommandInterpreter},
22686     { "HandleCommand", _wrap_SBDebugger_HandleCommand},
22687     { "RequestInterrupt", _wrap_SBDebugger_RequestInterrupt},
22688     { "CancelInterruptRequest", _wrap_SBDebugger_CancelInterruptRequest},
22689     { "InterruptRequested", _wrap_SBDebugger_InterruptRequested},
22690     { "GetListener", _wrap_SBDebugger_GetListener},
22691     { "HandleProcessEvent", _wrap_SBDebugger_HandleProcessEvent},
22692     { "CreateTargetWithFileAndTargetTriple", _wrap_SBDebugger_CreateTargetWithFileAndTargetTriple},
22693     { "CreateTargetWithFileAndArch", _wrap_SBDebugger_CreateTargetWithFileAndArch},
22694     { "CreateTarget", _wrap_SBDebugger_CreateTarget},
22695     { "GetDummyTarget", _wrap_SBDebugger_GetDummyTarget},
22696     { "DeleteTarget", _wrap_SBDebugger_DeleteTarget},
22697     { "GetTargetAtIndex", _wrap_SBDebugger_GetTargetAtIndex},
22698     { "GetIndexOfTarget", _wrap_SBDebugger_GetIndexOfTarget},
22699     { "FindTargetWithProcessID", _wrap_SBDebugger_FindTargetWithProcessID},
22700     { "FindTargetWithFileAndArch", _wrap_SBDebugger_FindTargetWithFileAndArch},
22701     { "GetNumTargets", _wrap_SBDebugger_GetNumTargets},
22702     { "GetSelectedTarget", _wrap_SBDebugger_GetSelectedTarget},
22703     { "SetSelectedTarget", _wrap_SBDebugger_SetSelectedTarget},
22704     { "GetSelectedPlatform", _wrap_SBDebugger_GetSelectedPlatform},
22705     { "SetSelectedPlatform", _wrap_SBDebugger_SetSelectedPlatform},
22706     { "GetNumPlatforms", _wrap_SBDebugger_GetNumPlatforms},
22707     { "GetPlatformAtIndex", _wrap_SBDebugger_GetPlatformAtIndex},
22708     { "GetNumAvailablePlatforms", _wrap_SBDebugger_GetNumAvailablePlatforms},
22709     { "GetAvailablePlatformInfoAtIndex", _wrap_SBDebugger_GetAvailablePlatformInfoAtIndex},
22710     { "GetSourceManager", _wrap_SBDebugger_GetSourceManager},
22711     { "SetCurrentPlatform", _wrap_SBDebugger_SetCurrentPlatform},
22712     { "SetCurrentPlatformSDKRoot", _wrap_SBDebugger_SetCurrentPlatformSDKRoot},
22713     { "SetUseExternalEditor", _wrap_SBDebugger_SetUseExternalEditor},
22714     { "GetUseExternalEditor", _wrap_SBDebugger_GetUseExternalEditor},
22715     { "SetUseColor", _wrap_SBDebugger_SetUseColor},
22716     { "GetUseColor", _wrap_SBDebugger_GetUseColor},
22717     { "SetUseSourceCache", _wrap_SBDebugger_SetUseSourceCache},
22718     { "GetUseSourceCache", _wrap_SBDebugger_GetUseSourceCache},
22719     { "GetScriptingLanguage", _wrap_SBDebugger_GetScriptingLanguage},
22720     { "GetScriptInterpreterInfo", _wrap_SBDebugger_GetScriptInterpreterInfo},
22721     { "EnableLog", _wrap_SBDebugger_EnableLog},
22722     { "SetLoggingCallback", _wrap_SBDebugger_SetLoggingCallback},
22723     { "SetDestroyCallback", _wrap_SBDebugger_SetDestroyCallback},
22724     { "DispatchInput", _wrap_SBDebugger_DispatchInput},
22725     { "DispatchInputInterrupt", _wrap_SBDebugger_DispatchInputInterrupt},
22726     { "DispatchInputEndOfFile", _wrap_SBDebugger_DispatchInputEndOfFile},
22727     { "GetInstanceName", _wrap_SBDebugger_GetInstanceName},
22728     { "GetDescription", _wrap_SBDebugger_GetDescription},
22729     { "GetTerminalWidth", _wrap_SBDebugger_GetTerminalWidth},
22730     { "SetTerminalWidth", _wrap_SBDebugger_SetTerminalWidth},
22731     { "GetID", _wrap_SBDebugger_GetID},
22732     { "GetPrompt", _wrap_SBDebugger_GetPrompt},
22733     { "SetPrompt", _wrap_SBDebugger_SetPrompt},
22734     { "GetReproducerPath", _wrap_SBDebugger_GetReproducerPath},
22735     { "GetScriptLanguage", _wrap_SBDebugger_GetScriptLanguage},
22736     { "SetScriptLanguage", _wrap_SBDebugger_SetScriptLanguage},
22737     { "GetREPLLanguage", _wrap_SBDebugger_GetREPLLanguage},
22738     { "SetREPLLanguage", _wrap_SBDebugger_SetREPLLanguage},
22739     { "GetCloseInputOnEOF", _wrap_SBDebugger_GetCloseInputOnEOF},
22740     { "SetCloseInputOnEOF", _wrap_SBDebugger_SetCloseInputOnEOF},
22741     { "GetCategory", _wrap_SBDebugger_GetCategory},
22742     { "CreateCategory", _wrap_SBDebugger_CreateCategory},
22743     { "DeleteCategory", _wrap_SBDebugger_DeleteCategory},
22744     { "GetNumCategories", _wrap_SBDebugger_GetNumCategories},
22745     { "GetCategoryAtIndex", _wrap_SBDebugger_GetCategoryAtIndex},
22746     { "GetDefaultCategory", _wrap_SBDebugger_GetDefaultCategory},
22747     { "GetFormatForType", _wrap_SBDebugger_GetFormatForType},
22748     { "GetSummaryForType", _wrap_SBDebugger_GetSummaryForType},
22749     { "GetFilterForType", _wrap_SBDebugger_GetFilterForType},
22750     { "GetSyntheticForType", _wrap_SBDebugger_GetSyntheticForType},
22751     { "RunCommandInterpreter", _wrap_SBDebugger_RunCommandInterpreter},
22752     { "RunREPL", _wrap_SBDebugger_RunREPL},
22753     { "LoadTraceFromFile", _wrap_SBDebugger_LoadTraceFromFile},
22754     { "__tostring", _wrap_SBDebugger___tostring},
22755     { "GetInputFileHandle", _wrap_SBDebugger_GetInputFileHandle},
22756     { "GetOutputFileHandle", _wrap_SBDebugger_GetOutputFileHandle},
22757     { "GetErrorFileHandle", _wrap_SBDebugger_GetErrorFileHandle},
22758     {0,0}
22759 };
22760 static swig_lua_method swig_SBDebugger_meta[] = {
22761     { "__tostring", _wrap_SBDebugger___tostring},
22762     {0,0}
22763 };
22764 
22765 static swig_lua_attribute swig_SBDebugger_Sf_SwigStatic_attributes[] = {
22766     {0,0,0}
22767 };
22768 static swig_lua_const_info swig_SBDebugger_Sf_SwigStatic_constants[]= {
22769     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitProgress", lldb::SBDebugger::eBroadcastBitProgress)},
22770     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitWarning", lldb::SBDebugger::eBroadcastBitWarning)},
22771     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitError", lldb::SBDebugger::eBroadcastBitError)},
22772     {0,0,0,0,0,0}
22773 };
22774 static swig_lua_method swig_SBDebugger_Sf_SwigStatic_methods[]= {
22775     { "GetBroadcasterClass", _wrap_SBDebugger_GetBroadcasterClass},
22776     { "GetProgressFromEvent", _wrap_SBDebugger_GetProgressFromEvent},
22777     { "GetProgressDataFromEvent", _wrap_SBDebugger_GetProgressDataFromEvent},
22778     { "GetDiagnosticFromEvent", _wrap_SBDebugger_GetDiagnosticFromEvent},
22779     { "Initialize", _wrap_SBDebugger_Initialize},
22780     { "InitializeWithErrorHandling", _wrap_SBDebugger_InitializeWithErrorHandling},
22781     { "PrintStackTraceOnError", _wrap_SBDebugger_PrintStackTraceOnError},
22782     { "PrintDiagnosticsOnError", _wrap_SBDebugger_PrintDiagnosticsOnError},
22783     { "Terminate", _wrap_SBDebugger_Terminate},
22784     { "Create", _wrap_SBDebugger_Create},
22785     { "Destroy", _wrap_SBDebugger_Destroy},
22786     { "MemoryPressureDetected", _wrap_SBDebugger_MemoryPressureDetected},
22787     { "GetDefaultArchitecture", _wrap_SBDebugger_GetDefaultArchitecture},
22788     { "SetDefaultArchitecture", _wrap_SBDebugger_SetDefaultArchitecture},
22789     { "GetVersionString", _wrap_SBDebugger_GetVersionString},
22790     { "StateAsCString", _wrap_SBDebugger_StateAsCString},
22791     { "GetBuildConfiguration", _wrap_SBDebugger_GetBuildConfiguration},
22792     { "StateIsRunningState", _wrap_SBDebugger_StateIsRunningState},
22793     { "StateIsStoppedState", _wrap_SBDebugger_StateIsStoppedState},
22794     { "FindDebuggerWithID", _wrap_SBDebugger_FindDebuggerWithID},
22795     { "SetInternalVariable", _wrap_SBDebugger_SetInternalVariable},
22796     { "GetInternalVariableValue", _wrap_SBDebugger_GetInternalVariableValue},
22797     {0,0}
22798 };
22799 static swig_lua_class* swig_SBDebugger_Sf_SwigStatic_classes[]= {
22800     0
22801 };
22802 
22803 static swig_lua_namespace swig_SBDebugger_Sf_SwigStatic = {
22804     "SBDebugger",
22805     swig_SBDebugger_Sf_SwigStatic_methods,
22806     swig_SBDebugger_Sf_SwigStatic_attributes,
22807     swig_SBDebugger_Sf_SwigStatic_constants,
22808     swig_SBDebugger_Sf_SwigStatic_classes,
22809     0
22810 };
22811 static swig_lua_class *swig_SBDebugger_bases[] = {0};
22812 static const char *swig_SBDebugger_base_names[] = {0};
22813 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 };
22814 
_wrap_new_SBDeclaration__SWIG_0(lua_State * L)22815 static int _wrap_new_SBDeclaration__SWIG_0(lua_State* L) {
22816   {
22817     int SWIG_arg = 0;
22818     lldb::SBDeclaration *result = 0 ;
22819 
22820     SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",0,0)
22821     result = (lldb::SBDeclaration *)new lldb::SBDeclaration();
22822     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++;
22823     return SWIG_arg;
22824 
22825     fail: SWIGUNUSED;
22826   }
22827   lua_error(L);
22828   return 0;
22829 }
22830 
22831 
_wrap_new_SBDeclaration__SWIG_1(lua_State * L)22832 static int _wrap_new_SBDeclaration__SWIG_1(lua_State* L) {
22833   {
22834     int SWIG_arg = 0;
22835     lldb::SBDeclaration *arg1 = 0 ;
22836     lldb::SBDeclaration *result = 0 ;
22837 
22838     SWIG_check_num_args("lldb::SBDeclaration::SBDeclaration",1,1)
22839     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SBDeclaration",1,"lldb::SBDeclaration const &");
22840 
22841     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
22842       SWIG_fail_ptr("new_SBDeclaration",1,SWIGTYPE_p_lldb__SBDeclaration);
22843     }
22844 
22845     result = (lldb::SBDeclaration *)new lldb::SBDeclaration((lldb::SBDeclaration const &)*arg1);
22846     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++;
22847     return SWIG_arg;
22848 
22849     fail: SWIGUNUSED;
22850   }
22851   lua_error(L);
22852   return 0;
22853 }
22854 
22855 
_wrap_new_SBDeclaration(lua_State * L)22856 static int _wrap_new_SBDeclaration(lua_State* L) {
22857   int argc;
22858   int argv[2]={
22859     1,2
22860   };
22861 
22862   argc = lua_gettop(L);
22863   if (argc == 0) {
22864     return _wrap_new_SBDeclaration__SWIG_0(L);
22865   }
22866   if (argc == 1) {
22867     int _v = 0;
22868     {
22869       void *ptr;
22870       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDeclaration, SWIG_POINTER_NO_NULL)) {
22871         _v = 0;
22872       } else {
22873         _v = 1;
22874       }
22875     }
22876     if (_v) {
22877       return _wrap_new_SBDeclaration__SWIG_1(L);
22878     }
22879   }
22880 
22881   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBDeclaration'\n"
22882     "  Possible C/C++ prototypes are:\n"
22883     "    lldb::SBDeclaration::SBDeclaration()\n"
22884     "    lldb::SBDeclaration::SBDeclaration(lldb::SBDeclaration const &)\n");
22885   lua_error(L);return 0;
22886 }
22887 
22888 
_wrap_SBDeclaration_IsValid(lua_State * L)22889 static int _wrap_SBDeclaration_IsValid(lua_State* L) {
22890   {
22891     int SWIG_arg = 0;
22892     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
22893     bool result;
22894 
22895     SWIG_check_num_args("lldb::SBDeclaration::IsValid",1,1)
22896     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::IsValid",1,"lldb::SBDeclaration const *");
22897 
22898     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
22899       SWIG_fail_ptr("SBDeclaration_IsValid",1,SWIGTYPE_p_lldb__SBDeclaration);
22900     }
22901 
22902     result = (bool)((lldb::SBDeclaration const *)arg1)->IsValid();
22903     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
22904     return SWIG_arg;
22905 
22906     fail: SWIGUNUSED;
22907   }
22908   lua_error(L);
22909   return 0;
22910 }
22911 
22912 
_wrap_SBDeclaration_GetFileSpec(lua_State * L)22913 static int _wrap_SBDeclaration_GetFileSpec(lua_State* L) {
22914   {
22915     int SWIG_arg = 0;
22916     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
22917     lldb::SBFileSpec result;
22918 
22919     SWIG_check_num_args("lldb::SBDeclaration::GetFileSpec",1,1)
22920     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetFileSpec",1,"lldb::SBDeclaration const *");
22921 
22922     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
22923       SWIG_fail_ptr("SBDeclaration_GetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration);
22924     }
22925 
22926     result = ((lldb::SBDeclaration const *)arg1)->GetFileSpec();
22927     {
22928       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
22929       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
22930     }
22931     return SWIG_arg;
22932 
22933     fail: SWIGUNUSED;
22934   }
22935   lua_error(L);
22936   return 0;
22937 }
22938 
22939 
_wrap_SBDeclaration_GetLine(lua_State * L)22940 static int _wrap_SBDeclaration_GetLine(lua_State* L) {
22941   {
22942     int SWIG_arg = 0;
22943     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
22944     uint32_t result;
22945 
22946     SWIG_check_num_args("lldb::SBDeclaration::GetLine",1,1)
22947     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetLine",1,"lldb::SBDeclaration const *");
22948 
22949     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
22950       SWIG_fail_ptr("SBDeclaration_GetLine",1,SWIGTYPE_p_lldb__SBDeclaration);
22951     }
22952 
22953     result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetLine();
22954     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
22955     return SWIG_arg;
22956 
22957     fail: SWIGUNUSED;
22958   }
22959   lua_error(L);
22960   return 0;
22961 }
22962 
22963 
_wrap_SBDeclaration_GetColumn(lua_State * L)22964 static int _wrap_SBDeclaration_GetColumn(lua_State* L) {
22965   {
22966     int SWIG_arg = 0;
22967     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
22968     uint32_t result;
22969 
22970     SWIG_check_num_args("lldb::SBDeclaration::GetColumn",1,1)
22971     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetColumn",1,"lldb::SBDeclaration const *");
22972 
22973     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
22974       SWIG_fail_ptr("SBDeclaration_GetColumn",1,SWIGTYPE_p_lldb__SBDeclaration);
22975     }
22976 
22977     result = (uint32_t)((lldb::SBDeclaration const *)arg1)->GetColumn();
22978     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
22979     return SWIG_arg;
22980 
22981     fail: SWIGUNUSED;
22982   }
22983   lua_error(L);
22984   return 0;
22985 }
22986 
22987 
_wrap_SBDeclaration_SetFileSpec(lua_State * L)22988 static int _wrap_SBDeclaration_SetFileSpec(lua_State* L) {
22989   {
22990     int SWIG_arg = 0;
22991     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
22992     lldb::SBFileSpec arg2 ;
22993     lldb::SBFileSpec *argp2 ;
22994 
22995     SWIG_check_num_args("lldb::SBDeclaration::SetFileSpec",2,2)
22996     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",1,"lldb::SBDeclaration *");
22997     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetFileSpec",2,"lldb::SBFileSpec");
22998 
22999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23000       SWIG_fail_ptr("SBDeclaration_SetFileSpec",1,SWIGTYPE_p_lldb__SBDeclaration);
23001     }
23002 
23003 
23004     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){
23005       SWIG_fail_ptr("SBDeclaration_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
23006     }
23007     arg2 = *argp2;
23008 
23009     (arg1)->SetFileSpec(arg2);
23010 
23011     return SWIG_arg;
23012 
23013     fail: SWIGUNUSED;
23014   }
23015   lua_error(L);
23016   return 0;
23017 }
23018 
23019 
_wrap_SBDeclaration_SetLine(lua_State * L)23020 static int _wrap_SBDeclaration_SetLine(lua_State* L) {
23021   {
23022     int SWIG_arg = 0;
23023     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
23024     uint32_t arg2 ;
23025 
23026     SWIG_check_num_args("lldb::SBDeclaration::SetLine",2,2)
23027     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",1,"lldb::SBDeclaration *");
23028     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetLine",2,"uint32_t");
23029 
23030     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23031       SWIG_fail_ptr("SBDeclaration_SetLine",1,SWIGTYPE_p_lldb__SBDeclaration);
23032     }
23033 
23034     arg2 = (uint32_t)lua_tointeger(L, 2);
23035     (arg1)->SetLine(arg2);
23036 
23037     return SWIG_arg;
23038 
23039     fail: SWIGUNUSED;
23040   }
23041   lua_error(L);
23042   return 0;
23043 }
23044 
23045 
_wrap_SBDeclaration_SetColumn(lua_State * L)23046 static int _wrap_SBDeclaration_SetColumn(lua_State* L) {
23047   {
23048     int SWIG_arg = 0;
23049     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
23050     uint32_t arg2 ;
23051 
23052     SWIG_check_num_args("lldb::SBDeclaration::SetColumn",2,2)
23053     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",1,"lldb::SBDeclaration *");
23054     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBDeclaration::SetColumn",2,"uint32_t");
23055 
23056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23057       SWIG_fail_ptr("SBDeclaration_SetColumn",1,SWIGTYPE_p_lldb__SBDeclaration);
23058     }
23059 
23060     arg2 = (uint32_t)lua_tointeger(L, 2);
23061     (arg1)->SetColumn(arg2);
23062 
23063     return SWIG_arg;
23064 
23065     fail: SWIGUNUSED;
23066   }
23067   lua_error(L);
23068   return 0;
23069 }
23070 
23071 
_wrap_SBDeclaration___eq(lua_State * L)23072 static int _wrap_SBDeclaration___eq(lua_State* L) {
23073   {
23074     int SWIG_arg = 0;
23075     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
23076     lldb::SBDeclaration *arg2 = 0 ;
23077     bool result;
23078 
23079     SWIG_check_num_args("lldb::SBDeclaration::operator ==",2,2)
23080     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",1,"lldb::SBDeclaration const *");
23081     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::operator ==",2,"lldb::SBDeclaration const &");
23082 
23083     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23084       SWIG_fail_ptr("SBDeclaration___eq",1,SWIGTYPE_p_lldb__SBDeclaration);
23085     }
23086 
23087 
23088     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDeclaration,0))){
23089       SWIG_fail_ptr("SBDeclaration___eq",2,SWIGTYPE_p_lldb__SBDeclaration);
23090     }
23091 
23092     result = (bool)((lldb::SBDeclaration const *)arg1)->operator ==((lldb::SBDeclaration const &)*arg2);
23093     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23094     return SWIG_arg;
23095 
23096     fail: SWIGUNUSED;
23097   }
23098   lua_error(L);
23099   return 0;
23100 }
23101 
23102 
_wrap_SBDeclaration_GetDescription(lua_State * L)23103 static int _wrap_SBDeclaration_GetDescription(lua_State* L) {
23104   {
23105     int SWIG_arg = 0;
23106     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
23107     lldb::SBStream *arg2 = 0 ;
23108     bool result;
23109 
23110     SWIG_check_num_args("lldb::SBDeclaration::GetDescription",2,2)
23111     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",1,"lldb::SBDeclaration *");
23112     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBDeclaration::GetDescription",2,"lldb::SBStream &");
23113 
23114     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23115       SWIG_fail_ptr("SBDeclaration_GetDescription",1,SWIGTYPE_p_lldb__SBDeclaration);
23116     }
23117 
23118 
23119     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
23120       SWIG_fail_ptr("SBDeclaration_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
23121     }
23122 
23123     result = (bool)(arg1)->GetDescription(*arg2);
23124     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23125     return SWIG_arg;
23126 
23127     fail: SWIGUNUSED;
23128   }
23129   lua_error(L);
23130   return 0;
23131 }
23132 
23133 
_wrap_SBDeclaration___tostring(lua_State * L)23134 static int _wrap_SBDeclaration___tostring(lua_State* L) {
23135   {
23136     int SWIG_arg = 0;
23137     lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) 0 ;
23138     std::string result;
23139 
23140     SWIG_check_num_args("lldb::SBDeclaration::__repr__",1,1)
23141     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDeclaration::__repr__",1,"lldb::SBDeclaration *");
23142 
23143     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDeclaration,0))){
23144       SWIG_fail_ptr("SBDeclaration___tostring",1,SWIGTYPE_p_lldb__SBDeclaration);
23145     }
23146 
23147     result = lldb_SBDeclaration___repr__(arg1);
23148     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
23149     return SWIG_arg;
23150 
23151     fail: SWIGUNUSED;
23152   }
23153   lua_error(L);
23154   return 0;
23155 }
23156 
23157 
swig_delete_SBDeclaration(void * obj)23158 static void swig_delete_SBDeclaration(void *obj) {
23159 lldb::SBDeclaration *arg1 = (lldb::SBDeclaration *) obj;
23160 delete arg1;
23161 }
_proxy__wrap_new_SBDeclaration(lua_State * L)23162 static int _proxy__wrap_new_SBDeclaration(lua_State *L) {
23163     assert(lua_istable(L,1));
23164     lua_pushcfunction(L,_wrap_new_SBDeclaration);
23165     assert(!lua_isnil(L,-1));
23166     lua_replace(L,1); /* replace our table with real constructor */
23167     lua_call(L,lua_gettop(L)-1,1);
23168     return 1;
23169 }
23170 static swig_lua_attribute swig_SBDeclaration_attributes[] = {
23171     {0,0,0}
23172 };
23173 static swig_lua_method swig_SBDeclaration_methods[]= {
23174     { "IsValid", _wrap_SBDeclaration_IsValid},
23175     { "GetFileSpec", _wrap_SBDeclaration_GetFileSpec},
23176     { "GetLine", _wrap_SBDeclaration_GetLine},
23177     { "GetColumn", _wrap_SBDeclaration_GetColumn},
23178     { "SetFileSpec", _wrap_SBDeclaration_SetFileSpec},
23179     { "SetLine", _wrap_SBDeclaration_SetLine},
23180     { "SetColumn", _wrap_SBDeclaration_SetColumn},
23181     { "__eq", _wrap_SBDeclaration___eq},
23182     { "GetDescription", _wrap_SBDeclaration_GetDescription},
23183     { "__tostring", _wrap_SBDeclaration___tostring},
23184     {0,0}
23185 };
23186 static swig_lua_method swig_SBDeclaration_meta[] = {
23187     { "__eq", _wrap_SBDeclaration___eq},
23188     { "__tostring", _wrap_SBDeclaration___tostring},
23189     {0,0}
23190 };
23191 
23192 static swig_lua_attribute swig_SBDeclaration_Sf_SwigStatic_attributes[] = {
23193     {0,0,0}
23194 };
23195 static swig_lua_const_info swig_SBDeclaration_Sf_SwigStatic_constants[]= {
23196     {0,0,0,0,0,0}
23197 };
23198 static swig_lua_method swig_SBDeclaration_Sf_SwigStatic_methods[]= {
23199     {0,0}
23200 };
23201 static swig_lua_class* swig_SBDeclaration_Sf_SwigStatic_classes[]= {
23202     0
23203 };
23204 
23205 static swig_lua_namespace swig_SBDeclaration_Sf_SwigStatic = {
23206     "SBDeclaration",
23207     swig_SBDeclaration_Sf_SwigStatic_methods,
23208     swig_SBDeclaration_Sf_SwigStatic_attributes,
23209     swig_SBDeclaration_Sf_SwigStatic_constants,
23210     swig_SBDeclaration_Sf_SwigStatic_classes,
23211     0
23212 };
23213 static swig_lua_class *swig_SBDeclaration_bases[] = {0};
23214 static const char *swig_SBDeclaration_base_names[] = {0};
23215 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 };
23216 
_wrap_new_SBError__SWIG_0(lua_State * L)23217 static int _wrap_new_SBError__SWIG_0(lua_State* L) {
23218   {
23219     int SWIG_arg = 0;
23220     lldb::SBError *result = 0 ;
23221 
23222     SWIG_check_num_args("lldb::SBError::SBError",0,0)
23223     result = (lldb::SBError *)new lldb::SBError();
23224     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
23225     return SWIG_arg;
23226 
23227     fail: SWIGUNUSED;
23228   }
23229   lua_error(L);
23230   return 0;
23231 }
23232 
23233 
_wrap_new_SBError__SWIG_1(lua_State * L)23234 static int _wrap_new_SBError__SWIG_1(lua_State* L) {
23235   {
23236     int SWIG_arg = 0;
23237     lldb::SBError *arg1 = 0 ;
23238     lldb::SBError *result = 0 ;
23239 
23240     SWIG_check_num_args("lldb::SBError::SBError",1,1)
23241     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBError::SBError",1,"lldb::SBError const &");
23242 
23243     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23244       SWIG_fail_ptr("new_SBError",1,SWIGTYPE_p_lldb__SBError);
23245     }
23246 
23247     result = (lldb::SBError *)new lldb::SBError((lldb::SBError const &)*arg1);
23248     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
23249     return SWIG_arg;
23250 
23251     fail: SWIGUNUSED;
23252   }
23253   lua_error(L);
23254   return 0;
23255 }
23256 
23257 
_wrap_new_SBError__SWIG_2(lua_State * L)23258 static int _wrap_new_SBError__SWIG_2(lua_State* L) {
23259   {
23260     int SWIG_arg = 0;
23261     char *arg1 = (char *) 0 ;
23262     lldb::SBError *result = 0 ;
23263 
23264     SWIG_check_num_args("lldb::SBError::SBError",1,1)
23265     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBError::SBError",1,"char const *");
23266     arg1 = (char *)lua_tostring(L, 1);
23267     result = (lldb::SBError *)new lldb::SBError((char const *)arg1);
23268     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
23269     return SWIG_arg;
23270 
23271     fail: SWIGUNUSED;
23272   }
23273   lua_error(L);
23274   return 0;
23275 }
23276 
23277 
_wrap_new_SBError(lua_State * L)23278 static int _wrap_new_SBError(lua_State* L) {
23279   int argc;
23280   int argv[2]={
23281     1,2
23282   };
23283 
23284   argc = lua_gettop(L);
23285   if (argc == 0) {
23286     return _wrap_new_SBError__SWIG_0(L);
23287   }
23288   if (argc == 1) {
23289     int _v = 0;
23290     {
23291       void *ptr;
23292       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
23293         _v = 0;
23294       } else {
23295         _v = 1;
23296       }
23297     }
23298     if (_v) {
23299       return _wrap_new_SBError__SWIG_1(L);
23300     }
23301   }
23302   if (argc == 1) {
23303     int _v = 0;
23304     {
23305       _v = SWIG_lua_isnilstring(L,argv[0]);
23306     }
23307     if (_v) {
23308       return _wrap_new_SBError__SWIG_2(L);
23309     }
23310   }
23311 
23312   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBError'\n"
23313     "  Possible C/C++ prototypes are:\n"
23314     "    lldb::SBError::SBError()\n"
23315     "    lldb::SBError::SBError(lldb::SBError const &)\n"
23316     "    lldb::SBError::SBError(char const *)\n");
23317   lua_error(L);return 0;
23318 }
23319 
23320 
_wrap_SBError_GetCString(lua_State * L)23321 static int _wrap_SBError_GetCString(lua_State* L) {
23322   {
23323     int SWIG_arg = 0;
23324     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23325     char *result = 0 ;
23326 
23327     SWIG_check_num_args("lldb::SBError::GetCString",1,1)
23328     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetCString",1,"lldb::SBError const *");
23329 
23330     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23331       SWIG_fail_ptr("SBError_GetCString",1,SWIGTYPE_p_lldb__SBError);
23332     }
23333 
23334     result = (char *)((lldb::SBError const *)arg1)->GetCString();
23335     lua_pushstring(L,(const char *)result); SWIG_arg++;
23336     return SWIG_arg;
23337 
23338     fail: SWIGUNUSED;
23339   }
23340   lua_error(L);
23341   return 0;
23342 }
23343 
23344 
_wrap_SBError_Clear(lua_State * L)23345 static int _wrap_SBError_Clear(lua_State* L) {
23346   {
23347     int SWIG_arg = 0;
23348     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23349 
23350     SWIG_check_num_args("lldb::SBError::Clear",1,1)
23351     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Clear",1,"lldb::SBError *");
23352 
23353     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23354       SWIG_fail_ptr("SBError_Clear",1,SWIGTYPE_p_lldb__SBError);
23355     }
23356 
23357     (arg1)->Clear();
23358 
23359     return SWIG_arg;
23360 
23361     fail: SWIGUNUSED;
23362   }
23363   lua_error(L);
23364   return 0;
23365 }
23366 
23367 
_wrap_SBError_Fail(lua_State * L)23368 static int _wrap_SBError_Fail(lua_State* L) {
23369   {
23370     int SWIG_arg = 0;
23371     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23372     bool result;
23373 
23374     SWIG_check_num_args("lldb::SBError::Fail",1,1)
23375     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Fail",1,"lldb::SBError const *");
23376 
23377     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23378       SWIG_fail_ptr("SBError_Fail",1,SWIGTYPE_p_lldb__SBError);
23379     }
23380 
23381     result = (bool)((lldb::SBError const *)arg1)->Fail();
23382     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23383     return SWIG_arg;
23384 
23385     fail: SWIGUNUSED;
23386   }
23387   lua_error(L);
23388   return 0;
23389 }
23390 
23391 
_wrap_SBError_Success(lua_State * L)23392 static int _wrap_SBError_Success(lua_State* L) {
23393   {
23394     int SWIG_arg = 0;
23395     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23396     bool result;
23397 
23398     SWIG_check_num_args("lldb::SBError::Success",1,1)
23399     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::Success",1,"lldb::SBError const *");
23400 
23401     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23402       SWIG_fail_ptr("SBError_Success",1,SWIGTYPE_p_lldb__SBError);
23403     }
23404 
23405     result = (bool)((lldb::SBError const *)arg1)->Success();
23406     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23407     return SWIG_arg;
23408 
23409     fail: SWIGUNUSED;
23410   }
23411   lua_error(L);
23412   return 0;
23413 }
23414 
23415 
_wrap_SBError_GetError(lua_State * L)23416 static int _wrap_SBError_GetError(lua_State* L) {
23417   {
23418     int SWIG_arg = 0;
23419     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23420     uint32_t result;
23421 
23422     SWIG_check_num_args("lldb::SBError::GetError",1,1)
23423     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetError",1,"lldb::SBError const *");
23424 
23425     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23426       SWIG_fail_ptr("SBError_GetError",1,SWIGTYPE_p_lldb__SBError);
23427     }
23428 
23429     result = (uint32_t)((lldb::SBError const *)arg1)->GetError();
23430     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23431     return SWIG_arg;
23432 
23433     fail: SWIGUNUSED;
23434   }
23435   lua_error(L);
23436   return 0;
23437 }
23438 
23439 
_wrap_SBError_GetType(lua_State * L)23440 static int _wrap_SBError_GetType(lua_State* L) {
23441   {
23442     int SWIG_arg = 0;
23443     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23444     lldb::ErrorType result;
23445 
23446     SWIG_check_num_args("lldb::SBError::GetType",1,1)
23447     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetType",1,"lldb::SBError const *");
23448 
23449     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23450       SWIG_fail_ptr("SBError_GetType",1,SWIGTYPE_p_lldb__SBError);
23451     }
23452 
23453     result = (lldb::ErrorType)((lldb::SBError const *)arg1)->GetType();
23454     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23455     return SWIG_arg;
23456 
23457     fail: SWIGUNUSED;
23458   }
23459   lua_error(L);
23460   return 0;
23461 }
23462 
23463 
_wrap_SBError_SetError(lua_State * L)23464 static int _wrap_SBError_SetError(lua_State* L) {
23465   {
23466     int SWIG_arg = 0;
23467     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23468     uint32_t arg2 ;
23469     lldb::ErrorType arg3 ;
23470 
23471     SWIG_check_num_args("lldb::SBError::SetError",3,3)
23472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetError",1,"lldb::SBError *");
23473     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBError::SetError",2,"uint32_t");
23474     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBError::SetError",3,"lldb::ErrorType");
23475 
23476     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23477       SWIG_fail_ptr("SBError_SetError",1,SWIGTYPE_p_lldb__SBError);
23478     }
23479 
23480     arg2 = (uint32_t)lua_tointeger(L, 2);
23481     arg3 = (lldb::ErrorType)lua_tointeger(L, 3);
23482     (arg1)->SetError(arg2,arg3);
23483 
23484     return SWIG_arg;
23485 
23486     fail: SWIGUNUSED;
23487   }
23488   lua_error(L);
23489   return 0;
23490 }
23491 
23492 
_wrap_SBError_SetErrorToErrno(lua_State * L)23493 static int _wrap_SBError_SetErrorToErrno(lua_State* L) {
23494   {
23495     int SWIG_arg = 0;
23496     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23497 
23498     SWIG_check_num_args("lldb::SBError::SetErrorToErrno",1,1)
23499     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToErrno",1,"lldb::SBError *");
23500 
23501     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23502       SWIG_fail_ptr("SBError_SetErrorToErrno",1,SWIGTYPE_p_lldb__SBError);
23503     }
23504 
23505     (arg1)->SetErrorToErrno();
23506 
23507     return SWIG_arg;
23508 
23509     fail: SWIGUNUSED;
23510   }
23511   lua_error(L);
23512   return 0;
23513 }
23514 
23515 
_wrap_SBError_SetErrorToGenericError(lua_State * L)23516 static int _wrap_SBError_SetErrorToGenericError(lua_State* L) {
23517   {
23518     int SWIG_arg = 0;
23519     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23520 
23521     SWIG_check_num_args("lldb::SBError::SetErrorToGenericError",1,1)
23522     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorToGenericError",1,"lldb::SBError *");
23523 
23524     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23525       SWIG_fail_ptr("SBError_SetErrorToGenericError",1,SWIGTYPE_p_lldb__SBError);
23526     }
23527 
23528     (arg1)->SetErrorToGenericError();
23529 
23530     return SWIG_arg;
23531 
23532     fail: SWIGUNUSED;
23533   }
23534   lua_error(L);
23535   return 0;
23536 }
23537 
23538 
_wrap_SBError_SetErrorString(lua_State * L)23539 static int _wrap_SBError_SetErrorString(lua_State* L) {
23540   {
23541     int SWIG_arg = 0;
23542     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23543     char *arg2 = (char *) 0 ;
23544 
23545     SWIG_check_num_args("lldb::SBError::SetErrorString",2,2)
23546     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorString",1,"lldb::SBError *");
23547     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorString",2,"char const *");
23548 
23549     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23550       SWIG_fail_ptr("SBError_SetErrorString",1,SWIGTYPE_p_lldb__SBError);
23551     }
23552 
23553     arg2 = (char *)lua_tostring(L, 2);
23554     (arg1)->SetErrorString((char const *)arg2);
23555 
23556     return SWIG_arg;
23557 
23558     fail: SWIGUNUSED;
23559   }
23560   lua_error(L);
23561   return 0;
23562 }
23563 
23564 
_wrap_SBError_SetErrorStringWithFormat__SWIG_0(lua_State * L)23565 static int _wrap_SBError_SetErrorStringWithFormat__SWIG_0(lua_State* L) {
23566   {
23567     int SWIG_arg = 0;
23568     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23569     char *arg2 = (char *) 0 ;
23570     char *arg3 = (char *) 0 ;
23571     char *arg4 = (char *) 0 ;
23572     char *arg5 = (char *) 0 ;
23573     int result;
23574 
23575     SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",5,5)
23576     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *");
23577     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *");
23578     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *");
23579     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *");
23580     if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",5,"char *");
23581 
23582     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23583       SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError);
23584     }
23585 
23586     arg2 = (char *)lua_tostring(L, 2);
23587     arg3 = (char *)lua_tostring(L, 3);
23588     arg4 = (char *)lua_tostring(L, 4);
23589     arg5 = (char *)lua_tostring(L, 5);
23590     result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4,arg5);
23591     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23592     return SWIG_arg;
23593 
23594     fail: SWIGUNUSED;
23595   }
23596   lua_error(L);
23597   return 0;
23598 }
23599 
23600 
_wrap_SBError_SetErrorStringWithFormat__SWIG_1(lua_State * L)23601 static int _wrap_SBError_SetErrorStringWithFormat__SWIG_1(lua_State* L) {
23602   {
23603     int SWIG_arg = 0;
23604     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23605     char *arg2 = (char *) 0 ;
23606     char *arg3 = (char *) 0 ;
23607     char *arg4 = (char *) 0 ;
23608     int result;
23609 
23610     SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",4,4)
23611     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *");
23612     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *");
23613     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *");
23614     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",4,"char *");
23615 
23616     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23617       SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError);
23618     }
23619 
23620     arg2 = (char *)lua_tostring(L, 2);
23621     arg3 = (char *)lua_tostring(L, 3);
23622     arg4 = (char *)lua_tostring(L, 4);
23623     result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3,arg4);
23624     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23625     return SWIG_arg;
23626 
23627     fail: SWIGUNUSED;
23628   }
23629   lua_error(L);
23630   return 0;
23631 }
23632 
23633 
_wrap_SBError_SetErrorStringWithFormat__SWIG_2(lua_State * L)23634 static int _wrap_SBError_SetErrorStringWithFormat__SWIG_2(lua_State* L) {
23635   {
23636     int SWIG_arg = 0;
23637     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23638     char *arg2 = (char *) 0 ;
23639     char *arg3 = (char *) 0 ;
23640     int result;
23641 
23642     SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",3,3)
23643     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *");
23644     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *");
23645     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",3,"char *");
23646 
23647     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23648       SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError);
23649     }
23650 
23651     arg2 = (char *)lua_tostring(L, 2);
23652     arg3 = (char *)lua_tostring(L, 3);
23653     result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2,arg3);
23654     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23655     return SWIG_arg;
23656 
23657     fail: SWIGUNUSED;
23658   }
23659   lua_error(L);
23660   return 0;
23661 }
23662 
23663 
_wrap_SBError_SetErrorStringWithFormat__SWIG_3(lua_State * L)23664 static int _wrap_SBError_SetErrorStringWithFormat__SWIG_3(lua_State* L) {
23665   {
23666     int SWIG_arg = 0;
23667     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23668     char *arg2 = (char *) 0 ;
23669     int result;
23670 
23671     SWIG_check_num_args("lldb::SBError::SetErrorStringWithFormat",2,2)
23672     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",1,"lldb::SBError *");
23673     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBError::SetErrorStringWithFormat",2,"char const *");
23674 
23675     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23676       SWIG_fail_ptr("SBError_SetErrorStringWithFormat",1,SWIGTYPE_p_lldb__SBError);
23677     }
23678 
23679     arg2 = (char *)lua_tostring(L, 2);
23680     result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2);
23681     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
23682     return SWIG_arg;
23683 
23684     fail: SWIGUNUSED;
23685   }
23686   lua_error(L);
23687   return 0;
23688 }
23689 
23690 
_wrap_SBError_SetErrorStringWithFormat(lua_State * L)23691 static int _wrap_SBError_SetErrorStringWithFormat(lua_State* L) {
23692   int argc;
23693   int argv[6]={
23694     1,2,3,4,5,6
23695   };
23696 
23697   argc = lua_gettop(L);
23698   if (argc == 2) {
23699     int _v = 0;
23700     {
23701       void *ptr;
23702       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) {
23703         _v = 0;
23704       } else {
23705         _v = 1;
23706       }
23707     }
23708     if (_v) {
23709       {
23710         _v = SWIG_lua_isnilstring(L,argv[1]);
23711       }
23712       if (_v) {
23713         return _wrap_SBError_SetErrorStringWithFormat__SWIG_3(L);
23714       }
23715     }
23716   }
23717   if (argc == 3) {
23718     int _v = 0;
23719     {
23720       void *ptr;
23721       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) {
23722         _v = 0;
23723       } else {
23724         _v = 1;
23725       }
23726     }
23727     if (_v) {
23728       {
23729         _v = SWIG_lua_isnilstring(L,argv[1]);
23730       }
23731       if (_v) {
23732         {
23733           _v = SWIG_lua_isnilstring(L,argv[2]);
23734         }
23735         if (_v) {
23736           return _wrap_SBError_SetErrorStringWithFormat__SWIG_2(L);
23737         }
23738       }
23739     }
23740   }
23741   if (argc == 4) {
23742     int _v = 0;
23743     {
23744       void *ptr;
23745       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) {
23746         _v = 0;
23747       } else {
23748         _v = 1;
23749       }
23750     }
23751     if (_v) {
23752       {
23753         _v = SWIG_lua_isnilstring(L,argv[1]);
23754       }
23755       if (_v) {
23756         {
23757           _v = SWIG_lua_isnilstring(L,argv[2]);
23758         }
23759         if (_v) {
23760           {
23761             _v = SWIG_lua_isnilstring(L,argv[3]);
23762           }
23763           if (_v) {
23764             return _wrap_SBError_SetErrorStringWithFormat__SWIG_1(L);
23765           }
23766         }
23767       }
23768     }
23769   }
23770   if (argc == 5) {
23771     int _v = 0;
23772     {
23773       void *ptr;
23774       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBError, 0)) {
23775         _v = 0;
23776       } else {
23777         _v = 1;
23778       }
23779     }
23780     if (_v) {
23781       {
23782         _v = SWIG_lua_isnilstring(L,argv[1]);
23783       }
23784       if (_v) {
23785         {
23786           _v = SWIG_lua_isnilstring(L,argv[2]);
23787         }
23788         if (_v) {
23789           {
23790             _v = SWIG_lua_isnilstring(L,argv[3]);
23791           }
23792           if (_v) {
23793             {
23794               _v = SWIG_lua_isnilstring(L,argv[4]);
23795             }
23796             if (_v) {
23797               return _wrap_SBError_SetErrorStringWithFormat__SWIG_0(L);
23798             }
23799           }
23800         }
23801       }
23802     }
23803   }
23804 
23805   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBError_SetErrorStringWithFormat'\n"
23806     "  Possible C/C++ prototypes are:\n"
23807     "    lldb::SBError::SetErrorStringWithFormat(char const *,char *,char *,char *)\n"
23808     "    lldb::SBError::SetErrorStringWithFormat(char const *,char *,char *)\n"
23809     "    lldb::SBError::SetErrorStringWithFormat(char const *,char *)\n"
23810     "    lldb::SBError::SetErrorStringWithFormat(char const *)\n");
23811   lua_error(L);return 0;
23812 }
23813 
23814 
_wrap_SBError_IsValid(lua_State * L)23815 static int _wrap_SBError_IsValid(lua_State* L) {
23816   {
23817     int SWIG_arg = 0;
23818     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23819     bool result;
23820 
23821     SWIG_check_num_args("lldb::SBError::IsValid",1,1)
23822     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::IsValid",1,"lldb::SBError const *");
23823 
23824     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23825       SWIG_fail_ptr("SBError_IsValid",1,SWIGTYPE_p_lldb__SBError);
23826     }
23827 
23828     result = (bool)((lldb::SBError const *)arg1)->IsValid();
23829     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23830     return SWIG_arg;
23831 
23832     fail: SWIGUNUSED;
23833   }
23834   lua_error(L);
23835   return 0;
23836 }
23837 
23838 
_wrap_SBError_GetDescription(lua_State * L)23839 static int _wrap_SBError_GetDescription(lua_State* L) {
23840   {
23841     int SWIG_arg = 0;
23842     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23843     lldb::SBStream *arg2 = 0 ;
23844     bool result;
23845 
23846     SWIG_check_num_args("lldb::SBError::GetDescription",2,2)
23847     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::GetDescription",1,"lldb::SBError *");
23848     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBError::GetDescription",2,"lldb::SBStream &");
23849 
23850     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23851       SWIG_fail_ptr("SBError_GetDescription",1,SWIGTYPE_p_lldb__SBError);
23852     }
23853 
23854 
23855     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
23856       SWIG_fail_ptr("SBError_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
23857     }
23858 
23859     result = (bool)(arg1)->GetDescription(*arg2);
23860     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23861     return SWIG_arg;
23862 
23863     fail: SWIGUNUSED;
23864   }
23865   lua_error(L);
23866   return 0;
23867 }
23868 
23869 
_wrap_SBError___tostring(lua_State * L)23870 static int _wrap_SBError___tostring(lua_State* L) {
23871   {
23872     int SWIG_arg = 0;
23873     lldb::SBError *arg1 = (lldb::SBError *) 0 ;
23874     std::string result;
23875 
23876     SWIG_check_num_args("lldb::SBError::__repr__",1,1)
23877     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBError::__repr__",1,"lldb::SBError *");
23878 
23879     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
23880       SWIG_fail_ptr("SBError___tostring",1,SWIGTYPE_p_lldb__SBError);
23881     }
23882 
23883     result = lldb_SBError___repr__(arg1);
23884     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
23885     return SWIG_arg;
23886 
23887     fail: SWIGUNUSED;
23888   }
23889   lua_error(L);
23890   return 0;
23891 }
23892 
23893 
swig_delete_SBError(void * obj)23894 static void swig_delete_SBError(void *obj) {
23895 lldb::SBError *arg1 = (lldb::SBError *) obj;
23896 delete arg1;
23897 }
_proxy__wrap_new_SBError(lua_State * L)23898 static int _proxy__wrap_new_SBError(lua_State *L) {
23899     assert(lua_istable(L,1));
23900     lua_pushcfunction(L,_wrap_new_SBError);
23901     assert(!lua_isnil(L,-1));
23902     lua_replace(L,1); /* replace our table with real constructor */
23903     lua_call(L,lua_gettop(L)-1,1);
23904     return 1;
23905 }
23906 static swig_lua_attribute swig_SBError_attributes[] = {
23907     {0,0,0}
23908 };
23909 static swig_lua_method swig_SBError_methods[]= {
23910     { "GetCString", _wrap_SBError_GetCString},
23911     { "Clear", _wrap_SBError_Clear},
23912     { "Fail", _wrap_SBError_Fail},
23913     { "Success", _wrap_SBError_Success},
23914     { "GetError", _wrap_SBError_GetError},
23915     { "GetType", _wrap_SBError_GetType},
23916     { "SetError", _wrap_SBError_SetError},
23917     { "SetErrorToErrno", _wrap_SBError_SetErrorToErrno},
23918     { "SetErrorToGenericError", _wrap_SBError_SetErrorToGenericError},
23919     { "SetErrorString", _wrap_SBError_SetErrorString},
23920     { "SetErrorStringWithFormat", _wrap_SBError_SetErrorStringWithFormat},
23921     { "IsValid", _wrap_SBError_IsValid},
23922     { "GetDescription", _wrap_SBError_GetDescription},
23923     { "__tostring", _wrap_SBError___tostring},
23924     {0,0}
23925 };
23926 static swig_lua_method swig_SBError_meta[] = {
23927     { "__tostring", _wrap_SBError___tostring},
23928     {0,0}
23929 };
23930 
23931 static swig_lua_attribute swig_SBError_Sf_SwigStatic_attributes[] = {
23932     {0,0,0}
23933 };
23934 static swig_lua_const_info swig_SBError_Sf_SwigStatic_constants[]= {
23935     {0,0,0,0,0,0}
23936 };
23937 static swig_lua_method swig_SBError_Sf_SwigStatic_methods[]= {
23938     {0,0}
23939 };
23940 static swig_lua_class* swig_SBError_Sf_SwigStatic_classes[]= {
23941     0
23942 };
23943 
23944 static swig_lua_namespace swig_SBError_Sf_SwigStatic = {
23945     "SBError",
23946     swig_SBError_Sf_SwigStatic_methods,
23947     swig_SBError_Sf_SwigStatic_attributes,
23948     swig_SBError_Sf_SwigStatic_constants,
23949     swig_SBError_Sf_SwigStatic_classes,
23950     0
23951 };
23952 static swig_lua_class *swig_SBError_bases[] = {0};
23953 static const char *swig_SBError_base_names[] = {0};
23954 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 };
23955 
_wrap_new_SBEnvironment__SWIG_0(lua_State * L)23956 static int _wrap_new_SBEnvironment__SWIG_0(lua_State* L) {
23957   {
23958     int SWIG_arg = 0;
23959     lldb::SBEnvironment *result = 0 ;
23960 
23961     SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",0,0)
23962     result = (lldb::SBEnvironment *)new lldb::SBEnvironment();
23963     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++;
23964     return SWIG_arg;
23965 
23966     fail: SWIGUNUSED;
23967   }
23968   lua_error(L);
23969   return 0;
23970 }
23971 
23972 
_wrap_new_SBEnvironment__SWIG_1(lua_State * L)23973 static int _wrap_new_SBEnvironment__SWIG_1(lua_State* L) {
23974   {
23975     int SWIG_arg = 0;
23976     lldb::SBEnvironment *arg1 = 0 ;
23977     lldb::SBEnvironment *result = 0 ;
23978 
23979     SWIG_check_num_args("lldb::SBEnvironment::SBEnvironment",1,1)
23980     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SBEnvironment",1,"lldb::SBEnvironment const &");
23981 
23982     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
23983       SWIG_fail_ptr("new_SBEnvironment",1,SWIGTYPE_p_lldb__SBEnvironment);
23984     }
23985 
23986     result = (lldb::SBEnvironment *)new lldb::SBEnvironment((lldb::SBEnvironment const &)*arg1);
23987     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++;
23988     return SWIG_arg;
23989 
23990     fail: SWIGUNUSED;
23991   }
23992   lua_error(L);
23993   return 0;
23994 }
23995 
23996 
_wrap_new_SBEnvironment(lua_State * L)23997 static int _wrap_new_SBEnvironment(lua_State* L) {
23998   int argc;
23999   int argv[2]={
24000     1,2
24001   };
24002 
24003   argc = lua_gettop(L);
24004   if (argc == 0) {
24005     return _wrap_new_SBEnvironment__SWIG_0(L);
24006   }
24007   if (argc == 1) {
24008     int _v = 0;
24009     {
24010       void *ptr;
24011       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEnvironment, SWIG_POINTER_NO_NULL)) {
24012         _v = 0;
24013       } else {
24014         _v = 1;
24015       }
24016     }
24017     if (_v) {
24018       return _wrap_new_SBEnvironment__SWIG_1(L);
24019     }
24020   }
24021 
24022   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBEnvironment'\n"
24023     "  Possible C/C++ prototypes are:\n"
24024     "    lldb::SBEnvironment::SBEnvironment()\n"
24025     "    lldb::SBEnvironment::SBEnvironment(lldb::SBEnvironment const &)\n");
24026   lua_error(L);return 0;
24027 }
24028 
24029 
_wrap_SBEnvironment_Get(lua_State * L)24030 static int _wrap_SBEnvironment_Get(lua_State* L) {
24031   {
24032     int SWIG_arg = 0;
24033     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24034     char *arg2 = (char *) 0 ;
24035     char *result = 0 ;
24036 
24037     SWIG_check_num_args("lldb::SBEnvironment::Get",2,2)
24038     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Get",1,"lldb::SBEnvironment *");
24039     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Get",2,"char const *");
24040 
24041     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24042       SWIG_fail_ptr("SBEnvironment_Get",1,SWIGTYPE_p_lldb__SBEnvironment);
24043     }
24044 
24045     arg2 = (char *)lua_tostring(L, 2);
24046     result = (char *)(arg1)->Get((char const *)arg2);
24047     lua_pushstring(L,(const char *)result); SWIG_arg++;
24048     return SWIG_arg;
24049 
24050     fail: SWIGUNUSED;
24051   }
24052   lua_error(L);
24053   return 0;
24054 }
24055 
24056 
_wrap_SBEnvironment_GetNumValues(lua_State * L)24057 static int _wrap_SBEnvironment_GetNumValues(lua_State* L) {
24058   {
24059     int SWIG_arg = 0;
24060     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24061     size_t result;
24062 
24063     SWIG_check_num_args("lldb::SBEnvironment::GetNumValues",1,1)
24064     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNumValues",1,"lldb::SBEnvironment *");
24065 
24066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24067       SWIG_fail_ptr("SBEnvironment_GetNumValues",1,SWIGTYPE_p_lldb__SBEnvironment);
24068     }
24069 
24070     result = (arg1)->GetNumValues();
24071     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
24072     return SWIG_arg;
24073 
24074     fail: SWIGUNUSED;
24075   }
24076   lua_error(L);
24077   return 0;
24078 }
24079 
24080 
_wrap_SBEnvironment_GetNameAtIndex(lua_State * L)24081 static int _wrap_SBEnvironment_GetNameAtIndex(lua_State* L) {
24082   {
24083     int SWIG_arg = 0;
24084     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24085     size_t arg2 ;
24086     char *result = 0 ;
24087 
24088     SWIG_check_num_args("lldb::SBEnvironment::GetNameAtIndex",2,2)
24089     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",1,"lldb::SBEnvironment *");
24090     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetNameAtIndex",2,"size_t");
24091 
24092     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24093       SWIG_fail_ptr("SBEnvironment_GetNameAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment);
24094     }
24095 
24096     arg2 = (size_t)lua_tointeger(L, 2);
24097     result = (char *)(arg1)->GetNameAtIndex(arg2);
24098     lua_pushstring(L,(const char *)result); SWIG_arg++;
24099     return SWIG_arg;
24100 
24101     fail: SWIGUNUSED;
24102   }
24103   lua_error(L);
24104   return 0;
24105 }
24106 
24107 
_wrap_SBEnvironment_GetValueAtIndex(lua_State * L)24108 static int _wrap_SBEnvironment_GetValueAtIndex(lua_State* L) {
24109   {
24110     int SWIG_arg = 0;
24111     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24112     size_t arg2 ;
24113     char *result = 0 ;
24114 
24115     SWIG_check_num_args("lldb::SBEnvironment::GetValueAtIndex",2,2)
24116     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",1,"lldb::SBEnvironment *");
24117     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBEnvironment::GetValueAtIndex",2,"size_t");
24118 
24119     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24120       SWIG_fail_ptr("SBEnvironment_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBEnvironment);
24121     }
24122 
24123     arg2 = (size_t)lua_tointeger(L, 2);
24124     result = (char *)(arg1)->GetValueAtIndex(arg2);
24125     lua_pushstring(L,(const char *)result); SWIG_arg++;
24126     return SWIG_arg;
24127 
24128     fail: SWIGUNUSED;
24129   }
24130   lua_error(L);
24131   return 0;
24132 }
24133 
24134 
_wrap_SBEnvironment_GetEntries(lua_State * L)24135 static int _wrap_SBEnvironment_GetEntries(lua_State* L) {
24136   {
24137     int SWIG_arg = 0;
24138     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24139     lldb::SBStringList result;
24140 
24141     SWIG_check_num_args("lldb::SBEnvironment::GetEntries",1,1)
24142     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::GetEntries",1,"lldb::SBEnvironment *");
24143 
24144     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24145       SWIG_fail_ptr("SBEnvironment_GetEntries",1,SWIGTYPE_p_lldb__SBEnvironment);
24146     }
24147 
24148     result = (arg1)->GetEntries();
24149     {
24150       lldb::SBStringList * resultptr = new lldb::SBStringList(result);
24151       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++;
24152     }
24153     return SWIG_arg;
24154 
24155     fail: SWIGUNUSED;
24156   }
24157   lua_error(L);
24158   return 0;
24159 }
24160 
24161 
_wrap_SBEnvironment_PutEntry(lua_State * L)24162 static int _wrap_SBEnvironment_PutEntry(lua_State* L) {
24163   {
24164     int SWIG_arg = 0;
24165     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24166     char *arg2 = (char *) 0 ;
24167 
24168     SWIG_check_num_args("lldb::SBEnvironment::PutEntry",2,2)
24169     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",1,"lldb::SBEnvironment *");
24170     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::PutEntry",2,"char const *");
24171 
24172     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24173       SWIG_fail_ptr("SBEnvironment_PutEntry",1,SWIGTYPE_p_lldb__SBEnvironment);
24174     }
24175 
24176     arg2 = (char *)lua_tostring(L, 2);
24177     (arg1)->PutEntry((char const *)arg2);
24178 
24179     return SWIG_arg;
24180 
24181     fail: SWIGUNUSED;
24182   }
24183   lua_error(L);
24184   return 0;
24185 }
24186 
24187 
_wrap_SBEnvironment_SetEntries(lua_State * L)24188 static int _wrap_SBEnvironment_SetEntries(lua_State* L) {
24189   {
24190     int SWIG_arg = 0;
24191     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24192     lldb::SBStringList *arg2 = 0 ;
24193     bool arg3 ;
24194 
24195     SWIG_check_num_args("lldb::SBEnvironment::SetEntries",3,3)
24196     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",1,"lldb::SBEnvironment *");
24197     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",2,"lldb::SBStringList const &");
24198     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBEnvironment::SetEntries",3,"bool");
24199 
24200     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24201       SWIG_fail_ptr("SBEnvironment_SetEntries",1,SWIGTYPE_p_lldb__SBEnvironment);
24202     }
24203 
24204 
24205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
24206       SWIG_fail_ptr("SBEnvironment_SetEntries",2,SWIGTYPE_p_lldb__SBStringList);
24207     }
24208 
24209     arg3 = (lua_toboolean(L, 3)!=0);
24210     (arg1)->SetEntries((lldb::SBStringList const &)*arg2,arg3);
24211 
24212     return SWIG_arg;
24213 
24214     fail: SWIGUNUSED;
24215   }
24216   lua_error(L);
24217   return 0;
24218 }
24219 
24220 
_wrap_SBEnvironment_Set(lua_State * L)24221 static int _wrap_SBEnvironment_Set(lua_State* L) {
24222   {
24223     int SWIG_arg = 0;
24224     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24225     char *arg2 = (char *) 0 ;
24226     char *arg3 = (char *) 0 ;
24227     bool arg4 ;
24228     bool result;
24229 
24230     SWIG_check_num_args("lldb::SBEnvironment::Set",4,4)
24231     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Set",1,"lldb::SBEnvironment *");
24232     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Set",2,"char const *");
24233     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBEnvironment::Set",3,"char const *");
24234     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBEnvironment::Set",4,"bool");
24235 
24236     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24237       SWIG_fail_ptr("SBEnvironment_Set",1,SWIGTYPE_p_lldb__SBEnvironment);
24238     }
24239 
24240     arg2 = (char *)lua_tostring(L, 2);
24241     arg3 = (char *)lua_tostring(L, 3);
24242     arg4 = (lua_toboolean(L, 4)!=0);
24243     result = (bool)(arg1)->Set((char const *)arg2,(char const *)arg3,arg4);
24244     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24245     return SWIG_arg;
24246 
24247     fail: SWIGUNUSED;
24248   }
24249   lua_error(L);
24250   return 0;
24251 }
24252 
24253 
_wrap_SBEnvironment_Unset(lua_State * L)24254 static int _wrap_SBEnvironment_Unset(lua_State* L) {
24255   {
24256     int SWIG_arg = 0;
24257     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24258     char *arg2 = (char *) 0 ;
24259     bool result;
24260 
24261     SWIG_check_num_args("lldb::SBEnvironment::Unset",2,2)
24262     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Unset",1,"lldb::SBEnvironment *");
24263     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBEnvironment::Unset",2,"char const *");
24264 
24265     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24266       SWIG_fail_ptr("SBEnvironment_Unset",1,SWIGTYPE_p_lldb__SBEnvironment);
24267     }
24268 
24269     arg2 = (char *)lua_tostring(L, 2);
24270     result = (bool)(arg1)->Unset((char const *)arg2);
24271     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24272     return SWIG_arg;
24273 
24274     fail: SWIGUNUSED;
24275   }
24276   lua_error(L);
24277   return 0;
24278 }
24279 
24280 
_wrap_SBEnvironment_Clear(lua_State * L)24281 static int _wrap_SBEnvironment_Clear(lua_State* L) {
24282   {
24283     int SWIG_arg = 0;
24284     lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) 0 ;
24285 
24286     SWIG_check_num_args("lldb::SBEnvironment::Clear",1,1)
24287     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEnvironment::Clear",1,"lldb::SBEnvironment *");
24288 
24289     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEnvironment,0))){
24290       SWIG_fail_ptr("SBEnvironment_Clear",1,SWIGTYPE_p_lldb__SBEnvironment);
24291     }
24292 
24293     (arg1)->Clear();
24294 
24295     return SWIG_arg;
24296 
24297     fail: SWIGUNUSED;
24298   }
24299   lua_error(L);
24300   return 0;
24301 }
24302 
24303 
swig_delete_SBEnvironment(void * obj)24304 static void swig_delete_SBEnvironment(void *obj) {
24305 lldb::SBEnvironment *arg1 = (lldb::SBEnvironment *) obj;
24306 delete arg1;
24307 }
_proxy__wrap_new_SBEnvironment(lua_State * L)24308 static int _proxy__wrap_new_SBEnvironment(lua_State *L) {
24309     assert(lua_istable(L,1));
24310     lua_pushcfunction(L,_wrap_new_SBEnvironment);
24311     assert(!lua_isnil(L,-1));
24312     lua_replace(L,1); /* replace our table with real constructor */
24313     lua_call(L,lua_gettop(L)-1,1);
24314     return 1;
24315 }
24316 static swig_lua_attribute swig_SBEnvironment_attributes[] = {
24317     {0,0,0}
24318 };
24319 static swig_lua_method swig_SBEnvironment_methods[]= {
24320     { "Get", _wrap_SBEnvironment_Get},
24321     { "GetNumValues", _wrap_SBEnvironment_GetNumValues},
24322     { "GetNameAtIndex", _wrap_SBEnvironment_GetNameAtIndex},
24323     { "GetValueAtIndex", _wrap_SBEnvironment_GetValueAtIndex},
24324     { "GetEntries", _wrap_SBEnvironment_GetEntries},
24325     { "PutEntry", _wrap_SBEnvironment_PutEntry},
24326     { "SetEntries", _wrap_SBEnvironment_SetEntries},
24327     { "Set", _wrap_SBEnvironment_Set},
24328     { "Unset", _wrap_SBEnvironment_Unset},
24329     { "Clear", _wrap_SBEnvironment_Clear},
24330     {0,0}
24331 };
24332 static swig_lua_method swig_SBEnvironment_meta[] = {
24333     {0,0}
24334 };
24335 
24336 static swig_lua_attribute swig_SBEnvironment_Sf_SwigStatic_attributes[] = {
24337     {0,0,0}
24338 };
24339 static swig_lua_const_info swig_SBEnvironment_Sf_SwigStatic_constants[]= {
24340     {0,0,0,0,0,0}
24341 };
24342 static swig_lua_method swig_SBEnvironment_Sf_SwigStatic_methods[]= {
24343     {0,0}
24344 };
24345 static swig_lua_class* swig_SBEnvironment_Sf_SwigStatic_classes[]= {
24346     0
24347 };
24348 
24349 static swig_lua_namespace swig_SBEnvironment_Sf_SwigStatic = {
24350     "SBEnvironment",
24351     swig_SBEnvironment_Sf_SwigStatic_methods,
24352     swig_SBEnvironment_Sf_SwigStatic_attributes,
24353     swig_SBEnvironment_Sf_SwigStatic_constants,
24354     swig_SBEnvironment_Sf_SwigStatic_classes,
24355     0
24356 };
24357 static swig_lua_class *swig_SBEnvironment_bases[] = {0};
24358 static const char *swig_SBEnvironment_base_names[] = {0};
24359 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 };
24360 
_wrap_new_SBEvent__SWIG_0(lua_State * L)24361 static int _wrap_new_SBEvent__SWIG_0(lua_State* L) {
24362   {
24363     int SWIG_arg = 0;
24364     lldb::SBEvent *result = 0 ;
24365 
24366     SWIG_check_num_args("lldb::SBEvent::SBEvent",0,0)
24367     result = (lldb::SBEvent *)new lldb::SBEvent();
24368     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++;
24369     return SWIG_arg;
24370 
24371     fail: SWIGUNUSED;
24372   }
24373   lua_error(L);
24374   return 0;
24375 }
24376 
24377 
_wrap_new_SBEvent__SWIG_1(lua_State * L)24378 static int _wrap_new_SBEvent__SWIG_1(lua_State* L) {
24379   {
24380     int SWIG_arg = 0;
24381     lldb::SBEvent *arg1 = 0 ;
24382     lldb::SBEvent *result = 0 ;
24383 
24384     SWIG_check_num_args("lldb::SBEvent::SBEvent",1,1)
24385     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"lldb::SBEvent const &");
24386 
24387     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24388       SWIG_fail_ptr("new_SBEvent",1,SWIGTYPE_p_lldb__SBEvent);
24389     }
24390 
24391     result = (lldb::SBEvent *)new lldb::SBEvent((lldb::SBEvent const &)*arg1);
24392     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++;
24393     return SWIG_arg;
24394 
24395     fail: SWIGUNUSED;
24396   }
24397   lua_error(L);
24398   return 0;
24399 }
24400 
24401 
_wrap_new_SBEvent__SWIG_2(lua_State * L)24402 static int _wrap_new_SBEvent__SWIG_2(lua_State* L) {
24403   {
24404     int SWIG_arg = 0;
24405     uint32_t arg1 ;
24406     char *arg2 = (char *) 0 ;
24407     uint32_t arg3 ;
24408     lldb::SBEvent *result = 0 ;
24409 
24410     SWIG_check_num_args("lldb::SBEvent::SBEvent",2,2)
24411     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBEvent::SBEvent",1,"uint32_t");
24412     arg1 = (uint32_t)lua_tointeger(L, 1);
24413     {
24414       arg2 = (char *)luaL_checklstring(L, 2, (size_t *)&arg3);
24415     }
24416     result = (lldb::SBEvent *)new lldb::SBEvent(arg1,(char const *)arg2,arg3);
24417     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++;
24418     return SWIG_arg;
24419 
24420     fail: SWIGUNUSED;
24421   }
24422   lua_error(L);
24423   return 0;
24424 }
24425 
24426 
_wrap_new_SBEvent(lua_State * L)24427 static int _wrap_new_SBEvent(lua_State* L) {
24428   int argc;
24429   int argv[3]={
24430     1,2,3
24431   };
24432 
24433   argc = lua_gettop(L);
24434   if (argc == 0) {
24435     return _wrap_new_SBEvent__SWIG_0(L);
24436   }
24437   if (argc == 1) {
24438     int _v = 0;
24439     {
24440       void *ptr;
24441       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
24442         _v = 0;
24443       } else {
24444         _v = 1;
24445       }
24446     }
24447     if (_v) {
24448       return _wrap_new_SBEvent__SWIG_1(L);
24449     }
24450   }
24451   if (argc == 2) {
24452     int _v = 0;
24453     {
24454       _v = lua_isnumber(L,argv[0]);
24455     }
24456     if (_v) {
24457       {
24458         _v = SWIG_lua_isnilstring(L,argv[1]);
24459       }
24460       if (_v) {
24461         if (argc <= 2) {
24462           return _wrap_new_SBEvent__SWIG_2(L);
24463         }
24464         {
24465           _v = lua_isnumber(L,argv[2]);
24466         }
24467         if (_v) {
24468           return _wrap_new_SBEvent__SWIG_2(L);
24469         }
24470       }
24471     }
24472   }
24473 
24474   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBEvent'\n"
24475     "  Possible C/C++ prototypes are:\n"
24476     "    lldb::SBEvent::SBEvent()\n"
24477     "    lldb::SBEvent::SBEvent(lldb::SBEvent const &)\n"
24478     "    lldb::SBEvent::SBEvent(uint32_t,char const *,uint32_t)\n");
24479   lua_error(L);return 0;
24480 }
24481 
24482 
_wrap_SBEvent_IsValid(lua_State * L)24483 static int _wrap_SBEvent_IsValid(lua_State* L) {
24484   {
24485     int SWIG_arg = 0;
24486     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24487     bool result;
24488 
24489     SWIG_check_num_args("lldb::SBEvent::IsValid",1,1)
24490     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::IsValid",1,"lldb::SBEvent const *");
24491 
24492     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24493       SWIG_fail_ptr("SBEvent_IsValid",1,SWIGTYPE_p_lldb__SBEvent);
24494     }
24495 
24496     result = (bool)((lldb::SBEvent const *)arg1)->IsValid();
24497     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24498     return SWIG_arg;
24499 
24500     fail: SWIGUNUSED;
24501   }
24502   lua_error(L);
24503   return 0;
24504 }
24505 
24506 
_wrap_SBEvent_GetDataFlavor(lua_State * L)24507 static int _wrap_SBEvent_GetDataFlavor(lua_State* L) {
24508   {
24509     int SWIG_arg = 0;
24510     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24511     char *result = 0 ;
24512 
24513     SWIG_check_num_args("lldb::SBEvent::GetDataFlavor",1,1)
24514     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDataFlavor",1,"lldb::SBEvent *");
24515 
24516     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24517       SWIG_fail_ptr("SBEvent_GetDataFlavor",1,SWIGTYPE_p_lldb__SBEvent);
24518     }
24519 
24520     result = (char *)(arg1)->GetDataFlavor();
24521     lua_pushstring(L,(const char *)result); SWIG_arg++;
24522     return SWIG_arg;
24523 
24524     fail: SWIGUNUSED;
24525   }
24526   lua_error(L);
24527   return 0;
24528 }
24529 
24530 
_wrap_SBEvent_GetType(lua_State * L)24531 static int _wrap_SBEvent_GetType(lua_State* L) {
24532   {
24533     int SWIG_arg = 0;
24534     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24535     uint32_t result;
24536 
24537     SWIG_check_num_args("lldb::SBEvent::GetType",1,1)
24538     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetType",1,"lldb::SBEvent const *");
24539 
24540     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24541       SWIG_fail_ptr("SBEvent_GetType",1,SWIGTYPE_p_lldb__SBEvent);
24542     }
24543 
24544     result = (uint32_t)((lldb::SBEvent const *)arg1)->GetType();
24545     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
24546     return SWIG_arg;
24547 
24548     fail: SWIGUNUSED;
24549   }
24550   lua_error(L);
24551   return 0;
24552 }
24553 
24554 
_wrap_SBEvent_GetBroadcaster(lua_State * L)24555 static int _wrap_SBEvent_GetBroadcaster(lua_State* L) {
24556   {
24557     int SWIG_arg = 0;
24558     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24559     lldb::SBBroadcaster result;
24560 
24561     SWIG_check_num_args("lldb::SBEvent::GetBroadcaster",1,1)
24562     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcaster",1,"lldb::SBEvent const *");
24563 
24564     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24565       SWIG_fail_ptr("SBEvent_GetBroadcaster",1,SWIGTYPE_p_lldb__SBEvent);
24566     }
24567 
24568     result = ((lldb::SBEvent const *)arg1)->GetBroadcaster();
24569     {
24570       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
24571       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
24572     }
24573     return SWIG_arg;
24574 
24575     fail: SWIGUNUSED;
24576   }
24577   lua_error(L);
24578   return 0;
24579 }
24580 
24581 
_wrap_SBEvent_GetBroadcasterClass(lua_State * L)24582 static int _wrap_SBEvent_GetBroadcasterClass(lua_State* L) {
24583   {
24584     int SWIG_arg = 0;
24585     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24586     char *result = 0 ;
24587 
24588     SWIG_check_num_args("lldb::SBEvent::GetBroadcasterClass",1,1)
24589     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetBroadcasterClass",1,"lldb::SBEvent const *");
24590 
24591     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24592       SWIG_fail_ptr("SBEvent_GetBroadcasterClass",1,SWIGTYPE_p_lldb__SBEvent);
24593     }
24594 
24595     result = (char *)((lldb::SBEvent const *)arg1)->GetBroadcasterClass();
24596     lua_pushstring(L,(const char *)result); SWIG_arg++;
24597     return SWIG_arg;
24598 
24599     fail: SWIGUNUSED;
24600   }
24601   lua_error(L);
24602   return 0;
24603 }
24604 
24605 
_wrap_SBEvent_BroadcasterMatchesRef(lua_State * L)24606 static int _wrap_SBEvent_BroadcasterMatchesRef(lua_State* L) {
24607   {
24608     int SWIG_arg = 0;
24609     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24610     lldb::SBBroadcaster *arg2 = 0 ;
24611     bool result;
24612 
24613     SWIG_check_num_args("lldb::SBEvent::BroadcasterMatchesRef",2,2)
24614     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",1,"lldb::SBEvent *");
24615     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::BroadcasterMatchesRef",2,"lldb::SBBroadcaster const &");
24616 
24617     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24618       SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",1,SWIGTYPE_p_lldb__SBEvent);
24619     }
24620 
24621 
24622     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
24623       SWIG_fail_ptr("SBEvent_BroadcasterMatchesRef",2,SWIGTYPE_p_lldb__SBBroadcaster);
24624     }
24625 
24626     result = (bool)(arg1)->BroadcasterMatchesRef((lldb::SBBroadcaster const &)*arg2);
24627     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24628     return SWIG_arg;
24629 
24630     fail: SWIGUNUSED;
24631   }
24632   lua_error(L);
24633   return 0;
24634 }
24635 
24636 
_wrap_SBEvent_Clear(lua_State * L)24637 static int _wrap_SBEvent_Clear(lua_State* L) {
24638   {
24639     int SWIG_arg = 0;
24640     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24641 
24642     SWIG_check_num_args("lldb::SBEvent::Clear",1,1)
24643     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::Clear",1,"lldb::SBEvent *");
24644 
24645     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24646       SWIG_fail_ptr("SBEvent_Clear",1,SWIGTYPE_p_lldb__SBEvent);
24647     }
24648 
24649     (arg1)->Clear();
24650 
24651     return SWIG_arg;
24652 
24653     fail: SWIGUNUSED;
24654   }
24655   lua_error(L);
24656   return 0;
24657 }
24658 
24659 
_wrap_SBEvent_GetCStringFromEvent(lua_State * L)24660 static int _wrap_SBEvent_GetCStringFromEvent(lua_State* L) {
24661   {
24662     int SWIG_arg = 0;
24663     lldb::SBEvent *arg1 = 0 ;
24664     char *result = 0 ;
24665 
24666     SWIG_check_num_args("lldb::SBEvent::GetCStringFromEvent",1,1)
24667     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBEvent::GetCStringFromEvent",1,"lldb::SBEvent const &");
24668 
24669     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24670       SWIG_fail_ptr("SBEvent_GetCStringFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
24671     }
24672 
24673     result = (char *)lldb::SBEvent::GetCStringFromEvent((lldb::SBEvent const &)*arg1);
24674     lua_pushstring(L,(const char *)result); SWIG_arg++;
24675     return SWIG_arg;
24676 
24677     fail: SWIGUNUSED;
24678   }
24679   lua_error(L);
24680   return 0;
24681 }
24682 
24683 
_wrap_SBEvent_GetDescription__SWIG_0(lua_State * L)24684 static int _wrap_SBEvent_GetDescription__SWIG_0(lua_State* L) {
24685   {
24686     int SWIG_arg = 0;
24687     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24688     lldb::SBStream *arg2 = 0 ;
24689     bool result;
24690 
24691     SWIG_check_num_args("lldb::SBEvent::GetDescription",2,2)
24692     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDescription",1,"lldb::SBEvent *");
24693     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::GetDescription",2,"lldb::SBStream &");
24694 
24695     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24696       SWIG_fail_ptr("SBEvent_GetDescription",1,SWIGTYPE_p_lldb__SBEvent);
24697     }
24698 
24699 
24700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
24701       SWIG_fail_ptr("SBEvent_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
24702     }
24703 
24704     result = (bool)(arg1)->GetDescription(*arg2);
24705     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24706     return SWIG_arg;
24707 
24708     fail: SWIGUNUSED;
24709   }
24710   lua_error(L);
24711   return 0;
24712 }
24713 
24714 
_wrap_SBEvent_GetDescription__SWIG_1(lua_State * L)24715 static int _wrap_SBEvent_GetDescription__SWIG_1(lua_State* L) {
24716   {
24717     int SWIG_arg = 0;
24718     lldb::SBEvent *arg1 = (lldb::SBEvent *) 0 ;
24719     lldb::SBStream *arg2 = 0 ;
24720     bool result;
24721 
24722     SWIG_check_num_args("lldb::SBEvent::GetDescription",2,2)
24723     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBEvent::GetDescription",1,"lldb::SBEvent const *");
24724     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBEvent::GetDescription",2,"lldb::SBStream &");
24725 
24726     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
24727       SWIG_fail_ptr("SBEvent_GetDescription",1,SWIGTYPE_p_lldb__SBEvent);
24728     }
24729 
24730 
24731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
24732       SWIG_fail_ptr("SBEvent_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
24733     }
24734 
24735     result = (bool)((lldb::SBEvent const *)arg1)->GetDescription(*arg2);
24736     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
24737     return SWIG_arg;
24738 
24739     fail: SWIGUNUSED;
24740   }
24741   lua_error(L);
24742   return 0;
24743 }
24744 
24745 
_wrap_SBEvent_GetDescription(lua_State * L)24746 static int _wrap_SBEvent_GetDescription(lua_State* L) {
24747   int argc;
24748   int argv[3]={
24749     1,2,3
24750   };
24751 
24752   argc = lua_gettop(L);
24753   if (argc == 2) {
24754     int _v = 0;
24755     {
24756       void *ptr;
24757       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) {
24758         _v = 0;
24759       } else {
24760         _v = 1;
24761       }
24762     }
24763     if (_v) {
24764       {
24765         void *ptr;
24766         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
24767           _v = 0;
24768         } else {
24769           _v = 1;
24770         }
24771       }
24772       if (_v) {
24773         return _wrap_SBEvent_GetDescription__SWIG_0(L);
24774       }
24775     }
24776   }
24777   if (argc == 2) {
24778     int _v = 0;
24779     {
24780       void *ptr;
24781       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) {
24782         _v = 0;
24783       } else {
24784         _v = 1;
24785       }
24786     }
24787     if (_v) {
24788       {
24789         void *ptr;
24790         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
24791           _v = 0;
24792         } else {
24793           _v = 1;
24794         }
24795       }
24796       if (_v) {
24797         return _wrap_SBEvent_GetDescription__SWIG_1(L);
24798       }
24799     }
24800   }
24801 
24802   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBEvent_GetDescription'\n"
24803     "  Possible C/C++ prototypes are:\n"
24804     "    lldb::SBEvent::GetDescription(lldb::SBStream &)\n"
24805     "    lldb::SBEvent::GetDescription(lldb::SBStream &) const\n");
24806   lua_error(L);return 0;
24807 }
24808 
24809 
swig_delete_SBEvent(void * obj)24810 static void swig_delete_SBEvent(void *obj) {
24811 lldb::SBEvent *arg1 = (lldb::SBEvent *) obj;
24812 delete arg1;
24813 }
_proxy__wrap_new_SBEvent(lua_State * L)24814 static int _proxy__wrap_new_SBEvent(lua_State *L) {
24815     assert(lua_istable(L,1));
24816     lua_pushcfunction(L,_wrap_new_SBEvent);
24817     assert(!lua_isnil(L,-1));
24818     lua_replace(L,1); /* replace our table with real constructor */
24819     lua_call(L,lua_gettop(L)-1,1);
24820     return 1;
24821 }
24822 static swig_lua_attribute swig_SBEvent_attributes[] = {
24823     {0,0,0}
24824 };
24825 static swig_lua_method swig_SBEvent_methods[]= {
24826     { "IsValid", _wrap_SBEvent_IsValid},
24827     { "GetDataFlavor", _wrap_SBEvent_GetDataFlavor},
24828     { "GetType", _wrap_SBEvent_GetType},
24829     { "GetBroadcaster", _wrap_SBEvent_GetBroadcaster},
24830     { "GetBroadcasterClass", _wrap_SBEvent_GetBroadcasterClass},
24831     { "BroadcasterMatchesRef", _wrap_SBEvent_BroadcasterMatchesRef},
24832     { "Clear", _wrap_SBEvent_Clear},
24833     { "GetDescription", _wrap_SBEvent_GetDescription},
24834     {0,0}
24835 };
24836 static swig_lua_method swig_SBEvent_meta[] = {
24837     {0,0}
24838 };
24839 
24840 static swig_lua_attribute swig_SBEvent_Sf_SwigStatic_attributes[] = {
24841     {0,0,0}
24842 };
24843 static swig_lua_const_info swig_SBEvent_Sf_SwigStatic_constants[]= {
24844     {0,0,0,0,0,0}
24845 };
24846 static swig_lua_method swig_SBEvent_Sf_SwigStatic_methods[]= {
24847     { "GetCStringFromEvent", _wrap_SBEvent_GetCStringFromEvent},
24848     {0,0}
24849 };
24850 static swig_lua_class* swig_SBEvent_Sf_SwigStatic_classes[]= {
24851     0
24852 };
24853 
24854 static swig_lua_namespace swig_SBEvent_Sf_SwigStatic = {
24855     "SBEvent",
24856     swig_SBEvent_Sf_SwigStatic_methods,
24857     swig_SBEvent_Sf_SwigStatic_attributes,
24858     swig_SBEvent_Sf_SwigStatic_constants,
24859     swig_SBEvent_Sf_SwigStatic_classes,
24860     0
24861 };
24862 static swig_lua_class *swig_SBEvent_bases[] = {0};
24863 static const char *swig_SBEvent_base_names[] = {0};
24864 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 };
24865 
_wrap_new_SBExecutionContext__SWIG_0(lua_State * L)24866 static int _wrap_new_SBExecutionContext__SWIG_0(lua_State* L) {
24867   {
24868     int SWIG_arg = 0;
24869     lldb::SBExecutionContext *result = 0 ;
24870 
24871     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",0,0)
24872     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext();
24873     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24874     return SWIG_arg;
24875 
24876     fail: SWIGUNUSED;
24877   }
24878   lua_error(L);
24879   return 0;
24880 }
24881 
24882 
_wrap_new_SBExecutionContext__SWIG_1(lua_State * L)24883 static int _wrap_new_SBExecutionContext__SWIG_1(lua_State* L) {
24884   {
24885     int SWIG_arg = 0;
24886     lldb::SBExecutionContext *arg1 = 0 ;
24887     lldb::SBExecutionContext *result = 0 ;
24888 
24889     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1)
24890     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBExecutionContext const &");
24891 
24892     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){
24893       SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBExecutionContext);
24894     }
24895 
24896     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBExecutionContext const &)*arg1);
24897     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24898     return SWIG_arg;
24899 
24900     fail: SWIGUNUSED;
24901   }
24902   lua_error(L);
24903   return 0;
24904 }
24905 
24906 
_wrap_new_SBExecutionContext__SWIG_2(lua_State * L)24907 static int _wrap_new_SBExecutionContext__SWIG_2(lua_State* L) {
24908   {
24909     int SWIG_arg = 0;
24910     lldb::SBTarget *arg1 = 0 ;
24911     lldb::SBExecutionContext *result = 0 ;
24912 
24913     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1)
24914     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBTarget const &");
24915 
24916     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
24917       SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBTarget);
24918     }
24919 
24920     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBTarget const &)*arg1);
24921     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24922     return SWIG_arg;
24923 
24924     fail: SWIGUNUSED;
24925   }
24926   lua_error(L);
24927   return 0;
24928 }
24929 
24930 
_wrap_new_SBExecutionContext__SWIG_3(lua_State * L)24931 static int _wrap_new_SBExecutionContext__SWIG_3(lua_State* L) {
24932   {
24933     int SWIG_arg = 0;
24934     lldb::SBProcess *arg1 = 0 ;
24935     lldb::SBExecutionContext *result = 0 ;
24936 
24937     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1)
24938     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBProcess const &");
24939 
24940     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
24941       SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBProcess);
24942     }
24943 
24944     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBProcess const &)*arg1);
24945     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24946     return SWIG_arg;
24947 
24948     fail: SWIGUNUSED;
24949   }
24950   lua_error(L);
24951   return 0;
24952 }
24953 
24954 
_wrap_new_SBExecutionContext__SWIG_4(lua_State * L)24955 static int _wrap_new_SBExecutionContext__SWIG_4(lua_State* L) {
24956   {
24957     int SWIG_arg = 0;
24958     lldb::SBThread arg1 ;
24959     lldb::SBThread *argp1 ;
24960     lldb::SBExecutionContext *result = 0 ;
24961 
24962     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1)
24963     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBThread");
24964 
24965     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBThread,0))){
24966       SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBThread);
24967     }
24968     arg1 = *argp1;
24969 
24970     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(arg1);
24971     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24972     return SWIG_arg;
24973 
24974     fail: SWIGUNUSED;
24975   }
24976   lua_error(L);
24977   return 0;
24978 }
24979 
24980 
_wrap_new_SBExecutionContext__SWIG_5(lua_State * L)24981 static int _wrap_new_SBExecutionContext__SWIG_5(lua_State* L) {
24982   {
24983     int SWIG_arg = 0;
24984     lldb::SBFrame *arg1 = 0 ;
24985     lldb::SBExecutionContext *result = 0 ;
24986 
24987     SWIG_check_num_args("lldb::SBExecutionContext::SBExecutionContext",1,1)
24988     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::SBExecutionContext",1,"lldb::SBFrame const &");
24989 
24990     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
24991       SWIG_fail_ptr("new_SBExecutionContext",1,SWIGTYPE_p_lldb__SBFrame);
24992     }
24993 
24994     result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext((lldb::SBFrame const &)*arg1);
24995     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExecutionContext,1); SWIG_arg++;
24996     return SWIG_arg;
24997 
24998     fail: SWIGUNUSED;
24999   }
25000   lua_error(L);
25001   return 0;
25002 }
25003 
25004 
_wrap_new_SBExecutionContext(lua_State * L)25005 static int _wrap_new_SBExecutionContext(lua_State* L) {
25006   int argc;
25007   int argv[2]={
25008     1,2
25009   };
25010 
25011   argc = lua_gettop(L);
25012   if (argc == 0) {
25013     return _wrap_new_SBExecutionContext__SWIG_0(L);
25014   }
25015   if (argc == 1) {
25016     int _v = 0;
25017     {
25018       void *ptr;
25019       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NO_NULL)) {
25020         _v = 0;
25021       } else {
25022         _v = 1;
25023       }
25024     }
25025     if (_v) {
25026       return _wrap_new_SBExecutionContext__SWIG_1(L);
25027     }
25028   }
25029   if (argc == 1) {
25030     int _v = 0;
25031     {
25032       void *ptr;
25033       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
25034         _v = 0;
25035       } else {
25036         _v = 1;
25037       }
25038     }
25039     if (_v) {
25040       return _wrap_new_SBExecutionContext__SWIG_2(L);
25041     }
25042   }
25043   if (argc == 1) {
25044     int _v = 0;
25045     {
25046       void *ptr;
25047       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) {
25048         _v = 0;
25049       } else {
25050         _v = 1;
25051       }
25052     }
25053     if (_v) {
25054       return _wrap_new_SBExecutionContext__SWIG_3(L);
25055     }
25056   }
25057   if (argc == 1) {
25058     int _v = 0;
25059     {
25060       void *ptr;
25061       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
25062         _v = 0;
25063       } else {
25064         _v = 1;
25065       }
25066     }
25067     if (_v) {
25068       return _wrap_new_SBExecutionContext__SWIG_4(L);
25069     }
25070   }
25071   if (argc == 1) {
25072     int _v = 0;
25073     {
25074       void *ptr;
25075       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
25076         _v = 0;
25077       } else {
25078         _v = 1;
25079       }
25080     }
25081     if (_v) {
25082       return _wrap_new_SBExecutionContext__SWIG_5(L);
25083     }
25084   }
25085 
25086   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBExecutionContext'\n"
25087     "  Possible C/C++ prototypes are:\n"
25088     "    lldb::SBExecutionContext::SBExecutionContext()\n"
25089     "    lldb::SBExecutionContext::SBExecutionContext(lldb::SBExecutionContext const &)\n"
25090     "    lldb::SBExecutionContext::SBExecutionContext(lldb::SBTarget const &)\n"
25091     "    lldb::SBExecutionContext::SBExecutionContext(lldb::SBProcess const &)\n"
25092     "    lldb::SBExecutionContext::SBExecutionContext(lldb::SBThread)\n"
25093     "    lldb::SBExecutionContext::SBExecutionContext(lldb::SBFrame const &)\n");
25094   lua_error(L);return 0;
25095 }
25096 
25097 
_wrap_SBExecutionContext_GetTarget(lua_State * L)25098 static int _wrap_SBExecutionContext_GetTarget(lua_State* L) {
25099   {
25100     int SWIG_arg = 0;
25101     lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ;
25102     lldb::SBTarget result;
25103 
25104     SWIG_check_num_args("lldb::SBExecutionContext::GetTarget",1,1)
25105     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetTarget",1,"lldb::SBExecutionContext const *");
25106 
25107     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){
25108       SWIG_fail_ptr("SBExecutionContext_GetTarget",1,SWIGTYPE_p_lldb__SBExecutionContext);
25109     }
25110 
25111     result = ((lldb::SBExecutionContext const *)arg1)->GetTarget();
25112     {
25113       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
25114       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
25115     }
25116     return SWIG_arg;
25117 
25118     fail: SWIGUNUSED;
25119   }
25120   lua_error(L);
25121   return 0;
25122 }
25123 
25124 
_wrap_SBExecutionContext_GetProcess(lua_State * L)25125 static int _wrap_SBExecutionContext_GetProcess(lua_State* L) {
25126   {
25127     int SWIG_arg = 0;
25128     lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ;
25129     lldb::SBProcess result;
25130 
25131     SWIG_check_num_args("lldb::SBExecutionContext::GetProcess",1,1)
25132     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetProcess",1,"lldb::SBExecutionContext const *");
25133 
25134     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){
25135       SWIG_fail_ptr("SBExecutionContext_GetProcess",1,SWIGTYPE_p_lldb__SBExecutionContext);
25136     }
25137 
25138     result = ((lldb::SBExecutionContext const *)arg1)->GetProcess();
25139     {
25140       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
25141       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
25142     }
25143     return SWIG_arg;
25144 
25145     fail: SWIGUNUSED;
25146   }
25147   lua_error(L);
25148   return 0;
25149 }
25150 
25151 
_wrap_SBExecutionContext_GetThread(lua_State * L)25152 static int _wrap_SBExecutionContext_GetThread(lua_State* L) {
25153   {
25154     int SWIG_arg = 0;
25155     lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ;
25156     lldb::SBThread result;
25157 
25158     SWIG_check_num_args("lldb::SBExecutionContext::GetThread",1,1)
25159     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetThread",1,"lldb::SBExecutionContext const *");
25160 
25161     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){
25162       SWIG_fail_ptr("SBExecutionContext_GetThread",1,SWIGTYPE_p_lldb__SBExecutionContext);
25163     }
25164 
25165     result = ((lldb::SBExecutionContext const *)arg1)->GetThread();
25166     {
25167       lldb::SBThread * resultptr = new lldb::SBThread(result);
25168       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
25169     }
25170     return SWIG_arg;
25171 
25172     fail: SWIGUNUSED;
25173   }
25174   lua_error(L);
25175   return 0;
25176 }
25177 
25178 
_wrap_SBExecutionContext_GetFrame(lua_State * L)25179 static int _wrap_SBExecutionContext_GetFrame(lua_State* L) {
25180   {
25181     int SWIG_arg = 0;
25182     lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) 0 ;
25183     lldb::SBFrame result;
25184 
25185     SWIG_check_num_args("lldb::SBExecutionContext::GetFrame",1,1)
25186     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExecutionContext::GetFrame",1,"lldb::SBExecutionContext const *");
25187 
25188     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExecutionContext,0))){
25189       SWIG_fail_ptr("SBExecutionContext_GetFrame",1,SWIGTYPE_p_lldb__SBExecutionContext);
25190     }
25191 
25192     result = ((lldb::SBExecutionContext const *)arg1)->GetFrame();
25193     {
25194       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
25195       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
25196     }
25197     return SWIG_arg;
25198 
25199     fail: SWIGUNUSED;
25200   }
25201   lua_error(L);
25202   return 0;
25203 }
25204 
25205 
swig_delete_SBExecutionContext(void * obj)25206 static void swig_delete_SBExecutionContext(void *obj) {
25207 lldb::SBExecutionContext *arg1 = (lldb::SBExecutionContext *) obj;
25208 delete arg1;
25209 }
_proxy__wrap_new_SBExecutionContext(lua_State * L)25210 static int _proxy__wrap_new_SBExecutionContext(lua_State *L) {
25211     assert(lua_istable(L,1));
25212     lua_pushcfunction(L,_wrap_new_SBExecutionContext);
25213     assert(!lua_isnil(L,-1));
25214     lua_replace(L,1); /* replace our table with real constructor */
25215     lua_call(L,lua_gettop(L)-1,1);
25216     return 1;
25217 }
25218 static swig_lua_attribute swig_SBExecutionContext_attributes[] = {
25219     {0,0,0}
25220 };
25221 static swig_lua_method swig_SBExecutionContext_methods[]= {
25222     { "GetTarget", _wrap_SBExecutionContext_GetTarget},
25223     { "GetProcess", _wrap_SBExecutionContext_GetProcess},
25224     { "GetThread", _wrap_SBExecutionContext_GetThread},
25225     { "GetFrame", _wrap_SBExecutionContext_GetFrame},
25226     {0,0}
25227 };
25228 static swig_lua_method swig_SBExecutionContext_meta[] = {
25229     {0,0}
25230 };
25231 
25232 static swig_lua_attribute swig_SBExecutionContext_Sf_SwigStatic_attributes[] = {
25233     {0,0,0}
25234 };
25235 static swig_lua_const_info swig_SBExecutionContext_Sf_SwigStatic_constants[]= {
25236     {0,0,0,0,0,0}
25237 };
25238 static swig_lua_method swig_SBExecutionContext_Sf_SwigStatic_methods[]= {
25239     {0,0}
25240 };
25241 static swig_lua_class* swig_SBExecutionContext_Sf_SwigStatic_classes[]= {
25242     0
25243 };
25244 
25245 static swig_lua_namespace swig_SBExecutionContext_Sf_SwigStatic = {
25246     "SBExecutionContext",
25247     swig_SBExecutionContext_Sf_SwigStatic_methods,
25248     swig_SBExecutionContext_Sf_SwigStatic_attributes,
25249     swig_SBExecutionContext_Sf_SwigStatic_constants,
25250     swig_SBExecutionContext_Sf_SwigStatic_classes,
25251     0
25252 };
25253 static swig_lua_class *swig_SBExecutionContext_bases[] = {0};
25254 static const char *swig_SBExecutionContext_base_names[] = {0};
25255 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 };
25256 
_wrap_new_SBExpressionOptions__SWIG_0(lua_State * L)25257 static int _wrap_new_SBExpressionOptions__SWIG_0(lua_State* L) {
25258   {
25259     int SWIG_arg = 0;
25260     lldb::SBExpressionOptions *result = 0 ;
25261 
25262     SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",0,0)
25263     result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions();
25264     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++;
25265     return SWIG_arg;
25266 
25267     fail: SWIGUNUSED;
25268   }
25269   lua_error(L);
25270   return 0;
25271 }
25272 
25273 
_wrap_new_SBExpressionOptions__SWIG_1(lua_State * L)25274 static int _wrap_new_SBExpressionOptions__SWIG_1(lua_State* L) {
25275   {
25276     int SWIG_arg = 0;
25277     lldb::SBExpressionOptions *arg1 = 0 ;
25278     lldb::SBExpressionOptions *result = 0 ;
25279 
25280     SWIG_check_num_args("lldb::SBExpressionOptions::SBExpressionOptions",1,1)
25281     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SBExpressionOptions",1,"lldb::SBExpressionOptions const &");
25282 
25283     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25284       SWIG_fail_ptr("new_SBExpressionOptions",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25285     }
25286 
25287     result = (lldb::SBExpressionOptions *)new lldb::SBExpressionOptions((lldb::SBExpressionOptions const &)*arg1);
25288     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBExpressionOptions,1); SWIG_arg++;
25289     return SWIG_arg;
25290 
25291     fail: SWIGUNUSED;
25292   }
25293   lua_error(L);
25294   return 0;
25295 }
25296 
25297 
_wrap_new_SBExpressionOptions(lua_State * L)25298 static int _wrap_new_SBExpressionOptions(lua_State* L) {
25299   int argc;
25300   int argv[2]={
25301     1,2
25302   };
25303 
25304   argc = lua_gettop(L);
25305   if (argc == 0) {
25306     return _wrap_new_SBExpressionOptions__SWIG_0(L);
25307   }
25308   if (argc == 1) {
25309     int _v = 0;
25310     {
25311       void *ptr;
25312       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
25313         _v = 0;
25314       } else {
25315         _v = 1;
25316       }
25317     }
25318     if (_v) {
25319       return _wrap_new_SBExpressionOptions__SWIG_1(L);
25320     }
25321   }
25322 
25323   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBExpressionOptions'\n"
25324     "  Possible C/C++ prototypes are:\n"
25325     "    lldb::SBExpressionOptions::SBExpressionOptions()\n"
25326     "    lldb::SBExpressionOptions::SBExpressionOptions(lldb::SBExpressionOptions const &)\n");
25327   lua_error(L);return 0;
25328 }
25329 
25330 
_wrap_SBExpressionOptions_GetCoerceResultToId(lua_State * L)25331 static int _wrap_SBExpressionOptions_GetCoerceResultToId(lua_State* L) {
25332   {
25333     int SWIG_arg = 0;
25334     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25335     bool result;
25336 
25337     SWIG_check_num_args("lldb::SBExpressionOptions::GetCoerceResultToId",1,1)
25338     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetCoerceResultToId",1,"lldb::SBExpressionOptions const *");
25339 
25340     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25341       SWIG_fail_ptr("SBExpressionOptions_GetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25342     }
25343 
25344     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetCoerceResultToId();
25345     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
25346     return SWIG_arg;
25347 
25348     fail: SWIGUNUSED;
25349   }
25350   lua_error(L);
25351   return 0;
25352 }
25353 
25354 
_wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_0(lua_State * L)25355 static int _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_0(lua_State* L) {
25356   {
25357     int SWIG_arg = 0;
25358     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25359     bool arg2 ;
25360 
25361     SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",2,2)
25362     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *");
25363     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",2,"bool");
25364 
25365     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25366       SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25367     }
25368 
25369     arg2 = (lua_toboolean(L, 2)!=0);
25370     (arg1)->SetCoerceResultToId(arg2);
25371 
25372     return SWIG_arg;
25373 
25374     fail: SWIGUNUSED;
25375   }
25376   lua_error(L);
25377   return 0;
25378 }
25379 
25380 
_wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_1(lua_State * L)25381 static int _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_1(lua_State* L) {
25382   {
25383     int SWIG_arg = 0;
25384     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25385 
25386     SWIG_check_num_args("lldb::SBExpressionOptions::SetCoerceResultToId",1,1)
25387     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetCoerceResultToId",1,"lldb::SBExpressionOptions *");
25388 
25389     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25390       SWIG_fail_ptr("SBExpressionOptions_SetCoerceResultToId",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25391     }
25392 
25393     (arg1)->SetCoerceResultToId();
25394 
25395     return SWIG_arg;
25396 
25397     fail: SWIGUNUSED;
25398   }
25399   lua_error(L);
25400   return 0;
25401 }
25402 
25403 
_wrap_SBExpressionOptions_SetCoerceResultToId(lua_State * L)25404 static int _wrap_SBExpressionOptions_SetCoerceResultToId(lua_State* L) {
25405   int argc;
25406   int argv[3]={
25407     1,2,3
25408   };
25409 
25410   argc = lua_gettop(L);
25411   if (argc == 1) {
25412     int _v = 0;
25413     {
25414       void *ptr;
25415       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25416         _v = 0;
25417       } else {
25418         _v = 1;
25419       }
25420     }
25421     if (_v) {
25422       return _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_1(L);
25423     }
25424   }
25425   if (argc == 2) {
25426     int _v = 0;
25427     {
25428       void *ptr;
25429       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25430         _v = 0;
25431       } else {
25432         _v = 1;
25433       }
25434     }
25435     if (_v) {
25436       {
25437         _v = lua_isboolean(L,argv[1]);
25438       }
25439       if (_v) {
25440         return _wrap_SBExpressionOptions_SetCoerceResultToId__SWIG_0(L);
25441       }
25442     }
25443   }
25444 
25445   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetCoerceResultToId'\n"
25446     "  Possible C/C++ prototypes are:\n"
25447     "    lldb::SBExpressionOptions::SetCoerceResultToId(bool)\n"
25448     "    lldb::SBExpressionOptions::SetCoerceResultToId()\n");
25449   lua_error(L);return 0;
25450 }
25451 
25452 
_wrap_SBExpressionOptions_GetUnwindOnError(lua_State * L)25453 static int _wrap_SBExpressionOptions_GetUnwindOnError(lua_State* L) {
25454   {
25455     int SWIG_arg = 0;
25456     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25457     bool result;
25458 
25459     SWIG_check_num_args("lldb::SBExpressionOptions::GetUnwindOnError",1,1)
25460     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetUnwindOnError",1,"lldb::SBExpressionOptions const *");
25461 
25462     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25463       SWIG_fail_ptr("SBExpressionOptions_GetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25464     }
25465 
25466     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetUnwindOnError();
25467     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
25468     return SWIG_arg;
25469 
25470     fail: SWIGUNUSED;
25471   }
25472   lua_error(L);
25473   return 0;
25474 }
25475 
25476 
_wrap_SBExpressionOptions_SetUnwindOnError__SWIG_0(lua_State * L)25477 static int _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_0(lua_State* L) {
25478   {
25479     int SWIG_arg = 0;
25480     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25481     bool arg2 ;
25482 
25483     SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",2,2)
25484     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *");
25485     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",2,"bool");
25486 
25487     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25488       SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25489     }
25490 
25491     arg2 = (lua_toboolean(L, 2)!=0);
25492     (arg1)->SetUnwindOnError(arg2);
25493 
25494     return SWIG_arg;
25495 
25496     fail: SWIGUNUSED;
25497   }
25498   lua_error(L);
25499   return 0;
25500 }
25501 
25502 
_wrap_SBExpressionOptions_SetUnwindOnError__SWIG_1(lua_State * L)25503 static int _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_1(lua_State* L) {
25504   {
25505     int SWIG_arg = 0;
25506     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25507 
25508     SWIG_check_num_args("lldb::SBExpressionOptions::SetUnwindOnError",1,1)
25509     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetUnwindOnError",1,"lldb::SBExpressionOptions *");
25510 
25511     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25512       SWIG_fail_ptr("SBExpressionOptions_SetUnwindOnError",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25513     }
25514 
25515     (arg1)->SetUnwindOnError();
25516 
25517     return SWIG_arg;
25518 
25519     fail: SWIGUNUSED;
25520   }
25521   lua_error(L);
25522   return 0;
25523 }
25524 
25525 
_wrap_SBExpressionOptions_SetUnwindOnError(lua_State * L)25526 static int _wrap_SBExpressionOptions_SetUnwindOnError(lua_State* L) {
25527   int argc;
25528   int argv[3]={
25529     1,2,3
25530   };
25531 
25532   argc = lua_gettop(L);
25533   if (argc == 1) {
25534     int _v = 0;
25535     {
25536       void *ptr;
25537       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25538         _v = 0;
25539       } else {
25540         _v = 1;
25541       }
25542     }
25543     if (_v) {
25544       return _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_1(L);
25545     }
25546   }
25547   if (argc == 2) {
25548     int _v = 0;
25549     {
25550       void *ptr;
25551       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25552         _v = 0;
25553       } else {
25554         _v = 1;
25555       }
25556     }
25557     if (_v) {
25558       {
25559         _v = lua_isboolean(L,argv[1]);
25560       }
25561       if (_v) {
25562         return _wrap_SBExpressionOptions_SetUnwindOnError__SWIG_0(L);
25563       }
25564     }
25565   }
25566 
25567   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetUnwindOnError'\n"
25568     "  Possible C/C++ prototypes are:\n"
25569     "    lldb::SBExpressionOptions::SetUnwindOnError(bool)\n"
25570     "    lldb::SBExpressionOptions::SetUnwindOnError()\n");
25571   lua_error(L);return 0;
25572 }
25573 
25574 
_wrap_SBExpressionOptions_GetIgnoreBreakpoints(lua_State * L)25575 static int _wrap_SBExpressionOptions_GetIgnoreBreakpoints(lua_State* L) {
25576   {
25577     int SWIG_arg = 0;
25578     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25579     bool result;
25580 
25581     SWIG_check_num_args("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,1)
25582     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetIgnoreBreakpoints",1,"lldb::SBExpressionOptions const *");
25583 
25584     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25585       SWIG_fail_ptr("SBExpressionOptions_GetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25586     }
25587 
25588     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetIgnoreBreakpoints();
25589     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
25590     return SWIG_arg;
25591 
25592     fail: SWIGUNUSED;
25593   }
25594   lua_error(L);
25595   return 0;
25596 }
25597 
25598 
_wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(lua_State * L)25599 static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(lua_State* L) {
25600   {
25601     int SWIG_arg = 0;
25602     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25603     bool arg2 ;
25604 
25605     SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,2)
25606     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *");
25607     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",2,"bool");
25608 
25609     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25610       SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25611     }
25612 
25613     arg2 = (lua_toboolean(L, 2)!=0);
25614     (arg1)->SetIgnoreBreakpoints(arg2);
25615 
25616     return SWIG_arg;
25617 
25618     fail: SWIGUNUSED;
25619   }
25620   lua_error(L);
25621   return 0;
25622 }
25623 
25624 
_wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(lua_State * L)25625 static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(lua_State* L) {
25626   {
25627     int SWIG_arg = 0;
25628     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25629 
25630     SWIG_check_num_args("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,1)
25631     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetIgnoreBreakpoints",1,"lldb::SBExpressionOptions *");
25632 
25633     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25634       SWIG_fail_ptr("SBExpressionOptions_SetIgnoreBreakpoints",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25635     }
25636 
25637     (arg1)->SetIgnoreBreakpoints();
25638 
25639     return SWIG_arg;
25640 
25641     fail: SWIGUNUSED;
25642   }
25643   lua_error(L);
25644   return 0;
25645 }
25646 
25647 
_wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State * L)25648 static int _wrap_SBExpressionOptions_SetIgnoreBreakpoints(lua_State* L) {
25649   int argc;
25650   int argv[3]={
25651     1,2,3
25652   };
25653 
25654   argc = lua_gettop(L);
25655   if (argc == 1) {
25656     int _v = 0;
25657     {
25658       void *ptr;
25659       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25660         _v = 0;
25661       } else {
25662         _v = 1;
25663       }
25664     }
25665     if (_v) {
25666       return _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(L);
25667     }
25668   }
25669   if (argc == 2) {
25670     int _v = 0;
25671     {
25672       void *ptr;
25673       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25674         _v = 0;
25675       } else {
25676         _v = 1;
25677       }
25678     }
25679     if (_v) {
25680       {
25681         _v = lua_isboolean(L,argv[1]);
25682       }
25683       if (_v) {
25684         return _wrap_SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(L);
25685       }
25686     }
25687   }
25688 
25689   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetIgnoreBreakpoints'\n"
25690     "  Possible C/C++ prototypes are:\n"
25691     "    lldb::SBExpressionOptions::SetIgnoreBreakpoints(bool)\n"
25692     "    lldb::SBExpressionOptions::SetIgnoreBreakpoints()\n");
25693   lua_error(L);return 0;
25694 }
25695 
25696 
_wrap_SBExpressionOptions_GetFetchDynamicValue(lua_State * L)25697 static int _wrap_SBExpressionOptions_GetFetchDynamicValue(lua_State* L) {
25698   {
25699     int SWIG_arg = 0;
25700     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25701     lldb::DynamicValueType result;
25702 
25703     SWIG_check_num_args("lldb::SBExpressionOptions::GetFetchDynamicValue",1,1)
25704     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetFetchDynamicValue",1,"lldb::SBExpressionOptions const *");
25705 
25706     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25707       SWIG_fail_ptr("SBExpressionOptions_GetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25708     }
25709 
25710     result = (lldb::DynamicValueType)((lldb::SBExpressionOptions const *)arg1)->GetFetchDynamicValue();
25711     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
25712     return SWIG_arg;
25713 
25714     fail: SWIGUNUSED;
25715   }
25716   lua_error(L);
25717   return 0;
25718 }
25719 
25720 
_wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_0(lua_State * L)25721 static int _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_0(lua_State* L) {
25722   {
25723     int SWIG_arg = 0;
25724     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25725     lldb::DynamicValueType arg2 ;
25726 
25727     SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",2,2)
25728     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *");
25729     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",2,"lldb::DynamicValueType");
25730 
25731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25732       SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25733     }
25734 
25735     arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2);
25736     (arg1)->SetFetchDynamicValue(arg2);
25737 
25738     return SWIG_arg;
25739 
25740     fail: SWIGUNUSED;
25741   }
25742   lua_error(L);
25743   return 0;
25744 }
25745 
25746 
_wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_1(lua_State * L)25747 static int _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_1(lua_State* L) {
25748   {
25749     int SWIG_arg = 0;
25750     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25751 
25752     SWIG_check_num_args("lldb::SBExpressionOptions::SetFetchDynamicValue",1,1)
25753     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetFetchDynamicValue",1,"lldb::SBExpressionOptions *");
25754 
25755     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25756       SWIG_fail_ptr("SBExpressionOptions_SetFetchDynamicValue",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25757     }
25758 
25759     (arg1)->SetFetchDynamicValue();
25760 
25761     return SWIG_arg;
25762 
25763     fail: SWIGUNUSED;
25764   }
25765   lua_error(L);
25766   return 0;
25767 }
25768 
25769 
_wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State * L)25770 static int _wrap_SBExpressionOptions_SetFetchDynamicValue(lua_State* L) {
25771   int argc;
25772   int argv[3]={
25773     1,2,3
25774   };
25775 
25776   argc = lua_gettop(L);
25777   if (argc == 1) {
25778     int _v = 0;
25779     {
25780       void *ptr;
25781       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25782         _v = 0;
25783       } else {
25784         _v = 1;
25785       }
25786     }
25787     if (_v) {
25788       return _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_1(L);
25789     }
25790   }
25791   if (argc == 2) {
25792     int _v = 0;
25793     {
25794       void *ptr;
25795       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25796         _v = 0;
25797       } else {
25798         _v = 1;
25799       }
25800     }
25801     if (_v) {
25802       {
25803         _v = lua_isnumber(L,argv[1]);
25804       }
25805       if (_v) {
25806         return _wrap_SBExpressionOptions_SetFetchDynamicValue__SWIG_0(L);
25807       }
25808     }
25809   }
25810 
25811   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetFetchDynamicValue'\n"
25812     "  Possible C/C++ prototypes are:\n"
25813     "    lldb::SBExpressionOptions::SetFetchDynamicValue(lldb::DynamicValueType)\n"
25814     "    lldb::SBExpressionOptions::SetFetchDynamicValue()\n");
25815   lua_error(L);return 0;
25816 }
25817 
25818 
_wrap_SBExpressionOptions_GetTimeoutInMicroSeconds(lua_State * L)25819 static int _wrap_SBExpressionOptions_GetTimeoutInMicroSeconds(lua_State* L) {
25820   {
25821     int SWIG_arg = 0;
25822     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25823     uint32_t result;
25824 
25825     SWIG_check_num_args("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,1)
25826     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *");
25827 
25828     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25829       SWIG_fail_ptr("SBExpressionOptions_GetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25830     }
25831 
25832     result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetTimeoutInMicroSeconds();
25833     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
25834     return SWIG_arg;
25835 
25836     fail: SWIGUNUSED;
25837   }
25838   lua_error(L);
25839   return 0;
25840 }
25841 
25842 
_wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(lua_State * L)25843 static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(lua_State* L) {
25844   {
25845     int SWIG_arg = 0;
25846     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25847     uint32_t arg2 ;
25848 
25849     SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,2)
25850     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *");
25851     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",2,"uint32_t");
25852 
25853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25854       SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25855     }
25856 
25857     arg2 = (uint32_t)lua_tointeger(L, 2);
25858     (arg1)->SetTimeoutInMicroSeconds(arg2);
25859 
25860     return SWIG_arg;
25861 
25862     fail: SWIGUNUSED;
25863   }
25864   lua_error(L);
25865   return 0;
25866 }
25867 
25868 
_wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(lua_State * L)25869 static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(lua_State* L) {
25870   {
25871     int SWIG_arg = 0;
25872     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25873 
25874     SWIG_check_num_args("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,1)
25875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *");
25876 
25877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25878       SWIG_fail_ptr("SBExpressionOptions_SetTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25879     }
25880 
25881     (arg1)->SetTimeoutInMicroSeconds();
25882 
25883     return SWIG_arg;
25884 
25885     fail: SWIGUNUSED;
25886   }
25887   lua_error(L);
25888   return 0;
25889 }
25890 
25891 
_wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State * L)25892 static int _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds(lua_State* L) {
25893   int argc;
25894   int argv[3]={
25895     1,2,3
25896   };
25897 
25898   argc = lua_gettop(L);
25899   if (argc == 1) {
25900     int _v = 0;
25901     {
25902       void *ptr;
25903       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25904         _v = 0;
25905       } else {
25906         _v = 1;
25907       }
25908     }
25909     if (_v) {
25910       return _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(L);
25911     }
25912   }
25913   if (argc == 2) {
25914     int _v = 0;
25915     {
25916       void *ptr;
25917       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
25918         _v = 0;
25919       } else {
25920         _v = 1;
25921       }
25922     }
25923     if (_v) {
25924       {
25925         _v = lua_isnumber(L,argv[1]);
25926       }
25927       if (_v) {
25928         return _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(L);
25929       }
25930     }
25931   }
25932 
25933   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTimeoutInMicroSeconds'\n"
25934     "  Possible C/C++ prototypes are:\n"
25935     "    lldb::SBExpressionOptions::SetTimeoutInMicroSeconds(uint32_t)\n"
25936     "    lldb::SBExpressionOptions::SetTimeoutInMicroSeconds()\n");
25937   lua_error(L);return 0;
25938 }
25939 
25940 
_wrap_SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds(lua_State * L)25941 static int _wrap_SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds(lua_State* L) {
25942   {
25943     int SWIG_arg = 0;
25944     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25945     uint32_t result;
25946 
25947     SWIG_check_num_args("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,1)
25948     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions const *");
25949 
25950     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25951       SWIG_fail_ptr("SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25952     }
25953 
25954     result = (uint32_t)((lldb::SBExpressionOptions const *)arg1)->GetOneThreadTimeoutInMicroSeconds();
25955     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
25956     return SWIG_arg;
25957 
25958     fail: SWIGUNUSED;
25959   }
25960   lua_error(L);
25961   return 0;
25962 }
25963 
25964 
_wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(lua_State * L)25965 static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(lua_State* L) {
25966   {
25967     int SWIG_arg = 0;
25968     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25969     uint32_t arg2 ;
25970 
25971     SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,2)
25972     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *");
25973     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",2,"uint32_t");
25974 
25975     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
25976       SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
25977     }
25978 
25979     arg2 = (uint32_t)lua_tointeger(L, 2);
25980     (arg1)->SetOneThreadTimeoutInMicroSeconds(arg2);
25981 
25982     return SWIG_arg;
25983 
25984     fail: SWIGUNUSED;
25985   }
25986   lua_error(L);
25987   return 0;
25988 }
25989 
25990 
_wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(lua_State * L)25991 static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(lua_State* L) {
25992   {
25993     int SWIG_arg = 0;
25994     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
25995 
25996     SWIG_check_num_args("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,1)
25997     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds",1,"lldb::SBExpressionOptions *");
25998 
25999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26000       SWIG_fail_ptr("SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26001     }
26002 
26003     (arg1)->SetOneThreadTimeoutInMicroSeconds();
26004 
26005     return SWIG_arg;
26006 
26007     fail: SWIGUNUSED;
26008   }
26009   lua_error(L);
26010   return 0;
26011 }
26012 
26013 
_wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State * L)26014 static int _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds(lua_State* L) {
26015   int argc;
26016   int argv[3]={
26017     1,2,3
26018   };
26019 
26020   argc = lua_gettop(L);
26021   if (argc == 1) {
26022     int _v = 0;
26023     {
26024       void *ptr;
26025       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26026         _v = 0;
26027       } else {
26028         _v = 1;
26029       }
26030     }
26031     if (_v) {
26032       return _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(L);
26033     }
26034   }
26035   if (argc == 2) {
26036     int _v = 0;
26037     {
26038       void *ptr;
26039       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26040         _v = 0;
26041       } else {
26042         _v = 1;
26043       }
26044     }
26045     if (_v) {
26046       {
26047         _v = lua_isnumber(L,argv[1]);
26048       }
26049       if (_v) {
26050         return _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(L);
26051       }
26052     }
26053   }
26054 
26055   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds'\n"
26056     "  Possible C/C++ prototypes are:\n"
26057     "    lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds(uint32_t)\n"
26058     "    lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds()\n");
26059   lua_error(L);return 0;
26060 }
26061 
26062 
_wrap_SBExpressionOptions_GetTryAllThreads(lua_State * L)26063 static int _wrap_SBExpressionOptions_GetTryAllThreads(lua_State* L) {
26064   {
26065     int SWIG_arg = 0;
26066     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26067     bool result;
26068 
26069     SWIG_check_num_args("lldb::SBExpressionOptions::GetTryAllThreads",1,1)
26070     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTryAllThreads",1,"lldb::SBExpressionOptions const *");
26071 
26072     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26073       SWIG_fail_ptr("SBExpressionOptions_GetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26074     }
26075 
26076     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTryAllThreads();
26077     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26078     return SWIG_arg;
26079 
26080     fail: SWIGUNUSED;
26081   }
26082   lua_error(L);
26083   return 0;
26084 }
26085 
26086 
_wrap_SBExpressionOptions_SetTryAllThreads__SWIG_0(lua_State * L)26087 static int _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_0(lua_State* L) {
26088   {
26089     int SWIG_arg = 0;
26090     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26091     bool arg2 ;
26092 
26093     SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",2,2)
26094     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *");
26095     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",2,"bool");
26096 
26097     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26098       SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26099     }
26100 
26101     arg2 = (lua_toboolean(L, 2)!=0);
26102     (arg1)->SetTryAllThreads(arg2);
26103 
26104     return SWIG_arg;
26105 
26106     fail: SWIGUNUSED;
26107   }
26108   lua_error(L);
26109   return 0;
26110 }
26111 
26112 
_wrap_SBExpressionOptions_SetTryAllThreads__SWIG_1(lua_State * L)26113 static int _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_1(lua_State* L) {
26114   {
26115     int SWIG_arg = 0;
26116     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26117 
26118     SWIG_check_num_args("lldb::SBExpressionOptions::SetTryAllThreads",1,1)
26119     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTryAllThreads",1,"lldb::SBExpressionOptions *");
26120 
26121     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26122       SWIG_fail_ptr("SBExpressionOptions_SetTryAllThreads",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26123     }
26124 
26125     (arg1)->SetTryAllThreads();
26126 
26127     return SWIG_arg;
26128 
26129     fail: SWIGUNUSED;
26130   }
26131   lua_error(L);
26132   return 0;
26133 }
26134 
26135 
_wrap_SBExpressionOptions_SetTryAllThreads(lua_State * L)26136 static int _wrap_SBExpressionOptions_SetTryAllThreads(lua_State* L) {
26137   int argc;
26138   int argv[3]={
26139     1,2,3
26140   };
26141 
26142   argc = lua_gettop(L);
26143   if (argc == 1) {
26144     int _v = 0;
26145     {
26146       void *ptr;
26147       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26148         _v = 0;
26149       } else {
26150         _v = 1;
26151       }
26152     }
26153     if (_v) {
26154       return _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_1(L);
26155     }
26156   }
26157   if (argc == 2) {
26158     int _v = 0;
26159     {
26160       void *ptr;
26161       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26162         _v = 0;
26163       } else {
26164         _v = 1;
26165       }
26166     }
26167     if (_v) {
26168       {
26169         _v = lua_isboolean(L,argv[1]);
26170       }
26171       if (_v) {
26172         return _wrap_SBExpressionOptions_SetTryAllThreads__SWIG_0(L);
26173       }
26174     }
26175   }
26176 
26177   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTryAllThreads'\n"
26178     "  Possible C/C++ prototypes are:\n"
26179     "    lldb::SBExpressionOptions::SetTryAllThreads(bool)\n"
26180     "    lldb::SBExpressionOptions::SetTryAllThreads()\n");
26181   lua_error(L);return 0;
26182 }
26183 
26184 
_wrap_SBExpressionOptions_GetStopOthers(lua_State * L)26185 static int _wrap_SBExpressionOptions_GetStopOthers(lua_State* L) {
26186   {
26187     int SWIG_arg = 0;
26188     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26189     bool result;
26190 
26191     SWIG_check_num_args("lldb::SBExpressionOptions::GetStopOthers",1,1)
26192     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetStopOthers",1,"lldb::SBExpressionOptions const *");
26193 
26194     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26195       SWIG_fail_ptr("SBExpressionOptions_GetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26196     }
26197 
26198     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetStopOthers();
26199     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26200     return SWIG_arg;
26201 
26202     fail: SWIGUNUSED;
26203   }
26204   lua_error(L);
26205   return 0;
26206 }
26207 
26208 
_wrap_SBExpressionOptions_SetStopOthers__SWIG_0(lua_State * L)26209 static int _wrap_SBExpressionOptions_SetStopOthers__SWIG_0(lua_State* L) {
26210   {
26211     int SWIG_arg = 0;
26212     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26213     bool arg2 ;
26214 
26215     SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",2,2)
26216     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *");
26217     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",2,"bool");
26218 
26219     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26220       SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26221     }
26222 
26223     arg2 = (lua_toboolean(L, 2)!=0);
26224     (arg1)->SetStopOthers(arg2);
26225 
26226     return SWIG_arg;
26227 
26228     fail: SWIGUNUSED;
26229   }
26230   lua_error(L);
26231   return 0;
26232 }
26233 
26234 
_wrap_SBExpressionOptions_SetStopOthers__SWIG_1(lua_State * L)26235 static int _wrap_SBExpressionOptions_SetStopOthers__SWIG_1(lua_State* L) {
26236   {
26237     int SWIG_arg = 0;
26238     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26239 
26240     SWIG_check_num_args("lldb::SBExpressionOptions::SetStopOthers",1,1)
26241     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetStopOthers",1,"lldb::SBExpressionOptions *");
26242 
26243     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26244       SWIG_fail_ptr("SBExpressionOptions_SetStopOthers",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26245     }
26246 
26247     (arg1)->SetStopOthers();
26248 
26249     return SWIG_arg;
26250 
26251     fail: SWIGUNUSED;
26252   }
26253   lua_error(L);
26254   return 0;
26255 }
26256 
26257 
_wrap_SBExpressionOptions_SetStopOthers(lua_State * L)26258 static int _wrap_SBExpressionOptions_SetStopOthers(lua_State* L) {
26259   int argc;
26260   int argv[3]={
26261     1,2,3
26262   };
26263 
26264   argc = lua_gettop(L);
26265   if (argc == 1) {
26266     int _v = 0;
26267     {
26268       void *ptr;
26269       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26270         _v = 0;
26271       } else {
26272         _v = 1;
26273       }
26274     }
26275     if (_v) {
26276       return _wrap_SBExpressionOptions_SetStopOthers__SWIG_1(L);
26277     }
26278   }
26279   if (argc == 2) {
26280     int _v = 0;
26281     {
26282       void *ptr;
26283       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26284         _v = 0;
26285       } else {
26286         _v = 1;
26287       }
26288     }
26289     if (_v) {
26290       {
26291         _v = lua_isboolean(L,argv[1]);
26292       }
26293       if (_v) {
26294         return _wrap_SBExpressionOptions_SetStopOthers__SWIG_0(L);
26295       }
26296     }
26297   }
26298 
26299   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetStopOthers'\n"
26300     "  Possible C/C++ prototypes are:\n"
26301     "    lldb::SBExpressionOptions::SetStopOthers(bool)\n"
26302     "    lldb::SBExpressionOptions::SetStopOthers()\n");
26303   lua_error(L);return 0;
26304 }
26305 
26306 
_wrap_SBExpressionOptions_GetTrapExceptions(lua_State * L)26307 static int _wrap_SBExpressionOptions_GetTrapExceptions(lua_State* L) {
26308   {
26309     int SWIG_arg = 0;
26310     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26311     bool result;
26312 
26313     SWIG_check_num_args("lldb::SBExpressionOptions::GetTrapExceptions",1,1)
26314     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTrapExceptions",1,"lldb::SBExpressionOptions const *");
26315 
26316     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26317       SWIG_fail_ptr("SBExpressionOptions_GetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26318     }
26319 
26320     result = (bool)((lldb::SBExpressionOptions const *)arg1)->GetTrapExceptions();
26321     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26322     return SWIG_arg;
26323 
26324     fail: SWIGUNUSED;
26325   }
26326   lua_error(L);
26327   return 0;
26328 }
26329 
26330 
_wrap_SBExpressionOptions_SetTrapExceptions__SWIG_0(lua_State * L)26331 static int _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_0(lua_State* L) {
26332   {
26333     int SWIG_arg = 0;
26334     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26335     bool arg2 ;
26336 
26337     SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",2,2)
26338     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *");
26339     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",2,"bool");
26340 
26341     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26342       SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26343     }
26344 
26345     arg2 = (lua_toboolean(L, 2)!=0);
26346     (arg1)->SetTrapExceptions(arg2);
26347 
26348     return SWIG_arg;
26349 
26350     fail: SWIGUNUSED;
26351   }
26352   lua_error(L);
26353   return 0;
26354 }
26355 
26356 
_wrap_SBExpressionOptions_SetTrapExceptions__SWIG_1(lua_State * L)26357 static int _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_1(lua_State* L) {
26358   {
26359     int SWIG_arg = 0;
26360     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26361 
26362     SWIG_check_num_args("lldb::SBExpressionOptions::SetTrapExceptions",1,1)
26363     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTrapExceptions",1,"lldb::SBExpressionOptions *");
26364 
26365     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26366       SWIG_fail_ptr("SBExpressionOptions_SetTrapExceptions",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26367     }
26368 
26369     (arg1)->SetTrapExceptions();
26370 
26371     return SWIG_arg;
26372 
26373     fail: SWIGUNUSED;
26374   }
26375   lua_error(L);
26376   return 0;
26377 }
26378 
26379 
_wrap_SBExpressionOptions_SetTrapExceptions(lua_State * L)26380 static int _wrap_SBExpressionOptions_SetTrapExceptions(lua_State* L) {
26381   int argc;
26382   int argv[3]={
26383     1,2,3
26384   };
26385 
26386   argc = lua_gettop(L);
26387   if (argc == 1) {
26388     int _v = 0;
26389     {
26390       void *ptr;
26391       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26392         _v = 0;
26393       } else {
26394         _v = 1;
26395       }
26396     }
26397     if (_v) {
26398       return _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_1(L);
26399     }
26400   }
26401   if (argc == 2) {
26402     int _v = 0;
26403     {
26404       void *ptr;
26405       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26406         _v = 0;
26407       } else {
26408         _v = 1;
26409       }
26410     }
26411     if (_v) {
26412       {
26413         _v = lua_isboolean(L,argv[1]);
26414       }
26415       if (_v) {
26416         return _wrap_SBExpressionOptions_SetTrapExceptions__SWIG_0(L);
26417       }
26418     }
26419   }
26420 
26421   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTrapExceptions'\n"
26422     "  Possible C/C++ prototypes are:\n"
26423     "    lldb::SBExpressionOptions::SetTrapExceptions(bool)\n"
26424     "    lldb::SBExpressionOptions::SetTrapExceptions()\n");
26425   lua_error(L);return 0;
26426 }
26427 
26428 
_wrap_SBExpressionOptions_SetLanguage(lua_State * L)26429 static int _wrap_SBExpressionOptions_SetLanguage(lua_State* L) {
26430   {
26431     int SWIG_arg = 0;
26432     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26433     lldb::LanguageType arg2 ;
26434 
26435     SWIG_check_num_args("lldb::SBExpressionOptions::SetLanguage",2,2)
26436     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",1,"lldb::SBExpressionOptions *");
26437     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetLanguage",2,"lldb::LanguageType");
26438 
26439     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26440       SWIG_fail_ptr("SBExpressionOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26441     }
26442 
26443     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
26444     (arg1)->SetLanguage(arg2);
26445 
26446     return SWIG_arg;
26447 
26448     fail: SWIGUNUSED;
26449   }
26450   lua_error(L);
26451   return 0;
26452 }
26453 
26454 
_wrap_SBExpressionOptions_GetGenerateDebugInfo(lua_State * L)26455 static int _wrap_SBExpressionOptions_GetGenerateDebugInfo(lua_State* L) {
26456   {
26457     int SWIG_arg = 0;
26458     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26459     bool result;
26460 
26461     SWIG_check_num_args("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,1)
26462     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetGenerateDebugInfo",1,"lldb::SBExpressionOptions *");
26463 
26464     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26465       SWIG_fail_ptr("SBExpressionOptions_GetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26466     }
26467 
26468     result = (bool)(arg1)->GetGenerateDebugInfo();
26469     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26470     return SWIG_arg;
26471 
26472     fail: SWIGUNUSED;
26473   }
26474   lua_error(L);
26475   return 0;
26476 }
26477 
26478 
_wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(lua_State * L)26479 static int _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(lua_State* L) {
26480   {
26481     int SWIG_arg = 0;
26482     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26483     bool arg2 ;
26484 
26485     SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,2)
26486     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *");
26487     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",2,"bool");
26488 
26489     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26490       SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26491     }
26492 
26493     arg2 = (lua_toboolean(L, 2)!=0);
26494     (arg1)->SetGenerateDebugInfo(arg2);
26495 
26496     return SWIG_arg;
26497 
26498     fail: SWIGUNUSED;
26499   }
26500   lua_error(L);
26501   return 0;
26502 }
26503 
26504 
_wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(lua_State * L)26505 static int _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(lua_State* L) {
26506   {
26507     int SWIG_arg = 0;
26508     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26509 
26510     SWIG_check_num_args("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,1)
26511     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetGenerateDebugInfo",1,"lldb::SBExpressionOptions *");
26512 
26513     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26514       SWIG_fail_ptr("SBExpressionOptions_SetGenerateDebugInfo",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26515     }
26516 
26517     (arg1)->SetGenerateDebugInfo();
26518 
26519     return SWIG_arg;
26520 
26521     fail: SWIGUNUSED;
26522   }
26523   lua_error(L);
26524   return 0;
26525 }
26526 
26527 
_wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State * L)26528 static int _wrap_SBExpressionOptions_SetGenerateDebugInfo(lua_State* L) {
26529   int argc;
26530   int argv[3]={
26531     1,2,3
26532   };
26533 
26534   argc = lua_gettop(L);
26535   if (argc == 1) {
26536     int _v = 0;
26537     {
26538       void *ptr;
26539       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26540         _v = 0;
26541       } else {
26542         _v = 1;
26543       }
26544     }
26545     if (_v) {
26546       return _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(L);
26547     }
26548   }
26549   if (argc == 2) {
26550     int _v = 0;
26551     {
26552       void *ptr;
26553       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26554         _v = 0;
26555       } else {
26556         _v = 1;
26557       }
26558     }
26559     if (_v) {
26560       {
26561         _v = lua_isboolean(L,argv[1]);
26562       }
26563       if (_v) {
26564         return _wrap_SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(L);
26565       }
26566     }
26567   }
26568 
26569   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetGenerateDebugInfo'\n"
26570     "  Possible C/C++ prototypes are:\n"
26571     "    lldb::SBExpressionOptions::SetGenerateDebugInfo(bool)\n"
26572     "    lldb::SBExpressionOptions::SetGenerateDebugInfo()\n");
26573   lua_error(L);return 0;
26574 }
26575 
26576 
_wrap_SBExpressionOptions_GetSuppressPersistentResult(lua_State * L)26577 static int _wrap_SBExpressionOptions_GetSuppressPersistentResult(lua_State* L) {
26578   {
26579     int SWIG_arg = 0;
26580     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26581     bool result;
26582 
26583     SWIG_check_num_args("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,1)
26584     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetSuppressPersistentResult",1,"lldb::SBExpressionOptions *");
26585 
26586     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26587       SWIG_fail_ptr("SBExpressionOptions_GetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26588     }
26589 
26590     result = (bool)(arg1)->GetSuppressPersistentResult();
26591     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26592     return SWIG_arg;
26593 
26594     fail: SWIGUNUSED;
26595   }
26596   lua_error(L);
26597   return 0;
26598 }
26599 
26600 
_wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(lua_State * L)26601 static int _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(lua_State* L) {
26602   {
26603     int SWIG_arg = 0;
26604     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26605     bool arg2 ;
26606 
26607     SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,2)
26608     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *");
26609     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",2,"bool");
26610 
26611     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26612       SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26613     }
26614 
26615     arg2 = (lua_toboolean(L, 2)!=0);
26616     (arg1)->SetSuppressPersistentResult(arg2);
26617 
26618     return SWIG_arg;
26619 
26620     fail: SWIGUNUSED;
26621   }
26622   lua_error(L);
26623   return 0;
26624 }
26625 
26626 
_wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(lua_State * L)26627 static int _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(lua_State* L) {
26628   {
26629     int SWIG_arg = 0;
26630     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26631 
26632     SWIG_check_num_args("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,1)
26633     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetSuppressPersistentResult",1,"lldb::SBExpressionOptions *");
26634 
26635     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26636       SWIG_fail_ptr("SBExpressionOptions_SetSuppressPersistentResult",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26637     }
26638 
26639     (arg1)->SetSuppressPersistentResult();
26640 
26641     return SWIG_arg;
26642 
26643     fail: SWIGUNUSED;
26644   }
26645   lua_error(L);
26646   return 0;
26647 }
26648 
26649 
_wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State * L)26650 static int _wrap_SBExpressionOptions_SetSuppressPersistentResult(lua_State* L) {
26651   int argc;
26652   int argv[3]={
26653     1,2,3
26654   };
26655 
26656   argc = lua_gettop(L);
26657   if (argc == 1) {
26658     int _v = 0;
26659     {
26660       void *ptr;
26661       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26662         _v = 0;
26663       } else {
26664         _v = 1;
26665       }
26666     }
26667     if (_v) {
26668       return _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(L);
26669     }
26670   }
26671   if (argc == 2) {
26672     int _v = 0;
26673     {
26674       void *ptr;
26675       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26676         _v = 0;
26677       } else {
26678         _v = 1;
26679       }
26680     }
26681     if (_v) {
26682       {
26683         _v = lua_isboolean(L,argv[1]);
26684       }
26685       if (_v) {
26686         return _wrap_SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(L);
26687       }
26688     }
26689   }
26690 
26691   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetSuppressPersistentResult'\n"
26692     "  Possible C/C++ prototypes are:\n"
26693     "    lldb::SBExpressionOptions::SetSuppressPersistentResult(bool)\n"
26694     "    lldb::SBExpressionOptions::SetSuppressPersistentResult()\n");
26695   lua_error(L);return 0;
26696 }
26697 
26698 
_wrap_SBExpressionOptions_GetPrefix(lua_State * L)26699 static int _wrap_SBExpressionOptions_GetPrefix(lua_State* L) {
26700   {
26701     int SWIG_arg = 0;
26702     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26703     char *result = 0 ;
26704 
26705     SWIG_check_num_args("lldb::SBExpressionOptions::GetPrefix",1,1)
26706     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetPrefix",1,"lldb::SBExpressionOptions const *");
26707 
26708     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26709       SWIG_fail_ptr("SBExpressionOptions_GetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26710     }
26711 
26712     result = (char *)((lldb::SBExpressionOptions const *)arg1)->GetPrefix();
26713     lua_pushstring(L,(const char *)result); SWIG_arg++;
26714     return SWIG_arg;
26715 
26716     fail: SWIGUNUSED;
26717   }
26718   lua_error(L);
26719   return 0;
26720 }
26721 
26722 
_wrap_SBExpressionOptions_SetPrefix(lua_State * L)26723 static int _wrap_SBExpressionOptions_SetPrefix(lua_State* L) {
26724   {
26725     int SWIG_arg = 0;
26726     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26727     char *arg2 = (char *) 0 ;
26728 
26729     SWIG_check_num_args("lldb::SBExpressionOptions::SetPrefix",2,2)
26730     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",1,"lldb::SBExpressionOptions *");
26731     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetPrefix",2,"char const *");
26732 
26733     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26734       SWIG_fail_ptr("SBExpressionOptions_SetPrefix",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26735     }
26736 
26737     arg2 = (char *)lua_tostring(L, 2);
26738     (arg1)->SetPrefix((char const *)arg2);
26739 
26740     return SWIG_arg;
26741 
26742     fail: SWIGUNUSED;
26743   }
26744   lua_error(L);
26745   return 0;
26746 }
26747 
26748 
_wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(lua_State * L)26749 static int _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(lua_State* L) {
26750   {
26751     int SWIG_arg = 0;
26752     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26753     bool arg2 ;
26754 
26755     SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,2)
26756     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *");
26757     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",2,"bool");
26758 
26759     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26760       SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26761     }
26762 
26763     arg2 = (lua_toboolean(L, 2)!=0);
26764     (arg1)->SetAutoApplyFixIts(arg2);
26765 
26766     return SWIG_arg;
26767 
26768     fail: SWIGUNUSED;
26769   }
26770   lua_error(L);
26771   return 0;
26772 }
26773 
26774 
_wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(lua_State * L)26775 static int _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(lua_State* L) {
26776   {
26777     int SWIG_arg = 0;
26778     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26779 
26780     SWIG_check_num_args("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,1)
26781     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAutoApplyFixIts",1,"lldb::SBExpressionOptions *");
26782 
26783     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26784       SWIG_fail_ptr("SBExpressionOptions_SetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26785     }
26786 
26787     (arg1)->SetAutoApplyFixIts();
26788 
26789     return SWIG_arg;
26790 
26791     fail: SWIGUNUSED;
26792   }
26793   lua_error(L);
26794   return 0;
26795 }
26796 
26797 
_wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State * L)26798 static int _wrap_SBExpressionOptions_SetAutoApplyFixIts(lua_State* L) {
26799   int argc;
26800   int argv[3]={
26801     1,2,3
26802   };
26803 
26804   argc = lua_gettop(L);
26805   if (argc == 1) {
26806     int _v = 0;
26807     {
26808       void *ptr;
26809       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26810         _v = 0;
26811       } else {
26812         _v = 1;
26813       }
26814     }
26815     if (_v) {
26816       return _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(L);
26817     }
26818   }
26819   if (argc == 2) {
26820     int _v = 0;
26821     {
26822       void *ptr;
26823       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
26824         _v = 0;
26825       } else {
26826         _v = 1;
26827       }
26828     }
26829     if (_v) {
26830       {
26831         _v = lua_isboolean(L,argv[1]);
26832       }
26833       if (_v) {
26834         return _wrap_SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(L);
26835       }
26836     }
26837   }
26838 
26839   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetAutoApplyFixIts'\n"
26840     "  Possible C/C++ prototypes are:\n"
26841     "    lldb::SBExpressionOptions::SetAutoApplyFixIts(bool)\n"
26842     "    lldb::SBExpressionOptions::SetAutoApplyFixIts()\n");
26843   lua_error(L);return 0;
26844 }
26845 
26846 
_wrap_SBExpressionOptions_GetAutoApplyFixIts(lua_State * L)26847 static int _wrap_SBExpressionOptions_GetAutoApplyFixIts(lua_State* L) {
26848   {
26849     int SWIG_arg = 0;
26850     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26851     bool result;
26852 
26853     SWIG_check_num_args("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,1)
26854     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAutoApplyFixIts",1,"lldb::SBExpressionOptions *");
26855 
26856     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26857       SWIG_fail_ptr("SBExpressionOptions_GetAutoApplyFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26858     }
26859 
26860     result = (bool)(arg1)->GetAutoApplyFixIts();
26861     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26862     return SWIG_arg;
26863 
26864     fail: SWIGUNUSED;
26865   }
26866   lua_error(L);
26867   return 0;
26868 }
26869 
26870 
_wrap_SBExpressionOptions_SetRetriesWithFixIts(lua_State * L)26871 static int _wrap_SBExpressionOptions_SetRetriesWithFixIts(lua_State* L) {
26872   {
26873     int SWIG_arg = 0;
26874     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26875     uint64_t arg2 ;
26876 
26877     SWIG_check_num_args("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,2)
26878     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",1,"lldb::SBExpressionOptions *");
26879     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetRetriesWithFixIts",2,"uint64_t");
26880 
26881     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26882       SWIG_fail_ptr("SBExpressionOptions_SetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26883     }
26884 
26885     arg2 = (uint64_t)lua_tointeger(L, 2);
26886     (arg1)->SetRetriesWithFixIts(arg2);
26887 
26888     return SWIG_arg;
26889 
26890     fail: SWIGUNUSED;
26891   }
26892   lua_error(L);
26893   return 0;
26894 }
26895 
26896 
_wrap_SBExpressionOptions_GetRetriesWithFixIts(lua_State * L)26897 static int _wrap_SBExpressionOptions_GetRetriesWithFixIts(lua_State* L) {
26898   {
26899     int SWIG_arg = 0;
26900     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26901     uint64_t result;
26902 
26903     SWIG_check_num_args("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,1)
26904     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetRetriesWithFixIts",1,"lldb::SBExpressionOptions *");
26905 
26906     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26907       SWIG_fail_ptr("SBExpressionOptions_GetRetriesWithFixIts",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26908     }
26909 
26910     result = (uint64_t)(arg1)->GetRetriesWithFixIts();
26911     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
26912     return SWIG_arg;
26913 
26914     fail: SWIGUNUSED;
26915   }
26916   lua_error(L);
26917   return 0;
26918 }
26919 
26920 
_wrap_SBExpressionOptions_GetTopLevel(lua_State * L)26921 static int _wrap_SBExpressionOptions_GetTopLevel(lua_State* L) {
26922   {
26923     int SWIG_arg = 0;
26924     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26925     bool result;
26926 
26927     SWIG_check_num_args("lldb::SBExpressionOptions::GetTopLevel",1,1)
26928     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetTopLevel",1,"lldb::SBExpressionOptions *");
26929 
26930     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26931       SWIG_fail_ptr("SBExpressionOptions_GetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26932     }
26933 
26934     result = (bool)(arg1)->GetTopLevel();
26935     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26936     return SWIG_arg;
26937 
26938     fail: SWIGUNUSED;
26939   }
26940   lua_error(L);
26941   return 0;
26942 }
26943 
26944 
_wrap_SBExpressionOptions_SetTopLevel__SWIG_0(lua_State * L)26945 static int _wrap_SBExpressionOptions_SetTopLevel__SWIG_0(lua_State* L) {
26946   {
26947     int SWIG_arg = 0;
26948     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26949     bool arg2 ;
26950 
26951     SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",2,2)
26952     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *");
26953     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",2,"bool");
26954 
26955     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26956       SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26957     }
26958 
26959     arg2 = (lua_toboolean(L, 2)!=0);
26960     (arg1)->SetTopLevel(arg2);
26961 
26962     return SWIG_arg;
26963 
26964     fail: SWIGUNUSED;
26965   }
26966   lua_error(L);
26967   return 0;
26968 }
26969 
26970 
_wrap_SBExpressionOptions_SetTopLevel__SWIG_1(lua_State * L)26971 static int _wrap_SBExpressionOptions_SetTopLevel__SWIG_1(lua_State* L) {
26972   {
26973     int SWIG_arg = 0;
26974     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
26975 
26976     SWIG_check_num_args("lldb::SBExpressionOptions::SetTopLevel",1,1)
26977     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetTopLevel",1,"lldb::SBExpressionOptions *");
26978 
26979     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
26980       SWIG_fail_ptr("SBExpressionOptions_SetTopLevel",1,SWIGTYPE_p_lldb__SBExpressionOptions);
26981     }
26982 
26983     (arg1)->SetTopLevel();
26984 
26985     return SWIG_arg;
26986 
26987     fail: SWIGUNUSED;
26988   }
26989   lua_error(L);
26990   return 0;
26991 }
26992 
26993 
_wrap_SBExpressionOptions_SetTopLevel(lua_State * L)26994 static int _wrap_SBExpressionOptions_SetTopLevel(lua_State* L) {
26995   int argc;
26996   int argv[3]={
26997     1,2,3
26998   };
26999 
27000   argc = lua_gettop(L);
27001   if (argc == 1) {
27002     int _v = 0;
27003     {
27004       void *ptr;
27005       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
27006         _v = 0;
27007       } else {
27008         _v = 1;
27009       }
27010     }
27011     if (_v) {
27012       return _wrap_SBExpressionOptions_SetTopLevel__SWIG_1(L);
27013     }
27014   }
27015   if (argc == 2) {
27016     int _v = 0;
27017     {
27018       void *ptr;
27019       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, 0)) {
27020         _v = 0;
27021       } else {
27022         _v = 1;
27023       }
27024     }
27025     if (_v) {
27026       {
27027         _v = lua_isboolean(L,argv[1]);
27028       }
27029       if (_v) {
27030         return _wrap_SBExpressionOptions_SetTopLevel__SWIG_0(L);
27031       }
27032     }
27033   }
27034 
27035   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBExpressionOptions_SetTopLevel'\n"
27036     "  Possible C/C++ prototypes are:\n"
27037     "    lldb::SBExpressionOptions::SetTopLevel(bool)\n"
27038     "    lldb::SBExpressionOptions::SetTopLevel()\n");
27039   lua_error(L);return 0;
27040 }
27041 
27042 
_wrap_SBExpressionOptions_GetAllowJIT(lua_State * L)27043 static int _wrap_SBExpressionOptions_GetAllowJIT(lua_State* L) {
27044   {
27045     int SWIG_arg = 0;
27046     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
27047     bool result;
27048 
27049     SWIG_check_num_args("lldb::SBExpressionOptions::GetAllowJIT",1,1)
27050     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::GetAllowJIT",1,"lldb::SBExpressionOptions *");
27051 
27052     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
27053       SWIG_fail_ptr("SBExpressionOptions_GetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions);
27054     }
27055 
27056     result = (bool)(arg1)->GetAllowJIT();
27057     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27058     return SWIG_arg;
27059 
27060     fail: SWIGUNUSED;
27061   }
27062   lua_error(L);
27063   return 0;
27064 }
27065 
27066 
_wrap_SBExpressionOptions_SetAllowJIT(lua_State * L)27067 static int _wrap_SBExpressionOptions_SetAllowJIT(lua_State* L) {
27068   {
27069     int SWIG_arg = 0;
27070     lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) 0 ;
27071     bool arg2 ;
27072 
27073     SWIG_check_num_args("lldb::SBExpressionOptions::SetAllowJIT",2,2)
27074     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",1,"lldb::SBExpressionOptions *");
27075     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBExpressionOptions::SetAllowJIT",2,"bool");
27076 
27077     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
27078       SWIG_fail_ptr("SBExpressionOptions_SetAllowJIT",1,SWIGTYPE_p_lldb__SBExpressionOptions);
27079     }
27080 
27081     arg2 = (lua_toboolean(L, 2)!=0);
27082     (arg1)->SetAllowJIT(arg2);
27083 
27084     return SWIG_arg;
27085 
27086     fail: SWIGUNUSED;
27087   }
27088   lua_error(L);
27089   return 0;
27090 }
27091 
27092 
swig_delete_SBExpressionOptions(void * obj)27093 static void swig_delete_SBExpressionOptions(void *obj) {
27094 lldb::SBExpressionOptions *arg1 = (lldb::SBExpressionOptions *) obj;
27095 delete arg1;
27096 }
_proxy__wrap_new_SBExpressionOptions(lua_State * L)27097 static int _proxy__wrap_new_SBExpressionOptions(lua_State *L) {
27098     assert(lua_istable(L,1));
27099     lua_pushcfunction(L,_wrap_new_SBExpressionOptions);
27100     assert(!lua_isnil(L,-1));
27101     lua_replace(L,1); /* replace our table with real constructor */
27102     lua_call(L,lua_gettop(L)-1,1);
27103     return 1;
27104 }
27105 static swig_lua_attribute swig_SBExpressionOptions_attributes[] = {
27106     {0,0,0}
27107 };
27108 static swig_lua_method swig_SBExpressionOptions_methods[]= {
27109     { "GetCoerceResultToId", _wrap_SBExpressionOptions_GetCoerceResultToId},
27110     { "SetCoerceResultToId", _wrap_SBExpressionOptions_SetCoerceResultToId},
27111     { "GetUnwindOnError", _wrap_SBExpressionOptions_GetUnwindOnError},
27112     { "SetUnwindOnError", _wrap_SBExpressionOptions_SetUnwindOnError},
27113     { "GetIgnoreBreakpoints", _wrap_SBExpressionOptions_GetIgnoreBreakpoints},
27114     { "SetIgnoreBreakpoints", _wrap_SBExpressionOptions_SetIgnoreBreakpoints},
27115     { "GetFetchDynamicValue", _wrap_SBExpressionOptions_GetFetchDynamicValue},
27116     { "SetFetchDynamicValue", _wrap_SBExpressionOptions_SetFetchDynamicValue},
27117     { "GetTimeoutInMicroSeconds", _wrap_SBExpressionOptions_GetTimeoutInMicroSeconds},
27118     { "SetTimeoutInMicroSeconds", _wrap_SBExpressionOptions_SetTimeoutInMicroSeconds},
27119     { "GetOneThreadTimeoutInMicroSeconds", _wrap_SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds},
27120     { "SetOneThreadTimeoutInMicroSeconds", _wrap_SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds},
27121     { "GetTryAllThreads", _wrap_SBExpressionOptions_GetTryAllThreads},
27122     { "SetTryAllThreads", _wrap_SBExpressionOptions_SetTryAllThreads},
27123     { "GetStopOthers", _wrap_SBExpressionOptions_GetStopOthers},
27124     { "SetStopOthers", _wrap_SBExpressionOptions_SetStopOthers},
27125     { "GetTrapExceptions", _wrap_SBExpressionOptions_GetTrapExceptions},
27126     { "SetTrapExceptions", _wrap_SBExpressionOptions_SetTrapExceptions},
27127     { "SetLanguage", _wrap_SBExpressionOptions_SetLanguage},
27128     { "GetGenerateDebugInfo", _wrap_SBExpressionOptions_GetGenerateDebugInfo},
27129     { "SetGenerateDebugInfo", _wrap_SBExpressionOptions_SetGenerateDebugInfo},
27130     { "GetSuppressPersistentResult", _wrap_SBExpressionOptions_GetSuppressPersistentResult},
27131     { "SetSuppressPersistentResult", _wrap_SBExpressionOptions_SetSuppressPersistentResult},
27132     { "GetPrefix", _wrap_SBExpressionOptions_GetPrefix},
27133     { "SetPrefix", _wrap_SBExpressionOptions_SetPrefix},
27134     { "SetAutoApplyFixIts", _wrap_SBExpressionOptions_SetAutoApplyFixIts},
27135     { "GetAutoApplyFixIts", _wrap_SBExpressionOptions_GetAutoApplyFixIts},
27136     { "SetRetriesWithFixIts", _wrap_SBExpressionOptions_SetRetriesWithFixIts},
27137     { "GetRetriesWithFixIts", _wrap_SBExpressionOptions_GetRetriesWithFixIts},
27138     { "GetTopLevel", _wrap_SBExpressionOptions_GetTopLevel},
27139     { "SetTopLevel", _wrap_SBExpressionOptions_SetTopLevel},
27140     { "GetAllowJIT", _wrap_SBExpressionOptions_GetAllowJIT},
27141     { "SetAllowJIT", _wrap_SBExpressionOptions_SetAllowJIT},
27142     {0,0}
27143 };
27144 static swig_lua_method swig_SBExpressionOptions_meta[] = {
27145     {0,0}
27146 };
27147 
27148 static swig_lua_attribute swig_SBExpressionOptions_Sf_SwigStatic_attributes[] = {
27149     {0,0,0}
27150 };
27151 static swig_lua_const_info swig_SBExpressionOptions_Sf_SwigStatic_constants[]= {
27152     {0,0,0,0,0,0}
27153 };
27154 static swig_lua_method swig_SBExpressionOptions_Sf_SwigStatic_methods[]= {
27155     {0,0}
27156 };
27157 static swig_lua_class* swig_SBExpressionOptions_Sf_SwigStatic_classes[]= {
27158     0
27159 };
27160 
27161 static swig_lua_namespace swig_SBExpressionOptions_Sf_SwigStatic = {
27162     "SBExpressionOptions",
27163     swig_SBExpressionOptions_Sf_SwigStatic_methods,
27164     swig_SBExpressionOptions_Sf_SwigStatic_attributes,
27165     swig_SBExpressionOptions_Sf_SwigStatic_constants,
27166     swig_SBExpressionOptions_Sf_SwigStatic_classes,
27167     0
27168 };
27169 static swig_lua_class *swig_SBExpressionOptions_bases[] = {0};
27170 static const char *swig_SBExpressionOptions_base_names[] = {0};
27171 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 };
27172 
_wrap_new_SBFile__SWIG_0(lua_State * L)27173 static int _wrap_new_SBFile__SWIG_0(lua_State* L) {
27174   {
27175     int SWIG_arg = 0;
27176     lldb::SBFile *result = 0 ;
27177 
27178     SWIG_check_num_args("lldb::SBFile::SBFile",0,0)
27179     result = (lldb::SBFile *)new lldb::SBFile();
27180     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27181     return SWIG_arg;
27182 
27183     fail: SWIGUNUSED;
27184   }
27185   lua_error(L);
27186   return 0;
27187 }
27188 
27189 
_wrap_new_SBFile__SWIG_1(lua_State * L)27190 static int _wrap_new_SBFile__SWIG_1(lua_State* L) {
27191   {
27192     int SWIG_arg = 0;
27193     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ;
27194     lldb::SBFile *result = 0 ;
27195 
27196     SWIG_check_num_args("lldb::SBFile::SBFile",1,1)
27197     {
27198       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE);
27199       lldb::FileSP file_sp;
27200       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
27201       if (!file_sp->IsValid())
27202       return luaL_error(L, "Invalid file");
27203       arg1 = file_sp;
27204     }
27205     result = (lldb::SBFile *)new lldb::SBFile(arg1);
27206     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27207     return SWIG_arg;
27208 
27209     fail: SWIGUNUSED;
27210   }
27211   lua_error(L);
27212   return 0;
27213 }
27214 
27215 
_wrap_new_SBFile__SWIG_2(lua_State * L)27216 static int _wrap_new_SBFile__SWIG_2(lua_State* L) {
27217   {
27218     int SWIG_arg = 0;
27219     int arg1 ;
27220     char *arg2 = (char *) 0 ;
27221     bool arg3 ;
27222     lldb::SBFile *result = 0 ;
27223 
27224     SWIG_check_num_args("lldb::SBFile::SBFile",3,3)
27225     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBFile::SBFile",1,"int");
27226     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFile::SBFile",2,"char const *");
27227     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFile::SBFile",3,"bool");
27228     arg1 = (int)lua_tointeger(L, 1);
27229     arg2 = (char *)lua_tostring(L, 2);
27230     arg3 = (lua_toboolean(L, 3)!=0);
27231     result = (lldb::SBFile *)new lldb::SBFile(arg1,(char const *)arg2,arg3);
27232     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27233     return SWIG_arg;
27234 
27235     fail: SWIGUNUSED;
27236   }
27237   lua_error(L);
27238   return 0;
27239 }
27240 
27241 
_wrap_new_SBFile(lua_State * L)27242 static int _wrap_new_SBFile(lua_State* L) {
27243   int argc;
27244   int argv[4]={
27245     1,2,3,4
27246   };
27247 
27248   argc = lua_gettop(L);
27249   if (argc == 0) {
27250     return _wrap_new_SBFile__SWIG_0(L);
27251   }
27252   if (argc == 1) {
27253     int _v = 0;
27254     {
27255       _v = (lua_isuserdata(L, argv[0])) &&
27256       (luaL_testudata(L, argv[0], LUA_FILEHANDLE) != nullptr);
27257     }
27258     if (_v) {
27259       return _wrap_new_SBFile__SWIG_1(L);
27260     }
27261   }
27262   if (argc == 3) {
27263     int _v = 0;
27264     {
27265       _v = lua_isnumber(L,argv[0]);
27266     }
27267     if (_v) {
27268       {
27269         _v = SWIG_lua_isnilstring(L,argv[1]);
27270       }
27271       if (_v) {
27272         {
27273           _v = lua_isboolean(L,argv[2]);
27274         }
27275         if (_v) {
27276           return _wrap_new_SBFile__SWIG_2(L);
27277         }
27278       }
27279     }
27280   }
27281 
27282   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFile'\n"
27283     "  Possible C/C++ prototypes are:\n"
27284     "    lldb::SBFile::SBFile()\n"
27285     "    lldb::SBFile::SBFile(lldb::FileSP)\n"
27286     "    lldb::SBFile::SBFile(int,char const *,bool)\n");
27287   lua_error(L);return 0;
27288 }
27289 
27290 
_wrap_SBFile_Read(lua_State * L)27291 static int _wrap_SBFile_Read(lua_State* L) {
27292   {
27293     int SWIG_arg = 0;
27294     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27295     uint8_t *arg2 = (uint8_t *) 0 ;
27296     size_t arg3 ;
27297     size_t *arg4 = (size_t *) 0 ;
27298     lldb::SBError result;
27299 
27300     SWIG_check_num_args("lldb::SBFile::Read",4,4)
27301     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Read",1,"lldb::SBFile *");
27302     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Read",2,"uint8_t *");
27303     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Read",3,"size_t");
27304     if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Read",4,"size_t *");
27305 
27306     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27307       SWIG_fail_ptr("SBFile_Read",1,SWIGTYPE_p_lldb__SBFile);
27308     }
27309 
27310 
27311     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){
27312       SWIG_fail_ptr("SBFile_Read",2,SWIGTYPE_p_unsigned_char);
27313     }
27314 
27315     arg3 = (size_t)lua_tointeger(L, 3);
27316 
27317     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){
27318       SWIG_fail_ptr("SBFile_Read",4,SWIGTYPE_p_size_t);
27319     }
27320 
27321     result = (arg1)->Read(arg2,arg3,arg4);
27322     {
27323       lldb::SBError * resultptr = new lldb::SBError(result);
27324       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
27325     }
27326     return SWIG_arg;
27327 
27328     fail: SWIGUNUSED;
27329   }
27330   lua_error(L);
27331   return 0;
27332 }
27333 
27334 
_wrap_SBFile_Write(lua_State * L)27335 static int _wrap_SBFile_Write(lua_State* L) {
27336   {
27337     int SWIG_arg = 0;
27338     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27339     uint8_t *arg2 = (uint8_t *) 0 ;
27340     size_t arg3 ;
27341     size_t *arg4 = (size_t *) 0 ;
27342     lldb::SBError result;
27343 
27344     SWIG_check_num_args("lldb::SBFile::Write",4,4)
27345     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Write",1,"lldb::SBFile *");
27346     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBFile::Write",2,"uint8_t const *");
27347     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFile::Write",3,"size_t");
27348     if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBFile::Write",4,"size_t *");
27349 
27350     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27351       SWIG_fail_ptr("SBFile_Write",1,SWIGTYPE_p_lldb__SBFile);
27352     }
27353 
27354 
27355     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){
27356       SWIG_fail_ptr("SBFile_Write",2,SWIGTYPE_p_unsigned_char);
27357     }
27358 
27359     arg3 = (size_t)lua_tointeger(L, 3);
27360 
27361     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_size_t,0))){
27362       SWIG_fail_ptr("SBFile_Write",4,SWIGTYPE_p_size_t);
27363     }
27364 
27365     result = (arg1)->Write((uint8_t const *)arg2,arg3,arg4);
27366     {
27367       lldb::SBError * resultptr = new lldb::SBError(result);
27368       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
27369     }
27370     return SWIG_arg;
27371 
27372     fail: SWIGUNUSED;
27373   }
27374   lua_error(L);
27375   return 0;
27376 }
27377 
27378 
_wrap_SBFile_Flush(lua_State * L)27379 static int _wrap_SBFile_Flush(lua_State* L) {
27380   {
27381     int SWIG_arg = 0;
27382     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27383     lldb::SBError result;
27384 
27385     SWIG_check_num_args("lldb::SBFile::Flush",1,1)
27386     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Flush",1,"lldb::SBFile *");
27387 
27388     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27389       SWIG_fail_ptr("SBFile_Flush",1,SWIGTYPE_p_lldb__SBFile);
27390     }
27391 
27392     result = (arg1)->Flush();
27393     {
27394       lldb::SBError * resultptr = new lldb::SBError(result);
27395       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
27396     }
27397     return SWIG_arg;
27398 
27399     fail: SWIGUNUSED;
27400   }
27401   lua_error(L);
27402   return 0;
27403 }
27404 
27405 
_wrap_SBFile_IsValid(lua_State * L)27406 static int _wrap_SBFile_IsValid(lua_State* L) {
27407   {
27408     int SWIG_arg = 0;
27409     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27410     bool result;
27411 
27412     SWIG_check_num_args("lldb::SBFile::IsValid",1,1)
27413     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::IsValid",1,"lldb::SBFile const *");
27414 
27415     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27416       SWIG_fail_ptr("SBFile_IsValid",1,SWIGTYPE_p_lldb__SBFile);
27417     }
27418 
27419     result = (bool)((lldb::SBFile const *)arg1)->IsValid();
27420     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27421     return SWIG_arg;
27422 
27423     fail: SWIGUNUSED;
27424   }
27425   lua_error(L);
27426   return 0;
27427 }
27428 
27429 
_wrap_SBFile_Close(lua_State * L)27430 static int _wrap_SBFile_Close(lua_State* L) {
27431   {
27432     int SWIG_arg = 0;
27433     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27434     lldb::SBError result;
27435 
27436     SWIG_check_num_args("lldb::SBFile::Close",1,1)
27437     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::Close",1,"lldb::SBFile *");
27438 
27439     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27440       SWIG_fail_ptr("SBFile_Close",1,SWIGTYPE_p_lldb__SBFile);
27441     }
27442 
27443     result = (arg1)->Close();
27444     {
27445       lldb::SBError * resultptr = new lldb::SBError(result);
27446       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
27447     }
27448     return SWIG_arg;
27449 
27450     fail: SWIGUNUSED;
27451   }
27452   lua_error(L);
27453   return 0;
27454 }
27455 
27456 
_wrap_SBFile_GetFile(lua_State * L)27457 static int _wrap_SBFile_GetFile(lua_State* L) {
27458   {
27459     int SWIG_arg = 0;
27460     lldb::SBFile *arg1 = (lldb::SBFile *) 0 ;
27461     SwigValueWrapper< std::shared_ptr< lldb_private::File > > result;
27462 
27463     SWIG_check_num_args("lldb::SBFile::GetFile",1,1)
27464     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFile::GetFile",1,"lldb::SBFile const *");
27465 
27466     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFile,0))){
27467       SWIG_fail_ptr("SBFile_GetFile",1,SWIGTYPE_p_lldb__SBFile);
27468     }
27469 
27470     result = ((lldb::SBFile const *)arg1)->GetFile();
27471     {
27472       lldb::FileSP sp = result;
27473       if (sp && sp->IsValid()) {
27474         luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
27475         p->closef = &LLDBSwigLuaCloseFileHandle;
27476         p->f = sp->GetStream();
27477         luaL_setmetatable(L, LUA_FILEHANDLE);
27478         SWIG_arg++;
27479       }
27480     }
27481     return SWIG_arg;
27482 
27483     fail: SWIGUNUSED;
27484   }
27485   lua_error(L);
27486   return 0;
27487 }
27488 
27489 
_wrap_SBFile_MakeBorrowed(lua_State * L)27490 static int _wrap_SBFile_MakeBorrowed(lua_State* L) {
27491   {
27492     int SWIG_arg = 0;
27493     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ;
27494     lldb::SBFile result;
27495 
27496     SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowed",1,1)
27497     {
27498       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE);
27499       lldb::FileSP file_sp;
27500       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
27501       if (!file_sp->IsValid())
27502       return luaL_error(L, "Invalid file");
27503       arg1 = file_sp;
27504     }
27505     result = lldb_SBFile_MakeBorrowed(SWIG_STD_MOVE(arg1));
27506     {
27507       lldb::SBFile * resultptr = new lldb::SBFile(result);
27508       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27509     }
27510     return SWIG_arg;
27511 
27512     fail: SWIGUNUSED;
27513   }
27514   lua_error(L);
27515   return 0;
27516 }
27517 
27518 
_wrap_SBFile_MakeForcingIOMethods(lua_State * L)27519 static int _wrap_SBFile_MakeForcingIOMethods(lua_State* L) {
27520   {
27521     int SWIG_arg = 0;
27522     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ;
27523     lldb::SBFile result;
27524 
27525     SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeForcingIOMethods",1,1)
27526     {
27527       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE);
27528       lldb::FileSP file_sp;
27529       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
27530       if (!file_sp->IsValid())
27531       return luaL_error(L, "Invalid file");
27532       arg1 = file_sp;
27533     }
27534     result = lldb_SBFile_MakeForcingIOMethods(SWIG_STD_MOVE(arg1));
27535     {
27536       lldb::SBFile * resultptr = new lldb::SBFile(result);
27537       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27538     }
27539     return SWIG_arg;
27540 
27541     fail: SWIGUNUSED;
27542   }
27543   lua_error(L);
27544   return 0;
27545 }
27546 
27547 
_wrap_SBFile_MakeBorrowedForcingIOMethods(lua_State * L)27548 static int _wrap_SBFile_MakeBorrowedForcingIOMethods(lua_State* L) {
27549   {
27550     int SWIG_arg = 0;
27551     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg1 ;
27552     lldb::SBFile result;
27553 
27554     SWIG_check_num_args("lldb::SBFile::lldb_SBFile_MakeBorrowedForcingIOMethods",1,1)
27555     {
27556       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 1, LUA_FILEHANDLE);
27557       lldb::FileSP file_sp;
27558       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
27559       if (!file_sp->IsValid())
27560       return luaL_error(L, "Invalid file");
27561       arg1 = file_sp;
27562     }
27563     result = lldb_SBFile_MakeBorrowedForcingIOMethods(SWIG_STD_MOVE(arg1));
27564     {
27565       lldb::SBFile * resultptr = new lldb::SBFile(result);
27566       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFile,1); SWIG_arg++;
27567     }
27568     return SWIG_arg;
27569 
27570     fail: SWIGUNUSED;
27571   }
27572   lua_error(L);
27573   return 0;
27574 }
27575 
27576 
swig_delete_SBFile(void * obj)27577 static void swig_delete_SBFile(void *obj) {
27578 lldb::SBFile *arg1 = (lldb::SBFile *) obj;
27579 delete arg1;
27580 }
_proxy__wrap_new_SBFile(lua_State * L)27581 static int _proxy__wrap_new_SBFile(lua_State *L) {
27582     assert(lua_istable(L,1));
27583     lua_pushcfunction(L,_wrap_new_SBFile);
27584     assert(!lua_isnil(L,-1));
27585     lua_replace(L,1); /* replace our table with real constructor */
27586     lua_call(L,lua_gettop(L)-1,1);
27587     return 1;
27588 }
27589 static swig_lua_attribute swig_SBFile_attributes[] = {
27590     {0,0,0}
27591 };
27592 static swig_lua_method swig_SBFile_methods[]= {
27593     { "Read", _wrap_SBFile_Read},
27594     { "Write", _wrap_SBFile_Write},
27595     { "Flush", _wrap_SBFile_Flush},
27596     { "IsValid", _wrap_SBFile_IsValid},
27597     { "Close", _wrap_SBFile_Close},
27598     { "GetFile", _wrap_SBFile_GetFile},
27599     {0,0}
27600 };
27601 static swig_lua_method swig_SBFile_meta[] = {
27602     {0,0}
27603 };
27604 
27605 static swig_lua_attribute swig_SBFile_Sf_SwigStatic_attributes[] = {
27606     {0,0,0}
27607 };
27608 static swig_lua_const_info swig_SBFile_Sf_SwigStatic_constants[]= {
27609     {0,0,0,0,0,0}
27610 };
27611 static swig_lua_method swig_SBFile_Sf_SwigStatic_methods[]= {
27612     { "MakeBorrowed", _wrap_SBFile_MakeBorrowed},
27613     { "MakeForcingIOMethods", _wrap_SBFile_MakeForcingIOMethods},
27614     { "MakeBorrowedForcingIOMethods", _wrap_SBFile_MakeBorrowedForcingIOMethods},
27615     {0,0}
27616 };
27617 static swig_lua_class* swig_SBFile_Sf_SwigStatic_classes[]= {
27618     0
27619 };
27620 
27621 static swig_lua_namespace swig_SBFile_Sf_SwigStatic = {
27622     "SBFile",
27623     swig_SBFile_Sf_SwigStatic_methods,
27624     swig_SBFile_Sf_SwigStatic_attributes,
27625     swig_SBFile_Sf_SwigStatic_constants,
27626     swig_SBFile_Sf_SwigStatic_classes,
27627     0
27628 };
27629 static swig_lua_class *swig_SBFile_bases[] = {0};
27630 static const char *swig_SBFile_base_names[] = {0};
27631 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 };
27632 
_wrap_new_SBFileSpec__SWIG_0(lua_State * L)27633 static int _wrap_new_SBFileSpec__SWIG_0(lua_State* L) {
27634   {
27635     int SWIG_arg = 0;
27636     lldb::SBFileSpec *result = 0 ;
27637 
27638     SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",0,0)
27639     result = (lldb::SBFileSpec *)new lldb::SBFileSpec();
27640     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
27641     return SWIG_arg;
27642 
27643     fail: SWIGUNUSED;
27644   }
27645   lua_error(L);
27646   return 0;
27647 }
27648 
27649 
_wrap_new_SBFileSpec__SWIG_1(lua_State * L)27650 static int _wrap_new_SBFileSpec__SWIG_1(lua_State* L) {
27651   {
27652     int SWIG_arg = 0;
27653     lldb::SBFileSpec *arg1 = 0 ;
27654     lldb::SBFileSpec *result = 0 ;
27655 
27656     SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1)
27657     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"lldb::SBFileSpec const &");
27658 
27659     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27660       SWIG_fail_ptr("new_SBFileSpec",1,SWIGTYPE_p_lldb__SBFileSpec);
27661     }
27662 
27663     result = (lldb::SBFileSpec *)new lldb::SBFileSpec((lldb::SBFileSpec const &)*arg1);
27664     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
27665     return SWIG_arg;
27666 
27667     fail: SWIGUNUSED;
27668   }
27669   lua_error(L);
27670   return 0;
27671 }
27672 
27673 
_wrap_new_SBFileSpec__SWIG_2(lua_State * L)27674 static int _wrap_new_SBFileSpec__SWIG_2(lua_State* L) {
27675   {
27676     int SWIG_arg = 0;
27677     char *arg1 = (char *) 0 ;
27678     lldb::SBFileSpec *result = 0 ;
27679 
27680     SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",1,1)
27681     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *");
27682     arg1 = (char *)lua_tostring(L, 1);
27683     result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1);
27684     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
27685     return SWIG_arg;
27686 
27687     fail: SWIGUNUSED;
27688   }
27689   lua_error(L);
27690   return 0;
27691 }
27692 
27693 
_wrap_new_SBFileSpec__SWIG_3(lua_State * L)27694 static int _wrap_new_SBFileSpec__SWIG_3(lua_State* L) {
27695   {
27696     int SWIG_arg = 0;
27697     char *arg1 = (char *) 0 ;
27698     bool arg2 ;
27699     lldb::SBFileSpec *result = 0 ;
27700 
27701     SWIG_check_num_args("lldb::SBFileSpec::SBFileSpec",2,2)
27702     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",1,"char const *");
27703     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SBFileSpec",2,"bool");
27704     arg1 = (char *)lua_tostring(L, 1);
27705     arg2 = (lua_toboolean(L, 2)!=0);
27706     result = (lldb::SBFileSpec *)new lldb::SBFileSpec((char const *)arg1,arg2);
27707     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
27708     return SWIG_arg;
27709 
27710     fail: SWIGUNUSED;
27711   }
27712   lua_error(L);
27713   return 0;
27714 }
27715 
27716 
_wrap_new_SBFileSpec(lua_State * L)27717 static int _wrap_new_SBFileSpec(lua_State* L) {
27718   int argc;
27719   int argv[3]={
27720     1,2,3
27721   };
27722 
27723   argc = lua_gettop(L);
27724   if (argc == 0) {
27725     return _wrap_new_SBFileSpec__SWIG_0(L);
27726   }
27727   if (argc == 1) {
27728     int _v = 0;
27729     {
27730       void *ptr;
27731       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
27732         _v = 0;
27733       } else {
27734         _v = 1;
27735       }
27736     }
27737     if (_v) {
27738       return _wrap_new_SBFileSpec__SWIG_1(L);
27739     }
27740   }
27741   if (argc == 1) {
27742     int _v = 0;
27743     {
27744       _v = SWIG_lua_isnilstring(L,argv[0]);
27745     }
27746     if (_v) {
27747       return _wrap_new_SBFileSpec__SWIG_2(L);
27748     }
27749   }
27750   if (argc == 2) {
27751     int _v = 0;
27752     {
27753       _v = SWIG_lua_isnilstring(L,argv[0]);
27754     }
27755     if (_v) {
27756       {
27757         _v = lua_isboolean(L,argv[1]);
27758       }
27759       if (_v) {
27760         return _wrap_new_SBFileSpec__SWIG_3(L);
27761       }
27762     }
27763   }
27764 
27765   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFileSpec'\n"
27766     "  Possible C/C++ prototypes are:\n"
27767     "    lldb::SBFileSpec::SBFileSpec()\n"
27768     "    lldb::SBFileSpec::SBFileSpec(lldb::SBFileSpec const &)\n"
27769     "    lldb::SBFileSpec::SBFileSpec(char const *)\n"
27770     "    lldb::SBFileSpec::SBFileSpec(char const *,bool)\n");
27771   lua_error(L);return 0;
27772 }
27773 
27774 
_wrap_SBFileSpec___eq(lua_State * L)27775 static int _wrap_SBFileSpec___eq(lua_State* L) {
27776   {
27777     int SWIG_arg = 0;
27778     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27779     lldb::SBFileSpec *arg2 = 0 ;
27780     bool result;
27781 
27782     SWIG_check_num_args("lldb::SBFileSpec::operator ==",2,2)
27783     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",1,"lldb::SBFileSpec const *");
27784     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::operator ==",2,"lldb::SBFileSpec const &");
27785 
27786     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27787       SWIG_fail_ptr("SBFileSpec___eq",1,SWIGTYPE_p_lldb__SBFileSpec);
27788     }
27789 
27790 
27791     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
27792       SWIG_fail_ptr("SBFileSpec___eq",2,SWIGTYPE_p_lldb__SBFileSpec);
27793     }
27794 
27795     result = (bool)((lldb::SBFileSpec const *)arg1)->operator ==((lldb::SBFileSpec const &)*arg2);
27796     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27797     return SWIG_arg;
27798 
27799     fail: SWIGUNUSED;
27800   }
27801   lua_error(L);
27802   return 0;
27803 }
27804 
27805 
_wrap_SBFileSpec_IsValid(lua_State * L)27806 static int _wrap_SBFileSpec_IsValid(lua_State* L) {
27807   {
27808     int SWIG_arg = 0;
27809     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27810     bool result;
27811 
27812     SWIG_check_num_args("lldb::SBFileSpec::IsValid",1,1)
27813     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::IsValid",1,"lldb::SBFileSpec const *");
27814 
27815     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27816       SWIG_fail_ptr("SBFileSpec_IsValid",1,SWIGTYPE_p_lldb__SBFileSpec);
27817     }
27818 
27819     result = (bool)((lldb::SBFileSpec const *)arg1)->IsValid();
27820     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27821     return SWIG_arg;
27822 
27823     fail: SWIGUNUSED;
27824   }
27825   lua_error(L);
27826   return 0;
27827 }
27828 
27829 
_wrap_SBFileSpec_Exists(lua_State * L)27830 static int _wrap_SBFileSpec_Exists(lua_State* L) {
27831   {
27832     int SWIG_arg = 0;
27833     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27834     bool result;
27835 
27836     SWIG_check_num_args("lldb::SBFileSpec::Exists",1,1)
27837     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::Exists",1,"lldb::SBFileSpec const *");
27838 
27839     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27840       SWIG_fail_ptr("SBFileSpec_Exists",1,SWIGTYPE_p_lldb__SBFileSpec);
27841     }
27842 
27843     result = (bool)((lldb::SBFileSpec const *)arg1)->Exists();
27844     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27845     return SWIG_arg;
27846 
27847     fail: SWIGUNUSED;
27848   }
27849   lua_error(L);
27850   return 0;
27851 }
27852 
27853 
_wrap_SBFileSpec_ResolveExecutableLocation(lua_State * L)27854 static int _wrap_SBFileSpec_ResolveExecutableLocation(lua_State* L) {
27855   {
27856     int SWIG_arg = 0;
27857     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27858     bool result;
27859 
27860     SWIG_check_num_args("lldb::SBFileSpec::ResolveExecutableLocation",1,1)
27861     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolveExecutableLocation",1,"lldb::SBFileSpec *");
27862 
27863     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27864       SWIG_fail_ptr("SBFileSpec_ResolveExecutableLocation",1,SWIGTYPE_p_lldb__SBFileSpec);
27865     }
27866 
27867     result = (bool)(arg1)->ResolveExecutableLocation();
27868     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27869     return SWIG_arg;
27870 
27871     fail: SWIGUNUSED;
27872   }
27873   lua_error(L);
27874   return 0;
27875 }
27876 
27877 
_wrap_SBFileSpec_GetFilename(lua_State * L)27878 static int _wrap_SBFileSpec_GetFilename(lua_State* L) {
27879   {
27880     int SWIG_arg = 0;
27881     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27882     char *result = 0 ;
27883 
27884     SWIG_check_num_args("lldb::SBFileSpec::GetFilename",1,1)
27885     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetFilename",1,"lldb::SBFileSpec const *");
27886 
27887     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27888       SWIG_fail_ptr("SBFileSpec_GetFilename",1,SWIGTYPE_p_lldb__SBFileSpec);
27889     }
27890 
27891     result = (char *)((lldb::SBFileSpec const *)arg1)->GetFilename();
27892     lua_pushstring(L,(const char *)result); SWIG_arg++;
27893     return SWIG_arg;
27894 
27895     fail: SWIGUNUSED;
27896   }
27897   lua_error(L);
27898   return 0;
27899 }
27900 
27901 
_wrap_SBFileSpec_GetDirectory(lua_State * L)27902 static int _wrap_SBFileSpec_GetDirectory(lua_State* L) {
27903   {
27904     int SWIG_arg = 0;
27905     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27906     char *result = 0 ;
27907 
27908     SWIG_check_num_args("lldb::SBFileSpec::GetDirectory",1,1)
27909     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDirectory",1,"lldb::SBFileSpec const *");
27910 
27911     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27912       SWIG_fail_ptr("SBFileSpec_GetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec);
27913     }
27914 
27915     result = (char *)((lldb::SBFileSpec const *)arg1)->GetDirectory();
27916     lua_pushstring(L,(const char *)result); SWIG_arg++;
27917     return SWIG_arg;
27918 
27919     fail: SWIGUNUSED;
27920   }
27921   lua_error(L);
27922   return 0;
27923 }
27924 
27925 
_wrap_SBFileSpec_SetFilename(lua_State * L)27926 static int _wrap_SBFileSpec_SetFilename(lua_State* L) {
27927   {
27928     int SWIG_arg = 0;
27929     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27930     char *arg2 = (char *) 0 ;
27931 
27932     SWIG_check_num_args("lldb::SBFileSpec::SetFilename",2,2)
27933     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",1,"lldb::SBFileSpec *");
27934     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetFilename",2,"char const *");
27935 
27936     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27937       SWIG_fail_ptr("SBFileSpec_SetFilename",1,SWIGTYPE_p_lldb__SBFileSpec);
27938     }
27939 
27940     arg2 = (char *)lua_tostring(L, 2);
27941     (arg1)->SetFilename((char const *)arg2);
27942 
27943     return SWIG_arg;
27944 
27945     fail: SWIGUNUSED;
27946   }
27947   lua_error(L);
27948   return 0;
27949 }
27950 
27951 
_wrap_SBFileSpec_SetDirectory(lua_State * L)27952 static int _wrap_SBFileSpec_SetDirectory(lua_State* L) {
27953   {
27954     int SWIG_arg = 0;
27955     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27956     char *arg2 = (char *) 0 ;
27957 
27958     SWIG_check_num_args("lldb::SBFileSpec::SetDirectory",2,2)
27959     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",1,"lldb::SBFileSpec *");
27960     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::SetDirectory",2,"char const *");
27961 
27962     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27963       SWIG_fail_ptr("SBFileSpec_SetDirectory",1,SWIGTYPE_p_lldb__SBFileSpec);
27964     }
27965 
27966     arg2 = (char *)lua_tostring(L, 2);
27967     (arg1)->SetDirectory((char const *)arg2);
27968 
27969     return SWIG_arg;
27970 
27971     fail: SWIGUNUSED;
27972   }
27973   lua_error(L);
27974   return 0;
27975 }
27976 
27977 
_wrap_SBFileSpec_GetPath(lua_State * L)27978 static int _wrap_SBFileSpec_GetPath(lua_State* L) {
27979   {
27980     int SWIG_arg = 0;
27981     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
27982     char *arg2 = (char *) 0 ;
27983     size_t arg3 ;
27984     uint32_t result;
27985 
27986     SWIG_check_num_args("lldb::SBFileSpec::GetPath",3,3)
27987     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",1,"lldb::SBFileSpec const *");
27988     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",2,"char *");
27989     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::GetPath",3,"size_t");
27990 
27991     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
27992       SWIG_fail_ptr("SBFileSpec_GetPath",1,SWIGTYPE_p_lldb__SBFileSpec);
27993     }
27994 
27995     arg2 = (char *)lua_tostring(L, 2);
27996     arg3 = (size_t)lua_tointeger(L, 3);
27997     result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,arg3);
27998     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
27999     return SWIG_arg;
28000 
28001     fail: SWIGUNUSED;
28002   }
28003   lua_error(L);
28004   return 0;
28005 }
28006 
28007 
_wrap_SBFileSpec_ResolvePath(lua_State * L)28008 static int _wrap_SBFileSpec_ResolvePath(lua_State* L) {
28009   {
28010     int SWIG_arg = 0;
28011     char *arg1 = (char *) 0 ;
28012     char *arg2 = (char *) 0 ;
28013     size_t arg3 ;
28014     int result;
28015 
28016     SWIG_check_num_args("lldb::SBFileSpec::ResolvePath",3,3)
28017     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",1,"char const *");
28018     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",2,"char *");
28019     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFileSpec::ResolvePath",3,"size_t");
28020     arg1 = (char *)lua_tostring(L, 1);
28021     arg2 = (char *)lua_tostring(L, 2);
28022     arg3 = (size_t)lua_tointeger(L, 3);
28023     result = (int)lldb::SBFileSpec::ResolvePath((char const *)arg1,arg2,SWIG_STD_MOVE(arg3));
28024     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28025     return SWIG_arg;
28026 
28027     fail: SWIGUNUSED;
28028   }
28029   lua_error(L);
28030   return 0;
28031 }
28032 
28033 
_wrap_SBFileSpec_GetDescription(lua_State * L)28034 static int _wrap_SBFileSpec_GetDescription(lua_State* L) {
28035   {
28036     int SWIG_arg = 0;
28037     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
28038     lldb::SBStream *arg2 = 0 ;
28039     bool result;
28040 
28041     SWIG_check_num_args("lldb::SBFileSpec::GetDescription",2,2)
28042     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",1,"lldb::SBFileSpec const *");
28043     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpec::GetDescription",2,"lldb::SBStream &");
28044 
28045     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
28046       SWIG_fail_ptr("SBFileSpec_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpec);
28047     }
28048 
28049 
28050     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
28051       SWIG_fail_ptr("SBFileSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
28052     }
28053 
28054     result = (bool)((lldb::SBFileSpec const *)arg1)->GetDescription(*arg2);
28055     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28056     return SWIG_arg;
28057 
28058     fail: SWIGUNUSED;
28059   }
28060   lua_error(L);
28061   return 0;
28062 }
28063 
28064 
_wrap_SBFileSpec_AppendPathComponent(lua_State * L)28065 static int _wrap_SBFileSpec_AppendPathComponent(lua_State* L) {
28066   {
28067     int SWIG_arg = 0;
28068     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
28069     char *arg2 = (char *) 0 ;
28070 
28071     SWIG_check_num_args("lldb::SBFileSpec::AppendPathComponent",2,2)
28072     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",1,"lldb::SBFileSpec *");
28073     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFileSpec::AppendPathComponent",2,"char const *");
28074 
28075     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
28076       SWIG_fail_ptr("SBFileSpec_AppendPathComponent",1,SWIGTYPE_p_lldb__SBFileSpec);
28077     }
28078 
28079     arg2 = (char *)lua_tostring(L, 2);
28080     (arg1)->AppendPathComponent((char const *)arg2);
28081 
28082     return SWIG_arg;
28083 
28084     fail: SWIGUNUSED;
28085   }
28086   lua_error(L);
28087   return 0;
28088 }
28089 
28090 
_wrap_SBFileSpec___tostring(lua_State * L)28091 static int _wrap_SBFileSpec___tostring(lua_State* L) {
28092   {
28093     int SWIG_arg = 0;
28094     lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) 0 ;
28095     std::string result;
28096 
28097     SWIG_check_num_args("lldb::SBFileSpec::__repr__",1,1)
28098     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpec::__repr__",1,"lldb::SBFileSpec *");
28099 
28100     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpec,0))){
28101       SWIG_fail_ptr("SBFileSpec___tostring",1,SWIGTYPE_p_lldb__SBFileSpec);
28102     }
28103 
28104     result = lldb_SBFileSpec___repr__(arg1);
28105     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
28106     return SWIG_arg;
28107 
28108     fail: SWIGUNUSED;
28109   }
28110   lua_error(L);
28111   return 0;
28112 }
28113 
28114 
swig_delete_SBFileSpec(void * obj)28115 static void swig_delete_SBFileSpec(void *obj) {
28116 lldb::SBFileSpec *arg1 = (lldb::SBFileSpec *) obj;
28117 delete arg1;
28118 }
_proxy__wrap_new_SBFileSpec(lua_State * L)28119 static int _proxy__wrap_new_SBFileSpec(lua_State *L) {
28120     assert(lua_istable(L,1));
28121     lua_pushcfunction(L,_wrap_new_SBFileSpec);
28122     assert(!lua_isnil(L,-1));
28123     lua_replace(L,1); /* replace our table with real constructor */
28124     lua_call(L,lua_gettop(L)-1,1);
28125     return 1;
28126 }
28127 static swig_lua_attribute swig_SBFileSpec_attributes[] = {
28128     {0,0,0}
28129 };
28130 static swig_lua_method swig_SBFileSpec_methods[]= {
28131     { "__eq", _wrap_SBFileSpec___eq},
28132     { "IsValid", _wrap_SBFileSpec_IsValid},
28133     { "Exists", _wrap_SBFileSpec_Exists},
28134     { "ResolveExecutableLocation", _wrap_SBFileSpec_ResolveExecutableLocation},
28135     { "GetFilename", _wrap_SBFileSpec_GetFilename},
28136     { "GetDirectory", _wrap_SBFileSpec_GetDirectory},
28137     { "SetFilename", _wrap_SBFileSpec_SetFilename},
28138     { "SetDirectory", _wrap_SBFileSpec_SetDirectory},
28139     { "GetPath", _wrap_SBFileSpec_GetPath},
28140     { "GetDescription", _wrap_SBFileSpec_GetDescription},
28141     { "AppendPathComponent", _wrap_SBFileSpec_AppendPathComponent},
28142     { "__tostring", _wrap_SBFileSpec___tostring},
28143     {0,0}
28144 };
28145 static swig_lua_method swig_SBFileSpec_meta[] = {
28146     { "__eq", _wrap_SBFileSpec___eq},
28147     { "__tostring", _wrap_SBFileSpec___tostring},
28148     {0,0}
28149 };
28150 
28151 static swig_lua_attribute swig_SBFileSpec_Sf_SwigStatic_attributes[] = {
28152     {0,0,0}
28153 };
28154 static swig_lua_const_info swig_SBFileSpec_Sf_SwigStatic_constants[]= {
28155     {0,0,0,0,0,0}
28156 };
28157 static swig_lua_method swig_SBFileSpec_Sf_SwigStatic_methods[]= {
28158     { "ResolvePath", _wrap_SBFileSpec_ResolvePath},
28159     {0,0}
28160 };
28161 static swig_lua_class* swig_SBFileSpec_Sf_SwigStatic_classes[]= {
28162     0
28163 };
28164 
28165 static swig_lua_namespace swig_SBFileSpec_Sf_SwigStatic = {
28166     "SBFileSpec",
28167     swig_SBFileSpec_Sf_SwigStatic_methods,
28168     swig_SBFileSpec_Sf_SwigStatic_attributes,
28169     swig_SBFileSpec_Sf_SwigStatic_constants,
28170     swig_SBFileSpec_Sf_SwigStatic_classes,
28171     0
28172 };
28173 static swig_lua_class *swig_SBFileSpec_bases[] = {0};
28174 static const char *swig_SBFileSpec_base_names[] = {0};
28175 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 };
28176 
_wrap_new_SBFileSpecList__SWIG_0(lua_State * L)28177 static int _wrap_new_SBFileSpecList__SWIG_0(lua_State* L) {
28178   {
28179     int SWIG_arg = 0;
28180     lldb::SBFileSpecList *result = 0 ;
28181 
28182     SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",0,0)
28183     result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList();
28184     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++;
28185     return SWIG_arg;
28186 
28187     fail: SWIGUNUSED;
28188   }
28189   lua_error(L);
28190   return 0;
28191 }
28192 
28193 
_wrap_new_SBFileSpecList__SWIG_1(lua_State * L)28194 static int _wrap_new_SBFileSpecList__SWIG_1(lua_State* L) {
28195   {
28196     int SWIG_arg = 0;
28197     lldb::SBFileSpecList *arg1 = 0 ;
28198     lldb::SBFileSpecList *result = 0 ;
28199 
28200     SWIG_check_num_args("lldb::SBFileSpecList::SBFileSpecList",1,1)
28201     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::SBFileSpecList",1,"lldb::SBFileSpecList const &");
28202 
28203     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28204       SWIG_fail_ptr("new_SBFileSpecList",1,SWIGTYPE_p_lldb__SBFileSpecList);
28205     }
28206 
28207     result = (lldb::SBFileSpecList *)new lldb::SBFileSpecList((lldb::SBFileSpecList const &)*arg1);
28208     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFileSpecList,1); SWIG_arg++;
28209     return SWIG_arg;
28210 
28211     fail: SWIGUNUSED;
28212   }
28213   lua_error(L);
28214   return 0;
28215 }
28216 
28217 
_wrap_new_SBFileSpecList(lua_State * L)28218 static int _wrap_new_SBFileSpecList(lua_State* L) {
28219   int argc;
28220   int argv[2]={
28221     1,2
28222   };
28223 
28224   argc = lua_gettop(L);
28225   if (argc == 0) {
28226     return _wrap_new_SBFileSpecList__SWIG_0(L);
28227   }
28228   if (argc == 1) {
28229     int _v = 0;
28230     {
28231       void *ptr;
28232       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
28233         _v = 0;
28234       } else {
28235         _v = 1;
28236       }
28237     }
28238     if (_v) {
28239       return _wrap_new_SBFileSpecList__SWIG_1(L);
28240     }
28241   }
28242 
28243   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFileSpecList'\n"
28244     "  Possible C/C++ prototypes are:\n"
28245     "    lldb::SBFileSpecList::SBFileSpecList()\n"
28246     "    lldb::SBFileSpecList::SBFileSpecList(lldb::SBFileSpecList const &)\n");
28247   lua_error(L);return 0;
28248 }
28249 
28250 
_wrap_SBFileSpecList_GetSize(lua_State * L)28251 static int _wrap_SBFileSpecList_GetSize(lua_State* L) {
28252   {
28253     int SWIG_arg = 0;
28254     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28255     uint32_t result;
28256 
28257     SWIG_check_num_args("lldb::SBFileSpecList::GetSize",1,1)
28258     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetSize",1,"lldb::SBFileSpecList const *");
28259 
28260     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28261       SWIG_fail_ptr("SBFileSpecList_GetSize",1,SWIGTYPE_p_lldb__SBFileSpecList);
28262     }
28263 
28264     result = (uint32_t)((lldb::SBFileSpecList const *)arg1)->GetSize();
28265     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28266     return SWIG_arg;
28267 
28268     fail: SWIGUNUSED;
28269   }
28270   lua_error(L);
28271   return 0;
28272 }
28273 
28274 
_wrap_SBFileSpecList_GetDescription(lua_State * L)28275 static int _wrap_SBFileSpecList_GetDescription(lua_State* L) {
28276   {
28277     int SWIG_arg = 0;
28278     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28279     lldb::SBStream *arg2 = 0 ;
28280     bool result;
28281 
28282     SWIG_check_num_args("lldb::SBFileSpecList::GetDescription",2,2)
28283     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",1,"lldb::SBFileSpecList const *");
28284     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetDescription",2,"lldb::SBStream &");
28285 
28286     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28287       SWIG_fail_ptr("SBFileSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBFileSpecList);
28288     }
28289 
28290 
28291     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
28292       SWIG_fail_ptr("SBFileSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
28293     }
28294 
28295     result = (bool)((lldb::SBFileSpecList const *)arg1)->GetDescription(*arg2);
28296     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28297     return SWIG_arg;
28298 
28299     fail: SWIGUNUSED;
28300   }
28301   lua_error(L);
28302   return 0;
28303 }
28304 
28305 
_wrap_SBFileSpecList_Append(lua_State * L)28306 static int _wrap_SBFileSpecList_Append(lua_State* L) {
28307   {
28308     int SWIG_arg = 0;
28309     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28310     lldb::SBFileSpec *arg2 = 0 ;
28311 
28312     SWIG_check_num_args("lldb::SBFileSpecList::Append",2,2)
28313     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Append",1,"lldb::SBFileSpecList *");
28314     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::Append",2,"lldb::SBFileSpec const &");
28315 
28316     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28317       SWIG_fail_ptr("SBFileSpecList_Append",1,SWIGTYPE_p_lldb__SBFileSpecList);
28318     }
28319 
28320 
28321     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
28322       SWIG_fail_ptr("SBFileSpecList_Append",2,SWIGTYPE_p_lldb__SBFileSpec);
28323     }
28324 
28325     (arg1)->Append((lldb::SBFileSpec const &)*arg2);
28326 
28327     return SWIG_arg;
28328 
28329     fail: SWIGUNUSED;
28330   }
28331   lua_error(L);
28332   return 0;
28333 }
28334 
28335 
_wrap_SBFileSpecList_AppendIfUnique(lua_State * L)28336 static int _wrap_SBFileSpecList_AppendIfUnique(lua_State* L) {
28337   {
28338     int SWIG_arg = 0;
28339     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28340     lldb::SBFileSpec *arg2 = 0 ;
28341     bool result;
28342 
28343     SWIG_check_num_args("lldb::SBFileSpecList::AppendIfUnique",2,2)
28344     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",1,"lldb::SBFileSpecList *");
28345     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::AppendIfUnique",2,"lldb::SBFileSpec const &");
28346 
28347     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28348       SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",1,SWIGTYPE_p_lldb__SBFileSpecList);
28349     }
28350 
28351 
28352     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
28353       SWIG_fail_ptr("SBFileSpecList_AppendIfUnique",2,SWIGTYPE_p_lldb__SBFileSpec);
28354     }
28355 
28356     result = (bool)(arg1)->AppendIfUnique((lldb::SBFileSpec const &)*arg2);
28357     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28358     return SWIG_arg;
28359 
28360     fail: SWIGUNUSED;
28361   }
28362   lua_error(L);
28363   return 0;
28364 }
28365 
28366 
_wrap_SBFileSpecList_Clear(lua_State * L)28367 static int _wrap_SBFileSpecList_Clear(lua_State* L) {
28368   {
28369     int SWIG_arg = 0;
28370     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28371 
28372     SWIG_check_num_args("lldb::SBFileSpecList::Clear",1,1)
28373     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::Clear",1,"lldb::SBFileSpecList *");
28374 
28375     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28376       SWIG_fail_ptr("SBFileSpecList_Clear",1,SWIGTYPE_p_lldb__SBFileSpecList);
28377     }
28378 
28379     (arg1)->Clear();
28380 
28381     return SWIG_arg;
28382 
28383     fail: SWIGUNUSED;
28384   }
28385   lua_error(L);
28386   return 0;
28387 }
28388 
28389 
_wrap_SBFileSpecList_FindFileIndex(lua_State * L)28390 static int _wrap_SBFileSpecList_FindFileIndex(lua_State* L) {
28391   {
28392     int SWIG_arg = 0;
28393     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28394     uint32_t arg2 ;
28395     lldb::SBFileSpec *arg3 = 0 ;
28396     bool arg4 ;
28397     uint32_t result;
28398 
28399     SWIG_check_num_args("lldb::SBFileSpecList::FindFileIndex",4,4)
28400     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",1,"lldb::SBFileSpecList *");
28401     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",2,"uint32_t");
28402     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",3,"lldb::SBFileSpec const &");
28403     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFileSpecList::FindFileIndex",4,"bool");
28404 
28405     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28406       SWIG_fail_ptr("SBFileSpecList_FindFileIndex",1,SWIGTYPE_p_lldb__SBFileSpecList);
28407     }
28408 
28409     arg2 = (uint32_t)lua_tointeger(L, 2);
28410 
28411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
28412       SWIG_fail_ptr("SBFileSpecList_FindFileIndex",3,SWIGTYPE_p_lldb__SBFileSpec);
28413     }
28414 
28415     arg4 = (lua_toboolean(L, 4)!=0);
28416     result = (uint32_t)(arg1)->FindFileIndex(arg2,(lldb::SBFileSpec const &)*arg3,arg4);
28417     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28418     return SWIG_arg;
28419 
28420     fail: SWIGUNUSED;
28421   }
28422   lua_error(L);
28423   return 0;
28424 }
28425 
28426 
_wrap_SBFileSpecList_GetFileSpecAtIndex(lua_State * L)28427 static int _wrap_SBFileSpecList_GetFileSpecAtIndex(lua_State* L) {
28428   {
28429     int SWIG_arg = 0;
28430     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28431     uint32_t arg2 ;
28432     lldb::SBFileSpec result;
28433 
28434     SWIG_check_num_args("lldb::SBFileSpecList::GetFileSpecAtIndex",2,2)
28435     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",1,"lldb::SBFileSpecList const *");
28436     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFileSpecList::GetFileSpecAtIndex",2,"uint32_t");
28437 
28438     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28439       SWIG_fail_ptr("SBFileSpecList_GetFileSpecAtIndex",1,SWIGTYPE_p_lldb__SBFileSpecList);
28440     }
28441 
28442     arg2 = (uint32_t)lua_tointeger(L, 2);
28443     result = ((lldb::SBFileSpecList const *)arg1)->GetFileSpecAtIndex(arg2);
28444     {
28445       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
28446       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
28447     }
28448     return SWIG_arg;
28449 
28450     fail: SWIGUNUSED;
28451   }
28452   lua_error(L);
28453   return 0;
28454 }
28455 
28456 
_wrap_SBFileSpecList___tostring(lua_State * L)28457 static int _wrap_SBFileSpecList___tostring(lua_State* L) {
28458   {
28459     int SWIG_arg = 0;
28460     lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ;
28461     std::string result;
28462 
28463     SWIG_check_num_args("lldb::SBFileSpecList::__repr__",1,1)
28464     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::__repr__",1,"lldb::SBFileSpecList *");
28465 
28466     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){
28467       SWIG_fail_ptr("SBFileSpecList___tostring",1,SWIGTYPE_p_lldb__SBFileSpecList);
28468     }
28469 
28470     result = lldb_SBFileSpecList___repr__(arg1);
28471     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
28472     return SWIG_arg;
28473 
28474     fail: SWIGUNUSED;
28475   }
28476   lua_error(L);
28477   return 0;
28478 }
28479 
28480 
swig_delete_SBFileSpecList(void * obj)28481 static void swig_delete_SBFileSpecList(void *obj) {
28482 lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) obj;
28483 delete arg1;
28484 }
_proxy__wrap_new_SBFileSpecList(lua_State * L)28485 static int _proxy__wrap_new_SBFileSpecList(lua_State *L) {
28486     assert(lua_istable(L,1));
28487     lua_pushcfunction(L,_wrap_new_SBFileSpecList);
28488     assert(!lua_isnil(L,-1));
28489     lua_replace(L,1); /* replace our table with real constructor */
28490     lua_call(L,lua_gettop(L)-1,1);
28491     return 1;
28492 }
28493 static swig_lua_attribute swig_SBFileSpecList_attributes[] = {
28494     {0,0,0}
28495 };
28496 static swig_lua_method swig_SBFileSpecList_methods[]= {
28497     { "GetSize", _wrap_SBFileSpecList_GetSize},
28498     { "GetDescription", _wrap_SBFileSpecList_GetDescription},
28499     { "Append", _wrap_SBFileSpecList_Append},
28500     { "AppendIfUnique", _wrap_SBFileSpecList_AppendIfUnique},
28501     { "Clear", _wrap_SBFileSpecList_Clear},
28502     { "FindFileIndex", _wrap_SBFileSpecList_FindFileIndex},
28503     { "GetFileSpecAtIndex", _wrap_SBFileSpecList_GetFileSpecAtIndex},
28504     { "__tostring", _wrap_SBFileSpecList___tostring},
28505     {0,0}
28506 };
28507 static swig_lua_method swig_SBFileSpecList_meta[] = {
28508     { "__tostring", _wrap_SBFileSpecList___tostring},
28509     {0,0}
28510 };
28511 
28512 static swig_lua_attribute swig_SBFileSpecList_Sf_SwigStatic_attributes[] = {
28513     {0,0,0}
28514 };
28515 static swig_lua_const_info swig_SBFileSpecList_Sf_SwigStatic_constants[]= {
28516     {0,0,0,0,0,0}
28517 };
28518 static swig_lua_method swig_SBFileSpecList_Sf_SwigStatic_methods[]= {
28519     {0,0}
28520 };
28521 static swig_lua_class* swig_SBFileSpecList_Sf_SwigStatic_classes[]= {
28522     0
28523 };
28524 
28525 static swig_lua_namespace swig_SBFileSpecList_Sf_SwigStatic = {
28526     "SBFileSpecList",
28527     swig_SBFileSpecList_Sf_SwigStatic_methods,
28528     swig_SBFileSpecList_Sf_SwigStatic_attributes,
28529     swig_SBFileSpecList_Sf_SwigStatic_constants,
28530     swig_SBFileSpecList_Sf_SwigStatic_classes,
28531     0
28532 };
28533 static swig_lua_class *swig_SBFileSpecList_bases[] = {0};
28534 static const char *swig_SBFileSpecList_base_names[] = {0};
28535 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 };
28536 
_wrap_new_SBFormat__SWIG_0(lua_State * L)28537 static int _wrap_new_SBFormat__SWIG_0(lua_State* L) {
28538   {
28539     int SWIG_arg = 0;
28540     lldb::SBFormat *result = 0 ;
28541 
28542     SWIG_check_num_args("lldb::SBFormat::SBFormat",0,0)
28543     result = (lldb::SBFormat *)new lldb::SBFormat();
28544     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++;
28545     return SWIG_arg;
28546 
28547     fail: SWIGUNUSED;
28548   }
28549   lua_error(L);
28550   return 0;
28551 }
28552 
28553 
_wrap_new_SBFormat__SWIG_1(lua_State * L)28554 static int _wrap_new_SBFormat__SWIG_1(lua_State* L) {
28555   {
28556     int SWIG_arg = 0;
28557     char *arg1 = (char *) 0 ;
28558     lldb::SBError *arg2 = 0 ;
28559     lldb::SBFormat *result = 0 ;
28560 
28561     SWIG_check_num_args("lldb::SBFormat::SBFormat",2,2)
28562     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFormat::SBFormat",1,"char const *");
28563     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFormat::SBFormat",2,"lldb::SBError &");
28564     arg1 = (char *)lua_tostring(L, 1);
28565 
28566     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
28567       SWIG_fail_ptr("new_SBFormat",2,SWIGTYPE_p_lldb__SBError);
28568     }
28569 
28570     result = (lldb::SBFormat *)new lldb::SBFormat((char const *)arg1,*arg2);
28571     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++;
28572     return SWIG_arg;
28573 
28574     fail: SWIGUNUSED;
28575   }
28576   lua_error(L);
28577   return 0;
28578 }
28579 
28580 
_wrap_new_SBFormat__SWIG_2(lua_State * L)28581 static int _wrap_new_SBFormat__SWIG_2(lua_State* L) {
28582   {
28583     int SWIG_arg = 0;
28584     lldb::SBFormat *arg1 = 0 ;
28585     lldb::SBFormat *result = 0 ;
28586 
28587     SWIG_check_num_args("lldb::SBFormat::SBFormat",1,1)
28588     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFormat::SBFormat",1,"lldb::SBFormat const &");
28589 
28590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFormat,0))){
28591       SWIG_fail_ptr("new_SBFormat",1,SWIGTYPE_p_lldb__SBFormat);
28592     }
28593 
28594     result = (lldb::SBFormat *)new lldb::SBFormat((lldb::SBFormat const &)*arg1);
28595     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++;
28596     return SWIG_arg;
28597 
28598     fail: SWIGUNUSED;
28599   }
28600   lua_error(L);
28601   return 0;
28602 }
28603 
28604 
_wrap_new_SBFormat(lua_State * L)28605 static int _wrap_new_SBFormat(lua_State* L) {
28606   int argc;
28607   int argv[3]={
28608     1,2,3
28609   };
28610 
28611   argc = lua_gettop(L);
28612   if (argc == 0) {
28613     return _wrap_new_SBFormat__SWIG_0(L);
28614   }
28615   if (argc == 1) {
28616     int _v = 0;
28617     {
28618       void *ptr;
28619       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFormat, SWIG_POINTER_NO_NULL)) {
28620         _v = 0;
28621       } else {
28622         _v = 1;
28623       }
28624     }
28625     if (_v) {
28626       return _wrap_new_SBFormat__SWIG_2(L);
28627     }
28628   }
28629   if (argc == 2) {
28630     int _v = 0;
28631     {
28632       _v = SWIG_lua_isnilstring(L,argv[0]);
28633     }
28634     if (_v) {
28635       {
28636         void *ptr;
28637         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
28638           _v = 0;
28639         } else {
28640           _v = 1;
28641         }
28642       }
28643       if (_v) {
28644         return _wrap_new_SBFormat__SWIG_1(L);
28645       }
28646     }
28647   }
28648 
28649   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFormat'\n"
28650     "  Possible C/C++ prototypes are:\n"
28651     "    lldb::SBFormat::SBFormat()\n"
28652     "    lldb::SBFormat::SBFormat(char const *,lldb::SBError &)\n"
28653     "    lldb::SBFormat::SBFormat(lldb::SBFormat const &)\n");
28654   lua_error(L);return 0;
28655 }
28656 
28657 
swig_delete_SBFormat(void * obj)28658 static void swig_delete_SBFormat(void *obj) {
28659 lldb::SBFormat *arg1 = (lldb::SBFormat *) obj;
28660 delete arg1;
28661 }
_proxy__wrap_new_SBFormat(lua_State * L)28662 static int _proxy__wrap_new_SBFormat(lua_State *L) {
28663     assert(lua_istable(L,1));
28664     lua_pushcfunction(L,_wrap_new_SBFormat);
28665     assert(!lua_isnil(L,-1));
28666     lua_replace(L,1); /* replace our table with real constructor */
28667     lua_call(L,lua_gettop(L)-1,1);
28668     return 1;
28669 }
28670 static swig_lua_attribute swig_SBFormat_attributes[] = {
28671     {0,0,0}
28672 };
28673 static swig_lua_method swig_SBFormat_methods[]= {
28674     {0,0}
28675 };
28676 static swig_lua_method swig_SBFormat_meta[] = {
28677     {0,0}
28678 };
28679 
28680 static swig_lua_attribute swig_SBFormat_Sf_SwigStatic_attributes[] = {
28681     {0,0,0}
28682 };
28683 static swig_lua_const_info swig_SBFormat_Sf_SwigStatic_constants[]= {
28684     {0,0,0,0,0,0}
28685 };
28686 static swig_lua_method swig_SBFormat_Sf_SwigStatic_methods[]= {
28687     {0,0}
28688 };
28689 static swig_lua_class* swig_SBFormat_Sf_SwigStatic_classes[]= {
28690     0
28691 };
28692 
28693 static swig_lua_namespace swig_SBFormat_Sf_SwigStatic = {
28694     "SBFormat",
28695     swig_SBFormat_Sf_SwigStatic_methods,
28696     swig_SBFormat_Sf_SwigStatic_attributes,
28697     swig_SBFormat_Sf_SwigStatic_constants,
28698     swig_SBFormat_Sf_SwigStatic_classes,
28699     0
28700 };
28701 static swig_lua_class *swig_SBFormat_bases[] = {0};
28702 static const char *swig_SBFormat_base_names[] = {0};
28703 static swig_lua_class _wrap_class_SBFormat = { "SBFormat", "SBFormat", &SWIGTYPE_p_lldb__SBFormat,_proxy__wrap_new_SBFormat, swig_delete_SBFormat, swig_SBFormat_methods, swig_SBFormat_attributes, &swig_SBFormat_Sf_SwigStatic, swig_SBFormat_meta, swig_SBFormat_bases, swig_SBFormat_base_names };
28704 
_wrap_new_SBFrame__SWIG_0(lua_State * L)28705 static int _wrap_new_SBFrame__SWIG_0(lua_State* L) {
28706   {
28707     int SWIG_arg = 0;
28708     lldb::SBFrame *result = 0 ;
28709 
28710     SWIG_check_num_args("lldb::SBFrame::SBFrame",0,0)
28711     result = (lldb::SBFrame *)new lldb::SBFrame();
28712     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
28713     return SWIG_arg;
28714 
28715     fail: SWIGUNUSED;
28716   }
28717   lua_error(L);
28718   return 0;
28719 }
28720 
28721 
_wrap_new_SBFrame__SWIG_1(lua_State * L)28722 static int _wrap_new_SBFrame__SWIG_1(lua_State* L) {
28723   {
28724     int SWIG_arg = 0;
28725     lldb::SBFrame *arg1 = 0 ;
28726     lldb::SBFrame *result = 0 ;
28727 
28728     SWIG_check_num_args("lldb::SBFrame::SBFrame",1,1)
28729     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFrame::SBFrame",1,"lldb::SBFrame const &");
28730 
28731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28732       SWIG_fail_ptr("new_SBFrame",1,SWIGTYPE_p_lldb__SBFrame);
28733     }
28734 
28735     result = (lldb::SBFrame *)new lldb::SBFrame((lldb::SBFrame const &)*arg1);
28736     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
28737     return SWIG_arg;
28738 
28739     fail: SWIGUNUSED;
28740   }
28741   lua_error(L);
28742   return 0;
28743 }
28744 
28745 
_wrap_new_SBFrame(lua_State * L)28746 static int _wrap_new_SBFrame(lua_State* L) {
28747   int argc;
28748   int argv[2]={
28749     1,2
28750   };
28751 
28752   argc = lua_gettop(L);
28753   if (argc == 0) {
28754     return _wrap_new_SBFrame__SWIG_0(L);
28755   }
28756   if (argc == 1) {
28757     int _v = 0;
28758     {
28759       void *ptr;
28760       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
28761         _v = 0;
28762       } else {
28763         _v = 1;
28764       }
28765     }
28766     if (_v) {
28767       return _wrap_new_SBFrame__SWIG_1(L);
28768     }
28769   }
28770 
28771   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFrame'\n"
28772     "  Possible C/C++ prototypes are:\n"
28773     "    lldb::SBFrame::SBFrame()\n"
28774     "    lldb::SBFrame::SBFrame(lldb::SBFrame const &)\n");
28775   lua_error(L);return 0;
28776 }
28777 
28778 
_wrap_SBFrame_IsEqual(lua_State * L)28779 static int _wrap_SBFrame_IsEqual(lua_State* L) {
28780   {
28781     int SWIG_arg = 0;
28782     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28783     lldb::SBFrame *arg2 = 0 ;
28784     bool result;
28785 
28786     SWIG_check_num_args("lldb::SBFrame::IsEqual",2,2)
28787     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsEqual",1,"lldb::SBFrame const *");
28788     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::IsEqual",2,"lldb::SBFrame const &");
28789 
28790     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28791       SWIG_fail_ptr("SBFrame_IsEqual",1,SWIGTYPE_p_lldb__SBFrame);
28792     }
28793 
28794 
28795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
28796       SWIG_fail_ptr("SBFrame_IsEqual",2,SWIGTYPE_p_lldb__SBFrame);
28797     }
28798 
28799     result = (bool)((lldb::SBFrame const *)arg1)->IsEqual((lldb::SBFrame const &)*arg2);
28800     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28801     return SWIG_arg;
28802 
28803     fail: SWIGUNUSED;
28804   }
28805   lua_error(L);
28806   return 0;
28807 }
28808 
28809 
_wrap_SBFrame_IsValid(lua_State * L)28810 static int _wrap_SBFrame_IsValid(lua_State* L) {
28811   {
28812     int SWIG_arg = 0;
28813     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28814     bool result;
28815 
28816     SWIG_check_num_args("lldb::SBFrame::IsValid",1,1)
28817     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsValid",1,"lldb::SBFrame const *");
28818 
28819     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28820       SWIG_fail_ptr("SBFrame_IsValid",1,SWIGTYPE_p_lldb__SBFrame);
28821     }
28822 
28823     result = (bool)((lldb::SBFrame const *)arg1)->IsValid();
28824     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28825     return SWIG_arg;
28826 
28827     fail: SWIGUNUSED;
28828   }
28829   lua_error(L);
28830   return 0;
28831 }
28832 
28833 
_wrap_SBFrame_GetFrameID(lua_State * L)28834 static int _wrap_SBFrame_GetFrameID(lua_State* L) {
28835   {
28836     int SWIG_arg = 0;
28837     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28838     uint32_t result;
28839 
28840     SWIG_check_num_args("lldb::SBFrame::GetFrameID",1,1)
28841     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameID",1,"lldb::SBFrame const *");
28842 
28843     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28844       SWIG_fail_ptr("SBFrame_GetFrameID",1,SWIGTYPE_p_lldb__SBFrame);
28845     }
28846 
28847     result = (uint32_t)((lldb::SBFrame const *)arg1)->GetFrameID();
28848     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28849     return SWIG_arg;
28850 
28851     fail: SWIGUNUSED;
28852   }
28853   lua_error(L);
28854   return 0;
28855 }
28856 
28857 
_wrap_SBFrame_GetCFA(lua_State * L)28858 static int _wrap_SBFrame_GetCFA(lua_State* L) {
28859   {
28860     int SWIG_arg = 0;
28861     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28862     lldb::addr_t result;
28863 
28864     SWIG_check_num_args("lldb::SBFrame::GetCFA",1,1)
28865     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCFA",1,"lldb::SBFrame const *");
28866 
28867     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28868       SWIG_fail_ptr("SBFrame_GetCFA",1,SWIGTYPE_p_lldb__SBFrame);
28869     }
28870 
28871     result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetCFA();
28872     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28873     return SWIG_arg;
28874 
28875     fail: SWIGUNUSED;
28876   }
28877   lua_error(L);
28878   return 0;
28879 }
28880 
28881 
_wrap_SBFrame_GetPC(lua_State * L)28882 static int _wrap_SBFrame_GetPC(lua_State* L) {
28883   {
28884     int SWIG_arg = 0;
28885     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28886     lldb::addr_t result;
28887 
28888     SWIG_check_num_args("lldb::SBFrame::GetPC",1,1)
28889     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPC",1,"lldb::SBFrame const *");
28890 
28891     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28892       SWIG_fail_ptr("SBFrame_GetPC",1,SWIGTYPE_p_lldb__SBFrame);
28893     }
28894 
28895     result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetPC();
28896     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28897     return SWIG_arg;
28898 
28899     fail: SWIGUNUSED;
28900   }
28901   lua_error(L);
28902   return 0;
28903 }
28904 
28905 
_wrap_SBFrame_SetPC(lua_State * L)28906 static int _wrap_SBFrame_SetPC(lua_State* L) {
28907   {
28908     int SWIG_arg = 0;
28909     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28910     lldb::addr_t arg2 ;
28911     bool result;
28912 
28913     SWIG_check_num_args("lldb::SBFrame::SetPC",2,2)
28914     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::SetPC",1,"lldb::SBFrame *");
28915     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::SetPC",2,"lldb::addr_t");
28916 
28917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28918       SWIG_fail_ptr("SBFrame_SetPC",1,SWIGTYPE_p_lldb__SBFrame);
28919     }
28920 
28921     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
28922     result = (bool)(arg1)->SetPC(arg2);
28923     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28924     return SWIG_arg;
28925 
28926     fail: SWIGUNUSED;
28927   }
28928   lua_error(L);
28929   return 0;
28930 }
28931 
28932 
_wrap_SBFrame_GetSP(lua_State * L)28933 static int _wrap_SBFrame_GetSP(lua_State* L) {
28934   {
28935     int SWIG_arg = 0;
28936     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28937     lldb::addr_t result;
28938 
28939     SWIG_check_num_args("lldb::SBFrame::GetSP",1,1)
28940     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSP",1,"lldb::SBFrame const *");
28941 
28942     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28943       SWIG_fail_ptr("SBFrame_GetSP",1,SWIGTYPE_p_lldb__SBFrame);
28944     }
28945 
28946     result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetSP();
28947     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28948     return SWIG_arg;
28949 
28950     fail: SWIGUNUSED;
28951   }
28952   lua_error(L);
28953   return 0;
28954 }
28955 
28956 
_wrap_SBFrame_GetFP(lua_State * L)28957 static int _wrap_SBFrame_GetFP(lua_State* L) {
28958   {
28959     int SWIG_arg = 0;
28960     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28961     lldb::addr_t result;
28962 
28963     SWIG_check_num_args("lldb::SBFrame::GetFP",1,1)
28964     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFP",1,"lldb::SBFrame const *");
28965 
28966     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28967       SWIG_fail_ptr("SBFrame_GetFP",1,SWIGTYPE_p_lldb__SBFrame);
28968     }
28969 
28970     result = (lldb::addr_t)((lldb::SBFrame const *)arg1)->GetFP();
28971     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
28972     return SWIG_arg;
28973 
28974     fail: SWIGUNUSED;
28975   }
28976   lua_error(L);
28977   return 0;
28978 }
28979 
28980 
_wrap_SBFrame_GetPCAddress(lua_State * L)28981 static int _wrap_SBFrame_GetPCAddress(lua_State* L) {
28982   {
28983     int SWIG_arg = 0;
28984     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
28985     lldb::SBAddress result;
28986 
28987     SWIG_check_num_args("lldb::SBFrame::GetPCAddress",1,1)
28988     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetPCAddress",1,"lldb::SBFrame const *");
28989 
28990     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
28991       SWIG_fail_ptr("SBFrame_GetPCAddress",1,SWIGTYPE_p_lldb__SBFrame);
28992     }
28993 
28994     result = ((lldb::SBFrame const *)arg1)->GetPCAddress();
28995     {
28996       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
28997       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
28998     }
28999     return SWIG_arg;
29000 
29001     fail: SWIGUNUSED;
29002   }
29003   lua_error(L);
29004   return 0;
29005 }
29006 
29007 
_wrap_SBFrame_GetSymbolContext(lua_State * L)29008 static int _wrap_SBFrame_GetSymbolContext(lua_State* L) {
29009   {
29010     int SWIG_arg = 0;
29011     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29012     uint32_t arg2 ;
29013     lldb::SBSymbolContext result;
29014 
29015     SWIG_check_num_args("lldb::SBFrame::GetSymbolContext",2,2)
29016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",1,"lldb::SBFrame const *");
29017     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFrame::GetSymbolContext",2,"uint32_t");
29018 
29019     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29020       SWIG_fail_ptr("SBFrame_GetSymbolContext",1,SWIGTYPE_p_lldb__SBFrame);
29021     }
29022 
29023     arg2 = (uint32_t)lua_tointeger(L, 2);
29024     result = ((lldb::SBFrame const *)arg1)->GetSymbolContext(arg2);
29025     {
29026       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
29027       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
29028     }
29029     return SWIG_arg;
29030 
29031     fail: SWIGUNUSED;
29032   }
29033   lua_error(L);
29034   return 0;
29035 }
29036 
29037 
_wrap_SBFrame_GetModule(lua_State * L)29038 static int _wrap_SBFrame_GetModule(lua_State* L) {
29039   {
29040     int SWIG_arg = 0;
29041     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29042     lldb::SBModule result;
29043 
29044     SWIG_check_num_args("lldb::SBFrame::GetModule",1,1)
29045     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetModule",1,"lldb::SBFrame const *");
29046 
29047     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29048       SWIG_fail_ptr("SBFrame_GetModule",1,SWIGTYPE_p_lldb__SBFrame);
29049     }
29050 
29051     result = ((lldb::SBFrame const *)arg1)->GetModule();
29052     {
29053       lldb::SBModule * resultptr = new lldb::SBModule(result);
29054       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
29055     }
29056     return SWIG_arg;
29057 
29058     fail: SWIGUNUSED;
29059   }
29060   lua_error(L);
29061   return 0;
29062 }
29063 
29064 
_wrap_SBFrame_GetCompileUnit(lua_State * L)29065 static int _wrap_SBFrame_GetCompileUnit(lua_State* L) {
29066   {
29067     int SWIG_arg = 0;
29068     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29069     lldb::SBCompileUnit result;
29070 
29071     SWIG_check_num_args("lldb::SBFrame::GetCompileUnit",1,1)
29072     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetCompileUnit",1,"lldb::SBFrame const *");
29073 
29074     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29075       SWIG_fail_ptr("SBFrame_GetCompileUnit",1,SWIGTYPE_p_lldb__SBFrame);
29076     }
29077 
29078     result = ((lldb::SBFrame const *)arg1)->GetCompileUnit();
29079     {
29080       lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result);
29081       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
29082     }
29083     return SWIG_arg;
29084 
29085     fail: SWIGUNUSED;
29086   }
29087   lua_error(L);
29088   return 0;
29089 }
29090 
29091 
_wrap_SBFrame_GetFunction(lua_State * L)29092 static int _wrap_SBFrame_GetFunction(lua_State* L) {
29093   {
29094     int SWIG_arg = 0;
29095     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29096     lldb::SBFunction result;
29097 
29098     SWIG_check_num_args("lldb::SBFrame::GetFunction",1,1)
29099     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunction",1,"lldb::SBFrame const *");
29100 
29101     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29102       SWIG_fail_ptr("SBFrame_GetFunction",1,SWIGTYPE_p_lldb__SBFrame);
29103     }
29104 
29105     result = ((lldb::SBFrame const *)arg1)->GetFunction();
29106     {
29107       lldb::SBFunction * resultptr = new lldb::SBFunction(result);
29108       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++;
29109     }
29110     return SWIG_arg;
29111 
29112     fail: SWIGUNUSED;
29113   }
29114   lua_error(L);
29115   return 0;
29116 }
29117 
29118 
_wrap_SBFrame_GetSymbol(lua_State * L)29119 static int _wrap_SBFrame_GetSymbol(lua_State* L) {
29120   {
29121     int SWIG_arg = 0;
29122     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29123     lldb::SBSymbol result;
29124 
29125     SWIG_check_num_args("lldb::SBFrame::GetSymbol",1,1)
29126     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetSymbol",1,"lldb::SBFrame const *");
29127 
29128     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29129       SWIG_fail_ptr("SBFrame_GetSymbol",1,SWIGTYPE_p_lldb__SBFrame);
29130     }
29131 
29132     result = ((lldb::SBFrame const *)arg1)->GetSymbol();
29133     {
29134       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
29135       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
29136     }
29137     return SWIG_arg;
29138 
29139     fail: SWIGUNUSED;
29140   }
29141   lua_error(L);
29142   return 0;
29143 }
29144 
29145 
_wrap_SBFrame_GetBlock(lua_State * L)29146 static int _wrap_SBFrame_GetBlock(lua_State* L) {
29147   {
29148     int SWIG_arg = 0;
29149     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29150     lldb::SBBlock result;
29151 
29152     SWIG_check_num_args("lldb::SBFrame::GetBlock",1,1)
29153     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetBlock",1,"lldb::SBFrame const *");
29154 
29155     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29156       SWIG_fail_ptr("SBFrame_GetBlock",1,SWIGTYPE_p_lldb__SBFrame);
29157     }
29158 
29159     result = ((lldb::SBFrame const *)arg1)->GetBlock();
29160     {
29161       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
29162       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
29163     }
29164     return SWIG_arg;
29165 
29166     fail: SWIGUNUSED;
29167   }
29168   lua_error(L);
29169   return 0;
29170 }
29171 
29172 
_wrap_SBFrame_GetFunctionName__SWIG_0(lua_State * L)29173 static int _wrap_SBFrame_GetFunctionName__SWIG_0(lua_State* L) {
29174   {
29175     int SWIG_arg = 0;
29176     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29177     char *result = 0 ;
29178 
29179     SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1)
29180     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame *");
29181 
29182     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29183       SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame);
29184     }
29185 
29186     result = (char *)(arg1)->GetFunctionName();
29187     lua_pushstring(L,(const char *)result); SWIG_arg++;
29188     return SWIG_arg;
29189 
29190     fail: SWIGUNUSED;
29191   }
29192   lua_error(L);
29193   return 0;
29194 }
29195 
29196 
_wrap_SBFrame_GetDisplayFunctionName(lua_State * L)29197 static int _wrap_SBFrame_GetDisplayFunctionName(lua_State* L) {
29198   {
29199     int SWIG_arg = 0;
29200     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29201     char *result = 0 ;
29202 
29203     SWIG_check_num_args("lldb::SBFrame::GetDisplayFunctionName",1,1)
29204     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDisplayFunctionName",1,"lldb::SBFrame *");
29205 
29206     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29207       SWIG_fail_ptr("SBFrame_GetDisplayFunctionName",1,SWIGTYPE_p_lldb__SBFrame);
29208     }
29209 
29210     result = (char *)(arg1)->GetDisplayFunctionName();
29211     lua_pushstring(L,(const char *)result); SWIG_arg++;
29212     return SWIG_arg;
29213 
29214     fail: SWIGUNUSED;
29215   }
29216   lua_error(L);
29217   return 0;
29218 }
29219 
29220 
_wrap_SBFrame_GetFunctionName__SWIG_1(lua_State * L)29221 static int _wrap_SBFrame_GetFunctionName__SWIG_1(lua_State* L) {
29222   {
29223     int SWIG_arg = 0;
29224     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29225     char *result = 0 ;
29226 
29227     SWIG_check_num_args("lldb::SBFrame::GetFunctionName",1,1)
29228     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFunctionName",1,"lldb::SBFrame const *");
29229 
29230     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29231       SWIG_fail_ptr("SBFrame_GetFunctionName",1,SWIGTYPE_p_lldb__SBFrame);
29232     }
29233 
29234     result = (char *)((lldb::SBFrame const *)arg1)->GetFunctionName();
29235     lua_pushstring(L,(const char *)result); SWIG_arg++;
29236     return SWIG_arg;
29237 
29238     fail: SWIGUNUSED;
29239   }
29240   lua_error(L);
29241   return 0;
29242 }
29243 
29244 
_wrap_SBFrame_GetFunctionName(lua_State * L)29245 static int _wrap_SBFrame_GetFunctionName(lua_State* L) {
29246   int argc;
29247   int argv[2]={
29248     1,2
29249   };
29250 
29251   argc = lua_gettop(L);
29252   if (argc == 1) {
29253     int _v = 0;
29254     {
29255       void *ptr;
29256       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29257         _v = 0;
29258       } else {
29259         _v = 1;
29260       }
29261     }
29262     if (_v) {
29263       return _wrap_SBFrame_GetFunctionName__SWIG_0(L);
29264     }
29265   }
29266   if (argc == 1) {
29267     int _v = 0;
29268     {
29269       void *ptr;
29270       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29271         _v = 0;
29272       } else {
29273         _v = 1;
29274       }
29275     }
29276     if (_v) {
29277       return _wrap_SBFrame_GetFunctionName__SWIG_1(L);
29278     }
29279   }
29280 
29281   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetFunctionName'\n"
29282     "  Possible C/C++ prototypes are:\n"
29283     "    lldb::SBFrame::GetFunctionName()\n"
29284     "    lldb::SBFrame::GetFunctionName() const\n");
29285   lua_error(L);return 0;
29286 }
29287 
29288 
_wrap_SBFrame_GuessLanguage(lua_State * L)29289 static int _wrap_SBFrame_GuessLanguage(lua_State* L) {
29290   {
29291     int SWIG_arg = 0;
29292     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29293     lldb::LanguageType result;
29294 
29295     SWIG_check_num_args("lldb::SBFrame::GuessLanguage",1,1)
29296     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GuessLanguage",1,"lldb::SBFrame const *");
29297 
29298     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29299       SWIG_fail_ptr("SBFrame_GuessLanguage",1,SWIGTYPE_p_lldb__SBFrame);
29300     }
29301 
29302     result = (lldb::LanguageType)((lldb::SBFrame const *)arg1)->GuessLanguage();
29303     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
29304     return SWIG_arg;
29305 
29306     fail: SWIGUNUSED;
29307   }
29308   lua_error(L);
29309   return 0;
29310 }
29311 
29312 
_wrap_SBFrame_IsInlined__SWIG_0(lua_State * L)29313 static int _wrap_SBFrame_IsInlined__SWIG_0(lua_State* L) {
29314   {
29315     int SWIG_arg = 0;
29316     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29317     bool result;
29318 
29319     SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1)
29320     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame *");
29321 
29322     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29323       SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame);
29324     }
29325 
29326     result = (bool)(arg1)->IsInlined();
29327     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29328     return SWIG_arg;
29329 
29330     fail: SWIGUNUSED;
29331   }
29332   lua_error(L);
29333   return 0;
29334 }
29335 
29336 
_wrap_SBFrame_IsInlined__SWIG_1(lua_State * L)29337 static int _wrap_SBFrame_IsInlined__SWIG_1(lua_State* L) {
29338   {
29339     int SWIG_arg = 0;
29340     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29341     bool result;
29342 
29343     SWIG_check_num_args("lldb::SBFrame::IsInlined",1,1)
29344     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsInlined",1,"lldb::SBFrame const *");
29345 
29346     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29347       SWIG_fail_ptr("SBFrame_IsInlined",1,SWIGTYPE_p_lldb__SBFrame);
29348     }
29349 
29350     result = (bool)((lldb::SBFrame const *)arg1)->IsInlined();
29351     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29352     return SWIG_arg;
29353 
29354     fail: SWIGUNUSED;
29355   }
29356   lua_error(L);
29357   return 0;
29358 }
29359 
29360 
_wrap_SBFrame_IsInlined(lua_State * L)29361 static int _wrap_SBFrame_IsInlined(lua_State* L) {
29362   int argc;
29363   int argv[2]={
29364     1,2
29365   };
29366 
29367   argc = lua_gettop(L);
29368   if (argc == 1) {
29369     int _v = 0;
29370     {
29371       void *ptr;
29372       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29373         _v = 0;
29374       } else {
29375         _v = 1;
29376       }
29377     }
29378     if (_v) {
29379       return _wrap_SBFrame_IsInlined__SWIG_0(L);
29380     }
29381   }
29382   if (argc == 1) {
29383     int _v = 0;
29384     {
29385       void *ptr;
29386       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29387         _v = 0;
29388       } else {
29389         _v = 1;
29390       }
29391     }
29392     if (_v) {
29393       return _wrap_SBFrame_IsInlined__SWIG_1(L);
29394     }
29395   }
29396 
29397   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_IsInlined'\n"
29398     "  Possible C/C++ prototypes are:\n"
29399     "    lldb::SBFrame::IsInlined()\n"
29400     "    lldb::SBFrame::IsInlined() const\n");
29401   lua_error(L);return 0;
29402 }
29403 
29404 
_wrap_SBFrame_IsArtificial__SWIG_0(lua_State * L)29405 static int _wrap_SBFrame_IsArtificial__SWIG_0(lua_State* L) {
29406   {
29407     int SWIG_arg = 0;
29408     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29409     bool result;
29410 
29411     SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1)
29412     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame *");
29413 
29414     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29415       SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame);
29416     }
29417 
29418     result = (bool)(arg1)->IsArtificial();
29419     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29420     return SWIG_arg;
29421 
29422     fail: SWIGUNUSED;
29423   }
29424   lua_error(L);
29425   return 0;
29426 }
29427 
29428 
_wrap_SBFrame_IsArtificial__SWIG_1(lua_State * L)29429 static int _wrap_SBFrame_IsArtificial__SWIG_1(lua_State* L) {
29430   {
29431     int SWIG_arg = 0;
29432     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29433     bool result;
29434 
29435     SWIG_check_num_args("lldb::SBFrame::IsArtificial",1,1)
29436     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::IsArtificial",1,"lldb::SBFrame const *");
29437 
29438     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29439       SWIG_fail_ptr("SBFrame_IsArtificial",1,SWIGTYPE_p_lldb__SBFrame);
29440     }
29441 
29442     result = (bool)((lldb::SBFrame const *)arg1)->IsArtificial();
29443     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29444     return SWIG_arg;
29445 
29446     fail: SWIGUNUSED;
29447   }
29448   lua_error(L);
29449   return 0;
29450 }
29451 
29452 
_wrap_SBFrame_IsArtificial(lua_State * L)29453 static int _wrap_SBFrame_IsArtificial(lua_State* L) {
29454   int argc;
29455   int argv[2]={
29456     1,2
29457   };
29458 
29459   argc = lua_gettop(L);
29460   if (argc == 1) {
29461     int _v = 0;
29462     {
29463       void *ptr;
29464       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29465         _v = 0;
29466       } else {
29467         _v = 1;
29468       }
29469     }
29470     if (_v) {
29471       return _wrap_SBFrame_IsArtificial__SWIG_0(L);
29472     }
29473   }
29474   if (argc == 1) {
29475     int _v = 0;
29476     {
29477       void *ptr;
29478       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29479         _v = 0;
29480       } else {
29481         _v = 1;
29482       }
29483     }
29484     if (_v) {
29485       return _wrap_SBFrame_IsArtificial__SWIG_1(L);
29486     }
29487   }
29488 
29489   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_IsArtificial'\n"
29490     "  Possible C/C++ prototypes are:\n"
29491     "    lldb::SBFrame::IsArtificial()\n"
29492     "    lldb::SBFrame::IsArtificial() const\n");
29493   lua_error(L);return 0;
29494 }
29495 
29496 
_wrap_SBFrame_EvaluateExpression__SWIG_0(lua_State * L)29497 static int _wrap_SBFrame_EvaluateExpression__SWIG_0(lua_State* L) {
29498   {
29499     int SWIG_arg = 0;
29500     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29501     char *arg2 = (char *) 0 ;
29502     lldb::SBValue result;
29503 
29504     SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",2,2)
29505     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *");
29506     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *");
29507 
29508     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29509       SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame);
29510     }
29511 
29512     arg2 = (char *)lua_tostring(L, 2);
29513     result = (arg1)->EvaluateExpression((char const *)arg2);
29514     {
29515       lldb::SBValue * resultptr = new lldb::SBValue(result);
29516       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
29517     }
29518     return SWIG_arg;
29519 
29520     fail: SWIGUNUSED;
29521   }
29522   lua_error(L);
29523   return 0;
29524 }
29525 
29526 
_wrap_SBFrame_EvaluateExpression__SWIG_1(lua_State * L)29527 static int _wrap_SBFrame_EvaluateExpression__SWIG_1(lua_State* L) {
29528   {
29529     int SWIG_arg = 0;
29530     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29531     char *arg2 = (char *) 0 ;
29532     lldb::DynamicValueType arg3 ;
29533     lldb::SBValue result;
29534 
29535     SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3)
29536     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *");
29537     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *");
29538     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType");
29539 
29540     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29541       SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame);
29542     }
29543 
29544     arg2 = (char *)lua_tostring(L, 2);
29545     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
29546     result = (arg1)->EvaluateExpression((char const *)arg2,arg3);
29547     {
29548       lldb::SBValue * resultptr = new lldb::SBValue(result);
29549       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
29550     }
29551     return SWIG_arg;
29552 
29553     fail: SWIGUNUSED;
29554   }
29555   lua_error(L);
29556   return 0;
29557 }
29558 
29559 
_wrap_SBFrame_EvaluateExpression__SWIG_2(lua_State * L)29560 static int _wrap_SBFrame_EvaluateExpression__SWIG_2(lua_State* L) {
29561   {
29562     int SWIG_arg = 0;
29563     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29564     char *arg2 = (char *) 0 ;
29565     lldb::DynamicValueType arg3 ;
29566     bool arg4 ;
29567     lldb::SBValue result;
29568 
29569     SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",4,4)
29570     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *");
29571     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *");
29572     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::DynamicValueType");
29573     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",4,"bool");
29574 
29575     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29576       SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame);
29577     }
29578 
29579     arg2 = (char *)lua_tostring(L, 2);
29580     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
29581     arg4 = (lua_toboolean(L, 4)!=0);
29582     result = (arg1)->EvaluateExpression((char const *)arg2,arg3,arg4);
29583     {
29584       lldb::SBValue * resultptr = new lldb::SBValue(result);
29585       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
29586     }
29587     return SWIG_arg;
29588 
29589     fail: SWIGUNUSED;
29590   }
29591   lua_error(L);
29592   return 0;
29593 }
29594 
29595 
_wrap_SBFrame_EvaluateExpression__SWIG_3(lua_State * L)29596 static int _wrap_SBFrame_EvaluateExpression__SWIG_3(lua_State* L) {
29597   {
29598     int SWIG_arg = 0;
29599     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29600     char *arg2 = (char *) 0 ;
29601     lldb::SBExpressionOptions *arg3 = 0 ;
29602     lldb::SBValue result;
29603 
29604     SWIG_check_num_args("lldb::SBFrame::EvaluateExpression",3,3)
29605     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",1,"lldb::SBFrame *");
29606     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",2,"char const *");
29607     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFrame::EvaluateExpression",3,"lldb::SBExpressionOptions const &");
29608 
29609     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29610       SWIG_fail_ptr("SBFrame_EvaluateExpression",1,SWIGTYPE_p_lldb__SBFrame);
29611     }
29612 
29613     arg2 = (char *)lua_tostring(L, 2);
29614 
29615     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
29616       SWIG_fail_ptr("SBFrame_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions);
29617     }
29618 
29619     result = (arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3);
29620     {
29621       lldb::SBValue * resultptr = new lldb::SBValue(result);
29622       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
29623     }
29624     return SWIG_arg;
29625 
29626     fail: SWIGUNUSED;
29627   }
29628   lua_error(L);
29629   return 0;
29630 }
29631 
29632 
_wrap_SBFrame_EvaluateExpression(lua_State * L)29633 static int _wrap_SBFrame_EvaluateExpression(lua_State* L) {
29634   int argc;
29635   int argv[5]={
29636     1,2,3,4,5
29637   };
29638 
29639   argc = lua_gettop(L);
29640   if (argc == 2) {
29641     int _v = 0;
29642     {
29643       void *ptr;
29644       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29645         _v = 0;
29646       } else {
29647         _v = 1;
29648       }
29649     }
29650     if (_v) {
29651       {
29652         _v = SWIG_lua_isnilstring(L,argv[1]);
29653       }
29654       if (_v) {
29655         return _wrap_SBFrame_EvaluateExpression__SWIG_0(L);
29656       }
29657     }
29658   }
29659   if (argc == 3) {
29660     int _v = 0;
29661     {
29662       void *ptr;
29663       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29664         _v = 0;
29665       } else {
29666         _v = 1;
29667       }
29668     }
29669     if (_v) {
29670       {
29671         _v = SWIG_lua_isnilstring(L,argv[1]);
29672       }
29673       if (_v) {
29674         {
29675           void *ptr;
29676           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
29677             _v = 0;
29678           } else {
29679             _v = 1;
29680           }
29681         }
29682         if (_v) {
29683           return _wrap_SBFrame_EvaluateExpression__SWIG_3(L);
29684         }
29685       }
29686     }
29687   }
29688   if (argc == 3) {
29689     int _v = 0;
29690     {
29691       void *ptr;
29692       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29693         _v = 0;
29694       } else {
29695         _v = 1;
29696       }
29697     }
29698     if (_v) {
29699       {
29700         _v = SWIG_lua_isnilstring(L,argv[1]);
29701       }
29702       if (_v) {
29703         {
29704           _v = lua_isnumber(L,argv[2]);
29705         }
29706         if (_v) {
29707           return _wrap_SBFrame_EvaluateExpression__SWIG_1(L);
29708         }
29709       }
29710     }
29711   }
29712   if (argc == 4) {
29713     int _v = 0;
29714     {
29715       void *ptr;
29716       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
29717         _v = 0;
29718       } else {
29719         _v = 1;
29720       }
29721     }
29722     if (_v) {
29723       {
29724         _v = SWIG_lua_isnilstring(L,argv[1]);
29725       }
29726       if (_v) {
29727         {
29728           _v = lua_isnumber(L,argv[2]);
29729         }
29730         if (_v) {
29731           {
29732             _v = lua_isboolean(L,argv[3]);
29733           }
29734           if (_v) {
29735             return _wrap_SBFrame_EvaluateExpression__SWIG_2(L);
29736           }
29737         }
29738       }
29739     }
29740   }
29741 
29742   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_EvaluateExpression'\n"
29743     "  Possible C/C++ prototypes are:\n"
29744     "    lldb::SBFrame::EvaluateExpression(char const *)\n"
29745     "    lldb::SBFrame::EvaluateExpression(char const *,lldb::DynamicValueType)\n"
29746     "    lldb::SBFrame::EvaluateExpression(char const *,lldb::DynamicValueType,bool)\n"
29747     "    lldb::SBFrame::EvaluateExpression(char const *,lldb::SBExpressionOptions const &)\n");
29748   lua_error(L);return 0;
29749 }
29750 
29751 
_wrap_SBFrame_GetFrameBlock(lua_State * L)29752 static int _wrap_SBFrame_GetFrameBlock(lua_State* L) {
29753   {
29754     int SWIG_arg = 0;
29755     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29756     lldb::SBBlock result;
29757 
29758     SWIG_check_num_args("lldb::SBFrame::GetFrameBlock",1,1)
29759     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetFrameBlock",1,"lldb::SBFrame const *");
29760 
29761     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29762       SWIG_fail_ptr("SBFrame_GetFrameBlock",1,SWIGTYPE_p_lldb__SBFrame);
29763     }
29764 
29765     result = ((lldb::SBFrame const *)arg1)->GetFrameBlock();
29766     {
29767       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
29768       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
29769     }
29770     return SWIG_arg;
29771 
29772     fail: SWIGUNUSED;
29773   }
29774   lua_error(L);
29775   return 0;
29776 }
29777 
29778 
_wrap_SBFrame_GetLineEntry(lua_State * L)29779 static int _wrap_SBFrame_GetLineEntry(lua_State* L) {
29780   {
29781     int SWIG_arg = 0;
29782     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29783     lldb::SBLineEntry result;
29784 
29785     SWIG_check_num_args("lldb::SBFrame::GetLineEntry",1,1)
29786     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetLineEntry",1,"lldb::SBFrame const *");
29787 
29788     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29789       SWIG_fail_ptr("SBFrame_GetLineEntry",1,SWIGTYPE_p_lldb__SBFrame);
29790     }
29791 
29792     result = ((lldb::SBFrame const *)arg1)->GetLineEntry();
29793     {
29794       lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result);
29795       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
29796     }
29797     return SWIG_arg;
29798 
29799     fail: SWIGUNUSED;
29800   }
29801   lua_error(L);
29802   return 0;
29803 }
29804 
29805 
_wrap_SBFrame_GetThread(lua_State * L)29806 static int _wrap_SBFrame_GetThread(lua_State* L) {
29807   {
29808     int SWIG_arg = 0;
29809     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29810     lldb::SBThread result;
29811 
29812     SWIG_check_num_args("lldb::SBFrame::GetThread",1,1)
29813     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetThread",1,"lldb::SBFrame const *");
29814 
29815     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29816       SWIG_fail_ptr("SBFrame_GetThread",1,SWIGTYPE_p_lldb__SBFrame);
29817     }
29818 
29819     result = ((lldb::SBFrame const *)arg1)->GetThread();
29820     {
29821       lldb::SBThread * resultptr = new lldb::SBThread(result);
29822       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
29823     }
29824     return SWIG_arg;
29825 
29826     fail: SWIGUNUSED;
29827   }
29828   lua_error(L);
29829   return 0;
29830 }
29831 
29832 
_wrap_SBFrame_Disassemble(lua_State * L)29833 static int _wrap_SBFrame_Disassemble(lua_State* L) {
29834   {
29835     int SWIG_arg = 0;
29836     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29837     char *result = 0 ;
29838 
29839     SWIG_check_num_args("lldb::SBFrame::Disassemble",1,1)
29840     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Disassemble",1,"lldb::SBFrame const *");
29841 
29842     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29843       SWIG_fail_ptr("SBFrame_Disassemble",1,SWIGTYPE_p_lldb__SBFrame);
29844     }
29845 
29846     result = (char *)((lldb::SBFrame const *)arg1)->Disassemble();
29847     lua_pushstring(L,(const char *)result); SWIG_arg++;
29848     return SWIG_arg;
29849 
29850     fail: SWIGUNUSED;
29851   }
29852   lua_error(L);
29853   return 0;
29854 }
29855 
29856 
_wrap_SBFrame_Clear(lua_State * L)29857 static int _wrap_SBFrame_Clear(lua_State* L) {
29858   {
29859     int SWIG_arg = 0;
29860     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29861 
29862     SWIG_check_num_args("lldb::SBFrame::Clear",1,1)
29863     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::Clear",1,"lldb::SBFrame *");
29864 
29865     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29866       SWIG_fail_ptr("SBFrame_Clear",1,SWIGTYPE_p_lldb__SBFrame);
29867     }
29868 
29869     (arg1)->Clear();
29870 
29871     return SWIG_arg;
29872 
29873     fail: SWIGUNUSED;
29874   }
29875   lua_error(L);
29876   return 0;
29877 }
29878 
29879 
_wrap_SBFrame___eq(lua_State * L)29880 static int _wrap_SBFrame___eq(lua_State* L) {
29881   {
29882     int SWIG_arg = 0;
29883     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29884     lldb::SBFrame *arg2 = 0 ;
29885     bool result;
29886 
29887     SWIG_check_num_args("lldb::SBFrame::operator ==",2,2)
29888     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::operator ==",1,"lldb::SBFrame const *");
29889     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::operator ==",2,"lldb::SBFrame const &");
29890 
29891     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29892       SWIG_fail_ptr("SBFrame___eq",1,SWIGTYPE_p_lldb__SBFrame);
29893     }
29894 
29895 
29896     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
29897       SWIG_fail_ptr("SBFrame___eq",2,SWIGTYPE_p_lldb__SBFrame);
29898     }
29899 
29900     result = (bool)((lldb::SBFrame const *)arg1)->operator ==((lldb::SBFrame const &)*arg2);
29901     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29902     return SWIG_arg;
29903 
29904     fail: SWIGUNUSED;
29905   }
29906   lua_error(L);
29907   return 0;
29908 }
29909 
29910 
_wrap_SBFrame_GetVariables__SWIG_0(lua_State * L)29911 static int _wrap_SBFrame_GetVariables__SWIG_0(lua_State* L) {
29912   {
29913     int SWIG_arg = 0;
29914     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29915     bool arg2 ;
29916     bool arg3 ;
29917     bool arg4 ;
29918     bool arg5 ;
29919     lldb::SBValueList result;
29920 
29921     SWIG_check_num_args("lldb::SBFrame::GetVariables",5,5)
29922     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *");
29923     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool");
29924     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool");
29925     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool");
29926     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool");
29927 
29928     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29929       SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame);
29930     }
29931 
29932     arg2 = (lua_toboolean(L, 2)!=0);
29933     arg3 = (lua_toboolean(L, 3)!=0);
29934     arg4 = (lua_toboolean(L, 4)!=0);
29935     arg5 = (lua_toboolean(L, 5)!=0);
29936     result = (arg1)->GetVariables(arg2,arg3,arg4,arg5);
29937     {
29938       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
29939       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
29940     }
29941     return SWIG_arg;
29942 
29943     fail: SWIGUNUSED;
29944   }
29945   lua_error(L);
29946   return 0;
29947 }
29948 
29949 
_wrap_SBFrame_GetVariables__SWIG_1(lua_State * L)29950 static int _wrap_SBFrame_GetVariables__SWIG_1(lua_State* L) {
29951   {
29952     int SWIG_arg = 0;
29953     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29954     bool arg2 ;
29955     bool arg3 ;
29956     bool arg4 ;
29957     bool arg5 ;
29958     lldb::DynamicValueType arg6 ;
29959     lldb::SBValueList result;
29960 
29961     SWIG_check_num_args("lldb::SBFrame::GetVariables",6,6)
29962     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *");
29963     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"bool");
29964     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBFrame::GetVariables",3,"bool");
29965     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBFrame::GetVariables",4,"bool");
29966     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBFrame::GetVariables",5,"bool");
29967     if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBFrame::GetVariables",6,"lldb::DynamicValueType");
29968 
29969     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
29970       SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame);
29971     }
29972 
29973     arg2 = (lua_toboolean(L, 2)!=0);
29974     arg3 = (lua_toboolean(L, 3)!=0);
29975     arg4 = (lua_toboolean(L, 4)!=0);
29976     arg5 = (lua_toboolean(L, 5)!=0);
29977     arg6 = (lldb::DynamicValueType)lua_tointeger(L, 6);
29978     result = (arg1)->GetVariables(arg2,arg3,arg4,arg5,arg6);
29979     {
29980       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
29981       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
29982     }
29983     return SWIG_arg;
29984 
29985     fail: SWIGUNUSED;
29986   }
29987   lua_error(L);
29988   return 0;
29989 }
29990 
29991 
_wrap_SBFrame_GetVariables__SWIG_2(lua_State * L)29992 static int _wrap_SBFrame_GetVariables__SWIG_2(lua_State* L) {
29993   {
29994     int SWIG_arg = 0;
29995     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
29996     lldb::SBVariablesOptions *arg2 = 0 ;
29997     lldb::SBValueList result;
29998 
29999     SWIG_check_num_args("lldb::SBFrame::GetVariables",2,2)
30000     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetVariables",1,"lldb::SBFrame *");
30001     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetVariables",2,"lldb::SBVariablesOptions const &");
30002 
30003     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30004       SWIG_fail_ptr("SBFrame_GetVariables",1,SWIGTYPE_p_lldb__SBFrame);
30005     }
30006 
30007 
30008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
30009       SWIG_fail_ptr("SBFrame_GetVariables",2,SWIGTYPE_p_lldb__SBVariablesOptions);
30010     }
30011 
30012     result = (arg1)->GetVariables((lldb::SBVariablesOptions const &)*arg2);
30013     {
30014       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
30015       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
30016     }
30017     return SWIG_arg;
30018 
30019     fail: SWIGUNUSED;
30020   }
30021   lua_error(L);
30022   return 0;
30023 }
30024 
30025 
_wrap_SBFrame_GetVariables(lua_State * L)30026 static int _wrap_SBFrame_GetVariables(lua_State* L) {
30027   int argc;
30028   int argv[7]={
30029     1,2,3,4,5,6,7
30030   };
30031 
30032   argc = lua_gettop(L);
30033   if (argc == 2) {
30034     int _v = 0;
30035     {
30036       void *ptr;
30037       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30038         _v = 0;
30039       } else {
30040         _v = 1;
30041       }
30042     }
30043     if (_v) {
30044       {
30045         void *ptr;
30046         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBVariablesOptions, SWIG_POINTER_NO_NULL)) {
30047           _v = 0;
30048         } else {
30049           _v = 1;
30050         }
30051       }
30052       if (_v) {
30053         return _wrap_SBFrame_GetVariables__SWIG_2(L);
30054       }
30055     }
30056   }
30057   if (argc == 5) {
30058     int _v = 0;
30059     {
30060       void *ptr;
30061       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30062         _v = 0;
30063       } else {
30064         _v = 1;
30065       }
30066     }
30067     if (_v) {
30068       {
30069         _v = lua_isboolean(L,argv[1]);
30070       }
30071       if (_v) {
30072         {
30073           _v = lua_isboolean(L,argv[2]);
30074         }
30075         if (_v) {
30076           {
30077             _v = lua_isboolean(L,argv[3]);
30078           }
30079           if (_v) {
30080             {
30081               _v = lua_isboolean(L,argv[4]);
30082             }
30083             if (_v) {
30084               return _wrap_SBFrame_GetVariables__SWIG_0(L);
30085             }
30086           }
30087         }
30088       }
30089     }
30090   }
30091   if (argc == 6) {
30092     int _v = 0;
30093     {
30094       void *ptr;
30095       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30096         _v = 0;
30097       } else {
30098         _v = 1;
30099       }
30100     }
30101     if (_v) {
30102       {
30103         _v = lua_isboolean(L,argv[1]);
30104       }
30105       if (_v) {
30106         {
30107           _v = lua_isboolean(L,argv[2]);
30108         }
30109         if (_v) {
30110           {
30111             _v = lua_isboolean(L,argv[3]);
30112           }
30113           if (_v) {
30114             {
30115               _v = lua_isboolean(L,argv[4]);
30116             }
30117             if (_v) {
30118               {
30119                 _v = lua_isnumber(L,argv[5]);
30120               }
30121               if (_v) {
30122                 return _wrap_SBFrame_GetVariables__SWIG_1(L);
30123               }
30124             }
30125           }
30126         }
30127       }
30128     }
30129   }
30130 
30131   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetVariables'\n"
30132     "  Possible C/C++ prototypes are:\n"
30133     "    lldb::SBFrame::GetVariables(bool,bool,bool,bool)\n"
30134     "    lldb::SBFrame::GetVariables(bool,bool,bool,bool,lldb::DynamicValueType)\n"
30135     "    lldb::SBFrame::GetVariables(lldb::SBVariablesOptions const &)\n");
30136   lua_error(L);return 0;
30137 }
30138 
30139 
_wrap_SBFrame_GetRegisters(lua_State * L)30140 static int _wrap_SBFrame_GetRegisters(lua_State* L) {
30141   {
30142     int SWIG_arg = 0;
30143     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30144     lldb::SBValueList result;
30145 
30146     SWIG_check_num_args("lldb::SBFrame::GetRegisters",1,1)
30147     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetRegisters",1,"lldb::SBFrame *");
30148 
30149     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30150       SWIG_fail_ptr("SBFrame_GetRegisters",1,SWIGTYPE_p_lldb__SBFrame);
30151     }
30152 
30153     result = (arg1)->GetRegisters();
30154     {
30155       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
30156       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
30157     }
30158     return SWIG_arg;
30159 
30160     fail: SWIGUNUSED;
30161   }
30162   lua_error(L);
30163   return 0;
30164 }
30165 
30166 
_wrap_SBFrame_FindRegister(lua_State * L)30167 static int _wrap_SBFrame_FindRegister(lua_State* L) {
30168   {
30169     int SWIG_arg = 0;
30170     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30171     char *arg2 = (char *) 0 ;
30172     lldb::SBValue result;
30173 
30174     SWIG_check_num_args("lldb::SBFrame::FindRegister",2,2)
30175     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindRegister",1,"lldb::SBFrame *");
30176     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindRegister",2,"char const *");
30177 
30178     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30179       SWIG_fail_ptr("SBFrame_FindRegister",1,SWIGTYPE_p_lldb__SBFrame);
30180     }
30181 
30182     arg2 = (char *)lua_tostring(L, 2);
30183     result = (arg1)->FindRegister((char const *)arg2);
30184     {
30185       lldb::SBValue * resultptr = new lldb::SBValue(result);
30186       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30187     }
30188     return SWIG_arg;
30189 
30190     fail: SWIGUNUSED;
30191   }
30192   lua_error(L);
30193   return 0;
30194 }
30195 
30196 
_wrap_SBFrame_FindVariable__SWIG_0(lua_State * L)30197 static int _wrap_SBFrame_FindVariable__SWIG_0(lua_State* L) {
30198   {
30199     int SWIG_arg = 0;
30200     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30201     char *arg2 = (char *) 0 ;
30202     lldb::SBValue result;
30203 
30204     SWIG_check_num_args("lldb::SBFrame::FindVariable",2,2)
30205     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *");
30206     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *");
30207 
30208     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30209       SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame);
30210     }
30211 
30212     arg2 = (char *)lua_tostring(L, 2);
30213     result = (arg1)->FindVariable((char const *)arg2);
30214     {
30215       lldb::SBValue * resultptr = new lldb::SBValue(result);
30216       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30217     }
30218     return SWIG_arg;
30219 
30220     fail: SWIGUNUSED;
30221   }
30222   lua_error(L);
30223   return 0;
30224 }
30225 
30226 
_wrap_SBFrame_FindVariable__SWIG_1(lua_State * L)30227 static int _wrap_SBFrame_FindVariable__SWIG_1(lua_State* L) {
30228   {
30229     int SWIG_arg = 0;
30230     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30231     char *arg2 = (char *) 0 ;
30232     lldb::DynamicValueType arg3 ;
30233     lldb::SBValue result;
30234 
30235     SWIG_check_num_args("lldb::SBFrame::FindVariable",3,3)
30236     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindVariable",1,"lldb::SBFrame *");
30237     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindVariable",2,"char const *");
30238     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindVariable",3,"lldb::DynamicValueType");
30239 
30240     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30241       SWIG_fail_ptr("SBFrame_FindVariable",1,SWIGTYPE_p_lldb__SBFrame);
30242     }
30243 
30244     arg2 = (char *)lua_tostring(L, 2);
30245     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
30246     result = (arg1)->FindVariable((char const *)arg2,arg3);
30247     {
30248       lldb::SBValue * resultptr = new lldb::SBValue(result);
30249       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30250     }
30251     return SWIG_arg;
30252 
30253     fail: SWIGUNUSED;
30254   }
30255   lua_error(L);
30256   return 0;
30257 }
30258 
30259 
_wrap_SBFrame_FindVariable(lua_State * L)30260 static int _wrap_SBFrame_FindVariable(lua_State* L) {
30261   int argc;
30262   int argv[4]={
30263     1,2,3,4
30264   };
30265 
30266   argc = lua_gettop(L);
30267   if (argc == 2) {
30268     int _v = 0;
30269     {
30270       void *ptr;
30271       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30272         _v = 0;
30273       } else {
30274         _v = 1;
30275       }
30276     }
30277     if (_v) {
30278       {
30279         _v = SWIG_lua_isnilstring(L,argv[1]);
30280       }
30281       if (_v) {
30282         return _wrap_SBFrame_FindVariable__SWIG_0(L);
30283       }
30284     }
30285   }
30286   if (argc == 3) {
30287     int _v = 0;
30288     {
30289       void *ptr;
30290       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30291         _v = 0;
30292       } else {
30293         _v = 1;
30294       }
30295     }
30296     if (_v) {
30297       {
30298         _v = SWIG_lua_isnilstring(L,argv[1]);
30299       }
30300       if (_v) {
30301         {
30302           _v = lua_isnumber(L,argv[2]);
30303         }
30304         if (_v) {
30305           return _wrap_SBFrame_FindVariable__SWIG_1(L);
30306         }
30307       }
30308     }
30309   }
30310 
30311   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_FindVariable'\n"
30312     "  Possible C/C++ prototypes are:\n"
30313     "    lldb::SBFrame::FindVariable(char const *)\n"
30314     "    lldb::SBFrame::FindVariable(char const *,lldb::DynamicValueType)\n");
30315   lua_error(L);return 0;
30316 }
30317 
30318 
_wrap_SBFrame_GetValueForVariablePath__SWIG_0(lua_State * L)30319 static int _wrap_SBFrame_GetValueForVariablePath__SWIG_0(lua_State* L) {
30320   {
30321     int SWIG_arg = 0;
30322     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30323     char *arg2 = (char *) 0 ;
30324     lldb::DynamicValueType arg3 ;
30325     lldb::SBValue result;
30326 
30327     SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",3,3)
30328     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *");
30329     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *");
30330     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",3,"lldb::DynamicValueType");
30331 
30332     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30333       SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame);
30334     }
30335 
30336     arg2 = (char *)lua_tostring(L, 2);
30337     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
30338     result = (arg1)->GetValueForVariablePath((char const *)arg2,arg3);
30339     {
30340       lldb::SBValue * resultptr = new lldb::SBValue(result);
30341       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30342     }
30343     return SWIG_arg;
30344 
30345     fail: SWIGUNUSED;
30346   }
30347   lua_error(L);
30348   return 0;
30349 }
30350 
30351 
_wrap_SBFrame_GetValueForVariablePath__SWIG_1(lua_State * L)30352 static int _wrap_SBFrame_GetValueForVariablePath__SWIG_1(lua_State* L) {
30353   {
30354     int SWIG_arg = 0;
30355     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30356     char *arg2 = (char *) 0 ;
30357     lldb::SBValue result;
30358 
30359     SWIG_check_num_args("lldb::SBFrame::GetValueForVariablePath",2,2)
30360     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",1,"lldb::SBFrame *");
30361     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::GetValueForVariablePath",2,"char const *");
30362 
30363     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30364       SWIG_fail_ptr("SBFrame_GetValueForVariablePath",1,SWIGTYPE_p_lldb__SBFrame);
30365     }
30366 
30367     arg2 = (char *)lua_tostring(L, 2);
30368     result = (arg1)->GetValueForVariablePath((char const *)arg2);
30369     {
30370       lldb::SBValue * resultptr = new lldb::SBValue(result);
30371       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30372     }
30373     return SWIG_arg;
30374 
30375     fail: SWIGUNUSED;
30376   }
30377   lua_error(L);
30378   return 0;
30379 }
30380 
30381 
_wrap_SBFrame_GetValueForVariablePath(lua_State * L)30382 static int _wrap_SBFrame_GetValueForVariablePath(lua_State* L) {
30383   int argc;
30384   int argv[4]={
30385     1,2,3,4
30386   };
30387 
30388   argc = lua_gettop(L);
30389   if (argc == 2) {
30390     int _v = 0;
30391     {
30392       void *ptr;
30393       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30394         _v = 0;
30395       } else {
30396         _v = 1;
30397       }
30398     }
30399     if (_v) {
30400       {
30401         _v = SWIG_lua_isnilstring(L,argv[1]);
30402       }
30403       if (_v) {
30404         return _wrap_SBFrame_GetValueForVariablePath__SWIG_1(L);
30405       }
30406     }
30407   }
30408   if (argc == 3) {
30409     int _v = 0;
30410     {
30411       void *ptr;
30412       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30413         _v = 0;
30414       } else {
30415         _v = 1;
30416       }
30417     }
30418     if (_v) {
30419       {
30420         _v = SWIG_lua_isnilstring(L,argv[1]);
30421       }
30422       if (_v) {
30423         {
30424           _v = lua_isnumber(L,argv[2]);
30425         }
30426         if (_v) {
30427           return _wrap_SBFrame_GetValueForVariablePath__SWIG_0(L);
30428         }
30429       }
30430     }
30431   }
30432 
30433   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_GetValueForVariablePath'\n"
30434     "  Possible C/C++ prototypes are:\n"
30435     "    lldb::SBFrame::GetValueForVariablePath(char const *,lldb::DynamicValueType)\n"
30436     "    lldb::SBFrame::GetValueForVariablePath(char const *)\n");
30437   lua_error(L);return 0;
30438 }
30439 
30440 
_wrap_SBFrame_FindValue__SWIG_0(lua_State * L)30441 static int _wrap_SBFrame_FindValue__SWIG_0(lua_State* L) {
30442   {
30443     int SWIG_arg = 0;
30444     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30445     char *arg2 = (char *) 0 ;
30446     lldb::ValueType arg3 ;
30447     lldb::SBValue result;
30448 
30449     SWIG_check_num_args("lldb::SBFrame::FindValue",3,3)
30450     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *");
30451     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *");
30452     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType");
30453 
30454     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30455       SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame);
30456     }
30457 
30458     arg2 = (char *)lua_tostring(L, 2);
30459     arg3 = (lldb::ValueType)lua_tointeger(L, 3);
30460     result = (arg1)->FindValue((char const *)arg2,arg3);
30461     {
30462       lldb::SBValue * resultptr = new lldb::SBValue(result);
30463       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30464     }
30465     return SWIG_arg;
30466 
30467     fail: SWIGUNUSED;
30468   }
30469   lua_error(L);
30470   return 0;
30471 }
30472 
30473 
_wrap_SBFrame_FindValue__SWIG_1(lua_State * L)30474 static int _wrap_SBFrame_FindValue__SWIG_1(lua_State* L) {
30475   {
30476     int SWIG_arg = 0;
30477     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30478     char *arg2 = (char *) 0 ;
30479     lldb::ValueType arg3 ;
30480     lldb::DynamicValueType arg4 ;
30481     lldb::SBValue result;
30482 
30483     SWIG_check_num_args("lldb::SBFrame::FindValue",4,4)
30484     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::FindValue",1,"lldb::SBFrame *");
30485     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBFrame::FindValue",2,"char const *");
30486     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBFrame::FindValue",3,"lldb::ValueType");
30487     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBFrame::FindValue",4,"lldb::DynamicValueType");
30488 
30489     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30490       SWIG_fail_ptr("SBFrame_FindValue",1,SWIGTYPE_p_lldb__SBFrame);
30491     }
30492 
30493     arg2 = (char *)lua_tostring(L, 2);
30494     arg3 = (lldb::ValueType)lua_tointeger(L, 3);
30495     arg4 = (lldb::DynamicValueType)lua_tointeger(L, 4);
30496     result = (arg1)->FindValue((char const *)arg2,arg3,arg4);
30497     {
30498       lldb::SBValue * resultptr = new lldb::SBValue(result);
30499       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
30500     }
30501     return SWIG_arg;
30502 
30503     fail: SWIGUNUSED;
30504   }
30505   lua_error(L);
30506   return 0;
30507 }
30508 
30509 
_wrap_SBFrame_FindValue(lua_State * L)30510 static int _wrap_SBFrame_FindValue(lua_State* L) {
30511   int argc;
30512   int argv[5]={
30513     1,2,3,4,5
30514   };
30515 
30516   argc = lua_gettop(L);
30517   if (argc == 3) {
30518     int _v = 0;
30519     {
30520       void *ptr;
30521       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30522         _v = 0;
30523       } else {
30524         _v = 1;
30525       }
30526     }
30527     if (_v) {
30528       {
30529         _v = SWIG_lua_isnilstring(L,argv[1]);
30530       }
30531       if (_v) {
30532         {
30533           _v = lua_isnumber(L,argv[2]);
30534         }
30535         if (_v) {
30536           return _wrap_SBFrame_FindValue__SWIG_0(L);
30537         }
30538       }
30539     }
30540   }
30541   if (argc == 4) {
30542     int _v = 0;
30543     {
30544       void *ptr;
30545       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
30546         _v = 0;
30547       } else {
30548         _v = 1;
30549       }
30550     }
30551     if (_v) {
30552       {
30553         _v = SWIG_lua_isnilstring(L,argv[1]);
30554       }
30555       if (_v) {
30556         {
30557           _v = lua_isnumber(L,argv[2]);
30558         }
30559         if (_v) {
30560           {
30561             _v = lua_isnumber(L,argv[3]);
30562           }
30563           if (_v) {
30564             return _wrap_SBFrame_FindValue__SWIG_1(L);
30565           }
30566         }
30567       }
30568     }
30569   }
30570 
30571   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFrame_FindValue'\n"
30572     "  Possible C/C++ prototypes are:\n"
30573     "    lldb::SBFrame::FindValue(char const *,lldb::ValueType)\n"
30574     "    lldb::SBFrame::FindValue(char const *,lldb::ValueType,lldb::DynamicValueType)\n");
30575   lua_error(L);return 0;
30576 }
30577 
30578 
_wrap_SBFrame_GetDescription(lua_State * L)30579 static int _wrap_SBFrame_GetDescription(lua_State* L) {
30580   {
30581     int SWIG_arg = 0;
30582     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30583     lldb::SBStream *arg2 = 0 ;
30584     bool result;
30585 
30586     SWIG_check_num_args("lldb::SBFrame::GetDescription",2,2)
30587     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDescription",1,"lldb::SBFrame *");
30588     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetDescription",2,"lldb::SBStream &");
30589 
30590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30591       SWIG_fail_ptr("SBFrame_GetDescription",1,SWIGTYPE_p_lldb__SBFrame);
30592     }
30593 
30594 
30595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
30596       SWIG_fail_ptr("SBFrame_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
30597     }
30598 
30599     result = (bool)(arg1)->GetDescription(*arg2);
30600     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
30601     return SWIG_arg;
30602 
30603     fail: SWIGUNUSED;
30604   }
30605   lua_error(L);
30606   return 0;
30607 }
30608 
30609 
_wrap_SBFrame_GetDescriptionWithFormat(lua_State * L)30610 static int _wrap_SBFrame_GetDescriptionWithFormat(lua_State* L) {
30611   {
30612     int SWIG_arg = 0;
30613     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30614     lldb::SBFormat *arg2 = 0 ;
30615     lldb::SBStream *arg3 = 0 ;
30616     lldb::SBError result;
30617 
30618     SWIG_check_num_args("lldb::SBFrame::GetDescriptionWithFormat",3,3)
30619     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",1,"lldb::SBFrame *");
30620     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",2,"lldb::SBFormat const &");
30621     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",3,"lldb::SBStream &");
30622 
30623     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30624       SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",1,SWIGTYPE_p_lldb__SBFrame);
30625     }
30626 
30627 
30628     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFormat,0))){
30629       SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",2,SWIGTYPE_p_lldb__SBFormat);
30630     }
30631 
30632 
30633     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){
30634       SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",3,SWIGTYPE_p_lldb__SBStream);
30635     }
30636 
30637     result = (arg1)->GetDescriptionWithFormat((lldb::SBFormat const &)*arg2,*arg3);
30638     {
30639       lldb::SBError * resultptr = new lldb::SBError(result);
30640       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
30641     }
30642     return SWIG_arg;
30643 
30644     fail: SWIGUNUSED;
30645   }
30646   lua_error(L);
30647   return 0;
30648 }
30649 
30650 
_wrap_SBFrame___tostring(lua_State * L)30651 static int _wrap_SBFrame___tostring(lua_State* L) {
30652   {
30653     int SWIG_arg = 0;
30654     lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
30655     std::string result;
30656 
30657     SWIG_check_num_args("lldb::SBFrame::__repr__",1,1)
30658     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::__repr__",1,"lldb::SBFrame *");
30659 
30660     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){
30661       SWIG_fail_ptr("SBFrame___tostring",1,SWIGTYPE_p_lldb__SBFrame);
30662     }
30663 
30664     result = lldb_SBFrame___repr__(arg1);
30665     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
30666     return SWIG_arg;
30667 
30668     fail: SWIGUNUSED;
30669   }
30670   lua_error(L);
30671   return 0;
30672 }
30673 
30674 
swig_delete_SBFrame(void * obj)30675 static void swig_delete_SBFrame(void *obj) {
30676 lldb::SBFrame *arg1 = (lldb::SBFrame *) obj;
30677 delete arg1;
30678 }
_proxy__wrap_new_SBFrame(lua_State * L)30679 static int _proxy__wrap_new_SBFrame(lua_State *L) {
30680     assert(lua_istable(L,1));
30681     lua_pushcfunction(L,_wrap_new_SBFrame);
30682     assert(!lua_isnil(L,-1));
30683     lua_replace(L,1); /* replace our table with real constructor */
30684     lua_call(L,lua_gettop(L)-1,1);
30685     return 1;
30686 }
30687 static swig_lua_attribute swig_SBFrame_attributes[] = {
30688     {0,0,0}
30689 };
30690 static swig_lua_method swig_SBFrame_methods[]= {
30691     { "IsEqual", _wrap_SBFrame_IsEqual},
30692     { "IsValid", _wrap_SBFrame_IsValid},
30693     { "GetFrameID", _wrap_SBFrame_GetFrameID},
30694     { "GetCFA", _wrap_SBFrame_GetCFA},
30695     { "GetPC", _wrap_SBFrame_GetPC},
30696     { "SetPC", _wrap_SBFrame_SetPC},
30697     { "GetSP", _wrap_SBFrame_GetSP},
30698     { "GetFP", _wrap_SBFrame_GetFP},
30699     { "GetPCAddress", _wrap_SBFrame_GetPCAddress},
30700     { "GetSymbolContext", _wrap_SBFrame_GetSymbolContext},
30701     { "GetModule", _wrap_SBFrame_GetModule},
30702     { "GetCompileUnit", _wrap_SBFrame_GetCompileUnit},
30703     { "GetFunction", _wrap_SBFrame_GetFunction},
30704     { "GetSymbol", _wrap_SBFrame_GetSymbol},
30705     { "GetBlock", _wrap_SBFrame_GetBlock},
30706     { "GetDisplayFunctionName", _wrap_SBFrame_GetDisplayFunctionName},
30707     { "GetFunctionName", _wrap_SBFrame_GetFunctionName},
30708     { "GuessLanguage", _wrap_SBFrame_GuessLanguage},
30709     { "IsInlined", _wrap_SBFrame_IsInlined},
30710     { "IsArtificial", _wrap_SBFrame_IsArtificial},
30711     { "EvaluateExpression", _wrap_SBFrame_EvaluateExpression},
30712     { "GetFrameBlock", _wrap_SBFrame_GetFrameBlock},
30713     { "GetLineEntry", _wrap_SBFrame_GetLineEntry},
30714     { "GetThread", _wrap_SBFrame_GetThread},
30715     { "Disassemble", _wrap_SBFrame_Disassemble},
30716     { "Clear", _wrap_SBFrame_Clear},
30717     { "__eq", _wrap_SBFrame___eq},
30718     { "GetVariables", _wrap_SBFrame_GetVariables},
30719     { "GetRegisters", _wrap_SBFrame_GetRegisters},
30720     { "FindRegister", _wrap_SBFrame_FindRegister},
30721     { "FindVariable", _wrap_SBFrame_FindVariable},
30722     { "GetValueForVariablePath", _wrap_SBFrame_GetValueForVariablePath},
30723     { "FindValue", _wrap_SBFrame_FindValue},
30724     { "GetDescription", _wrap_SBFrame_GetDescription},
30725     { "GetDescriptionWithFormat", _wrap_SBFrame_GetDescriptionWithFormat},
30726     { "__tostring", _wrap_SBFrame___tostring},
30727     {0,0}
30728 };
30729 static swig_lua_method swig_SBFrame_meta[] = {
30730     { "__eq", _wrap_SBFrame___eq},
30731     { "__tostring", _wrap_SBFrame___tostring},
30732     {0,0}
30733 };
30734 
30735 static swig_lua_attribute swig_SBFrame_Sf_SwigStatic_attributes[] = {
30736     {0,0,0}
30737 };
30738 static swig_lua_const_info swig_SBFrame_Sf_SwigStatic_constants[]= {
30739     {0,0,0,0,0,0}
30740 };
30741 static swig_lua_method swig_SBFrame_Sf_SwigStatic_methods[]= {
30742     {0,0}
30743 };
30744 static swig_lua_class* swig_SBFrame_Sf_SwigStatic_classes[]= {
30745     0
30746 };
30747 
30748 static swig_lua_namespace swig_SBFrame_Sf_SwigStatic = {
30749     "SBFrame",
30750     swig_SBFrame_Sf_SwigStatic_methods,
30751     swig_SBFrame_Sf_SwigStatic_attributes,
30752     swig_SBFrame_Sf_SwigStatic_constants,
30753     swig_SBFrame_Sf_SwigStatic_classes,
30754     0
30755 };
30756 static swig_lua_class *swig_SBFrame_bases[] = {0};
30757 static const char *swig_SBFrame_base_names[] = {0};
30758 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 };
30759 
_wrap_new_SBFunction__SWIG_0(lua_State * L)30760 static int _wrap_new_SBFunction__SWIG_0(lua_State* L) {
30761   {
30762     int SWIG_arg = 0;
30763     lldb::SBFunction *result = 0 ;
30764 
30765     SWIG_check_num_args("lldb::SBFunction::SBFunction",0,0)
30766     result = (lldb::SBFunction *)new lldb::SBFunction();
30767     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++;
30768     return SWIG_arg;
30769 
30770     fail: SWIGUNUSED;
30771   }
30772   lua_error(L);
30773   return 0;
30774 }
30775 
30776 
_wrap_new_SBFunction__SWIG_1(lua_State * L)30777 static int _wrap_new_SBFunction__SWIG_1(lua_State* L) {
30778   {
30779     int SWIG_arg = 0;
30780     lldb::SBFunction *arg1 = 0 ;
30781     lldb::SBFunction *result = 0 ;
30782 
30783     SWIG_check_num_args("lldb::SBFunction::SBFunction",1,1)
30784     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFunction::SBFunction",1,"lldb::SBFunction const &");
30785 
30786     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30787       SWIG_fail_ptr("new_SBFunction",1,SWIGTYPE_p_lldb__SBFunction);
30788     }
30789 
30790     result = (lldb::SBFunction *)new lldb::SBFunction((lldb::SBFunction const &)*arg1);
30791     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++;
30792     return SWIG_arg;
30793 
30794     fail: SWIGUNUSED;
30795   }
30796   lua_error(L);
30797   return 0;
30798 }
30799 
30800 
_wrap_new_SBFunction(lua_State * L)30801 static int _wrap_new_SBFunction(lua_State* L) {
30802   int argc;
30803   int argv[2]={
30804     1,2
30805   };
30806 
30807   argc = lua_gettop(L);
30808   if (argc == 0) {
30809     return _wrap_new_SBFunction__SWIG_0(L);
30810   }
30811   if (argc == 1) {
30812     int _v = 0;
30813     {
30814       void *ptr;
30815       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, SWIG_POINTER_NO_NULL)) {
30816         _v = 0;
30817       } else {
30818         _v = 1;
30819       }
30820     }
30821     if (_v) {
30822       return _wrap_new_SBFunction__SWIG_1(L);
30823     }
30824   }
30825 
30826   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFunction'\n"
30827     "  Possible C/C++ prototypes are:\n"
30828     "    lldb::SBFunction::SBFunction()\n"
30829     "    lldb::SBFunction::SBFunction(lldb::SBFunction const &)\n");
30830   lua_error(L);return 0;
30831 }
30832 
30833 
_wrap_SBFunction_IsValid(lua_State * L)30834 static int _wrap_SBFunction_IsValid(lua_State* L) {
30835   {
30836     int SWIG_arg = 0;
30837     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30838     bool result;
30839 
30840     SWIG_check_num_args("lldb::SBFunction::IsValid",1,1)
30841     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::IsValid",1,"lldb::SBFunction const *");
30842 
30843     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30844       SWIG_fail_ptr("SBFunction_IsValid",1,SWIGTYPE_p_lldb__SBFunction);
30845     }
30846 
30847     result = (bool)((lldb::SBFunction const *)arg1)->IsValid();
30848     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
30849     return SWIG_arg;
30850 
30851     fail: SWIGUNUSED;
30852   }
30853   lua_error(L);
30854   return 0;
30855 }
30856 
30857 
_wrap_SBFunction_GetName(lua_State * L)30858 static int _wrap_SBFunction_GetName(lua_State* L) {
30859   {
30860     int SWIG_arg = 0;
30861     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30862     char *result = 0 ;
30863 
30864     SWIG_check_num_args("lldb::SBFunction::GetName",1,1)
30865     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetName",1,"lldb::SBFunction const *");
30866 
30867     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30868       SWIG_fail_ptr("SBFunction_GetName",1,SWIGTYPE_p_lldb__SBFunction);
30869     }
30870 
30871     result = (char *)((lldb::SBFunction const *)arg1)->GetName();
30872     lua_pushstring(L,(const char *)result); SWIG_arg++;
30873     return SWIG_arg;
30874 
30875     fail: SWIGUNUSED;
30876   }
30877   lua_error(L);
30878   return 0;
30879 }
30880 
30881 
_wrap_SBFunction_GetDisplayName(lua_State * L)30882 static int _wrap_SBFunction_GetDisplayName(lua_State* L) {
30883   {
30884     int SWIG_arg = 0;
30885     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30886     char *result = 0 ;
30887 
30888     SWIG_check_num_args("lldb::SBFunction::GetDisplayName",1,1)
30889     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDisplayName",1,"lldb::SBFunction const *");
30890 
30891     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30892       SWIG_fail_ptr("SBFunction_GetDisplayName",1,SWIGTYPE_p_lldb__SBFunction);
30893     }
30894 
30895     result = (char *)((lldb::SBFunction const *)arg1)->GetDisplayName();
30896     lua_pushstring(L,(const char *)result); SWIG_arg++;
30897     return SWIG_arg;
30898 
30899     fail: SWIGUNUSED;
30900   }
30901   lua_error(L);
30902   return 0;
30903 }
30904 
30905 
_wrap_SBFunction_GetMangledName(lua_State * L)30906 static int _wrap_SBFunction_GetMangledName(lua_State* L) {
30907   {
30908     int SWIG_arg = 0;
30909     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30910     char *result = 0 ;
30911 
30912     SWIG_check_num_args("lldb::SBFunction::GetMangledName",1,1)
30913     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetMangledName",1,"lldb::SBFunction const *");
30914 
30915     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30916       SWIG_fail_ptr("SBFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBFunction);
30917     }
30918 
30919     result = (char *)((lldb::SBFunction const *)arg1)->GetMangledName();
30920     lua_pushstring(L,(const char *)result); SWIG_arg++;
30921     return SWIG_arg;
30922 
30923     fail: SWIGUNUSED;
30924   }
30925   lua_error(L);
30926   return 0;
30927 }
30928 
30929 
_wrap_SBFunction_GetInstructions__SWIG_0(lua_State * L)30930 static int _wrap_SBFunction_GetInstructions__SWIG_0(lua_State* L) {
30931   {
30932     int SWIG_arg = 0;
30933     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30934     lldb::SBTarget arg2 ;
30935     lldb::SBTarget *argp2 ;
30936     lldb::SBInstructionList result;
30937 
30938     SWIG_check_num_args("lldb::SBFunction::GetInstructions",2,2)
30939     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *");
30940     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget");
30941 
30942     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30943       SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction);
30944     }
30945 
30946 
30947     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
30948       SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget);
30949     }
30950     arg2 = *argp2;
30951 
30952     result = (arg1)->GetInstructions(arg2);
30953     {
30954       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
30955       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
30956     }
30957     return SWIG_arg;
30958 
30959     fail: SWIGUNUSED;
30960   }
30961   lua_error(L);
30962   return 0;
30963 }
30964 
30965 
_wrap_SBFunction_GetInstructions__SWIG_1(lua_State * L)30966 static int _wrap_SBFunction_GetInstructions__SWIG_1(lua_State* L) {
30967   {
30968     int SWIG_arg = 0;
30969     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
30970     lldb::SBTarget arg2 ;
30971     char *arg3 = (char *) 0 ;
30972     lldb::SBTarget *argp2 ;
30973     lldb::SBInstructionList result;
30974 
30975     SWIG_check_num_args("lldb::SBFunction::GetInstructions",3,3)
30976     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",1,"lldb::SBFunction *");
30977     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",2,"lldb::SBTarget");
30978     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBFunction::GetInstructions",3,"char const *");
30979 
30980     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
30981       SWIG_fail_ptr("SBFunction_GetInstructions",1,SWIGTYPE_p_lldb__SBFunction);
30982     }
30983 
30984 
30985     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
30986       SWIG_fail_ptr("SBFunction_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget);
30987     }
30988     arg2 = *argp2;
30989 
30990     arg3 = (char *)lua_tostring(L, 3);
30991     result = (arg1)->GetInstructions(arg2,(char const *)arg3);
30992     {
30993       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
30994       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
30995     }
30996     return SWIG_arg;
30997 
30998     fail: SWIGUNUSED;
30999   }
31000   lua_error(L);
31001   return 0;
31002 }
31003 
31004 
_wrap_SBFunction_GetInstructions(lua_State * L)31005 static int _wrap_SBFunction_GetInstructions(lua_State* L) {
31006   int argc;
31007   int argv[4]={
31008     1,2,3,4
31009   };
31010 
31011   argc = lua_gettop(L);
31012   if (argc == 2) {
31013     int _v = 0;
31014     {
31015       void *ptr;
31016       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) {
31017         _v = 0;
31018       } else {
31019         _v = 1;
31020       }
31021     }
31022     if (_v) {
31023       {
31024         void *ptr;
31025         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
31026           _v = 0;
31027         } else {
31028           _v = 1;
31029         }
31030       }
31031       if (_v) {
31032         return _wrap_SBFunction_GetInstructions__SWIG_0(L);
31033       }
31034     }
31035   }
31036   if (argc == 3) {
31037     int _v = 0;
31038     {
31039       void *ptr;
31040       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFunction, 0)) {
31041         _v = 0;
31042       } else {
31043         _v = 1;
31044       }
31045     }
31046     if (_v) {
31047       {
31048         void *ptr;
31049         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
31050           _v = 0;
31051         } else {
31052           _v = 1;
31053         }
31054       }
31055       if (_v) {
31056         {
31057           _v = SWIG_lua_isnilstring(L,argv[2]);
31058         }
31059         if (_v) {
31060           return _wrap_SBFunction_GetInstructions__SWIG_1(L);
31061         }
31062       }
31063     }
31064   }
31065 
31066   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBFunction_GetInstructions'\n"
31067     "  Possible C/C++ prototypes are:\n"
31068     "    lldb::SBFunction::GetInstructions(lldb::SBTarget)\n"
31069     "    lldb::SBFunction::GetInstructions(lldb::SBTarget,char const *)\n");
31070   lua_error(L);return 0;
31071 }
31072 
31073 
_wrap_SBFunction_GetStartAddress(lua_State * L)31074 static int _wrap_SBFunction_GetStartAddress(lua_State* L) {
31075   {
31076     int SWIG_arg = 0;
31077     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31078     lldb::SBAddress result;
31079 
31080     SWIG_check_num_args("lldb::SBFunction::GetStartAddress",1,1)
31081     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetStartAddress",1,"lldb::SBFunction *");
31082 
31083     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31084       SWIG_fail_ptr("SBFunction_GetStartAddress",1,SWIGTYPE_p_lldb__SBFunction);
31085     }
31086 
31087     result = (arg1)->GetStartAddress();
31088     {
31089       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
31090       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
31091     }
31092     return SWIG_arg;
31093 
31094     fail: SWIGUNUSED;
31095   }
31096   lua_error(L);
31097   return 0;
31098 }
31099 
31100 
_wrap_SBFunction_GetEndAddress(lua_State * L)31101 static int _wrap_SBFunction_GetEndAddress(lua_State* L) {
31102   {
31103     int SWIG_arg = 0;
31104     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31105     lldb::SBAddress result;
31106 
31107     SWIG_check_num_args("lldb::SBFunction::GetEndAddress",1,1)
31108     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetEndAddress",1,"lldb::SBFunction *");
31109 
31110     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31111       SWIG_fail_ptr("SBFunction_GetEndAddress",1,SWIGTYPE_p_lldb__SBFunction);
31112     }
31113 
31114     result = (arg1)->GetEndAddress();
31115     {
31116       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
31117       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
31118     }
31119     return SWIG_arg;
31120 
31121     fail: SWIGUNUSED;
31122   }
31123   lua_error(L);
31124   return 0;
31125 }
31126 
31127 
_wrap_SBFunction_GetArgumentName(lua_State * L)31128 static int _wrap_SBFunction_GetArgumentName(lua_State* L) {
31129   {
31130     int SWIG_arg = 0;
31131     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31132     uint32_t arg2 ;
31133     char *result = 0 ;
31134 
31135     SWIG_check_num_args("lldb::SBFunction::GetArgumentName",2,2)
31136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",1,"lldb::SBFunction *");
31137     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBFunction::GetArgumentName",2,"uint32_t");
31138 
31139     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31140       SWIG_fail_ptr("SBFunction_GetArgumentName",1,SWIGTYPE_p_lldb__SBFunction);
31141     }
31142 
31143     arg2 = (uint32_t)lua_tointeger(L, 2);
31144     result = (char *)(arg1)->GetArgumentName(arg2);
31145     lua_pushstring(L,(const char *)result); SWIG_arg++;
31146     return SWIG_arg;
31147 
31148     fail: SWIGUNUSED;
31149   }
31150   lua_error(L);
31151   return 0;
31152 }
31153 
31154 
_wrap_SBFunction_GetPrologueByteSize(lua_State * L)31155 static int _wrap_SBFunction_GetPrologueByteSize(lua_State* L) {
31156   {
31157     int SWIG_arg = 0;
31158     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31159     uint32_t result;
31160 
31161     SWIG_check_num_args("lldb::SBFunction::GetPrologueByteSize",1,1)
31162     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetPrologueByteSize",1,"lldb::SBFunction *");
31163 
31164     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31165       SWIG_fail_ptr("SBFunction_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBFunction);
31166     }
31167 
31168     result = (uint32_t)(arg1)->GetPrologueByteSize();
31169     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
31170     return SWIG_arg;
31171 
31172     fail: SWIGUNUSED;
31173   }
31174   lua_error(L);
31175   return 0;
31176 }
31177 
31178 
_wrap_SBFunction_GetType(lua_State * L)31179 static int _wrap_SBFunction_GetType(lua_State* L) {
31180   {
31181     int SWIG_arg = 0;
31182     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31183     lldb::SBType result;
31184 
31185     SWIG_check_num_args("lldb::SBFunction::GetType",1,1)
31186     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetType",1,"lldb::SBFunction *");
31187 
31188     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31189       SWIG_fail_ptr("SBFunction_GetType",1,SWIGTYPE_p_lldb__SBFunction);
31190     }
31191 
31192     result = (arg1)->GetType();
31193     {
31194       lldb::SBType * resultptr = new lldb::SBType(result);
31195       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
31196     }
31197     return SWIG_arg;
31198 
31199     fail: SWIGUNUSED;
31200   }
31201   lua_error(L);
31202   return 0;
31203 }
31204 
31205 
_wrap_SBFunction_GetBlock(lua_State * L)31206 static int _wrap_SBFunction_GetBlock(lua_State* L) {
31207   {
31208     int SWIG_arg = 0;
31209     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31210     lldb::SBBlock result;
31211 
31212     SWIG_check_num_args("lldb::SBFunction::GetBlock",1,1)
31213     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetBlock",1,"lldb::SBFunction *");
31214 
31215     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31216       SWIG_fail_ptr("SBFunction_GetBlock",1,SWIGTYPE_p_lldb__SBFunction);
31217     }
31218 
31219     result = (arg1)->GetBlock();
31220     {
31221       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
31222       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
31223     }
31224     return SWIG_arg;
31225 
31226     fail: SWIGUNUSED;
31227   }
31228   lua_error(L);
31229   return 0;
31230 }
31231 
31232 
_wrap_SBFunction_GetLanguage(lua_State * L)31233 static int _wrap_SBFunction_GetLanguage(lua_State* L) {
31234   {
31235     int SWIG_arg = 0;
31236     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31237     lldb::LanguageType result;
31238 
31239     SWIG_check_num_args("lldb::SBFunction::GetLanguage",1,1)
31240     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetLanguage",1,"lldb::SBFunction *");
31241 
31242     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31243       SWIG_fail_ptr("SBFunction_GetLanguage",1,SWIGTYPE_p_lldb__SBFunction);
31244     }
31245 
31246     result = (lldb::LanguageType)(arg1)->GetLanguage();
31247     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
31248     return SWIG_arg;
31249 
31250     fail: SWIGUNUSED;
31251   }
31252   lua_error(L);
31253   return 0;
31254 }
31255 
31256 
_wrap_SBFunction_GetIsOptimized(lua_State * L)31257 static int _wrap_SBFunction_GetIsOptimized(lua_State* L) {
31258   {
31259     int SWIG_arg = 0;
31260     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31261     bool result;
31262 
31263     SWIG_check_num_args("lldb::SBFunction::GetIsOptimized",1,1)
31264     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetIsOptimized",1,"lldb::SBFunction *");
31265 
31266     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31267       SWIG_fail_ptr("SBFunction_GetIsOptimized",1,SWIGTYPE_p_lldb__SBFunction);
31268     }
31269 
31270     result = (bool)(arg1)->GetIsOptimized();
31271     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31272     return SWIG_arg;
31273 
31274     fail: SWIGUNUSED;
31275   }
31276   lua_error(L);
31277   return 0;
31278 }
31279 
31280 
_wrap_SBFunction___eq(lua_State * L)31281 static int _wrap_SBFunction___eq(lua_State* L) {
31282   {
31283     int SWIG_arg = 0;
31284     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31285     lldb::SBFunction *arg2 = 0 ;
31286     bool result;
31287 
31288     SWIG_check_num_args("lldb::SBFunction::operator ==",2,2)
31289     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::operator ==",1,"lldb::SBFunction const *");
31290     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::operator ==",2,"lldb::SBFunction const &");
31291 
31292     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31293       SWIG_fail_ptr("SBFunction___eq",1,SWIGTYPE_p_lldb__SBFunction);
31294     }
31295 
31296 
31297     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFunction,0))){
31298       SWIG_fail_ptr("SBFunction___eq",2,SWIGTYPE_p_lldb__SBFunction);
31299     }
31300 
31301     result = (bool)((lldb::SBFunction const *)arg1)->operator ==((lldb::SBFunction const &)*arg2);
31302     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31303     return SWIG_arg;
31304 
31305     fail: SWIGUNUSED;
31306   }
31307   lua_error(L);
31308   return 0;
31309 }
31310 
31311 
_wrap_SBFunction_GetDescription(lua_State * L)31312 static int _wrap_SBFunction_GetDescription(lua_State* L) {
31313   {
31314     int SWIG_arg = 0;
31315     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31316     lldb::SBStream *arg2 = 0 ;
31317     bool result;
31318 
31319     SWIG_check_num_args("lldb::SBFunction::GetDescription",2,2)
31320     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::GetDescription",1,"lldb::SBFunction *");
31321     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFunction::GetDescription",2,"lldb::SBStream &");
31322 
31323     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31324       SWIG_fail_ptr("SBFunction_GetDescription",1,SWIGTYPE_p_lldb__SBFunction);
31325     }
31326 
31327 
31328     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
31329       SWIG_fail_ptr("SBFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
31330     }
31331 
31332     result = (bool)(arg1)->GetDescription(*arg2);
31333     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31334     return SWIG_arg;
31335 
31336     fail: SWIGUNUSED;
31337   }
31338   lua_error(L);
31339   return 0;
31340 }
31341 
31342 
_wrap_SBFunction___tostring(lua_State * L)31343 static int _wrap_SBFunction___tostring(lua_State* L) {
31344   {
31345     int SWIG_arg = 0;
31346     lldb::SBFunction *arg1 = (lldb::SBFunction *) 0 ;
31347     std::string result;
31348 
31349     SWIG_check_num_args("lldb::SBFunction::__repr__",1,1)
31350     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFunction::__repr__",1,"lldb::SBFunction *");
31351 
31352     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFunction,0))){
31353       SWIG_fail_ptr("SBFunction___tostring",1,SWIGTYPE_p_lldb__SBFunction);
31354     }
31355 
31356     result = lldb_SBFunction___repr__(arg1);
31357     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
31358     return SWIG_arg;
31359 
31360     fail: SWIGUNUSED;
31361   }
31362   lua_error(L);
31363   return 0;
31364 }
31365 
31366 
swig_delete_SBFunction(void * obj)31367 static void swig_delete_SBFunction(void *obj) {
31368 lldb::SBFunction *arg1 = (lldb::SBFunction *) obj;
31369 delete arg1;
31370 }
_proxy__wrap_new_SBFunction(lua_State * L)31371 static int _proxy__wrap_new_SBFunction(lua_State *L) {
31372     assert(lua_istable(L,1));
31373     lua_pushcfunction(L,_wrap_new_SBFunction);
31374     assert(!lua_isnil(L,-1));
31375     lua_replace(L,1); /* replace our table with real constructor */
31376     lua_call(L,lua_gettop(L)-1,1);
31377     return 1;
31378 }
31379 static swig_lua_attribute swig_SBFunction_attributes[] = {
31380     {0,0,0}
31381 };
31382 static swig_lua_method swig_SBFunction_methods[]= {
31383     { "IsValid", _wrap_SBFunction_IsValid},
31384     { "GetName", _wrap_SBFunction_GetName},
31385     { "GetDisplayName", _wrap_SBFunction_GetDisplayName},
31386     { "GetMangledName", _wrap_SBFunction_GetMangledName},
31387     { "GetInstructions", _wrap_SBFunction_GetInstructions},
31388     { "GetStartAddress", _wrap_SBFunction_GetStartAddress},
31389     { "GetEndAddress", _wrap_SBFunction_GetEndAddress},
31390     { "GetArgumentName", _wrap_SBFunction_GetArgumentName},
31391     { "GetPrologueByteSize", _wrap_SBFunction_GetPrologueByteSize},
31392     { "GetType", _wrap_SBFunction_GetType},
31393     { "GetBlock", _wrap_SBFunction_GetBlock},
31394     { "GetLanguage", _wrap_SBFunction_GetLanguage},
31395     { "GetIsOptimized", _wrap_SBFunction_GetIsOptimized},
31396     { "__eq", _wrap_SBFunction___eq},
31397     { "GetDescription", _wrap_SBFunction_GetDescription},
31398     { "__tostring", _wrap_SBFunction___tostring},
31399     {0,0}
31400 };
31401 static swig_lua_method swig_SBFunction_meta[] = {
31402     { "__eq", _wrap_SBFunction___eq},
31403     { "__tostring", _wrap_SBFunction___tostring},
31404     {0,0}
31405 };
31406 
31407 static swig_lua_attribute swig_SBFunction_Sf_SwigStatic_attributes[] = {
31408     {0,0,0}
31409 };
31410 static swig_lua_const_info swig_SBFunction_Sf_SwigStatic_constants[]= {
31411     {0,0,0,0,0,0}
31412 };
31413 static swig_lua_method swig_SBFunction_Sf_SwigStatic_methods[]= {
31414     {0,0}
31415 };
31416 static swig_lua_class* swig_SBFunction_Sf_SwigStatic_classes[]= {
31417     0
31418 };
31419 
31420 static swig_lua_namespace swig_SBFunction_Sf_SwigStatic = {
31421     "SBFunction",
31422     swig_SBFunction_Sf_SwigStatic_methods,
31423     swig_SBFunction_Sf_SwigStatic_attributes,
31424     swig_SBFunction_Sf_SwigStatic_constants,
31425     swig_SBFunction_Sf_SwigStatic_classes,
31426     0
31427 };
31428 static swig_lua_class *swig_SBFunction_bases[] = {0};
31429 static const char *swig_SBFunction_base_names[] = {0};
31430 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 };
31431 
_wrap_SBHostOS_GetProgramFileSpec(lua_State * L)31432 static int _wrap_SBHostOS_GetProgramFileSpec(lua_State* L) {
31433   {
31434     int SWIG_arg = 0;
31435     lldb::SBFileSpec result;
31436 
31437     SWIG_check_num_args("lldb::SBHostOS::GetProgramFileSpec",0,0)
31438     result = lldb::SBHostOS::GetProgramFileSpec();
31439     {
31440       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
31441       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
31442     }
31443     return SWIG_arg;
31444 
31445     fail: SWIGUNUSED;
31446   }
31447   lua_error(L);
31448   return 0;
31449 }
31450 
31451 
_wrap_SBHostOS_GetLLDBPythonPath(lua_State * L)31452 static int _wrap_SBHostOS_GetLLDBPythonPath(lua_State* L) {
31453   {
31454     int SWIG_arg = 0;
31455     lldb::SBFileSpec result;
31456 
31457     SWIG_check_num_args("lldb::SBHostOS::GetLLDBPythonPath",0,0)
31458     result = lldb::SBHostOS::GetLLDBPythonPath();
31459     {
31460       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
31461       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
31462     }
31463     return SWIG_arg;
31464 
31465     fail: SWIGUNUSED;
31466   }
31467   lua_error(L);
31468   return 0;
31469 }
31470 
31471 
_wrap_SBHostOS_GetLLDBPath(lua_State * L)31472 static int _wrap_SBHostOS_GetLLDBPath(lua_State* L) {
31473   {
31474     int SWIG_arg = 0;
31475     lldb::PathType arg1 ;
31476     lldb::SBFileSpec result;
31477 
31478     SWIG_check_num_args("lldb::SBHostOS::GetLLDBPath",1,1)
31479     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBHostOS::GetLLDBPath",1,"lldb::PathType");
31480     arg1 = (lldb::PathType)lua_tointeger(L, 1);
31481     result = lldb::SBHostOS::GetLLDBPath(arg1);
31482     {
31483       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
31484       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
31485     }
31486     return SWIG_arg;
31487 
31488     fail: SWIGUNUSED;
31489   }
31490   lua_error(L);
31491   return 0;
31492 }
31493 
31494 
_wrap_SBHostOS_GetUserHomeDirectory(lua_State * L)31495 static int _wrap_SBHostOS_GetUserHomeDirectory(lua_State* L) {
31496   {
31497     int SWIG_arg = 0;
31498     lldb::SBFileSpec result;
31499 
31500     SWIG_check_num_args("lldb::SBHostOS::GetUserHomeDirectory",0,0)
31501     result = lldb::SBHostOS::GetUserHomeDirectory();
31502     {
31503       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
31504       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
31505     }
31506     return SWIG_arg;
31507 
31508     fail: SWIGUNUSED;
31509   }
31510   lua_error(L);
31511   return 0;
31512 }
31513 
31514 
_wrap_SBHostOS_ThreadCreated(lua_State * L)31515 static int _wrap_SBHostOS_ThreadCreated(lua_State* L) {
31516   {
31517     int SWIG_arg = 0;
31518     char *arg1 = (char *) 0 ;
31519 
31520     SWIG_check_num_args("lldb::SBHostOS::ThreadCreated",1,1)
31521     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreated",1,"char const *");
31522     arg1 = (char *)lua_tostring(L, 1);
31523     lldb::SBHostOS::ThreadCreated((char const *)arg1);
31524 
31525     return SWIG_arg;
31526 
31527     fail: SWIGUNUSED;
31528   }
31529   lua_error(L);
31530   return 0;
31531 }
31532 
31533 
_wrap_SBHostOS_ThreadCreate(lua_State * L)31534 static int _wrap_SBHostOS_ThreadCreate(lua_State* L) {
31535   {
31536     int SWIG_arg = 0;
31537     char *arg1 = (char *) 0 ;
31538     lldb::thread_func_t arg2 = (lldb::thread_func_t) 0 ;
31539     void *arg3 = (void *) 0 ;
31540     lldb::SBError *arg4 = (lldb::SBError *) 0 ;
31541     lldb::thread_t result;
31542 
31543     SWIG_check_num_args("lldb::SBHostOS::ThreadCreate",4,4)
31544     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",1,"char const *");
31545     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",2,"lldb::thread_func_t");
31546     if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",3,"void *");
31547     if(!SWIG_isptrtype(L,4)) SWIG_fail_arg("lldb::SBHostOS::ThreadCreate",4,"lldb::SBError *");
31548     arg1 = (char *)lua_tostring(L, 1);
31549 
31550     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void__p_void,0))){
31551       SWIG_fail_ptr("SBHostOS_ThreadCreate",2,SWIGTYPE_p_f_p_void__p_void);
31552     }
31553 
31554     arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBHostOS_ThreadCreate");
31555 
31556     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
31557       SWIG_fail_ptr("SBHostOS_ThreadCreate",4,SWIGTYPE_p_lldb__SBError);
31558     }
31559 
31560     result = lldb::SBHostOS::ThreadCreate((char const *)arg1,arg2,arg3,arg4);
31561     {
31562       lldb::thread_t * resultptr = new lldb::thread_t(result);
31563       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_pthread_t,1); SWIG_arg++;
31564     }
31565     return SWIG_arg;
31566 
31567     fail: SWIGUNUSED;
31568   }
31569   lua_error(L);
31570   return 0;
31571 }
31572 
31573 
_wrap_SBHostOS_ThreadCancel(lua_State * L)31574 static int _wrap_SBHostOS_ThreadCancel(lua_State* L) {
31575   {
31576     int SWIG_arg = 0;
31577     lldb::thread_t arg1 ;
31578     lldb::SBError *arg2 = (lldb::SBError *) 0 ;
31579     lldb::thread_t *argp1 ;
31580     bool result;
31581 
31582     SWIG_check_num_args("lldb::SBHostOS::ThreadCancel",2,2)
31583     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",1,"lldb::thread_t");
31584     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadCancel",2,"lldb::SBError *");
31585 
31586     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){
31587       SWIG_fail_ptr("SBHostOS_ThreadCancel",1,SWIGTYPE_p_pthread_t);
31588     }
31589     arg1 = *argp1;
31590 
31591 
31592     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
31593       SWIG_fail_ptr("SBHostOS_ThreadCancel",2,SWIGTYPE_p_lldb__SBError);
31594     }
31595 
31596     result = (bool)lldb::SBHostOS::ThreadCancel(SWIG_STD_MOVE(arg1),arg2);
31597     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31598     return SWIG_arg;
31599 
31600     fail: SWIGUNUSED;
31601   }
31602   lua_error(L);
31603   return 0;
31604 }
31605 
31606 
_wrap_SBHostOS_ThreadDetach(lua_State * L)31607 static int _wrap_SBHostOS_ThreadDetach(lua_State* L) {
31608   {
31609     int SWIG_arg = 0;
31610     lldb::thread_t arg1 ;
31611     lldb::SBError *arg2 = (lldb::SBError *) 0 ;
31612     lldb::thread_t *argp1 ;
31613     bool result;
31614 
31615     SWIG_check_num_args("lldb::SBHostOS::ThreadDetach",2,2)
31616     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",1,"lldb::thread_t");
31617     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadDetach",2,"lldb::SBError *");
31618 
31619     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){
31620       SWIG_fail_ptr("SBHostOS_ThreadDetach",1,SWIGTYPE_p_pthread_t);
31621     }
31622     arg1 = *argp1;
31623 
31624 
31625     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
31626       SWIG_fail_ptr("SBHostOS_ThreadDetach",2,SWIGTYPE_p_lldb__SBError);
31627     }
31628 
31629     result = (bool)lldb::SBHostOS::ThreadDetach(SWIG_STD_MOVE(arg1),arg2);
31630     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31631     return SWIG_arg;
31632 
31633     fail: SWIGUNUSED;
31634   }
31635   lua_error(L);
31636   return 0;
31637 }
31638 
31639 
_wrap_SBHostOS_ThreadJoin(lua_State * L)31640 static int _wrap_SBHostOS_ThreadJoin(lua_State* L) {
31641   {
31642     int SWIG_arg = 0;
31643     lldb::thread_t arg1 ;
31644     lldb::thread_result_t *arg2 = (lldb::thread_result_t *) 0 ;
31645     lldb::SBError *arg3 = (lldb::SBError *) 0 ;
31646     lldb::thread_t *argp1 ;
31647     bool result;
31648 
31649     SWIG_check_num_args("lldb::SBHostOS::ThreadJoin",3,3)
31650     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",1,"lldb::thread_t");
31651     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",2,"lldb::thread_result_t *");
31652     if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBHostOS::ThreadJoin",3,"lldb::SBError *");
31653 
31654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_pthread_t,0))){
31655       SWIG_fail_ptr("SBHostOS_ThreadJoin",1,SWIGTYPE_p_pthread_t);
31656     }
31657     arg1 = *argp1;
31658 
31659 
31660     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_p_void,0))){
31661       SWIG_fail_ptr("SBHostOS_ThreadJoin",2,SWIGTYPE_p_p_void);
31662     }
31663 
31664 
31665     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
31666       SWIG_fail_ptr("SBHostOS_ThreadJoin",3,SWIGTYPE_p_lldb__SBError);
31667     }
31668 
31669     result = (bool)lldb::SBHostOS::ThreadJoin(SWIG_STD_MOVE(arg1),arg2,arg3);
31670     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31671     return SWIG_arg;
31672 
31673     fail: SWIGUNUSED;
31674   }
31675   lua_error(L);
31676   return 0;
31677 }
31678 
31679 
_wrap_new_SBHostOS(lua_State * L)31680 static int _wrap_new_SBHostOS(lua_State* L) {
31681   {
31682     int SWIG_arg = 0;
31683     lldb::SBHostOS *result = 0 ;
31684 
31685     SWIG_check_num_args("lldb::SBHostOS::SBHostOS",0,0)
31686     result = (lldb::SBHostOS *)new lldb::SBHostOS();
31687     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBHostOS,1); SWIG_arg++;
31688     return SWIG_arg;
31689 
31690     fail: SWIGUNUSED;
31691   }
31692   lua_error(L);
31693   return 0;
31694 }
31695 
31696 
swig_delete_SBHostOS(void * obj)31697 static void swig_delete_SBHostOS(void *obj) {
31698 lldb::SBHostOS *arg1 = (lldb::SBHostOS *) obj;
31699 delete arg1;
31700 }
_proxy__wrap_new_SBHostOS(lua_State * L)31701 static int _proxy__wrap_new_SBHostOS(lua_State *L) {
31702     assert(lua_istable(L,1));
31703     lua_pushcfunction(L,_wrap_new_SBHostOS);
31704     assert(!lua_isnil(L,-1));
31705     lua_replace(L,1); /* replace our table with real constructor */
31706     lua_call(L,lua_gettop(L)-1,1);
31707     return 1;
31708 }
31709 static swig_lua_attribute swig_SBHostOS_attributes[] = {
31710     {0,0,0}
31711 };
31712 static swig_lua_method swig_SBHostOS_methods[]= {
31713     {0,0}
31714 };
31715 static swig_lua_method swig_SBHostOS_meta[] = {
31716     {0,0}
31717 };
31718 
31719 static swig_lua_attribute swig_SBHostOS_Sf_SwigStatic_attributes[] = {
31720     {0,0,0}
31721 };
31722 static swig_lua_const_info swig_SBHostOS_Sf_SwigStatic_constants[]= {
31723     {0,0,0,0,0,0}
31724 };
31725 static swig_lua_method swig_SBHostOS_Sf_SwigStatic_methods[]= {
31726     { "GetProgramFileSpec", _wrap_SBHostOS_GetProgramFileSpec},
31727     { "GetLLDBPythonPath", _wrap_SBHostOS_GetLLDBPythonPath},
31728     { "GetLLDBPath", _wrap_SBHostOS_GetLLDBPath},
31729     { "GetUserHomeDirectory", _wrap_SBHostOS_GetUserHomeDirectory},
31730     { "ThreadCreated", _wrap_SBHostOS_ThreadCreated},
31731     { "ThreadCreate", _wrap_SBHostOS_ThreadCreate},
31732     { "ThreadCancel", _wrap_SBHostOS_ThreadCancel},
31733     { "ThreadDetach", _wrap_SBHostOS_ThreadDetach},
31734     { "ThreadJoin", _wrap_SBHostOS_ThreadJoin},
31735     {0,0}
31736 };
31737 static swig_lua_class* swig_SBHostOS_Sf_SwigStatic_classes[]= {
31738     0
31739 };
31740 
31741 static swig_lua_namespace swig_SBHostOS_Sf_SwigStatic = {
31742     "SBHostOS",
31743     swig_SBHostOS_Sf_SwigStatic_methods,
31744     swig_SBHostOS_Sf_SwigStatic_attributes,
31745     swig_SBHostOS_Sf_SwigStatic_constants,
31746     swig_SBHostOS_Sf_SwigStatic_classes,
31747     0
31748 };
31749 static swig_lua_class *swig_SBHostOS_bases[] = {0};
31750 static const char *swig_SBHostOS_base_names[] = {0};
31751 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 };
31752 
_wrap_new_SBInstruction__SWIG_0(lua_State * L)31753 static int _wrap_new_SBInstruction__SWIG_0(lua_State* L) {
31754   {
31755     int SWIG_arg = 0;
31756     lldb::SBInstruction *result = 0 ;
31757 
31758     SWIG_check_num_args("lldb::SBInstruction::SBInstruction",0,0)
31759     result = (lldb::SBInstruction *)new lldb::SBInstruction();
31760     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++;
31761     return SWIG_arg;
31762 
31763     fail: SWIGUNUSED;
31764   }
31765   lua_error(L);
31766   return 0;
31767 }
31768 
31769 
_wrap_new_SBInstruction__SWIG_1(lua_State * L)31770 static int _wrap_new_SBInstruction__SWIG_1(lua_State* L) {
31771   {
31772     int SWIG_arg = 0;
31773     lldb::SBInstruction *arg1 = 0 ;
31774     lldb::SBInstruction *result = 0 ;
31775 
31776     SWIG_check_num_args("lldb::SBInstruction::SBInstruction",1,1)
31777     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstruction::SBInstruction",1,"lldb::SBInstruction const &");
31778 
31779     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31780       SWIG_fail_ptr("new_SBInstruction",1,SWIGTYPE_p_lldb__SBInstruction);
31781     }
31782 
31783     result = (lldb::SBInstruction *)new lldb::SBInstruction((lldb::SBInstruction const &)*arg1);
31784     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++;
31785     return SWIG_arg;
31786 
31787     fail: SWIGUNUSED;
31788   }
31789   lua_error(L);
31790   return 0;
31791 }
31792 
31793 
_wrap_new_SBInstruction(lua_State * L)31794 static int _wrap_new_SBInstruction(lua_State* L) {
31795   int argc;
31796   int argv[2]={
31797     1,2
31798   };
31799 
31800   argc = lua_gettop(L);
31801   if (argc == 0) {
31802     return _wrap_new_SBInstruction__SWIG_0(L);
31803   }
31804   if (argc == 1) {
31805     int _v = 0;
31806     {
31807       void *ptr;
31808       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, SWIG_POINTER_NO_NULL)) {
31809         _v = 0;
31810       } else {
31811         _v = 1;
31812       }
31813     }
31814     if (_v) {
31815       return _wrap_new_SBInstruction__SWIG_1(L);
31816     }
31817   }
31818 
31819   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBInstruction'\n"
31820     "  Possible C/C++ prototypes are:\n"
31821     "    lldb::SBInstruction::SBInstruction()\n"
31822     "    lldb::SBInstruction::SBInstruction(lldb::SBInstruction const &)\n");
31823   lua_error(L);return 0;
31824 }
31825 
31826 
_wrap_SBInstruction_IsValid(lua_State * L)31827 static int _wrap_SBInstruction_IsValid(lua_State* L) {
31828   {
31829     int SWIG_arg = 0;
31830     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31831     bool result;
31832 
31833     SWIG_check_num_args("lldb::SBInstruction::IsValid",1,1)
31834     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::IsValid",1,"lldb::SBInstruction *");
31835 
31836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31837       SWIG_fail_ptr("SBInstruction_IsValid",1,SWIGTYPE_p_lldb__SBInstruction);
31838     }
31839 
31840     result = (bool)(arg1)->IsValid();
31841     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
31842     return SWIG_arg;
31843 
31844     fail: SWIGUNUSED;
31845   }
31846   lua_error(L);
31847   return 0;
31848 }
31849 
31850 
_wrap_SBInstruction_GetAddress(lua_State * L)31851 static int _wrap_SBInstruction_GetAddress(lua_State* L) {
31852   {
31853     int SWIG_arg = 0;
31854     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31855     lldb::SBAddress result;
31856 
31857     SWIG_check_num_args("lldb::SBInstruction::GetAddress",1,1)
31858     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetAddress",1,"lldb::SBInstruction *");
31859 
31860     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31861       SWIG_fail_ptr("SBInstruction_GetAddress",1,SWIGTYPE_p_lldb__SBInstruction);
31862     }
31863 
31864     result = (arg1)->GetAddress();
31865     {
31866       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
31867       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
31868     }
31869     return SWIG_arg;
31870 
31871     fail: SWIGUNUSED;
31872   }
31873   lua_error(L);
31874   return 0;
31875 }
31876 
31877 
_wrap_SBInstruction_GetMnemonic(lua_State * L)31878 static int _wrap_SBInstruction_GetMnemonic(lua_State* L) {
31879   {
31880     int SWIG_arg = 0;
31881     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31882     lldb::SBTarget arg2 ;
31883     lldb::SBTarget *argp2 ;
31884     char *result = 0 ;
31885 
31886     SWIG_check_num_args("lldb::SBInstruction::GetMnemonic",2,2)
31887     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",1,"lldb::SBInstruction *");
31888     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetMnemonic",2,"lldb::SBTarget");
31889 
31890     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31891       SWIG_fail_ptr("SBInstruction_GetMnemonic",1,SWIGTYPE_p_lldb__SBInstruction);
31892     }
31893 
31894 
31895     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
31896       SWIG_fail_ptr("SBInstruction_GetMnemonic",2,SWIGTYPE_p_lldb__SBTarget);
31897     }
31898     arg2 = *argp2;
31899 
31900     result = (char *)(arg1)->GetMnemonic(arg2);
31901     lua_pushstring(L,(const char *)result); SWIG_arg++;
31902     return SWIG_arg;
31903 
31904     fail: SWIGUNUSED;
31905   }
31906   lua_error(L);
31907   return 0;
31908 }
31909 
31910 
_wrap_SBInstruction_GetOperands(lua_State * L)31911 static int _wrap_SBInstruction_GetOperands(lua_State* L) {
31912   {
31913     int SWIG_arg = 0;
31914     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31915     lldb::SBTarget arg2 ;
31916     lldb::SBTarget *argp2 ;
31917     char *result = 0 ;
31918 
31919     SWIG_check_num_args("lldb::SBInstruction::GetOperands",2,2)
31920     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",1,"lldb::SBInstruction *");
31921     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetOperands",2,"lldb::SBTarget");
31922 
31923     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31924       SWIG_fail_ptr("SBInstruction_GetOperands",1,SWIGTYPE_p_lldb__SBInstruction);
31925     }
31926 
31927 
31928     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
31929       SWIG_fail_ptr("SBInstruction_GetOperands",2,SWIGTYPE_p_lldb__SBTarget);
31930     }
31931     arg2 = *argp2;
31932 
31933     result = (char *)(arg1)->GetOperands(arg2);
31934     lua_pushstring(L,(const char *)result); SWIG_arg++;
31935     return SWIG_arg;
31936 
31937     fail: SWIGUNUSED;
31938   }
31939   lua_error(L);
31940   return 0;
31941 }
31942 
31943 
_wrap_SBInstruction_GetComment(lua_State * L)31944 static int _wrap_SBInstruction_GetComment(lua_State* L) {
31945   {
31946     int SWIG_arg = 0;
31947     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31948     lldb::SBTarget arg2 ;
31949     lldb::SBTarget *argp2 ;
31950     char *result = 0 ;
31951 
31952     SWIG_check_num_args("lldb::SBInstruction::GetComment",2,2)
31953     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetComment",1,"lldb::SBInstruction *");
31954     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetComment",2,"lldb::SBTarget");
31955 
31956     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31957       SWIG_fail_ptr("SBInstruction_GetComment",1,SWIGTYPE_p_lldb__SBInstruction);
31958     }
31959 
31960 
31961     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
31962       SWIG_fail_ptr("SBInstruction_GetComment",2,SWIGTYPE_p_lldb__SBTarget);
31963     }
31964     arg2 = *argp2;
31965 
31966     result = (char *)(arg1)->GetComment(arg2);
31967     lua_pushstring(L,(const char *)result); SWIG_arg++;
31968     return SWIG_arg;
31969 
31970     fail: SWIGUNUSED;
31971   }
31972   lua_error(L);
31973   return 0;
31974 }
31975 
31976 
_wrap_SBInstruction_GetControlFlowKind(lua_State * L)31977 static int _wrap_SBInstruction_GetControlFlowKind(lua_State* L) {
31978   {
31979     int SWIG_arg = 0;
31980     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
31981     lldb::SBTarget arg2 ;
31982     lldb::SBTarget *argp2 ;
31983     lldb::InstructionControlFlowKind result;
31984 
31985     SWIG_check_num_args("lldb::SBInstruction::GetControlFlowKind",2,2)
31986     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",1,"lldb::SBInstruction *");
31987     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetControlFlowKind",2,"lldb::SBTarget");
31988 
31989     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
31990       SWIG_fail_ptr("SBInstruction_GetControlFlowKind",1,SWIGTYPE_p_lldb__SBInstruction);
31991     }
31992 
31993 
31994     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
31995       SWIG_fail_ptr("SBInstruction_GetControlFlowKind",2,SWIGTYPE_p_lldb__SBTarget);
31996     }
31997     arg2 = *argp2;
31998 
31999     result = (lldb::InstructionControlFlowKind)(arg1)->GetControlFlowKind(arg2);
32000     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
32001     return SWIG_arg;
32002 
32003     fail: SWIGUNUSED;
32004   }
32005   lua_error(L);
32006   return 0;
32007 }
32008 
32009 
_wrap_SBInstruction_GetData(lua_State * L)32010 static int _wrap_SBInstruction_GetData(lua_State* L) {
32011   {
32012     int SWIG_arg = 0;
32013     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32014     lldb::SBTarget arg2 ;
32015     lldb::SBTarget *argp2 ;
32016     lldb::SBData result;
32017 
32018     SWIG_check_num_args("lldb::SBInstruction::GetData",2,2)
32019     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetData",1,"lldb::SBInstruction *");
32020     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetData",2,"lldb::SBTarget");
32021 
32022     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32023       SWIG_fail_ptr("SBInstruction_GetData",1,SWIGTYPE_p_lldb__SBInstruction);
32024     }
32025 
32026 
32027     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
32028       SWIG_fail_ptr("SBInstruction_GetData",2,SWIGTYPE_p_lldb__SBTarget);
32029     }
32030     arg2 = *argp2;
32031 
32032     result = (arg1)->GetData(arg2);
32033     {
32034       lldb::SBData * resultptr = new lldb::SBData(result);
32035       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
32036     }
32037     return SWIG_arg;
32038 
32039     fail: SWIGUNUSED;
32040   }
32041   lua_error(L);
32042   return 0;
32043 }
32044 
32045 
_wrap_SBInstruction_GetByteSize(lua_State * L)32046 static int _wrap_SBInstruction_GetByteSize(lua_State* L) {
32047   {
32048     int SWIG_arg = 0;
32049     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32050     size_t result;
32051 
32052     SWIG_check_num_args("lldb::SBInstruction::GetByteSize",1,1)
32053     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetByteSize",1,"lldb::SBInstruction *");
32054 
32055     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32056       SWIG_fail_ptr("SBInstruction_GetByteSize",1,SWIGTYPE_p_lldb__SBInstruction);
32057     }
32058 
32059     result = (arg1)->GetByteSize();
32060     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
32061     return SWIG_arg;
32062 
32063     fail: SWIGUNUSED;
32064   }
32065   lua_error(L);
32066   return 0;
32067 }
32068 
32069 
_wrap_SBInstruction_DoesBranch(lua_State * L)32070 static int _wrap_SBInstruction_DoesBranch(lua_State* L) {
32071   {
32072     int SWIG_arg = 0;
32073     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32074     bool result;
32075 
32076     SWIG_check_num_args("lldb::SBInstruction::DoesBranch",1,1)
32077     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DoesBranch",1,"lldb::SBInstruction *");
32078 
32079     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32080       SWIG_fail_ptr("SBInstruction_DoesBranch",1,SWIGTYPE_p_lldb__SBInstruction);
32081     }
32082 
32083     result = (bool)(arg1)->DoesBranch();
32084     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32085     return SWIG_arg;
32086 
32087     fail: SWIGUNUSED;
32088   }
32089   lua_error(L);
32090   return 0;
32091 }
32092 
32093 
_wrap_SBInstruction_HasDelaySlot(lua_State * L)32094 static int _wrap_SBInstruction_HasDelaySlot(lua_State* L) {
32095   {
32096     int SWIG_arg = 0;
32097     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32098     bool result;
32099 
32100     SWIG_check_num_args("lldb::SBInstruction::HasDelaySlot",1,1)
32101     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::HasDelaySlot",1,"lldb::SBInstruction *");
32102 
32103     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32104       SWIG_fail_ptr("SBInstruction_HasDelaySlot",1,SWIGTYPE_p_lldb__SBInstruction);
32105     }
32106 
32107     result = (bool)(arg1)->HasDelaySlot();
32108     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32109     return SWIG_arg;
32110 
32111     fail: SWIGUNUSED;
32112   }
32113   lua_error(L);
32114   return 0;
32115 }
32116 
32117 
_wrap_SBInstruction_CanSetBreakpoint(lua_State * L)32118 static int _wrap_SBInstruction_CanSetBreakpoint(lua_State* L) {
32119   {
32120     int SWIG_arg = 0;
32121     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32122     bool result;
32123 
32124     SWIG_check_num_args("lldb::SBInstruction::CanSetBreakpoint",1,1)
32125     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::CanSetBreakpoint",1,"lldb::SBInstruction *");
32126 
32127     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32128       SWIG_fail_ptr("SBInstruction_CanSetBreakpoint",1,SWIGTYPE_p_lldb__SBInstruction);
32129     }
32130 
32131     result = (bool)(arg1)->CanSetBreakpoint();
32132     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32133     return SWIG_arg;
32134 
32135     fail: SWIGUNUSED;
32136   }
32137   lua_error(L);
32138   return 0;
32139 }
32140 
32141 
_wrap_SBInstruction_Print__SWIG_0(lua_State * L)32142 static int _wrap_SBInstruction_Print__SWIG_0(lua_State* L) {
32143   {
32144     int SWIG_arg = 0;
32145     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32146     lldb::SBFile arg2 ;
32147     lldb::SBFile *argp2 ;
32148 
32149     SWIG_check_num_args("lldb::SBInstruction::Print",2,2)
32150     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *");
32151     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::Print",2,"lldb::SBFile");
32152 
32153     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32154       SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction);
32155     }
32156 
32157 
32158     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
32159       SWIG_fail_ptr("SBInstruction_Print",2,SWIGTYPE_p_lldb__SBFile);
32160     }
32161     arg2 = *argp2;
32162 
32163     (arg1)->Print(arg2);
32164 
32165     return SWIG_arg;
32166 
32167     fail: SWIGUNUSED;
32168   }
32169   lua_error(L);
32170   return 0;
32171 }
32172 
32173 
_wrap_SBInstruction_Print__SWIG_1(lua_State * L)32174 static int _wrap_SBInstruction_Print__SWIG_1(lua_State* L) {
32175   {
32176     int SWIG_arg = 0;
32177     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32178     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
32179 
32180     SWIG_check_num_args("lldb::SBInstruction::Print",2,2)
32181     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::Print",1,"lldb::SBInstruction *");
32182 
32183     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32184       SWIG_fail_ptr("SBInstruction_Print",1,SWIGTYPE_p_lldb__SBInstruction);
32185     }
32186 
32187     {
32188       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
32189       lldb::FileSP file_sp;
32190       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
32191       if (!file_sp->IsValid())
32192       return luaL_error(L, "Invalid file");
32193       arg2 = file_sp;
32194     }
32195     (arg1)->Print(arg2);
32196 
32197     return SWIG_arg;
32198 
32199     fail: SWIGUNUSED;
32200   }
32201   lua_error(L);
32202   return 0;
32203 }
32204 
32205 
_wrap_SBInstruction_Print(lua_State * L)32206 static int _wrap_SBInstruction_Print(lua_State* L) {
32207   int argc;
32208   int argv[3]={
32209     1,2,3
32210   };
32211 
32212   argc = lua_gettop(L);
32213   if (argc == 2) {
32214     int _v = 0;
32215     {
32216       void *ptr;
32217       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) {
32218         _v = 0;
32219       } else {
32220         _v = 1;
32221       }
32222     }
32223     if (_v) {
32224       {
32225         void *ptr;
32226         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
32227           _v = 0;
32228         } else {
32229           _v = 1;
32230         }
32231       }
32232       if (_v) {
32233         return _wrap_SBInstruction_Print__SWIG_0(L);
32234       }
32235     }
32236   }
32237   if (argc == 2) {
32238     int _v = 0;
32239     {
32240       void *ptr;
32241       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstruction, 0)) {
32242         _v = 0;
32243       } else {
32244         _v = 1;
32245       }
32246     }
32247     if (_v) {
32248       {
32249         _v = (lua_isuserdata(L, argv[1])) &&
32250         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
32251       }
32252       if (_v) {
32253         return _wrap_SBInstruction_Print__SWIG_1(L);
32254       }
32255     }
32256   }
32257 
32258   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBInstruction_Print'\n"
32259     "  Possible C/C++ prototypes are:\n"
32260     "    lldb::SBInstruction::Print(lldb::SBFile)\n"
32261     "    lldb::SBInstruction::Print(lldb::FileSP)\n");
32262   lua_error(L);return 0;
32263 }
32264 
32265 
_wrap_SBInstruction_GetDescription(lua_State * L)32266 static int _wrap_SBInstruction_GetDescription(lua_State* L) {
32267   {
32268     int SWIG_arg = 0;
32269     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32270     lldb::SBStream *arg2 = 0 ;
32271     bool result;
32272 
32273     SWIG_check_num_args("lldb::SBInstruction::GetDescription",2,2)
32274     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",1,"lldb::SBInstruction *");
32275     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::GetDescription",2,"lldb::SBStream &");
32276 
32277     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32278       SWIG_fail_ptr("SBInstruction_GetDescription",1,SWIGTYPE_p_lldb__SBInstruction);
32279     }
32280 
32281 
32282     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
32283       SWIG_fail_ptr("SBInstruction_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
32284     }
32285 
32286     result = (bool)(arg1)->GetDescription(*arg2);
32287     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32288     return SWIG_arg;
32289 
32290     fail: SWIGUNUSED;
32291   }
32292   lua_error(L);
32293   return 0;
32294 }
32295 
32296 
_wrap_SBInstruction_EmulateWithFrame(lua_State * L)32297 static int _wrap_SBInstruction_EmulateWithFrame(lua_State* L) {
32298   {
32299     int SWIG_arg = 0;
32300     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32301     lldb::SBFrame *arg2 = 0 ;
32302     uint32_t arg3 ;
32303     bool result;
32304 
32305     SWIG_check_num_args("lldb::SBInstruction::EmulateWithFrame",3,3)
32306     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",1,"lldb::SBInstruction *");
32307     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",2,"lldb::SBFrame &");
32308     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBInstruction::EmulateWithFrame",3,"uint32_t");
32309 
32310     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32311       SWIG_fail_ptr("SBInstruction_EmulateWithFrame",1,SWIGTYPE_p_lldb__SBInstruction);
32312     }
32313 
32314 
32315     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
32316       SWIG_fail_ptr("SBInstruction_EmulateWithFrame",2,SWIGTYPE_p_lldb__SBFrame);
32317     }
32318 
32319     arg3 = (uint32_t)lua_tointeger(L, 3);
32320     result = (bool)(arg1)->EmulateWithFrame(*arg2,arg3);
32321     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32322     return SWIG_arg;
32323 
32324     fail: SWIGUNUSED;
32325   }
32326   lua_error(L);
32327   return 0;
32328 }
32329 
32330 
_wrap_SBInstruction_DumpEmulation(lua_State * L)32331 static int _wrap_SBInstruction_DumpEmulation(lua_State* L) {
32332   {
32333     int SWIG_arg = 0;
32334     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32335     char *arg2 = (char *) 0 ;
32336     bool result;
32337 
32338     SWIG_check_num_args("lldb::SBInstruction::DumpEmulation",2,2)
32339     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",1,"lldb::SBInstruction *");
32340     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstruction::DumpEmulation",2,"char const *");
32341 
32342     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32343       SWIG_fail_ptr("SBInstruction_DumpEmulation",1,SWIGTYPE_p_lldb__SBInstruction);
32344     }
32345 
32346     arg2 = (char *)lua_tostring(L, 2);
32347     result = (bool)(arg1)->DumpEmulation((char const *)arg2);
32348     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32349     return SWIG_arg;
32350 
32351     fail: SWIGUNUSED;
32352   }
32353   lua_error(L);
32354   return 0;
32355 }
32356 
32357 
_wrap_SBInstruction_TestEmulation(lua_State * L)32358 static int _wrap_SBInstruction_TestEmulation(lua_State* L) {
32359   {
32360     int SWIG_arg = 0;
32361     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32362     lldb::SBStream *arg2 = 0 ;
32363     char *arg3 = (char *) 0 ;
32364     bool result;
32365 
32366     SWIG_check_num_args("lldb::SBInstruction::TestEmulation",3,3)
32367     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",1,"lldb::SBInstruction *");
32368     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",2,"lldb::SBStream &");
32369     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBInstruction::TestEmulation",3,"char const *");
32370 
32371     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32372       SWIG_fail_ptr("SBInstruction_TestEmulation",1,SWIGTYPE_p_lldb__SBInstruction);
32373     }
32374 
32375 
32376     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
32377       SWIG_fail_ptr("SBInstruction_TestEmulation",2,SWIGTYPE_p_lldb__SBStream);
32378     }
32379 
32380     arg3 = (char *)lua_tostring(L, 3);
32381     result = (bool)(arg1)->TestEmulation(*arg2,(char const *)arg3);
32382     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32383     return SWIG_arg;
32384 
32385     fail: SWIGUNUSED;
32386   }
32387   lua_error(L);
32388   return 0;
32389 }
32390 
32391 
_wrap_SBInstruction___tostring(lua_State * L)32392 static int _wrap_SBInstruction___tostring(lua_State* L) {
32393   {
32394     int SWIG_arg = 0;
32395     lldb::SBInstruction *arg1 = (lldb::SBInstruction *) 0 ;
32396     std::string result;
32397 
32398     SWIG_check_num_args("lldb::SBInstruction::__repr__",1,1)
32399     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstruction::__repr__",1,"lldb::SBInstruction *");
32400 
32401     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstruction,0))){
32402       SWIG_fail_ptr("SBInstruction___tostring",1,SWIGTYPE_p_lldb__SBInstruction);
32403     }
32404 
32405     result = lldb_SBInstruction___repr__(arg1);
32406     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
32407     return SWIG_arg;
32408 
32409     fail: SWIGUNUSED;
32410   }
32411   lua_error(L);
32412   return 0;
32413 }
32414 
32415 
swig_delete_SBInstruction(void * obj)32416 static void swig_delete_SBInstruction(void *obj) {
32417 lldb::SBInstruction *arg1 = (lldb::SBInstruction *) obj;
32418 delete arg1;
32419 }
_proxy__wrap_new_SBInstruction(lua_State * L)32420 static int _proxy__wrap_new_SBInstruction(lua_State *L) {
32421     assert(lua_istable(L,1));
32422     lua_pushcfunction(L,_wrap_new_SBInstruction);
32423     assert(!lua_isnil(L,-1));
32424     lua_replace(L,1); /* replace our table with real constructor */
32425     lua_call(L,lua_gettop(L)-1,1);
32426     return 1;
32427 }
32428 static swig_lua_attribute swig_SBInstruction_attributes[] = {
32429     {0,0,0}
32430 };
32431 static swig_lua_method swig_SBInstruction_methods[]= {
32432     { "IsValid", _wrap_SBInstruction_IsValid},
32433     { "GetAddress", _wrap_SBInstruction_GetAddress},
32434     { "GetMnemonic", _wrap_SBInstruction_GetMnemonic},
32435     { "GetOperands", _wrap_SBInstruction_GetOperands},
32436     { "GetComment", _wrap_SBInstruction_GetComment},
32437     { "GetControlFlowKind", _wrap_SBInstruction_GetControlFlowKind},
32438     { "GetData", _wrap_SBInstruction_GetData},
32439     { "GetByteSize", _wrap_SBInstruction_GetByteSize},
32440     { "DoesBranch", _wrap_SBInstruction_DoesBranch},
32441     { "HasDelaySlot", _wrap_SBInstruction_HasDelaySlot},
32442     { "CanSetBreakpoint", _wrap_SBInstruction_CanSetBreakpoint},
32443     { "Print", _wrap_SBInstruction_Print},
32444     { "GetDescription", _wrap_SBInstruction_GetDescription},
32445     { "EmulateWithFrame", _wrap_SBInstruction_EmulateWithFrame},
32446     { "DumpEmulation", _wrap_SBInstruction_DumpEmulation},
32447     { "TestEmulation", _wrap_SBInstruction_TestEmulation},
32448     { "__tostring", _wrap_SBInstruction___tostring},
32449     {0,0}
32450 };
32451 static swig_lua_method swig_SBInstruction_meta[] = {
32452     { "__tostring", _wrap_SBInstruction___tostring},
32453     {0,0}
32454 };
32455 
32456 static swig_lua_attribute swig_SBInstruction_Sf_SwigStatic_attributes[] = {
32457     {0,0,0}
32458 };
32459 static swig_lua_const_info swig_SBInstruction_Sf_SwigStatic_constants[]= {
32460     {0,0,0,0,0,0}
32461 };
32462 static swig_lua_method swig_SBInstruction_Sf_SwigStatic_methods[]= {
32463     {0,0}
32464 };
32465 static swig_lua_class* swig_SBInstruction_Sf_SwigStatic_classes[]= {
32466     0
32467 };
32468 
32469 static swig_lua_namespace swig_SBInstruction_Sf_SwigStatic = {
32470     "SBInstruction",
32471     swig_SBInstruction_Sf_SwigStatic_methods,
32472     swig_SBInstruction_Sf_SwigStatic_attributes,
32473     swig_SBInstruction_Sf_SwigStatic_constants,
32474     swig_SBInstruction_Sf_SwigStatic_classes,
32475     0
32476 };
32477 static swig_lua_class *swig_SBInstruction_bases[] = {0};
32478 static const char *swig_SBInstruction_base_names[] = {0};
32479 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 };
32480 
_wrap_new_SBInstructionList__SWIG_0(lua_State * L)32481 static int _wrap_new_SBInstructionList__SWIG_0(lua_State* L) {
32482   {
32483     int SWIG_arg = 0;
32484     lldb::SBInstructionList *result = 0 ;
32485 
32486     SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",0,0)
32487     result = (lldb::SBInstructionList *)new lldb::SBInstructionList();
32488     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
32489     return SWIG_arg;
32490 
32491     fail: SWIGUNUSED;
32492   }
32493   lua_error(L);
32494   return 0;
32495 }
32496 
32497 
_wrap_new_SBInstructionList__SWIG_1(lua_State * L)32498 static int _wrap_new_SBInstructionList__SWIG_1(lua_State* L) {
32499   {
32500     int SWIG_arg = 0;
32501     lldb::SBInstructionList *arg1 = 0 ;
32502     lldb::SBInstructionList *result = 0 ;
32503 
32504     SWIG_check_num_args("lldb::SBInstructionList::SBInstructionList",1,1)
32505     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBInstructionList::SBInstructionList",1,"lldb::SBInstructionList const &");
32506 
32507     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32508       SWIG_fail_ptr("new_SBInstructionList",1,SWIGTYPE_p_lldb__SBInstructionList);
32509     }
32510 
32511     result = (lldb::SBInstructionList *)new lldb::SBInstructionList((lldb::SBInstructionList const &)*arg1);
32512     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
32513     return SWIG_arg;
32514 
32515     fail: SWIGUNUSED;
32516   }
32517   lua_error(L);
32518   return 0;
32519 }
32520 
32521 
_wrap_new_SBInstructionList(lua_State * L)32522 static int _wrap_new_SBInstructionList(lua_State* L) {
32523   int argc;
32524   int argv[2]={
32525     1,2
32526   };
32527 
32528   argc = lua_gettop(L);
32529   if (argc == 0) {
32530     return _wrap_new_SBInstructionList__SWIG_0(L);
32531   }
32532   if (argc == 1) {
32533     int _v = 0;
32534     {
32535       void *ptr;
32536       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_NO_NULL)) {
32537         _v = 0;
32538       } else {
32539         _v = 1;
32540       }
32541     }
32542     if (_v) {
32543       return _wrap_new_SBInstructionList__SWIG_1(L);
32544     }
32545   }
32546 
32547   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBInstructionList'\n"
32548     "  Possible C/C++ prototypes are:\n"
32549     "    lldb::SBInstructionList::SBInstructionList()\n"
32550     "    lldb::SBInstructionList::SBInstructionList(lldb::SBInstructionList const &)\n");
32551   lua_error(L);return 0;
32552 }
32553 
32554 
_wrap_SBInstructionList_IsValid(lua_State * L)32555 static int _wrap_SBInstructionList_IsValid(lua_State* L) {
32556   {
32557     int SWIG_arg = 0;
32558     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32559     bool result;
32560 
32561     SWIG_check_num_args("lldb::SBInstructionList::IsValid",1,1)
32562     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::IsValid",1,"lldb::SBInstructionList const *");
32563 
32564     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32565       SWIG_fail_ptr("SBInstructionList_IsValid",1,SWIGTYPE_p_lldb__SBInstructionList);
32566     }
32567 
32568     result = (bool)((lldb::SBInstructionList const *)arg1)->IsValid();
32569     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32570     return SWIG_arg;
32571 
32572     fail: SWIGUNUSED;
32573   }
32574   lua_error(L);
32575   return 0;
32576 }
32577 
32578 
_wrap_SBInstructionList_GetSize(lua_State * L)32579 static int _wrap_SBInstructionList_GetSize(lua_State* L) {
32580   {
32581     int SWIG_arg = 0;
32582     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32583     size_t result;
32584 
32585     SWIG_check_num_args("lldb::SBInstructionList::GetSize",1,1)
32586     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetSize",1,"lldb::SBInstructionList *");
32587 
32588     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32589       SWIG_fail_ptr("SBInstructionList_GetSize",1,SWIGTYPE_p_lldb__SBInstructionList);
32590     }
32591 
32592     result = (arg1)->GetSize();
32593     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
32594     return SWIG_arg;
32595 
32596     fail: SWIGUNUSED;
32597   }
32598   lua_error(L);
32599   return 0;
32600 }
32601 
32602 
_wrap_SBInstructionList_GetInstructionAtIndex(lua_State * L)32603 static int _wrap_SBInstructionList_GetInstructionAtIndex(lua_State* L) {
32604   {
32605     int SWIG_arg = 0;
32606     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32607     uint32_t arg2 ;
32608     lldb::SBInstruction result;
32609 
32610     SWIG_check_num_args("lldb::SBInstructionList::GetInstructionAtIndex",2,2)
32611     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",1,"lldb::SBInstructionList *");
32612     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionAtIndex",2,"uint32_t");
32613 
32614     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32615       SWIG_fail_ptr("SBInstructionList_GetInstructionAtIndex",1,SWIGTYPE_p_lldb__SBInstructionList);
32616     }
32617 
32618     arg2 = (uint32_t)lua_tointeger(L, 2);
32619     result = (arg1)->GetInstructionAtIndex(arg2);
32620     {
32621       lldb::SBInstruction * resultptr = new lldb::SBInstruction(result);
32622       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstruction,1); SWIG_arg++;
32623     }
32624     return SWIG_arg;
32625 
32626     fail: SWIGUNUSED;
32627   }
32628   lua_error(L);
32629   return 0;
32630 }
32631 
32632 
_wrap_SBInstructionList_GetInstructionsCount__SWIG_0(lua_State * L)32633 static int _wrap_SBInstructionList_GetInstructionsCount__SWIG_0(lua_State* L) {
32634   {
32635     int SWIG_arg = 0;
32636     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32637     lldb::SBAddress *arg2 = 0 ;
32638     lldb::SBAddress *arg3 = 0 ;
32639     bool arg4 ;
32640     size_t result;
32641 
32642     SWIG_check_num_args("lldb::SBInstructionList::GetInstructionsCount",4,4)
32643     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",1,"lldb::SBInstructionList *");
32644     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",2,"lldb::SBAddress const &");
32645     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",3,"lldb::SBAddress const &");
32646     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",4,"bool");
32647 
32648     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32649       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",1,SWIGTYPE_p_lldb__SBInstructionList);
32650     }
32651 
32652 
32653     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
32654       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",2,SWIGTYPE_p_lldb__SBAddress);
32655     }
32656 
32657 
32658     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){
32659       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",3,SWIGTYPE_p_lldb__SBAddress);
32660     }
32661 
32662     arg4 = (lua_toboolean(L, 4)!=0);
32663     result = (arg1)->GetInstructionsCount((lldb::SBAddress const &)*arg2,(lldb::SBAddress const &)*arg3,arg4);
32664     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
32665     return SWIG_arg;
32666 
32667     fail: SWIGUNUSED;
32668   }
32669   lua_error(L);
32670   return 0;
32671 }
32672 
32673 
_wrap_SBInstructionList_GetInstructionsCount__SWIG_1(lua_State * L)32674 static int _wrap_SBInstructionList_GetInstructionsCount__SWIG_1(lua_State* L) {
32675   {
32676     int SWIG_arg = 0;
32677     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32678     lldb::SBAddress *arg2 = 0 ;
32679     lldb::SBAddress *arg3 = 0 ;
32680     size_t result;
32681 
32682     SWIG_check_num_args("lldb::SBInstructionList::GetInstructionsCount",3,3)
32683     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",1,"lldb::SBInstructionList *");
32684     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",2,"lldb::SBAddress const &");
32685     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBInstructionList::GetInstructionsCount",3,"lldb::SBAddress const &");
32686 
32687     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32688       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",1,SWIGTYPE_p_lldb__SBInstructionList);
32689     }
32690 
32691 
32692     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
32693       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",2,SWIGTYPE_p_lldb__SBAddress);
32694     }
32695 
32696 
32697     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){
32698       SWIG_fail_ptr("SBInstructionList_GetInstructionsCount",3,SWIGTYPE_p_lldb__SBAddress);
32699     }
32700 
32701     result = (arg1)->GetInstructionsCount((lldb::SBAddress const &)*arg2,(lldb::SBAddress const &)*arg3);
32702     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
32703     return SWIG_arg;
32704 
32705     fail: SWIGUNUSED;
32706   }
32707   lua_error(L);
32708   return 0;
32709 }
32710 
32711 
_wrap_SBInstructionList_GetInstructionsCount(lua_State * L)32712 static int _wrap_SBInstructionList_GetInstructionsCount(lua_State* L) {
32713   int argc;
32714   int argv[5]={
32715     1,2,3,4,5
32716   };
32717 
32718   argc = lua_gettop(L);
32719   if (argc == 3) {
32720     int _v = 0;
32721     {
32722       void *ptr;
32723       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) {
32724         _v = 0;
32725       } else {
32726         _v = 1;
32727       }
32728     }
32729     if (_v) {
32730       {
32731         void *ptr;
32732         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
32733           _v = 0;
32734         } else {
32735           _v = 1;
32736         }
32737       }
32738       if (_v) {
32739         {
32740           void *ptr;
32741           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
32742             _v = 0;
32743           } else {
32744             _v = 1;
32745           }
32746         }
32747         if (_v) {
32748           return _wrap_SBInstructionList_GetInstructionsCount__SWIG_1(L);
32749         }
32750       }
32751     }
32752   }
32753   if (argc == 4) {
32754     int _v = 0;
32755     {
32756       void *ptr;
32757       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) {
32758         _v = 0;
32759       } else {
32760         _v = 1;
32761       }
32762     }
32763     if (_v) {
32764       {
32765         void *ptr;
32766         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
32767           _v = 0;
32768         } else {
32769           _v = 1;
32770         }
32771       }
32772       if (_v) {
32773         {
32774           void *ptr;
32775           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
32776             _v = 0;
32777           } else {
32778             _v = 1;
32779           }
32780         }
32781         if (_v) {
32782           {
32783             _v = lua_isboolean(L,argv[3]);
32784           }
32785           if (_v) {
32786             return _wrap_SBInstructionList_GetInstructionsCount__SWIG_0(L);
32787           }
32788         }
32789       }
32790     }
32791   }
32792 
32793   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBInstructionList_GetInstructionsCount'\n"
32794     "  Possible C/C++ prototypes are:\n"
32795     "    lldb::SBInstructionList::GetInstructionsCount(lldb::SBAddress const &,lldb::SBAddress const &,bool)\n"
32796     "    lldb::SBInstructionList::GetInstructionsCount(lldb::SBAddress const &,lldb::SBAddress const &)\n");
32797   lua_error(L);return 0;
32798 }
32799 
32800 
_wrap_SBInstructionList_Clear(lua_State * L)32801 static int _wrap_SBInstructionList_Clear(lua_State* L) {
32802   {
32803     int SWIG_arg = 0;
32804     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32805 
32806     SWIG_check_num_args("lldb::SBInstructionList::Clear",1,1)
32807     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Clear",1,"lldb::SBInstructionList *");
32808 
32809     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32810       SWIG_fail_ptr("SBInstructionList_Clear",1,SWIGTYPE_p_lldb__SBInstructionList);
32811     }
32812 
32813     (arg1)->Clear();
32814 
32815     return SWIG_arg;
32816 
32817     fail: SWIGUNUSED;
32818   }
32819   lua_error(L);
32820   return 0;
32821 }
32822 
32823 
_wrap_SBInstructionList_AppendInstruction(lua_State * L)32824 static int _wrap_SBInstructionList_AppendInstruction(lua_State* L) {
32825   {
32826     int SWIG_arg = 0;
32827     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32828     lldb::SBInstruction arg2 ;
32829     lldb::SBInstruction *argp2 ;
32830 
32831     SWIG_check_num_args("lldb::SBInstructionList::AppendInstruction",2,2)
32832     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",1,"lldb::SBInstructionList *");
32833     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::AppendInstruction",2,"lldb::SBInstruction");
32834 
32835     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32836       SWIG_fail_ptr("SBInstructionList_AppendInstruction",1,SWIGTYPE_p_lldb__SBInstructionList);
32837     }
32838 
32839 
32840     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBInstruction,0))){
32841       SWIG_fail_ptr("SBInstructionList_AppendInstruction",2,SWIGTYPE_p_lldb__SBInstruction);
32842     }
32843     arg2 = *argp2;
32844 
32845     (arg1)->AppendInstruction(arg2);
32846 
32847     return SWIG_arg;
32848 
32849     fail: SWIGUNUSED;
32850   }
32851   lua_error(L);
32852   return 0;
32853 }
32854 
32855 
_wrap_SBInstructionList_Print__SWIG_0(lua_State * L)32856 static int _wrap_SBInstructionList_Print__SWIG_0(lua_State* L) {
32857   {
32858     int SWIG_arg = 0;
32859     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32860     lldb::SBFile arg2 ;
32861     lldb::SBFile *argp2 ;
32862 
32863     SWIG_check_num_args("lldb::SBInstructionList::Print",2,2)
32864     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *");
32865     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::Print",2,"lldb::SBFile");
32866 
32867     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32868       SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList);
32869     }
32870 
32871 
32872     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
32873       SWIG_fail_ptr("SBInstructionList_Print",2,SWIGTYPE_p_lldb__SBFile);
32874     }
32875     arg2 = *argp2;
32876 
32877     (arg1)->Print(arg2);
32878 
32879     return SWIG_arg;
32880 
32881     fail: SWIGUNUSED;
32882   }
32883   lua_error(L);
32884   return 0;
32885 }
32886 
32887 
_wrap_SBInstructionList_Print__SWIG_1(lua_State * L)32888 static int _wrap_SBInstructionList_Print__SWIG_1(lua_State* L) {
32889   {
32890     int SWIG_arg = 0;
32891     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32892     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
32893 
32894     SWIG_check_num_args("lldb::SBInstructionList::Print",2,2)
32895     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::Print",1,"lldb::SBInstructionList *");
32896 
32897     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32898       SWIG_fail_ptr("SBInstructionList_Print",1,SWIGTYPE_p_lldb__SBInstructionList);
32899     }
32900 
32901     {
32902       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
32903       lldb::FileSP file_sp;
32904       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
32905       if (!file_sp->IsValid())
32906       return luaL_error(L, "Invalid file");
32907       arg2 = file_sp;
32908     }
32909     (arg1)->Print(arg2);
32910 
32911     return SWIG_arg;
32912 
32913     fail: SWIGUNUSED;
32914   }
32915   lua_error(L);
32916   return 0;
32917 }
32918 
32919 
_wrap_SBInstructionList_Print(lua_State * L)32920 static int _wrap_SBInstructionList_Print(lua_State* L) {
32921   int argc;
32922   int argv[3]={
32923     1,2,3
32924   };
32925 
32926   argc = lua_gettop(L);
32927   if (argc == 2) {
32928     int _v = 0;
32929     {
32930       void *ptr;
32931       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) {
32932         _v = 0;
32933       } else {
32934         _v = 1;
32935       }
32936     }
32937     if (_v) {
32938       {
32939         void *ptr;
32940         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
32941           _v = 0;
32942         } else {
32943           _v = 1;
32944         }
32945       }
32946       if (_v) {
32947         return _wrap_SBInstructionList_Print__SWIG_0(L);
32948       }
32949     }
32950   }
32951   if (argc == 2) {
32952     int _v = 0;
32953     {
32954       void *ptr;
32955       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBInstructionList, 0)) {
32956         _v = 0;
32957       } else {
32958         _v = 1;
32959       }
32960     }
32961     if (_v) {
32962       {
32963         _v = (lua_isuserdata(L, argv[1])) &&
32964         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
32965       }
32966       if (_v) {
32967         return _wrap_SBInstructionList_Print__SWIG_1(L);
32968       }
32969     }
32970   }
32971 
32972   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBInstructionList_Print'\n"
32973     "  Possible C/C++ prototypes are:\n"
32974     "    lldb::SBInstructionList::Print(lldb::SBFile)\n"
32975     "    lldb::SBInstructionList::Print(lldb::FileSP)\n");
32976   lua_error(L);return 0;
32977 }
32978 
32979 
_wrap_SBInstructionList_GetDescription(lua_State * L)32980 static int _wrap_SBInstructionList_GetDescription(lua_State* L) {
32981   {
32982     int SWIG_arg = 0;
32983     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
32984     lldb::SBStream *arg2 = 0 ;
32985     bool result;
32986 
32987     SWIG_check_num_args("lldb::SBInstructionList::GetDescription",2,2)
32988     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",1,"lldb::SBInstructionList *");
32989     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBInstructionList::GetDescription",2,"lldb::SBStream &");
32990 
32991     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
32992       SWIG_fail_ptr("SBInstructionList_GetDescription",1,SWIGTYPE_p_lldb__SBInstructionList);
32993     }
32994 
32995 
32996     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
32997       SWIG_fail_ptr("SBInstructionList_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
32998     }
32999 
33000     result = (bool)(arg1)->GetDescription(*arg2);
33001     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
33002     return SWIG_arg;
33003 
33004     fail: SWIGUNUSED;
33005   }
33006   lua_error(L);
33007   return 0;
33008 }
33009 
33010 
_wrap_SBInstructionList_DumpEmulationForAllInstructions(lua_State * L)33011 static int _wrap_SBInstructionList_DumpEmulationForAllInstructions(lua_State* L) {
33012   {
33013     int SWIG_arg = 0;
33014     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
33015     char *arg2 = (char *) 0 ;
33016     bool result;
33017 
33018     SWIG_check_num_args("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,2)
33019     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",1,"lldb::SBInstructionList *");
33020     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBInstructionList::DumpEmulationForAllInstructions",2,"char const *");
33021 
33022     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
33023       SWIG_fail_ptr("SBInstructionList_DumpEmulationForAllInstructions",1,SWIGTYPE_p_lldb__SBInstructionList);
33024     }
33025 
33026     arg2 = (char *)lua_tostring(L, 2);
33027     result = (bool)(arg1)->DumpEmulationForAllInstructions((char const *)arg2);
33028     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
33029     return SWIG_arg;
33030 
33031     fail: SWIGUNUSED;
33032   }
33033   lua_error(L);
33034   return 0;
33035 }
33036 
33037 
_wrap_SBInstructionList___tostring(lua_State * L)33038 static int _wrap_SBInstructionList___tostring(lua_State* L) {
33039   {
33040     int SWIG_arg = 0;
33041     lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) 0 ;
33042     std::string result;
33043 
33044     SWIG_check_num_args("lldb::SBInstructionList::__repr__",1,1)
33045     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBInstructionList::__repr__",1,"lldb::SBInstructionList *");
33046 
33047     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBInstructionList,0))){
33048       SWIG_fail_ptr("SBInstructionList___tostring",1,SWIGTYPE_p_lldb__SBInstructionList);
33049     }
33050 
33051     result = lldb_SBInstructionList___repr__(arg1);
33052     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
33053     return SWIG_arg;
33054 
33055     fail: SWIGUNUSED;
33056   }
33057   lua_error(L);
33058   return 0;
33059 }
33060 
33061 
swig_delete_SBInstructionList(void * obj)33062 static void swig_delete_SBInstructionList(void *obj) {
33063 lldb::SBInstructionList *arg1 = (lldb::SBInstructionList *) obj;
33064 delete arg1;
33065 }
_proxy__wrap_new_SBInstructionList(lua_State * L)33066 static int _proxy__wrap_new_SBInstructionList(lua_State *L) {
33067     assert(lua_istable(L,1));
33068     lua_pushcfunction(L,_wrap_new_SBInstructionList);
33069     assert(!lua_isnil(L,-1));
33070     lua_replace(L,1); /* replace our table with real constructor */
33071     lua_call(L,lua_gettop(L)-1,1);
33072     return 1;
33073 }
33074 static swig_lua_attribute swig_SBInstructionList_attributes[] = {
33075     {0,0,0}
33076 };
33077 static swig_lua_method swig_SBInstructionList_methods[]= {
33078     { "IsValid", _wrap_SBInstructionList_IsValid},
33079     { "GetSize", _wrap_SBInstructionList_GetSize},
33080     { "GetInstructionAtIndex", _wrap_SBInstructionList_GetInstructionAtIndex},
33081     { "GetInstructionsCount", _wrap_SBInstructionList_GetInstructionsCount},
33082     { "Clear", _wrap_SBInstructionList_Clear},
33083     { "AppendInstruction", _wrap_SBInstructionList_AppendInstruction},
33084     { "Print", _wrap_SBInstructionList_Print},
33085     { "GetDescription", _wrap_SBInstructionList_GetDescription},
33086     { "DumpEmulationForAllInstructions", _wrap_SBInstructionList_DumpEmulationForAllInstructions},
33087     { "__tostring", _wrap_SBInstructionList___tostring},
33088     {0,0}
33089 };
33090 static swig_lua_method swig_SBInstructionList_meta[] = {
33091     { "__tostring", _wrap_SBInstructionList___tostring},
33092     {0,0}
33093 };
33094 
33095 static swig_lua_attribute swig_SBInstructionList_Sf_SwigStatic_attributes[] = {
33096     {0,0,0}
33097 };
33098 static swig_lua_const_info swig_SBInstructionList_Sf_SwigStatic_constants[]= {
33099     {0,0,0,0,0,0}
33100 };
33101 static swig_lua_method swig_SBInstructionList_Sf_SwigStatic_methods[]= {
33102     {0,0}
33103 };
33104 static swig_lua_class* swig_SBInstructionList_Sf_SwigStatic_classes[]= {
33105     0
33106 };
33107 
33108 static swig_lua_namespace swig_SBInstructionList_Sf_SwigStatic = {
33109     "SBInstructionList",
33110     swig_SBInstructionList_Sf_SwigStatic_methods,
33111     swig_SBInstructionList_Sf_SwigStatic_attributes,
33112     swig_SBInstructionList_Sf_SwigStatic_constants,
33113     swig_SBInstructionList_Sf_SwigStatic_classes,
33114     0
33115 };
33116 static swig_lua_class *swig_SBInstructionList_bases[] = {0};
33117 static const char *swig_SBInstructionList_base_names[] = {0};
33118 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 };
33119 
_wrap_SBLanguageRuntime_GetLanguageTypeFromString(lua_State * L)33120 static int _wrap_SBLanguageRuntime_GetLanguageTypeFromString(lua_State* L) {
33121   {
33122     int SWIG_arg = 0;
33123     char *arg1 = (char *) 0 ;
33124     lldb::LanguageType result;
33125 
33126     SWIG_check_num_args("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,1)
33127     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetLanguageTypeFromString",1,"char const *");
33128     arg1 = (char *)lua_tostring(L, 1);
33129     result = (lldb::LanguageType)lldb::SBLanguageRuntime::GetLanguageTypeFromString((char const *)arg1);
33130     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33131     return SWIG_arg;
33132 
33133     fail: SWIGUNUSED;
33134   }
33135   lua_error(L);
33136   return 0;
33137 }
33138 
33139 
_wrap_SBLanguageRuntime_GetNameForLanguageType(lua_State * L)33140 static int _wrap_SBLanguageRuntime_GetNameForLanguageType(lua_State* L) {
33141   {
33142     int SWIG_arg = 0;
33143     lldb::LanguageType arg1 ;
33144     char *result = 0 ;
33145 
33146     SWIG_check_num_args("lldb::SBLanguageRuntime::GetNameForLanguageType",1,1)
33147     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBLanguageRuntime::GetNameForLanguageType",1,"lldb::LanguageType");
33148     arg1 = (lldb::LanguageType)lua_tointeger(L, 1);
33149     result = (char *)lldb::SBLanguageRuntime::GetNameForLanguageType(arg1);
33150     lua_pushstring(L,(const char *)result); SWIG_arg++;
33151     return SWIG_arg;
33152 
33153     fail: SWIGUNUSED;
33154   }
33155   lua_error(L);
33156   return 0;
33157 }
33158 
33159 
_wrap_new_SBLanguageRuntime(lua_State * L)33160 static int _wrap_new_SBLanguageRuntime(lua_State* L) {
33161   {
33162     int SWIG_arg = 0;
33163     lldb::SBLanguageRuntime *result = 0 ;
33164 
33165     SWIG_check_num_args("lldb::SBLanguageRuntime::SBLanguageRuntime",0,0)
33166     result = (lldb::SBLanguageRuntime *)new lldb::SBLanguageRuntime();
33167     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLanguageRuntime,1); SWIG_arg++;
33168     return SWIG_arg;
33169 
33170     fail: SWIGUNUSED;
33171   }
33172   lua_error(L);
33173   return 0;
33174 }
33175 
33176 
swig_delete_SBLanguageRuntime(void * obj)33177 static void swig_delete_SBLanguageRuntime(void *obj) {
33178 lldb::SBLanguageRuntime *arg1 = (lldb::SBLanguageRuntime *) obj;
33179 delete arg1;
33180 }
_proxy__wrap_new_SBLanguageRuntime(lua_State * L)33181 static int _proxy__wrap_new_SBLanguageRuntime(lua_State *L) {
33182     assert(lua_istable(L,1));
33183     lua_pushcfunction(L,_wrap_new_SBLanguageRuntime);
33184     assert(!lua_isnil(L,-1));
33185     lua_replace(L,1); /* replace our table with real constructor */
33186     lua_call(L,lua_gettop(L)-1,1);
33187     return 1;
33188 }
33189 static swig_lua_attribute swig_SBLanguageRuntime_attributes[] = {
33190     {0,0,0}
33191 };
33192 static swig_lua_method swig_SBLanguageRuntime_methods[]= {
33193     {0,0}
33194 };
33195 static swig_lua_method swig_SBLanguageRuntime_meta[] = {
33196     {0,0}
33197 };
33198 
33199 static swig_lua_attribute swig_SBLanguageRuntime_Sf_SwigStatic_attributes[] = {
33200     {0,0,0}
33201 };
33202 static swig_lua_const_info swig_SBLanguageRuntime_Sf_SwigStatic_constants[]= {
33203     {0,0,0,0,0,0}
33204 };
33205 static swig_lua_method swig_SBLanguageRuntime_Sf_SwigStatic_methods[]= {
33206     { "GetLanguageTypeFromString", _wrap_SBLanguageRuntime_GetLanguageTypeFromString},
33207     { "GetNameForLanguageType", _wrap_SBLanguageRuntime_GetNameForLanguageType},
33208     {0,0}
33209 };
33210 static swig_lua_class* swig_SBLanguageRuntime_Sf_SwigStatic_classes[]= {
33211     0
33212 };
33213 
33214 static swig_lua_namespace swig_SBLanguageRuntime_Sf_SwigStatic = {
33215     "SBLanguageRuntime",
33216     swig_SBLanguageRuntime_Sf_SwigStatic_methods,
33217     swig_SBLanguageRuntime_Sf_SwigStatic_attributes,
33218     swig_SBLanguageRuntime_Sf_SwigStatic_constants,
33219     swig_SBLanguageRuntime_Sf_SwigStatic_classes,
33220     0
33221 };
33222 static swig_lua_class *swig_SBLanguageRuntime_bases[] = {0};
33223 static const char *swig_SBLanguageRuntime_base_names[] = {0};
33224 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 };
33225 
_wrap_new_SBLaunchInfo(lua_State * L)33226 static int _wrap_new_SBLaunchInfo(lua_State* L) {
33227   {
33228     int SWIG_arg = 0;
33229     char **arg1 = (char **) 0 ;
33230     lldb::SBLaunchInfo *result = 0 ;
33231 
33232     SWIG_check_num_args("lldb::SBLaunchInfo::SBLaunchInfo",1,1)
33233     {
33234       if (lua_istable(L, 1)) {
33235         size_t size = lua_rawlen(L, 1);
33236         arg1 = (char **)malloc((size + 1) * sizeof(char *));
33237         int i = 0, j = 0;
33238         while (i++ < size) {
33239           lua_rawgeti(L, 1, i);
33240           if (!lua_isstring(L, -1)) {
33241             // if current element cannot be converted to string, raise an error
33242             lua_pop(L, 1);
33243             return luaL_error(L, "List should only contain strings");
33244           }
33245           arg1[j++] = (char *)lua_tostring(L, -1);
33246           lua_pop(L, 1);
33247         }
33248         arg1[j] = 0;
33249       } else if (lua_isnil(L, 1)) {
33250         // "nil" is also acceptable, equivalent as an empty table
33251         arg1 = NULL;
33252       } else {
33253         return luaL_error(L, "A list of strings expected");
33254       }
33255     }
33256     result = (lldb::SBLaunchInfo *)new lldb::SBLaunchInfo((char const **)arg1);
33257     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++;
33258     {
33259       free((char *) arg1);
33260     }
33261     return SWIG_arg;
33262 
33263     fail: SWIGUNUSED;
33264     {
33265       free((char *) arg1);
33266     }
33267   }
33268   lua_error(L);
33269   return 0;
33270 }
33271 
33272 
_wrap_SBLaunchInfo_GetProcessID(lua_State * L)33273 static int _wrap_SBLaunchInfo_GetProcessID(lua_State* L) {
33274   {
33275     int SWIG_arg = 0;
33276     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33277     lldb::pid_t result;
33278 
33279     SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessID",1,1)
33280     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessID",1,"lldb::SBLaunchInfo *");
33281 
33282     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33283       SWIG_fail_ptr("SBLaunchInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33284     }
33285 
33286     result = (lldb::pid_t)(arg1)->GetProcessID();
33287     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33288     return SWIG_arg;
33289 
33290     fail: SWIGUNUSED;
33291   }
33292   lua_error(L);
33293   return 0;
33294 }
33295 
33296 
_wrap_SBLaunchInfo_GetUserID(lua_State * L)33297 static int _wrap_SBLaunchInfo_GetUserID(lua_State* L) {
33298   {
33299     int SWIG_arg = 0;
33300     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33301     uint32_t result;
33302 
33303     SWIG_check_num_args("lldb::SBLaunchInfo::GetUserID",1,1)
33304     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetUserID",1,"lldb::SBLaunchInfo *");
33305 
33306     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33307       SWIG_fail_ptr("SBLaunchInfo_GetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33308     }
33309 
33310     result = (uint32_t)(arg1)->GetUserID();
33311     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33312     return SWIG_arg;
33313 
33314     fail: SWIGUNUSED;
33315   }
33316   lua_error(L);
33317   return 0;
33318 }
33319 
33320 
_wrap_SBLaunchInfo_GetGroupID(lua_State * L)33321 static int _wrap_SBLaunchInfo_GetGroupID(lua_State* L) {
33322   {
33323     int SWIG_arg = 0;
33324     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33325     uint32_t result;
33326 
33327     SWIG_check_num_args("lldb::SBLaunchInfo::GetGroupID",1,1)
33328     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetGroupID",1,"lldb::SBLaunchInfo *");
33329 
33330     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33331       SWIG_fail_ptr("SBLaunchInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33332     }
33333 
33334     result = (uint32_t)(arg1)->GetGroupID();
33335     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33336     return SWIG_arg;
33337 
33338     fail: SWIGUNUSED;
33339   }
33340   lua_error(L);
33341   return 0;
33342 }
33343 
33344 
_wrap_SBLaunchInfo_UserIDIsValid(lua_State * L)33345 static int _wrap_SBLaunchInfo_UserIDIsValid(lua_State* L) {
33346   {
33347     int SWIG_arg = 0;
33348     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33349     bool result;
33350 
33351     SWIG_check_num_args("lldb::SBLaunchInfo::UserIDIsValid",1,1)
33352     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::UserIDIsValid",1,"lldb::SBLaunchInfo *");
33353 
33354     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33355       SWIG_fail_ptr("SBLaunchInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33356     }
33357 
33358     result = (bool)(arg1)->UserIDIsValid();
33359     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
33360     return SWIG_arg;
33361 
33362     fail: SWIGUNUSED;
33363   }
33364   lua_error(L);
33365   return 0;
33366 }
33367 
33368 
_wrap_SBLaunchInfo_GroupIDIsValid(lua_State * L)33369 static int _wrap_SBLaunchInfo_GroupIDIsValid(lua_State* L) {
33370   {
33371     int SWIG_arg = 0;
33372     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33373     bool result;
33374 
33375     SWIG_check_num_args("lldb::SBLaunchInfo::GroupIDIsValid",1,1)
33376     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GroupIDIsValid",1,"lldb::SBLaunchInfo *");
33377 
33378     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33379       SWIG_fail_ptr("SBLaunchInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33380     }
33381 
33382     result = (bool)(arg1)->GroupIDIsValid();
33383     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
33384     return SWIG_arg;
33385 
33386     fail: SWIGUNUSED;
33387   }
33388   lua_error(L);
33389   return 0;
33390 }
33391 
33392 
_wrap_SBLaunchInfo_SetUserID(lua_State * L)33393 static int _wrap_SBLaunchInfo_SetUserID(lua_State* L) {
33394   {
33395     int SWIG_arg = 0;
33396     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33397     uint32_t arg2 ;
33398 
33399     SWIG_check_num_args("lldb::SBLaunchInfo::SetUserID",2,2)
33400     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",1,"lldb::SBLaunchInfo *");
33401     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetUserID",2,"uint32_t");
33402 
33403     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33404       SWIG_fail_ptr("SBLaunchInfo_SetUserID",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33405     }
33406 
33407     arg2 = (uint32_t)lua_tointeger(L, 2);
33408     (arg1)->SetUserID(arg2);
33409 
33410     return SWIG_arg;
33411 
33412     fail: SWIGUNUSED;
33413   }
33414   lua_error(L);
33415   return 0;
33416 }
33417 
33418 
_wrap_SBLaunchInfo_SetGroupID(lua_State * L)33419 static int _wrap_SBLaunchInfo_SetGroupID(lua_State* L) {
33420   {
33421     int SWIG_arg = 0;
33422     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33423     uint32_t arg2 ;
33424 
33425     SWIG_check_num_args("lldb::SBLaunchInfo::SetGroupID",2,2)
33426     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",1,"lldb::SBLaunchInfo *");
33427     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetGroupID",2,"uint32_t");
33428 
33429     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33430       SWIG_fail_ptr("SBLaunchInfo_SetGroupID",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33431     }
33432 
33433     arg2 = (uint32_t)lua_tointeger(L, 2);
33434     (arg1)->SetGroupID(arg2);
33435 
33436     return SWIG_arg;
33437 
33438     fail: SWIGUNUSED;
33439   }
33440   lua_error(L);
33441   return 0;
33442 }
33443 
33444 
_wrap_SBLaunchInfo_GetExecutableFile(lua_State * L)33445 static int _wrap_SBLaunchInfo_GetExecutableFile(lua_State* L) {
33446   {
33447     int SWIG_arg = 0;
33448     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33449     lldb::SBFileSpec result;
33450 
33451     SWIG_check_num_args("lldb::SBLaunchInfo::GetExecutableFile",1,1)
33452     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetExecutableFile",1,"lldb::SBLaunchInfo *");
33453 
33454     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33455       SWIG_fail_ptr("SBLaunchInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33456     }
33457 
33458     result = (arg1)->GetExecutableFile();
33459     {
33460       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
33461       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
33462     }
33463     return SWIG_arg;
33464 
33465     fail: SWIGUNUSED;
33466   }
33467   lua_error(L);
33468   return 0;
33469 }
33470 
33471 
_wrap_SBLaunchInfo_SetExecutableFile(lua_State * L)33472 static int _wrap_SBLaunchInfo_SetExecutableFile(lua_State* L) {
33473   {
33474     int SWIG_arg = 0;
33475     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33476     lldb::SBFileSpec arg2 ;
33477     bool arg3 ;
33478     lldb::SBFileSpec *argp2 ;
33479 
33480     SWIG_check_num_args("lldb::SBLaunchInfo::SetExecutableFile",3,3)
33481     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",1,"lldb::SBLaunchInfo *");
33482     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",2,"lldb::SBFileSpec");
33483     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetExecutableFile",3,"bool");
33484 
33485     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33486       SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33487     }
33488 
33489 
33490     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){
33491       SWIG_fail_ptr("SBLaunchInfo_SetExecutableFile",2,SWIGTYPE_p_lldb__SBFileSpec);
33492     }
33493     arg2 = *argp2;
33494 
33495     arg3 = (lua_toboolean(L, 3)!=0);
33496     (arg1)->SetExecutableFile(arg2,arg3);
33497 
33498     return SWIG_arg;
33499 
33500     fail: SWIGUNUSED;
33501   }
33502   lua_error(L);
33503   return 0;
33504 }
33505 
33506 
_wrap_SBLaunchInfo_GetListener(lua_State * L)33507 static int _wrap_SBLaunchInfo_GetListener(lua_State* L) {
33508   {
33509     int SWIG_arg = 0;
33510     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33511     lldb::SBListener result;
33512 
33513     SWIG_check_num_args("lldb::SBLaunchInfo::GetListener",1,1)
33514     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetListener",1,"lldb::SBLaunchInfo *");
33515 
33516     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33517       SWIG_fail_ptr("SBLaunchInfo_GetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33518     }
33519 
33520     result = (arg1)->GetListener();
33521     {
33522       lldb::SBListener * resultptr = new lldb::SBListener(result);
33523       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
33524     }
33525     return SWIG_arg;
33526 
33527     fail: SWIGUNUSED;
33528   }
33529   lua_error(L);
33530   return 0;
33531 }
33532 
33533 
_wrap_SBLaunchInfo_SetListener(lua_State * L)33534 static int _wrap_SBLaunchInfo_SetListener(lua_State* L) {
33535   {
33536     int SWIG_arg = 0;
33537     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33538     lldb::SBListener *arg2 = 0 ;
33539 
33540     SWIG_check_num_args("lldb::SBLaunchInfo::SetListener",2,2)
33541     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",1,"lldb::SBLaunchInfo *");
33542     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetListener",2,"lldb::SBListener &");
33543 
33544     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33545       SWIG_fail_ptr("SBLaunchInfo_SetListener",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33546     }
33547 
33548 
33549     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
33550       SWIG_fail_ptr("SBLaunchInfo_SetListener",2,SWIGTYPE_p_lldb__SBListener);
33551     }
33552 
33553     (arg1)->SetListener(*arg2);
33554 
33555     return SWIG_arg;
33556 
33557     fail: SWIGUNUSED;
33558   }
33559   lua_error(L);
33560   return 0;
33561 }
33562 
33563 
_wrap_SBLaunchInfo_GetShadowListener(lua_State * L)33564 static int _wrap_SBLaunchInfo_GetShadowListener(lua_State* L) {
33565   {
33566     int SWIG_arg = 0;
33567     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33568     lldb::SBListener result;
33569 
33570     SWIG_check_num_args("lldb::SBLaunchInfo::GetShadowListener",1,1)
33571     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShadowListener",1,"lldb::SBLaunchInfo *");
33572 
33573     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33574       SWIG_fail_ptr("SBLaunchInfo_GetShadowListener",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33575     }
33576 
33577     result = (arg1)->GetShadowListener();
33578     {
33579       lldb::SBListener * resultptr = new lldb::SBListener(result);
33580       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
33581     }
33582     return SWIG_arg;
33583 
33584     fail: SWIGUNUSED;
33585   }
33586   lua_error(L);
33587   return 0;
33588 }
33589 
33590 
_wrap_SBLaunchInfo_SetShadowListener(lua_State * L)33591 static int _wrap_SBLaunchInfo_SetShadowListener(lua_State* L) {
33592   {
33593     int SWIG_arg = 0;
33594     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33595     lldb::SBListener *arg2 = 0 ;
33596 
33597     SWIG_check_num_args("lldb::SBLaunchInfo::SetShadowListener",2,2)
33598     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShadowListener",1,"lldb::SBLaunchInfo *");
33599     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShadowListener",2,"lldb::SBListener &");
33600 
33601     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33602       SWIG_fail_ptr("SBLaunchInfo_SetShadowListener",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33603     }
33604 
33605 
33606     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
33607       SWIG_fail_ptr("SBLaunchInfo_SetShadowListener",2,SWIGTYPE_p_lldb__SBListener);
33608     }
33609 
33610     (arg1)->SetShadowListener(*arg2);
33611 
33612     return SWIG_arg;
33613 
33614     fail: SWIGUNUSED;
33615   }
33616   lua_error(L);
33617   return 0;
33618 }
33619 
33620 
_wrap_SBLaunchInfo_GetNumArguments(lua_State * L)33621 static int _wrap_SBLaunchInfo_GetNumArguments(lua_State* L) {
33622   {
33623     int SWIG_arg = 0;
33624     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33625     uint32_t result;
33626 
33627     SWIG_check_num_args("lldb::SBLaunchInfo::GetNumArguments",1,1)
33628     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumArguments",1,"lldb::SBLaunchInfo *");
33629 
33630     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33631       SWIG_fail_ptr("SBLaunchInfo_GetNumArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33632     }
33633 
33634     result = (uint32_t)(arg1)->GetNumArguments();
33635     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33636     return SWIG_arg;
33637 
33638     fail: SWIGUNUSED;
33639   }
33640   lua_error(L);
33641   return 0;
33642 }
33643 
33644 
_wrap_SBLaunchInfo_GetArgumentAtIndex(lua_State * L)33645 static int _wrap_SBLaunchInfo_GetArgumentAtIndex(lua_State* L) {
33646   {
33647     int SWIG_arg = 0;
33648     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33649     uint32_t arg2 ;
33650     char *result = 0 ;
33651 
33652     SWIG_check_num_args("lldb::SBLaunchInfo::GetArgumentAtIndex",2,2)
33653     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",1,"lldb::SBLaunchInfo *");
33654     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetArgumentAtIndex",2,"uint32_t");
33655 
33656     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33657       SWIG_fail_ptr("SBLaunchInfo_GetArgumentAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33658     }
33659 
33660     arg2 = (uint32_t)lua_tointeger(L, 2);
33661     result = (char *)(arg1)->GetArgumentAtIndex(arg2);
33662     lua_pushstring(L,(const char *)result); SWIG_arg++;
33663     return SWIG_arg;
33664 
33665     fail: SWIGUNUSED;
33666   }
33667   lua_error(L);
33668   return 0;
33669 }
33670 
33671 
_wrap_SBLaunchInfo_SetArguments(lua_State * L)33672 static int _wrap_SBLaunchInfo_SetArguments(lua_State* L) {
33673   {
33674     int SWIG_arg = 0;
33675     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33676     char **arg2 = (char **) 0 ;
33677     bool arg3 ;
33678 
33679     SWIG_check_num_args("lldb::SBLaunchInfo::SetArguments",3,3)
33680     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",1,"lldb::SBLaunchInfo *");
33681     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetArguments",3,"bool");
33682 
33683     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33684       SWIG_fail_ptr("SBLaunchInfo_SetArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33685     }
33686 
33687     {
33688       if (lua_istable(L, 2)) {
33689         size_t size = lua_rawlen(L, 2);
33690         arg2 = (char **)malloc((size + 1) * sizeof(char *));
33691         int i = 0, j = 0;
33692         while (i++ < size) {
33693           lua_rawgeti(L, 2, i);
33694           if (!lua_isstring(L, -1)) {
33695             // if current element cannot be converted to string, raise an error
33696             lua_pop(L, 1);
33697             return luaL_error(L, "List should only contain strings");
33698           }
33699           arg2[j++] = (char *)lua_tostring(L, -1);
33700           lua_pop(L, 1);
33701         }
33702         arg2[j] = 0;
33703       } else if (lua_isnil(L, 2)) {
33704         // "nil" is also acceptable, equivalent as an empty table
33705         arg2 = NULL;
33706       } else {
33707         return luaL_error(L, "A list of strings expected");
33708       }
33709     }
33710     arg3 = (lua_toboolean(L, 3)!=0);
33711     (arg1)->SetArguments((char const **)arg2,arg3);
33712 
33713     {
33714       free((char *) arg2);
33715     }
33716     return SWIG_arg;
33717 
33718     fail: SWIGUNUSED;
33719     {
33720       free((char *) arg2);
33721     }
33722   }
33723   lua_error(L);
33724   return 0;
33725 }
33726 
33727 
_wrap_SBLaunchInfo_GetNumEnvironmentEntries(lua_State * L)33728 static int _wrap_SBLaunchInfo_GetNumEnvironmentEntries(lua_State* L) {
33729   {
33730     int SWIG_arg = 0;
33731     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33732     uint32_t result;
33733 
33734     SWIG_check_num_args("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,1)
33735     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetNumEnvironmentEntries",1,"lldb::SBLaunchInfo *");
33736 
33737     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33738       SWIG_fail_ptr("SBLaunchInfo_GetNumEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33739     }
33740 
33741     result = (uint32_t)(arg1)->GetNumEnvironmentEntries();
33742     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33743     return SWIG_arg;
33744 
33745     fail: SWIGUNUSED;
33746   }
33747   lua_error(L);
33748   return 0;
33749 }
33750 
33751 
_wrap_SBLaunchInfo_GetEnvironmentEntryAtIndex(lua_State * L)33752 static int _wrap_SBLaunchInfo_GetEnvironmentEntryAtIndex(lua_State* L) {
33753   {
33754     int SWIG_arg = 0;
33755     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33756     uint32_t arg2 ;
33757     char *result = 0 ;
33758 
33759     SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,2)
33760     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",1,"lldb::SBLaunchInfo *");
33761     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex",2,"uint32_t");
33762 
33763     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33764       SWIG_fail_ptr("SBLaunchInfo_GetEnvironmentEntryAtIndex",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33765     }
33766 
33767     arg2 = (uint32_t)lua_tointeger(L, 2);
33768     result = (char *)(arg1)->GetEnvironmentEntryAtIndex(arg2);
33769     lua_pushstring(L,(const char *)result); SWIG_arg++;
33770     return SWIG_arg;
33771 
33772     fail: SWIGUNUSED;
33773   }
33774   lua_error(L);
33775   return 0;
33776 }
33777 
33778 
_wrap_SBLaunchInfo_SetEnvironmentEntries(lua_State * L)33779 static int _wrap_SBLaunchInfo_SetEnvironmentEntries(lua_State* L) {
33780   {
33781     int SWIG_arg = 0;
33782     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33783     char **arg2 = (char **) 0 ;
33784     bool arg3 ;
33785 
33786     SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironmentEntries",3,3)
33787     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",1,"lldb::SBLaunchInfo *");
33788     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironmentEntries",3,"bool");
33789 
33790     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33791       SWIG_fail_ptr("SBLaunchInfo_SetEnvironmentEntries",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33792     }
33793 
33794     {
33795       if (lua_istable(L, 2)) {
33796         size_t size = lua_rawlen(L, 2);
33797         arg2 = (char **)malloc((size + 1) * sizeof(char *));
33798         int i = 0, j = 0;
33799         while (i++ < size) {
33800           lua_rawgeti(L, 2, i);
33801           if (!lua_isstring(L, -1)) {
33802             // if current element cannot be converted to string, raise an error
33803             lua_pop(L, 1);
33804             return luaL_error(L, "List should only contain strings");
33805           }
33806           arg2[j++] = (char *)lua_tostring(L, -1);
33807           lua_pop(L, 1);
33808         }
33809         arg2[j] = 0;
33810       } else if (lua_isnil(L, 2)) {
33811         // "nil" is also acceptable, equivalent as an empty table
33812         arg2 = NULL;
33813       } else {
33814         return luaL_error(L, "A list of strings expected");
33815       }
33816     }
33817     arg3 = (lua_toboolean(L, 3)!=0);
33818     (arg1)->SetEnvironmentEntries((char const **)arg2,arg3);
33819 
33820     {
33821       free((char *) arg2);
33822     }
33823     return SWIG_arg;
33824 
33825     fail: SWIGUNUSED;
33826     {
33827       free((char *) arg2);
33828     }
33829   }
33830   lua_error(L);
33831   return 0;
33832 }
33833 
33834 
_wrap_SBLaunchInfo_SetEnvironment(lua_State * L)33835 static int _wrap_SBLaunchInfo_SetEnvironment(lua_State* L) {
33836   {
33837     int SWIG_arg = 0;
33838     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33839     lldb::SBEnvironment *arg2 = 0 ;
33840     bool arg3 ;
33841 
33842     SWIG_check_num_args("lldb::SBLaunchInfo::SetEnvironment",3,3)
33843     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",1,"lldb::SBLaunchInfo *");
33844     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",2,"lldb::SBEnvironment const &");
33845     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::SetEnvironment",3,"bool");
33846 
33847     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33848       SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33849     }
33850 
33851 
33852     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEnvironment,0))){
33853       SWIG_fail_ptr("SBLaunchInfo_SetEnvironment",2,SWIGTYPE_p_lldb__SBEnvironment);
33854     }
33855 
33856     arg3 = (lua_toboolean(L, 3)!=0);
33857     (arg1)->SetEnvironment((lldb::SBEnvironment const &)*arg2,arg3);
33858 
33859     return SWIG_arg;
33860 
33861     fail: SWIGUNUSED;
33862   }
33863   lua_error(L);
33864   return 0;
33865 }
33866 
33867 
_wrap_SBLaunchInfo_GetEnvironment(lua_State * L)33868 static int _wrap_SBLaunchInfo_GetEnvironment(lua_State* L) {
33869   {
33870     int SWIG_arg = 0;
33871     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33872     lldb::SBEnvironment result;
33873 
33874     SWIG_check_num_args("lldb::SBLaunchInfo::GetEnvironment",1,1)
33875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetEnvironment",1,"lldb::SBLaunchInfo *");
33876 
33877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33878       SWIG_fail_ptr("SBLaunchInfo_GetEnvironment",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33879     }
33880 
33881     result = (arg1)->GetEnvironment();
33882     {
33883       lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result);
33884       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++;
33885     }
33886     return SWIG_arg;
33887 
33888     fail: SWIGUNUSED;
33889   }
33890   lua_error(L);
33891   return 0;
33892 }
33893 
33894 
_wrap_SBLaunchInfo_Clear(lua_State * L)33895 static int _wrap_SBLaunchInfo_Clear(lua_State* L) {
33896   {
33897     int SWIG_arg = 0;
33898     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33899 
33900     SWIG_check_num_args("lldb::SBLaunchInfo::Clear",1,1)
33901     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::Clear",1,"lldb::SBLaunchInfo *");
33902 
33903     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33904       SWIG_fail_ptr("SBLaunchInfo_Clear",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33905     }
33906 
33907     (arg1)->Clear();
33908 
33909     return SWIG_arg;
33910 
33911     fail: SWIGUNUSED;
33912   }
33913   lua_error(L);
33914   return 0;
33915 }
33916 
33917 
_wrap_SBLaunchInfo_GetWorkingDirectory(lua_State * L)33918 static int _wrap_SBLaunchInfo_GetWorkingDirectory(lua_State* L) {
33919   {
33920     int SWIG_arg = 0;
33921     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33922     char *result = 0 ;
33923 
33924     SWIG_check_num_args("lldb::SBLaunchInfo::GetWorkingDirectory",1,1)
33925     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetWorkingDirectory",1,"lldb::SBLaunchInfo const *");
33926 
33927     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33928       SWIG_fail_ptr("SBLaunchInfo_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33929     }
33930 
33931     result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetWorkingDirectory();
33932     lua_pushstring(L,(const char *)result); SWIG_arg++;
33933     return SWIG_arg;
33934 
33935     fail: SWIGUNUSED;
33936   }
33937   lua_error(L);
33938   return 0;
33939 }
33940 
33941 
_wrap_SBLaunchInfo_SetWorkingDirectory(lua_State * L)33942 static int _wrap_SBLaunchInfo_SetWorkingDirectory(lua_State* L) {
33943   {
33944     int SWIG_arg = 0;
33945     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33946     char *arg2 = (char *) 0 ;
33947 
33948     SWIG_check_num_args("lldb::SBLaunchInfo::SetWorkingDirectory",2,2)
33949     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",1,"lldb::SBLaunchInfo *");
33950     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetWorkingDirectory",2,"char const *");
33951 
33952     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33953       SWIG_fail_ptr("SBLaunchInfo_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33954     }
33955 
33956     arg2 = (char *)lua_tostring(L, 2);
33957     (arg1)->SetWorkingDirectory((char const *)arg2);
33958 
33959     return SWIG_arg;
33960 
33961     fail: SWIGUNUSED;
33962   }
33963   lua_error(L);
33964   return 0;
33965 }
33966 
33967 
_wrap_SBLaunchInfo_GetLaunchFlags(lua_State * L)33968 static int _wrap_SBLaunchInfo_GetLaunchFlags(lua_State* L) {
33969   {
33970     int SWIG_arg = 0;
33971     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33972     uint32_t result;
33973 
33974     SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchFlags",1,1)
33975     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchFlags",1,"lldb::SBLaunchInfo *");
33976 
33977     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
33978       SWIG_fail_ptr("SBLaunchInfo_GetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo);
33979     }
33980 
33981     result = (uint32_t)(arg1)->GetLaunchFlags();
33982     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
33983     return SWIG_arg;
33984 
33985     fail: SWIGUNUSED;
33986   }
33987   lua_error(L);
33988   return 0;
33989 }
33990 
33991 
_wrap_SBLaunchInfo_SetLaunchFlags(lua_State * L)33992 static int _wrap_SBLaunchInfo_SetLaunchFlags(lua_State* L) {
33993   {
33994     int SWIG_arg = 0;
33995     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
33996     uint32_t arg2 ;
33997 
33998     SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchFlags",2,2)
33999     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",1,"lldb::SBLaunchInfo *");
34000     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchFlags",2,"uint32_t");
34001 
34002     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34003       SWIG_fail_ptr("SBLaunchInfo_SetLaunchFlags",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34004     }
34005 
34006     arg2 = (uint32_t)lua_tointeger(L, 2);
34007     (arg1)->SetLaunchFlags(arg2);
34008 
34009     return SWIG_arg;
34010 
34011     fail: SWIGUNUSED;
34012   }
34013   lua_error(L);
34014   return 0;
34015 }
34016 
34017 
_wrap_SBLaunchInfo_GetProcessPluginName(lua_State * L)34018 static int _wrap_SBLaunchInfo_GetProcessPluginName(lua_State* L) {
34019   {
34020     int SWIG_arg = 0;
34021     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34022     char *result = 0 ;
34023 
34024     SWIG_check_num_args("lldb::SBLaunchInfo::GetProcessPluginName",1,1)
34025     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetProcessPluginName",1,"lldb::SBLaunchInfo *");
34026 
34027     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34028       SWIG_fail_ptr("SBLaunchInfo_GetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34029     }
34030 
34031     result = (char *)(arg1)->GetProcessPluginName();
34032     lua_pushstring(L,(const char *)result); SWIG_arg++;
34033     return SWIG_arg;
34034 
34035     fail: SWIGUNUSED;
34036   }
34037   lua_error(L);
34038   return 0;
34039 }
34040 
34041 
_wrap_SBLaunchInfo_SetProcessPluginName(lua_State * L)34042 static int _wrap_SBLaunchInfo_SetProcessPluginName(lua_State* L) {
34043   {
34044     int SWIG_arg = 0;
34045     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34046     char *arg2 = (char *) 0 ;
34047 
34048     SWIG_check_num_args("lldb::SBLaunchInfo::SetProcessPluginName",2,2)
34049     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",1,"lldb::SBLaunchInfo *");
34050     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetProcessPluginName",2,"char const *");
34051 
34052     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34053       SWIG_fail_ptr("SBLaunchInfo_SetProcessPluginName",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34054     }
34055 
34056     arg2 = (char *)lua_tostring(L, 2);
34057     (arg1)->SetProcessPluginName((char const *)arg2);
34058 
34059     return SWIG_arg;
34060 
34061     fail: SWIGUNUSED;
34062   }
34063   lua_error(L);
34064   return 0;
34065 }
34066 
34067 
_wrap_SBLaunchInfo_GetShell(lua_State * L)34068 static int _wrap_SBLaunchInfo_GetShell(lua_State* L) {
34069   {
34070     int SWIG_arg = 0;
34071     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34072     char *result = 0 ;
34073 
34074     SWIG_check_num_args("lldb::SBLaunchInfo::GetShell",1,1)
34075     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShell",1,"lldb::SBLaunchInfo *");
34076 
34077     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34078       SWIG_fail_ptr("SBLaunchInfo_GetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34079     }
34080 
34081     result = (char *)(arg1)->GetShell();
34082     lua_pushstring(L,(const char *)result); SWIG_arg++;
34083     return SWIG_arg;
34084 
34085     fail: SWIGUNUSED;
34086   }
34087   lua_error(L);
34088   return 0;
34089 }
34090 
34091 
_wrap_SBLaunchInfo_SetShell(lua_State * L)34092 static int _wrap_SBLaunchInfo_SetShell(lua_State* L) {
34093   {
34094     int SWIG_arg = 0;
34095     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34096     char *arg2 = (char *) 0 ;
34097 
34098     SWIG_check_num_args("lldb::SBLaunchInfo::SetShell",2,2)
34099     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",1,"lldb::SBLaunchInfo *");
34100     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShell",2,"char const *");
34101 
34102     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34103       SWIG_fail_ptr("SBLaunchInfo_SetShell",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34104     }
34105 
34106     arg2 = (char *)lua_tostring(L, 2);
34107     (arg1)->SetShell((char const *)arg2);
34108 
34109     return SWIG_arg;
34110 
34111     fail: SWIGUNUSED;
34112   }
34113   lua_error(L);
34114   return 0;
34115 }
34116 
34117 
_wrap_SBLaunchInfo_GetShellExpandArguments(lua_State * L)34118 static int _wrap_SBLaunchInfo_GetShellExpandArguments(lua_State* L) {
34119   {
34120     int SWIG_arg = 0;
34121     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34122     bool result;
34123 
34124     SWIG_check_num_args("lldb::SBLaunchInfo::GetShellExpandArguments",1,1)
34125     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetShellExpandArguments",1,"lldb::SBLaunchInfo *");
34126 
34127     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34128       SWIG_fail_ptr("SBLaunchInfo_GetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34129     }
34130 
34131     result = (bool)(arg1)->GetShellExpandArguments();
34132     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34133     return SWIG_arg;
34134 
34135     fail: SWIGUNUSED;
34136   }
34137   lua_error(L);
34138   return 0;
34139 }
34140 
34141 
_wrap_SBLaunchInfo_SetShellExpandArguments(lua_State * L)34142 static int _wrap_SBLaunchInfo_SetShellExpandArguments(lua_State* L) {
34143   {
34144     int SWIG_arg = 0;
34145     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34146     bool arg2 ;
34147 
34148     SWIG_check_num_args("lldb::SBLaunchInfo::SetShellExpandArguments",2,2)
34149     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",1,"lldb::SBLaunchInfo *");
34150     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetShellExpandArguments",2,"bool");
34151 
34152     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34153       SWIG_fail_ptr("SBLaunchInfo_SetShellExpandArguments",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34154     }
34155 
34156     arg2 = (lua_toboolean(L, 2)!=0);
34157     (arg1)->SetShellExpandArguments(arg2);
34158 
34159     return SWIG_arg;
34160 
34161     fail: SWIGUNUSED;
34162   }
34163   lua_error(L);
34164   return 0;
34165 }
34166 
34167 
_wrap_SBLaunchInfo_GetResumeCount(lua_State * L)34168 static int _wrap_SBLaunchInfo_GetResumeCount(lua_State* L) {
34169   {
34170     int SWIG_arg = 0;
34171     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34172     uint32_t result;
34173 
34174     SWIG_check_num_args("lldb::SBLaunchInfo::GetResumeCount",1,1)
34175     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetResumeCount",1,"lldb::SBLaunchInfo *");
34176 
34177     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34178       SWIG_fail_ptr("SBLaunchInfo_GetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34179     }
34180 
34181     result = (uint32_t)(arg1)->GetResumeCount();
34182     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
34183     return SWIG_arg;
34184 
34185     fail: SWIGUNUSED;
34186   }
34187   lua_error(L);
34188   return 0;
34189 }
34190 
34191 
_wrap_SBLaunchInfo_SetResumeCount(lua_State * L)34192 static int _wrap_SBLaunchInfo_SetResumeCount(lua_State* L) {
34193   {
34194     int SWIG_arg = 0;
34195     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34196     uint32_t arg2 ;
34197 
34198     SWIG_check_num_args("lldb::SBLaunchInfo::SetResumeCount",2,2)
34199     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",1,"lldb::SBLaunchInfo *");
34200     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetResumeCount",2,"uint32_t");
34201 
34202     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34203       SWIG_fail_ptr("SBLaunchInfo_SetResumeCount",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34204     }
34205 
34206     arg2 = (uint32_t)lua_tointeger(L, 2);
34207     (arg1)->SetResumeCount(arg2);
34208 
34209     return SWIG_arg;
34210 
34211     fail: SWIGUNUSED;
34212   }
34213   lua_error(L);
34214   return 0;
34215 }
34216 
34217 
_wrap_SBLaunchInfo_AddCloseFileAction(lua_State * L)34218 static int _wrap_SBLaunchInfo_AddCloseFileAction(lua_State* L) {
34219   {
34220     int SWIG_arg = 0;
34221     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34222     int arg2 ;
34223     bool result;
34224 
34225     SWIG_check_num_args("lldb::SBLaunchInfo::AddCloseFileAction",2,2)
34226     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",1,"lldb::SBLaunchInfo *");
34227     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddCloseFileAction",2,"int");
34228 
34229     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34230       SWIG_fail_ptr("SBLaunchInfo_AddCloseFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34231     }
34232 
34233     arg2 = (int)lua_tointeger(L, 2);
34234     result = (bool)(arg1)->AddCloseFileAction(arg2);
34235     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34236     return SWIG_arg;
34237 
34238     fail: SWIGUNUSED;
34239   }
34240   lua_error(L);
34241   return 0;
34242 }
34243 
34244 
_wrap_SBLaunchInfo_AddDuplicateFileAction(lua_State * L)34245 static int _wrap_SBLaunchInfo_AddDuplicateFileAction(lua_State* L) {
34246   {
34247     int SWIG_arg = 0;
34248     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34249     int arg2 ;
34250     int arg3 ;
34251     bool result;
34252 
34253     SWIG_check_num_args("lldb::SBLaunchInfo::AddDuplicateFileAction",3,3)
34254     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",1,"lldb::SBLaunchInfo *");
34255     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",2,"int");
34256     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddDuplicateFileAction",3,"int");
34257 
34258     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34259       SWIG_fail_ptr("SBLaunchInfo_AddDuplicateFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34260     }
34261 
34262     arg2 = (int)lua_tointeger(L, 2);
34263     arg3 = (int)lua_tointeger(L, 3);
34264     result = (bool)(arg1)->AddDuplicateFileAction(arg2,arg3);
34265     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34266     return SWIG_arg;
34267 
34268     fail: SWIGUNUSED;
34269   }
34270   lua_error(L);
34271   return 0;
34272 }
34273 
34274 
_wrap_SBLaunchInfo_AddOpenFileAction(lua_State * L)34275 static int _wrap_SBLaunchInfo_AddOpenFileAction(lua_State* L) {
34276   {
34277     int SWIG_arg = 0;
34278     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34279     int arg2 ;
34280     char *arg3 = (char *) 0 ;
34281     bool arg4 ;
34282     bool arg5 ;
34283     bool result;
34284 
34285     SWIG_check_num_args("lldb::SBLaunchInfo::AddOpenFileAction",5,5)
34286     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",1,"lldb::SBLaunchInfo *");
34287     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",2,"int");
34288     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",3,"char const *");
34289     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",4,"bool");
34290     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBLaunchInfo::AddOpenFileAction",5,"bool");
34291 
34292     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34293       SWIG_fail_ptr("SBLaunchInfo_AddOpenFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34294     }
34295 
34296     arg2 = (int)lua_tointeger(L, 2);
34297     arg3 = (char *)lua_tostring(L, 3);
34298     arg4 = (lua_toboolean(L, 4)!=0);
34299     arg5 = (lua_toboolean(L, 5)!=0);
34300     result = (bool)(arg1)->AddOpenFileAction(arg2,(char const *)arg3,arg4,arg5);
34301     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34302     return SWIG_arg;
34303 
34304     fail: SWIGUNUSED;
34305   }
34306   lua_error(L);
34307   return 0;
34308 }
34309 
34310 
_wrap_SBLaunchInfo_AddSuppressFileAction(lua_State * L)34311 static int _wrap_SBLaunchInfo_AddSuppressFileAction(lua_State* L) {
34312   {
34313     int SWIG_arg = 0;
34314     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34315     int arg2 ;
34316     bool arg3 ;
34317     bool arg4 ;
34318     bool result;
34319 
34320     SWIG_check_num_args("lldb::SBLaunchInfo::AddSuppressFileAction",4,4)
34321     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",1,"lldb::SBLaunchInfo *");
34322     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",2,"int");
34323     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",3,"bool");
34324     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBLaunchInfo::AddSuppressFileAction",4,"bool");
34325 
34326     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34327       SWIG_fail_ptr("SBLaunchInfo_AddSuppressFileAction",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34328     }
34329 
34330     arg2 = (int)lua_tointeger(L, 2);
34331     arg3 = (lua_toboolean(L, 3)!=0);
34332     arg4 = (lua_toboolean(L, 4)!=0);
34333     result = (bool)(arg1)->AddSuppressFileAction(arg2,arg3,arg4);
34334     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34335     return SWIG_arg;
34336 
34337     fail: SWIGUNUSED;
34338   }
34339   lua_error(L);
34340   return 0;
34341 }
34342 
34343 
_wrap_SBLaunchInfo_SetLaunchEventData(lua_State * L)34344 static int _wrap_SBLaunchInfo_SetLaunchEventData(lua_State* L) {
34345   {
34346     int SWIG_arg = 0;
34347     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34348     char *arg2 = (char *) 0 ;
34349 
34350     SWIG_check_num_args("lldb::SBLaunchInfo::SetLaunchEventData",2,2)
34351     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",1,"lldb::SBLaunchInfo *");
34352     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetLaunchEventData",2,"char const *");
34353 
34354     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34355       SWIG_fail_ptr("SBLaunchInfo_SetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34356     }
34357 
34358     arg2 = (char *)lua_tostring(L, 2);
34359     (arg1)->SetLaunchEventData((char const *)arg2);
34360 
34361     return SWIG_arg;
34362 
34363     fail: SWIGUNUSED;
34364   }
34365   lua_error(L);
34366   return 0;
34367 }
34368 
34369 
_wrap_SBLaunchInfo_GetLaunchEventData(lua_State * L)34370 static int _wrap_SBLaunchInfo_GetLaunchEventData(lua_State* L) {
34371   {
34372     int SWIG_arg = 0;
34373     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34374     char *result = 0 ;
34375 
34376     SWIG_check_num_args("lldb::SBLaunchInfo::GetLaunchEventData",1,1)
34377     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetLaunchEventData",1,"lldb::SBLaunchInfo const *");
34378 
34379     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34380       SWIG_fail_ptr("SBLaunchInfo_GetLaunchEventData",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34381     }
34382 
34383     result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetLaunchEventData();
34384     lua_pushstring(L,(const char *)result); SWIG_arg++;
34385     return SWIG_arg;
34386 
34387     fail: SWIGUNUSED;
34388   }
34389   lua_error(L);
34390   return 0;
34391 }
34392 
34393 
_wrap_SBLaunchInfo_GetDetachOnError(lua_State * L)34394 static int _wrap_SBLaunchInfo_GetDetachOnError(lua_State* L) {
34395   {
34396     int SWIG_arg = 0;
34397     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34398     bool result;
34399 
34400     SWIG_check_num_args("lldb::SBLaunchInfo::GetDetachOnError",1,1)
34401     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetDetachOnError",1,"lldb::SBLaunchInfo const *");
34402 
34403     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34404       SWIG_fail_ptr("SBLaunchInfo_GetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34405     }
34406 
34407     result = (bool)((lldb::SBLaunchInfo const *)arg1)->GetDetachOnError();
34408     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34409     return SWIG_arg;
34410 
34411     fail: SWIGUNUSED;
34412   }
34413   lua_error(L);
34414   return 0;
34415 }
34416 
34417 
_wrap_SBLaunchInfo_SetDetachOnError(lua_State * L)34418 static int _wrap_SBLaunchInfo_SetDetachOnError(lua_State* L) {
34419   {
34420     int SWIG_arg = 0;
34421     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34422     bool arg2 ;
34423 
34424     SWIG_check_num_args("lldb::SBLaunchInfo::SetDetachOnError",2,2)
34425     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",1,"lldb::SBLaunchInfo *");
34426     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetDetachOnError",2,"bool");
34427 
34428     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34429       SWIG_fail_ptr("SBLaunchInfo_SetDetachOnError",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34430     }
34431 
34432     arg2 = (lua_toboolean(L, 2)!=0);
34433     (arg1)->SetDetachOnError(arg2);
34434 
34435     return SWIG_arg;
34436 
34437     fail: SWIGUNUSED;
34438   }
34439   lua_error(L);
34440   return 0;
34441 }
34442 
34443 
_wrap_SBLaunchInfo_GetScriptedProcessClassName(lua_State * L)34444 static int _wrap_SBLaunchInfo_GetScriptedProcessClassName(lua_State* L) {
34445   {
34446     int SWIG_arg = 0;
34447     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34448     char *result = 0 ;
34449 
34450     SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,1)
34451     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessClassName",1,"lldb::SBLaunchInfo const *");
34452 
34453     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34454       SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34455     }
34456 
34457     result = (char *)((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessClassName();
34458     lua_pushstring(L,(const char *)result); SWIG_arg++;
34459     return SWIG_arg;
34460 
34461     fail: SWIGUNUSED;
34462   }
34463   lua_error(L);
34464   return 0;
34465 }
34466 
34467 
_wrap_SBLaunchInfo_SetScriptedProcessClassName(lua_State * L)34468 static int _wrap_SBLaunchInfo_SetScriptedProcessClassName(lua_State* L) {
34469   {
34470     int SWIG_arg = 0;
34471     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34472     char *arg2 = (char *) 0 ;
34473 
34474     SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,2)
34475     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",1,"lldb::SBLaunchInfo *");
34476     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessClassName",2,"char const *");
34477 
34478     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34479       SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessClassName",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34480     }
34481 
34482     arg2 = (char *)lua_tostring(L, 2);
34483     (arg1)->SetScriptedProcessClassName((char const *)arg2);
34484 
34485     return SWIG_arg;
34486 
34487     fail: SWIGUNUSED;
34488   }
34489   lua_error(L);
34490   return 0;
34491 }
34492 
34493 
_wrap_SBLaunchInfo_GetScriptedProcessDictionary(lua_State * L)34494 static int _wrap_SBLaunchInfo_GetScriptedProcessDictionary(lua_State* L) {
34495   {
34496     int SWIG_arg = 0;
34497     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34498     lldb::SBStructuredData result;
34499 
34500     SWIG_check_num_args("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,1)
34501     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::GetScriptedProcessDictionary",1,"lldb::SBLaunchInfo const *");
34502 
34503     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34504       SWIG_fail_ptr("SBLaunchInfo_GetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34505     }
34506 
34507     result = ((lldb::SBLaunchInfo const *)arg1)->GetScriptedProcessDictionary();
34508     {
34509       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
34510       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
34511     }
34512     return SWIG_arg;
34513 
34514     fail: SWIGUNUSED;
34515   }
34516   lua_error(L);
34517   return 0;
34518 }
34519 
34520 
_wrap_SBLaunchInfo_SetScriptedProcessDictionary(lua_State * L)34521 static int _wrap_SBLaunchInfo_SetScriptedProcessDictionary(lua_State* L) {
34522   {
34523     int SWIG_arg = 0;
34524     lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) 0 ;
34525     lldb::SBStructuredData arg2 ;
34526     lldb::SBStructuredData *argp2 ;
34527 
34528     SWIG_check_num_args("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,2)
34529     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",1,"lldb::SBLaunchInfo *");
34530     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLaunchInfo::SetScriptedProcessDictionary",2,"lldb::SBStructuredData");
34531 
34532     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
34533       SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",1,SWIGTYPE_p_lldb__SBLaunchInfo);
34534     }
34535 
34536 
34537     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBStructuredData,0))){
34538       SWIG_fail_ptr("SBLaunchInfo_SetScriptedProcessDictionary",2,SWIGTYPE_p_lldb__SBStructuredData);
34539     }
34540     arg2 = *argp2;
34541 
34542     (arg1)->SetScriptedProcessDictionary(arg2);
34543 
34544     return SWIG_arg;
34545 
34546     fail: SWIGUNUSED;
34547   }
34548   lua_error(L);
34549   return 0;
34550 }
34551 
34552 
swig_delete_SBLaunchInfo(void * obj)34553 static void swig_delete_SBLaunchInfo(void *obj) {
34554 lldb::SBLaunchInfo *arg1 = (lldb::SBLaunchInfo *) obj;
34555 delete arg1;
34556 }
_proxy__wrap_new_SBLaunchInfo(lua_State * L)34557 static int _proxy__wrap_new_SBLaunchInfo(lua_State *L) {
34558     assert(lua_istable(L,1));
34559     lua_pushcfunction(L,_wrap_new_SBLaunchInfo);
34560     assert(!lua_isnil(L,-1));
34561     lua_replace(L,1); /* replace our table with real constructor */
34562     lua_call(L,lua_gettop(L)-1,1);
34563     return 1;
34564 }
34565 static swig_lua_attribute swig_SBLaunchInfo_attributes[] = {
34566     {0,0,0}
34567 };
34568 static swig_lua_method swig_SBLaunchInfo_methods[]= {
34569     { "GetProcessID", _wrap_SBLaunchInfo_GetProcessID},
34570     { "GetUserID", _wrap_SBLaunchInfo_GetUserID},
34571     { "GetGroupID", _wrap_SBLaunchInfo_GetGroupID},
34572     { "UserIDIsValid", _wrap_SBLaunchInfo_UserIDIsValid},
34573     { "GroupIDIsValid", _wrap_SBLaunchInfo_GroupIDIsValid},
34574     { "SetUserID", _wrap_SBLaunchInfo_SetUserID},
34575     { "SetGroupID", _wrap_SBLaunchInfo_SetGroupID},
34576     { "GetExecutableFile", _wrap_SBLaunchInfo_GetExecutableFile},
34577     { "SetExecutableFile", _wrap_SBLaunchInfo_SetExecutableFile},
34578     { "GetListener", _wrap_SBLaunchInfo_GetListener},
34579     { "SetListener", _wrap_SBLaunchInfo_SetListener},
34580     { "GetShadowListener", _wrap_SBLaunchInfo_GetShadowListener},
34581     { "SetShadowListener", _wrap_SBLaunchInfo_SetShadowListener},
34582     { "GetNumArguments", _wrap_SBLaunchInfo_GetNumArguments},
34583     { "GetArgumentAtIndex", _wrap_SBLaunchInfo_GetArgumentAtIndex},
34584     { "SetArguments", _wrap_SBLaunchInfo_SetArguments},
34585     { "GetNumEnvironmentEntries", _wrap_SBLaunchInfo_GetNumEnvironmentEntries},
34586     { "GetEnvironmentEntryAtIndex", _wrap_SBLaunchInfo_GetEnvironmentEntryAtIndex},
34587     { "SetEnvironmentEntries", _wrap_SBLaunchInfo_SetEnvironmentEntries},
34588     { "SetEnvironment", _wrap_SBLaunchInfo_SetEnvironment},
34589     { "GetEnvironment", _wrap_SBLaunchInfo_GetEnvironment},
34590     { "Clear", _wrap_SBLaunchInfo_Clear},
34591     { "GetWorkingDirectory", _wrap_SBLaunchInfo_GetWorkingDirectory},
34592     { "SetWorkingDirectory", _wrap_SBLaunchInfo_SetWorkingDirectory},
34593     { "GetLaunchFlags", _wrap_SBLaunchInfo_GetLaunchFlags},
34594     { "SetLaunchFlags", _wrap_SBLaunchInfo_SetLaunchFlags},
34595     { "GetProcessPluginName", _wrap_SBLaunchInfo_GetProcessPluginName},
34596     { "SetProcessPluginName", _wrap_SBLaunchInfo_SetProcessPluginName},
34597     { "GetShell", _wrap_SBLaunchInfo_GetShell},
34598     { "SetShell", _wrap_SBLaunchInfo_SetShell},
34599     { "GetShellExpandArguments", _wrap_SBLaunchInfo_GetShellExpandArguments},
34600     { "SetShellExpandArguments", _wrap_SBLaunchInfo_SetShellExpandArguments},
34601     { "GetResumeCount", _wrap_SBLaunchInfo_GetResumeCount},
34602     { "SetResumeCount", _wrap_SBLaunchInfo_SetResumeCount},
34603     { "AddCloseFileAction", _wrap_SBLaunchInfo_AddCloseFileAction},
34604     { "AddDuplicateFileAction", _wrap_SBLaunchInfo_AddDuplicateFileAction},
34605     { "AddOpenFileAction", _wrap_SBLaunchInfo_AddOpenFileAction},
34606     { "AddSuppressFileAction", _wrap_SBLaunchInfo_AddSuppressFileAction},
34607     { "SetLaunchEventData", _wrap_SBLaunchInfo_SetLaunchEventData},
34608     { "GetLaunchEventData", _wrap_SBLaunchInfo_GetLaunchEventData},
34609     { "GetDetachOnError", _wrap_SBLaunchInfo_GetDetachOnError},
34610     { "SetDetachOnError", _wrap_SBLaunchInfo_SetDetachOnError},
34611     { "GetScriptedProcessClassName", _wrap_SBLaunchInfo_GetScriptedProcessClassName},
34612     { "SetScriptedProcessClassName", _wrap_SBLaunchInfo_SetScriptedProcessClassName},
34613     { "GetScriptedProcessDictionary", _wrap_SBLaunchInfo_GetScriptedProcessDictionary},
34614     { "SetScriptedProcessDictionary", _wrap_SBLaunchInfo_SetScriptedProcessDictionary},
34615     {0,0}
34616 };
34617 static swig_lua_method swig_SBLaunchInfo_meta[] = {
34618     {0,0}
34619 };
34620 
34621 static swig_lua_attribute swig_SBLaunchInfo_Sf_SwigStatic_attributes[] = {
34622     {0,0,0}
34623 };
34624 static swig_lua_const_info swig_SBLaunchInfo_Sf_SwigStatic_constants[]= {
34625     {0,0,0,0,0,0}
34626 };
34627 static swig_lua_method swig_SBLaunchInfo_Sf_SwigStatic_methods[]= {
34628     {0,0}
34629 };
34630 static swig_lua_class* swig_SBLaunchInfo_Sf_SwigStatic_classes[]= {
34631     0
34632 };
34633 
34634 static swig_lua_namespace swig_SBLaunchInfo_Sf_SwigStatic = {
34635     "SBLaunchInfo",
34636     swig_SBLaunchInfo_Sf_SwigStatic_methods,
34637     swig_SBLaunchInfo_Sf_SwigStatic_attributes,
34638     swig_SBLaunchInfo_Sf_SwigStatic_constants,
34639     swig_SBLaunchInfo_Sf_SwigStatic_classes,
34640     0
34641 };
34642 static swig_lua_class *swig_SBLaunchInfo_bases[] = {0};
34643 static const char *swig_SBLaunchInfo_base_names[] = {0};
34644 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 };
34645 
_wrap_new_SBLineEntry__SWIG_0(lua_State * L)34646 static int _wrap_new_SBLineEntry__SWIG_0(lua_State* L) {
34647   {
34648     int SWIG_arg = 0;
34649     lldb::SBLineEntry *result = 0 ;
34650 
34651     SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",0,0)
34652     result = (lldb::SBLineEntry *)new lldb::SBLineEntry();
34653     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
34654     return SWIG_arg;
34655 
34656     fail: SWIGUNUSED;
34657   }
34658   lua_error(L);
34659   return 0;
34660 }
34661 
34662 
_wrap_new_SBLineEntry__SWIG_1(lua_State * L)34663 static int _wrap_new_SBLineEntry__SWIG_1(lua_State* L) {
34664   {
34665     int SWIG_arg = 0;
34666     lldb::SBLineEntry *arg1 = 0 ;
34667     lldb::SBLineEntry *result = 0 ;
34668 
34669     SWIG_check_num_args("lldb::SBLineEntry::SBLineEntry",1,1)
34670     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SBLineEntry",1,"lldb::SBLineEntry const &");
34671 
34672     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34673       SWIG_fail_ptr("new_SBLineEntry",1,SWIGTYPE_p_lldb__SBLineEntry);
34674     }
34675 
34676     result = (lldb::SBLineEntry *)new lldb::SBLineEntry((lldb::SBLineEntry const &)*arg1);
34677     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
34678     return SWIG_arg;
34679 
34680     fail: SWIGUNUSED;
34681   }
34682   lua_error(L);
34683   return 0;
34684 }
34685 
34686 
_wrap_new_SBLineEntry(lua_State * L)34687 static int _wrap_new_SBLineEntry(lua_State* L) {
34688   int argc;
34689   int argv[2]={
34690     1,2
34691   };
34692 
34693   argc = lua_gettop(L);
34694   if (argc == 0) {
34695     return _wrap_new_SBLineEntry__SWIG_0(L);
34696   }
34697   if (argc == 1) {
34698     int _v = 0;
34699     {
34700       void *ptr;
34701       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBLineEntry, SWIG_POINTER_NO_NULL)) {
34702         _v = 0;
34703       } else {
34704         _v = 1;
34705       }
34706     }
34707     if (_v) {
34708       return _wrap_new_SBLineEntry__SWIG_1(L);
34709     }
34710   }
34711 
34712   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBLineEntry'\n"
34713     "  Possible C/C++ prototypes are:\n"
34714     "    lldb::SBLineEntry::SBLineEntry()\n"
34715     "    lldb::SBLineEntry::SBLineEntry(lldb::SBLineEntry const &)\n");
34716   lua_error(L);return 0;
34717 }
34718 
34719 
_wrap_SBLineEntry_GetStartAddress(lua_State * L)34720 static int _wrap_SBLineEntry_GetStartAddress(lua_State* L) {
34721   {
34722     int SWIG_arg = 0;
34723     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34724     lldb::SBAddress result;
34725 
34726     SWIG_check_num_args("lldb::SBLineEntry::GetStartAddress",1,1)
34727     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetStartAddress",1,"lldb::SBLineEntry const *");
34728 
34729     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34730       SWIG_fail_ptr("SBLineEntry_GetStartAddress",1,SWIGTYPE_p_lldb__SBLineEntry);
34731     }
34732 
34733     result = ((lldb::SBLineEntry const *)arg1)->GetStartAddress();
34734     {
34735       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
34736       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
34737     }
34738     return SWIG_arg;
34739 
34740     fail: SWIGUNUSED;
34741   }
34742   lua_error(L);
34743   return 0;
34744 }
34745 
34746 
_wrap_SBLineEntry_GetEndAddress(lua_State * L)34747 static int _wrap_SBLineEntry_GetEndAddress(lua_State* L) {
34748   {
34749     int SWIG_arg = 0;
34750     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34751     lldb::SBAddress result;
34752 
34753     SWIG_check_num_args("lldb::SBLineEntry::GetEndAddress",1,1)
34754     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetEndAddress",1,"lldb::SBLineEntry const *");
34755 
34756     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34757       SWIG_fail_ptr("SBLineEntry_GetEndAddress",1,SWIGTYPE_p_lldb__SBLineEntry);
34758     }
34759 
34760     result = ((lldb::SBLineEntry const *)arg1)->GetEndAddress();
34761     {
34762       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
34763       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
34764     }
34765     return SWIG_arg;
34766 
34767     fail: SWIGUNUSED;
34768   }
34769   lua_error(L);
34770   return 0;
34771 }
34772 
34773 
_wrap_SBLineEntry_IsValid(lua_State * L)34774 static int _wrap_SBLineEntry_IsValid(lua_State* L) {
34775   {
34776     int SWIG_arg = 0;
34777     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34778     bool result;
34779 
34780     SWIG_check_num_args("lldb::SBLineEntry::IsValid",1,1)
34781     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::IsValid",1,"lldb::SBLineEntry const *");
34782 
34783     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34784       SWIG_fail_ptr("SBLineEntry_IsValid",1,SWIGTYPE_p_lldb__SBLineEntry);
34785     }
34786 
34787     result = (bool)((lldb::SBLineEntry const *)arg1)->IsValid();
34788     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34789     return SWIG_arg;
34790 
34791     fail: SWIGUNUSED;
34792   }
34793   lua_error(L);
34794   return 0;
34795 }
34796 
34797 
_wrap_SBLineEntry_GetFileSpec(lua_State * L)34798 static int _wrap_SBLineEntry_GetFileSpec(lua_State* L) {
34799   {
34800     int SWIG_arg = 0;
34801     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34802     lldb::SBFileSpec result;
34803 
34804     SWIG_check_num_args("lldb::SBLineEntry::GetFileSpec",1,1)
34805     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetFileSpec",1,"lldb::SBLineEntry const *");
34806 
34807     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34808       SWIG_fail_ptr("SBLineEntry_GetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry);
34809     }
34810 
34811     result = ((lldb::SBLineEntry const *)arg1)->GetFileSpec();
34812     {
34813       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
34814       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
34815     }
34816     return SWIG_arg;
34817 
34818     fail: SWIGUNUSED;
34819   }
34820   lua_error(L);
34821   return 0;
34822 }
34823 
34824 
_wrap_SBLineEntry_GetLine(lua_State * L)34825 static int _wrap_SBLineEntry_GetLine(lua_State* L) {
34826   {
34827     int SWIG_arg = 0;
34828     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34829     uint32_t result;
34830 
34831     SWIG_check_num_args("lldb::SBLineEntry::GetLine",1,1)
34832     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetLine",1,"lldb::SBLineEntry const *");
34833 
34834     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34835       SWIG_fail_ptr("SBLineEntry_GetLine",1,SWIGTYPE_p_lldb__SBLineEntry);
34836     }
34837 
34838     result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetLine();
34839     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
34840     return SWIG_arg;
34841 
34842     fail: SWIGUNUSED;
34843   }
34844   lua_error(L);
34845   return 0;
34846 }
34847 
34848 
_wrap_SBLineEntry_GetColumn(lua_State * L)34849 static int _wrap_SBLineEntry_GetColumn(lua_State* L) {
34850   {
34851     int SWIG_arg = 0;
34852     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34853     uint32_t result;
34854 
34855     SWIG_check_num_args("lldb::SBLineEntry::GetColumn",1,1)
34856     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetColumn",1,"lldb::SBLineEntry const *");
34857 
34858     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34859       SWIG_fail_ptr("SBLineEntry_GetColumn",1,SWIGTYPE_p_lldb__SBLineEntry);
34860     }
34861 
34862     result = (uint32_t)((lldb::SBLineEntry const *)arg1)->GetColumn();
34863     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
34864     return SWIG_arg;
34865 
34866     fail: SWIGUNUSED;
34867   }
34868   lua_error(L);
34869   return 0;
34870 }
34871 
34872 
_wrap_SBLineEntry_SetFileSpec(lua_State * L)34873 static int _wrap_SBLineEntry_SetFileSpec(lua_State* L) {
34874   {
34875     int SWIG_arg = 0;
34876     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34877     lldb::SBFileSpec arg2 ;
34878     lldb::SBFileSpec *argp2 ;
34879 
34880     SWIG_check_num_args("lldb::SBLineEntry::SetFileSpec",2,2)
34881     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",1,"lldb::SBLineEntry *");
34882     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetFileSpec",2,"lldb::SBFileSpec");
34883 
34884     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34885       SWIG_fail_ptr("SBLineEntry_SetFileSpec",1,SWIGTYPE_p_lldb__SBLineEntry);
34886     }
34887 
34888 
34889     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFileSpec,0))){
34890       SWIG_fail_ptr("SBLineEntry_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
34891     }
34892     arg2 = *argp2;
34893 
34894     (arg1)->SetFileSpec(arg2);
34895 
34896     return SWIG_arg;
34897 
34898     fail: SWIGUNUSED;
34899   }
34900   lua_error(L);
34901   return 0;
34902 }
34903 
34904 
_wrap_SBLineEntry_SetLine(lua_State * L)34905 static int _wrap_SBLineEntry_SetLine(lua_State* L) {
34906   {
34907     int SWIG_arg = 0;
34908     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34909     uint32_t arg2 ;
34910 
34911     SWIG_check_num_args("lldb::SBLineEntry::SetLine",2,2)
34912     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",1,"lldb::SBLineEntry *");
34913     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetLine",2,"uint32_t");
34914 
34915     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34916       SWIG_fail_ptr("SBLineEntry_SetLine",1,SWIGTYPE_p_lldb__SBLineEntry);
34917     }
34918 
34919     arg2 = (uint32_t)lua_tointeger(L, 2);
34920     (arg1)->SetLine(arg2);
34921 
34922     return SWIG_arg;
34923 
34924     fail: SWIGUNUSED;
34925   }
34926   lua_error(L);
34927   return 0;
34928 }
34929 
34930 
_wrap_SBLineEntry_SetColumn(lua_State * L)34931 static int _wrap_SBLineEntry_SetColumn(lua_State* L) {
34932   {
34933     int SWIG_arg = 0;
34934     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34935     uint32_t arg2 ;
34936 
34937     SWIG_check_num_args("lldb::SBLineEntry::SetColumn",2,2)
34938     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",1,"lldb::SBLineEntry *");
34939     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBLineEntry::SetColumn",2,"uint32_t");
34940 
34941     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34942       SWIG_fail_ptr("SBLineEntry_SetColumn",1,SWIGTYPE_p_lldb__SBLineEntry);
34943     }
34944 
34945     arg2 = (uint32_t)lua_tointeger(L, 2);
34946     (arg1)->SetColumn(arg2);
34947 
34948     return SWIG_arg;
34949 
34950     fail: SWIGUNUSED;
34951   }
34952   lua_error(L);
34953   return 0;
34954 }
34955 
34956 
_wrap_SBLineEntry___eq(lua_State * L)34957 static int _wrap_SBLineEntry___eq(lua_State* L) {
34958   {
34959     int SWIG_arg = 0;
34960     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34961     lldb::SBLineEntry *arg2 = 0 ;
34962     bool result;
34963 
34964     SWIG_check_num_args("lldb::SBLineEntry::operator ==",2,2)
34965     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",1,"lldb::SBLineEntry const *");
34966     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::operator ==",2,"lldb::SBLineEntry const &");
34967 
34968     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
34969       SWIG_fail_ptr("SBLineEntry___eq",1,SWIGTYPE_p_lldb__SBLineEntry);
34970     }
34971 
34972 
34973     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLineEntry,0))){
34974       SWIG_fail_ptr("SBLineEntry___eq",2,SWIGTYPE_p_lldb__SBLineEntry);
34975     }
34976 
34977     result = (bool)((lldb::SBLineEntry const *)arg1)->operator ==((lldb::SBLineEntry const &)*arg2);
34978     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
34979     return SWIG_arg;
34980 
34981     fail: SWIGUNUSED;
34982   }
34983   lua_error(L);
34984   return 0;
34985 }
34986 
34987 
_wrap_SBLineEntry_GetDescription(lua_State * L)34988 static int _wrap_SBLineEntry_GetDescription(lua_State* L) {
34989   {
34990     int SWIG_arg = 0;
34991     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
34992     lldb::SBStream *arg2 = 0 ;
34993     bool result;
34994 
34995     SWIG_check_num_args("lldb::SBLineEntry::GetDescription",2,2)
34996     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",1,"lldb::SBLineEntry *");
34997     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBLineEntry::GetDescription",2,"lldb::SBStream &");
34998 
34999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
35000       SWIG_fail_ptr("SBLineEntry_GetDescription",1,SWIGTYPE_p_lldb__SBLineEntry);
35001     }
35002 
35003 
35004     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
35005       SWIG_fail_ptr("SBLineEntry_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
35006     }
35007 
35008     result = (bool)(arg1)->GetDescription(*arg2);
35009     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35010     return SWIG_arg;
35011 
35012     fail: SWIGUNUSED;
35013   }
35014   lua_error(L);
35015   return 0;
35016 }
35017 
35018 
_wrap_SBLineEntry___tostring(lua_State * L)35019 static int _wrap_SBLineEntry___tostring(lua_State* L) {
35020   {
35021     int SWIG_arg = 0;
35022     lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) 0 ;
35023     std::string result;
35024 
35025     SWIG_check_num_args("lldb::SBLineEntry::__repr__",1,1)
35026     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBLineEntry::__repr__",1,"lldb::SBLineEntry *");
35027 
35028     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBLineEntry,0))){
35029       SWIG_fail_ptr("SBLineEntry___tostring",1,SWIGTYPE_p_lldb__SBLineEntry);
35030     }
35031 
35032     result = lldb_SBLineEntry___repr__(arg1);
35033     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
35034     return SWIG_arg;
35035 
35036     fail: SWIGUNUSED;
35037   }
35038   lua_error(L);
35039   return 0;
35040 }
35041 
35042 
swig_delete_SBLineEntry(void * obj)35043 static void swig_delete_SBLineEntry(void *obj) {
35044 lldb::SBLineEntry *arg1 = (lldb::SBLineEntry *) obj;
35045 delete arg1;
35046 }
_proxy__wrap_new_SBLineEntry(lua_State * L)35047 static int _proxy__wrap_new_SBLineEntry(lua_State *L) {
35048     assert(lua_istable(L,1));
35049     lua_pushcfunction(L,_wrap_new_SBLineEntry);
35050     assert(!lua_isnil(L,-1));
35051     lua_replace(L,1); /* replace our table with real constructor */
35052     lua_call(L,lua_gettop(L)-1,1);
35053     return 1;
35054 }
35055 static swig_lua_attribute swig_SBLineEntry_attributes[] = {
35056     {0,0,0}
35057 };
35058 static swig_lua_method swig_SBLineEntry_methods[]= {
35059     { "GetStartAddress", _wrap_SBLineEntry_GetStartAddress},
35060     { "GetEndAddress", _wrap_SBLineEntry_GetEndAddress},
35061     { "IsValid", _wrap_SBLineEntry_IsValid},
35062     { "GetFileSpec", _wrap_SBLineEntry_GetFileSpec},
35063     { "GetLine", _wrap_SBLineEntry_GetLine},
35064     { "GetColumn", _wrap_SBLineEntry_GetColumn},
35065     { "SetFileSpec", _wrap_SBLineEntry_SetFileSpec},
35066     { "SetLine", _wrap_SBLineEntry_SetLine},
35067     { "SetColumn", _wrap_SBLineEntry_SetColumn},
35068     { "__eq", _wrap_SBLineEntry___eq},
35069     { "GetDescription", _wrap_SBLineEntry_GetDescription},
35070     { "__tostring", _wrap_SBLineEntry___tostring},
35071     {0,0}
35072 };
35073 static swig_lua_method swig_SBLineEntry_meta[] = {
35074     { "__eq", _wrap_SBLineEntry___eq},
35075     { "__tostring", _wrap_SBLineEntry___tostring},
35076     {0,0}
35077 };
35078 
35079 static swig_lua_attribute swig_SBLineEntry_Sf_SwigStatic_attributes[] = {
35080     {0,0,0}
35081 };
35082 static swig_lua_const_info swig_SBLineEntry_Sf_SwigStatic_constants[]= {
35083     {0,0,0,0,0,0}
35084 };
35085 static swig_lua_method swig_SBLineEntry_Sf_SwigStatic_methods[]= {
35086     {0,0}
35087 };
35088 static swig_lua_class* swig_SBLineEntry_Sf_SwigStatic_classes[]= {
35089     0
35090 };
35091 
35092 static swig_lua_namespace swig_SBLineEntry_Sf_SwigStatic = {
35093     "SBLineEntry",
35094     swig_SBLineEntry_Sf_SwigStatic_methods,
35095     swig_SBLineEntry_Sf_SwigStatic_attributes,
35096     swig_SBLineEntry_Sf_SwigStatic_constants,
35097     swig_SBLineEntry_Sf_SwigStatic_classes,
35098     0
35099 };
35100 static swig_lua_class *swig_SBLineEntry_bases[] = {0};
35101 static const char *swig_SBLineEntry_base_names[] = {0};
35102 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 };
35103 
_wrap_new_SBListener__SWIG_0(lua_State * L)35104 static int _wrap_new_SBListener__SWIG_0(lua_State* L) {
35105   {
35106     int SWIG_arg = 0;
35107     lldb::SBListener *result = 0 ;
35108 
35109     SWIG_check_num_args("lldb::SBListener::SBListener",0,0)
35110     result = (lldb::SBListener *)new lldb::SBListener();
35111     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
35112     return SWIG_arg;
35113 
35114     fail: SWIGUNUSED;
35115   }
35116   lua_error(L);
35117   return 0;
35118 }
35119 
35120 
_wrap_new_SBListener__SWIG_1(lua_State * L)35121 static int _wrap_new_SBListener__SWIG_1(lua_State* L) {
35122   {
35123     int SWIG_arg = 0;
35124     char *arg1 = (char *) 0 ;
35125     lldb::SBListener *result = 0 ;
35126 
35127     SWIG_check_num_args("lldb::SBListener::SBListener",1,1)
35128     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"char const *");
35129     arg1 = (char *)lua_tostring(L, 1);
35130     result = (lldb::SBListener *)new lldb::SBListener((char const *)arg1);
35131     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
35132     return SWIG_arg;
35133 
35134     fail: SWIGUNUSED;
35135   }
35136   lua_error(L);
35137   return 0;
35138 }
35139 
35140 
_wrap_new_SBListener__SWIG_2(lua_State * L)35141 static int _wrap_new_SBListener__SWIG_2(lua_State* L) {
35142   {
35143     int SWIG_arg = 0;
35144     lldb::SBListener *arg1 = 0 ;
35145     lldb::SBListener *result = 0 ;
35146 
35147     SWIG_check_num_args("lldb::SBListener::SBListener",1,1)
35148     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBListener::SBListener",1,"lldb::SBListener const &");
35149 
35150     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35151       SWIG_fail_ptr("new_SBListener",1,SWIGTYPE_p_lldb__SBListener);
35152     }
35153 
35154     result = (lldb::SBListener *)new lldb::SBListener((lldb::SBListener const &)*arg1);
35155     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBListener,1); SWIG_arg++;
35156     return SWIG_arg;
35157 
35158     fail: SWIGUNUSED;
35159   }
35160   lua_error(L);
35161   return 0;
35162 }
35163 
35164 
_wrap_new_SBListener(lua_State * L)35165 static int _wrap_new_SBListener(lua_State* L) {
35166   int argc;
35167   int argv[2]={
35168     1,2
35169   };
35170 
35171   argc = lua_gettop(L);
35172   if (argc == 0) {
35173     return _wrap_new_SBListener__SWIG_0(L);
35174   }
35175   if (argc == 1) {
35176     int _v = 0;
35177     {
35178       void *ptr;
35179       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
35180         _v = 0;
35181       } else {
35182         _v = 1;
35183       }
35184     }
35185     if (_v) {
35186       return _wrap_new_SBListener__SWIG_2(L);
35187     }
35188   }
35189   if (argc == 1) {
35190     int _v = 0;
35191     {
35192       _v = SWIG_lua_isnilstring(L,argv[0]);
35193     }
35194     if (_v) {
35195       return _wrap_new_SBListener__SWIG_1(L);
35196     }
35197   }
35198 
35199   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBListener'\n"
35200     "  Possible C/C++ prototypes are:\n"
35201     "    lldb::SBListener::SBListener()\n"
35202     "    lldb::SBListener::SBListener(char const *)\n"
35203     "    lldb::SBListener::SBListener(lldb::SBListener const &)\n");
35204   lua_error(L);return 0;
35205 }
35206 
35207 
_wrap_SBListener_AddEvent(lua_State * L)35208 static int _wrap_SBListener_AddEvent(lua_State* L) {
35209   {
35210     int SWIG_arg = 0;
35211     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35212     lldb::SBEvent *arg2 = 0 ;
35213 
35214     SWIG_check_num_args("lldb::SBListener::AddEvent",2,2)
35215     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::AddEvent",1,"lldb::SBListener *");
35216     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::AddEvent",2,"lldb::SBEvent const &");
35217 
35218     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35219       SWIG_fail_ptr("SBListener_AddEvent",1,SWIGTYPE_p_lldb__SBListener);
35220     }
35221 
35222 
35223     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
35224       SWIG_fail_ptr("SBListener_AddEvent",2,SWIGTYPE_p_lldb__SBEvent);
35225     }
35226 
35227     (arg1)->AddEvent((lldb::SBEvent const &)*arg2);
35228 
35229     return SWIG_arg;
35230 
35231     fail: SWIGUNUSED;
35232   }
35233   lua_error(L);
35234   return 0;
35235 }
35236 
35237 
_wrap_SBListener_Clear(lua_State * L)35238 static int _wrap_SBListener_Clear(lua_State* L) {
35239   {
35240     int SWIG_arg = 0;
35241     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35242 
35243     SWIG_check_num_args("lldb::SBListener::Clear",1,1)
35244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::Clear",1,"lldb::SBListener *");
35245 
35246     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35247       SWIG_fail_ptr("SBListener_Clear",1,SWIGTYPE_p_lldb__SBListener);
35248     }
35249 
35250     (arg1)->Clear();
35251 
35252     return SWIG_arg;
35253 
35254     fail: SWIGUNUSED;
35255   }
35256   lua_error(L);
35257   return 0;
35258 }
35259 
35260 
_wrap_SBListener_IsValid(lua_State * L)35261 static int _wrap_SBListener_IsValid(lua_State* L) {
35262   {
35263     int SWIG_arg = 0;
35264     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35265     bool result;
35266 
35267     SWIG_check_num_args("lldb::SBListener::IsValid",1,1)
35268     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::IsValid",1,"lldb::SBListener const *");
35269 
35270     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35271       SWIG_fail_ptr("SBListener_IsValid",1,SWIGTYPE_p_lldb__SBListener);
35272     }
35273 
35274     result = (bool)((lldb::SBListener const *)arg1)->IsValid();
35275     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35276     return SWIG_arg;
35277 
35278     fail: SWIGUNUSED;
35279   }
35280   lua_error(L);
35281   return 0;
35282 }
35283 
35284 
_wrap_SBListener_StartListeningForEventClass(lua_State * L)35285 static int _wrap_SBListener_StartListeningForEventClass(lua_State* L) {
35286   {
35287     int SWIG_arg = 0;
35288     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35289     lldb::SBDebugger *arg2 = 0 ;
35290     char *arg3 = (char *) 0 ;
35291     uint32_t arg4 ;
35292     uint32_t result;
35293 
35294     SWIG_check_num_args("lldb::SBListener::StartListeningForEventClass",4,4)
35295     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",1,"lldb::SBListener *");
35296     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",2,"lldb::SBDebugger &");
35297     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",3,"char const *");
35298     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StartListeningForEventClass",4,"uint32_t");
35299 
35300     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35301       SWIG_fail_ptr("SBListener_StartListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener);
35302     }
35303 
35304 
35305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){
35306       SWIG_fail_ptr("SBListener_StartListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger);
35307     }
35308 
35309     arg3 = (char *)lua_tostring(L, 3);
35310     arg4 = (uint32_t)lua_tointeger(L, 4);
35311     result = (uint32_t)(arg1)->StartListeningForEventClass(*arg2,(char const *)arg3,arg4);
35312     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
35313     return SWIG_arg;
35314 
35315     fail: SWIGUNUSED;
35316   }
35317   lua_error(L);
35318   return 0;
35319 }
35320 
35321 
_wrap_SBListener_StopListeningForEventClass(lua_State * L)35322 static int _wrap_SBListener_StopListeningForEventClass(lua_State* L) {
35323   {
35324     int SWIG_arg = 0;
35325     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35326     lldb::SBDebugger *arg2 = 0 ;
35327     char *arg3 = (char *) 0 ;
35328     uint32_t arg4 ;
35329     bool result;
35330 
35331     SWIG_check_num_args("lldb::SBListener::StopListeningForEventClass",4,4)
35332     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",1,"lldb::SBListener *");
35333     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",2,"lldb::SBDebugger &");
35334     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",3,"char const *");
35335     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::StopListeningForEventClass",4,"uint32_t");
35336 
35337     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35338       SWIG_fail_ptr("SBListener_StopListeningForEventClass",1,SWIGTYPE_p_lldb__SBListener);
35339     }
35340 
35341 
35342     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){
35343       SWIG_fail_ptr("SBListener_StopListeningForEventClass",2,SWIGTYPE_p_lldb__SBDebugger);
35344     }
35345 
35346     arg3 = (char *)lua_tostring(L, 3);
35347     arg4 = (uint32_t)lua_tointeger(L, 4);
35348     result = (bool)(arg1)->StopListeningForEventClass(*arg2,(char const *)arg3,arg4);
35349     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35350     return SWIG_arg;
35351 
35352     fail: SWIGUNUSED;
35353   }
35354   lua_error(L);
35355   return 0;
35356 }
35357 
35358 
_wrap_SBListener_StartListeningForEvents(lua_State * L)35359 static int _wrap_SBListener_StartListeningForEvents(lua_State* L) {
35360   {
35361     int SWIG_arg = 0;
35362     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35363     lldb::SBBroadcaster *arg2 = 0 ;
35364     uint32_t arg3 ;
35365     uint32_t result;
35366 
35367     SWIG_check_num_args("lldb::SBListener::StartListeningForEvents",3,3)
35368     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",1,"lldb::SBListener *");
35369     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",2,"lldb::SBBroadcaster const &");
35370     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StartListeningForEvents",3,"uint32_t");
35371 
35372     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35373       SWIG_fail_ptr("SBListener_StartListeningForEvents",1,SWIGTYPE_p_lldb__SBListener);
35374     }
35375 
35376 
35377     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35378       SWIG_fail_ptr("SBListener_StartListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster);
35379     }
35380 
35381     arg3 = (uint32_t)lua_tointeger(L, 3);
35382     result = (uint32_t)(arg1)->StartListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3);
35383     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
35384     return SWIG_arg;
35385 
35386     fail: SWIGUNUSED;
35387   }
35388   lua_error(L);
35389   return 0;
35390 }
35391 
35392 
_wrap_SBListener_StopListeningForEvents(lua_State * L)35393 static int _wrap_SBListener_StopListeningForEvents(lua_State* L) {
35394   {
35395     int SWIG_arg = 0;
35396     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35397     lldb::SBBroadcaster *arg2 = 0 ;
35398     uint32_t arg3 ;
35399     bool result;
35400 
35401     SWIG_check_num_args("lldb::SBListener::StopListeningForEvents",3,3)
35402     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",1,"lldb::SBListener *");
35403     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",2,"lldb::SBBroadcaster const &");
35404     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::StopListeningForEvents",3,"uint32_t");
35405 
35406     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35407       SWIG_fail_ptr("SBListener_StopListeningForEvents",1,SWIGTYPE_p_lldb__SBListener);
35408     }
35409 
35410 
35411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35412       SWIG_fail_ptr("SBListener_StopListeningForEvents",2,SWIGTYPE_p_lldb__SBBroadcaster);
35413     }
35414 
35415     arg3 = (uint32_t)lua_tointeger(L, 3);
35416     result = (bool)(arg1)->StopListeningForEvents((lldb::SBBroadcaster const &)*arg2,arg3);
35417     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35418     return SWIG_arg;
35419 
35420     fail: SWIGUNUSED;
35421   }
35422   lua_error(L);
35423   return 0;
35424 }
35425 
35426 
_wrap_SBListener_WaitForEvent(lua_State * L)35427 static int _wrap_SBListener_WaitForEvent(lua_State* L) {
35428   {
35429     int SWIG_arg = 0;
35430     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35431     uint32_t arg2 ;
35432     lldb::SBEvent *arg3 = 0 ;
35433     bool result;
35434 
35435     SWIG_check_num_args("lldb::SBListener::WaitForEvent",3,3)
35436     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",1,"lldb::SBListener *");
35437     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",2,"uint32_t");
35438     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEvent",3,"lldb::SBEvent &");
35439 
35440     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35441       SWIG_fail_ptr("SBListener_WaitForEvent",1,SWIGTYPE_p_lldb__SBListener);
35442     }
35443 
35444     arg2 = (uint32_t)lua_tointeger(L, 2);
35445 
35446     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){
35447       SWIG_fail_ptr("SBListener_WaitForEvent",3,SWIGTYPE_p_lldb__SBEvent);
35448     }
35449 
35450     result = (bool)(arg1)->WaitForEvent(arg2,*arg3);
35451     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35452     return SWIG_arg;
35453 
35454     fail: SWIGUNUSED;
35455   }
35456   lua_error(L);
35457   return 0;
35458 }
35459 
35460 
_wrap_SBListener_WaitForEventForBroadcaster(lua_State * L)35461 static int _wrap_SBListener_WaitForEventForBroadcaster(lua_State* L) {
35462   {
35463     int SWIG_arg = 0;
35464     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35465     uint32_t arg2 ;
35466     lldb::SBBroadcaster *arg3 = 0 ;
35467     lldb::SBEvent *arg4 = 0 ;
35468     bool result;
35469 
35470     SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcaster",4,4)
35471     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",1,"lldb::SBListener *");
35472     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",2,"uint32_t");
35473     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",3,"lldb::SBBroadcaster const &");
35474     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcaster",4,"lldb::SBEvent &");
35475 
35476     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35477       SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener);
35478     }
35479 
35480     arg2 = (uint32_t)lua_tointeger(L, 2);
35481 
35482     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35483       SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",3,SWIGTYPE_p_lldb__SBBroadcaster);
35484     }
35485 
35486 
35487     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){
35488       SWIG_fail_ptr("SBListener_WaitForEventForBroadcaster",4,SWIGTYPE_p_lldb__SBEvent);
35489     }
35490 
35491     result = (bool)(arg1)->WaitForEventForBroadcaster(arg2,(lldb::SBBroadcaster const &)*arg3,*arg4);
35492     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35493     return SWIG_arg;
35494 
35495     fail: SWIGUNUSED;
35496   }
35497   lua_error(L);
35498   return 0;
35499 }
35500 
35501 
_wrap_SBListener_WaitForEventForBroadcasterWithType(lua_State * L)35502 static int _wrap_SBListener_WaitForEventForBroadcasterWithType(lua_State* L) {
35503   {
35504     int SWIG_arg = 0;
35505     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35506     uint32_t arg2 ;
35507     lldb::SBBroadcaster *arg3 = 0 ;
35508     uint32_t arg4 ;
35509     lldb::SBEvent *arg5 = 0 ;
35510     bool result;
35511 
35512     SWIG_check_num_args("lldb::SBListener::WaitForEventForBroadcasterWithType",5,5)
35513     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",1,"lldb::SBListener *");
35514     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",2,"uint32_t");
35515     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",3,"lldb::SBBroadcaster const &");
35516     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",4,"uint32_t");
35517     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBListener::WaitForEventForBroadcasterWithType",5,"lldb::SBEvent &");
35518 
35519     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35520       SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener);
35521     }
35522 
35523     arg2 = (uint32_t)lua_tointeger(L, 2);
35524 
35525     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35526       SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",3,SWIGTYPE_p_lldb__SBBroadcaster);
35527     }
35528 
35529     arg4 = (uint32_t)lua_tointeger(L, 4);
35530 
35531     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBEvent,0))){
35532       SWIG_fail_ptr("SBListener_WaitForEventForBroadcasterWithType",5,SWIGTYPE_p_lldb__SBEvent);
35533     }
35534 
35535     result = (bool)(arg1)->WaitForEventForBroadcasterWithType(arg2,(lldb::SBBroadcaster const &)*arg3,arg4,*arg5);
35536     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35537     return SWIG_arg;
35538 
35539     fail: SWIGUNUSED;
35540   }
35541   lua_error(L);
35542   return 0;
35543 }
35544 
35545 
_wrap_SBListener_PeekAtNextEvent(lua_State * L)35546 static int _wrap_SBListener_PeekAtNextEvent(lua_State* L) {
35547   {
35548     int SWIG_arg = 0;
35549     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35550     lldb::SBEvent *arg2 = 0 ;
35551     bool result;
35552 
35553     SWIG_check_num_args("lldb::SBListener::PeekAtNextEvent",2,2)
35554     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",1,"lldb::SBListener *");
35555     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEvent",2,"lldb::SBEvent &");
35556 
35557     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35558       SWIG_fail_ptr("SBListener_PeekAtNextEvent",1,SWIGTYPE_p_lldb__SBListener);
35559     }
35560 
35561 
35562     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
35563       SWIG_fail_ptr("SBListener_PeekAtNextEvent",2,SWIGTYPE_p_lldb__SBEvent);
35564     }
35565 
35566     result = (bool)(arg1)->PeekAtNextEvent(*arg2);
35567     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35568     return SWIG_arg;
35569 
35570     fail: SWIGUNUSED;
35571   }
35572   lua_error(L);
35573   return 0;
35574 }
35575 
35576 
_wrap_SBListener_PeekAtNextEventForBroadcaster(lua_State * L)35577 static int _wrap_SBListener_PeekAtNextEventForBroadcaster(lua_State* L) {
35578   {
35579     int SWIG_arg = 0;
35580     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35581     lldb::SBBroadcaster *arg2 = 0 ;
35582     lldb::SBEvent *arg3 = 0 ;
35583     bool result;
35584 
35585     SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcaster",3,3)
35586     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",1,"lldb::SBListener *");
35587     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",2,"lldb::SBBroadcaster const &");
35588     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcaster",3,"lldb::SBEvent &");
35589 
35590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35591       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener);
35592     }
35593 
35594 
35595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35596       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster);
35597     }
35598 
35599 
35600     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){
35601       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent);
35602     }
35603 
35604     result = (bool)(arg1)->PeekAtNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3);
35605     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35606     return SWIG_arg;
35607 
35608     fail: SWIGUNUSED;
35609   }
35610   lua_error(L);
35611   return 0;
35612 }
35613 
35614 
_wrap_SBListener_PeekAtNextEventForBroadcasterWithType(lua_State * L)35615 static int _wrap_SBListener_PeekAtNextEventForBroadcasterWithType(lua_State* L) {
35616   {
35617     int SWIG_arg = 0;
35618     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35619     lldb::SBBroadcaster *arg2 = 0 ;
35620     uint32_t arg3 ;
35621     lldb::SBEvent *arg4 = 0 ;
35622     bool result;
35623 
35624     SWIG_check_num_args("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,4)
35625     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",1,"lldb::SBListener *");
35626     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &");
35627     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",3,"uint32_t");
35628     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::PeekAtNextEventForBroadcasterWithType",4,"lldb::SBEvent &");
35629 
35630     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35631       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener);
35632     }
35633 
35634 
35635     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35636       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster);
35637     }
35638 
35639     arg3 = (uint32_t)lua_tointeger(L, 3);
35640 
35641     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){
35642       SWIG_fail_ptr("SBListener_PeekAtNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent);
35643     }
35644 
35645     result = (bool)(arg1)->PeekAtNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4);
35646     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35647     return SWIG_arg;
35648 
35649     fail: SWIGUNUSED;
35650   }
35651   lua_error(L);
35652   return 0;
35653 }
35654 
35655 
_wrap_SBListener_GetNextEvent(lua_State * L)35656 static int _wrap_SBListener_GetNextEvent(lua_State* L) {
35657   {
35658     int SWIG_arg = 0;
35659     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35660     lldb::SBEvent *arg2 = 0 ;
35661     bool result;
35662 
35663     SWIG_check_num_args("lldb::SBListener::GetNextEvent",2,2)
35664     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",1,"lldb::SBListener *");
35665     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEvent",2,"lldb::SBEvent &");
35666 
35667     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35668       SWIG_fail_ptr("SBListener_GetNextEvent",1,SWIGTYPE_p_lldb__SBListener);
35669     }
35670 
35671 
35672     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
35673       SWIG_fail_ptr("SBListener_GetNextEvent",2,SWIGTYPE_p_lldb__SBEvent);
35674     }
35675 
35676     result = (bool)(arg1)->GetNextEvent(*arg2);
35677     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35678     return SWIG_arg;
35679 
35680     fail: SWIGUNUSED;
35681   }
35682   lua_error(L);
35683   return 0;
35684 }
35685 
35686 
_wrap_SBListener_GetNextEventForBroadcaster(lua_State * L)35687 static int _wrap_SBListener_GetNextEventForBroadcaster(lua_State* L) {
35688   {
35689     int SWIG_arg = 0;
35690     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35691     lldb::SBBroadcaster *arg2 = 0 ;
35692     lldb::SBEvent *arg3 = 0 ;
35693     bool result;
35694 
35695     SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcaster",3,3)
35696     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",1,"lldb::SBListener *");
35697     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",2,"lldb::SBBroadcaster const &");
35698     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcaster",3,"lldb::SBEvent &");
35699 
35700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35701       SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",1,SWIGTYPE_p_lldb__SBListener);
35702     }
35703 
35704 
35705     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35706       SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",2,SWIGTYPE_p_lldb__SBBroadcaster);
35707     }
35708 
35709 
35710     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBEvent,0))){
35711       SWIG_fail_ptr("SBListener_GetNextEventForBroadcaster",3,SWIGTYPE_p_lldb__SBEvent);
35712     }
35713 
35714     result = (bool)(arg1)->GetNextEventForBroadcaster((lldb::SBBroadcaster const &)*arg2,*arg3);
35715     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35716     return SWIG_arg;
35717 
35718     fail: SWIGUNUSED;
35719   }
35720   lua_error(L);
35721   return 0;
35722 }
35723 
35724 
_wrap_SBListener_GetNextEventForBroadcasterWithType(lua_State * L)35725 static int _wrap_SBListener_GetNextEventForBroadcasterWithType(lua_State* L) {
35726   {
35727     int SWIG_arg = 0;
35728     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35729     lldb::SBBroadcaster *arg2 = 0 ;
35730     uint32_t arg3 ;
35731     lldb::SBEvent *arg4 = 0 ;
35732     bool result;
35733 
35734     SWIG_check_num_args("lldb::SBListener::GetNextEventForBroadcasterWithType",4,4)
35735     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",1,"lldb::SBListener *");
35736     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",2,"lldb::SBBroadcaster const &");
35737     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",3,"uint32_t");
35738     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBListener::GetNextEventForBroadcasterWithType",4,"lldb::SBEvent &");
35739 
35740     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35741       SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",1,SWIGTYPE_p_lldb__SBListener);
35742     }
35743 
35744 
35745     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBBroadcaster,0))){
35746       SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",2,SWIGTYPE_p_lldb__SBBroadcaster);
35747     }
35748 
35749     arg3 = (uint32_t)lua_tointeger(L, 3);
35750 
35751     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBEvent,0))){
35752       SWIG_fail_ptr("SBListener_GetNextEventForBroadcasterWithType",4,SWIGTYPE_p_lldb__SBEvent);
35753     }
35754 
35755     result = (bool)(arg1)->GetNextEventForBroadcasterWithType((lldb::SBBroadcaster const &)*arg2,arg3,*arg4);
35756     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35757     return SWIG_arg;
35758 
35759     fail: SWIGUNUSED;
35760   }
35761   lua_error(L);
35762   return 0;
35763 }
35764 
35765 
_wrap_SBListener_HandleBroadcastEvent(lua_State * L)35766 static int _wrap_SBListener_HandleBroadcastEvent(lua_State* L) {
35767   {
35768     int SWIG_arg = 0;
35769     lldb::SBListener *arg1 = (lldb::SBListener *) 0 ;
35770     lldb::SBEvent *arg2 = 0 ;
35771     bool result;
35772 
35773     SWIG_check_num_args("lldb::SBListener::HandleBroadcastEvent",2,2)
35774     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",1,"lldb::SBListener *");
35775     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBListener::HandleBroadcastEvent",2,"lldb::SBEvent const &");
35776 
35777     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBListener,0))){
35778       SWIG_fail_ptr("SBListener_HandleBroadcastEvent",1,SWIGTYPE_p_lldb__SBListener);
35779     }
35780 
35781 
35782     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
35783       SWIG_fail_ptr("SBListener_HandleBroadcastEvent",2,SWIGTYPE_p_lldb__SBEvent);
35784     }
35785 
35786     result = (bool)(arg1)->HandleBroadcastEvent((lldb::SBEvent const &)*arg2);
35787     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35788     return SWIG_arg;
35789 
35790     fail: SWIGUNUSED;
35791   }
35792   lua_error(L);
35793   return 0;
35794 }
35795 
35796 
swig_delete_SBListener(void * obj)35797 static void swig_delete_SBListener(void *obj) {
35798 lldb::SBListener *arg1 = (lldb::SBListener *) obj;
35799 delete arg1;
35800 }
_proxy__wrap_new_SBListener(lua_State * L)35801 static int _proxy__wrap_new_SBListener(lua_State *L) {
35802     assert(lua_istable(L,1));
35803     lua_pushcfunction(L,_wrap_new_SBListener);
35804     assert(!lua_isnil(L,-1));
35805     lua_replace(L,1); /* replace our table with real constructor */
35806     lua_call(L,lua_gettop(L)-1,1);
35807     return 1;
35808 }
35809 static swig_lua_attribute swig_SBListener_attributes[] = {
35810     {0,0,0}
35811 };
35812 static swig_lua_method swig_SBListener_methods[]= {
35813     { "AddEvent", _wrap_SBListener_AddEvent},
35814     { "Clear", _wrap_SBListener_Clear},
35815     { "IsValid", _wrap_SBListener_IsValid},
35816     { "StartListeningForEventClass", _wrap_SBListener_StartListeningForEventClass},
35817     { "StopListeningForEventClass", _wrap_SBListener_StopListeningForEventClass},
35818     { "StartListeningForEvents", _wrap_SBListener_StartListeningForEvents},
35819     { "StopListeningForEvents", _wrap_SBListener_StopListeningForEvents},
35820     { "WaitForEvent", _wrap_SBListener_WaitForEvent},
35821     { "WaitForEventForBroadcaster", _wrap_SBListener_WaitForEventForBroadcaster},
35822     { "WaitForEventForBroadcasterWithType", _wrap_SBListener_WaitForEventForBroadcasterWithType},
35823     { "PeekAtNextEvent", _wrap_SBListener_PeekAtNextEvent},
35824     { "PeekAtNextEventForBroadcaster", _wrap_SBListener_PeekAtNextEventForBroadcaster},
35825     { "PeekAtNextEventForBroadcasterWithType", _wrap_SBListener_PeekAtNextEventForBroadcasterWithType},
35826     { "GetNextEvent", _wrap_SBListener_GetNextEvent},
35827     { "GetNextEventForBroadcaster", _wrap_SBListener_GetNextEventForBroadcaster},
35828     { "GetNextEventForBroadcasterWithType", _wrap_SBListener_GetNextEventForBroadcasterWithType},
35829     { "HandleBroadcastEvent", _wrap_SBListener_HandleBroadcastEvent},
35830     {0,0}
35831 };
35832 static swig_lua_method swig_SBListener_meta[] = {
35833     {0,0}
35834 };
35835 
35836 static swig_lua_attribute swig_SBListener_Sf_SwigStatic_attributes[] = {
35837     {0,0,0}
35838 };
35839 static swig_lua_const_info swig_SBListener_Sf_SwigStatic_constants[]= {
35840     {0,0,0,0,0,0}
35841 };
35842 static swig_lua_method swig_SBListener_Sf_SwigStatic_methods[]= {
35843     {0,0}
35844 };
35845 static swig_lua_class* swig_SBListener_Sf_SwigStatic_classes[]= {
35846     0
35847 };
35848 
35849 static swig_lua_namespace swig_SBListener_Sf_SwigStatic = {
35850     "SBListener",
35851     swig_SBListener_Sf_SwigStatic_methods,
35852     swig_SBListener_Sf_SwigStatic_attributes,
35853     swig_SBListener_Sf_SwigStatic_constants,
35854     swig_SBListener_Sf_SwigStatic_classes,
35855     0
35856 };
35857 static swig_lua_class *swig_SBListener_bases[] = {0};
35858 static const char *swig_SBListener_base_names[] = {0};
35859 static swig_lua_class _wrap_class_SBListener = { "SBListener", "SBListener", &SWIGTYPE_p_lldb__SBListener,_proxy__wrap_new_SBListener, swig_delete_SBListener, swig_SBListener_methods, swig_SBListener_attributes, &swig_SBListener_Sf_SwigStatic, swig_SBListener_meta, swig_SBListener_bases, swig_SBListener_base_names };
35860 
_wrap_new_SBMemoryRegionInfo__SWIG_0(lua_State * L)35861 static int _wrap_new_SBMemoryRegionInfo__SWIG_0(lua_State* L) {
35862   {
35863     int SWIG_arg = 0;
35864     lldb::SBMemoryRegionInfo *result = 0 ;
35865 
35866     SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",0,0)
35867     result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo();
35868     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++;
35869     return SWIG_arg;
35870 
35871     fail: SWIGUNUSED;
35872   }
35873   lua_error(L);
35874   return 0;
35875 }
35876 
35877 
_wrap_new_SBMemoryRegionInfo__SWIG_1(lua_State * L)35878 static int _wrap_new_SBMemoryRegionInfo__SWIG_1(lua_State* L) {
35879   {
35880     int SWIG_arg = 0;
35881     lldb::SBMemoryRegionInfo *arg1 = 0 ;
35882     lldb::SBMemoryRegionInfo *result = 0 ;
35883 
35884     SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,1)
35885     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"lldb::SBMemoryRegionInfo const &");
35886 
35887     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
35888       SWIG_fail_ptr("new_SBMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
35889     }
35890 
35891     result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((lldb::SBMemoryRegionInfo const &)*arg1);
35892     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++;
35893     return SWIG_arg;
35894 
35895     fail: SWIGUNUSED;
35896   }
35897   lua_error(L);
35898   return 0;
35899 }
35900 
35901 
_wrap_new_SBMemoryRegionInfo__SWIG_2(lua_State * L)35902 static int _wrap_new_SBMemoryRegionInfo__SWIG_2(lua_State* L) {
35903   {
35904     int SWIG_arg = 0;
35905     char *arg1 = (char *) 0 ;
35906     lldb::addr_t arg2 ;
35907     lldb::addr_t arg3 ;
35908     uint32_t arg4 ;
35909     bool arg5 ;
35910     bool arg6 ;
35911     lldb::SBMemoryRegionInfo *result = 0 ;
35912 
35913     SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,6)
35914     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"char const *");
35915     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",2,"lldb::addr_t");
35916     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",3,"lldb::addr_t");
35917     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",4,"uint32_t");
35918     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",5,"bool");
35919     if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",6,"bool");
35920     arg1 = (char *)lua_tostring(L, 1);
35921     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
35922     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
35923     arg4 = (uint32_t)lua_tointeger(L, 4);
35924     arg5 = (lua_toboolean(L, 5)!=0);
35925     arg6 = (lua_toboolean(L, 6)!=0);
35926     result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((char const *)arg1,arg2,arg3,arg4,arg5,arg6);
35927     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++;
35928     return SWIG_arg;
35929 
35930     fail: SWIGUNUSED;
35931   }
35932   lua_error(L);
35933   return 0;
35934 }
35935 
35936 
_wrap_new_SBMemoryRegionInfo__SWIG_3(lua_State * L)35937 static int _wrap_new_SBMemoryRegionInfo__SWIG_3(lua_State* L) {
35938   {
35939     int SWIG_arg = 0;
35940     char *arg1 = (char *) 0 ;
35941     lldb::addr_t arg2 ;
35942     lldb::addr_t arg3 ;
35943     uint32_t arg4 ;
35944     bool arg5 ;
35945     lldb::SBMemoryRegionInfo *result = 0 ;
35946 
35947     SWIG_check_num_args("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",5,5)
35948     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",1,"char const *");
35949     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",2,"lldb::addr_t");
35950     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",3,"lldb::addr_t");
35951     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",4,"uint32_t");
35952     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::SBMemoryRegionInfo",5,"bool");
35953     arg1 = (char *)lua_tostring(L, 1);
35954     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
35955     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
35956     arg4 = (uint32_t)lua_tointeger(L, 4);
35957     arg5 = (lua_toboolean(L, 5)!=0);
35958     result = (lldb::SBMemoryRegionInfo *)new lldb::SBMemoryRegionInfo((char const *)arg1,arg2,arg3,arg4,arg5);
35959     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfo,1); SWIG_arg++;
35960     return SWIG_arg;
35961 
35962     fail: SWIGUNUSED;
35963   }
35964   lua_error(L);
35965   return 0;
35966 }
35967 
35968 
_wrap_new_SBMemoryRegionInfo(lua_State * L)35969 static int _wrap_new_SBMemoryRegionInfo(lua_State* L) {
35970   int argc;
35971   int argv[7]={
35972     1,2,3,4,5,6,7
35973   };
35974 
35975   argc = lua_gettop(L);
35976   if (argc == 0) {
35977     return _wrap_new_SBMemoryRegionInfo__SWIG_0(L);
35978   }
35979   if (argc == 1) {
35980     int _v = 0;
35981     {
35982       void *ptr;
35983       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfo, SWIG_POINTER_NO_NULL)) {
35984         _v = 0;
35985       } else {
35986         _v = 1;
35987       }
35988     }
35989     if (_v) {
35990       return _wrap_new_SBMemoryRegionInfo__SWIG_1(L);
35991     }
35992   }
35993   if (argc == 5) {
35994     int _v = 0;
35995     {
35996       _v = SWIG_lua_isnilstring(L,argv[0]);
35997     }
35998     if (_v) {
35999       {
36000         _v = lua_isnumber(L,argv[1]);
36001       }
36002       if (_v) {
36003         {
36004           _v = lua_isnumber(L,argv[2]);
36005         }
36006         if (_v) {
36007           {
36008             _v = lua_isnumber(L,argv[3]);
36009           }
36010           if (_v) {
36011             {
36012               _v = lua_isboolean(L,argv[4]);
36013             }
36014             if (_v) {
36015               return _wrap_new_SBMemoryRegionInfo__SWIG_3(L);
36016             }
36017           }
36018         }
36019       }
36020     }
36021   }
36022   if (argc == 6) {
36023     int _v = 0;
36024     {
36025       _v = SWIG_lua_isnilstring(L,argv[0]);
36026     }
36027     if (_v) {
36028       {
36029         _v = lua_isnumber(L,argv[1]);
36030       }
36031       if (_v) {
36032         {
36033           _v = lua_isnumber(L,argv[2]);
36034         }
36035         if (_v) {
36036           {
36037             _v = lua_isnumber(L,argv[3]);
36038           }
36039           if (_v) {
36040             {
36041               _v = lua_isboolean(L,argv[4]);
36042             }
36043             if (_v) {
36044               {
36045                 _v = lua_isboolean(L,argv[5]);
36046               }
36047               if (_v) {
36048                 return _wrap_new_SBMemoryRegionInfo__SWIG_2(L);
36049               }
36050             }
36051           }
36052         }
36053       }
36054     }
36055   }
36056 
36057   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBMemoryRegionInfo'\n"
36058     "  Possible C/C++ prototypes are:\n"
36059     "    lldb::SBMemoryRegionInfo::SBMemoryRegionInfo()\n"
36060     "    lldb::SBMemoryRegionInfo::SBMemoryRegionInfo(lldb::SBMemoryRegionInfo const &)\n"
36061     "    lldb::SBMemoryRegionInfo::SBMemoryRegionInfo(char const *,lldb::addr_t,lldb::addr_t,uint32_t,bool,bool)\n"
36062     "    lldb::SBMemoryRegionInfo::SBMemoryRegionInfo(char const *,lldb::addr_t,lldb::addr_t,uint32_t,bool)\n");
36063   lua_error(L);return 0;
36064 }
36065 
36066 
_wrap_SBMemoryRegionInfo_Clear(lua_State * L)36067 static int _wrap_SBMemoryRegionInfo_Clear(lua_State* L) {
36068   {
36069     int SWIG_arg = 0;
36070     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36071 
36072     SWIG_check_num_args("lldb::SBMemoryRegionInfo::Clear",1,1)
36073     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::Clear",1,"lldb::SBMemoryRegionInfo *");
36074 
36075     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36076       SWIG_fail_ptr("SBMemoryRegionInfo_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36077     }
36078 
36079     (arg1)->Clear();
36080 
36081     return SWIG_arg;
36082 
36083     fail: SWIGUNUSED;
36084   }
36085   lua_error(L);
36086   return 0;
36087 }
36088 
36089 
_wrap_SBMemoryRegionInfo_GetRegionBase(lua_State * L)36090 static int _wrap_SBMemoryRegionInfo_GetRegionBase(lua_State* L) {
36091   {
36092     int SWIG_arg = 0;
36093     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36094     lldb::addr_t result;
36095 
36096     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionBase",1,1)
36097     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionBase",1,"lldb::SBMemoryRegionInfo *");
36098 
36099     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36100       SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionBase",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36101     }
36102 
36103     result = (lldb::addr_t)(arg1)->GetRegionBase();
36104     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36105     return SWIG_arg;
36106 
36107     fail: SWIGUNUSED;
36108   }
36109   lua_error(L);
36110   return 0;
36111 }
36112 
36113 
_wrap_SBMemoryRegionInfo_GetRegionEnd(lua_State * L)36114 static int _wrap_SBMemoryRegionInfo_GetRegionEnd(lua_State* L) {
36115   {
36116     int SWIG_arg = 0;
36117     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36118     lldb::addr_t result;
36119 
36120     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetRegionEnd",1,1)
36121     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetRegionEnd",1,"lldb::SBMemoryRegionInfo *");
36122 
36123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36124       SWIG_fail_ptr("SBMemoryRegionInfo_GetRegionEnd",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36125     }
36126 
36127     result = (lldb::addr_t)(arg1)->GetRegionEnd();
36128     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36129     return SWIG_arg;
36130 
36131     fail: SWIGUNUSED;
36132   }
36133   lua_error(L);
36134   return 0;
36135 }
36136 
36137 
_wrap_SBMemoryRegionInfo_IsReadable(lua_State * L)36138 static int _wrap_SBMemoryRegionInfo_IsReadable(lua_State* L) {
36139   {
36140     int SWIG_arg = 0;
36141     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36142     bool result;
36143 
36144     SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsReadable",1,1)
36145     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsReadable",1,"lldb::SBMemoryRegionInfo *");
36146 
36147     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36148       SWIG_fail_ptr("SBMemoryRegionInfo_IsReadable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36149     }
36150 
36151     result = (bool)(arg1)->IsReadable();
36152     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36153     return SWIG_arg;
36154 
36155     fail: SWIGUNUSED;
36156   }
36157   lua_error(L);
36158   return 0;
36159 }
36160 
36161 
_wrap_SBMemoryRegionInfo_IsWritable(lua_State * L)36162 static int _wrap_SBMemoryRegionInfo_IsWritable(lua_State* L) {
36163   {
36164     int SWIG_arg = 0;
36165     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36166     bool result;
36167 
36168     SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsWritable",1,1)
36169     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsWritable",1,"lldb::SBMemoryRegionInfo *");
36170 
36171     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36172       SWIG_fail_ptr("SBMemoryRegionInfo_IsWritable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36173     }
36174 
36175     result = (bool)(arg1)->IsWritable();
36176     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36177     return SWIG_arg;
36178 
36179     fail: SWIGUNUSED;
36180   }
36181   lua_error(L);
36182   return 0;
36183 }
36184 
36185 
_wrap_SBMemoryRegionInfo_IsExecutable(lua_State * L)36186 static int _wrap_SBMemoryRegionInfo_IsExecutable(lua_State* L) {
36187   {
36188     int SWIG_arg = 0;
36189     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36190     bool result;
36191 
36192     SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsExecutable",1,1)
36193     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsExecutable",1,"lldb::SBMemoryRegionInfo *");
36194 
36195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36196       SWIG_fail_ptr("SBMemoryRegionInfo_IsExecutable",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36197     }
36198 
36199     result = (bool)(arg1)->IsExecutable();
36200     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36201     return SWIG_arg;
36202 
36203     fail: SWIGUNUSED;
36204   }
36205   lua_error(L);
36206   return 0;
36207 }
36208 
36209 
_wrap_SBMemoryRegionInfo_IsMapped(lua_State * L)36210 static int _wrap_SBMemoryRegionInfo_IsMapped(lua_State* L) {
36211   {
36212     int SWIG_arg = 0;
36213     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36214     bool result;
36215 
36216     SWIG_check_num_args("lldb::SBMemoryRegionInfo::IsMapped",1,1)
36217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::IsMapped",1,"lldb::SBMemoryRegionInfo *");
36218 
36219     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36220       SWIG_fail_ptr("SBMemoryRegionInfo_IsMapped",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36221     }
36222 
36223     result = (bool)(arg1)->IsMapped();
36224     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36225     return SWIG_arg;
36226 
36227     fail: SWIGUNUSED;
36228   }
36229   lua_error(L);
36230   return 0;
36231 }
36232 
36233 
_wrap_SBMemoryRegionInfo_GetName(lua_State * L)36234 static int _wrap_SBMemoryRegionInfo_GetName(lua_State* L) {
36235   {
36236     int SWIG_arg = 0;
36237     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36238     char *result = 0 ;
36239 
36240     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetName",1,1)
36241     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetName",1,"lldb::SBMemoryRegionInfo *");
36242 
36243     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36244       SWIG_fail_ptr("SBMemoryRegionInfo_GetName",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36245     }
36246 
36247     result = (char *)(arg1)->GetName();
36248     lua_pushstring(L,(const char *)result); SWIG_arg++;
36249     return SWIG_arg;
36250 
36251     fail: SWIGUNUSED;
36252   }
36253   lua_error(L);
36254   return 0;
36255 }
36256 
36257 
_wrap_SBMemoryRegionInfo_HasDirtyMemoryPageList(lua_State * L)36258 static int _wrap_SBMemoryRegionInfo_HasDirtyMemoryPageList(lua_State* L) {
36259   {
36260     int SWIG_arg = 0;
36261     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36262     bool result;
36263 
36264     SWIG_check_num_args("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,1)
36265     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::HasDirtyMemoryPageList",1,"lldb::SBMemoryRegionInfo *");
36266 
36267     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36268       SWIG_fail_ptr("SBMemoryRegionInfo_HasDirtyMemoryPageList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36269     }
36270 
36271     result = (bool)(arg1)->HasDirtyMemoryPageList();
36272     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36273     return SWIG_arg;
36274 
36275     fail: SWIGUNUSED;
36276   }
36277   lua_error(L);
36278   return 0;
36279 }
36280 
36281 
_wrap_SBMemoryRegionInfo_GetNumDirtyPages(lua_State * L)36282 static int _wrap_SBMemoryRegionInfo_GetNumDirtyPages(lua_State* L) {
36283   {
36284     int SWIG_arg = 0;
36285     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36286     uint32_t result;
36287 
36288     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,1)
36289     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetNumDirtyPages",1,"lldb::SBMemoryRegionInfo *");
36290 
36291     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36292       SWIG_fail_ptr("SBMemoryRegionInfo_GetNumDirtyPages",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36293     }
36294 
36295     result = (uint32_t)(arg1)->GetNumDirtyPages();
36296     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36297     return SWIG_arg;
36298 
36299     fail: SWIGUNUSED;
36300   }
36301   lua_error(L);
36302   return 0;
36303 }
36304 
36305 
_wrap_SBMemoryRegionInfo_GetDirtyPageAddressAtIndex(lua_State * L)36306 static int _wrap_SBMemoryRegionInfo_GetDirtyPageAddressAtIndex(lua_State* L) {
36307   {
36308     int SWIG_arg = 0;
36309     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36310     uint32_t arg2 ;
36311     lldb::addr_t result;
36312 
36313     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,2)
36314     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",1,"lldb::SBMemoryRegionInfo *");
36315     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDirtyPageAddressAtIndex",2,"uint32_t");
36316 
36317     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36318       SWIG_fail_ptr("SBMemoryRegionInfo_GetDirtyPageAddressAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36319     }
36320 
36321     arg2 = (uint32_t)lua_tointeger(L, 2);
36322     result = (lldb::addr_t)(arg1)->GetDirtyPageAddressAtIndex(arg2);
36323     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36324     return SWIG_arg;
36325 
36326     fail: SWIGUNUSED;
36327   }
36328   lua_error(L);
36329   return 0;
36330 }
36331 
36332 
_wrap_SBMemoryRegionInfo_GetPageSize(lua_State * L)36333 static int _wrap_SBMemoryRegionInfo_GetPageSize(lua_State* L) {
36334   {
36335     int SWIG_arg = 0;
36336     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36337     int result;
36338 
36339     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetPageSize",1,1)
36340     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetPageSize",1,"lldb::SBMemoryRegionInfo *");
36341 
36342     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36343       SWIG_fail_ptr("SBMemoryRegionInfo_GetPageSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36344     }
36345 
36346     result = (int)(arg1)->GetPageSize();
36347     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36348     return SWIG_arg;
36349 
36350     fail: SWIGUNUSED;
36351   }
36352   lua_error(L);
36353   return 0;
36354 }
36355 
36356 
_wrap_SBMemoryRegionInfo___eq(lua_State * L)36357 static int _wrap_SBMemoryRegionInfo___eq(lua_State* L) {
36358   {
36359     int SWIG_arg = 0;
36360     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36361     lldb::SBMemoryRegionInfo *arg2 = 0 ;
36362     bool result;
36363 
36364     SWIG_check_num_args("lldb::SBMemoryRegionInfo::operator ==",2,2)
36365     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",1,"lldb::SBMemoryRegionInfo const *");
36366     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::operator ==",2,"lldb::SBMemoryRegionInfo const &");
36367 
36368     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36369       SWIG_fail_ptr("SBMemoryRegionInfo___eq",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36370     }
36371 
36372 
36373     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36374       SWIG_fail_ptr("SBMemoryRegionInfo___eq",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36375     }
36376 
36377     result = (bool)((lldb::SBMemoryRegionInfo const *)arg1)->operator ==((lldb::SBMemoryRegionInfo const &)*arg2);
36378     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36379     return SWIG_arg;
36380 
36381     fail: SWIGUNUSED;
36382   }
36383   lua_error(L);
36384   return 0;
36385 }
36386 
36387 
_wrap_SBMemoryRegionInfo_GetDescription(lua_State * L)36388 static int _wrap_SBMemoryRegionInfo_GetDescription(lua_State* L) {
36389   {
36390     int SWIG_arg = 0;
36391     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36392     lldb::SBStream *arg2 = 0 ;
36393     bool result;
36394 
36395     SWIG_check_num_args("lldb::SBMemoryRegionInfo::GetDescription",2,2)
36396     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",1,"lldb::SBMemoryRegionInfo *");
36397     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::GetDescription",2,"lldb::SBStream &");
36398 
36399     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36400       SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36401     }
36402 
36403 
36404     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
36405       SWIG_fail_ptr("SBMemoryRegionInfo_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
36406     }
36407 
36408     result = (bool)(arg1)->GetDescription(*arg2);
36409     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36410     return SWIG_arg;
36411 
36412     fail: SWIGUNUSED;
36413   }
36414   lua_error(L);
36415   return 0;
36416 }
36417 
36418 
_wrap_SBMemoryRegionInfo___tostring(lua_State * L)36419 static int _wrap_SBMemoryRegionInfo___tostring(lua_State* L) {
36420   {
36421     int SWIG_arg = 0;
36422     lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) 0 ;
36423     std::string result;
36424 
36425     SWIG_check_num_args("lldb::SBMemoryRegionInfo::__repr__",1,1)
36426     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfo::__repr__",1,"lldb::SBMemoryRegionInfo *");
36427 
36428     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36429       SWIG_fail_ptr("SBMemoryRegionInfo___tostring",1,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36430     }
36431 
36432     result = lldb_SBMemoryRegionInfo___repr__(arg1);
36433     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
36434     return SWIG_arg;
36435 
36436     fail: SWIGUNUSED;
36437   }
36438   lua_error(L);
36439   return 0;
36440 }
36441 
36442 
swig_delete_SBMemoryRegionInfo(void * obj)36443 static void swig_delete_SBMemoryRegionInfo(void *obj) {
36444 lldb::SBMemoryRegionInfo *arg1 = (lldb::SBMemoryRegionInfo *) obj;
36445 delete arg1;
36446 }
_proxy__wrap_new_SBMemoryRegionInfo(lua_State * L)36447 static int _proxy__wrap_new_SBMemoryRegionInfo(lua_State *L) {
36448     assert(lua_istable(L,1));
36449     lua_pushcfunction(L,_wrap_new_SBMemoryRegionInfo);
36450     assert(!lua_isnil(L,-1));
36451     lua_replace(L,1); /* replace our table with real constructor */
36452     lua_call(L,lua_gettop(L)-1,1);
36453     return 1;
36454 }
36455 static swig_lua_attribute swig_SBMemoryRegionInfo_attributes[] = {
36456     {0,0,0}
36457 };
36458 static swig_lua_method swig_SBMemoryRegionInfo_methods[]= {
36459     { "Clear", _wrap_SBMemoryRegionInfo_Clear},
36460     { "GetRegionBase", _wrap_SBMemoryRegionInfo_GetRegionBase},
36461     { "GetRegionEnd", _wrap_SBMemoryRegionInfo_GetRegionEnd},
36462     { "IsReadable", _wrap_SBMemoryRegionInfo_IsReadable},
36463     { "IsWritable", _wrap_SBMemoryRegionInfo_IsWritable},
36464     { "IsExecutable", _wrap_SBMemoryRegionInfo_IsExecutable},
36465     { "IsMapped", _wrap_SBMemoryRegionInfo_IsMapped},
36466     { "GetName", _wrap_SBMemoryRegionInfo_GetName},
36467     { "HasDirtyMemoryPageList", _wrap_SBMemoryRegionInfo_HasDirtyMemoryPageList},
36468     { "GetNumDirtyPages", _wrap_SBMemoryRegionInfo_GetNumDirtyPages},
36469     { "GetDirtyPageAddressAtIndex", _wrap_SBMemoryRegionInfo_GetDirtyPageAddressAtIndex},
36470     { "GetPageSize", _wrap_SBMemoryRegionInfo_GetPageSize},
36471     { "__eq", _wrap_SBMemoryRegionInfo___eq},
36472     { "GetDescription", _wrap_SBMemoryRegionInfo_GetDescription},
36473     { "__tostring", _wrap_SBMemoryRegionInfo___tostring},
36474     {0,0}
36475 };
36476 static swig_lua_method swig_SBMemoryRegionInfo_meta[] = {
36477     { "__eq", _wrap_SBMemoryRegionInfo___eq},
36478     { "__tostring", _wrap_SBMemoryRegionInfo___tostring},
36479     {0,0}
36480 };
36481 
36482 static swig_lua_attribute swig_SBMemoryRegionInfo_Sf_SwigStatic_attributes[] = {
36483     {0,0,0}
36484 };
36485 static swig_lua_const_info swig_SBMemoryRegionInfo_Sf_SwigStatic_constants[]= {
36486     {0,0,0,0,0,0}
36487 };
36488 static swig_lua_method swig_SBMemoryRegionInfo_Sf_SwigStatic_methods[]= {
36489     {0,0}
36490 };
36491 static swig_lua_class* swig_SBMemoryRegionInfo_Sf_SwigStatic_classes[]= {
36492     0
36493 };
36494 
36495 static swig_lua_namespace swig_SBMemoryRegionInfo_Sf_SwigStatic = {
36496     "SBMemoryRegionInfo",
36497     swig_SBMemoryRegionInfo_Sf_SwigStatic_methods,
36498     swig_SBMemoryRegionInfo_Sf_SwigStatic_attributes,
36499     swig_SBMemoryRegionInfo_Sf_SwigStatic_constants,
36500     swig_SBMemoryRegionInfo_Sf_SwigStatic_classes,
36501     0
36502 };
36503 static swig_lua_class *swig_SBMemoryRegionInfo_bases[] = {0};
36504 static const char *swig_SBMemoryRegionInfo_base_names[] = {0};
36505 static swig_lua_class _wrap_class_SBMemoryRegionInfo = { "SBMemoryRegionInfo", "SBMemoryRegionInfo", &SWIGTYPE_p_lldb__SBMemoryRegionInfo,_proxy__wrap_new_SBMemoryRegionInfo, swig_delete_SBMemoryRegionInfo, swig_SBMemoryRegionInfo_methods, swig_SBMemoryRegionInfo_attributes, &swig_SBMemoryRegionInfo_Sf_SwigStatic, swig_SBMemoryRegionInfo_meta, swig_SBMemoryRegionInfo_bases, swig_SBMemoryRegionInfo_base_names };
36506 
_wrap_new_SBMemoryRegionInfoList__SWIG_0(lua_State * L)36507 static int _wrap_new_SBMemoryRegionInfoList__SWIG_0(lua_State* L) {
36508   {
36509     int SWIG_arg = 0;
36510     lldb::SBMemoryRegionInfoList *result = 0 ;
36511 
36512     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",0,0)
36513     result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList();
36514     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++;
36515     return SWIG_arg;
36516 
36517     fail: SWIGUNUSED;
36518   }
36519   lua_error(L);
36520   return 0;
36521 }
36522 
36523 
_wrap_new_SBMemoryRegionInfoList__SWIG_1(lua_State * L)36524 static int _wrap_new_SBMemoryRegionInfoList__SWIG_1(lua_State* L) {
36525   {
36526     int SWIG_arg = 0;
36527     lldb::SBMemoryRegionInfoList *arg1 = 0 ;
36528     lldb::SBMemoryRegionInfoList *result = 0 ;
36529 
36530     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,1)
36531     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList",1,"lldb::SBMemoryRegionInfoList const &");
36532 
36533     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36534       SWIG_fail_ptr("new_SBMemoryRegionInfoList",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36535     }
36536 
36537     result = (lldb::SBMemoryRegionInfoList *)new lldb::SBMemoryRegionInfoList((lldb::SBMemoryRegionInfoList const &)*arg1);
36538     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++;
36539     return SWIG_arg;
36540 
36541     fail: SWIGUNUSED;
36542   }
36543   lua_error(L);
36544   return 0;
36545 }
36546 
36547 
_wrap_new_SBMemoryRegionInfoList(lua_State * L)36548 static int _wrap_new_SBMemoryRegionInfoList(lua_State* L) {
36549   int argc;
36550   int argv[2]={
36551     1,2
36552   };
36553 
36554   argc = lua_gettop(L);
36555   if (argc == 0) {
36556     return _wrap_new_SBMemoryRegionInfoList__SWIG_0(L);
36557   }
36558   if (argc == 1) {
36559     int _v = 0;
36560     {
36561       void *ptr;
36562       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, SWIG_POINTER_NO_NULL)) {
36563         _v = 0;
36564       } else {
36565         _v = 1;
36566       }
36567     }
36568     if (_v) {
36569       return _wrap_new_SBMemoryRegionInfoList__SWIG_1(L);
36570     }
36571   }
36572 
36573   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBMemoryRegionInfoList'\n"
36574     "  Possible C/C++ prototypes are:\n"
36575     "    lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList()\n"
36576     "    lldb::SBMemoryRegionInfoList::SBMemoryRegionInfoList(lldb::SBMemoryRegionInfoList const &)\n");
36577   lua_error(L);return 0;
36578 }
36579 
36580 
_wrap_SBMemoryRegionInfoList_GetSize(lua_State * L)36581 static int _wrap_SBMemoryRegionInfoList_GetSize(lua_State* L) {
36582   {
36583     int SWIG_arg = 0;
36584     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36585     uint32_t result;
36586 
36587     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetSize",1,1)
36588     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetSize",1,"lldb::SBMemoryRegionInfoList const *");
36589 
36590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36591       SWIG_fail_ptr("SBMemoryRegionInfoList_GetSize",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36592     }
36593 
36594     result = (uint32_t)((lldb::SBMemoryRegionInfoList const *)arg1)->GetSize();
36595     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
36596     return SWIG_arg;
36597 
36598     fail: SWIGUNUSED;
36599   }
36600   lua_error(L);
36601   return 0;
36602 }
36603 
36604 
_wrap_SBMemoryRegionInfoList_GetMemoryRegionContainingAddress(lua_State * L)36605 static int _wrap_SBMemoryRegionInfoList_GetMemoryRegionContainingAddress(lua_State* L) {
36606   {
36607     int SWIG_arg = 0;
36608     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36609     lldb::addr_t arg2 ;
36610     lldb::SBMemoryRegionInfo *arg3 = 0 ;
36611     bool result;
36612 
36613     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,3)
36614     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",1,"lldb::SBMemoryRegionInfoList *");
36615     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",2,"lldb::addr_t");
36616     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionContainingAddress",3,"lldb::SBMemoryRegionInfo &");
36617 
36618     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36619       SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36620     }
36621 
36622     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
36623 
36624     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36625       SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionContainingAddress",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36626     }
36627 
36628     result = (bool)(arg1)->GetMemoryRegionContainingAddress(arg2,*arg3);
36629     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36630     return SWIG_arg;
36631 
36632     fail: SWIGUNUSED;
36633   }
36634   lua_error(L);
36635   return 0;
36636 }
36637 
36638 
_wrap_SBMemoryRegionInfoList_GetMemoryRegionAtIndex(lua_State * L)36639 static int _wrap_SBMemoryRegionInfoList_GetMemoryRegionAtIndex(lua_State* L) {
36640   {
36641     int SWIG_arg = 0;
36642     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36643     uint32_t arg2 ;
36644     lldb::SBMemoryRegionInfo *arg3 = 0 ;
36645     bool result;
36646 
36647     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,3)
36648     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",1,"lldb::SBMemoryRegionInfoList *");
36649     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",2,"uint32_t");
36650     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::GetMemoryRegionAtIndex",3,"lldb::SBMemoryRegionInfo &");
36651 
36652     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36653       SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36654     }
36655 
36656     arg2 = (uint32_t)lua_tointeger(L, 2);
36657 
36658     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36659       SWIG_fail_ptr("SBMemoryRegionInfoList_GetMemoryRegionAtIndex",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36660     }
36661 
36662     result = (bool)(arg1)->GetMemoryRegionAtIndex(arg2,*arg3);
36663     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
36664     return SWIG_arg;
36665 
36666     fail: SWIGUNUSED;
36667   }
36668   lua_error(L);
36669   return 0;
36670 }
36671 
36672 
_wrap_SBMemoryRegionInfoList_Append__SWIG_0(lua_State * L)36673 static int _wrap_SBMemoryRegionInfoList_Append__SWIG_0(lua_State* L) {
36674   {
36675     int SWIG_arg = 0;
36676     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36677     lldb::SBMemoryRegionInfo *arg2 = 0 ;
36678 
36679     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2)
36680     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *");
36681     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfo &");
36682 
36683     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36684       SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36685     }
36686 
36687 
36688     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
36689       SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
36690     }
36691 
36692     (arg1)->Append(*arg2);
36693 
36694     return SWIG_arg;
36695 
36696     fail: SWIGUNUSED;
36697   }
36698   lua_error(L);
36699   return 0;
36700 }
36701 
36702 
_wrap_SBMemoryRegionInfoList_Append__SWIG_1(lua_State * L)36703 static int _wrap_SBMemoryRegionInfoList_Append__SWIG_1(lua_State* L) {
36704   {
36705     int SWIG_arg = 0;
36706     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36707     lldb::SBMemoryRegionInfoList *arg2 = 0 ;
36708 
36709     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Append",2,2)
36710     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",1,"lldb::SBMemoryRegionInfoList *");
36711     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Append",2,"lldb::SBMemoryRegionInfoList &");
36712 
36713     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36714       SWIG_fail_ptr("SBMemoryRegionInfoList_Append",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36715     }
36716 
36717 
36718     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36719       SWIG_fail_ptr("SBMemoryRegionInfoList_Append",2,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36720     }
36721 
36722     (arg1)->Append(*arg2);
36723 
36724     return SWIG_arg;
36725 
36726     fail: SWIGUNUSED;
36727   }
36728   lua_error(L);
36729   return 0;
36730 }
36731 
36732 
_wrap_SBMemoryRegionInfoList_Append(lua_State * L)36733 static int _wrap_SBMemoryRegionInfoList_Append(lua_State* L) {
36734   int argc;
36735   int argv[3]={
36736     1,2,3
36737   };
36738 
36739   argc = lua_gettop(L);
36740   if (argc == 2) {
36741     int _v = 0;
36742     {
36743       void *ptr;
36744       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, 0)) {
36745         _v = 0;
36746       } else {
36747         _v = 1;
36748       }
36749     }
36750     if (_v) {
36751       {
36752         void *ptr;
36753         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfo, SWIG_POINTER_NO_NULL)) {
36754           _v = 0;
36755         } else {
36756           _v = 1;
36757         }
36758       }
36759       if (_v) {
36760         return _wrap_SBMemoryRegionInfoList_Append__SWIG_0(L);
36761       }
36762     }
36763   }
36764   if (argc == 2) {
36765     int _v = 0;
36766     {
36767       void *ptr;
36768       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, 0)) {
36769         _v = 0;
36770       } else {
36771         _v = 1;
36772       }
36773     }
36774     if (_v) {
36775       {
36776         void *ptr;
36777         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBMemoryRegionInfoList, SWIG_POINTER_NO_NULL)) {
36778           _v = 0;
36779         } else {
36780           _v = 1;
36781         }
36782       }
36783       if (_v) {
36784         return _wrap_SBMemoryRegionInfoList_Append__SWIG_1(L);
36785       }
36786     }
36787   }
36788 
36789   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBMemoryRegionInfoList_Append'\n"
36790     "  Possible C/C++ prototypes are:\n"
36791     "    lldb::SBMemoryRegionInfoList::Append(lldb::SBMemoryRegionInfo &)\n"
36792     "    lldb::SBMemoryRegionInfoList::Append(lldb::SBMemoryRegionInfoList &)\n");
36793   lua_error(L);return 0;
36794 }
36795 
36796 
_wrap_SBMemoryRegionInfoList_Clear(lua_State * L)36797 static int _wrap_SBMemoryRegionInfoList_Clear(lua_State* L) {
36798   {
36799     int SWIG_arg = 0;
36800     lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) 0 ;
36801 
36802     SWIG_check_num_args("lldb::SBMemoryRegionInfoList::Clear",1,1)
36803     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBMemoryRegionInfoList::Clear",1,"lldb::SBMemoryRegionInfoList *");
36804 
36805     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,0))){
36806       SWIG_fail_ptr("SBMemoryRegionInfoList_Clear",1,SWIGTYPE_p_lldb__SBMemoryRegionInfoList);
36807     }
36808 
36809     (arg1)->Clear();
36810 
36811     return SWIG_arg;
36812 
36813     fail: SWIGUNUSED;
36814   }
36815   lua_error(L);
36816   return 0;
36817 }
36818 
36819 
swig_delete_SBMemoryRegionInfoList(void * obj)36820 static void swig_delete_SBMemoryRegionInfoList(void *obj) {
36821 lldb::SBMemoryRegionInfoList *arg1 = (lldb::SBMemoryRegionInfoList *) obj;
36822 delete arg1;
36823 }
_proxy__wrap_new_SBMemoryRegionInfoList(lua_State * L)36824 static int _proxy__wrap_new_SBMemoryRegionInfoList(lua_State *L) {
36825     assert(lua_istable(L,1));
36826     lua_pushcfunction(L,_wrap_new_SBMemoryRegionInfoList);
36827     assert(!lua_isnil(L,-1));
36828     lua_replace(L,1); /* replace our table with real constructor */
36829     lua_call(L,lua_gettop(L)-1,1);
36830     return 1;
36831 }
36832 static swig_lua_attribute swig_SBMemoryRegionInfoList_attributes[] = {
36833     {0,0,0}
36834 };
36835 static swig_lua_method swig_SBMemoryRegionInfoList_methods[]= {
36836     { "GetSize", _wrap_SBMemoryRegionInfoList_GetSize},
36837     { "GetMemoryRegionContainingAddress", _wrap_SBMemoryRegionInfoList_GetMemoryRegionContainingAddress},
36838     { "GetMemoryRegionAtIndex", _wrap_SBMemoryRegionInfoList_GetMemoryRegionAtIndex},
36839     { "Append", _wrap_SBMemoryRegionInfoList_Append},
36840     { "Clear", _wrap_SBMemoryRegionInfoList_Clear},
36841     {0,0}
36842 };
36843 static swig_lua_method swig_SBMemoryRegionInfoList_meta[] = {
36844     {0,0}
36845 };
36846 
36847 static swig_lua_attribute swig_SBMemoryRegionInfoList_Sf_SwigStatic_attributes[] = {
36848     {0,0,0}
36849 };
36850 static swig_lua_const_info swig_SBMemoryRegionInfoList_Sf_SwigStatic_constants[]= {
36851     {0,0,0,0,0,0}
36852 };
36853 static swig_lua_method swig_SBMemoryRegionInfoList_Sf_SwigStatic_methods[]= {
36854     {0,0}
36855 };
36856 static swig_lua_class* swig_SBMemoryRegionInfoList_Sf_SwigStatic_classes[]= {
36857     0
36858 };
36859 
36860 static swig_lua_namespace swig_SBMemoryRegionInfoList_Sf_SwigStatic = {
36861     "SBMemoryRegionInfoList",
36862     swig_SBMemoryRegionInfoList_Sf_SwigStatic_methods,
36863     swig_SBMemoryRegionInfoList_Sf_SwigStatic_attributes,
36864     swig_SBMemoryRegionInfoList_Sf_SwigStatic_constants,
36865     swig_SBMemoryRegionInfoList_Sf_SwigStatic_classes,
36866     0
36867 };
36868 static swig_lua_class *swig_SBMemoryRegionInfoList_bases[] = {0};
36869 static const char *swig_SBMemoryRegionInfoList_base_names[] = {0};
36870 static swig_lua_class _wrap_class_SBMemoryRegionInfoList = { "SBMemoryRegionInfoList", "SBMemoryRegionInfoList", &SWIGTYPE_p_lldb__SBMemoryRegionInfoList,_proxy__wrap_new_SBMemoryRegionInfoList, swig_delete_SBMemoryRegionInfoList, swig_SBMemoryRegionInfoList_methods, swig_SBMemoryRegionInfoList_attributes, &swig_SBMemoryRegionInfoList_Sf_SwigStatic, swig_SBMemoryRegionInfoList_meta, swig_SBMemoryRegionInfoList_bases, swig_SBMemoryRegionInfoList_base_names };
36871 
_wrap_new_SBModule__SWIG_0(lua_State * L)36872 static int _wrap_new_SBModule__SWIG_0(lua_State* L) {
36873   {
36874     int SWIG_arg = 0;
36875     lldb::SBModule *result = 0 ;
36876 
36877     SWIG_check_num_args("lldb::SBModule::SBModule",0,0)
36878     result = (lldb::SBModule *)new lldb::SBModule();
36879     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
36880     return SWIG_arg;
36881 
36882     fail: SWIGUNUSED;
36883   }
36884   lua_error(L);
36885   return 0;
36886 }
36887 
36888 
_wrap_new_SBModule__SWIG_1(lua_State * L)36889 static int _wrap_new_SBModule__SWIG_1(lua_State* L) {
36890   {
36891     int SWIG_arg = 0;
36892     lldb::SBModule *arg1 = 0 ;
36893     lldb::SBModule *result = 0 ;
36894 
36895     SWIG_check_num_args("lldb::SBModule::SBModule",1,1)
36896     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModule const &");
36897 
36898     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
36899       SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModule);
36900     }
36901 
36902     result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModule const &)*arg1);
36903     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
36904     return SWIG_arg;
36905 
36906     fail: SWIGUNUSED;
36907   }
36908   lua_error(L);
36909   return 0;
36910 }
36911 
36912 
_wrap_new_SBModule__SWIG_2(lua_State * L)36913 static int _wrap_new_SBModule__SWIG_2(lua_State* L) {
36914   {
36915     int SWIG_arg = 0;
36916     lldb::SBModuleSpec *arg1 = 0 ;
36917     lldb::SBModule *result = 0 ;
36918 
36919     SWIG_check_num_args("lldb::SBModule::SBModule",1,1)
36920     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBModuleSpec const &");
36921 
36922     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
36923       SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBModuleSpec);
36924     }
36925 
36926     result = (lldb::SBModule *)new lldb::SBModule((lldb::SBModuleSpec const &)*arg1);
36927     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
36928     return SWIG_arg;
36929 
36930     fail: SWIGUNUSED;
36931   }
36932   lua_error(L);
36933   return 0;
36934 }
36935 
36936 
_wrap_new_SBModule__SWIG_3(lua_State * L)36937 static int _wrap_new_SBModule__SWIG_3(lua_State* L) {
36938   {
36939     int SWIG_arg = 0;
36940     lldb::SBProcess *arg1 = 0 ;
36941     lldb::addr_t arg2 ;
36942     lldb::SBModule *result = 0 ;
36943 
36944     SWIG_check_num_args("lldb::SBModule::SBModule",2,2)
36945     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModule::SBModule",1,"lldb::SBProcess &");
36946     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::SBModule",2,"lldb::addr_t");
36947 
36948     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
36949       SWIG_fail_ptr("new_SBModule",1,SWIGTYPE_p_lldb__SBProcess);
36950     }
36951 
36952     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
36953     result = (lldb::SBModule *)new lldb::SBModule(*arg1,arg2);
36954     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
36955     return SWIG_arg;
36956 
36957     fail: SWIGUNUSED;
36958   }
36959   lua_error(L);
36960   return 0;
36961 }
36962 
36963 
_wrap_new_SBModule(lua_State * L)36964 static int _wrap_new_SBModule(lua_State* L) {
36965   int argc;
36966   int argv[3]={
36967     1,2,3
36968   };
36969 
36970   argc = lua_gettop(L);
36971   if (argc == 0) {
36972     return _wrap_new_SBModule__SWIG_0(L);
36973   }
36974   if (argc == 1) {
36975     int _v = 0;
36976     {
36977       void *ptr;
36978       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, SWIG_POINTER_NO_NULL)) {
36979         _v = 0;
36980       } else {
36981         _v = 1;
36982       }
36983     }
36984     if (_v) {
36985       return _wrap_new_SBModule__SWIG_1(L);
36986     }
36987   }
36988   if (argc == 1) {
36989     int _v = 0;
36990     {
36991       void *ptr;
36992       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) {
36993         _v = 0;
36994       } else {
36995         _v = 1;
36996       }
36997     }
36998     if (_v) {
36999       return _wrap_new_SBModule__SWIG_2(L);
37000     }
37001   }
37002   if (argc == 2) {
37003     int _v = 0;
37004     {
37005       void *ptr;
37006       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) {
37007         _v = 0;
37008       } else {
37009         _v = 1;
37010       }
37011     }
37012     if (_v) {
37013       {
37014         _v = lua_isnumber(L,argv[1]);
37015       }
37016       if (_v) {
37017         return _wrap_new_SBModule__SWIG_3(L);
37018       }
37019     }
37020   }
37021 
37022   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBModule'\n"
37023     "  Possible C/C++ prototypes are:\n"
37024     "    lldb::SBModule::SBModule()\n"
37025     "    lldb::SBModule::SBModule(lldb::SBModule const &)\n"
37026     "    lldb::SBModule::SBModule(lldb::SBModuleSpec const &)\n"
37027     "    lldb::SBModule::SBModule(lldb::SBProcess &,lldb::addr_t)\n");
37028   lua_error(L);return 0;
37029 }
37030 
37031 
_wrap_SBModule_IsValid(lua_State * L)37032 static int _wrap_SBModule_IsValid(lua_State* L) {
37033   {
37034     int SWIG_arg = 0;
37035     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37036     bool result;
37037 
37038     SWIG_check_num_args("lldb::SBModule::IsValid",1,1)
37039     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsValid",1,"lldb::SBModule const *");
37040 
37041     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37042       SWIG_fail_ptr("SBModule_IsValid",1,SWIGTYPE_p_lldb__SBModule);
37043     }
37044 
37045     result = (bool)((lldb::SBModule const *)arg1)->IsValid();
37046     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37047     return SWIG_arg;
37048 
37049     fail: SWIGUNUSED;
37050   }
37051   lua_error(L);
37052   return 0;
37053 }
37054 
37055 
_wrap_SBModule_Clear(lua_State * L)37056 static int _wrap_SBModule_Clear(lua_State* L) {
37057   {
37058     int SWIG_arg = 0;
37059     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37060 
37061     SWIG_check_num_args("lldb::SBModule::Clear",1,1)
37062     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::Clear",1,"lldb::SBModule *");
37063 
37064     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37065       SWIG_fail_ptr("SBModule_Clear",1,SWIGTYPE_p_lldb__SBModule);
37066     }
37067 
37068     (arg1)->Clear();
37069 
37070     return SWIG_arg;
37071 
37072     fail: SWIGUNUSED;
37073   }
37074   lua_error(L);
37075   return 0;
37076 }
37077 
37078 
_wrap_SBModule_IsFileBacked(lua_State * L)37079 static int _wrap_SBModule_IsFileBacked(lua_State* L) {
37080   {
37081     int SWIG_arg = 0;
37082     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37083     bool result;
37084 
37085     SWIG_check_num_args("lldb::SBModule::IsFileBacked",1,1)
37086     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::IsFileBacked",1,"lldb::SBModule const *");
37087 
37088     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37089       SWIG_fail_ptr("SBModule_IsFileBacked",1,SWIGTYPE_p_lldb__SBModule);
37090     }
37091 
37092     result = (bool)((lldb::SBModule const *)arg1)->IsFileBacked();
37093     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37094     return SWIG_arg;
37095 
37096     fail: SWIGUNUSED;
37097   }
37098   lua_error(L);
37099   return 0;
37100 }
37101 
37102 
_wrap_SBModule_GetFileSpec(lua_State * L)37103 static int _wrap_SBModule_GetFileSpec(lua_State* L) {
37104   {
37105     int SWIG_arg = 0;
37106     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37107     lldb::SBFileSpec result;
37108 
37109     SWIG_check_num_args("lldb::SBModule::GetFileSpec",1,1)
37110     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetFileSpec",1,"lldb::SBModule const *");
37111 
37112     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37113       SWIG_fail_ptr("SBModule_GetFileSpec",1,SWIGTYPE_p_lldb__SBModule);
37114     }
37115 
37116     result = ((lldb::SBModule const *)arg1)->GetFileSpec();
37117     {
37118       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
37119       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
37120     }
37121     return SWIG_arg;
37122 
37123     fail: SWIGUNUSED;
37124   }
37125   lua_error(L);
37126   return 0;
37127 }
37128 
37129 
_wrap_SBModule_GetPlatformFileSpec(lua_State * L)37130 static int _wrap_SBModule_GetPlatformFileSpec(lua_State* L) {
37131   {
37132     int SWIG_arg = 0;
37133     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37134     lldb::SBFileSpec result;
37135 
37136     SWIG_check_num_args("lldb::SBModule::GetPlatformFileSpec",1,1)
37137     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetPlatformFileSpec",1,"lldb::SBModule const *");
37138 
37139     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37140       SWIG_fail_ptr("SBModule_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule);
37141     }
37142 
37143     result = ((lldb::SBModule const *)arg1)->GetPlatformFileSpec();
37144     {
37145       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
37146       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
37147     }
37148     return SWIG_arg;
37149 
37150     fail: SWIGUNUSED;
37151   }
37152   lua_error(L);
37153   return 0;
37154 }
37155 
37156 
_wrap_SBModule_SetPlatformFileSpec(lua_State * L)37157 static int _wrap_SBModule_SetPlatformFileSpec(lua_State* L) {
37158   {
37159     int SWIG_arg = 0;
37160     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37161     lldb::SBFileSpec *arg2 = 0 ;
37162     bool result;
37163 
37164     SWIG_check_num_args("lldb::SBModule::SetPlatformFileSpec",2,2)
37165     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",1,"lldb::SBModule *");
37166     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetPlatformFileSpec",2,"lldb::SBFileSpec const &");
37167 
37168     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37169       SWIG_fail_ptr("SBModule_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModule);
37170     }
37171 
37172 
37173     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
37174       SWIG_fail_ptr("SBModule_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
37175     }
37176 
37177     result = (bool)(arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2);
37178     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37179     return SWIG_arg;
37180 
37181     fail: SWIGUNUSED;
37182   }
37183   lua_error(L);
37184   return 0;
37185 }
37186 
37187 
_wrap_SBModule_GetRemoteInstallFileSpec(lua_State * L)37188 static int _wrap_SBModule_GetRemoteInstallFileSpec(lua_State* L) {
37189   {
37190     int SWIG_arg = 0;
37191     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37192     lldb::SBFileSpec result;
37193 
37194     SWIG_check_num_args("lldb::SBModule::GetRemoteInstallFileSpec",1,1)
37195     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetRemoteInstallFileSpec",1,"lldb::SBModule *");
37196 
37197     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37198       SWIG_fail_ptr("SBModule_GetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule);
37199     }
37200 
37201     result = (arg1)->GetRemoteInstallFileSpec();
37202     {
37203       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
37204       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
37205     }
37206     return SWIG_arg;
37207 
37208     fail: SWIGUNUSED;
37209   }
37210   lua_error(L);
37211   return 0;
37212 }
37213 
37214 
_wrap_SBModule_SetRemoteInstallFileSpec(lua_State * L)37215 static int _wrap_SBModule_SetRemoteInstallFileSpec(lua_State* L) {
37216   {
37217     int SWIG_arg = 0;
37218     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37219     lldb::SBFileSpec *arg2 = 0 ;
37220     bool result;
37221 
37222     SWIG_check_num_args("lldb::SBModule::SetRemoteInstallFileSpec",2,2)
37223     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",1,"lldb::SBModule *");
37224     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::SetRemoteInstallFileSpec",2,"lldb::SBFileSpec &");
37225 
37226     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37227       SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",1,SWIGTYPE_p_lldb__SBModule);
37228     }
37229 
37230 
37231     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
37232       SWIG_fail_ptr("SBModule_SetRemoteInstallFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
37233     }
37234 
37235     result = (bool)(arg1)->SetRemoteInstallFileSpec(*arg2);
37236     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37237     return SWIG_arg;
37238 
37239     fail: SWIGUNUSED;
37240   }
37241   lua_error(L);
37242   return 0;
37243 }
37244 
37245 
_wrap_SBModule_GetByteOrder(lua_State * L)37246 static int _wrap_SBModule_GetByteOrder(lua_State* L) {
37247   {
37248     int SWIG_arg = 0;
37249     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37250     lldb::ByteOrder result;
37251 
37252     SWIG_check_num_args("lldb::SBModule::GetByteOrder",1,1)
37253     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetByteOrder",1,"lldb::SBModule *");
37254 
37255     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37256       SWIG_fail_ptr("SBModule_GetByteOrder",1,SWIGTYPE_p_lldb__SBModule);
37257     }
37258 
37259     result = (lldb::ByteOrder)(arg1)->GetByteOrder();
37260     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
37261     return SWIG_arg;
37262 
37263     fail: SWIGUNUSED;
37264   }
37265   lua_error(L);
37266   return 0;
37267 }
37268 
37269 
_wrap_SBModule_GetAddressByteSize(lua_State * L)37270 static int _wrap_SBModule_GetAddressByteSize(lua_State* L) {
37271   {
37272     int SWIG_arg = 0;
37273     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37274     uint32_t result;
37275 
37276     SWIG_check_num_args("lldb::SBModule::GetAddressByteSize",1,1)
37277     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetAddressByteSize",1,"lldb::SBModule *");
37278 
37279     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37280       SWIG_fail_ptr("SBModule_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBModule);
37281     }
37282 
37283     result = (uint32_t)(arg1)->GetAddressByteSize();
37284     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
37285     return SWIG_arg;
37286 
37287     fail: SWIGUNUSED;
37288   }
37289   lua_error(L);
37290   return 0;
37291 }
37292 
37293 
_wrap_SBModule_GetTriple(lua_State * L)37294 static int _wrap_SBModule_GetTriple(lua_State* L) {
37295   {
37296     int SWIG_arg = 0;
37297     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37298     char *result = 0 ;
37299 
37300     SWIG_check_num_args("lldb::SBModule::GetTriple",1,1)
37301     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTriple",1,"lldb::SBModule *");
37302 
37303     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37304       SWIG_fail_ptr("SBModule_GetTriple",1,SWIGTYPE_p_lldb__SBModule);
37305     }
37306 
37307     result = (char *)(arg1)->GetTriple();
37308     lua_pushstring(L,(const char *)result); SWIG_arg++;
37309     return SWIG_arg;
37310 
37311     fail: SWIGUNUSED;
37312   }
37313   lua_error(L);
37314   return 0;
37315 }
37316 
37317 
_wrap_SBModule_GetUUIDBytes(lua_State * L)37318 static int _wrap_SBModule_GetUUIDBytes(lua_State* L) {
37319   {
37320     int SWIG_arg = 0;
37321     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37322     uint8_t *result = 0 ;
37323 
37324     SWIG_check_num_args("lldb::SBModule::GetUUIDBytes",1,1)
37325     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetUUIDBytes",1,"lldb::SBModule const *");
37326 
37327     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37328       SWIG_fail_ptr("SBModule_GetUUIDBytes",1,SWIGTYPE_p_lldb__SBModule);
37329     }
37330 
37331     result = (uint8_t *)((lldb::SBModule const *)arg1)->GetUUIDBytes();
37332     SWIG_NewPointerObj(L,result,SWIGTYPE_p_unsigned_char,0); SWIG_arg++;
37333     return SWIG_arg;
37334 
37335     fail: SWIGUNUSED;
37336   }
37337   lua_error(L);
37338   return 0;
37339 }
37340 
37341 
_wrap_SBModule_GetUUIDString(lua_State * L)37342 static int _wrap_SBModule_GetUUIDString(lua_State* L) {
37343   {
37344     int SWIG_arg = 0;
37345     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37346     char *result = 0 ;
37347 
37348     SWIG_check_num_args("lldb::SBModule::GetUUIDString",1,1)
37349     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetUUIDString",1,"lldb::SBModule const *");
37350 
37351     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37352       SWIG_fail_ptr("SBModule_GetUUIDString",1,SWIGTYPE_p_lldb__SBModule);
37353     }
37354 
37355     result = (char *)((lldb::SBModule const *)arg1)->GetUUIDString();
37356     lua_pushstring(L,(const char *)result); SWIG_arg++;
37357     return SWIG_arg;
37358 
37359     fail: SWIGUNUSED;
37360   }
37361   lua_error(L);
37362   return 0;
37363 }
37364 
37365 
_wrap_SBModule___eq(lua_State * L)37366 static int _wrap_SBModule___eq(lua_State* L) {
37367   {
37368     int SWIG_arg = 0;
37369     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37370     lldb::SBModule *arg2 = 0 ;
37371     bool result;
37372 
37373     SWIG_check_num_args("lldb::SBModule::operator ==",2,2)
37374     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::operator ==",1,"lldb::SBModule const *");
37375     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::operator ==",2,"lldb::SBModule const &");
37376 
37377     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37378       SWIG_fail_ptr("SBModule___eq",1,SWIGTYPE_p_lldb__SBModule);
37379     }
37380 
37381 
37382     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){
37383       SWIG_fail_ptr("SBModule___eq",2,SWIGTYPE_p_lldb__SBModule);
37384     }
37385 
37386     result = (bool)((lldb::SBModule const *)arg1)->operator ==((lldb::SBModule const &)*arg2);
37387     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37388     return SWIG_arg;
37389 
37390     fail: SWIGUNUSED;
37391   }
37392   lua_error(L);
37393   return 0;
37394 }
37395 
37396 
_wrap_SBModule_FindSection(lua_State * L)37397 static int _wrap_SBModule_FindSection(lua_State* L) {
37398   {
37399     int SWIG_arg = 0;
37400     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37401     char *arg2 = (char *) 0 ;
37402     lldb::SBSection result;
37403 
37404     SWIG_check_num_args("lldb::SBModule::FindSection",2,2)
37405     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSection",1,"lldb::SBModule *");
37406     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSection",2,"char const *");
37407 
37408     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37409       SWIG_fail_ptr("SBModule_FindSection",1,SWIGTYPE_p_lldb__SBModule);
37410     }
37411 
37412     arg2 = (char *)lua_tostring(L, 2);
37413     result = (arg1)->FindSection((char const *)arg2);
37414     {
37415       lldb::SBSection * resultptr = new lldb::SBSection(result);
37416       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
37417     }
37418     return SWIG_arg;
37419 
37420     fail: SWIGUNUSED;
37421   }
37422   lua_error(L);
37423   return 0;
37424 }
37425 
37426 
_wrap_SBModule_ResolveFileAddress(lua_State * L)37427 static int _wrap_SBModule_ResolveFileAddress(lua_State* L) {
37428   {
37429     int SWIG_arg = 0;
37430     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37431     lldb::addr_t arg2 ;
37432     lldb::SBAddress result;
37433 
37434     SWIG_check_num_args("lldb::SBModule::ResolveFileAddress",2,2)
37435     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",1,"lldb::SBModule *");
37436     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveFileAddress",2,"lldb::addr_t");
37437 
37438     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37439       SWIG_fail_ptr("SBModule_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBModule);
37440     }
37441 
37442     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
37443     result = (arg1)->ResolveFileAddress(arg2);
37444     {
37445       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
37446       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
37447     }
37448     return SWIG_arg;
37449 
37450     fail: SWIGUNUSED;
37451   }
37452   lua_error(L);
37453   return 0;
37454 }
37455 
37456 
_wrap_SBModule_ResolveSymbolContextForAddress(lua_State * L)37457 static int _wrap_SBModule_ResolveSymbolContextForAddress(lua_State* L) {
37458   {
37459     int SWIG_arg = 0;
37460     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37461     lldb::SBAddress *arg2 = 0 ;
37462     uint32_t arg3 ;
37463     lldb::SBSymbolContext result;
37464 
37465     SWIG_check_num_args("lldb::SBModule::ResolveSymbolContextForAddress",3,3)
37466     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",1,"lldb::SBModule *");
37467     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &");
37468     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::ResolveSymbolContextForAddress",3,"uint32_t");
37469 
37470     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37471       SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBModule);
37472     }
37473 
37474 
37475     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
37476       SWIG_fail_ptr("SBModule_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress);
37477     }
37478 
37479     arg3 = (uint32_t)lua_tointeger(L, 3);
37480     result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3);
37481     {
37482       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
37483       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
37484     }
37485     return SWIG_arg;
37486 
37487     fail: SWIGUNUSED;
37488   }
37489   lua_error(L);
37490   return 0;
37491 }
37492 
37493 
_wrap_SBModule_GetDescription(lua_State * L)37494 static int _wrap_SBModule_GetDescription(lua_State* L) {
37495   {
37496     int SWIG_arg = 0;
37497     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37498     lldb::SBStream *arg2 = 0 ;
37499     bool result;
37500 
37501     SWIG_check_num_args("lldb::SBModule::GetDescription",2,2)
37502     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetDescription",1,"lldb::SBModule *");
37503     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::GetDescription",2,"lldb::SBStream &");
37504 
37505     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37506       SWIG_fail_ptr("SBModule_GetDescription",1,SWIGTYPE_p_lldb__SBModule);
37507     }
37508 
37509 
37510     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
37511       SWIG_fail_ptr("SBModule_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
37512     }
37513 
37514     result = (bool)(arg1)->GetDescription(*arg2);
37515     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37516     return SWIG_arg;
37517 
37518     fail: SWIGUNUSED;
37519   }
37520   lua_error(L);
37521   return 0;
37522 }
37523 
37524 
_wrap_SBModule_GetNumCompileUnits(lua_State * L)37525 static int _wrap_SBModule_GetNumCompileUnits(lua_State* L) {
37526   {
37527     int SWIG_arg = 0;
37528     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37529     uint32_t result;
37530 
37531     SWIG_check_num_args("lldb::SBModule::GetNumCompileUnits",1,1)
37532     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumCompileUnits",1,"lldb::SBModule *");
37533 
37534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37535       SWIG_fail_ptr("SBModule_GetNumCompileUnits",1,SWIGTYPE_p_lldb__SBModule);
37536     }
37537 
37538     result = (uint32_t)(arg1)->GetNumCompileUnits();
37539     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
37540     return SWIG_arg;
37541 
37542     fail: SWIGUNUSED;
37543   }
37544   lua_error(L);
37545   return 0;
37546 }
37547 
37548 
_wrap_SBModule_GetCompileUnitAtIndex(lua_State * L)37549 static int _wrap_SBModule_GetCompileUnitAtIndex(lua_State* L) {
37550   {
37551     int SWIG_arg = 0;
37552     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37553     uint32_t arg2 ;
37554     lldb::SBCompileUnit result;
37555 
37556     SWIG_check_num_args("lldb::SBModule::GetCompileUnitAtIndex",2,2)
37557     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",1,"lldb::SBModule *");
37558     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetCompileUnitAtIndex",2,"uint32_t");
37559 
37560     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37561       SWIG_fail_ptr("SBModule_GetCompileUnitAtIndex",1,SWIGTYPE_p_lldb__SBModule);
37562     }
37563 
37564     arg2 = (uint32_t)lua_tointeger(L, 2);
37565     result = (arg1)->GetCompileUnitAtIndex(arg2);
37566     {
37567       lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result);
37568       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
37569     }
37570     return SWIG_arg;
37571 
37572     fail: SWIGUNUSED;
37573   }
37574   lua_error(L);
37575   return 0;
37576 }
37577 
37578 
_wrap_SBModule_FindCompileUnits(lua_State * L)37579 static int _wrap_SBModule_FindCompileUnits(lua_State* L) {
37580   {
37581     int SWIG_arg = 0;
37582     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37583     lldb::SBFileSpec *arg2 = 0 ;
37584     lldb::SBSymbolContextList result;
37585 
37586     SWIG_check_num_args("lldb::SBModule::FindCompileUnits",2,2)
37587     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",1,"lldb::SBModule *");
37588     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindCompileUnits",2,"lldb::SBFileSpec const &");
37589 
37590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37591       SWIG_fail_ptr("SBModule_FindCompileUnits",1,SWIGTYPE_p_lldb__SBModule);
37592     }
37593 
37594 
37595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
37596       SWIG_fail_ptr("SBModule_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec);
37597     }
37598 
37599     result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2);
37600     {
37601       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
37602       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
37603     }
37604     return SWIG_arg;
37605 
37606     fail: SWIGUNUSED;
37607   }
37608   lua_error(L);
37609   return 0;
37610 }
37611 
37612 
_wrap_SBModule_GetNumSymbols(lua_State * L)37613 static int _wrap_SBModule_GetNumSymbols(lua_State* L) {
37614   {
37615     int SWIG_arg = 0;
37616     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37617     size_t result;
37618 
37619     SWIG_check_num_args("lldb::SBModule::GetNumSymbols",1,1)
37620     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSymbols",1,"lldb::SBModule *");
37621 
37622     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37623       SWIG_fail_ptr("SBModule_GetNumSymbols",1,SWIGTYPE_p_lldb__SBModule);
37624     }
37625 
37626     result = (arg1)->GetNumSymbols();
37627     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
37628     return SWIG_arg;
37629 
37630     fail: SWIGUNUSED;
37631   }
37632   lua_error(L);
37633   return 0;
37634 }
37635 
37636 
_wrap_SBModule_GetSymbolAtIndex(lua_State * L)37637 static int _wrap_SBModule_GetSymbolAtIndex(lua_State* L) {
37638   {
37639     int SWIG_arg = 0;
37640     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37641     size_t arg2 ;
37642     lldb::SBSymbol result;
37643 
37644     SWIG_check_num_args("lldb::SBModule::GetSymbolAtIndex",2,2)
37645     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",1,"lldb::SBModule *");
37646     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSymbolAtIndex",2,"size_t");
37647 
37648     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37649       SWIG_fail_ptr("SBModule_GetSymbolAtIndex",1,SWIGTYPE_p_lldb__SBModule);
37650     }
37651 
37652     arg2 = (size_t)lua_tointeger(L, 2);
37653     result = (arg1)->GetSymbolAtIndex(arg2);
37654     {
37655       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
37656       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
37657     }
37658     return SWIG_arg;
37659 
37660     fail: SWIGUNUSED;
37661   }
37662   lua_error(L);
37663   return 0;
37664 }
37665 
37666 
_wrap_SBModule_FindSymbol__SWIG_0(lua_State * L)37667 static int _wrap_SBModule_FindSymbol__SWIG_0(lua_State* L) {
37668   {
37669     int SWIG_arg = 0;
37670     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37671     char *arg2 = (char *) 0 ;
37672     lldb::SymbolType arg3 ;
37673     lldb::SBSymbol result;
37674 
37675     SWIG_check_num_args("lldb::SBModule::FindSymbol",3,3)
37676     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *");
37677     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *");
37678     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbol",3,"lldb::SymbolType");
37679 
37680     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37681       SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule);
37682     }
37683 
37684     arg2 = (char *)lua_tostring(L, 2);
37685     arg3 = (lldb::SymbolType)lua_tointeger(L, 3);
37686     result = (arg1)->FindSymbol((char const *)arg2,arg3);
37687     {
37688       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
37689       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
37690     }
37691     return SWIG_arg;
37692 
37693     fail: SWIGUNUSED;
37694   }
37695   lua_error(L);
37696   return 0;
37697 }
37698 
37699 
_wrap_SBModule_FindSymbol__SWIG_1(lua_State * L)37700 static int _wrap_SBModule_FindSymbol__SWIG_1(lua_State* L) {
37701   {
37702     int SWIG_arg = 0;
37703     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37704     char *arg2 = (char *) 0 ;
37705     lldb::SBSymbol result;
37706 
37707     SWIG_check_num_args("lldb::SBModule::FindSymbol",2,2)
37708     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbol",1,"lldb::SBModule *");
37709     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbol",2,"char const *");
37710 
37711     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37712       SWIG_fail_ptr("SBModule_FindSymbol",1,SWIGTYPE_p_lldb__SBModule);
37713     }
37714 
37715     arg2 = (char *)lua_tostring(L, 2);
37716     result = (arg1)->FindSymbol((char const *)arg2);
37717     {
37718       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
37719       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
37720     }
37721     return SWIG_arg;
37722 
37723     fail: SWIGUNUSED;
37724   }
37725   lua_error(L);
37726   return 0;
37727 }
37728 
37729 
_wrap_SBModule_FindSymbol(lua_State * L)37730 static int _wrap_SBModule_FindSymbol(lua_State* L) {
37731   int argc;
37732   int argv[4]={
37733     1,2,3,4
37734   };
37735 
37736   argc = lua_gettop(L);
37737   if (argc == 2) {
37738     int _v = 0;
37739     {
37740       void *ptr;
37741       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
37742         _v = 0;
37743       } else {
37744         _v = 1;
37745       }
37746     }
37747     if (_v) {
37748       {
37749         _v = SWIG_lua_isnilstring(L,argv[1]);
37750       }
37751       if (_v) {
37752         return _wrap_SBModule_FindSymbol__SWIG_1(L);
37753       }
37754     }
37755   }
37756   if (argc == 3) {
37757     int _v = 0;
37758     {
37759       void *ptr;
37760       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
37761         _v = 0;
37762       } else {
37763         _v = 1;
37764       }
37765     }
37766     if (_v) {
37767       {
37768         _v = SWIG_lua_isnilstring(L,argv[1]);
37769       }
37770       if (_v) {
37771         {
37772           _v = lua_isnumber(L,argv[2]);
37773         }
37774         if (_v) {
37775           return _wrap_SBModule_FindSymbol__SWIG_0(L);
37776         }
37777       }
37778     }
37779   }
37780 
37781   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBModule_FindSymbol'\n"
37782     "  Possible C/C++ prototypes are:\n"
37783     "    lldb::SBModule::FindSymbol(char const *,lldb::SymbolType)\n"
37784     "    lldb::SBModule::FindSymbol(char const *)\n");
37785   lua_error(L);return 0;
37786 }
37787 
37788 
_wrap_SBModule_FindSymbols__SWIG_0(lua_State * L)37789 static int _wrap_SBModule_FindSymbols__SWIG_0(lua_State* L) {
37790   {
37791     int SWIG_arg = 0;
37792     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37793     char *arg2 = (char *) 0 ;
37794     lldb::SymbolType arg3 ;
37795     lldb::SBSymbolContextList result;
37796 
37797     SWIG_check_num_args("lldb::SBModule::FindSymbols",3,3)
37798     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *");
37799     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *");
37800     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindSymbols",3,"lldb::SymbolType");
37801 
37802     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37803       SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule);
37804     }
37805 
37806     arg2 = (char *)lua_tostring(L, 2);
37807     arg3 = (lldb::SymbolType)lua_tointeger(L, 3);
37808     result = (arg1)->FindSymbols((char const *)arg2,arg3);
37809     {
37810       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
37811       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
37812     }
37813     return SWIG_arg;
37814 
37815     fail: SWIGUNUSED;
37816   }
37817   lua_error(L);
37818   return 0;
37819 }
37820 
37821 
_wrap_SBModule_FindSymbols__SWIG_1(lua_State * L)37822 static int _wrap_SBModule_FindSymbols__SWIG_1(lua_State* L) {
37823   {
37824     int SWIG_arg = 0;
37825     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37826     char *arg2 = (char *) 0 ;
37827     lldb::SBSymbolContextList result;
37828 
37829     SWIG_check_num_args("lldb::SBModule::FindSymbols",2,2)
37830     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindSymbols",1,"lldb::SBModule *");
37831     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindSymbols",2,"char const *");
37832 
37833     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37834       SWIG_fail_ptr("SBModule_FindSymbols",1,SWIGTYPE_p_lldb__SBModule);
37835     }
37836 
37837     arg2 = (char *)lua_tostring(L, 2);
37838     result = (arg1)->FindSymbols((char const *)arg2);
37839     {
37840       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
37841       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
37842     }
37843     return SWIG_arg;
37844 
37845     fail: SWIGUNUSED;
37846   }
37847   lua_error(L);
37848   return 0;
37849 }
37850 
37851 
_wrap_SBModule_FindSymbols(lua_State * L)37852 static int _wrap_SBModule_FindSymbols(lua_State* L) {
37853   int argc;
37854   int argv[4]={
37855     1,2,3,4
37856   };
37857 
37858   argc = lua_gettop(L);
37859   if (argc == 2) {
37860     int _v = 0;
37861     {
37862       void *ptr;
37863       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
37864         _v = 0;
37865       } else {
37866         _v = 1;
37867       }
37868     }
37869     if (_v) {
37870       {
37871         _v = SWIG_lua_isnilstring(L,argv[1]);
37872       }
37873       if (_v) {
37874         return _wrap_SBModule_FindSymbols__SWIG_1(L);
37875       }
37876     }
37877   }
37878   if (argc == 3) {
37879     int _v = 0;
37880     {
37881       void *ptr;
37882       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
37883         _v = 0;
37884       } else {
37885         _v = 1;
37886       }
37887     }
37888     if (_v) {
37889       {
37890         _v = SWIG_lua_isnilstring(L,argv[1]);
37891       }
37892       if (_v) {
37893         {
37894           _v = lua_isnumber(L,argv[2]);
37895         }
37896         if (_v) {
37897           return _wrap_SBModule_FindSymbols__SWIG_0(L);
37898         }
37899       }
37900     }
37901   }
37902 
37903   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBModule_FindSymbols'\n"
37904     "  Possible C/C++ prototypes are:\n"
37905     "    lldb::SBModule::FindSymbols(char const *,lldb::SymbolType)\n"
37906     "    lldb::SBModule::FindSymbols(char const *)\n");
37907   lua_error(L);return 0;
37908 }
37909 
37910 
_wrap_SBModule_GetNumSections(lua_State * L)37911 static int _wrap_SBModule_GetNumSections(lua_State* L) {
37912   {
37913     int SWIG_arg = 0;
37914     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37915     size_t result;
37916 
37917     SWIG_check_num_args("lldb::SBModule::GetNumSections",1,1)
37918     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetNumSections",1,"lldb::SBModule *");
37919 
37920     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37921       SWIG_fail_ptr("SBModule_GetNumSections",1,SWIGTYPE_p_lldb__SBModule);
37922     }
37923 
37924     result = (arg1)->GetNumSections();
37925     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
37926     return SWIG_arg;
37927 
37928     fail: SWIGUNUSED;
37929   }
37930   lua_error(L);
37931   return 0;
37932 }
37933 
37934 
_wrap_SBModule_GetSectionAtIndex(lua_State * L)37935 static int _wrap_SBModule_GetSectionAtIndex(lua_State* L) {
37936   {
37937     int SWIG_arg = 0;
37938     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37939     size_t arg2 ;
37940     lldb::SBSection result;
37941 
37942     SWIG_check_num_args("lldb::SBModule::GetSectionAtIndex",2,2)
37943     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",1,"lldb::SBModule *");
37944     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetSectionAtIndex",2,"size_t");
37945 
37946     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37947       SWIG_fail_ptr("SBModule_GetSectionAtIndex",1,SWIGTYPE_p_lldb__SBModule);
37948     }
37949 
37950     arg2 = (size_t)lua_tointeger(L, 2);
37951     result = (arg1)->GetSectionAtIndex(arg2);
37952     {
37953       lldb::SBSection * resultptr = new lldb::SBSection(result);
37954       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
37955     }
37956     return SWIG_arg;
37957 
37958     fail: SWIGUNUSED;
37959   }
37960   lua_error(L);
37961   return 0;
37962 }
37963 
37964 
_wrap_SBModule_FindFunctions__SWIG_0(lua_State * L)37965 static int _wrap_SBModule_FindFunctions__SWIG_0(lua_State* L) {
37966   {
37967     int SWIG_arg = 0;
37968     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
37969     char *arg2 = (char *) 0 ;
37970     uint32_t arg3 ;
37971     lldb::SBSymbolContextList result;
37972 
37973     SWIG_check_num_args("lldb::SBModule::FindFunctions",3,3)
37974     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *");
37975     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *");
37976     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModule::FindFunctions",3,"uint32_t");
37977 
37978     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
37979       SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule);
37980     }
37981 
37982     arg2 = (char *)lua_tostring(L, 2);
37983     arg3 = (uint32_t)lua_tointeger(L, 3);
37984     result = (arg1)->FindFunctions((char const *)arg2,arg3);
37985     {
37986       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
37987       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
37988     }
37989     return SWIG_arg;
37990 
37991     fail: SWIGUNUSED;
37992   }
37993   lua_error(L);
37994   return 0;
37995 }
37996 
37997 
_wrap_SBModule_FindFunctions__SWIG_1(lua_State * L)37998 static int _wrap_SBModule_FindFunctions__SWIG_1(lua_State* L) {
37999   {
38000     int SWIG_arg = 0;
38001     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38002     char *arg2 = (char *) 0 ;
38003     lldb::SBSymbolContextList result;
38004 
38005     SWIG_check_num_args("lldb::SBModule::FindFunctions",2,2)
38006     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFunctions",1,"lldb::SBModule *");
38007     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFunctions",2,"char const *");
38008 
38009     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38010       SWIG_fail_ptr("SBModule_FindFunctions",1,SWIGTYPE_p_lldb__SBModule);
38011     }
38012 
38013     arg2 = (char *)lua_tostring(L, 2);
38014     result = (arg1)->FindFunctions((char const *)arg2);
38015     {
38016       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
38017       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
38018     }
38019     return SWIG_arg;
38020 
38021     fail: SWIGUNUSED;
38022   }
38023   lua_error(L);
38024   return 0;
38025 }
38026 
38027 
_wrap_SBModule_FindFunctions(lua_State * L)38028 static int _wrap_SBModule_FindFunctions(lua_State* L) {
38029   int argc;
38030   int argv[4]={
38031     1,2,3,4
38032   };
38033 
38034   argc = lua_gettop(L);
38035   if (argc == 2) {
38036     int _v = 0;
38037     {
38038       void *ptr;
38039       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
38040         _v = 0;
38041       } else {
38042         _v = 1;
38043       }
38044     }
38045     if (_v) {
38046       {
38047         _v = SWIG_lua_isnilstring(L,argv[1]);
38048       }
38049       if (_v) {
38050         return _wrap_SBModule_FindFunctions__SWIG_1(L);
38051       }
38052     }
38053   }
38054   if (argc == 3) {
38055     int _v = 0;
38056     {
38057       void *ptr;
38058       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
38059         _v = 0;
38060       } else {
38061         _v = 1;
38062       }
38063     }
38064     if (_v) {
38065       {
38066         _v = SWIG_lua_isnilstring(L,argv[1]);
38067       }
38068       if (_v) {
38069         {
38070           _v = lua_isnumber(L,argv[2]);
38071         }
38072         if (_v) {
38073           return _wrap_SBModule_FindFunctions__SWIG_0(L);
38074         }
38075       }
38076     }
38077   }
38078 
38079   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBModule_FindFunctions'\n"
38080     "  Possible C/C++ prototypes are:\n"
38081     "    lldb::SBModule::FindFunctions(char const *,uint32_t)\n"
38082     "    lldb::SBModule::FindFunctions(char const *)\n");
38083   lua_error(L);return 0;
38084 }
38085 
38086 
_wrap_SBModule_FindGlobalVariables(lua_State * L)38087 static int _wrap_SBModule_FindGlobalVariables(lua_State* L) {
38088   {
38089     int SWIG_arg = 0;
38090     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38091     lldb::SBTarget *arg2 = 0 ;
38092     char *arg3 = (char *) 0 ;
38093     uint32_t arg4 ;
38094     lldb::SBValueList result;
38095 
38096     SWIG_check_num_args("lldb::SBModule::FindGlobalVariables",4,4)
38097     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",1,"lldb::SBModule *");
38098     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",2,"lldb::SBTarget &");
38099     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",3,"char const *");
38100     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBModule::FindGlobalVariables",4,"uint32_t");
38101 
38102     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38103       SWIG_fail_ptr("SBModule_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBModule);
38104     }
38105 
38106 
38107     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
38108       SWIG_fail_ptr("SBModule_FindGlobalVariables",2,SWIGTYPE_p_lldb__SBTarget);
38109     }
38110 
38111     arg3 = (char *)lua_tostring(L, 3);
38112     arg4 = (uint32_t)lua_tointeger(L, 4);
38113     result = (arg1)->FindGlobalVariables(*arg2,(char const *)arg3,arg4);
38114     {
38115       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
38116       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
38117     }
38118     return SWIG_arg;
38119 
38120     fail: SWIGUNUSED;
38121   }
38122   lua_error(L);
38123   return 0;
38124 }
38125 
38126 
_wrap_SBModule_FindFirstGlobalVariable(lua_State * L)38127 static int _wrap_SBModule_FindFirstGlobalVariable(lua_State* L) {
38128   {
38129     int SWIG_arg = 0;
38130     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38131     lldb::SBTarget *arg2 = 0 ;
38132     char *arg3 = (char *) 0 ;
38133     lldb::SBValue result;
38134 
38135     SWIG_check_num_args("lldb::SBModule::FindFirstGlobalVariable",3,3)
38136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",1,"lldb::SBModule *");
38137     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",2,"lldb::SBTarget &");
38138     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBModule::FindFirstGlobalVariable",3,"char const *");
38139 
38140     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38141       SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBModule);
38142     }
38143 
38144 
38145     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
38146       SWIG_fail_ptr("SBModule_FindFirstGlobalVariable",2,SWIGTYPE_p_lldb__SBTarget);
38147     }
38148 
38149     arg3 = (char *)lua_tostring(L, 3);
38150     result = (arg1)->FindFirstGlobalVariable(*arg2,(char const *)arg3);
38151     {
38152       lldb::SBValue * resultptr = new lldb::SBValue(result);
38153       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
38154     }
38155     return SWIG_arg;
38156 
38157     fail: SWIGUNUSED;
38158   }
38159   lua_error(L);
38160   return 0;
38161 }
38162 
38163 
_wrap_SBModule_FindFirstType(lua_State * L)38164 static int _wrap_SBModule_FindFirstType(lua_State* L) {
38165   {
38166     int SWIG_arg = 0;
38167     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38168     char *arg2 = (char *) 0 ;
38169     lldb::SBType result;
38170 
38171     SWIG_check_num_args("lldb::SBModule::FindFirstType",2,2)
38172     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindFirstType",1,"lldb::SBModule *");
38173     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindFirstType",2,"char const *");
38174 
38175     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38176       SWIG_fail_ptr("SBModule_FindFirstType",1,SWIGTYPE_p_lldb__SBModule);
38177     }
38178 
38179     arg2 = (char *)lua_tostring(L, 2);
38180     result = (arg1)->FindFirstType((char const *)arg2);
38181     {
38182       lldb::SBType * resultptr = new lldb::SBType(result);
38183       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
38184     }
38185     return SWIG_arg;
38186 
38187     fail: SWIGUNUSED;
38188   }
38189   lua_error(L);
38190   return 0;
38191 }
38192 
38193 
_wrap_SBModule_FindTypes(lua_State * L)38194 static int _wrap_SBModule_FindTypes(lua_State* L) {
38195   {
38196     int SWIG_arg = 0;
38197     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38198     char *arg2 = (char *) 0 ;
38199     lldb::SBTypeList result;
38200 
38201     SWIG_check_num_args("lldb::SBModule::FindTypes",2,2)
38202     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::FindTypes",1,"lldb::SBModule *");
38203     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModule::FindTypes",2,"char const *");
38204 
38205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38206       SWIG_fail_ptr("SBModule_FindTypes",1,SWIGTYPE_p_lldb__SBModule);
38207     }
38208 
38209     arg2 = (char *)lua_tostring(L, 2);
38210     result = (arg1)->FindTypes((char const *)arg2);
38211     {
38212       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
38213       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
38214     }
38215     return SWIG_arg;
38216 
38217     fail: SWIGUNUSED;
38218   }
38219   lua_error(L);
38220   return 0;
38221 }
38222 
38223 
_wrap_SBModule_GetTypeByID(lua_State * L)38224 static int _wrap_SBModule_GetTypeByID(lua_State* L) {
38225   {
38226     int SWIG_arg = 0;
38227     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38228     lldb::user_id_t arg2 ;
38229     lldb::SBType result;
38230 
38231     SWIG_check_num_args("lldb::SBModule::GetTypeByID",2,2)
38232     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",1,"lldb::SBModule *");
38233     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypeByID",2,"lldb::user_id_t");
38234 
38235     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38236       SWIG_fail_ptr("SBModule_GetTypeByID",1,SWIGTYPE_p_lldb__SBModule);
38237     }
38238 
38239     arg2 = (lldb::user_id_t)lua_tointeger(L, 2);
38240     result = (arg1)->GetTypeByID(arg2);
38241     {
38242       lldb::SBType * resultptr = new lldb::SBType(result);
38243       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
38244     }
38245     return SWIG_arg;
38246 
38247     fail: SWIGUNUSED;
38248   }
38249   lua_error(L);
38250   return 0;
38251 }
38252 
38253 
_wrap_SBModule_GetBasicType(lua_State * L)38254 static int _wrap_SBModule_GetBasicType(lua_State* L) {
38255   {
38256     int SWIG_arg = 0;
38257     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38258     lldb::BasicType arg2 ;
38259     lldb::SBType result;
38260 
38261     SWIG_check_num_args("lldb::SBModule::GetBasicType",2,2)
38262     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetBasicType",1,"lldb::SBModule *");
38263     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetBasicType",2,"lldb::BasicType");
38264 
38265     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38266       SWIG_fail_ptr("SBModule_GetBasicType",1,SWIGTYPE_p_lldb__SBModule);
38267     }
38268 
38269     arg2 = (lldb::BasicType)lua_tointeger(L, 2);
38270     result = (arg1)->GetBasicType(arg2);
38271     {
38272       lldb::SBType * resultptr = new lldb::SBType(result);
38273       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
38274     }
38275     return SWIG_arg;
38276 
38277     fail: SWIGUNUSED;
38278   }
38279   lua_error(L);
38280   return 0;
38281 }
38282 
38283 
_wrap_SBModule_GetTypes__SWIG_0(lua_State * L)38284 static int _wrap_SBModule_GetTypes__SWIG_0(lua_State* L) {
38285   {
38286     int SWIG_arg = 0;
38287     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38288     uint32_t arg2 ;
38289     lldb::SBTypeList result;
38290 
38291     SWIG_check_num_args("lldb::SBModule::GetTypes",2,2)
38292     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *");
38293     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModule::GetTypes",2,"uint32_t");
38294 
38295     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38296       SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule);
38297     }
38298 
38299     arg2 = (uint32_t)lua_tointeger(L, 2);
38300     result = (arg1)->GetTypes(arg2);
38301     {
38302       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
38303       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
38304     }
38305     return SWIG_arg;
38306 
38307     fail: SWIGUNUSED;
38308   }
38309   lua_error(L);
38310   return 0;
38311 }
38312 
38313 
_wrap_SBModule_GetTypes__SWIG_1(lua_State * L)38314 static int _wrap_SBModule_GetTypes__SWIG_1(lua_State* L) {
38315   {
38316     int SWIG_arg = 0;
38317     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38318     lldb::SBTypeList result;
38319 
38320     SWIG_check_num_args("lldb::SBModule::GetTypes",1,1)
38321     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetTypes",1,"lldb::SBModule *");
38322 
38323     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38324       SWIG_fail_ptr("SBModule_GetTypes",1,SWIGTYPE_p_lldb__SBModule);
38325     }
38326 
38327     result = (arg1)->GetTypes();
38328     {
38329       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
38330       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
38331     }
38332     return SWIG_arg;
38333 
38334     fail: SWIGUNUSED;
38335   }
38336   lua_error(L);
38337   return 0;
38338 }
38339 
38340 
_wrap_SBModule_GetTypes(lua_State * L)38341 static int _wrap_SBModule_GetTypes(lua_State* L) {
38342   int argc;
38343   int argv[3]={
38344     1,2,3
38345   };
38346 
38347   argc = lua_gettop(L);
38348   if (argc == 1) {
38349     int _v = 0;
38350     {
38351       void *ptr;
38352       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
38353         _v = 0;
38354       } else {
38355         _v = 1;
38356       }
38357     }
38358     if (_v) {
38359       return _wrap_SBModule_GetTypes__SWIG_1(L);
38360     }
38361   }
38362   if (argc == 2) {
38363     int _v = 0;
38364     {
38365       void *ptr;
38366       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, 0)) {
38367         _v = 0;
38368       } else {
38369         _v = 1;
38370       }
38371     }
38372     if (_v) {
38373       {
38374         _v = lua_isnumber(L,argv[1]);
38375       }
38376       if (_v) {
38377         return _wrap_SBModule_GetTypes__SWIG_0(L);
38378       }
38379     }
38380   }
38381 
38382   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBModule_GetTypes'\n"
38383     "  Possible C/C++ prototypes are:\n"
38384     "    lldb::SBModule::GetTypes(uint32_t)\n"
38385     "    lldb::SBModule::GetTypes()\n");
38386   lua_error(L);return 0;
38387 }
38388 
38389 
_wrap_SBModule_GetVersion(lua_State * L)38390 static int _wrap_SBModule_GetVersion(lua_State* L) {
38391   {
38392     int SWIG_arg = 0;
38393     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38394     uint32_t *arg2 = (uint32_t *) 0 ;
38395     uint32_t arg3 ;
38396     uint32_t result;
38397 
38398     SWIG_check_num_args("lldb::SBModule::GetVersion",2,2)
38399     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetVersion",1,"lldb::SBModule *");
38400 
38401     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38402       SWIG_fail_ptr("SBModule_GetVersion",1,SWIGTYPE_p_lldb__SBModule);
38403     }
38404 
38405     {
38406       arg3 = 99;
38407       arg2 = (uint32_t *)malloc(sizeof(uint32_t) * arg3);
38408     }
38409     result = (uint32_t)(arg1)->GetVersion(arg2,arg3);
38410     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
38411     {
38412       uint32_t count = result;
38413       if (count >= arg3)
38414       count = arg3;
38415       lua_newtable(L);
38416       int i = 0;
38417       while (i++ < count) {
38418         lua_pushinteger(L, arg2[i - 1]);
38419         lua_seti(L, -2, i);
38420       }
38421       SWIG_arg++;
38422       free(arg2);
38423     }
38424     return SWIG_arg;
38425 
38426     fail: SWIGUNUSED;
38427   }
38428   lua_error(L);
38429   return 0;
38430 }
38431 
38432 
_wrap_SBModule_GetSymbolFileSpec(lua_State * L)38433 static int _wrap_SBModule_GetSymbolFileSpec(lua_State* L) {
38434   {
38435     int SWIG_arg = 0;
38436     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38437     lldb::SBFileSpec result;
38438 
38439     SWIG_check_num_args("lldb::SBModule::GetSymbolFileSpec",1,1)
38440     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetSymbolFileSpec",1,"lldb::SBModule const *");
38441 
38442     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38443       SWIG_fail_ptr("SBModule_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModule);
38444     }
38445 
38446     result = ((lldb::SBModule const *)arg1)->GetSymbolFileSpec();
38447     {
38448       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
38449       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
38450     }
38451     return SWIG_arg;
38452 
38453     fail: SWIGUNUSED;
38454   }
38455   lua_error(L);
38456   return 0;
38457 }
38458 
38459 
_wrap_SBModule_GetObjectFileHeaderAddress(lua_State * L)38460 static int _wrap_SBModule_GetObjectFileHeaderAddress(lua_State* L) {
38461   {
38462     int SWIG_arg = 0;
38463     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38464     lldb::SBAddress result;
38465 
38466     SWIG_check_num_args("lldb::SBModule::GetObjectFileHeaderAddress",1,1)
38467     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileHeaderAddress",1,"lldb::SBModule const *");
38468 
38469     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38470       SWIG_fail_ptr("SBModule_GetObjectFileHeaderAddress",1,SWIGTYPE_p_lldb__SBModule);
38471     }
38472 
38473     result = ((lldb::SBModule const *)arg1)->GetObjectFileHeaderAddress();
38474     {
38475       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
38476       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
38477     }
38478     return SWIG_arg;
38479 
38480     fail: SWIGUNUSED;
38481   }
38482   lua_error(L);
38483   return 0;
38484 }
38485 
38486 
_wrap_SBModule_GetObjectFileEntryPointAddress(lua_State * L)38487 static int _wrap_SBModule_GetObjectFileEntryPointAddress(lua_State* L) {
38488   {
38489     int SWIG_arg = 0;
38490     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38491     lldb::SBAddress result;
38492 
38493     SWIG_check_num_args("lldb::SBModule::GetObjectFileEntryPointAddress",1,1)
38494     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::GetObjectFileEntryPointAddress",1,"lldb::SBModule const *");
38495 
38496     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38497       SWIG_fail_ptr("SBModule_GetObjectFileEntryPointAddress",1,SWIGTYPE_p_lldb__SBModule);
38498     }
38499 
38500     result = ((lldb::SBModule const *)arg1)->GetObjectFileEntryPointAddress();
38501     {
38502       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
38503       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
38504     }
38505     return SWIG_arg;
38506 
38507     fail: SWIGUNUSED;
38508   }
38509   lua_error(L);
38510   return 0;
38511 }
38512 
38513 
_wrap_SBModule_GetNumberAllocatedModules(lua_State * L)38514 static int _wrap_SBModule_GetNumberAllocatedModules(lua_State* L) {
38515   {
38516     int SWIG_arg = 0;
38517     uint32_t result;
38518 
38519     SWIG_check_num_args("lldb::SBModule::GetNumberAllocatedModules",0,0)
38520     result = (uint32_t)lldb::SBModule::GetNumberAllocatedModules();
38521     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
38522     return SWIG_arg;
38523 
38524     fail: SWIGUNUSED;
38525   }
38526   lua_error(L);
38527   return 0;
38528 }
38529 
38530 
_wrap_SBModule_GarbageCollectAllocatedModules(lua_State * L)38531 static int _wrap_SBModule_GarbageCollectAllocatedModules(lua_State* L) {
38532   {
38533     int SWIG_arg = 0;
38534 
38535     SWIG_check_num_args("lldb::SBModule::GarbageCollectAllocatedModules",0,0)
38536     lldb::SBModule::GarbageCollectAllocatedModules();
38537 
38538     return SWIG_arg;
38539 
38540     fail: SWIGUNUSED;
38541   }
38542   lua_error(L);
38543   return 0;
38544 }
38545 
38546 
_wrap_SBModule___tostring(lua_State * L)38547 static int _wrap_SBModule___tostring(lua_State* L) {
38548   {
38549     int SWIG_arg = 0;
38550     lldb::SBModule *arg1 = (lldb::SBModule *) 0 ;
38551     std::string result;
38552 
38553     SWIG_check_num_args("lldb::SBModule::__repr__",1,1)
38554     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModule::__repr__",1,"lldb::SBModule *");
38555 
38556     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModule,0))){
38557       SWIG_fail_ptr("SBModule___tostring",1,SWIGTYPE_p_lldb__SBModule);
38558     }
38559 
38560     result = lldb_SBModule___repr__(arg1);
38561     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
38562     return SWIG_arg;
38563 
38564     fail: SWIGUNUSED;
38565   }
38566   lua_error(L);
38567   return 0;
38568 }
38569 
38570 
swig_delete_SBModule(void * obj)38571 static void swig_delete_SBModule(void *obj) {
38572 lldb::SBModule *arg1 = (lldb::SBModule *) obj;
38573 delete arg1;
38574 }
_proxy__wrap_new_SBModule(lua_State * L)38575 static int _proxy__wrap_new_SBModule(lua_State *L) {
38576     assert(lua_istable(L,1));
38577     lua_pushcfunction(L,_wrap_new_SBModule);
38578     assert(!lua_isnil(L,-1));
38579     lua_replace(L,1); /* replace our table with real constructor */
38580     lua_call(L,lua_gettop(L)-1,1);
38581     return 1;
38582 }
38583 static swig_lua_attribute swig_SBModule_attributes[] = {
38584     {0,0,0}
38585 };
38586 static swig_lua_method swig_SBModule_methods[]= {
38587     { "IsValid", _wrap_SBModule_IsValid},
38588     { "Clear", _wrap_SBModule_Clear},
38589     { "IsFileBacked", _wrap_SBModule_IsFileBacked},
38590     { "GetFileSpec", _wrap_SBModule_GetFileSpec},
38591     { "GetPlatformFileSpec", _wrap_SBModule_GetPlatformFileSpec},
38592     { "SetPlatformFileSpec", _wrap_SBModule_SetPlatformFileSpec},
38593     { "GetRemoteInstallFileSpec", _wrap_SBModule_GetRemoteInstallFileSpec},
38594     { "SetRemoteInstallFileSpec", _wrap_SBModule_SetRemoteInstallFileSpec},
38595     { "GetByteOrder", _wrap_SBModule_GetByteOrder},
38596     { "GetAddressByteSize", _wrap_SBModule_GetAddressByteSize},
38597     { "GetTriple", _wrap_SBModule_GetTriple},
38598     { "GetUUIDBytes", _wrap_SBModule_GetUUIDBytes},
38599     { "GetUUIDString", _wrap_SBModule_GetUUIDString},
38600     { "__eq", _wrap_SBModule___eq},
38601     { "FindSection", _wrap_SBModule_FindSection},
38602     { "ResolveFileAddress", _wrap_SBModule_ResolveFileAddress},
38603     { "ResolveSymbolContextForAddress", _wrap_SBModule_ResolveSymbolContextForAddress},
38604     { "GetDescription", _wrap_SBModule_GetDescription},
38605     { "GetNumCompileUnits", _wrap_SBModule_GetNumCompileUnits},
38606     { "GetCompileUnitAtIndex", _wrap_SBModule_GetCompileUnitAtIndex},
38607     { "FindCompileUnits", _wrap_SBModule_FindCompileUnits},
38608     { "GetNumSymbols", _wrap_SBModule_GetNumSymbols},
38609     { "GetSymbolAtIndex", _wrap_SBModule_GetSymbolAtIndex},
38610     { "FindSymbol", _wrap_SBModule_FindSymbol},
38611     { "FindSymbols", _wrap_SBModule_FindSymbols},
38612     { "GetNumSections", _wrap_SBModule_GetNumSections},
38613     { "GetSectionAtIndex", _wrap_SBModule_GetSectionAtIndex},
38614     { "FindFunctions", _wrap_SBModule_FindFunctions},
38615     { "FindGlobalVariables", _wrap_SBModule_FindGlobalVariables},
38616     { "FindFirstGlobalVariable", _wrap_SBModule_FindFirstGlobalVariable},
38617     { "FindFirstType", _wrap_SBModule_FindFirstType},
38618     { "FindTypes", _wrap_SBModule_FindTypes},
38619     { "GetTypeByID", _wrap_SBModule_GetTypeByID},
38620     { "GetBasicType", _wrap_SBModule_GetBasicType},
38621     { "GetTypes", _wrap_SBModule_GetTypes},
38622     { "GetVersion", _wrap_SBModule_GetVersion},
38623     { "GetSymbolFileSpec", _wrap_SBModule_GetSymbolFileSpec},
38624     { "GetObjectFileHeaderAddress", _wrap_SBModule_GetObjectFileHeaderAddress},
38625     { "GetObjectFileEntryPointAddress", _wrap_SBModule_GetObjectFileEntryPointAddress},
38626     { "__tostring", _wrap_SBModule___tostring},
38627     {0,0}
38628 };
38629 static swig_lua_method swig_SBModule_meta[] = {
38630     { "__eq", _wrap_SBModule___eq},
38631     { "__tostring", _wrap_SBModule___tostring},
38632     {0,0}
38633 };
38634 
38635 static swig_lua_attribute swig_SBModule_Sf_SwigStatic_attributes[] = {
38636     {0,0,0}
38637 };
38638 static swig_lua_const_info swig_SBModule_Sf_SwigStatic_constants[]= {
38639     {0,0,0,0,0,0}
38640 };
38641 static swig_lua_method swig_SBModule_Sf_SwigStatic_methods[]= {
38642     { "GetNumberAllocatedModules", _wrap_SBModule_GetNumberAllocatedModules},
38643     { "GarbageCollectAllocatedModules", _wrap_SBModule_GarbageCollectAllocatedModules},
38644     {0,0}
38645 };
38646 static swig_lua_class* swig_SBModule_Sf_SwigStatic_classes[]= {
38647     0
38648 };
38649 
38650 static swig_lua_namespace swig_SBModule_Sf_SwigStatic = {
38651     "SBModule",
38652     swig_SBModule_Sf_SwigStatic_methods,
38653     swig_SBModule_Sf_SwigStatic_attributes,
38654     swig_SBModule_Sf_SwigStatic_constants,
38655     swig_SBModule_Sf_SwigStatic_classes,
38656     0
38657 };
38658 static swig_lua_class *swig_SBModule_bases[] = {0};
38659 static const char *swig_SBModule_base_names[] = {0};
38660 static swig_lua_class _wrap_class_SBModule = { "SBModule", "SBModule", &SWIGTYPE_p_lldb__SBModule,_proxy__wrap_new_SBModule, swig_delete_SBModule, swig_SBModule_methods, swig_SBModule_attributes, &swig_SBModule_Sf_SwigStatic, swig_SBModule_meta, swig_SBModule_bases, swig_SBModule_base_names };
38661 
_wrap_new_SBModuleSpec__SWIG_0(lua_State * L)38662 static int _wrap_new_SBModuleSpec__SWIG_0(lua_State* L) {
38663   {
38664     int SWIG_arg = 0;
38665     lldb::SBModuleSpec *result = 0 ;
38666 
38667     SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",0,0)
38668     result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec();
38669     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++;
38670     return SWIG_arg;
38671 
38672     fail: SWIGUNUSED;
38673   }
38674   lua_error(L);
38675   return 0;
38676 }
38677 
38678 
_wrap_new_SBModuleSpec__SWIG_1(lua_State * L)38679 static int _wrap_new_SBModuleSpec__SWIG_1(lua_State* L) {
38680   {
38681     int SWIG_arg = 0;
38682     lldb::SBModuleSpec *arg1 = 0 ;
38683     lldb::SBModuleSpec *result = 0 ;
38684 
38685     SWIG_check_num_args("lldb::SBModuleSpec::SBModuleSpec",1,1)
38686     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SBModuleSpec",1,"lldb::SBModuleSpec const &");
38687 
38688     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38689       SWIG_fail_ptr("new_SBModuleSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38690     }
38691 
38692     result = (lldb::SBModuleSpec *)new lldb::SBModuleSpec((lldb::SBModuleSpec const &)*arg1);
38693     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++;
38694     return SWIG_arg;
38695 
38696     fail: SWIGUNUSED;
38697   }
38698   lua_error(L);
38699   return 0;
38700 }
38701 
38702 
_wrap_new_SBModuleSpec(lua_State * L)38703 static int _wrap_new_SBModuleSpec(lua_State* L) {
38704   int argc;
38705   int argv[2]={
38706     1,2
38707   };
38708 
38709   argc = lua_gettop(L);
38710   if (argc == 0) {
38711     return _wrap_new_SBModuleSpec__SWIG_0(L);
38712   }
38713   if (argc == 1) {
38714     int _v = 0;
38715     {
38716       void *ptr;
38717       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) {
38718         _v = 0;
38719       } else {
38720         _v = 1;
38721       }
38722     }
38723     if (_v) {
38724       return _wrap_new_SBModuleSpec__SWIG_1(L);
38725     }
38726   }
38727 
38728   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBModuleSpec'\n"
38729     "  Possible C/C++ prototypes are:\n"
38730     "    lldb::SBModuleSpec::SBModuleSpec()\n"
38731     "    lldb::SBModuleSpec::SBModuleSpec(lldb::SBModuleSpec const &)\n");
38732   lua_error(L);return 0;
38733 }
38734 
38735 
_wrap_SBModuleSpec_IsValid(lua_State * L)38736 static int _wrap_SBModuleSpec_IsValid(lua_State* L) {
38737   {
38738     int SWIG_arg = 0;
38739     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38740     bool result;
38741 
38742     SWIG_check_num_args("lldb::SBModuleSpec::IsValid",1,1)
38743     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::IsValid",1,"lldb::SBModuleSpec const *");
38744 
38745     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38746       SWIG_fail_ptr("SBModuleSpec_IsValid",1,SWIGTYPE_p_lldb__SBModuleSpec);
38747     }
38748 
38749     result = (bool)((lldb::SBModuleSpec const *)arg1)->IsValid();
38750     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
38751     return SWIG_arg;
38752 
38753     fail: SWIGUNUSED;
38754   }
38755   lua_error(L);
38756   return 0;
38757 }
38758 
38759 
_wrap_SBModuleSpec_Clear(lua_State * L)38760 static int _wrap_SBModuleSpec_Clear(lua_State* L) {
38761   {
38762     int SWIG_arg = 0;
38763     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38764 
38765     SWIG_check_num_args("lldb::SBModuleSpec::Clear",1,1)
38766     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::Clear",1,"lldb::SBModuleSpec *");
38767 
38768     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38769       SWIG_fail_ptr("SBModuleSpec_Clear",1,SWIGTYPE_p_lldb__SBModuleSpec);
38770     }
38771 
38772     (arg1)->Clear();
38773 
38774     return SWIG_arg;
38775 
38776     fail: SWIGUNUSED;
38777   }
38778   lua_error(L);
38779   return 0;
38780 }
38781 
38782 
_wrap_SBModuleSpec_GetFileSpec(lua_State * L)38783 static int _wrap_SBModuleSpec_GetFileSpec(lua_State* L) {
38784   {
38785     int SWIG_arg = 0;
38786     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38787     lldb::SBFileSpec result;
38788 
38789     SWIG_check_num_args("lldb::SBModuleSpec::GetFileSpec",1,1)
38790     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetFileSpec",1,"lldb::SBModuleSpec *");
38791 
38792     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38793       SWIG_fail_ptr("SBModuleSpec_GetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38794     }
38795 
38796     result = (arg1)->GetFileSpec();
38797     {
38798       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
38799       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
38800     }
38801     return SWIG_arg;
38802 
38803     fail: SWIGUNUSED;
38804   }
38805   lua_error(L);
38806   return 0;
38807 }
38808 
38809 
_wrap_SBModuleSpec_SetFileSpec(lua_State * L)38810 static int _wrap_SBModuleSpec_SetFileSpec(lua_State* L) {
38811   {
38812     int SWIG_arg = 0;
38813     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38814     lldb::SBFileSpec *arg2 = 0 ;
38815 
38816     SWIG_check_num_args("lldb::SBModuleSpec::SetFileSpec",2,2)
38817     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",1,"lldb::SBModuleSpec *");
38818     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetFileSpec",2,"lldb::SBFileSpec const &");
38819 
38820     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38821       SWIG_fail_ptr("SBModuleSpec_SetFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38822     }
38823 
38824 
38825     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
38826       SWIG_fail_ptr("SBModuleSpec_SetFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
38827     }
38828 
38829     (arg1)->SetFileSpec((lldb::SBFileSpec const &)*arg2);
38830 
38831     return SWIG_arg;
38832 
38833     fail: SWIGUNUSED;
38834   }
38835   lua_error(L);
38836   return 0;
38837 }
38838 
38839 
_wrap_SBModuleSpec_GetPlatformFileSpec(lua_State * L)38840 static int _wrap_SBModuleSpec_GetPlatformFileSpec(lua_State* L) {
38841   {
38842     int SWIG_arg = 0;
38843     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38844     lldb::SBFileSpec result;
38845 
38846     SWIG_check_num_args("lldb::SBModuleSpec::GetPlatformFileSpec",1,1)
38847     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetPlatformFileSpec",1,"lldb::SBModuleSpec *");
38848 
38849     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38850       SWIG_fail_ptr("SBModuleSpec_GetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38851     }
38852 
38853     result = (arg1)->GetPlatformFileSpec();
38854     {
38855       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
38856       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
38857     }
38858     return SWIG_arg;
38859 
38860     fail: SWIGUNUSED;
38861   }
38862   lua_error(L);
38863   return 0;
38864 }
38865 
38866 
_wrap_SBModuleSpec_SetPlatformFileSpec(lua_State * L)38867 static int _wrap_SBModuleSpec_SetPlatformFileSpec(lua_State* L) {
38868   {
38869     int SWIG_arg = 0;
38870     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38871     lldb::SBFileSpec *arg2 = 0 ;
38872 
38873     SWIG_check_num_args("lldb::SBModuleSpec::SetPlatformFileSpec",2,2)
38874     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",1,"lldb::SBModuleSpec *");
38875     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetPlatformFileSpec",2,"lldb::SBFileSpec const &");
38876 
38877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38878       SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38879     }
38880 
38881 
38882     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
38883       SWIG_fail_ptr("SBModuleSpec_SetPlatformFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
38884     }
38885 
38886     (arg1)->SetPlatformFileSpec((lldb::SBFileSpec const &)*arg2);
38887 
38888     return SWIG_arg;
38889 
38890     fail: SWIGUNUSED;
38891   }
38892   lua_error(L);
38893   return 0;
38894 }
38895 
38896 
_wrap_SBModuleSpec_GetSymbolFileSpec(lua_State * L)38897 static int _wrap_SBModuleSpec_GetSymbolFileSpec(lua_State* L) {
38898   {
38899     int SWIG_arg = 0;
38900     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38901     lldb::SBFileSpec result;
38902 
38903     SWIG_check_num_args("lldb::SBModuleSpec::GetSymbolFileSpec",1,1)
38904     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetSymbolFileSpec",1,"lldb::SBModuleSpec *");
38905 
38906     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38907       SWIG_fail_ptr("SBModuleSpec_GetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38908     }
38909 
38910     result = (arg1)->GetSymbolFileSpec();
38911     {
38912       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
38913       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
38914     }
38915     return SWIG_arg;
38916 
38917     fail: SWIGUNUSED;
38918   }
38919   lua_error(L);
38920   return 0;
38921 }
38922 
38923 
_wrap_SBModuleSpec_SetSymbolFileSpec(lua_State * L)38924 static int _wrap_SBModuleSpec_SetSymbolFileSpec(lua_State* L) {
38925   {
38926     int SWIG_arg = 0;
38927     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38928     lldb::SBFileSpec *arg2 = 0 ;
38929 
38930     SWIG_check_num_args("lldb::SBModuleSpec::SetSymbolFileSpec",2,2)
38931     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",1,"lldb::SBModuleSpec *");
38932     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetSymbolFileSpec",2,"lldb::SBFileSpec const &");
38933 
38934     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38935       SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",1,SWIGTYPE_p_lldb__SBModuleSpec);
38936     }
38937 
38938 
38939     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
38940       SWIG_fail_ptr("SBModuleSpec_SetSymbolFileSpec",2,SWIGTYPE_p_lldb__SBFileSpec);
38941     }
38942 
38943     (arg1)->SetSymbolFileSpec((lldb::SBFileSpec const &)*arg2);
38944 
38945     return SWIG_arg;
38946 
38947     fail: SWIGUNUSED;
38948   }
38949   lua_error(L);
38950   return 0;
38951 }
38952 
38953 
_wrap_SBModuleSpec_GetObjectName(lua_State * L)38954 static int _wrap_SBModuleSpec_GetObjectName(lua_State* L) {
38955   {
38956     int SWIG_arg = 0;
38957     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38958     char *result = 0 ;
38959 
38960     SWIG_check_num_args("lldb::SBModuleSpec::GetObjectName",1,1)
38961     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetObjectName",1,"lldb::SBModuleSpec *");
38962 
38963     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38964       SWIG_fail_ptr("SBModuleSpec_GetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec);
38965     }
38966 
38967     result = (char *)(arg1)->GetObjectName();
38968     lua_pushstring(L,(const char *)result); SWIG_arg++;
38969     return SWIG_arg;
38970 
38971     fail: SWIGUNUSED;
38972   }
38973   lua_error(L);
38974   return 0;
38975 }
38976 
38977 
_wrap_SBModuleSpec_SetObjectName(lua_State * L)38978 static int _wrap_SBModuleSpec_SetObjectName(lua_State* L) {
38979   {
38980     int SWIG_arg = 0;
38981     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
38982     char *arg2 = (char *) 0 ;
38983 
38984     SWIG_check_num_args("lldb::SBModuleSpec::SetObjectName",2,2)
38985     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",1,"lldb::SBModuleSpec *");
38986     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectName",2,"char const *");
38987 
38988     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
38989       SWIG_fail_ptr("SBModuleSpec_SetObjectName",1,SWIGTYPE_p_lldb__SBModuleSpec);
38990     }
38991 
38992     arg2 = (char *)lua_tostring(L, 2);
38993     (arg1)->SetObjectName((char const *)arg2);
38994 
38995     return SWIG_arg;
38996 
38997     fail: SWIGUNUSED;
38998   }
38999   lua_error(L);
39000   return 0;
39001 }
39002 
39003 
_wrap_SBModuleSpec_GetTriple(lua_State * L)39004 static int _wrap_SBModuleSpec_GetTriple(lua_State* L) {
39005   {
39006     int SWIG_arg = 0;
39007     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39008     char *result = 0 ;
39009 
39010     SWIG_check_num_args("lldb::SBModuleSpec::GetTriple",1,1)
39011     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetTriple",1,"lldb::SBModuleSpec *");
39012 
39013     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39014       SWIG_fail_ptr("SBModuleSpec_GetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec);
39015     }
39016 
39017     result = (char *)(arg1)->GetTriple();
39018     lua_pushstring(L,(const char *)result); SWIG_arg++;
39019     return SWIG_arg;
39020 
39021     fail: SWIGUNUSED;
39022   }
39023   lua_error(L);
39024   return 0;
39025 }
39026 
39027 
_wrap_SBModuleSpec_SetTriple(lua_State * L)39028 static int _wrap_SBModuleSpec_SetTriple(lua_State* L) {
39029   {
39030     int SWIG_arg = 0;
39031     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39032     char *arg2 = (char *) 0 ;
39033 
39034     SWIG_check_num_args("lldb::SBModuleSpec::SetTriple",2,2)
39035     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",1,"lldb::SBModuleSpec *");
39036     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetTriple",2,"char const *");
39037 
39038     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39039       SWIG_fail_ptr("SBModuleSpec_SetTriple",1,SWIGTYPE_p_lldb__SBModuleSpec);
39040     }
39041 
39042     arg2 = (char *)lua_tostring(L, 2);
39043     (arg1)->SetTriple((char const *)arg2);
39044 
39045     return SWIG_arg;
39046 
39047     fail: SWIGUNUSED;
39048   }
39049   lua_error(L);
39050   return 0;
39051 }
39052 
39053 
_wrap_SBModuleSpec_GetUUIDBytes(lua_State * L)39054 static int _wrap_SBModuleSpec_GetUUIDBytes(lua_State* L) {
39055   {
39056     int SWIG_arg = 0;
39057     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39058     uint8_t *result = 0 ;
39059 
39060     SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDBytes",1,1)
39061     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDBytes",1,"lldb::SBModuleSpec *");
39062 
39063     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39064       SWIG_fail_ptr("SBModuleSpec_GetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec);
39065     }
39066 
39067     result = (uint8_t *)(arg1)->GetUUIDBytes();
39068     SWIG_NewPointerObj(L,result,SWIGTYPE_p_unsigned_char,0); SWIG_arg++;
39069     return SWIG_arg;
39070 
39071     fail: SWIGUNUSED;
39072   }
39073   lua_error(L);
39074   return 0;
39075 }
39076 
39077 
_wrap_SBModuleSpec_GetUUIDLength(lua_State * L)39078 static int _wrap_SBModuleSpec_GetUUIDLength(lua_State* L) {
39079   {
39080     int SWIG_arg = 0;
39081     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39082     size_t result;
39083 
39084     SWIG_check_num_args("lldb::SBModuleSpec::GetUUIDLength",1,1)
39085     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetUUIDLength",1,"lldb::SBModuleSpec *");
39086 
39087     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39088       SWIG_fail_ptr("SBModuleSpec_GetUUIDLength",1,SWIGTYPE_p_lldb__SBModuleSpec);
39089     }
39090 
39091     result = (arg1)->GetUUIDLength();
39092     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
39093     return SWIG_arg;
39094 
39095     fail: SWIGUNUSED;
39096   }
39097   lua_error(L);
39098   return 0;
39099 }
39100 
39101 
_wrap_SBModuleSpec_SetUUIDBytes(lua_State * L)39102 static int _wrap_SBModuleSpec_SetUUIDBytes(lua_State* L) {
39103   {
39104     int SWIG_arg = 0;
39105     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39106     uint8_t *arg2 = (uint8_t *) 0 ;
39107     size_t arg3 ;
39108     bool result;
39109 
39110     SWIG_check_num_args("lldb::SBModuleSpec::SetUUIDBytes",3,3)
39111     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",1,"lldb::SBModuleSpec *");
39112     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",2,"uint8_t const *");
39113     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBModuleSpec::SetUUIDBytes",3,"size_t");
39114 
39115     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39116       SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",1,SWIGTYPE_p_lldb__SBModuleSpec);
39117     }
39118 
39119 
39120     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_unsigned_char,0))){
39121       SWIG_fail_ptr("SBModuleSpec_SetUUIDBytes",2,SWIGTYPE_p_unsigned_char);
39122     }
39123 
39124     arg3 = (size_t)lua_tointeger(L, 3);
39125     result = (bool)(arg1)->SetUUIDBytes((uint8_t const *)arg2,arg3);
39126     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
39127     return SWIG_arg;
39128 
39129     fail: SWIGUNUSED;
39130   }
39131   lua_error(L);
39132   return 0;
39133 }
39134 
39135 
_wrap_SBModuleSpec_GetObjectOffset(lua_State * L)39136 static int _wrap_SBModuleSpec_GetObjectOffset(lua_State* L) {
39137   {
39138     int SWIG_arg = 0;
39139     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39140     uint64_t result;
39141 
39142     SWIG_check_num_args("lldb::SBModuleSpec::GetObjectOffset",1,1)
39143     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetObjectOffset",1,"lldb::SBModuleSpec *");
39144 
39145     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39146       SWIG_fail_ptr("SBModuleSpec_GetObjectOffset",1,SWIGTYPE_p_lldb__SBModuleSpec);
39147     }
39148 
39149     result = (uint64_t)(arg1)->GetObjectOffset();
39150     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
39151     return SWIG_arg;
39152 
39153     fail: SWIGUNUSED;
39154   }
39155   lua_error(L);
39156   return 0;
39157 }
39158 
39159 
_wrap_SBModuleSpec_SetObjectOffset(lua_State * L)39160 static int _wrap_SBModuleSpec_SetObjectOffset(lua_State* L) {
39161   {
39162     int SWIG_arg = 0;
39163     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39164     uint64_t arg2 ;
39165 
39166     SWIG_check_num_args("lldb::SBModuleSpec::SetObjectOffset",2,2)
39167     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectOffset",1,"lldb::SBModuleSpec *");
39168     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectOffset",2,"uint64_t");
39169 
39170     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39171       SWIG_fail_ptr("SBModuleSpec_SetObjectOffset",1,SWIGTYPE_p_lldb__SBModuleSpec);
39172     }
39173 
39174     arg2 = (uint64_t)lua_tointeger(L, 2);
39175     (arg1)->SetObjectOffset(arg2);
39176 
39177     return SWIG_arg;
39178 
39179     fail: SWIGUNUSED;
39180   }
39181   lua_error(L);
39182   return 0;
39183 }
39184 
39185 
_wrap_SBModuleSpec_GetObjectSize(lua_State * L)39186 static int _wrap_SBModuleSpec_GetObjectSize(lua_State* L) {
39187   {
39188     int SWIG_arg = 0;
39189     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39190     uint64_t result;
39191 
39192     SWIG_check_num_args("lldb::SBModuleSpec::GetObjectSize",1,1)
39193     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetObjectSize",1,"lldb::SBModuleSpec *");
39194 
39195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39196       SWIG_fail_ptr("SBModuleSpec_GetObjectSize",1,SWIGTYPE_p_lldb__SBModuleSpec);
39197     }
39198 
39199     result = (uint64_t)(arg1)->GetObjectSize();
39200     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
39201     return SWIG_arg;
39202 
39203     fail: SWIGUNUSED;
39204   }
39205   lua_error(L);
39206   return 0;
39207 }
39208 
39209 
_wrap_SBModuleSpec_SetObjectSize(lua_State * L)39210 static int _wrap_SBModuleSpec_SetObjectSize(lua_State* L) {
39211   {
39212     int SWIG_arg = 0;
39213     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39214     uint64_t arg2 ;
39215 
39216     SWIG_check_num_args("lldb::SBModuleSpec::SetObjectSize",2,2)
39217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectSize",1,"lldb::SBModuleSpec *");
39218     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::SetObjectSize",2,"uint64_t");
39219 
39220     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39221       SWIG_fail_ptr("SBModuleSpec_SetObjectSize",1,SWIGTYPE_p_lldb__SBModuleSpec);
39222     }
39223 
39224     arg2 = (uint64_t)lua_tointeger(L, 2);
39225     (arg1)->SetObjectSize(arg2);
39226 
39227     return SWIG_arg;
39228 
39229     fail: SWIGUNUSED;
39230   }
39231   lua_error(L);
39232   return 0;
39233 }
39234 
39235 
_wrap_SBModuleSpec_GetDescription(lua_State * L)39236 static int _wrap_SBModuleSpec_GetDescription(lua_State* L) {
39237   {
39238     int SWIG_arg = 0;
39239     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39240     lldb::SBStream *arg2 = 0 ;
39241     bool result;
39242 
39243     SWIG_check_num_args("lldb::SBModuleSpec::GetDescription",2,2)
39244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",1,"lldb::SBModuleSpec *");
39245     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpec::GetDescription",2,"lldb::SBStream &");
39246 
39247     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39248       SWIG_fail_ptr("SBModuleSpec_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpec);
39249     }
39250 
39251 
39252     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
39253       SWIG_fail_ptr("SBModuleSpec_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
39254     }
39255 
39256     result = (bool)(arg1)->GetDescription(*arg2);
39257     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
39258     return SWIG_arg;
39259 
39260     fail: SWIGUNUSED;
39261   }
39262   lua_error(L);
39263   return 0;
39264 }
39265 
39266 
_wrap_SBModuleSpec___tostring(lua_State * L)39267 static int _wrap_SBModuleSpec___tostring(lua_State* L) {
39268   {
39269     int SWIG_arg = 0;
39270     lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) 0 ;
39271     std::string result;
39272 
39273     SWIG_check_num_args("lldb::SBModuleSpec::__repr__",1,1)
39274     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpec::__repr__",1,"lldb::SBModuleSpec *");
39275 
39276     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39277       SWIG_fail_ptr("SBModuleSpec___tostring",1,SWIGTYPE_p_lldb__SBModuleSpec);
39278     }
39279 
39280     result = lldb_SBModuleSpec___repr__(arg1);
39281     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
39282     return SWIG_arg;
39283 
39284     fail: SWIGUNUSED;
39285   }
39286   lua_error(L);
39287   return 0;
39288 }
39289 
39290 
swig_delete_SBModuleSpec(void * obj)39291 static void swig_delete_SBModuleSpec(void *obj) {
39292 lldb::SBModuleSpec *arg1 = (lldb::SBModuleSpec *) obj;
39293 delete arg1;
39294 }
_proxy__wrap_new_SBModuleSpec(lua_State * L)39295 static int _proxy__wrap_new_SBModuleSpec(lua_State *L) {
39296     assert(lua_istable(L,1));
39297     lua_pushcfunction(L,_wrap_new_SBModuleSpec);
39298     assert(!lua_isnil(L,-1));
39299     lua_replace(L,1); /* replace our table with real constructor */
39300     lua_call(L,lua_gettop(L)-1,1);
39301     return 1;
39302 }
39303 static swig_lua_attribute swig_SBModuleSpec_attributes[] = {
39304     {0,0,0}
39305 };
39306 static swig_lua_method swig_SBModuleSpec_methods[]= {
39307     { "IsValid", _wrap_SBModuleSpec_IsValid},
39308     { "Clear", _wrap_SBModuleSpec_Clear},
39309     { "GetFileSpec", _wrap_SBModuleSpec_GetFileSpec},
39310     { "SetFileSpec", _wrap_SBModuleSpec_SetFileSpec},
39311     { "GetPlatformFileSpec", _wrap_SBModuleSpec_GetPlatformFileSpec},
39312     { "SetPlatformFileSpec", _wrap_SBModuleSpec_SetPlatformFileSpec},
39313     { "GetSymbolFileSpec", _wrap_SBModuleSpec_GetSymbolFileSpec},
39314     { "SetSymbolFileSpec", _wrap_SBModuleSpec_SetSymbolFileSpec},
39315     { "GetObjectName", _wrap_SBModuleSpec_GetObjectName},
39316     { "SetObjectName", _wrap_SBModuleSpec_SetObjectName},
39317     { "GetTriple", _wrap_SBModuleSpec_GetTriple},
39318     { "SetTriple", _wrap_SBModuleSpec_SetTriple},
39319     { "GetUUIDBytes", _wrap_SBModuleSpec_GetUUIDBytes},
39320     { "GetUUIDLength", _wrap_SBModuleSpec_GetUUIDLength},
39321     { "SetUUIDBytes", _wrap_SBModuleSpec_SetUUIDBytes},
39322     { "GetObjectOffset", _wrap_SBModuleSpec_GetObjectOffset},
39323     { "SetObjectOffset", _wrap_SBModuleSpec_SetObjectOffset},
39324     { "GetObjectSize", _wrap_SBModuleSpec_GetObjectSize},
39325     { "SetObjectSize", _wrap_SBModuleSpec_SetObjectSize},
39326     { "GetDescription", _wrap_SBModuleSpec_GetDescription},
39327     { "__tostring", _wrap_SBModuleSpec___tostring},
39328     {0,0}
39329 };
39330 static swig_lua_method swig_SBModuleSpec_meta[] = {
39331     { "__tostring", _wrap_SBModuleSpec___tostring},
39332     {0,0}
39333 };
39334 
39335 static swig_lua_attribute swig_SBModuleSpec_Sf_SwigStatic_attributes[] = {
39336     {0,0,0}
39337 };
39338 static swig_lua_const_info swig_SBModuleSpec_Sf_SwigStatic_constants[]= {
39339     {0,0,0,0,0,0}
39340 };
39341 static swig_lua_method swig_SBModuleSpec_Sf_SwigStatic_methods[]= {
39342     {0,0}
39343 };
39344 static swig_lua_class* swig_SBModuleSpec_Sf_SwigStatic_classes[]= {
39345     0
39346 };
39347 
39348 static swig_lua_namespace swig_SBModuleSpec_Sf_SwigStatic = {
39349     "SBModuleSpec",
39350     swig_SBModuleSpec_Sf_SwigStatic_methods,
39351     swig_SBModuleSpec_Sf_SwigStatic_attributes,
39352     swig_SBModuleSpec_Sf_SwigStatic_constants,
39353     swig_SBModuleSpec_Sf_SwigStatic_classes,
39354     0
39355 };
39356 static swig_lua_class *swig_SBModuleSpec_bases[] = {0};
39357 static const char *swig_SBModuleSpec_base_names[] = {0};
39358 static swig_lua_class _wrap_class_SBModuleSpec = { "SBModuleSpec", "SBModuleSpec", &SWIGTYPE_p_lldb__SBModuleSpec,_proxy__wrap_new_SBModuleSpec, swig_delete_SBModuleSpec, swig_SBModuleSpec_methods, swig_SBModuleSpec_attributes, &swig_SBModuleSpec_Sf_SwigStatic, swig_SBModuleSpec_meta, swig_SBModuleSpec_bases, swig_SBModuleSpec_base_names };
39359 
_wrap_new_SBModuleSpecList__SWIG_0(lua_State * L)39360 static int _wrap_new_SBModuleSpecList__SWIG_0(lua_State* L) {
39361   {
39362     int SWIG_arg = 0;
39363     lldb::SBModuleSpecList *result = 0 ;
39364 
39365     SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",0,0)
39366     result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList();
39367     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++;
39368     return SWIG_arg;
39369 
39370     fail: SWIGUNUSED;
39371   }
39372   lua_error(L);
39373   return 0;
39374 }
39375 
39376 
_wrap_new_SBModuleSpecList__SWIG_1(lua_State * L)39377 static int _wrap_new_SBModuleSpecList__SWIG_1(lua_State* L) {
39378   {
39379     int SWIG_arg = 0;
39380     lldb::SBModuleSpecList *arg1 = 0 ;
39381     lldb::SBModuleSpecList *result = 0 ;
39382 
39383     SWIG_check_num_args("lldb::SBModuleSpecList::SBModuleSpecList",1,1)
39384     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::SBModuleSpecList",1,"lldb::SBModuleSpecList const &");
39385 
39386     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39387       SWIG_fail_ptr("new_SBModuleSpecList",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39388     }
39389 
39390     result = (lldb::SBModuleSpecList *)new lldb::SBModuleSpecList((lldb::SBModuleSpecList const &)*arg1);
39391     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++;
39392     return SWIG_arg;
39393 
39394     fail: SWIGUNUSED;
39395   }
39396   lua_error(L);
39397   return 0;
39398 }
39399 
39400 
_wrap_new_SBModuleSpecList(lua_State * L)39401 static int _wrap_new_SBModuleSpecList(lua_State* L) {
39402   int argc;
39403   int argv[2]={
39404     1,2
39405   };
39406 
39407   argc = lua_gettop(L);
39408   if (argc == 0) {
39409     return _wrap_new_SBModuleSpecList__SWIG_0(L);
39410   }
39411   if (argc == 1) {
39412     int _v = 0;
39413     {
39414       void *ptr;
39415       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, SWIG_POINTER_NO_NULL)) {
39416         _v = 0;
39417       } else {
39418         _v = 1;
39419       }
39420     }
39421     if (_v) {
39422       return _wrap_new_SBModuleSpecList__SWIG_1(L);
39423     }
39424   }
39425 
39426   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBModuleSpecList'\n"
39427     "  Possible C/C++ prototypes are:\n"
39428     "    lldb::SBModuleSpecList::SBModuleSpecList()\n"
39429     "    lldb::SBModuleSpecList::SBModuleSpecList(lldb::SBModuleSpecList const &)\n");
39430   lua_error(L);return 0;
39431 }
39432 
39433 
_wrap_SBModuleSpecList_GetModuleSpecifications(lua_State * L)39434 static int _wrap_SBModuleSpecList_GetModuleSpecifications(lua_State* L) {
39435   {
39436     int SWIG_arg = 0;
39437     char *arg1 = (char *) 0 ;
39438     lldb::SBModuleSpecList result;
39439 
39440     SWIG_check_num_args("lldb::SBModuleSpecList::GetModuleSpecifications",1,1)
39441     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetModuleSpecifications",1,"char const *");
39442     arg1 = (char *)lua_tostring(L, 1);
39443     result = lldb::SBModuleSpecList::GetModuleSpecifications((char const *)arg1);
39444     {
39445       lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList(result);
39446       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++;
39447     }
39448     return SWIG_arg;
39449 
39450     fail: SWIGUNUSED;
39451   }
39452   lua_error(L);
39453   return 0;
39454 }
39455 
39456 
_wrap_SBModuleSpecList_Append__SWIG_0(lua_State * L)39457 static int _wrap_SBModuleSpecList_Append__SWIG_0(lua_State* L) {
39458   {
39459     int SWIG_arg = 0;
39460     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39461     lldb::SBModuleSpec *arg2 = 0 ;
39462 
39463     SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2)
39464     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *");
39465     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpec const &");
39466 
39467     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39468       SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39469     }
39470 
39471 
39472     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39473       SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpec);
39474     }
39475 
39476     (arg1)->Append((lldb::SBModuleSpec const &)*arg2);
39477 
39478     return SWIG_arg;
39479 
39480     fail: SWIGUNUSED;
39481   }
39482   lua_error(L);
39483   return 0;
39484 }
39485 
39486 
_wrap_SBModuleSpecList_Append__SWIG_1(lua_State * L)39487 static int _wrap_SBModuleSpecList_Append__SWIG_1(lua_State* L) {
39488   {
39489     int SWIG_arg = 0;
39490     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39491     lldb::SBModuleSpecList *arg2 = 0 ;
39492 
39493     SWIG_check_num_args("lldb::SBModuleSpecList::Append",2,2)
39494     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",1,"lldb::SBModuleSpecList *");
39495     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::Append",2,"lldb::SBModuleSpecList const &");
39496 
39497     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39498       SWIG_fail_ptr("SBModuleSpecList_Append",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39499     }
39500 
39501 
39502     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39503       SWIG_fail_ptr("SBModuleSpecList_Append",2,SWIGTYPE_p_lldb__SBModuleSpecList);
39504     }
39505 
39506     (arg1)->Append((lldb::SBModuleSpecList const &)*arg2);
39507 
39508     return SWIG_arg;
39509 
39510     fail: SWIGUNUSED;
39511   }
39512   lua_error(L);
39513   return 0;
39514 }
39515 
39516 
_wrap_SBModuleSpecList_Append(lua_State * L)39517 static int _wrap_SBModuleSpecList_Append(lua_State* L) {
39518   int argc;
39519   int argv[3]={
39520     1,2,3
39521   };
39522 
39523   argc = lua_gettop(L);
39524   if (argc == 2) {
39525     int _v = 0;
39526     {
39527       void *ptr;
39528       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, 0)) {
39529         _v = 0;
39530       } else {
39531         _v = 1;
39532       }
39533     }
39534     if (_v) {
39535       {
39536         void *ptr;
39537         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) {
39538           _v = 0;
39539         } else {
39540           _v = 1;
39541         }
39542       }
39543       if (_v) {
39544         return _wrap_SBModuleSpecList_Append__SWIG_0(L);
39545       }
39546     }
39547   }
39548   if (argc == 2) {
39549     int _v = 0;
39550     {
39551       void *ptr;
39552       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, 0)) {
39553         _v = 0;
39554       } else {
39555         _v = 1;
39556       }
39557     }
39558     if (_v) {
39559       {
39560         void *ptr;
39561         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpecList, SWIG_POINTER_NO_NULL)) {
39562           _v = 0;
39563         } else {
39564           _v = 1;
39565         }
39566       }
39567       if (_v) {
39568         return _wrap_SBModuleSpecList_Append__SWIG_1(L);
39569       }
39570     }
39571   }
39572 
39573   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBModuleSpecList_Append'\n"
39574     "  Possible C/C++ prototypes are:\n"
39575     "    lldb::SBModuleSpecList::Append(lldb::SBModuleSpec const &)\n"
39576     "    lldb::SBModuleSpecList::Append(lldb::SBModuleSpecList const &)\n");
39577   lua_error(L);return 0;
39578 }
39579 
39580 
_wrap_SBModuleSpecList_FindFirstMatchingSpec(lua_State * L)39581 static int _wrap_SBModuleSpecList_FindFirstMatchingSpec(lua_State* L) {
39582   {
39583     int SWIG_arg = 0;
39584     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39585     lldb::SBModuleSpec *arg2 = 0 ;
39586     lldb::SBModuleSpec result;
39587 
39588     SWIG_check_num_args("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,2)
39589     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",1,"lldb::SBModuleSpecList *");
39590     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindFirstMatchingSpec",2,"lldb::SBModuleSpec const &");
39591 
39592     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39593       SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39594     }
39595 
39596 
39597     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39598       SWIG_fail_ptr("SBModuleSpecList_FindFirstMatchingSpec",2,SWIGTYPE_p_lldb__SBModuleSpec);
39599     }
39600 
39601     result = (arg1)->FindFirstMatchingSpec((lldb::SBModuleSpec const &)*arg2);
39602     {
39603       lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec(result);
39604       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++;
39605     }
39606     return SWIG_arg;
39607 
39608     fail: SWIGUNUSED;
39609   }
39610   lua_error(L);
39611   return 0;
39612 }
39613 
39614 
_wrap_SBModuleSpecList_FindMatchingSpecs(lua_State * L)39615 static int _wrap_SBModuleSpecList_FindMatchingSpecs(lua_State* L) {
39616   {
39617     int SWIG_arg = 0;
39618     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39619     lldb::SBModuleSpec *arg2 = 0 ;
39620     lldb::SBModuleSpecList result;
39621 
39622     SWIG_check_num_args("lldb::SBModuleSpecList::FindMatchingSpecs",2,2)
39623     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",1,"lldb::SBModuleSpecList *");
39624     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::FindMatchingSpecs",2,"lldb::SBModuleSpec const &");
39625 
39626     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39627       SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39628     }
39629 
39630 
39631     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){
39632       SWIG_fail_ptr("SBModuleSpecList_FindMatchingSpecs",2,SWIGTYPE_p_lldb__SBModuleSpec);
39633     }
39634 
39635     result = (arg1)->FindMatchingSpecs((lldb::SBModuleSpec const &)*arg2);
39636     {
39637       lldb::SBModuleSpecList * resultptr = new lldb::SBModuleSpecList(result);
39638       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpecList,1); SWIG_arg++;
39639     }
39640     return SWIG_arg;
39641 
39642     fail: SWIGUNUSED;
39643   }
39644   lua_error(L);
39645   return 0;
39646 }
39647 
39648 
_wrap_SBModuleSpecList_GetSize(lua_State * L)39649 static int _wrap_SBModuleSpecList_GetSize(lua_State* L) {
39650   {
39651     int SWIG_arg = 0;
39652     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39653     size_t result;
39654 
39655     SWIG_check_num_args("lldb::SBModuleSpecList::GetSize",1,1)
39656     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSize",1,"lldb::SBModuleSpecList *");
39657 
39658     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39659       SWIG_fail_ptr("SBModuleSpecList_GetSize",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39660     }
39661 
39662     result = (arg1)->GetSize();
39663     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
39664     return SWIG_arg;
39665 
39666     fail: SWIGUNUSED;
39667   }
39668   lua_error(L);
39669   return 0;
39670 }
39671 
39672 
_wrap_SBModuleSpecList_GetSpecAtIndex(lua_State * L)39673 static int _wrap_SBModuleSpecList_GetSpecAtIndex(lua_State* L) {
39674   {
39675     int SWIG_arg = 0;
39676     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39677     size_t arg2 ;
39678     lldb::SBModuleSpec result;
39679 
39680     SWIG_check_num_args("lldb::SBModuleSpecList::GetSpecAtIndex",2,2)
39681     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",1,"lldb::SBModuleSpecList *");
39682     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetSpecAtIndex",2,"size_t");
39683 
39684     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39685       SWIG_fail_ptr("SBModuleSpecList_GetSpecAtIndex",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39686     }
39687 
39688     arg2 = (size_t)lua_tointeger(L, 2);
39689     result = (arg1)->GetSpecAtIndex(arg2);
39690     {
39691       lldb::SBModuleSpec * resultptr = new lldb::SBModuleSpec(result);
39692       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModuleSpec,1); SWIG_arg++;
39693     }
39694     return SWIG_arg;
39695 
39696     fail: SWIGUNUSED;
39697   }
39698   lua_error(L);
39699   return 0;
39700 }
39701 
39702 
_wrap_SBModuleSpecList_GetDescription(lua_State * L)39703 static int _wrap_SBModuleSpecList_GetDescription(lua_State* L) {
39704   {
39705     int SWIG_arg = 0;
39706     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39707     lldb::SBStream *arg2 = 0 ;
39708     bool result;
39709 
39710     SWIG_check_num_args("lldb::SBModuleSpecList::GetDescription",2,2)
39711     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",1,"lldb::SBModuleSpecList *");
39712     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBModuleSpecList::GetDescription",2,"lldb::SBStream &");
39713 
39714     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39715       SWIG_fail_ptr("SBModuleSpecList_GetDescription",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39716     }
39717 
39718 
39719     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
39720       SWIG_fail_ptr("SBModuleSpecList_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
39721     }
39722 
39723     result = (bool)(arg1)->GetDescription(*arg2);
39724     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
39725     return SWIG_arg;
39726 
39727     fail: SWIGUNUSED;
39728   }
39729   lua_error(L);
39730   return 0;
39731 }
39732 
39733 
_wrap_SBModuleSpecList___tostring(lua_State * L)39734 static int _wrap_SBModuleSpecList___tostring(lua_State* L) {
39735   {
39736     int SWIG_arg = 0;
39737     lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) 0 ;
39738     std::string result;
39739 
39740     SWIG_check_num_args("lldb::SBModuleSpecList::__repr__",1,1)
39741     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBModuleSpecList::__repr__",1,"lldb::SBModuleSpecList *");
39742 
39743     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBModuleSpecList,0))){
39744       SWIG_fail_ptr("SBModuleSpecList___tostring",1,SWIGTYPE_p_lldb__SBModuleSpecList);
39745     }
39746 
39747     result = lldb_SBModuleSpecList___repr__(arg1);
39748     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
39749     return SWIG_arg;
39750 
39751     fail: SWIGUNUSED;
39752   }
39753   lua_error(L);
39754   return 0;
39755 }
39756 
39757 
swig_delete_SBModuleSpecList(void * obj)39758 static void swig_delete_SBModuleSpecList(void *obj) {
39759 lldb::SBModuleSpecList *arg1 = (lldb::SBModuleSpecList *) obj;
39760 delete arg1;
39761 }
_proxy__wrap_new_SBModuleSpecList(lua_State * L)39762 static int _proxy__wrap_new_SBModuleSpecList(lua_State *L) {
39763     assert(lua_istable(L,1));
39764     lua_pushcfunction(L,_wrap_new_SBModuleSpecList);
39765     assert(!lua_isnil(L,-1));
39766     lua_replace(L,1); /* replace our table with real constructor */
39767     lua_call(L,lua_gettop(L)-1,1);
39768     return 1;
39769 }
39770 static swig_lua_attribute swig_SBModuleSpecList_attributes[] = {
39771     {0,0,0}
39772 };
39773 static swig_lua_method swig_SBModuleSpecList_methods[]= {
39774     { "Append", _wrap_SBModuleSpecList_Append},
39775     { "FindFirstMatchingSpec", _wrap_SBModuleSpecList_FindFirstMatchingSpec},
39776     { "FindMatchingSpecs", _wrap_SBModuleSpecList_FindMatchingSpecs},
39777     { "GetSize", _wrap_SBModuleSpecList_GetSize},
39778     { "GetSpecAtIndex", _wrap_SBModuleSpecList_GetSpecAtIndex},
39779     { "GetDescription", _wrap_SBModuleSpecList_GetDescription},
39780     { "__tostring", _wrap_SBModuleSpecList___tostring},
39781     {0,0}
39782 };
39783 static swig_lua_method swig_SBModuleSpecList_meta[] = {
39784     { "__tostring", _wrap_SBModuleSpecList___tostring},
39785     {0,0}
39786 };
39787 
39788 static swig_lua_attribute swig_SBModuleSpecList_Sf_SwigStatic_attributes[] = {
39789     {0,0,0}
39790 };
39791 static swig_lua_const_info swig_SBModuleSpecList_Sf_SwigStatic_constants[]= {
39792     {0,0,0,0,0,0}
39793 };
39794 static swig_lua_method swig_SBModuleSpecList_Sf_SwigStatic_methods[]= {
39795     { "GetModuleSpecifications", _wrap_SBModuleSpecList_GetModuleSpecifications},
39796     {0,0}
39797 };
39798 static swig_lua_class* swig_SBModuleSpecList_Sf_SwigStatic_classes[]= {
39799     0
39800 };
39801 
39802 static swig_lua_namespace swig_SBModuleSpecList_Sf_SwigStatic = {
39803     "SBModuleSpecList",
39804     swig_SBModuleSpecList_Sf_SwigStatic_methods,
39805     swig_SBModuleSpecList_Sf_SwigStatic_attributes,
39806     swig_SBModuleSpecList_Sf_SwigStatic_constants,
39807     swig_SBModuleSpecList_Sf_SwigStatic_classes,
39808     0
39809 };
39810 static swig_lua_class *swig_SBModuleSpecList_bases[] = {0};
39811 static const char *swig_SBModuleSpecList_base_names[] = {0};
39812 static swig_lua_class _wrap_class_SBModuleSpecList = { "SBModuleSpecList", "SBModuleSpecList", &SWIGTYPE_p_lldb__SBModuleSpecList,_proxy__wrap_new_SBModuleSpecList, swig_delete_SBModuleSpecList, swig_SBModuleSpecList_methods, swig_SBModuleSpecList_attributes, &swig_SBModuleSpecList_Sf_SwigStatic, swig_SBModuleSpecList_meta, swig_SBModuleSpecList_bases, swig_SBModuleSpecList_base_names };
39813 
_wrap_new_SBPlatformConnectOptions__SWIG_0(lua_State * L)39814 static int _wrap_new_SBPlatformConnectOptions__SWIG_0(lua_State* L) {
39815   {
39816     int SWIG_arg = 0;
39817     char *arg1 = (char *) 0 ;
39818     lldb::SBPlatformConnectOptions *result = 0 ;
39819 
39820     SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1)
39821     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"char const *");
39822     arg1 = (char *)lua_tostring(L, 1);
39823     result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((char const *)arg1);
39824     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++;
39825     return SWIG_arg;
39826 
39827     fail: SWIGUNUSED;
39828   }
39829   lua_error(L);
39830   return 0;
39831 }
39832 
39833 
_wrap_new_SBPlatformConnectOptions__SWIG_1(lua_State * L)39834 static int _wrap_new_SBPlatformConnectOptions__SWIG_1(lua_State* L) {
39835   {
39836     int SWIG_arg = 0;
39837     lldb::SBPlatformConnectOptions *arg1 = 0 ;
39838     lldb::SBPlatformConnectOptions *result = 0 ;
39839 
39840     SWIG_check_num_args("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,1)
39841     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SBPlatformConnectOptions",1,"lldb::SBPlatformConnectOptions const &");
39842 
39843     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
39844       SWIG_fail_ptr("new_SBPlatformConnectOptions",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
39845     }
39846 
39847     result = (lldb::SBPlatformConnectOptions *)new lldb::SBPlatformConnectOptions((lldb::SBPlatformConnectOptions const &)*arg1);
39848     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformConnectOptions,1); SWIG_arg++;
39849     return SWIG_arg;
39850 
39851     fail: SWIGUNUSED;
39852   }
39853   lua_error(L);
39854   return 0;
39855 }
39856 
39857 
_wrap_new_SBPlatformConnectOptions(lua_State * L)39858 static int _wrap_new_SBPlatformConnectOptions(lua_State* L) {
39859   int argc;
39860   int argv[2]={
39861     1,2
39862   };
39863 
39864   argc = lua_gettop(L);
39865   if (argc == 1) {
39866     int _v = 0;
39867     {
39868       void *ptr;
39869       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatformConnectOptions, SWIG_POINTER_NO_NULL)) {
39870         _v = 0;
39871       } else {
39872         _v = 1;
39873       }
39874     }
39875     if (_v) {
39876       return _wrap_new_SBPlatformConnectOptions__SWIG_1(L);
39877     }
39878   }
39879   if (argc == 1) {
39880     int _v = 0;
39881     {
39882       _v = SWIG_lua_isnilstring(L,argv[0]);
39883     }
39884     if (_v) {
39885       return _wrap_new_SBPlatformConnectOptions__SWIG_0(L);
39886     }
39887   }
39888 
39889   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBPlatformConnectOptions'\n"
39890     "  Possible C/C++ prototypes are:\n"
39891     "    lldb::SBPlatformConnectOptions::SBPlatformConnectOptions(char const *)\n"
39892     "    lldb::SBPlatformConnectOptions::SBPlatformConnectOptions(lldb::SBPlatformConnectOptions const &)\n");
39893   lua_error(L);return 0;
39894 }
39895 
39896 
_wrap_SBPlatformConnectOptions_GetURL(lua_State * L)39897 static int _wrap_SBPlatformConnectOptions_GetURL(lua_State* L) {
39898   {
39899     int SWIG_arg = 0;
39900     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
39901     char *result = 0 ;
39902 
39903     SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetURL",1,1)
39904     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetURL",1,"lldb::SBPlatformConnectOptions *");
39905 
39906     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
39907       SWIG_fail_ptr("SBPlatformConnectOptions_GetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
39908     }
39909 
39910     result = (char *)(arg1)->GetURL();
39911     lua_pushstring(L,(const char *)result); SWIG_arg++;
39912     return SWIG_arg;
39913 
39914     fail: SWIGUNUSED;
39915   }
39916   lua_error(L);
39917   return 0;
39918 }
39919 
39920 
_wrap_SBPlatformConnectOptions_SetURL(lua_State * L)39921 static int _wrap_SBPlatformConnectOptions_SetURL(lua_State* L) {
39922   {
39923     int SWIG_arg = 0;
39924     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
39925     char *arg2 = (char *) 0 ;
39926 
39927     SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetURL",2,2)
39928     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",1,"lldb::SBPlatformConnectOptions *");
39929     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetURL",2,"char const *");
39930 
39931     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
39932       SWIG_fail_ptr("SBPlatformConnectOptions_SetURL",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
39933     }
39934 
39935     arg2 = (char *)lua_tostring(L, 2);
39936     (arg1)->SetURL((char const *)arg2);
39937 
39938     return SWIG_arg;
39939 
39940     fail: SWIGUNUSED;
39941   }
39942   lua_error(L);
39943   return 0;
39944 }
39945 
39946 
_wrap_SBPlatformConnectOptions_GetRsyncEnabled(lua_State * L)39947 static int _wrap_SBPlatformConnectOptions_GetRsyncEnabled(lua_State* L) {
39948   {
39949     int SWIG_arg = 0;
39950     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
39951     bool result;
39952 
39953     SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,1)
39954     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetRsyncEnabled",1,"lldb::SBPlatformConnectOptions *");
39955 
39956     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
39957       SWIG_fail_ptr("SBPlatformConnectOptions_GetRsyncEnabled",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
39958     }
39959 
39960     result = (bool)(arg1)->GetRsyncEnabled();
39961     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
39962     return SWIG_arg;
39963 
39964     fail: SWIGUNUSED;
39965   }
39966   lua_error(L);
39967   return 0;
39968 }
39969 
39970 
_wrap_SBPlatformConnectOptions_EnableRsync(lua_State * L)39971 static int _wrap_SBPlatformConnectOptions_EnableRsync(lua_State* L) {
39972   {
39973     int SWIG_arg = 0;
39974     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
39975     char *arg2 = (char *) 0 ;
39976     char *arg3 = (char *) 0 ;
39977     bool arg4 ;
39978 
39979     SWIG_check_num_args("lldb::SBPlatformConnectOptions::EnableRsync",4,4)
39980     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",1,"lldb::SBPlatformConnectOptions *");
39981     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",2,"char const *");
39982     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",3,"char const *");
39983     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::EnableRsync",4,"bool");
39984 
39985     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
39986       SWIG_fail_ptr("SBPlatformConnectOptions_EnableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
39987     }
39988 
39989     arg2 = (char *)lua_tostring(L, 2);
39990     arg3 = (char *)lua_tostring(L, 3);
39991     arg4 = (lua_toboolean(L, 4)!=0);
39992     (arg1)->EnableRsync((char const *)arg2,(char const *)arg3,arg4);
39993 
39994     return SWIG_arg;
39995 
39996     fail: SWIGUNUSED;
39997   }
39998   lua_error(L);
39999   return 0;
40000 }
40001 
40002 
_wrap_SBPlatformConnectOptions_DisableRsync(lua_State * L)40003 static int _wrap_SBPlatformConnectOptions_DisableRsync(lua_State* L) {
40004   {
40005     int SWIG_arg = 0;
40006     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
40007 
40008     SWIG_check_num_args("lldb::SBPlatformConnectOptions::DisableRsync",1,1)
40009     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::DisableRsync",1,"lldb::SBPlatformConnectOptions *");
40010 
40011     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
40012       SWIG_fail_ptr("SBPlatformConnectOptions_DisableRsync",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
40013     }
40014 
40015     (arg1)->DisableRsync();
40016 
40017     return SWIG_arg;
40018 
40019     fail: SWIGUNUSED;
40020   }
40021   lua_error(L);
40022   return 0;
40023 }
40024 
40025 
_wrap_SBPlatformConnectOptions_GetLocalCacheDirectory(lua_State * L)40026 static int _wrap_SBPlatformConnectOptions_GetLocalCacheDirectory(lua_State* L) {
40027   {
40028     int SWIG_arg = 0;
40029     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
40030     char *result = 0 ;
40031 
40032     SWIG_check_num_args("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,1)
40033     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::GetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *");
40034 
40035     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
40036       SWIG_fail_ptr("SBPlatformConnectOptions_GetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
40037     }
40038 
40039     result = (char *)(arg1)->GetLocalCacheDirectory();
40040     lua_pushstring(L,(const char *)result); SWIG_arg++;
40041     return SWIG_arg;
40042 
40043     fail: SWIGUNUSED;
40044   }
40045   lua_error(L);
40046   return 0;
40047 }
40048 
40049 
_wrap_SBPlatformConnectOptions_SetLocalCacheDirectory(lua_State * L)40050 static int _wrap_SBPlatformConnectOptions_SetLocalCacheDirectory(lua_State* L) {
40051   {
40052     int SWIG_arg = 0;
40053     lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) 0 ;
40054     char *arg2 = (char *) 0 ;
40055 
40056     SWIG_check_num_args("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,2)
40057     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",1,"lldb::SBPlatformConnectOptions *");
40058     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformConnectOptions::SetLocalCacheDirectory",2,"char const *");
40059 
40060     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
40061       SWIG_fail_ptr("SBPlatformConnectOptions_SetLocalCacheDirectory",1,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
40062     }
40063 
40064     arg2 = (char *)lua_tostring(L, 2);
40065     (arg1)->SetLocalCacheDirectory((char const *)arg2);
40066 
40067     return SWIG_arg;
40068 
40069     fail: SWIGUNUSED;
40070   }
40071   lua_error(L);
40072   return 0;
40073 }
40074 
40075 
swig_delete_SBPlatformConnectOptions(void * obj)40076 static void swig_delete_SBPlatformConnectOptions(void *obj) {
40077 lldb::SBPlatformConnectOptions *arg1 = (lldb::SBPlatformConnectOptions *) obj;
40078 delete arg1;
40079 }
_proxy__wrap_new_SBPlatformConnectOptions(lua_State * L)40080 static int _proxy__wrap_new_SBPlatformConnectOptions(lua_State *L) {
40081     assert(lua_istable(L,1));
40082     lua_pushcfunction(L,_wrap_new_SBPlatformConnectOptions);
40083     assert(!lua_isnil(L,-1));
40084     lua_replace(L,1); /* replace our table with real constructor */
40085     lua_call(L,lua_gettop(L)-1,1);
40086     return 1;
40087 }
40088 static swig_lua_attribute swig_SBPlatformConnectOptions_attributes[] = {
40089     {0,0,0}
40090 };
40091 static swig_lua_method swig_SBPlatformConnectOptions_methods[]= {
40092     { "GetURL", _wrap_SBPlatformConnectOptions_GetURL},
40093     { "SetURL", _wrap_SBPlatformConnectOptions_SetURL},
40094     { "GetRsyncEnabled", _wrap_SBPlatformConnectOptions_GetRsyncEnabled},
40095     { "EnableRsync", _wrap_SBPlatformConnectOptions_EnableRsync},
40096     { "DisableRsync", _wrap_SBPlatformConnectOptions_DisableRsync},
40097     { "GetLocalCacheDirectory", _wrap_SBPlatformConnectOptions_GetLocalCacheDirectory},
40098     { "SetLocalCacheDirectory", _wrap_SBPlatformConnectOptions_SetLocalCacheDirectory},
40099     {0,0}
40100 };
40101 static swig_lua_method swig_SBPlatformConnectOptions_meta[] = {
40102     {0,0}
40103 };
40104 
40105 static swig_lua_attribute swig_SBPlatformConnectOptions_Sf_SwigStatic_attributes[] = {
40106     {0,0,0}
40107 };
40108 static swig_lua_const_info swig_SBPlatformConnectOptions_Sf_SwigStatic_constants[]= {
40109     {0,0,0,0,0,0}
40110 };
40111 static swig_lua_method swig_SBPlatformConnectOptions_Sf_SwigStatic_methods[]= {
40112     {0,0}
40113 };
40114 static swig_lua_class* swig_SBPlatformConnectOptions_Sf_SwigStatic_classes[]= {
40115     0
40116 };
40117 
40118 static swig_lua_namespace swig_SBPlatformConnectOptions_Sf_SwigStatic = {
40119     "SBPlatformConnectOptions",
40120     swig_SBPlatformConnectOptions_Sf_SwigStatic_methods,
40121     swig_SBPlatformConnectOptions_Sf_SwigStatic_attributes,
40122     swig_SBPlatformConnectOptions_Sf_SwigStatic_constants,
40123     swig_SBPlatformConnectOptions_Sf_SwigStatic_classes,
40124     0
40125 };
40126 static swig_lua_class *swig_SBPlatformConnectOptions_bases[] = {0};
40127 static const char *swig_SBPlatformConnectOptions_base_names[] = {0};
40128 static swig_lua_class _wrap_class_SBPlatformConnectOptions = { "SBPlatformConnectOptions", "SBPlatformConnectOptions", &SWIGTYPE_p_lldb__SBPlatformConnectOptions,_proxy__wrap_new_SBPlatformConnectOptions, swig_delete_SBPlatformConnectOptions, swig_SBPlatformConnectOptions_methods, swig_SBPlatformConnectOptions_attributes, &swig_SBPlatformConnectOptions_Sf_SwigStatic, swig_SBPlatformConnectOptions_meta, swig_SBPlatformConnectOptions_bases, swig_SBPlatformConnectOptions_base_names };
40129 
_wrap_new_SBPlatformShellCommand__SWIG_0(lua_State * L)40130 static int _wrap_new_SBPlatformShellCommand__SWIG_0(lua_State* L) {
40131   {
40132     int SWIG_arg = 0;
40133     char *arg1 = (char *) 0 ;
40134     char *arg2 = (char *) 0 ;
40135     lldb::SBPlatformShellCommand *result = 0 ;
40136 
40137     SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,2)
40138     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *");
40139     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",2,"char const *");
40140     arg1 = (char *)lua_tostring(L, 1);
40141     arg2 = (char *)lua_tostring(L, 2);
40142     result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1,(char const *)arg2);
40143     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++;
40144     return SWIG_arg;
40145 
40146     fail: SWIGUNUSED;
40147   }
40148   lua_error(L);
40149   return 0;
40150 }
40151 
40152 
_wrap_new_SBPlatformShellCommand__SWIG_1(lua_State * L)40153 static int _wrap_new_SBPlatformShellCommand__SWIG_1(lua_State* L) {
40154   {
40155     int SWIG_arg = 0;
40156     char *arg1 = (char *) 0 ;
40157     lldb::SBPlatformShellCommand *result = 0 ;
40158 
40159     SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1)
40160     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"char const *");
40161     arg1 = (char *)lua_tostring(L, 1);
40162     result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((char const *)arg1);
40163     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++;
40164     return SWIG_arg;
40165 
40166     fail: SWIGUNUSED;
40167   }
40168   lua_error(L);
40169   return 0;
40170 }
40171 
40172 
_wrap_new_SBPlatformShellCommand__SWIG_2(lua_State * L)40173 static int _wrap_new_SBPlatformShellCommand__SWIG_2(lua_State* L) {
40174   {
40175     int SWIG_arg = 0;
40176     lldb::SBPlatformShellCommand *arg1 = 0 ;
40177     lldb::SBPlatformShellCommand *result = 0 ;
40178 
40179     SWIG_check_num_args("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,1)
40180     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SBPlatformShellCommand",1,"lldb::SBPlatformShellCommand const &");
40181 
40182     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40183       SWIG_fail_ptr("new_SBPlatformShellCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40184     }
40185 
40186     result = (lldb::SBPlatformShellCommand *)new lldb::SBPlatformShellCommand((lldb::SBPlatformShellCommand const &)*arg1);
40187     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatformShellCommand,1); SWIG_arg++;
40188     return SWIG_arg;
40189 
40190     fail: SWIGUNUSED;
40191   }
40192   lua_error(L);
40193   return 0;
40194 }
40195 
40196 
_wrap_new_SBPlatformShellCommand(lua_State * L)40197 static int _wrap_new_SBPlatformShellCommand(lua_State* L) {
40198   int argc;
40199   int argv[3]={
40200     1,2,3
40201   };
40202 
40203   argc = lua_gettop(L);
40204   if (argc == 1) {
40205     int _v = 0;
40206     {
40207       void *ptr;
40208       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatformShellCommand, SWIG_POINTER_NO_NULL)) {
40209         _v = 0;
40210       } else {
40211         _v = 1;
40212       }
40213     }
40214     if (_v) {
40215       return _wrap_new_SBPlatformShellCommand__SWIG_2(L);
40216     }
40217   }
40218   if (argc == 1) {
40219     int _v = 0;
40220     {
40221       _v = SWIG_lua_isnilstring(L,argv[0]);
40222     }
40223     if (_v) {
40224       return _wrap_new_SBPlatformShellCommand__SWIG_1(L);
40225     }
40226   }
40227   if (argc == 2) {
40228     int _v = 0;
40229     {
40230       _v = SWIG_lua_isnilstring(L,argv[0]);
40231     }
40232     if (_v) {
40233       {
40234         _v = SWIG_lua_isnilstring(L,argv[1]);
40235       }
40236       if (_v) {
40237         return _wrap_new_SBPlatformShellCommand__SWIG_0(L);
40238       }
40239     }
40240   }
40241 
40242   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBPlatformShellCommand'\n"
40243     "  Possible C/C++ prototypes are:\n"
40244     "    lldb::SBPlatformShellCommand::SBPlatformShellCommand(char const *,char const *)\n"
40245     "    lldb::SBPlatformShellCommand::SBPlatformShellCommand(char const *)\n"
40246     "    lldb::SBPlatformShellCommand::SBPlatformShellCommand(lldb::SBPlatformShellCommand const &)\n");
40247   lua_error(L);return 0;
40248 }
40249 
40250 
_wrap_SBPlatformShellCommand_Clear(lua_State * L)40251 static int _wrap_SBPlatformShellCommand_Clear(lua_State* L) {
40252   {
40253     int SWIG_arg = 0;
40254     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40255 
40256     SWIG_check_num_args("lldb::SBPlatformShellCommand::Clear",1,1)
40257     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::Clear",1,"lldb::SBPlatformShellCommand *");
40258 
40259     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40260       SWIG_fail_ptr("SBPlatformShellCommand_Clear",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40261     }
40262 
40263     (arg1)->Clear();
40264 
40265     return SWIG_arg;
40266 
40267     fail: SWIGUNUSED;
40268   }
40269   lua_error(L);
40270   return 0;
40271 }
40272 
40273 
_wrap_SBPlatformShellCommand_GetShell(lua_State * L)40274 static int _wrap_SBPlatformShellCommand_GetShell(lua_State* L) {
40275   {
40276     int SWIG_arg = 0;
40277     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40278     char *result = 0 ;
40279 
40280     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetShell",1,1)
40281     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetShell",1,"lldb::SBPlatformShellCommand *");
40282 
40283     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40284       SWIG_fail_ptr("SBPlatformShellCommand_GetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40285     }
40286 
40287     result = (char *)(arg1)->GetShell();
40288     lua_pushstring(L,(const char *)result); SWIG_arg++;
40289     return SWIG_arg;
40290 
40291     fail: SWIGUNUSED;
40292   }
40293   lua_error(L);
40294   return 0;
40295 }
40296 
40297 
_wrap_SBPlatformShellCommand_SetShell(lua_State * L)40298 static int _wrap_SBPlatformShellCommand_SetShell(lua_State* L) {
40299   {
40300     int SWIG_arg = 0;
40301     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40302     char *arg2 = (char *) 0 ;
40303 
40304     SWIG_check_num_args("lldb::SBPlatformShellCommand::SetShell",2,2)
40305     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",1,"lldb::SBPlatformShellCommand *");
40306     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetShell",2,"char const *");
40307 
40308     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40309       SWIG_fail_ptr("SBPlatformShellCommand_SetShell",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40310     }
40311 
40312     arg2 = (char *)lua_tostring(L, 2);
40313     (arg1)->SetShell((char const *)arg2);
40314 
40315     return SWIG_arg;
40316 
40317     fail: SWIGUNUSED;
40318   }
40319   lua_error(L);
40320   return 0;
40321 }
40322 
40323 
_wrap_SBPlatformShellCommand_GetCommand(lua_State * L)40324 static int _wrap_SBPlatformShellCommand_GetCommand(lua_State* L) {
40325   {
40326     int SWIG_arg = 0;
40327     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40328     char *result = 0 ;
40329 
40330     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetCommand",1,1)
40331     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetCommand",1,"lldb::SBPlatformShellCommand *");
40332 
40333     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40334       SWIG_fail_ptr("SBPlatformShellCommand_GetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40335     }
40336 
40337     result = (char *)(arg1)->GetCommand();
40338     lua_pushstring(L,(const char *)result); SWIG_arg++;
40339     return SWIG_arg;
40340 
40341     fail: SWIGUNUSED;
40342   }
40343   lua_error(L);
40344   return 0;
40345 }
40346 
40347 
_wrap_SBPlatformShellCommand_SetCommand(lua_State * L)40348 static int _wrap_SBPlatformShellCommand_SetCommand(lua_State* L) {
40349   {
40350     int SWIG_arg = 0;
40351     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40352     char *arg2 = (char *) 0 ;
40353 
40354     SWIG_check_num_args("lldb::SBPlatformShellCommand::SetCommand",2,2)
40355     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",1,"lldb::SBPlatformShellCommand *");
40356     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetCommand",2,"char const *");
40357 
40358     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40359       SWIG_fail_ptr("SBPlatformShellCommand_SetCommand",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40360     }
40361 
40362     arg2 = (char *)lua_tostring(L, 2);
40363     (arg1)->SetCommand((char const *)arg2);
40364 
40365     return SWIG_arg;
40366 
40367     fail: SWIGUNUSED;
40368   }
40369   lua_error(L);
40370   return 0;
40371 }
40372 
40373 
_wrap_SBPlatformShellCommand_GetWorkingDirectory(lua_State * L)40374 static int _wrap_SBPlatformShellCommand_GetWorkingDirectory(lua_State* L) {
40375   {
40376     int SWIG_arg = 0;
40377     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40378     char *result = 0 ;
40379 
40380     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,1)
40381     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetWorkingDirectory",1,"lldb::SBPlatformShellCommand *");
40382 
40383     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40384       SWIG_fail_ptr("SBPlatformShellCommand_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40385     }
40386 
40387     result = (char *)(arg1)->GetWorkingDirectory();
40388     lua_pushstring(L,(const char *)result); SWIG_arg++;
40389     return SWIG_arg;
40390 
40391     fail: SWIGUNUSED;
40392   }
40393   lua_error(L);
40394   return 0;
40395 }
40396 
40397 
_wrap_SBPlatformShellCommand_SetWorkingDirectory(lua_State * L)40398 static int _wrap_SBPlatformShellCommand_SetWorkingDirectory(lua_State* L) {
40399   {
40400     int SWIG_arg = 0;
40401     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40402     char *arg2 = (char *) 0 ;
40403 
40404     SWIG_check_num_args("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,2)
40405     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",1,"lldb::SBPlatformShellCommand *");
40406     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetWorkingDirectory",2,"char const *");
40407 
40408     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40409       SWIG_fail_ptr("SBPlatformShellCommand_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40410     }
40411 
40412     arg2 = (char *)lua_tostring(L, 2);
40413     (arg1)->SetWorkingDirectory((char const *)arg2);
40414 
40415     return SWIG_arg;
40416 
40417     fail: SWIGUNUSED;
40418   }
40419   lua_error(L);
40420   return 0;
40421 }
40422 
40423 
_wrap_SBPlatformShellCommand_GetTimeoutSeconds(lua_State * L)40424 static int _wrap_SBPlatformShellCommand_GetTimeoutSeconds(lua_State* L) {
40425   {
40426     int SWIG_arg = 0;
40427     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40428     uint32_t result;
40429 
40430     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,1)
40431     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *");
40432 
40433     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40434       SWIG_fail_ptr("SBPlatformShellCommand_GetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40435     }
40436 
40437     result = (uint32_t)(arg1)->GetTimeoutSeconds();
40438     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
40439     return SWIG_arg;
40440 
40441     fail: SWIGUNUSED;
40442   }
40443   lua_error(L);
40444   return 0;
40445 }
40446 
40447 
_wrap_SBPlatformShellCommand_SetTimeoutSeconds(lua_State * L)40448 static int _wrap_SBPlatformShellCommand_SetTimeoutSeconds(lua_State* L) {
40449   {
40450     int SWIG_arg = 0;
40451     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40452     uint32_t arg2 ;
40453 
40454     SWIG_check_num_args("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,2)
40455     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",1,"lldb::SBPlatformShellCommand *");
40456     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatformShellCommand::SetTimeoutSeconds",2,"uint32_t");
40457 
40458     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40459       SWIG_fail_ptr("SBPlatformShellCommand_SetTimeoutSeconds",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40460     }
40461 
40462     arg2 = (uint32_t)lua_tointeger(L, 2);
40463     (arg1)->SetTimeoutSeconds(arg2);
40464 
40465     return SWIG_arg;
40466 
40467     fail: SWIGUNUSED;
40468   }
40469   lua_error(L);
40470   return 0;
40471 }
40472 
40473 
_wrap_SBPlatformShellCommand_GetSignal(lua_State * L)40474 static int _wrap_SBPlatformShellCommand_GetSignal(lua_State* L) {
40475   {
40476     int SWIG_arg = 0;
40477     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40478     int result;
40479 
40480     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetSignal",1,1)
40481     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetSignal",1,"lldb::SBPlatformShellCommand *");
40482 
40483     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40484       SWIG_fail_ptr("SBPlatformShellCommand_GetSignal",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40485     }
40486 
40487     result = (int)(arg1)->GetSignal();
40488     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
40489     return SWIG_arg;
40490 
40491     fail: SWIGUNUSED;
40492   }
40493   lua_error(L);
40494   return 0;
40495 }
40496 
40497 
_wrap_SBPlatformShellCommand_GetStatus(lua_State * L)40498 static int _wrap_SBPlatformShellCommand_GetStatus(lua_State* L) {
40499   {
40500     int SWIG_arg = 0;
40501     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40502     int result;
40503 
40504     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetStatus",1,1)
40505     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetStatus",1,"lldb::SBPlatformShellCommand *");
40506 
40507     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40508       SWIG_fail_ptr("SBPlatformShellCommand_GetStatus",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40509     }
40510 
40511     result = (int)(arg1)->GetStatus();
40512     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
40513     return SWIG_arg;
40514 
40515     fail: SWIGUNUSED;
40516   }
40517   lua_error(L);
40518   return 0;
40519 }
40520 
40521 
_wrap_SBPlatformShellCommand_GetOutput(lua_State * L)40522 static int _wrap_SBPlatformShellCommand_GetOutput(lua_State* L) {
40523   {
40524     int SWIG_arg = 0;
40525     lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) 0 ;
40526     char *result = 0 ;
40527 
40528     SWIG_check_num_args("lldb::SBPlatformShellCommand::GetOutput",1,1)
40529     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatformShellCommand::GetOutput",1,"lldb::SBPlatformShellCommand *");
40530 
40531     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
40532       SWIG_fail_ptr("SBPlatformShellCommand_GetOutput",1,SWIGTYPE_p_lldb__SBPlatformShellCommand);
40533     }
40534 
40535     result = (char *)(arg1)->GetOutput();
40536     lua_pushstring(L,(const char *)result); SWIG_arg++;
40537     return SWIG_arg;
40538 
40539     fail: SWIGUNUSED;
40540   }
40541   lua_error(L);
40542   return 0;
40543 }
40544 
40545 
swig_delete_SBPlatformShellCommand(void * obj)40546 static void swig_delete_SBPlatformShellCommand(void *obj) {
40547 lldb::SBPlatformShellCommand *arg1 = (lldb::SBPlatformShellCommand *) obj;
40548 delete arg1;
40549 }
_proxy__wrap_new_SBPlatformShellCommand(lua_State * L)40550 static int _proxy__wrap_new_SBPlatformShellCommand(lua_State *L) {
40551     assert(lua_istable(L,1));
40552     lua_pushcfunction(L,_wrap_new_SBPlatformShellCommand);
40553     assert(!lua_isnil(L,-1));
40554     lua_replace(L,1); /* replace our table with real constructor */
40555     lua_call(L,lua_gettop(L)-1,1);
40556     return 1;
40557 }
40558 static swig_lua_attribute swig_SBPlatformShellCommand_attributes[] = {
40559     {0,0,0}
40560 };
40561 static swig_lua_method swig_SBPlatformShellCommand_methods[]= {
40562     { "Clear", _wrap_SBPlatformShellCommand_Clear},
40563     { "GetShell", _wrap_SBPlatformShellCommand_GetShell},
40564     { "SetShell", _wrap_SBPlatformShellCommand_SetShell},
40565     { "GetCommand", _wrap_SBPlatformShellCommand_GetCommand},
40566     { "SetCommand", _wrap_SBPlatformShellCommand_SetCommand},
40567     { "GetWorkingDirectory", _wrap_SBPlatformShellCommand_GetWorkingDirectory},
40568     { "SetWorkingDirectory", _wrap_SBPlatformShellCommand_SetWorkingDirectory},
40569     { "GetTimeoutSeconds", _wrap_SBPlatformShellCommand_GetTimeoutSeconds},
40570     { "SetTimeoutSeconds", _wrap_SBPlatformShellCommand_SetTimeoutSeconds},
40571     { "GetSignal", _wrap_SBPlatformShellCommand_GetSignal},
40572     { "GetStatus", _wrap_SBPlatformShellCommand_GetStatus},
40573     { "GetOutput", _wrap_SBPlatformShellCommand_GetOutput},
40574     {0,0}
40575 };
40576 static swig_lua_method swig_SBPlatformShellCommand_meta[] = {
40577     {0,0}
40578 };
40579 
40580 static swig_lua_attribute swig_SBPlatformShellCommand_Sf_SwigStatic_attributes[] = {
40581     {0,0,0}
40582 };
40583 static swig_lua_const_info swig_SBPlatformShellCommand_Sf_SwigStatic_constants[]= {
40584     {0,0,0,0,0,0}
40585 };
40586 static swig_lua_method swig_SBPlatformShellCommand_Sf_SwigStatic_methods[]= {
40587     {0,0}
40588 };
40589 static swig_lua_class* swig_SBPlatformShellCommand_Sf_SwigStatic_classes[]= {
40590     0
40591 };
40592 
40593 static swig_lua_namespace swig_SBPlatformShellCommand_Sf_SwigStatic = {
40594     "SBPlatformShellCommand",
40595     swig_SBPlatformShellCommand_Sf_SwigStatic_methods,
40596     swig_SBPlatformShellCommand_Sf_SwigStatic_attributes,
40597     swig_SBPlatformShellCommand_Sf_SwigStatic_constants,
40598     swig_SBPlatformShellCommand_Sf_SwigStatic_classes,
40599     0
40600 };
40601 static swig_lua_class *swig_SBPlatformShellCommand_bases[] = {0};
40602 static const char *swig_SBPlatformShellCommand_base_names[] = {0};
40603 static swig_lua_class _wrap_class_SBPlatformShellCommand = { "SBPlatformShellCommand", "SBPlatformShellCommand", &SWIGTYPE_p_lldb__SBPlatformShellCommand,_proxy__wrap_new_SBPlatformShellCommand, swig_delete_SBPlatformShellCommand, swig_SBPlatformShellCommand_methods, swig_SBPlatformShellCommand_attributes, &swig_SBPlatformShellCommand_Sf_SwigStatic, swig_SBPlatformShellCommand_meta, swig_SBPlatformShellCommand_bases, swig_SBPlatformShellCommand_base_names };
40604 
_wrap_new_SBPlatform__SWIG_0(lua_State * L)40605 static int _wrap_new_SBPlatform__SWIG_0(lua_State* L) {
40606   {
40607     int SWIG_arg = 0;
40608     lldb::SBPlatform *result = 0 ;
40609 
40610     SWIG_check_num_args("lldb::SBPlatform::SBPlatform",0,0)
40611     result = (lldb::SBPlatform *)new lldb::SBPlatform();
40612     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
40613     return SWIG_arg;
40614 
40615     fail: SWIGUNUSED;
40616   }
40617   lua_error(L);
40618   return 0;
40619 }
40620 
40621 
_wrap_new_SBPlatform__SWIG_1(lua_State * L)40622 static int _wrap_new_SBPlatform__SWIG_1(lua_State* L) {
40623   {
40624     int SWIG_arg = 0;
40625     char *arg1 = (char *) 0 ;
40626     lldb::SBPlatform *result = 0 ;
40627 
40628     SWIG_check_num_args("lldb::SBPlatform::SBPlatform",1,1)
40629     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBPlatform::SBPlatform",1,"char const *");
40630     arg1 = (char *)lua_tostring(L, 1);
40631     result = (lldb::SBPlatform *)new lldb::SBPlatform((char const *)arg1);
40632     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
40633     return SWIG_arg;
40634 
40635     fail: SWIGUNUSED;
40636   }
40637   lua_error(L);
40638   return 0;
40639 }
40640 
40641 
_wrap_new_SBPlatform__SWIG_2(lua_State * L)40642 static int _wrap_new_SBPlatform__SWIG_2(lua_State* L) {
40643   {
40644     int SWIG_arg = 0;
40645     lldb::SBPlatform *arg1 = 0 ;
40646     lldb::SBPlatform *result = 0 ;
40647 
40648     SWIG_check_num_args("lldb::SBPlatform::SBPlatform",1,1)
40649     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBPlatform::SBPlatform",1,"lldb::SBPlatform const &");
40650 
40651     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40652       SWIG_fail_ptr("new_SBPlatform",1,SWIGTYPE_p_lldb__SBPlatform);
40653     }
40654 
40655     result = (lldb::SBPlatform *)new lldb::SBPlatform((lldb::SBPlatform const &)*arg1);
40656     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
40657     return SWIG_arg;
40658 
40659     fail: SWIGUNUSED;
40660   }
40661   lua_error(L);
40662   return 0;
40663 }
40664 
40665 
_wrap_new_SBPlatform(lua_State * L)40666 static int _wrap_new_SBPlatform(lua_State* L) {
40667   int argc;
40668   int argv[2]={
40669     1,2
40670   };
40671 
40672   argc = lua_gettop(L);
40673   if (argc == 0) {
40674     return _wrap_new_SBPlatform__SWIG_0(L);
40675   }
40676   if (argc == 1) {
40677     int _v = 0;
40678     {
40679       void *ptr;
40680       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatform, SWIG_POINTER_NO_NULL)) {
40681         _v = 0;
40682       } else {
40683         _v = 1;
40684       }
40685     }
40686     if (_v) {
40687       return _wrap_new_SBPlatform__SWIG_2(L);
40688     }
40689   }
40690   if (argc == 1) {
40691     int _v = 0;
40692     {
40693       _v = SWIG_lua_isnilstring(L,argv[0]);
40694     }
40695     if (_v) {
40696       return _wrap_new_SBPlatform__SWIG_1(L);
40697     }
40698   }
40699 
40700   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBPlatform'\n"
40701     "  Possible C/C++ prototypes are:\n"
40702     "    lldb::SBPlatform::SBPlatform()\n"
40703     "    lldb::SBPlatform::SBPlatform(char const *)\n"
40704     "    lldb::SBPlatform::SBPlatform(lldb::SBPlatform const &)\n");
40705   lua_error(L);return 0;
40706 }
40707 
40708 
_wrap_SBPlatform_GetHostPlatform(lua_State * L)40709 static int _wrap_SBPlatform_GetHostPlatform(lua_State* L) {
40710   {
40711     int SWIG_arg = 0;
40712     lldb::SBPlatform result;
40713 
40714     SWIG_check_num_args("lldb::SBPlatform::GetHostPlatform",0,0)
40715     result = lldb::SBPlatform::GetHostPlatform();
40716     {
40717       lldb::SBPlatform * resultptr = new lldb::SBPlatform(result);
40718       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
40719     }
40720     return SWIG_arg;
40721 
40722     fail: SWIGUNUSED;
40723   }
40724   lua_error(L);
40725   return 0;
40726 }
40727 
40728 
_wrap_SBPlatform_IsValid(lua_State * L)40729 static int _wrap_SBPlatform_IsValid(lua_State* L) {
40730   {
40731     int SWIG_arg = 0;
40732     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40733     bool result;
40734 
40735     SWIG_check_num_args("lldb::SBPlatform::IsValid",1,1)
40736     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsValid",1,"lldb::SBPlatform const *");
40737 
40738     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40739       SWIG_fail_ptr("SBPlatform_IsValid",1,SWIGTYPE_p_lldb__SBPlatform);
40740     }
40741 
40742     result = (bool)((lldb::SBPlatform const *)arg1)->IsValid();
40743     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
40744     return SWIG_arg;
40745 
40746     fail: SWIGUNUSED;
40747   }
40748   lua_error(L);
40749   return 0;
40750 }
40751 
40752 
_wrap_SBPlatform_Clear(lua_State * L)40753 static int _wrap_SBPlatform_Clear(lua_State* L) {
40754   {
40755     int SWIG_arg = 0;
40756     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40757 
40758     SWIG_check_num_args("lldb::SBPlatform::Clear",1,1)
40759     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Clear",1,"lldb::SBPlatform *");
40760 
40761     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40762       SWIG_fail_ptr("SBPlatform_Clear",1,SWIGTYPE_p_lldb__SBPlatform);
40763     }
40764 
40765     (arg1)->Clear();
40766 
40767     return SWIG_arg;
40768 
40769     fail: SWIGUNUSED;
40770   }
40771   lua_error(L);
40772   return 0;
40773 }
40774 
40775 
_wrap_SBPlatform_GetWorkingDirectory(lua_State * L)40776 static int _wrap_SBPlatform_GetWorkingDirectory(lua_State* L) {
40777   {
40778     int SWIG_arg = 0;
40779     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40780     char *result = 0 ;
40781 
40782     SWIG_check_num_args("lldb::SBPlatform::GetWorkingDirectory",1,1)
40783     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetWorkingDirectory",1,"lldb::SBPlatform *");
40784 
40785     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40786       SWIG_fail_ptr("SBPlatform_GetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform);
40787     }
40788 
40789     result = (char *)(arg1)->GetWorkingDirectory();
40790     lua_pushstring(L,(const char *)result); SWIG_arg++;
40791     return SWIG_arg;
40792 
40793     fail: SWIGUNUSED;
40794   }
40795   lua_error(L);
40796   return 0;
40797 }
40798 
40799 
_wrap_SBPlatform_SetWorkingDirectory(lua_State * L)40800 static int _wrap_SBPlatform_SetWorkingDirectory(lua_State* L) {
40801   {
40802     int SWIG_arg = 0;
40803     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40804     char *arg2 = (char *) 0 ;
40805     bool result;
40806 
40807     SWIG_check_num_args("lldb::SBPlatform::SetWorkingDirectory",2,2)
40808     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",1,"lldb::SBPlatform *");
40809     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetWorkingDirectory",2,"char const *");
40810 
40811     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40812       SWIG_fail_ptr("SBPlatform_SetWorkingDirectory",1,SWIGTYPE_p_lldb__SBPlatform);
40813     }
40814 
40815     arg2 = (char *)lua_tostring(L, 2);
40816     result = (bool)(arg1)->SetWorkingDirectory((char const *)arg2);
40817     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
40818     return SWIG_arg;
40819 
40820     fail: SWIGUNUSED;
40821   }
40822   lua_error(L);
40823   return 0;
40824 }
40825 
40826 
_wrap_SBPlatform_GetName(lua_State * L)40827 static int _wrap_SBPlatform_GetName(lua_State* L) {
40828   {
40829     int SWIG_arg = 0;
40830     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40831     char *result = 0 ;
40832 
40833     SWIG_check_num_args("lldb::SBPlatform::GetName",1,1)
40834     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetName",1,"lldb::SBPlatform *");
40835 
40836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40837       SWIG_fail_ptr("SBPlatform_GetName",1,SWIGTYPE_p_lldb__SBPlatform);
40838     }
40839 
40840     result = (char *)(arg1)->GetName();
40841     lua_pushstring(L,(const char *)result); SWIG_arg++;
40842     return SWIG_arg;
40843 
40844     fail: SWIGUNUSED;
40845   }
40846   lua_error(L);
40847   return 0;
40848 }
40849 
40850 
_wrap_SBPlatform_ConnectRemote(lua_State * L)40851 static int _wrap_SBPlatform_ConnectRemote(lua_State* L) {
40852   {
40853     int SWIG_arg = 0;
40854     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40855     lldb::SBPlatformConnectOptions *arg2 = 0 ;
40856     lldb::SBError result;
40857 
40858     SWIG_check_num_args("lldb::SBPlatform::ConnectRemote",2,2)
40859     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",1,"lldb::SBPlatform *");
40860     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::ConnectRemote",2,"lldb::SBPlatformConnectOptions &");
40861 
40862     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40863       SWIG_fail_ptr("SBPlatform_ConnectRemote",1,SWIGTYPE_p_lldb__SBPlatform);
40864     }
40865 
40866 
40867     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformConnectOptions,0))){
40868       SWIG_fail_ptr("SBPlatform_ConnectRemote",2,SWIGTYPE_p_lldb__SBPlatformConnectOptions);
40869     }
40870 
40871     result = (arg1)->ConnectRemote(*arg2);
40872     {
40873       lldb::SBError * resultptr = new lldb::SBError(result);
40874       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
40875     }
40876     return SWIG_arg;
40877 
40878     fail: SWIGUNUSED;
40879   }
40880   lua_error(L);
40881   return 0;
40882 }
40883 
40884 
_wrap_SBPlatform_DisconnectRemote(lua_State * L)40885 static int _wrap_SBPlatform_DisconnectRemote(lua_State* L) {
40886   {
40887     int SWIG_arg = 0;
40888     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40889 
40890     SWIG_check_num_args("lldb::SBPlatform::DisconnectRemote",1,1)
40891     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::DisconnectRemote",1,"lldb::SBPlatform *");
40892 
40893     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40894       SWIG_fail_ptr("SBPlatform_DisconnectRemote",1,SWIGTYPE_p_lldb__SBPlatform);
40895     }
40896 
40897     (arg1)->DisconnectRemote();
40898 
40899     return SWIG_arg;
40900 
40901     fail: SWIGUNUSED;
40902   }
40903   lua_error(L);
40904   return 0;
40905 }
40906 
40907 
_wrap_SBPlatform_IsConnected(lua_State * L)40908 static int _wrap_SBPlatform_IsConnected(lua_State* L) {
40909   {
40910     int SWIG_arg = 0;
40911     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40912     bool result;
40913 
40914     SWIG_check_num_args("lldb::SBPlatform::IsConnected",1,1)
40915     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::IsConnected",1,"lldb::SBPlatform *");
40916 
40917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40918       SWIG_fail_ptr("SBPlatform_IsConnected",1,SWIGTYPE_p_lldb__SBPlatform);
40919     }
40920 
40921     result = (bool)(arg1)->IsConnected();
40922     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
40923     return SWIG_arg;
40924 
40925     fail: SWIGUNUSED;
40926   }
40927   lua_error(L);
40928   return 0;
40929 }
40930 
40931 
_wrap_SBPlatform_GetTriple(lua_State * L)40932 static int _wrap_SBPlatform_GetTriple(lua_State* L) {
40933   {
40934     int SWIG_arg = 0;
40935     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40936     char *result = 0 ;
40937 
40938     SWIG_check_num_args("lldb::SBPlatform::GetTriple",1,1)
40939     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetTriple",1,"lldb::SBPlatform *");
40940 
40941     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40942       SWIG_fail_ptr("SBPlatform_GetTriple",1,SWIGTYPE_p_lldb__SBPlatform);
40943     }
40944 
40945     result = (char *)(arg1)->GetTriple();
40946     lua_pushstring(L,(const char *)result); SWIG_arg++;
40947     return SWIG_arg;
40948 
40949     fail: SWIGUNUSED;
40950   }
40951   lua_error(L);
40952   return 0;
40953 }
40954 
40955 
_wrap_SBPlatform_GetHostname(lua_State * L)40956 static int _wrap_SBPlatform_GetHostname(lua_State* L) {
40957   {
40958     int SWIG_arg = 0;
40959     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40960     char *result = 0 ;
40961 
40962     SWIG_check_num_args("lldb::SBPlatform::GetHostname",1,1)
40963     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetHostname",1,"lldb::SBPlatform *");
40964 
40965     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40966       SWIG_fail_ptr("SBPlatform_GetHostname",1,SWIGTYPE_p_lldb__SBPlatform);
40967     }
40968 
40969     result = (char *)(arg1)->GetHostname();
40970     lua_pushstring(L,(const char *)result); SWIG_arg++;
40971     return SWIG_arg;
40972 
40973     fail: SWIGUNUSED;
40974   }
40975   lua_error(L);
40976   return 0;
40977 }
40978 
40979 
_wrap_SBPlatform_GetOSBuild(lua_State * L)40980 static int _wrap_SBPlatform_GetOSBuild(lua_State* L) {
40981   {
40982     int SWIG_arg = 0;
40983     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
40984     char *result = 0 ;
40985 
40986     SWIG_check_num_args("lldb::SBPlatform::GetOSBuild",1,1)
40987     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSBuild",1,"lldb::SBPlatform *");
40988 
40989     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
40990       SWIG_fail_ptr("SBPlatform_GetOSBuild",1,SWIGTYPE_p_lldb__SBPlatform);
40991     }
40992 
40993     result = (char *)(arg1)->GetOSBuild();
40994     lua_pushstring(L,(const char *)result); SWIG_arg++;
40995     return SWIG_arg;
40996 
40997     fail: SWIGUNUSED;
40998   }
40999   lua_error(L);
41000   return 0;
41001 }
41002 
41003 
_wrap_SBPlatform_GetOSDescription(lua_State * L)41004 static int _wrap_SBPlatform_GetOSDescription(lua_State* L) {
41005   {
41006     int SWIG_arg = 0;
41007     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41008     char *result = 0 ;
41009 
41010     SWIG_check_num_args("lldb::SBPlatform::GetOSDescription",1,1)
41011     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSDescription",1,"lldb::SBPlatform *");
41012 
41013     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41014       SWIG_fail_ptr("SBPlatform_GetOSDescription",1,SWIGTYPE_p_lldb__SBPlatform);
41015     }
41016 
41017     result = (char *)(arg1)->GetOSDescription();
41018     lua_pushstring(L,(const char *)result); SWIG_arg++;
41019     return SWIG_arg;
41020 
41021     fail: SWIGUNUSED;
41022   }
41023   lua_error(L);
41024   return 0;
41025 }
41026 
41027 
_wrap_SBPlatform_GetOSMajorVersion(lua_State * L)41028 static int _wrap_SBPlatform_GetOSMajorVersion(lua_State* L) {
41029   {
41030     int SWIG_arg = 0;
41031     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41032     uint32_t result;
41033 
41034     SWIG_check_num_args("lldb::SBPlatform::GetOSMajorVersion",1,1)
41035     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMajorVersion",1,"lldb::SBPlatform *");
41036 
41037     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41038       SWIG_fail_ptr("SBPlatform_GetOSMajorVersion",1,SWIGTYPE_p_lldb__SBPlatform);
41039     }
41040 
41041     result = (uint32_t)(arg1)->GetOSMajorVersion();
41042     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
41043     return SWIG_arg;
41044 
41045     fail: SWIGUNUSED;
41046   }
41047   lua_error(L);
41048   return 0;
41049 }
41050 
41051 
_wrap_SBPlatform_GetOSMinorVersion(lua_State * L)41052 static int _wrap_SBPlatform_GetOSMinorVersion(lua_State* L) {
41053   {
41054     int SWIG_arg = 0;
41055     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41056     uint32_t result;
41057 
41058     SWIG_check_num_args("lldb::SBPlatform::GetOSMinorVersion",1,1)
41059     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSMinorVersion",1,"lldb::SBPlatform *");
41060 
41061     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41062       SWIG_fail_ptr("SBPlatform_GetOSMinorVersion",1,SWIGTYPE_p_lldb__SBPlatform);
41063     }
41064 
41065     result = (uint32_t)(arg1)->GetOSMinorVersion();
41066     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
41067     return SWIG_arg;
41068 
41069     fail: SWIGUNUSED;
41070   }
41071   lua_error(L);
41072   return 0;
41073 }
41074 
41075 
_wrap_SBPlatform_GetOSUpdateVersion(lua_State * L)41076 static int _wrap_SBPlatform_GetOSUpdateVersion(lua_State* L) {
41077   {
41078     int SWIG_arg = 0;
41079     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41080     uint32_t result;
41081 
41082     SWIG_check_num_args("lldb::SBPlatform::GetOSUpdateVersion",1,1)
41083     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetOSUpdateVersion",1,"lldb::SBPlatform *");
41084 
41085     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41086       SWIG_fail_ptr("SBPlatform_GetOSUpdateVersion",1,SWIGTYPE_p_lldb__SBPlatform);
41087     }
41088 
41089     result = (uint32_t)(arg1)->GetOSUpdateVersion();
41090     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
41091     return SWIG_arg;
41092 
41093     fail: SWIGUNUSED;
41094   }
41095   lua_error(L);
41096   return 0;
41097 }
41098 
41099 
_wrap_SBPlatform_SetSDKRoot(lua_State * L)41100 static int _wrap_SBPlatform_SetSDKRoot(lua_State* L) {
41101   {
41102     int SWIG_arg = 0;
41103     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41104     char *arg2 = (char *) 0 ;
41105 
41106     SWIG_check_num_args("lldb::SBPlatform::SetSDKRoot",2,2)
41107     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",1,"lldb::SBPlatform *");
41108     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetSDKRoot",2,"char const *");
41109 
41110     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41111       SWIG_fail_ptr("SBPlatform_SetSDKRoot",1,SWIGTYPE_p_lldb__SBPlatform);
41112     }
41113 
41114     arg2 = (char *)lua_tostring(L, 2);
41115     (arg1)->SetSDKRoot((char const *)arg2);
41116 
41117     return SWIG_arg;
41118 
41119     fail: SWIGUNUSED;
41120   }
41121   lua_error(L);
41122   return 0;
41123 }
41124 
41125 
_wrap_SBPlatform_Put(lua_State * L)41126 static int _wrap_SBPlatform_Put(lua_State* L) {
41127   {
41128     int SWIG_arg = 0;
41129     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41130     lldb::SBFileSpec *arg2 = 0 ;
41131     lldb::SBFileSpec *arg3 = 0 ;
41132     lldb::SBError result;
41133 
41134     SWIG_check_num_args("lldb::SBPlatform::Put",3,3)
41135     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Put",1,"lldb::SBPlatform *");
41136     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Put",2,"lldb::SBFileSpec &");
41137     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Put",3,"lldb::SBFileSpec &");
41138 
41139     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41140       SWIG_fail_ptr("SBPlatform_Put",1,SWIGTYPE_p_lldb__SBPlatform);
41141     }
41142 
41143 
41144     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
41145       SWIG_fail_ptr("SBPlatform_Put",2,SWIGTYPE_p_lldb__SBFileSpec);
41146     }
41147 
41148 
41149     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
41150       SWIG_fail_ptr("SBPlatform_Put",3,SWIGTYPE_p_lldb__SBFileSpec);
41151     }
41152 
41153     result = (arg1)->Put(*arg2,*arg3);
41154     {
41155       lldb::SBError * resultptr = new lldb::SBError(result);
41156       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41157     }
41158     return SWIG_arg;
41159 
41160     fail: SWIGUNUSED;
41161   }
41162   lua_error(L);
41163   return 0;
41164 }
41165 
41166 
_wrap_SBPlatform_Get(lua_State * L)41167 static int _wrap_SBPlatform_Get(lua_State* L) {
41168   {
41169     int SWIG_arg = 0;
41170     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41171     lldb::SBFileSpec *arg2 = 0 ;
41172     lldb::SBFileSpec *arg3 = 0 ;
41173     lldb::SBError result;
41174 
41175     SWIG_check_num_args("lldb::SBPlatform::Get",3,3)
41176     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Get",1,"lldb::SBPlatform *");
41177     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Get",2,"lldb::SBFileSpec &");
41178     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Get",3,"lldb::SBFileSpec &");
41179 
41180     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41181       SWIG_fail_ptr("SBPlatform_Get",1,SWIGTYPE_p_lldb__SBPlatform);
41182     }
41183 
41184 
41185     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
41186       SWIG_fail_ptr("SBPlatform_Get",2,SWIGTYPE_p_lldb__SBFileSpec);
41187     }
41188 
41189 
41190     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
41191       SWIG_fail_ptr("SBPlatform_Get",3,SWIGTYPE_p_lldb__SBFileSpec);
41192     }
41193 
41194     result = (arg1)->Get(*arg2,*arg3);
41195     {
41196       lldb::SBError * resultptr = new lldb::SBError(result);
41197       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41198     }
41199     return SWIG_arg;
41200 
41201     fail: SWIGUNUSED;
41202   }
41203   lua_error(L);
41204   return 0;
41205 }
41206 
41207 
_wrap_SBPlatform_Install(lua_State * L)41208 static int _wrap_SBPlatform_Install(lua_State* L) {
41209   {
41210     int SWIG_arg = 0;
41211     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41212     lldb::SBFileSpec *arg2 = 0 ;
41213     lldb::SBFileSpec *arg3 = 0 ;
41214     lldb::SBError result;
41215 
41216     SWIG_check_num_args("lldb::SBPlatform::Install",3,3)
41217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Install",1,"lldb::SBPlatform *");
41218     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Install",2,"lldb::SBFileSpec &");
41219     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Install",3,"lldb::SBFileSpec &");
41220 
41221     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41222       SWIG_fail_ptr("SBPlatform_Install",1,SWIGTYPE_p_lldb__SBPlatform);
41223     }
41224 
41225 
41226     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
41227       SWIG_fail_ptr("SBPlatform_Install",2,SWIGTYPE_p_lldb__SBFileSpec);
41228     }
41229 
41230 
41231     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
41232       SWIG_fail_ptr("SBPlatform_Install",3,SWIGTYPE_p_lldb__SBFileSpec);
41233     }
41234 
41235     result = (arg1)->Install(*arg2,*arg3);
41236     {
41237       lldb::SBError * resultptr = new lldb::SBError(result);
41238       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41239     }
41240     return SWIG_arg;
41241 
41242     fail: SWIGUNUSED;
41243   }
41244   lua_error(L);
41245   return 0;
41246 }
41247 
41248 
_wrap_SBPlatform_Run(lua_State * L)41249 static int _wrap_SBPlatform_Run(lua_State* L) {
41250   {
41251     int SWIG_arg = 0;
41252     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41253     lldb::SBPlatformShellCommand *arg2 = 0 ;
41254     lldb::SBError result;
41255 
41256     SWIG_check_num_args("lldb::SBPlatform::Run",2,2)
41257     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Run",1,"lldb::SBPlatform *");
41258     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Run",2,"lldb::SBPlatformShellCommand &");
41259 
41260     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41261       SWIG_fail_ptr("SBPlatform_Run",1,SWIGTYPE_p_lldb__SBPlatform);
41262     }
41263 
41264 
41265     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBPlatformShellCommand,0))){
41266       SWIG_fail_ptr("SBPlatform_Run",2,SWIGTYPE_p_lldb__SBPlatformShellCommand);
41267     }
41268 
41269     result = (arg1)->Run(*arg2);
41270     {
41271       lldb::SBError * resultptr = new lldb::SBError(result);
41272       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41273     }
41274     return SWIG_arg;
41275 
41276     fail: SWIGUNUSED;
41277   }
41278   lua_error(L);
41279   return 0;
41280 }
41281 
41282 
_wrap_SBPlatform_Launch(lua_State * L)41283 static int _wrap_SBPlatform_Launch(lua_State* L) {
41284   {
41285     int SWIG_arg = 0;
41286     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41287     lldb::SBLaunchInfo *arg2 = 0 ;
41288     lldb::SBError result;
41289 
41290     SWIG_check_num_args("lldb::SBPlatform::Launch",2,2)
41291     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Launch",1,"lldb::SBPlatform *");
41292     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Launch",2,"lldb::SBLaunchInfo &");
41293 
41294     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41295       SWIG_fail_ptr("SBPlatform_Launch",1,SWIGTYPE_p_lldb__SBPlatform);
41296     }
41297 
41298 
41299     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
41300       SWIG_fail_ptr("SBPlatform_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo);
41301     }
41302 
41303     result = (arg1)->Launch(*arg2);
41304     {
41305       lldb::SBError * resultptr = new lldb::SBError(result);
41306       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41307     }
41308     return SWIG_arg;
41309 
41310     fail: SWIGUNUSED;
41311   }
41312   lua_error(L);
41313   return 0;
41314 }
41315 
41316 
_wrap_SBPlatform_Attach(lua_State * L)41317 static int _wrap_SBPlatform_Attach(lua_State* L) {
41318   {
41319     int SWIG_arg = 0;
41320     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41321     lldb::SBAttachInfo *arg2 = 0 ;
41322     lldb::SBDebugger *arg3 = 0 ;
41323     lldb::SBTarget *arg4 = 0 ;
41324     lldb::SBError *arg5 = 0 ;
41325     lldb::SBProcess result;
41326 
41327     SWIG_check_num_args("lldb::SBPlatform::Attach",5,5)
41328     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Attach",1,"lldb::SBPlatform *");
41329     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Attach",2,"lldb::SBAttachInfo &");
41330     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Attach",3,"lldb::SBDebugger const &");
41331     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBPlatform::Attach",4,"lldb::SBTarget &");
41332     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBPlatform::Attach",5,"lldb::SBError &");
41333 
41334     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41335       SWIG_fail_ptr("SBPlatform_Attach",1,SWIGTYPE_p_lldb__SBPlatform);
41336     }
41337 
41338 
41339     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAttachInfo,0))){
41340       SWIG_fail_ptr("SBPlatform_Attach",2,SWIGTYPE_p_lldb__SBAttachInfo);
41341     }
41342 
41343 
41344     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBDebugger,0))){
41345       SWIG_fail_ptr("SBPlatform_Attach",3,SWIGTYPE_p_lldb__SBDebugger);
41346     }
41347 
41348 
41349     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBTarget,0))){
41350       SWIG_fail_ptr("SBPlatform_Attach",4,SWIGTYPE_p_lldb__SBTarget);
41351     }
41352 
41353 
41354     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
41355       SWIG_fail_ptr("SBPlatform_Attach",5,SWIGTYPE_p_lldb__SBError);
41356     }
41357 
41358     result = (arg1)->Attach(*arg2,(lldb::SBDebugger const &)*arg3,*arg4,*arg5);
41359     {
41360       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
41361       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
41362     }
41363     return SWIG_arg;
41364 
41365     fail: SWIGUNUSED;
41366   }
41367   lua_error(L);
41368   return 0;
41369 }
41370 
41371 
_wrap_SBPlatform_GetAllProcesses(lua_State * L)41372 static int _wrap_SBPlatform_GetAllProcesses(lua_State* L) {
41373   {
41374     int SWIG_arg = 0;
41375     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41376     lldb::SBError *arg2 = 0 ;
41377     lldb::SBProcessInfoList result;
41378 
41379     SWIG_check_num_args("lldb::SBPlatform::GetAllProcesses",2,2)
41380     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetAllProcesses",1,"lldb::SBPlatform *");
41381     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::GetAllProcesses",2,"lldb::SBError &");
41382 
41383     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41384       SWIG_fail_ptr("SBPlatform_GetAllProcesses",1,SWIGTYPE_p_lldb__SBPlatform);
41385     }
41386 
41387 
41388     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
41389       SWIG_fail_ptr("SBPlatform_GetAllProcesses",2,SWIGTYPE_p_lldb__SBError);
41390     }
41391 
41392     result = (arg1)->GetAllProcesses(*arg2);
41393     {
41394       lldb::SBProcessInfoList * resultptr = new lldb::SBProcessInfoList(result);
41395       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++;
41396     }
41397     return SWIG_arg;
41398 
41399     fail: SWIGUNUSED;
41400   }
41401   lua_error(L);
41402   return 0;
41403 }
41404 
41405 
_wrap_SBPlatform_Kill(lua_State * L)41406 static int _wrap_SBPlatform_Kill(lua_State* L) {
41407   {
41408     int SWIG_arg = 0;
41409     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41410     lldb::pid_t arg2 ;
41411     lldb::SBError result;
41412 
41413     SWIG_check_num_args("lldb::SBPlatform::Kill",2,2)
41414     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Kill",1,"lldb::SBPlatform *");
41415     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBPlatform::Kill",2,"lldb::pid_t const");
41416 
41417     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41418       SWIG_fail_ptr("SBPlatform_Kill",1,SWIGTYPE_p_lldb__SBPlatform);
41419     }
41420 
41421     arg2 = (lldb::pid_t const)lua_tointeger(L, 2);
41422     result = (arg1)->Kill(arg2);
41423     {
41424       lldb::SBError * resultptr = new lldb::SBError(result);
41425       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41426     }
41427     return SWIG_arg;
41428 
41429     fail: SWIGUNUSED;
41430   }
41431   lua_error(L);
41432   return 0;
41433 }
41434 
41435 
_wrap_SBPlatform_MakeDirectory__SWIG_0(lua_State * L)41436 static int _wrap_SBPlatform_MakeDirectory__SWIG_0(lua_State* L) {
41437   {
41438     int SWIG_arg = 0;
41439     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41440     char *arg2 = (char *) 0 ;
41441     uint32_t arg3 ;
41442     lldb::SBError result;
41443 
41444     SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",3,3)
41445     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *");
41446     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *");
41447     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",3,"uint32_t");
41448 
41449     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41450       SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform);
41451     }
41452 
41453     arg2 = (char *)lua_tostring(L, 2);
41454     arg3 = (uint32_t)lua_tointeger(L, 3);
41455     result = (arg1)->MakeDirectory((char const *)arg2,arg3);
41456     {
41457       lldb::SBError * resultptr = new lldb::SBError(result);
41458       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41459     }
41460     return SWIG_arg;
41461 
41462     fail: SWIGUNUSED;
41463   }
41464   lua_error(L);
41465   return 0;
41466 }
41467 
41468 
_wrap_SBPlatform_MakeDirectory__SWIG_1(lua_State * L)41469 static int _wrap_SBPlatform_MakeDirectory__SWIG_1(lua_State* L) {
41470   {
41471     int SWIG_arg = 0;
41472     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41473     char *arg2 = (char *) 0 ;
41474     lldb::SBError result;
41475 
41476     SWIG_check_num_args("lldb::SBPlatform::MakeDirectory",2,2)
41477     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",1,"lldb::SBPlatform *");
41478     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::MakeDirectory",2,"char const *");
41479 
41480     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41481       SWIG_fail_ptr("SBPlatform_MakeDirectory",1,SWIGTYPE_p_lldb__SBPlatform);
41482     }
41483 
41484     arg2 = (char *)lua_tostring(L, 2);
41485     result = (arg1)->MakeDirectory((char const *)arg2);
41486     {
41487       lldb::SBError * resultptr = new lldb::SBError(result);
41488       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41489     }
41490     return SWIG_arg;
41491 
41492     fail: SWIGUNUSED;
41493   }
41494   lua_error(L);
41495   return 0;
41496 }
41497 
41498 
_wrap_SBPlatform_MakeDirectory(lua_State * L)41499 static int _wrap_SBPlatform_MakeDirectory(lua_State* L) {
41500   int argc;
41501   int argv[4]={
41502     1,2,3,4
41503   };
41504 
41505   argc = lua_gettop(L);
41506   if (argc == 2) {
41507     int _v = 0;
41508     {
41509       void *ptr;
41510       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatform, 0)) {
41511         _v = 0;
41512       } else {
41513         _v = 1;
41514       }
41515     }
41516     if (_v) {
41517       {
41518         _v = SWIG_lua_isnilstring(L,argv[1]);
41519       }
41520       if (_v) {
41521         return _wrap_SBPlatform_MakeDirectory__SWIG_1(L);
41522       }
41523     }
41524   }
41525   if (argc == 3) {
41526     int _v = 0;
41527     {
41528       void *ptr;
41529       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBPlatform, 0)) {
41530         _v = 0;
41531       } else {
41532         _v = 1;
41533       }
41534     }
41535     if (_v) {
41536       {
41537         _v = SWIG_lua_isnilstring(L,argv[1]);
41538       }
41539       if (_v) {
41540         {
41541           _v = lua_isnumber(L,argv[2]);
41542         }
41543         if (_v) {
41544           return _wrap_SBPlatform_MakeDirectory__SWIG_0(L);
41545         }
41546       }
41547     }
41548   }
41549 
41550   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBPlatform_MakeDirectory'\n"
41551     "  Possible C/C++ prototypes are:\n"
41552     "    lldb::SBPlatform::MakeDirectory(char const *,uint32_t)\n"
41553     "    lldb::SBPlatform::MakeDirectory(char const *)\n");
41554   lua_error(L);return 0;
41555 }
41556 
41557 
_wrap_SBPlatform_GetFilePermissions(lua_State * L)41558 static int _wrap_SBPlatform_GetFilePermissions(lua_State* L) {
41559   {
41560     int SWIG_arg = 0;
41561     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41562     char *arg2 = (char *) 0 ;
41563     uint32_t result;
41564 
41565     SWIG_check_num_args("lldb::SBPlatform::GetFilePermissions",2,2)
41566     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",1,"lldb::SBPlatform *");
41567     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::GetFilePermissions",2,"char const *");
41568 
41569     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41570       SWIG_fail_ptr("SBPlatform_GetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform);
41571     }
41572 
41573     arg2 = (char *)lua_tostring(L, 2);
41574     result = (uint32_t)(arg1)->GetFilePermissions((char const *)arg2);
41575     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
41576     return SWIG_arg;
41577 
41578     fail: SWIGUNUSED;
41579   }
41580   lua_error(L);
41581   return 0;
41582 }
41583 
41584 
_wrap_SBPlatform_SetFilePermissions(lua_State * L)41585 static int _wrap_SBPlatform_SetFilePermissions(lua_State* L) {
41586   {
41587     int SWIG_arg = 0;
41588     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41589     char *arg2 = (char *) 0 ;
41590     uint32_t arg3 ;
41591     lldb::SBError result;
41592 
41593     SWIG_check_num_args("lldb::SBPlatform::SetFilePermissions",3,3)
41594     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",1,"lldb::SBPlatform *");
41595     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",2,"char const *");
41596     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBPlatform::SetFilePermissions",3,"uint32_t");
41597 
41598     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41599       SWIG_fail_ptr("SBPlatform_SetFilePermissions",1,SWIGTYPE_p_lldb__SBPlatform);
41600     }
41601 
41602     arg2 = (char *)lua_tostring(L, 2);
41603     arg3 = (uint32_t)lua_tointeger(L, 3);
41604     result = (arg1)->SetFilePermissions((char const *)arg2,arg3);
41605     {
41606       lldb::SBError * resultptr = new lldb::SBError(result);
41607       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41608     }
41609     return SWIG_arg;
41610 
41611     fail: SWIGUNUSED;
41612   }
41613   lua_error(L);
41614   return 0;
41615 }
41616 
41617 
_wrap_SBPlatform_GetUnixSignals(lua_State * L)41618 static int _wrap_SBPlatform_GetUnixSignals(lua_State* L) {
41619   {
41620     int SWIG_arg = 0;
41621     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41622     lldb::SBUnixSignals result;
41623 
41624     SWIG_check_num_args("lldb::SBPlatform::GetUnixSignals",1,1)
41625     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetUnixSignals",1,"lldb::SBPlatform const *");
41626 
41627     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41628       SWIG_fail_ptr("SBPlatform_GetUnixSignals",1,SWIGTYPE_p_lldb__SBPlatform);
41629     }
41630 
41631     result = ((lldb::SBPlatform const *)arg1)->GetUnixSignals();
41632     {
41633       lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals(result);
41634       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++;
41635     }
41636     return SWIG_arg;
41637 
41638     fail: SWIGUNUSED;
41639   }
41640   lua_error(L);
41641   return 0;
41642 }
41643 
41644 
_wrap_SBPlatform_GetEnvironment(lua_State * L)41645 static int _wrap_SBPlatform_GetEnvironment(lua_State* L) {
41646   {
41647     int SWIG_arg = 0;
41648     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41649     lldb::SBEnvironment result;
41650 
41651     SWIG_check_num_args("lldb::SBPlatform::GetEnvironment",1,1)
41652     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetEnvironment",1,"lldb::SBPlatform *");
41653 
41654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41655       SWIG_fail_ptr("SBPlatform_GetEnvironment",1,SWIGTYPE_p_lldb__SBPlatform);
41656     }
41657 
41658     result = (arg1)->GetEnvironment();
41659     {
41660       lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result);
41661       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++;
41662     }
41663     return SWIG_arg;
41664 
41665     fail: SWIGUNUSED;
41666   }
41667   lua_error(L);
41668   return 0;
41669 }
41670 
41671 
_wrap_SBPlatform_SetLocateModuleCallback(lua_State * L)41672 static int _wrap_SBPlatform_SetLocateModuleCallback(lua_State* L) {
41673   {
41674     int SWIG_arg = 0;
41675     lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ;
41676     lldb::SBPlatformLocateModuleCallback arg2 = (lldb::SBPlatformLocateModuleCallback) 0 ;
41677     void *arg3 = (void *) 0 ;
41678     lldb::SBError result;
41679 
41680     SWIG_check_num_args("lldb::SBPlatform::SetLocateModuleCallback",3,3)
41681     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::SetLocateModuleCallback",1,"lldb::SBPlatform *");
41682     if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("lldb::SBPlatform::SetLocateModuleCallback",2,"lldb::SBPlatformLocateModuleCallback");
41683     if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("lldb::SBPlatform::SetLocateModuleCallback",3,"void *");
41684 
41685     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){
41686       SWIG_fail_ptr("SBPlatform_SetLocateModuleCallback",1,SWIGTYPE_p_lldb__SBPlatform);
41687     }
41688 
41689 
41690     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError,0))){
41691       SWIG_fail_ptr("SBPlatform_SetLocateModuleCallback",2,SWIGTYPE_p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError);
41692     }
41693 
41694     arg3=(void *)SWIG_MustGetPtr(L,3,0,0,3,"SBPlatform_SetLocateModuleCallback");
41695     result = (arg1)->SetLocateModuleCallback(arg2,arg3);
41696     {
41697       lldb::SBError * resultptr = new lldb::SBError(result);
41698       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
41699     }
41700     return SWIG_arg;
41701 
41702     fail: SWIGUNUSED;
41703   }
41704   lua_error(L);
41705   return 0;
41706 }
41707 
41708 
swig_delete_SBPlatform(void * obj)41709 static void swig_delete_SBPlatform(void *obj) {
41710 lldb::SBPlatform *arg1 = (lldb::SBPlatform *) obj;
41711 delete arg1;
41712 }
_proxy__wrap_new_SBPlatform(lua_State * L)41713 static int _proxy__wrap_new_SBPlatform(lua_State *L) {
41714     assert(lua_istable(L,1));
41715     lua_pushcfunction(L,_wrap_new_SBPlatform);
41716     assert(!lua_isnil(L,-1));
41717     lua_replace(L,1); /* replace our table with real constructor */
41718     lua_call(L,lua_gettop(L)-1,1);
41719     return 1;
41720 }
41721 static swig_lua_attribute swig_SBPlatform_attributes[] = {
41722     {0,0,0}
41723 };
41724 static swig_lua_method swig_SBPlatform_methods[]= {
41725     { "IsValid", _wrap_SBPlatform_IsValid},
41726     { "Clear", _wrap_SBPlatform_Clear},
41727     { "GetWorkingDirectory", _wrap_SBPlatform_GetWorkingDirectory},
41728     { "SetWorkingDirectory", _wrap_SBPlatform_SetWorkingDirectory},
41729     { "GetName", _wrap_SBPlatform_GetName},
41730     { "ConnectRemote", _wrap_SBPlatform_ConnectRemote},
41731     { "DisconnectRemote", _wrap_SBPlatform_DisconnectRemote},
41732     { "IsConnected", _wrap_SBPlatform_IsConnected},
41733     { "GetTriple", _wrap_SBPlatform_GetTriple},
41734     { "GetHostname", _wrap_SBPlatform_GetHostname},
41735     { "GetOSBuild", _wrap_SBPlatform_GetOSBuild},
41736     { "GetOSDescription", _wrap_SBPlatform_GetOSDescription},
41737     { "GetOSMajorVersion", _wrap_SBPlatform_GetOSMajorVersion},
41738     { "GetOSMinorVersion", _wrap_SBPlatform_GetOSMinorVersion},
41739     { "GetOSUpdateVersion", _wrap_SBPlatform_GetOSUpdateVersion},
41740     { "SetSDKRoot", _wrap_SBPlatform_SetSDKRoot},
41741     { "Put", _wrap_SBPlatform_Put},
41742     { "Get", _wrap_SBPlatform_Get},
41743     { "Install", _wrap_SBPlatform_Install},
41744     { "Run", _wrap_SBPlatform_Run},
41745     { "Launch", _wrap_SBPlatform_Launch},
41746     { "Attach", _wrap_SBPlatform_Attach},
41747     { "GetAllProcesses", _wrap_SBPlatform_GetAllProcesses},
41748     { "Kill", _wrap_SBPlatform_Kill},
41749     { "MakeDirectory", _wrap_SBPlatform_MakeDirectory},
41750     { "GetFilePermissions", _wrap_SBPlatform_GetFilePermissions},
41751     { "SetFilePermissions", _wrap_SBPlatform_SetFilePermissions},
41752     { "GetUnixSignals", _wrap_SBPlatform_GetUnixSignals},
41753     { "GetEnvironment", _wrap_SBPlatform_GetEnvironment},
41754     { "SetLocateModuleCallback", _wrap_SBPlatform_SetLocateModuleCallback},
41755     {0,0}
41756 };
41757 static swig_lua_method swig_SBPlatform_meta[] = {
41758     {0,0}
41759 };
41760 
41761 static swig_lua_attribute swig_SBPlatform_Sf_SwigStatic_attributes[] = {
41762     {0,0,0}
41763 };
41764 static swig_lua_const_info swig_SBPlatform_Sf_SwigStatic_constants[]= {
41765     {0,0,0,0,0,0}
41766 };
41767 static swig_lua_method swig_SBPlatform_Sf_SwigStatic_methods[]= {
41768     { "GetHostPlatform", _wrap_SBPlatform_GetHostPlatform},
41769     {0,0}
41770 };
41771 static swig_lua_class* swig_SBPlatform_Sf_SwigStatic_classes[]= {
41772     0
41773 };
41774 
41775 static swig_lua_namespace swig_SBPlatform_Sf_SwigStatic = {
41776     "SBPlatform",
41777     swig_SBPlatform_Sf_SwigStatic_methods,
41778     swig_SBPlatform_Sf_SwigStatic_attributes,
41779     swig_SBPlatform_Sf_SwigStatic_constants,
41780     swig_SBPlatform_Sf_SwigStatic_classes,
41781     0
41782 };
41783 static swig_lua_class *swig_SBPlatform_bases[] = {0};
41784 static const char *swig_SBPlatform_base_names[] = {0};
41785 static swig_lua_class _wrap_class_SBPlatform = { "SBPlatform", "SBPlatform", &SWIGTYPE_p_lldb__SBPlatform,_proxy__wrap_new_SBPlatform, swig_delete_SBPlatform, swig_SBPlatform_methods, swig_SBPlatform_attributes, &swig_SBPlatform_Sf_SwigStatic, swig_SBPlatform_meta, swig_SBPlatform_bases, swig_SBPlatform_base_names };
41786 
_wrap_new_SBProcess__SWIG_0(lua_State * L)41787 static int _wrap_new_SBProcess__SWIG_0(lua_State* L) {
41788   {
41789     int SWIG_arg = 0;
41790     lldb::SBProcess *result = 0 ;
41791 
41792     SWIG_check_num_args("lldb::SBProcess::SBProcess",0,0)
41793     result = (lldb::SBProcess *)new lldb::SBProcess();
41794     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
41795     return SWIG_arg;
41796 
41797     fail: SWIGUNUSED;
41798   }
41799   lua_error(L);
41800   return 0;
41801 }
41802 
41803 
_wrap_new_SBProcess__SWIG_1(lua_State * L)41804 static int _wrap_new_SBProcess__SWIG_1(lua_State* L) {
41805   {
41806     int SWIG_arg = 0;
41807     lldb::SBProcess *arg1 = 0 ;
41808     lldb::SBProcess *result = 0 ;
41809 
41810     SWIG_check_num_args("lldb::SBProcess::SBProcess",1,1)
41811     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::SBProcess",1,"lldb::SBProcess const &");
41812 
41813     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41814       SWIG_fail_ptr("new_SBProcess",1,SWIGTYPE_p_lldb__SBProcess);
41815     }
41816 
41817     result = (lldb::SBProcess *)new lldb::SBProcess((lldb::SBProcess const &)*arg1);
41818     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
41819     return SWIG_arg;
41820 
41821     fail: SWIGUNUSED;
41822   }
41823   lua_error(L);
41824   return 0;
41825 }
41826 
41827 
_wrap_new_SBProcess(lua_State * L)41828 static int _wrap_new_SBProcess(lua_State* L) {
41829   int argc;
41830   int argv[2]={
41831     1,2
41832   };
41833 
41834   argc = lua_gettop(L);
41835   if (argc == 0) {
41836     return _wrap_new_SBProcess__SWIG_0(L);
41837   }
41838   if (argc == 1) {
41839     int _v = 0;
41840     {
41841       void *ptr;
41842       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, SWIG_POINTER_NO_NULL)) {
41843         _v = 0;
41844       } else {
41845         _v = 1;
41846       }
41847     }
41848     if (_v) {
41849       return _wrap_new_SBProcess__SWIG_1(L);
41850     }
41851   }
41852 
41853   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBProcess'\n"
41854     "  Possible C/C++ prototypes are:\n"
41855     "    lldb::SBProcess::SBProcess()\n"
41856     "    lldb::SBProcess::SBProcess(lldb::SBProcess const &)\n");
41857   lua_error(L);return 0;
41858 }
41859 
41860 
_wrap_SBProcess_GetBroadcasterClassName(lua_State * L)41861 static int _wrap_SBProcess_GetBroadcasterClassName(lua_State* L) {
41862   {
41863     int SWIG_arg = 0;
41864     char *result = 0 ;
41865 
41866     SWIG_check_num_args("lldb::SBProcess::GetBroadcasterClassName",0,0)
41867     result = (char *)lldb::SBProcess::GetBroadcasterClassName();
41868     lua_pushstring(L,(const char *)result); SWIG_arg++;
41869     return SWIG_arg;
41870 
41871     fail: SWIGUNUSED;
41872   }
41873   lua_error(L);
41874   return 0;
41875 }
41876 
41877 
_wrap_SBProcess_GetPluginName(lua_State * L)41878 static int _wrap_SBProcess_GetPluginName(lua_State* L) {
41879   {
41880     int SWIG_arg = 0;
41881     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
41882     char *result = 0 ;
41883 
41884     SWIG_check_num_args("lldb::SBProcess::GetPluginName",1,1)
41885     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetPluginName",1,"lldb::SBProcess *");
41886 
41887     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41888       SWIG_fail_ptr("SBProcess_GetPluginName",1,SWIGTYPE_p_lldb__SBProcess);
41889     }
41890 
41891     result = (char *)(arg1)->GetPluginName();
41892     lua_pushstring(L,(const char *)result); SWIG_arg++;
41893     return SWIG_arg;
41894 
41895     fail: SWIGUNUSED;
41896   }
41897   lua_error(L);
41898   return 0;
41899 }
41900 
41901 
_wrap_SBProcess_GetShortPluginName(lua_State * L)41902 static int _wrap_SBProcess_GetShortPluginName(lua_State* L) {
41903   {
41904     int SWIG_arg = 0;
41905     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
41906     char *result = 0 ;
41907 
41908     SWIG_check_num_args("lldb::SBProcess::GetShortPluginName",1,1)
41909     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetShortPluginName",1,"lldb::SBProcess *");
41910 
41911     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41912       SWIG_fail_ptr("SBProcess_GetShortPluginName",1,SWIGTYPE_p_lldb__SBProcess);
41913     }
41914 
41915     result = (char *)(arg1)->GetShortPluginName();
41916     lua_pushstring(L,(const char *)result); SWIG_arg++;
41917     return SWIG_arg;
41918 
41919     fail: SWIGUNUSED;
41920   }
41921   lua_error(L);
41922   return 0;
41923 }
41924 
41925 
_wrap_SBProcess_Clear(lua_State * L)41926 static int _wrap_SBProcess_Clear(lua_State* L) {
41927   {
41928     int SWIG_arg = 0;
41929     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
41930 
41931     SWIG_check_num_args("lldb::SBProcess::Clear",1,1)
41932     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Clear",1,"lldb::SBProcess *");
41933 
41934     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41935       SWIG_fail_ptr("SBProcess_Clear",1,SWIGTYPE_p_lldb__SBProcess);
41936     }
41937 
41938     (arg1)->Clear();
41939 
41940     return SWIG_arg;
41941 
41942     fail: SWIGUNUSED;
41943   }
41944   lua_error(L);
41945   return 0;
41946 }
41947 
41948 
_wrap_SBProcess_IsValid(lua_State * L)41949 static int _wrap_SBProcess_IsValid(lua_State* L) {
41950   {
41951     int SWIG_arg = 0;
41952     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
41953     bool result;
41954 
41955     SWIG_check_num_args("lldb::SBProcess::IsValid",1,1)
41956     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsValid",1,"lldb::SBProcess const *");
41957 
41958     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41959       SWIG_fail_ptr("SBProcess_IsValid",1,SWIGTYPE_p_lldb__SBProcess);
41960     }
41961 
41962     result = (bool)((lldb::SBProcess const *)arg1)->IsValid();
41963     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
41964     return SWIG_arg;
41965 
41966     fail: SWIGUNUSED;
41967   }
41968   lua_error(L);
41969   return 0;
41970 }
41971 
41972 
_wrap_SBProcess_GetTarget(lua_State * L)41973 static int _wrap_SBProcess_GetTarget(lua_State* L) {
41974   {
41975     int SWIG_arg = 0;
41976     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
41977     lldb::SBTarget result;
41978 
41979     SWIG_check_num_args("lldb::SBProcess::GetTarget",1,1)
41980     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetTarget",1,"lldb::SBProcess const *");
41981 
41982     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
41983       SWIG_fail_ptr("SBProcess_GetTarget",1,SWIGTYPE_p_lldb__SBProcess);
41984     }
41985 
41986     result = ((lldb::SBProcess const *)arg1)->GetTarget();
41987     {
41988       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
41989       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
41990     }
41991     return SWIG_arg;
41992 
41993     fail: SWIGUNUSED;
41994   }
41995   lua_error(L);
41996   return 0;
41997 }
41998 
41999 
_wrap_SBProcess_GetByteOrder(lua_State * L)42000 static int _wrap_SBProcess_GetByteOrder(lua_State* L) {
42001   {
42002     int SWIG_arg = 0;
42003     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42004     lldb::ByteOrder result;
42005 
42006     SWIG_check_num_args("lldb::SBProcess::GetByteOrder",1,1)
42007     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetByteOrder",1,"lldb::SBProcess const *");
42008 
42009     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42010       SWIG_fail_ptr("SBProcess_GetByteOrder",1,SWIGTYPE_p_lldb__SBProcess);
42011     }
42012 
42013     result = (lldb::ByteOrder)((lldb::SBProcess const *)arg1)->GetByteOrder();
42014     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42015     return SWIG_arg;
42016 
42017     fail: SWIGUNUSED;
42018   }
42019   lua_error(L);
42020   return 0;
42021 }
42022 
42023 
_wrap_SBProcess_PutSTDIN(lua_State * L)42024 static int _wrap_SBProcess_PutSTDIN(lua_State* L) {
42025   {
42026     int SWIG_arg = 0;
42027     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42028     char *arg2 = (char *) 0 ;
42029     size_t arg3 ;
42030     size_t result;
42031 
42032     SWIG_check_num_args("lldb::SBProcess::PutSTDIN",2,2)
42033     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::PutSTDIN",1,"lldb::SBProcess *");
42034 
42035     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42036       SWIG_fail_ptr("SBProcess_PutSTDIN",1,SWIGTYPE_p_lldb__SBProcess);
42037     }
42038 
42039     {
42040       arg2 = (char *)luaL_checklstring(L, 2, &arg3);
42041     }
42042     result = (arg1)->PutSTDIN((char const *)arg2,arg3);
42043     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42044     return SWIG_arg;
42045 
42046     fail: SWIGUNUSED;
42047   }
42048   lua_error(L);
42049   return 0;
42050 }
42051 
42052 
_wrap_SBProcess_GetSTDOUT(lua_State * L)42053 static int _wrap_SBProcess_GetSTDOUT(lua_State* L) {
42054   {
42055     int SWIG_arg = 0;
42056     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42057     char *arg2 = (char *) 0 ;
42058     size_t arg3 ;
42059     size_t result;
42060 
42061     SWIG_check_num_args("lldb::SBProcess::GetSTDOUT",2,2)
42062     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDOUT",1,"lldb::SBProcess const *");
42063 
42064     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42065       SWIG_fail_ptr("SBProcess_GetSTDOUT",1,SWIGTYPE_p_lldb__SBProcess);
42066     }
42067 
42068     {
42069       arg3 = luaL_checkinteger(L, 2);
42070       if (arg3 <= 0) {
42071         return luaL_error(L, "Positive integer expected");
42072       }
42073       arg2 = (char *)malloc(arg3);
42074     }
42075     result = ((lldb::SBProcess const *)arg1)->GetSTDOUT(arg2,arg3);
42076     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42077     {
42078       lua_pop(L, 1); // Blow away the previous result
42079       if (result == 0) {
42080         lua_pushliteral(L, "");
42081       } else {
42082         lua_pushlstring(L, (const char *)arg2, result);
42083       }
42084       free(arg2);
42085       // SWIG_arg was already incremented
42086     }
42087     return SWIG_arg;
42088 
42089     fail: SWIGUNUSED;
42090   }
42091   lua_error(L);
42092   return 0;
42093 }
42094 
42095 
_wrap_SBProcess_GetSTDERR(lua_State * L)42096 static int _wrap_SBProcess_GetSTDERR(lua_State* L) {
42097   {
42098     int SWIG_arg = 0;
42099     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42100     char *arg2 = (char *) 0 ;
42101     size_t arg3 ;
42102     size_t result;
42103 
42104     SWIG_check_num_args("lldb::SBProcess::GetSTDERR",2,2)
42105     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSTDERR",1,"lldb::SBProcess const *");
42106 
42107     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42108       SWIG_fail_ptr("SBProcess_GetSTDERR",1,SWIGTYPE_p_lldb__SBProcess);
42109     }
42110 
42111     {
42112       arg3 = luaL_checkinteger(L, 2);
42113       if (arg3 <= 0) {
42114         return luaL_error(L, "Positive integer expected");
42115       }
42116       arg2 = (char *)malloc(arg3);
42117     }
42118     result = ((lldb::SBProcess const *)arg1)->GetSTDERR(arg2,arg3);
42119     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42120     {
42121       lua_pop(L, 1); // Blow away the previous result
42122       if (result == 0) {
42123         lua_pushliteral(L, "");
42124       } else {
42125         lua_pushlstring(L, (const char *)arg2, result);
42126       }
42127       free(arg2);
42128       // SWIG_arg was already incremented
42129     }
42130     return SWIG_arg;
42131 
42132     fail: SWIGUNUSED;
42133   }
42134   lua_error(L);
42135   return 0;
42136 }
42137 
42138 
_wrap_SBProcess_GetAsyncProfileData(lua_State * L)42139 static int _wrap_SBProcess_GetAsyncProfileData(lua_State* L) {
42140   {
42141     int SWIG_arg = 0;
42142     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42143     char *arg2 = (char *) 0 ;
42144     size_t arg3 ;
42145     size_t result;
42146 
42147     SWIG_check_num_args("lldb::SBProcess::GetAsyncProfileData",2,2)
42148     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAsyncProfileData",1,"lldb::SBProcess const *");
42149 
42150     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42151       SWIG_fail_ptr("SBProcess_GetAsyncProfileData",1,SWIGTYPE_p_lldb__SBProcess);
42152     }
42153 
42154     {
42155       arg3 = luaL_checkinteger(L, 2);
42156       if (arg3 <= 0) {
42157         return luaL_error(L, "Positive integer expected");
42158       }
42159       arg2 = (char *)malloc(arg3);
42160     }
42161     result = ((lldb::SBProcess const *)arg1)->GetAsyncProfileData(arg2,arg3);
42162     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42163     {
42164       lua_pop(L, 1); // Blow away the previous result
42165       if (result == 0) {
42166         lua_pushliteral(L, "");
42167       } else {
42168         lua_pushlstring(L, (const char *)arg2, result);
42169       }
42170       free(arg2);
42171       // SWIG_arg was already incremented
42172     }
42173     return SWIG_arg;
42174 
42175     fail: SWIGUNUSED;
42176   }
42177   lua_error(L);
42178   return 0;
42179 }
42180 
42181 
_wrap_SBProcess_ReportEventState__SWIG_0(lua_State * L)42182 static int _wrap_SBProcess_ReportEventState__SWIG_0(lua_State* L) {
42183   {
42184     int SWIG_arg = 0;
42185     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42186     lldb::SBEvent *arg2 = 0 ;
42187     lldb::SBFile arg3 ;
42188     lldb::SBFile *argp3 ;
42189 
42190     SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3)
42191     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *");
42192     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &");
42193     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",3,"lldb::SBFile");
42194 
42195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42196       SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess);
42197     }
42198 
42199 
42200     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
42201       SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent);
42202     }
42203 
42204 
42205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBFile,0))){
42206       SWIG_fail_ptr("SBProcess_ReportEventState",3,SWIGTYPE_p_lldb__SBFile);
42207     }
42208     arg3 = *argp3;
42209 
42210     ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3);
42211 
42212     return SWIG_arg;
42213 
42214     fail: SWIGUNUSED;
42215   }
42216   lua_error(L);
42217   return 0;
42218 }
42219 
42220 
_wrap_SBProcess_ReportEventState__SWIG_1(lua_State * L)42221 static int _wrap_SBProcess_ReportEventState__SWIG_1(lua_State* L) {
42222   {
42223     int SWIG_arg = 0;
42224     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42225     lldb::SBEvent *arg2 = 0 ;
42226     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg3 ;
42227 
42228     SWIG_check_num_args("lldb::SBProcess::ReportEventState",3,3)
42229     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",1,"lldb::SBProcess const *");
42230     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::ReportEventState",2,"lldb::SBEvent const &");
42231 
42232     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42233       SWIG_fail_ptr("SBProcess_ReportEventState",1,SWIGTYPE_p_lldb__SBProcess);
42234     }
42235 
42236 
42237     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
42238       SWIG_fail_ptr("SBProcess_ReportEventState",2,SWIGTYPE_p_lldb__SBEvent);
42239     }
42240 
42241     {
42242       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 3, LUA_FILEHANDLE);
42243       lldb::FileSP file_sp;
42244       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
42245       if (!file_sp->IsValid())
42246       return luaL_error(L, "Invalid file");
42247       arg3 = file_sp;
42248     }
42249     ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3);
42250 
42251     return SWIG_arg;
42252 
42253     fail: SWIGUNUSED;
42254   }
42255   lua_error(L);
42256   return 0;
42257 }
42258 
42259 
_wrap_SBProcess_ReportEventState(lua_State * L)42260 static int _wrap_SBProcess_ReportEventState(lua_State* L) {
42261   int argc;
42262   int argv[4]={
42263     1,2,3,4
42264   };
42265 
42266   argc = lua_gettop(L);
42267   if (argc == 3) {
42268     int _v = 0;
42269     {
42270       void *ptr;
42271       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
42272         _v = 0;
42273       } else {
42274         _v = 1;
42275       }
42276     }
42277     if (_v) {
42278       {
42279         void *ptr;
42280         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
42281           _v = 0;
42282         } else {
42283           _v = 1;
42284         }
42285       }
42286       if (_v) {
42287         {
42288           void *ptr;
42289           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
42290             _v = 0;
42291           } else {
42292             _v = 1;
42293           }
42294         }
42295         if (_v) {
42296           return _wrap_SBProcess_ReportEventState__SWIG_0(L);
42297         }
42298       }
42299     }
42300   }
42301   if (argc == 3) {
42302     int _v = 0;
42303     {
42304       void *ptr;
42305       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
42306         _v = 0;
42307       } else {
42308         _v = 1;
42309       }
42310     }
42311     if (_v) {
42312       {
42313         void *ptr;
42314         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
42315           _v = 0;
42316         } else {
42317           _v = 1;
42318         }
42319       }
42320       if (_v) {
42321         {
42322           _v = (lua_isuserdata(L, argv[2])) &&
42323           (luaL_testudata(L, argv[2], LUA_FILEHANDLE) != nullptr);
42324         }
42325         if (_v) {
42326           return _wrap_SBProcess_ReportEventState__SWIG_1(L);
42327         }
42328       }
42329     }
42330   }
42331 
42332   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBProcess_ReportEventState'\n"
42333     "  Possible C/C++ prototypes are:\n"
42334     "    lldb::SBProcess::ReportEventState(lldb::SBEvent const &,lldb::SBFile) const\n"
42335     "    lldb::SBProcess::ReportEventState(lldb::SBEvent const &,lldb::FileSP) const\n");
42336   lua_error(L);return 0;
42337 }
42338 
42339 
_wrap_SBProcess_AppendEventStateReport(lua_State * L)42340 static int _wrap_SBProcess_AppendEventStateReport(lua_State* L) {
42341   {
42342     int SWIG_arg = 0;
42343     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42344     lldb::SBEvent *arg2 = 0 ;
42345     lldb::SBCommandReturnObject *arg3 = 0 ;
42346 
42347     SWIG_check_num_args("lldb::SBProcess::AppendEventStateReport",3,3)
42348     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",1,"lldb::SBProcess *");
42349     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",2,"lldb::SBEvent const &");
42350     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::AppendEventStateReport",3,"lldb::SBCommandReturnObject &");
42351 
42352     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42353       SWIG_fail_ptr("SBProcess_AppendEventStateReport",1,SWIGTYPE_p_lldb__SBProcess);
42354     }
42355 
42356 
42357     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
42358       SWIG_fail_ptr("SBProcess_AppendEventStateReport",2,SWIGTYPE_p_lldb__SBEvent);
42359     }
42360 
42361 
42362     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBCommandReturnObject,0))){
42363       SWIG_fail_ptr("SBProcess_AppendEventStateReport",3,SWIGTYPE_p_lldb__SBCommandReturnObject);
42364     }
42365 
42366     (arg1)->AppendEventStateReport((lldb::SBEvent const &)*arg2,*arg3);
42367 
42368     return SWIG_arg;
42369 
42370     fail: SWIGUNUSED;
42371   }
42372   lua_error(L);
42373   return 0;
42374 }
42375 
42376 
_wrap_SBProcess_RemoteAttachToProcessWithID(lua_State * L)42377 static int _wrap_SBProcess_RemoteAttachToProcessWithID(lua_State* L) {
42378   {
42379     int SWIG_arg = 0;
42380     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42381     lldb::pid_t arg2 ;
42382     lldb::SBError *arg3 = 0 ;
42383     bool result;
42384 
42385     SWIG_check_num_args("lldb::SBProcess::RemoteAttachToProcessWithID",3,3)
42386     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",1,"lldb::SBProcess *");
42387     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",2,"lldb::pid_t");
42388     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::RemoteAttachToProcessWithID",3,"lldb::SBError &");
42389 
42390     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42391       SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",1,SWIGTYPE_p_lldb__SBProcess);
42392     }
42393 
42394     arg2 = (lldb::pid_t)lua_tointeger(L, 2);
42395 
42396     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
42397       SWIG_fail_ptr("SBProcess_RemoteAttachToProcessWithID",3,SWIGTYPE_p_lldb__SBError);
42398     }
42399 
42400     result = (bool)(arg1)->RemoteAttachToProcessWithID(arg2,*arg3);
42401     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42402     return SWIG_arg;
42403 
42404     fail: SWIGUNUSED;
42405   }
42406   lua_error(L);
42407   return 0;
42408 }
42409 
42410 
_wrap_SBProcess_RemoteLaunch(lua_State * L)42411 static int _wrap_SBProcess_RemoteLaunch(lua_State* L) {
42412   {
42413     int SWIG_arg = 0;
42414     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42415     char **arg2 = (char **) 0 ;
42416     char **arg3 = (char **) 0 ;
42417     char *arg4 = (char *) 0 ;
42418     char *arg5 = (char *) 0 ;
42419     char *arg6 = (char *) 0 ;
42420     char *arg7 = (char *) 0 ;
42421     uint32_t arg8 ;
42422     bool arg9 ;
42423     lldb::SBError *arg10 = 0 ;
42424     bool result;
42425 
42426     SWIG_check_num_args("lldb::SBProcess::RemoteLaunch",10,10)
42427     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",1,"lldb::SBProcess *");
42428     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",4,"char const *");
42429     if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",5,"char const *");
42430     if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",6,"char const *");
42431     if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",7,"char const *");
42432     if(!lua_isinteger(L,8)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",8,"uint32_t");
42433     if(!lua_isboolean(L,9)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",9,"bool");
42434     if(!lua_isuserdata(L,10)) SWIG_fail_arg("lldb::SBProcess::RemoteLaunch",10,"lldb::SBError &");
42435 
42436     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42437       SWIG_fail_ptr("SBProcess_RemoteLaunch",1,SWIGTYPE_p_lldb__SBProcess);
42438     }
42439 
42440     {
42441       if (lua_istable(L, 2)) {
42442         size_t size = lua_rawlen(L, 2);
42443         arg2 = (char **)malloc((size + 1) * sizeof(char *));
42444         int i = 0, j = 0;
42445         while (i++ < size) {
42446           lua_rawgeti(L, 2, i);
42447           if (!lua_isstring(L, -1)) {
42448             // if current element cannot be converted to string, raise an error
42449             lua_pop(L, 1);
42450             return luaL_error(L, "List should only contain strings");
42451           }
42452           arg2[j++] = (char *)lua_tostring(L, -1);
42453           lua_pop(L, 1);
42454         }
42455         arg2[j] = 0;
42456       } else if (lua_isnil(L, 2)) {
42457         // "nil" is also acceptable, equivalent as an empty table
42458         arg2 = NULL;
42459       } else {
42460         return luaL_error(L, "A list of strings expected");
42461       }
42462     }
42463     {
42464       if (lua_istable(L, 3)) {
42465         size_t size = lua_rawlen(L, 3);
42466         arg3 = (char **)malloc((size + 1) * sizeof(char *));
42467         int i = 0, j = 0;
42468         while (i++ < size) {
42469           lua_rawgeti(L, 3, i);
42470           if (!lua_isstring(L, -1)) {
42471             // if current element cannot be converted to string, raise an error
42472             lua_pop(L, 1);
42473             return luaL_error(L, "List should only contain strings");
42474           }
42475           arg3[j++] = (char *)lua_tostring(L, -1);
42476           lua_pop(L, 1);
42477         }
42478         arg3[j] = 0;
42479       } else if (lua_isnil(L, 3)) {
42480         // "nil" is also acceptable, equivalent as an empty table
42481         arg3 = NULL;
42482       } else {
42483         return luaL_error(L, "A list of strings expected");
42484       }
42485     }
42486     arg4 = (char *)lua_tostring(L, 4);
42487     arg5 = (char *)lua_tostring(L, 5);
42488     arg6 = (char *)lua_tostring(L, 6);
42489     arg7 = (char *)lua_tostring(L, 7);
42490     arg8 = (uint32_t)lua_tointeger(L, 8);
42491     arg9 = (lua_toboolean(L, 9)!=0);
42492 
42493     if (!SWIG_IsOK(SWIG_ConvertPtr(L,10,(void**)&arg10,SWIGTYPE_p_lldb__SBError,0))){
42494       SWIG_fail_ptr("SBProcess_RemoteLaunch",10,SWIGTYPE_p_lldb__SBError);
42495     }
42496 
42497     result = (bool)(arg1)->RemoteLaunch((char const **)arg2,(char const **)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8,arg9,*arg10);
42498     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42499     {
42500       free((char *) arg2);
42501     }
42502     {
42503       free((char *) arg3);
42504     }
42505     return SWIG_arg;
42506 
42507     fail: SWIGUNUSED;
42508     {
42509       free((char *) arg2);
42510     }
42511     {
42512       free((char *) arg3);
42513     }
42514   }
42515   lua_error(L);
42516   return 0;
42517 }
42518 
42519 
_wrap_SBProcess_GetNumThreads(lua_State * L)42520 static int _wrap_SBProcess_GetNumThreads(lua_State* L) {
42521   {
42522     int SWIG_arg = 0;
42523     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42524     uint32_t result;
42525 
42526     SWIG_check_num_args("lldb::SBProcess::GetNumThreads",1,1)
42527     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumThreads",1,"lldb::SBProcess *");
42528 
42529     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42530       SWIG_fail_ptr("SBProcess_GetNumThreads",1,SWIGTYPE_p_lldb__SBProcess);
42531     }
42532 
42533     result = (uint32_t)(arg1)->GetNumThreads();
42534     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42535     return SWIG_arg;
42536 
42537     fail: SWIGUNUSED;
42538   }
42539   lua_error(L);
42540   return 0;
42541 }
42542 
42543 
_wrap_SBProcess_GetThreadAtIndex(lua_State * L)42544 static int _wrap_SBProcess_GetThreadAtIndex(lua_State* L) {
42545   {
42546     int SWIG_arg = 0;
42547     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42548     size_t arg2 ;
42549     lldb::SBThread result;
42550 
42551     SWIG_check_num_args("lldb::SBProcess::GetThreadAtIndex",2,2)
42552     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",1,"lldb::SBProcess *");
42553     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadAtIndex",2,"size_t");
42554 
42555     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42556       SWIG_fail_ptr("SBProcess_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBProcess);
42557     }
42558 
42559     arg2 = (size_t)lua_tointeger(L, 2);
42560     result = (arg1)->GetThreadAtIndex(arg2);
42561     {
42562       lldb::SBThread * resultptr = new lldb::SBThread(result);
42563       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
42564     }
42565     return SWIG_arg;
42566 
42567     fail: SWIGUNUSED;
42568   }
42569   lua_error(L);
42570   return 0;
42571 }
42572 
42573 
_wrap_SBProcess_GetThreadByID(lua_State * L)42574 static int _wrap_SBProcess_GetThreadByID(lua_State* L) {
42575   {
42576     int SWIG_arg = 0;
42577     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42578     lldb::tid_t arg2 ;
42579     lldb::SBThread result;
42580 
42581     SWIG_check_num_args("lldb::SBProcess::GetThreadByID",2,2)
42582     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",1,"lldb::SBProcess *");
42583     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByID",2,"lldb::tid_t");
42584 
42585     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42586       SWIG_fail_ptr("SBProcess_GetThreadByID",1,SWIGTYPE_p_lldb__SBProcess);
42587     }
42588 
42589     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
42590     result = (arg1)->GetThreadByID(arg2);
42591     {
42592       lldb::SBThread * resultptr = new lldb::SBThread(result);
42593       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
42594     }
42595     return SWIG_arg;
42596 
42597     fail: SWIGUNUSED;
42598   }
42599   lua_error(L);
42600   return 0;
42601 }
42602 
42603 
_wrap_SBProcess_GetThreadByIndexID(lua_State * L)42604 static int _wrap_SBProcess_GetThreadByIndexID(lua_State* L) {
42605   {
42606     int SWIG_arg = 0;
42607     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42608     uint32_t arg2 ;
42609     lldb::SBThread result;
42610 
42611     SWIG_check_num_args("lldb::SBProcess::GetThreadByIndexID",2,2)
42612     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",1,"lldb::SBProcess *");
42613     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetThreadByIndexID",2,"uint32_t");
42614 
42615     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42616       SWIG_fail_ptr("SBProcess_GetThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess);
42617     }
42618 
42619     arg2 = (uint32_t)lua_tointeger(L, 2);
42620     result = (arg1)->GetThreadByIndexID(arg2);
42621     {
42622       lldb::SBThread * resultptr = new lldb::SBThread(result);
42623       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
42624     }
42625     return SWIG_arg;
42626 
42627     fail: SWIGUNUSED;
42628   }
42629   lua_error(L);
42630   return 0;
42631 }
42632 
42633 
_wrap_SBProcess_GetSelectedThread(lua_State * L)42634 static int _wrap_SBProcess_GetSelectedThread(lua_State* L) {
42635   {
42636     int SWIG_arg = 0;
42637     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42638     lldb::SBThread result;
42639 
42640     SWIG_check_num_args("lldb::SBProcess::GetSelectedThread",1,1)
42641     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetSelectedThread",1,"lldb::SBProcess const *");
42642 
42643     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42644       SWIG_fail_ptr("SBProcess_GetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess);
42645     }
42646 
42647     result = ((lldb::SBProcess const *)arg1)->GetSelectedThread();
42648     {
42649       lldb::SBThread * resultptr = new lldb::SBThread(result);
42650       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
42651     }
42652     return SWIG_arg;
42653 
42654     fail: SWIGUNUSED;
42655   }
42656   lua_error(L);
42657   return 0;
42658 }
42659 
42660 
_wrap_SBProcess_CreateOSPluginThread(lua_State * L)42661 static int _wrap_SBProcess_CreateOSPluginThread(lua_State* L) {
42662   {
42663     int SWIG_arg = 0;
42664     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42665     lldb::tid_t arg2 ;
42666     lldb::addr_t arg3 ;
42667     lldb::SBThread result;
42668 
42669     SWIG_check_num_args("lldb::SBProcess::CreateOSPluginThread",3,3)
42670     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",1,"lldb::SBProcess *");
42671     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",2,"lldb::tid_t");
42672     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::CreateOSPluginThread",3,"lldb::addr_t");
42673 
42674     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42675       SWIG_fail_ptr("SBProcess_CreateOSPluginThread",1,SWIGTYPE_p_lldb__SBProcess);
42676     }
42677 
42678     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
42679     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
42680     result = (arg1)->CreateOSPluginThread(arg2,arg3);
42681     {
42682       lldb::SBThread * resultptr = new lldb::SBThread(result);
42683       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
42684     }
42685     return SWIG_arg;
42686 
42687     fail: SWIGUNUSED;
42688   }
42689   lua_error(L);
42690   return 0;
42691 }
42692 
42693 
_wrap_SBProcess_SetSelectedThread(lua_State * L)42694 static int _wrap_SBProcess_SetSelectedThread(lua_State* L) {
42695   {
42696     int SWIG_arg = 0;
42697     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42698     lldb::SBThread *arg2 = 0 ;
42699     bool result;
42700 
42701     SWIG_check_num_args("lldb::SBProcess::SetSelectedThread",2,2)
42702     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",1,"lldb::SBProcess *");
42703     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThread",2,"lldb::SBThread const &");
42704 
42705     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42706       SWIG_fail_ptr("SBProcess_SetSelectedThread",1,SWIGTYPE_p_lldb__SBProcess);
42707     }
42708 
42709 
42710     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){
42711       SWIG_fail_ptr("SBProcess_SetSelectedThread",2,SWIGTYPE_p_lldb__SBThread);
42712     }
42713 
42714     result = (bool)(arg1)->SetSelectedThread((lldb::SBThread const &)*arg2);
42715     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42716     return SWIG_arg;
42717 
42718     fail: SWIGUNUSED;
42719   }
42720   lua_error(L);
42721   return 0;
42722 }
42723 
42724 
_wrap_SBProcess_SetSelectedThreadByID(lua_State * L)42725 static int _wrap_SBProcess_SetSelectedThreadByID(lua_State* L) {
42726   {
42727     int SWIG_arg = 0;
42728     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42729     lldb::tid_t arg2 ;
42730     bool result;
42731 
42732     SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByID",2,2)
42733     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",1,"lldb::SBProcess *");
42734     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByID",2,"lldb::tid_t");
42735 
42736     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42737       SWIG_fail_ptr("SBProcess_SetSelectedThreadByID",1,SWIGTYPE_p_lldb__SBProcess);
42738     }
42739 
42740     arg2 = (lldb::tid_t)lua_tointeger(L, 2);
42741     result = (bool)(arg1)->SetSelectedThreadByID(arg2);
42742     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42743     return SWIG_arg;
42744 
42745     fail: SWIGUNUSED;
42746   }
42747   lua_error(L);
42748   return 0;
42749 }
42750 
42751 
_wrap_SBProcess_SetSelectedThreadByIndexID(lua_State * L)42752 static int _wrap_SBProcess_SetSelectedThreadByIndexID(lua_State* L) {
42753   {
42754     int SWIG_arg = 0;
42755     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42756     uint32_t arg2 ;
42757     bool result;
42758 
42759     SWIG_check_num_args("lldb::SBProcess::SetSelectedThreadByIndexID",2,2)
42760     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",1,"lldb::SBProcess *");
42761     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::SetSelectedThreadByIndexID",2,"uint32_t");
42762 
42763     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42764       SWIG_fail_ptr("SBProcess_SetSelectedThreadByIndexID",1,SWIGTYPE_p_lldb__SBProcess);
42765     }
42766 
42767     arg2 = (uint32_t)lua_tointeger(L, 2);
42768     result = (bool)(arg1)->SetSelectedThreadByIndexID(arg2);
42769     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42770     return SWIG_arg;
42771 
42772     fail: SWIGUNUSED;
42773   }
42774   lua_error(L);
42775   return 0;
42776 }
42777 
42778 
_wrap_SBProcess_GetNumQueues(lua_State * L)42779 static int _wrap_SBProcess_GetNumQueues(lua_State* L) {
42780   {
42781     int SWIG_arg = 0;
42782     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42783     uint32_t result;
42784 
42785     SWIG_check_num_args("lldb::SBProcess::GetNumQueues",1,1)
42786     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumQueues",1,"lldb::SBProcess *");
42787 
42788     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42789       SWIG_fail_ptr("SBProcess_GetNumQueues",1,SWIGTYPE_p_lldb__SBProcess);
42790     }
42791 
42792     result = (uint32_t)(arg1)->GetNumQueues();
42793     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42794     return SWIG_arg;
42795 
42796     fail: SWIGUNUSED;
42797   }
42798   lua_error(L);
42799   return 0;
42800 }
42801 
42802 
_wrap_SBProcess_GetQueueAtIndex(lua_State * L)42803 static int _wrap_SBProcess_GetQueueAtIndex(lua_State* L) {
42804   {
42805     int SWIG_arg = 0;
42806     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42807     size_t arg2 ;
42808     lldb::SBQueue result;
42809 
42810     SWIG_check_num_args("lldb::SBProcess::GetQueueAtIndex",2,2)
42811     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",1,"lldb::SBProcess *");
42812     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetQueueAtIndex",2,"size_t");
42813 
42814     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42815       SWIG_fail_ptr("SBProcess_GetQueueAtIndex",1,SWIGTYPE_p_lldb__SBProcess);
42816     }
42817 
42818     arg2 = (size_t)lua_tointeger(L, 2);
42819     result = (arg1)->GetQueueAtIndex(arg2);
42820     {
42821       lldb::SBQueue * resultptr = new lldb::SBQueue(result);
42822       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++;
42823     }
42824     return SWIG_arg;
42825 
42826     fail: SWIGUNUSED;
42827   }
42828   lua_error(L);
42829   return 0;
42830 }
42831 
42832 
_wrap_SBProcess_GetState(lua_State * L)42833 static int _wrap_SBProcess_GetState(lua_State* L) {
42834   {
42835     int SWIG_arg = 0;
42836     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42837     lldb::StateType result;
42838 
42839     SWIG_check_num_args("lldb::SBProcess::GetState",1,1)
42840     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetState",1,"lldb::SBProcess *");
42841 
42842     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42843       SWIG_fail_ptr("SBProcess_GetState",1,SWIGTYPE_p_lldb__SBProcess);
42844     }
42845 
42846     result = (lldb::StateType)(arg1)->GetState();
42847     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42848     return SWIG_arg;
42849 
42850     fail: SWIGUNUSED;
42851   }
42852   lua_error(L);
42853   return 0;
42854 }
42855 
42856 
_wrap_SBProcess_GetExitStatus(lua_State * L)42857 static int _wrap_SBProcess_GetExitStatus(lua_State* L) {
42858   {
42859     int SWIG_arg = 0;
42860     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42861     int result;
42862 
42863     SWIG_check_num_args("lldb::SBProcess::GetExitStatus",1,1)
42864     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitStatus",1,"lldb::SBProcess *");
42865 
42866     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42867       SWIG_fail_ptr("SBProcess_GetExitStatus",1,SWIGTYPE_p_lldb__SBProcess);
42868     }
42869 
42870     result = (int)(arg1)->GetExitStatus();
42871     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42872     return SWIG_arg;
42873 
42874     fail: SWIGUNUSED;
42875   }
42876   lua_error(L);
42877   return 0;
42878 }
42879 
42880 
_wrap_SBProcess_GetExitDescription(lua_State * L)42881 static int _wrap_SBProcess_GetExitDescription(lua_State* L) {
42882   {
42883     int SWIG_arg = 0;
42884     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42885     char *result = 0 ;
42886 
42887     SWIG_check_num_args("lldb::SBProcess::GetExitDescription",1,1)
42888     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExitDescription",1,"lldb::SBProcess *");
42889 
42890     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42891       SWIG_fail_ptr("SBProcess_GetExitDescription",1,SWIGTYPE_p_lldb__SBProcess);
42892     }
42893 
42894     result = (char *)(arg1)->GetExitDescription();
42895     lua_pushstring(L,(const char *)result); SWIG_arg++;
42896     return SWIG_arg;
42897 
42898     fail: SWIGUNUSED;
42899   }
42900   lua_error(L);
42901   return 0;
42902 }
42903 
42904 
_wrap_SBProcess_GetProcessID(lua_State * L)42905 static int _wrap_SBProcess_GetProcessID(lua_State* L) {
42906   {
42907     int SWIG_arg = 0;
42908     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42909     lldb::pid_t result;
42910 
42911     SWIG_check_num_args("lldb::SBProcess::GetProcessID",1,1)
42912     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessID",1,"lldb::SBProcess *");
42913 
42914     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42915       SWIG_fail_ptr("SBProcess_GetProcessID",1,SWIGTYPE_p_lldb__SBProcess);
42916     }
42917 
42918     result = (lldb::pid_t)(arg1)->GetProcessID();
42919     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42920     return SWIG_arg;
42921 
42922     fail: SWIGUNUSED;
42923   }
42924   lua_error(L);
42925   return 0;
42926 }
42927 
42928 
_wrap_SBProcess_GetUniqueID(lua_State * L)42929 static int _wrap_SBProcess_GetUniqueID(lua_State* L) {
42930   {
42931     int SWIG_arg = 0;
42932     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42933     uint32_t result;
42934 
42935     SWIG_check_num_args("lldb::SBProcess::GetUniqueID",1,1)
42936     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUniqueID",1,"lldb::SBProcess *");
42937 
42938     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42939       SWIG_fail_ptr("SBProcess_GetUniqueID",1,SWIGTYPE_p_lldb__SBProcess);
42940     }
42941 
42942     result = (uint32_t)(arg1)->GetUniqueID();
42943     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42944     return SWIG_arg;
42945 
42946     fail: SWIGUNUSED;
42947   }
42948   lua_error(L);
42949   return 0;
42950 }
42951 
42952 
_wrap_SBProcess_GetAddressByteSize(lua_State * L)42953 static int _wrap_SBProcess_GetAddressByteSize(lua_State* L) {
42954   {
42955     int SWIG_arg = 0;
42956     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42957     uint32_t result;
42958 
42959     SWIG_check_num_args("lldb::SBProcess::GetAddressByteSize",1,1)
42960     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetAddressByteSize",1,"lldb::SBProcess const *");
42961 
42962     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42963       SWIG_fail_ptr("SBProcess_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBProcess);
42964     }
42965 
42966     result = (uint32_t)((lldb::SBProcess const *)arg1)->GetAddressByteSize();
42967     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
42968     return SWIG_arg;
42969 
42970     fail: SWIGUNUSED;
42971   }
42972   lua_error(L);
42973   return 0;
42974 }
42975 
42976 
_wrap_SBProcess_Destroy(lua_State * L)42977 static int _wrap_SBProcess_Destroy(lua_State* L) {
42978   {
42979     int SWIG_arg = 0;
42980     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
42981     lldb::SBError result;
42982 
42983     SWIG_check_num_args("lldb::SBProcess::Destroy",1,1)
42984     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Destroy",1,"lldb::SBProcess *");
42985 
42986     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
42987       SWIG_fail_ptr("SBProcess_Destroy",1,SWIGTYPE_p_lldb__SBProcess);
42988     }
42989 
42990     result = (arg1)->Destroy();
42991     {
42992       lldb::SBError * resultptr = new lldb::SBError(result);
42993       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
42994     }
42995     return SWIG_arg;
42996 
42997     fail: SWIGUNUSED;
42998   }
42999   lua_error(L);
43000   return 0;
43001 }
43002 
43003 
_wrap_SBProcess_Continue(lua_State * L)43004 static int _wrap_SBProcess_Continue(lua_State* L) {
43005   {
43006     int SWIG_arg = 0;
43007     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43008     lldb::SBError result;
43009 
43010     SWIG_check_num_args("lldb::SBProcess::Continue",1,1)
43011     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Continue",1,"lldb::SBProcess *");
43012 
43013     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43014       SWIG_fail_ptr("SBProcess_Continue",1,SWIGTYPE_p_lldb__SBProcess);
43015     }
43016 
43017     result = (arg1)->Continue();
43018     {
43019       lldb::SBError * resultptr = new lldb::SBError(result);
43020       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43021     }
43022     return SWIG_arg;
43023 
43024     fail: SWIGUNUSED;
43025   }
43026   lua_error(L);
43027   return 0;
43028 }
43029 
43030 
_wrap_SBProcess_Stop(lua_State * L)43031 static int _wrap_SBProcess_Stop(lua_State* L) {
43032   {
43033     int SWIG_arg = 0;
43034     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43035     lldb::SBError result;
43036 
43037     SWIG_check_num_args("lldb::SBProcess::Stop",1,1)
43038     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Stop",1,"lldb::SBProcess *");
43039 
43040     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43041       SWIG_fail_ptr("SBProcess_Stop",1,SWIGTYPE_p_lldb__SBProcess);
43042     }
43043 
43044     result = (arg1)->Stop();
43045     {
43046       lldb::SBError * resultptr = new lldb::SBError(result);
43047       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43048     }
43049     return SWIG_arg;
43050 
43051     fail: SWIGUNUSED;
43052   }
43053   lua_error(L);
43054   return 0;
43055 }
43056 
43057 
_wrap_SBProcess_Kill(lua_State * L)43058 static int _wrap_SBProcess_Kill(lua_State* L) {
43059   {
43060     int SWIG_arg = 0;
43061     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43062     lldb::SBError result;
43063 
43064     SWIG_check_num_args("lldb::SBProcess::Kill",1,1)
43065     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Kill",1,"lldb::SBProcess *");
43066 
43067     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43068       SWIG_fail_ptr("SBProcess_Kill",1,SWIGTYPE_p_lldb__SBProcess);
43069     }
43070 
43071     result = (arg1)->Kill();
43072     {
43073       lldb::SBError * resultptr = new lldb::SBError(result);
43074       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43075     }
43076     return SWIG_arg;
43077 
43078     fail: SWIGUNUSED;
43079   }
43080   lua_error(L);
43081   return 0;
43082 }
43083 
43084 
_wrap_SBProcess_Detach__SWIG_0(lua_State * L)43085 static int _wrap_SBProcess_Detach__SWIG_0(lua_State* L) {
43086   {
43087     int SWIG_arg = 0;
43088     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43089     lldb::SBError result;
43090 
43091     SWIG_check_num_args("lldb::SBProcess::Detach",1,1)
43092     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Detach",1,"lldb::SBProcess *");
43093 
43094     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43095       SWIG_fail_ptr("SBProcess_Detach",1,SWIGTYPE_p_lldb__SBProcess);
43096     }
43097 
43098     result = (arg1)->Detach();
43099     {
43100       lldb::SBError * resultptr = new lldb::SBError(result);
43101       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43102     }
43103     return SWIG_arg;
43104 
43105     fail: SWIGUNUSED;
43106   }
43107   lua_error(L);
43108   return 0;
43109 }
43110 
43111 
_wrap_SBProcess_Detach__SWIG_1(lua_State * L)43112 static int _wrap_SBProcess_Detach__SWIG_1(lua_State* L) {
43113   {
43114     int SWIG_arg = 0;
43115     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43116     bool arg2 ;
43117     lldb::SBError result;
43118 
43119     SWIG_check_num_args("lldb::SBProcess::Detach",2,2)
43120     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Detach",1,"lldb::SBProcess *");
43121     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBProcess::Detach",2,"bool");
43122 
43123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43124       SWIG_fail_ptr("SBProcess_Detach",1,SWIGTYPE_p_lldb__SBProcess);
43125     }
43126 
43127     arg2 = (lua_toboolean(L, 2)!=0);
43128     result = (arg1)->Detach(arg2);
43129     {
43130       lldb::SBError * resultptr = new lldb::SBError(result);
43131       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43132     }
43133     return SWIG_arg;
43134 
43135     fail: SWIGUNUSED;
43136   }
43137   lua_error(L);
43138   return 0;
43139 }
43140 
43141 
_wrap_SBProcess_Detach(lua_State * L)43142 static int _wrap_SBProcess_Detach(lua_State* L) {
43143   int argc;
43144   int argv[3]={
43145     1,2,3
43146   };
43147 
43148   argc = lua_gettop(L);
43149   if (argc == 1) {
43150     int _v = 0;
43151     {
43152       void *ptr;
43153       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
43154         _v = 0;
43155       } else {
43156         _v = 1;
43157       }
43158     }
43159     if (_v) {
43160       return _wrap_SBProcess_Detach__SWIG_0(L);
43161     }
43162   }
43163   if (argc == 2) {
43164     int _v = 0;
43165     {
43166       void *ptr;
43167       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
43168         _v = 0;
43169       } else {
43170         _v = 1;
43171       }
43172     }
43173     if (_v) {
43174       {
43175         _v = lua_isboolean(L,argv[1]);
43176       }
43177       if (_v) {
43178         return _wrap_SBProcess_Detach__SWIG_1(L);
43179       }
43180     }
43181   }
43182 
43183   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBProcess_Detach'\n"
43184     "  Possible C/C++ prototypes are:\n"
43185     "    lldb::SBProcess::Detach()\n"
43186     "    lldb::SBProcess::Detach(bool)\n");
43187   lua_error(L);return 0;
43188 }
43189 
43190 
_wrap_SBProcess_Signal(lua_State * L)43191 static int _wrap_SBProcess_Signal(lua_State* L) {
43192   {
43193     int SWIG_arg = 0;
43194     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43195     int arg2 ;
43196     lldb::SBError result;
43197 
43198     SWIG_check_num_args("lldb::SBProcess::Signal",2,2)
43199     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::Signal",1,"lldb::SBProcess *");
43200     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::Signal",2,"int");
43201 
43202     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43203       SWIG_fail_ptr("SBProcess_Signal",1,SWIGTYPE_p_lldb__SBProcess);
43204     }
43205 
43206     arg2 = (int)lua_tointeger(L, 2);
43207     result = (arg1)->Signal(arg2);
43208     {
43209       lldb::SBError * resultptr = new lldb::SBError(result);
43210       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
43211     }
43212     return SWIG_arg;
43213 
43214     fail: SWIGUNUSED;
43215   }
43216   lua_error(L);
43217   return 0;
43218 }
43219 
43220 
_wrap_SBProcess_GetUnixSignals(lua_State * L)43221 static int _wrap_SBProcess_GetUnixSignals(lua_State* L) {
43222   {
43223     int SWIG_arg = 0;
43224     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43225     lldb::SBUnixSignals result;
43226 
43227     SWIG_check_num_args("lldb::SBProcess::GetUnixSignals",1,1)
43228     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetUnixSignals",1,"lldb::SBProcess *");
43229 
43230     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43231       SWIG_fail_ptr("SBProcess_GetUnixSignals",1,SWIGTYPE_p_lldb__SBProcess);
43232     }
43233 
43234     result = (arg1)->GetUnixSignals();
43235     {
43236       lldb::SBUnixSignals * resultptr = new lldb::SBUnixSignals(result);
43237       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++;
43238     }
43239     return SWIG_arg;
43240 
43241     fail: SWIGUNUSED;
43242   }
43243   lua_error(L);
43244   return 0;
43245 }
43246 
43247 
_wrap_SBProcess_SendAsyncInterrupt(lua_State * L)43248 static int _wrap_SBProcess_SendAsyncInterrupt(lua_State* L) {
43249   {
43250     int SWIG_arg = 0;
43251     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43252 
43253     SWIG_check_num_args("lldb::SBProcess::SendAsyncInterrupt",1,1)
43254     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendAsyncInterrupt",1,"lldb::SBProcess *");
43255 
43256     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43257       SWIG_fail_ptr("SBProcess_SendAsyncInterrupt",1,SWIGTYPE_p_lldb__SBProcess);
43258     }
43259 
43260     (arg1)->SendAsyncInterrupt();
43261 
43262     return SWIG_arg;
43263 
43264     fail: SWIGUNUSED;
43265   }
43266   lua_error(L);
43267   return 0;
43268 }
43269 
43270 
_wrap_SBProcess_GetStopID__SWIG_0(lua_State * L)43271 static int _wrap_SBProcess_GetStopID__SWIG_0(lua_State* L) {
43272   {
43273     int SWIG_arg = 0;
43274     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43275     bool arg2 ;
43276     uint32_t result;
43277 
43278     SWIG_check_num_args("lldb::SBProcess::GetStopID",2,2)
43279     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *");
43280     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBProcess::GetStopID",2,"bool");
43281 
43282     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43283       SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess);
43284     }
43285 
43286     arg2 = (lua_toboolean(L, 2)!=0);
43287     result = (uint32_t)(arg1)->GetStopID(arg2);
43288     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43289     return SWIG_arg;
43290 
43291     fail: SWIGUNUSED;
43292   }
43293   lua_error(L);
43294   return 0;
43295 }
43296 
43297 
_wrap_SBProcess_GetStopID__SWIG_1(lua_State * L)43298 static int _wrap_SBProcess_GetStopID__SWIG_1(lua_State* L) {
43299   {
43300     int SWIG_arg = 0;
43301     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43302     uint32_t result;
43303 
43304     SWIG_check_num_args("lldb::SBProcess::GetStopID",1,1)
43305     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopID",1,"lldb::SBProcess *");
43306 
43307     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43308       SWIG_fail_ptr("SBProcess_GetStopID",1,SWIGTYPE_p_lldb__SBProcess);
43309     }
43310 
43311     result = (uint32_t)(arg1)->GetStopID();
43312     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43313     return SWIG_arg;
43314 
43315     fail: SWIGUNUSED;
43316   }
43317   lua_error(L);
43318   return 0;
43319 }
43320 
43321 
_wrap_SBProcess_GetStopID(lua_State * L)43322 static int _wrap_SBProcess_GetStopID(lua_State* L) {
43323   int argc;
43324   int argv[3]={
43325     1,2,3
43326   };
43327 
43328   argc = lua_gettop(L);
43329   if (argc == 1) {
43330     int _v = 0;
43331     {
43332       void *ptr;
43333       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
43334         _v = 0;
43335       } else {
43336         _v = 1;
43337       }
43338     }
43339     if (_v) {
43340       return _wrap_SBProcess_GetStopID__SWIG_1(L);
43341     }
43342   }
43343   if (argc == 2) {
43344     int _v = 0;
43345     {
43346       void *ptr;
43347       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
43348         _v = 0;
43349       } else {
43350         _v = 1;
43351       }
43352     }
43353     if (_v) {
43354       {
43355         _v = lua_isboolean(L,argv[1]);
43356       }
43357       if (_v) {
43358         return _wrap_SBProcess_GetStopID__SWIG_0(L);
43359       }
43360     }
43361   }
43362 
43363   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBProcess_GetStopID'\n"
43364     "  Possible C/C++ prototypes are:\n"
43365     "    lldb::SBProcess::GetStopID(bool)\n"
43366     "    lldb::SBProcess::GetStopID()\n");
43367   lua_error(L);return 0;
43368 }
43369 
43370 
_wrap_SBProcess_GetStopEventForStopID(lua_State * L)43371 static int _wrap_SBProcess_GetStopEventForStopID(lua_State* L) {
43372   {
43373     int SWIG_arg = 0;
43374     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43375     uint32_t arg2 ;
43376     lldb::SBEvent result;
43377 
43378     SWIG_check_num_args("lldb::SBProcess::GetStopEventForStopID",2,2)
43379     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStopEventForStopID",1,"lldb::SBProcess *");
43380     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetStopEventForStopID",2,"uint32_t");
43381 
43382     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43383       SWIG_fail_ptr("SBProcess_GetStopEventForStopID",1,SWIGTYPE_p_lldb__SBProcess);
43384     }
43385 
43386     arg2 = (uint32_t)lua_tointeger(L, 2);
43387     result = (arg1)->GetStopEventForStopID(arg2);
43388     {
43389       lldb::SBEvent * resultptr = new lldb::SBEvent(result);
43390       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEvent,1); SWIG_arg++;
43391     }
43392     return SWIG_arg;
43393 
43394     fail: SWIGUNUSED;
43395   }
43396   lua_error(L);
43397   return 0;
43398 }
43399 
43400 
_wrap_SBProcess_ForceScriptedState(lua_State * L)43401 static int _wrap_SBProcess_ForceScriptedState(lua_State* L) {
43402   {
43403     int SWIG_arg = 0;
43404     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43405     lldb::StateType arg2 ;
43406 
43407     SWIG_check_num_args("lldb::SBProcess::ForceScriptedState",2,2)
43408     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ForceScriptedState",1,"lldb::SBProcess *");
43409     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ForceScriptedState",2,"lldb::StateType");
43410 
43411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43412       SWIG_fail_ptr("SBProcess_ForceScriptedState",1,SWIGTYPE_p_lldb__SBProcess);
43413     }
43414 
43415     arg2 = (lldb::StateType)lua_tointeger(L, 2);
43416     (arg1)->ForceScriptedState(arg2);
43417 
43418     return SWIG_arg;
43419 
43420     fail: SWIGUNUSED;
43421   }
43422   lua_error(L);
43423   return 0;
43424 }
43425 
43426 
_wrap_SBProcess_ReadMemory(lua_State * L)43427 static int _wrap_SBProcess_ReadMemory(lua_State* L) {
43428   {
43429     int SWIG_arg = 0;
43430     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43431     lldb::addr_t arg2 ;
43432     void *arg3 = (void *) 0 ;
43433     size_t arg4 ;
43434     lldb::SBError *arg5 = 0 ;
43435     size_t result;
43436 
43437     SWIG_check_num_args("lldb::SBProcess::ReadMemory",4,4)
43438     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",1,"lldb::SBProcess *");
43439     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",2,"lldb::addr_t");
43440     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadMemory",4,"lldb::SBError &");
43441 
43442     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43443       SWIG_fail_ptr("SBProcess_ReadMemory",1,SWIGTYPE_p_lldb__SBProcess);
43444     }
43445 
43446     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
43447     {
43448       arg4 = luaL_checkinteger(L, 3);
43449       if (arg4 <= 0) {
43450         return luaL_error(L, "Positive integer expected");
43451       }
43452       arg3 = (char *)malloc(arg4);
43453     }
43454 
43455     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
43456       SWIG_fail_ptr("SBProcess_ReadMemory",5,SWIGTYPE_p_lldb__SBError);
43457     }
43458 
43459     result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5);
43460     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43461     {
43462       lua_pop(L, 1); // Blow away the previous result
43463       if (result == 0) {
43464         lua_pushliteral(L, "");
43465       } else {
43466         lua_pushlstring(L, (const char *)arg3, result);
43467       }
43468       free(arg3);
43469       // SWIG_arg was already incremented
43470     }
43471     return SWIG_arg;
43472 
43473     fail: SWIGUNUSED;
43474   }
43475   lua_error(L);
43476   return 0;
43477 }
43478 
43479 
_wrap_SBProcess_WriteMemory(lua_State * L)43480 static int _wrap_SBProcess_WriteMemory(lua_State* L) {
43481   {
43482     int SWIG_arg = 0;
43483     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43484     lldb::addr_t arg2 ;
43485     void *arg3 = (void *) 0 ;
43486     size_t arg4 ;
43487     lldb::SBError *arg5 = 0 ;
43488     size_t result;
43489 
43490     SWIG_check_num_args("lldb::SBProcess::WriteMemory",4,4)
43491     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",1,"lldb::SBProcess *");
43492     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",2,"lldb::addr_t");
43493     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::WriteMemory",4,"lldb::SBError &");
43494 
43495     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43496       SWIG_fail_ptr("SBProcess_WriteMemory",1,SWIGTYPE_p_lldb__SBProcess);
43497     }
43498 
43499     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
43500     {
43501       arg3 = (void *)luaL_checklstring(L, 3, &arg4);
43502     }
43503 
43504     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
43505       SWIG_fail_ptr("SBProcess_WriteMemory",5,SWIGTYPE_p_lldb__SBError);
43506     }
43507 
43508     result = (arg1)->WriteMemory(arg2,(void const *)arg3,arg4,*arg5);
43509     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43510     return SWIG_arg;
43511 
43512     fail: SWIGUNUSED;
43513   }
43514   lua_error(L);
43515   return 0;
43516 }
43517 
43518 
_wrap_SBProcess_ReadCStringFromMemory(lua_State * L)43519 static int _wrap_SBProcess_ReadCStringFromMemory(lua_State* L) {
43520   {
43521     int SWIG_arg = 0;
43522     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43523     lldb::addr_t arg2 ;
43524     void *arg3 = (void *) 0 ;
43525     size_t arg4 ;
43526     lldb::SBError *arg5 = 0 ;
43527     size_t result;
43528 
43529     SWIG_check_num_args("lldb::SBProcess::ReadCStringFromMemory",4,4)
43530     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",1,"lldb::SBProcess *");
43531     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",2,"lldb::addr_t");
43532     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadCStringFromMemory",4,"lldb::SBError &");
43533 
43534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43535       SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",1,SWIGTYPE_p_lldb__SBProcess);
43536     }
43537 
43538     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
43539     {
43540       arg4 = luaL_checkinteger(L, 3);
43541       if (arg4 <= 0) {
43542         return luaL_error(L, "Positive integer expected");
43543       }
43544       arg3 = (char *)malloc(arg4);
43545     }
43546 
43547     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
43548       SWIG_fail_ptr("SBProcess_ReadCStringFromMemory",5,SWIGTYPE_p_lldb__SBError);
43549     }
43550 
43551     result = (arg1)->ReadCStringFromMemory(arg2,arg3,arg4,*arg5);
43552     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43553     {
43554       lua_pop(L, 1); // Blow away the previous result
43555       if (result == 0) {
43556         lua_pushliteral(L, "");
43557       } else {
43558         lua_pushlstring(L, (const char *)arg3, result);
43559       }
43560       free(arg3);
43561       // SWIG_arg was already incremented
43562     }
43563     return SWIG_arg;
43564 
43565     fail: SWIGUNUSED;
43566   }
43567   lua_error(L);
43568   return 0;
43569 }
43570 
43571 
_wrap_SBProcess_ReadUnsignedFromMemory(lua_State * L)43572 static int _wrap_SBProcess_ReadUnsignedFromMemory(lua_State* L) {
43573   {
43574     int SWIG_arg = 0;
43575     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43576     lldb::addr_t arg2 ;
43577     uint32_t arg3 ;
43578     lldb::SBError *arg4 = 0 ;
43579     uint64_t result;
43580 
43581     SWIG_check_num_args("lldb::SBProcess::ReadUnsignedFromMemory",4,4)
43582     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",1,"lldb::SBProcess *");
43583     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",2,"lldb::addr_t");
43584     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",3,"uint32_t");
43585     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::ReadUnsignedFromMemory",4,"lldb::SBError &");
43586 
43587     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43588       SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",1,SWIGTYPE_p_lldb__SBProcess);
43589     }
43590 
43591     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
43592     arg3 = (uint32_t)lua_tointeger(L, 3);
43593 
43594     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
43595       SWIG_fail_ptr("SBProcess_ReadUnsignedFromMemory",4,SWIGTYPE_p_lldb__SBError);
43596     }
43597 
43598     result = (uint64_t)(arg1)->ReadUnsignedFromMemory(arg2,arg3,*arg4);
43599     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43600     return SWIG_arg;
43601 
43602     fail: SWIGUNUSED;
43603   }
43604   lua_error(L);
43605   return 0;
43606 }
43607 
43608 
_wrap_SBProcess_ReadPointerFromMemory(lua_State * L)43609 static int _wrap_SBProcess_ReadPointerFromMemory(lua_State* L) {
43610   {
43611     int SWIG_arg = 0;
43612     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43613     lldb::addr_t arg2 ;
43614     lldb::SBError *arg3 = 0 ;
43615     lldb::addr_t result;
43616 
43617     SWIG_check_num_args("lldb::SBProcess::ReadPointerFromMemory",3,3)
43618     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",1,"lldb::SBProcess *");
43619     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",2,"lldb::addr_t");
43620     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::ReadPointerFromMemory",3,"lldb::SBError &");
43621 
43622     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43623       SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",1,SWIGTYPE_p_lldb__SBProcess);
43624     }
43625 
43626     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
43627 
43628     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
43629       SWIG_fail_ptr("SBProcess_ReadPointerFromMemory",3,SWIGTYPE_p_lldb__SBError);
43630     }
43631 
43632     result = (lldb::addr_t)(arg1)->ReadPointerFromMemory(arg2,*arg3);
43633     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43634     return SWIG_arg;
43635 
43636     fail: SWIGUNUSED;
43637   }
43638   lua_error(L);
43639   return 0;
43640 }
43641 
43642 
_wrap_SBProcess_GetStateFromEvent(lua_State * L)43643 static int _wrap_SBProcess_GetStateFromEvent(lua_State* L) {
43644   {
43645     int SWIG_arg = 0;
43646     lldb::SBEvent *arg1 = 0 ;
43647     lldb::StateType result;
43648 
43649     SWIG_check_num_args("lldb::SBProcess::GetStateFromEvent",1,1)
43650     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStateFromEvent",1,"lldb::SBEvent const &");
43651 
43652     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43653       SWIG_fail_ptr("SBProcess_GetStateFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43654     }
43655 
43656     result = (lldb::StateType)lldb::SBProcess::GetStateFromEvent((lldb::SBEvent const &)*arg1);
43657     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43658     return SWIG_arg;
43659 
43660     fail: SWIGUNUSED;
43661   }
43662   lua_error(L);
43663   return 0;
43664 }
43665 
43666 
_wrap_SBProcess_GetRestartedFromEvent(lua_State * L)43667 static int _wrap_SBProcess_GetRestartedFromEvent(lua_State* L) {
43668   {
43669     int SWIG_arg = 0;
43670     lldb::SBEvent *arg1 = 0 ;
43671     bool result;
43672 
43673     SWIG_check_num_args("lldb::SBProcess::GetRestartedFromEvent",1,1)
43674     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedFromEvent",1,"lldb::SBEvent const &");
43675 
43676     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43677       SWIG_fail_ptr("SBProcess_GetRestartedFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43678     }
43679 
43680     result = (bool)lldb::SBProcess::GetRestartedFromEvent((lldb::SBEvent const &)*arg1);
43681     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
43682     return SWIG_arg;
43683 
43684     fail: SWIGUNUSED;
43685   }
43686   lua_error(L);
43687   return 0;
43688 }
43689 
43690 
_wrap_SBProcess_GetNumRestartedReasonsFromEvent(lua_State * L)43691 static int _wrap_SBProcess_GetNumRestartedReasonsFromEvent(lua_State* L) {
43692   {
43693     int SWIG_arg = 0;
43694     lldb::SBEvent *arg1 = 0 ;
43695     size_t result;
43696 
43697     SWIG_check_num_args("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,1)
43698     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumRestartedReasonsFromEvent",1,"lldb::SBEvent const &");
43699 
43700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43701       SWIG_fail_ptr("SBProcess_GetNumRestartedReasonsFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43702     }
43703 
43704     result = lldb::SBProcess::GetNumRestartedReasonsFromEvent((lldb::SBEvent const &)*arg1);
43705     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43706     return SWIG_arg;
43707 
43708     fail: SWIGUNUSED;
43709   }
43710   lua_error(L);
43711   return 0;
43712 }
43713 
43714 
_wrap_SBProcess_GetRestartedReasonAtIndexFromEvent(lua_State * L)43715 static int _wrap_SBProcess_GetRestartedReasonAtIndexFromEvent(lua_State* L) {
43716   {
43717     int SWIG_arg = 0;
43718     lldb::SBEvent *arg1 = 0 ;
43719     size_t arg2 ;
43720     char *result = 0 ;
43721 
43722     SWIG_check_num_args("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,2)
43723     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",1,"lldb::SBEvent const &");
43724     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetRestartedReasonAtIndexFromEvent",2,"size_t");
43725 
43726     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43727       SWIG_fail_ptr("SBProcess_GetRestartedReasonAtIndexFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43728     }
43729 
43730     arg2 = (size_t)lua_tointeger(L, 2);
43731     result = (char *)lldb::SBProcess::GetRestartedReasonAtIndexFromEvent((lldb::SBEvent const &)*arg1,SWIG_STD_MOVE(arg2));
43732     lua_pushstring(L,(const char *)result); SWIG_arg++;
43733     return SWIG_arg;
43734 
43735     fail: SWIGUNUSED;
43736   }
43737   lua_error(L);
43738   return 0;
43739 }
43740 
43741 
_wrap_SBProcess_GetProcessFromEvent(lua_State * L)43742 static int _wrap_SBProcess_GetProcessFromEvent(lua_State* L) {
43743   {
43744     int SWIG_arg = 0;
43745     lldb::SBEvent *arg1 = 0 ;
43746     lldb::SBProcess result;
43747 
43748     SWIG_check_num_args("lldb::SBProcess::GetProcessFromEvent",1,1)
43749     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessFromEvent",1,"lldb::SBEvent const &");
43750 
43751     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43752       SWIG_fail_ptr("SBProcess_GetProcessFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43753     }
43754 
43755     result = lldb::SBProcess::GetProcessFromEvent((lldb::SBEvent const &)*arg1);
43756     {
43757       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
43758       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
43759     }
43760     return SWIG_arg;
43761 
43762     fail: SWIGUNUSED;
43763   }
43764   lua_error(L);
43765   return 0;
43766 }
43767 
43768 
_wrap_SBProcess_GetInterruptedFromEvent(lua_State * L)43769 static int _wrap_SBProcess_GetInterruptedFromEvent(lua_State* L) {
43770   {
43771     int SWIG_arg = 0;
43772     lldb::SBEvent *arg1 = 0 ;
43773     bool result;
43774 
43775     SWIG_check_num_args("lldb::SBProcess::GetInterruptedFromEvent",1,1)
43776     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetInterruptedFromEvent",1,"lldb::SBEvent const &");
43777 
43778     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43779       SWIG_fail_ptr("SBProcess_GetInterruptedFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43780     }
43781 
43782     result = (bool)lldb::SBProcess::GetInterruptedFromEvent((lldb::SBEvent const &)*arg1);
43783     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
43784     return SWIG_arg;
43785 
43786     fail: SWIGUNUSED;
43787   }
43788   lua_error(L);
43789   return 0;
43790 }
43791 
43792 
_wrap_SBProcess_GetStructuredDataFromEvent(lua_State * L)43793 static int _wrap_SBProcess_GetStructuredDataFromEvent(lua_State* L) {
43794   {
43795     int SWIG_arg = 0;
43796     lldb::SBEvent *arg1 = 0 ;
43797     lldb::SBStructuredData result;
43798 
43799     SWIG_check_num_args("lldb::SBProcess::GetStructuredDataFromEvent",1,1)
43800     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::GetStructuredDataFromEvent",1,"lldb::SBEvent const &");
43801 
43802     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43803       SWIG_fail_ptr("SBProcess_GetStructuredDataFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
43804     }
43805 
43806     result = lldb::SBProcess::GetStructuredDataFromEvent((lldb::SBEvent const &)*arg1);
43807     {
43808       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
43809       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
43810     }
43811     return SWIG_arg;
43812 
43813     fail: SWIGUNUSED;
43814   }
43815   lua_error(L);
43816   return 0;
43817 }
43818 
43819 
_wrap_SBProcess_EventIsProcessEvent(lua_State * L)43820 static int _wrap_SBProcess_EventIsProcessEvent(lua_State* L) {
43821   {
43822     int SWIG_arg = 0;
43823     lldb::SBEvent *arg1 = 0 ;
43824     bool result;
43825 
43826     SWIG_check_num_args("lldb::SBProcess::EventIsProcessEvent",1,1)
43827     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsProcessEvent",1,"lldb::SBEvent const &");
43828 
43829     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43830       SWIG_fail_ptr("SBProcess_EventIsProcessEvent",1,SWIGTYPE_p_lldb__SBEvent);
43831     }
43832 
43833     result = (bool)lldb::SBProcess::EventIsProcessEvent((lldb::SBEvent const &)*arg1);
43834     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
43835     return SWIG_arg;
43836 
43837     fail: SWIGUNUSED;
43838   }
43839   lua_error(L);
43840   return 0;
43841 }
43842 
43843 
_wrap_SBProcess_EventIsStructuredDataEvent(lua_State * L)43844 static int _wrap_SBProcess_EventIsStructuredDataEvent(lua_State* L) {
43845   {
43846     int SWIG_arg = 0;
43847     lldb::SBEvent *arg1 = 0 ;
43848     bool result;
43849 
43850     SWIG_check_num_args("lldb::SBProcess::EventIsStructuredDataEvent",1,1)
43851     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcess::EventIsStructuredDataEvent",1,"lldb::SBEvent const &");
43852 
43853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
43854       SWIG_fail_ptr("SBProcess_EventIsStructuredDataEvent",1,SWIGTYPE_p_lldb__SBEvent);
43855     }
43856 
43857     result = (bool)lldb::SBProcess::EventIsStructuredDataEvent((lldb::SBEvent const &)*arg1);
43858     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
43859     return SWIG_arg;
43860 
43861     fail: SWIGUNUSED;
43862   }
43863   lua_error(L);
43864   return 0;
43865 }
43866 
43867 
_wrap_SBProcess_GetBroadcaster(lua_State * L)43868 static int _wrap_SBProcess_GetBroadcaster(lua_State* L) {
43869   {
43870     int SWIG_arg = 0;
43871     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43872     lldb::SBBroadcaster result;
43873 
43874     SWIG_check_num_args("lldb::SBProcess::GetBroadcaster",1,1)
43875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetBroadcaster",1,"lldb::SBProcess const *");
43876 
43877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43878       SWIG_fail_ptr("SBProcess_GetBroadcaster",1,SWIGTYPE_p_lldb__SBProcess);
43879     }
43880 
43881     result = ((lldb::SBProcess const *)arg1)->GetBroadcaster();
43882     {
43883       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
43884       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
43885     }
43886     return SWIG_arg;
43887 
43888     fail: SWIGUNUSED;
43889   }
43890   lua_error(L);
43891   return 0;
43892 }
43893 
43894 
_wrap_SBProcess_GetBroadcasterClass(lua_State * L)43895 static int _wrap_SBProcess_GetBroadcasterClass(lua_State* L) {
43896   {
43897     int SWIG_arg = 0;
43898     char *result = 0 ;
43899 
43900     SWIG_check_num_args("lldb::SBProcess::GetBroadcasterClass",0,0)
43901     result = (char *)lldb::SBProcess::GetBroadcasterClass();
43902     lua_pushstring(L,(const char *)result); SWIG_arg++;
43903     return SWIG_arg;
43904 
43905     fail: SWIGUNUSED;
43906   }
43907   lua_error(L);
43908   return 0;
43909 }
43910 
43911 
_wrap_SBProcess_GetDescription(lua_State * L)43912 static int _wrap_SBProcess_GetDescription(lua_State* L) {
43913   {
43914     int SWIG_arg = 0;
43915     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43916     lldb::SBStream *arg2 = 0 ;
43917     bool result;
43918 
43919     SWIG_check_num_args("lldb::SBProcess::GetDescription",2,2)
43920     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetDescription",1,"lldb::SBProcess *");
43921     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetDescription",2,"lldb::SBStream &");
43922 
43923     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43924       SWIG_fail_ptr("SBProcess_GetDescription",1,SWIGTYPE_p_lldb__SBProcess);
43925     }
43926 
43927 
43928     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
43929       SWIG_fail_ptr("SBProcess_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
43930     }
43931 
43932     result = (bool)(arg1)->GetDescription(*arg2);
43933     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
43934     return SWIG_arg;
43935 
43936     fail: SWIGUNUSED;
43937   }
43938   lua_error(L);
43939   return 0;
43940 }
43941 
43942 
_wrap_SBProcess_GetExtendedCrashInformation(lua_State * L)43943 static int _wrap_SBProcess_GetExtendedCrashInformation(lua_State* L) {
43944   {
43945     int SWIG_arg = 0;
43946     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43947     lldb::SBStructuredData result;
43948 
43949     SWIG_check_num_args("lldb::SBProcess::GetExtendedCrashInformation",1,1)
43950     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedCrashInformation",1,"lldb::SBProcess *");
43951 
43952     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43953       SWIG_fail_ptr("SBProcess_GetExtendedCrashInformation",1,SWIGTYPE_p_lldb__SBProcess);
43954     }
43955 
43956     result = (arg1)->GetExtendedCrashInformation();
43957     {
43958       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
43959       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
43960     }
43961     return SWIG_arg;
43962 
43963     fail: SWIGUNUSED;
43964   }
43965   lua_error(L);
43966   return 0;
43967 }
43968 
43969 
_wrap_SBProcess_GetNumSupportedHardwareWatchpoints(lua_State * L)43970 static int _wrap_SBProcess_GetNumSupportedHardwareWatchpoints(lua_State* L) {
43971   {
43972     int SWIG_arg = 0;
43973     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
43974     lldb::SBError *arg2 = 0 ;
43975     uint32_t result;
43976 
43977     SWIG_check_num_args("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,2)
43978     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",1,"lldb::SBProcess const *");
43979     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::GetNumSupportedHardwareWatchpoints",2,"lldb::SBError &");
43980 
43981     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
43982       SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",1,SWIGTYPE_p_lldb__SBProcess);
43983     }
43984 
43985 
43986     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
43987       SWIG_fail_ptr("SBProcess_GetNumSupportedHardwareWatchpoints",2,SWIGTYPE_p_lldb__SBError);
43988     }
43989 
43990     result = (uint32_t)((lldb::SBProcess const *)arg1)->GetNumSupportedHardwareWatchpoints(*arg2);
43991     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
43992     return SWIG_arg;
43993 
43994     fail: SWIGUNUSED;
43995   }
43996   lua_error(L);
43997   return 0;
43998 }
43999 
44000 
_wrap_SBProcess_LoadImage__SWIG_0(lua_State * L)44001 static int _wrap_SBProcess_LoadImage__SWIG_0(lua_State* L) {
44002   {
44003     int SWIG_arg = 0;
44004     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44005     lldb::SBFileSpec *arg2 = 0 ;
44006     lldb::SBError *arg3 = 0 ;
44007     uint32_t result;
44008 
44009     SWIG_check_num_args("lldb::SBProcess::LoadImage",3,3)
44010     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImage",1,"lldb::SBProcess *");
44011     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImage",2,"lldb::SBFileSpec &");
44012     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImage",3,"lldb::SBError &");
44013 
44014     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44015       SWIG_fail_ptr("SBProcess_LoadImage",1,SWIGTYPE_p_lldb__SBProcess);
44016     }
44017 
44018 
44019     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
44020       SWIG_fail_ptr("SBProcess_LoadImage",2,SWIGTYPE_p_lldb__SBFileSpec);
44021     }
44022 
44023 
44024     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
44025       SWIG_fail_ptr("SBProcess_LoadImage",3,SWIGTYPE_p_lldb__SBError);
44026     }
44027 
44028     result = (uint32_t)(arg1)->LoadImage(*arg2,*arg3);
44029     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
44030     return SWIG_arg;
44031 
44032     fail: SWIGUNUSED;
44033   }
44034   lua_error(L);
44035   return 0;
44036 }
44037 
44038 
_wrap_SBProcess_LoadImage__SWIG_1(lua_State * L)44039 static int _wrap_SBProcess_LoadImage__SWIG_1(lua_State* L) {
44040   {
44041     int SWIG_arg = 0;
44042     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44043     lldb::SBFileSpec *arg2 = 0 ;
44044     lldb::SBFileSpec *arg3 = 0 ;
44045     lldb::SBError *arg4 = 0 ;
44046     uint32_t result;
44047 
44048     SWIG_check_num_args("lldb::SBProcess::LoadImage",4,4)
44049     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImage",1,"lldb::SBProcess *");
44050     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImage",2,"lldb::SBFileSpec const &");
44051     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImage",3,"lldb::SBFileSpec const &");
44052     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::LoadImage",4,"lldb::SBError &");
44053 
44054     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44055       SWIG_fail_ptr("SBProcess_LoadImage",1,SWIGTYPE_p_lldb__SBProcess);
44056     }
44057 
44058 
44059     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
44060       SWIG_fail_ptr("SBProcess_LoadImage",2,SWIGTYPE_p_lldb__SBFileSpec);
44061     }
44062 
44063 
44064     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
44065       SWIG_fail_ptr("SBProcess_LoadImage",3,SWIGTYPE_p_lldb__SBFileSpec);
44066     }
44067 
44068 
44069     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
44070       SWIG_fail_ptr("SBProcess_LoadImage",4,SWIGTYPE_p_lldb__SBError);
44071     }
44072 
44073     result = (uint32_t)(arg1)->LoadImage((lldb::SBFileSpec const &)*arg2,(lldb::SBFileSpec const &)*arg3,*arg4);
44074     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
44075     return SWIG_arg;
44076 
44077     fail: SWIGUNUSED;
44078   }
44079   lua_error(L);
44080   return 0;
44081 }
44082 
44083 
_wrap_SBProcess_LoadImage(lua_State * L)44084 static int _wrap_SBProcess_LoadImage(lua_State* L) {
44085   int argc;
44086   int argv[5]={
44087     1,2,3,4,5
44088   };
44089 
44090   argc = lua_gettop(L);
44091   if (argc == 3) {
44092     int _v = 0;
44093     {
44094       void *ptr;
44095       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
44096         _v = 0;
44097       } else {
44098         _v = 1;
44099       }
44100     }
44101     if (_v) {
44102       {
44103         void *ptr;
44104         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
44105           _v = 0;
44106         } else {
44107           _v = 1;
44108         }
44109       }
44110       if (_v) {
44111         {
44112           void *ptr;
44113           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
44114             _v = 0;
44115           } else {
44116             _v = 1;
44117           }
44118         }
44119         if (_v) {
44120           return _wrap_SBProcess_LoadImage__SWIG_0(L);
44121         }
44122       }
44123     }
44124   }
44125   if (argc == 4) {
44126     int _v = 0;
44127     {
44128       void *ptr;
44129       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
44130         _v = 0;
44131       } else {
44132         _v = 1;
44133       }
44134     }
44135     if (_v) {
44136       {
44137         void *ptr;
44138         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
44139           _v = 0;
44140         } else {
44141           _v = 1;
44142         }
44143       }
44144       if (_v) {
44145         {
44146           void *ptr;
44147           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
44148             _v = 0;
44149           } else {
44150             _v = 1;
44151           }
44152         }
44153         if (_v) {
44154           {
44155             void *ptr;
44156             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
44157               _v = 0;
44158             } else {
44159               _v = 1;
44160             }
44161           }
44162           if (_v) {
44163             return _wrap_SBProcess_LoadImage__SWIG_1(L);
44164           }
44165         }
44166       }
44167     }
44168   }
44169 
44170   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBProcess_LoadImage'\n"
44171     "  Possible C/C++ prototypes are:\n"
44172     "    lldb::SBProcess::LoadImage(lldb::SBFileSpec &,lldb::SBError &)\n"
44173     "    lldb::SBProcess::LoadImage(lldb::SBFileSpec const &,lldb::SBFileSpec const &,lldb::SBError &)\n");
44174   lua_error(L);return 0;
44175 }
44176 
44177 
_wrap_SBProcess_LoadImageUsingPaths(lua_State * L)44178 static int _wrap_SBProcess_LoadImageUsingPaths(lua_State* L) {
44179   {
44180     int SWIG_arg = 0;
44181     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44182     lldb::SBFileSpec *arg2 = 0 ;
44183     lldb::SBStringList *arg3 = 0 ;
44184     lldb::SBFileSpec *arg4 = 0 ;
44185     lldb::SBError *arg5 = 0 ;
44186     uint32_t result;
44187 
44188     SWIG_check_num_args("lldb::SBProcess::LoadImageUsingPaths",5,5)
44189     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",1,"lldb::SBProcess *");
44190     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",2,"lldb::SBFileSpec const &");
44191     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",3,"lldb::SBStringList &");
44192     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",4,"lldb::SBFileSpec &");
44193     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBProcess::LoadImageUsingPaths",5,"lldb::SBError &");
44194 
44195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44196       SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",1,SWIGTYPE_p_lldb__SBProcess);
44197     }
44198 
44199 
44200     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
44201       SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",2,SWIGTYPE_p_lldb__SBFileSpec);
44202     }
44203 
44204 
44205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){
44206       SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",3,SWIGTYPE_p_lldb__SBStringList);
44207     }
44208 
44209 
44210     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpec,0))){
44211       SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",4,SWIGTYPE_p_lldb__SBFileSpec);
44212     }
44213 
44214 
44215     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
44216       SWIG_fail_ptr("SBProcess_LoadImageUsingPaths",5,SWIGTYPE_p_lldb__SBError);
44217     }
44218 
44219     result = (uint32_t)(arg1)->LoadImageUsingPaths((lldb::SBFileSpec const &)*arg2,*arg3,*arg4,*arg5);
44220     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
44221     return SWIG_arg;
44222 
44223     fail: SWIGUNUSED;
44224   }
44225   lua_error(L);
44226   return 0;
44227 }
44228 
44229 
_wrap_SBProcess_UnloadImage(lua_State * L)44230 static int _wrap_SBProcess_UnloadImage(lua_State* L) {
44231   {
44232     int SWIG_arg = 0;
44233     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44234     uint32_t arg2 ;
44235     lldb::SBError result;
44236 
44237     SWIG_check_num_args("lldb::SBProcess::UnloadImage",2,2)
44238     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",1,"lldb::SBProcess *");
44239     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::UnloadImage",2,"uint32_t");
44240 
44241     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44242       SWIG_fail_ptr("SBProcess_UnloadImage",1,SWIGTYPE_p_lldb__SBProcess);
44243     }
44244 
44245     arg2 = (uint32_t)lua_tointeger(L, 2);
44246     result = (arg1)->UnloadImage(arg2);
44247     {
44248       lldb::SBError * resultptr = new lldb::SBError(result);
44249       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44250     }
44251     return SWIG_arg;
44252 
44253     fail: SWIGUNUSED;
44254   }
44255   lua_error(L);
44256   return 0;
44257 }
44258 
44259 
_wrap_SBProcess_SendEventData(lua_State * L)44260 static int _wrap_SBProcess_SendEventData(lua_State* L) {
44261   {
44262     int SWIG_arg = 0;
44263     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44264     char *arg2 = (char *) 0 ;
44265     lldb::SBError result;
44266 
44267     SWIG_check_num_args("lldb::SBProcess::SendEventData",2,2)
44268     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SendEventData",1,"lldb::SBProcess *");
44269     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SendEventData",2,"char const *");
44270 
44271     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44272       SWIG_fail_ptr("SBProcess_SendEventData",1,SWIGTYPE_p_lldb__SBProcess);
44273     }
44274 
44275     arg2 = (char *)lua_tostring(L, 2);
44276     result = (arg1)->SendEventData((char const *)arg2);
44277     {
44278       lldb::SBError * resultptr = new lldb::SBError(result);
44279       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44280     }
44281     return SWIG_arg;
44282 
44283     fail: SWIGUNUSED;
44284   }
44285   lua_error(L);
44286   return 0;
44287 }
44288 
44289 
_wrap_SBProcess_GetNumExtendedBacktraceTypes(lua_State * L)44290 static int _wrap_SBProcess_GetNumExtendedBacktraceTypes(lua_State* L) {
44291   {
44292     int SWIG_arg = 0;
44293     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44294     uint32_t result;
44295 
44296     SWIG_check_num_args("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,1)
44297     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetNumExtendedBacktraceTypes",1,"lldb::SBProcess *");
44298 
44299     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44300       SWIG_fail_ptr("SBProcess_GetNumExtendedBacktraceTypes",1,SWIGTYPE_p_lldb__SBProcess);
44301     }
44302 
44303     result = (uint32_t)(arg1)->GetNumExtendedBacktraceTypes();
44304     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
44305     return SWIG_arg;
44306 
44307     fail: SWIGUNUSED;
44308   }
44309   lua_error(L);
44310   return 0;
44311 }
44312 
44313 
_wrap_SBProcess_GetExtendedBacktraceTypeAtIndex(lua_State * L)44314 static int _wrap_SBProcess_GetExtendedBacktraceTypeAtIndex(lua_State* L) {
44315   {
44316     int SWIG_arg = 0;
44317     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44318     uint32_t arg2 ;
44319     char *result = 0 ;
44320 
44321     SWIG_check_num_args("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,2)
44322     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",1,"lldb::SBProcess *");
44323     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetExtendedBacktraceTypeAtIndex",2,"uint32_t");
44324 
44325     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44326       SWIG_fail_ptr("SBProcess_GetExtendedBacktraceTypeAtIndex",1,SWIGTYPE_p_lldb__SBProcess);
44327     }
44328 
44329     arg2 = (uint32_t)lua_tointeger(L, 2);
44330     result = (char *)(arg1)->GetExtendedBacktraceTypeAtIndex(arg2);
44331     lua_pushstring(L,(const char *)result); SWIG_arg++;
44332     return SWIG_arg;
44333 
44334     fail: SWIGUNUSED;
44335   }
44336   lua_error(L);
44337   return 0;
44338 }
44339 
44340 
_wrap_SBProcess_GetHistoryThreads(lua_State * L)44341 static int _wrap_SBProcess_GetHistoryThreads(lua_State* L) {
44342   {
44343     int SWIG_arg = 0;
44344     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44345     lldb::addr_t arg2 ;
44346     lldb::SBThreadCollection result;
44347 
44348     SWIG_check_num_args("lldb::SBProcess::GetHistoryThreads",2,2)
44349     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",1,"lldb::SBProcess *");
44350     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetHistoryThreads",2,"lldb::addr_t");
44351 
44352     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44353       SWIG_fail_ptr("SBProcess_GetHistoryThreads",1,SWIGTYPE_p_lldb__SBProcess);
44354     }
44355 
44356     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
44357     result = (arg1)->GetHistoryThreads(arg2);
44358     {
44359       lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection(result);
44360       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++;
44361     }
44362     return SWIG_arg;
44363 
44364     fail: SWIGUNUSED;
44365   }
44366   lua_error(L);
44367   return 0;
44368 }
44369 
44370 
_wrap_SBProcess_IsInstrumentationRuntimePresent(lua_State * L)44371 static int _wrap_SBProcess_IsInstrumentationRuntimePresent(lua_State* L) {
44372   {
44373     int SWIG_arg = 0;
44374     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44375     lldb::InstrumentationRuntimeType arg2 ;
44376     bool result;
44377 
44378     SWIG_check_num_args("lldb::SBProcess::IsInstrumentationRuntimePresent",2,2)
44379     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",1,"lldb::SBProcess *");
44380     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::IsInstrumentationRuntimePresent",2,"lldb::InstrumentationRuntimeType");
44381 
44382     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44383       SWIG_fail_ptr("SBProcess_IsInstrumentationRuntimePresent",1,SWIGTYPE_p_lldb__SBProcess);
44384     }
44385 
44386     arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2);
44387     result = (bool)(arg1)->IsInstrumentationRuntimePresent(arg2);
44388     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44389     return SWIG_arg;
44390 
44391     fail: SWIGUNUSED;
44392   }
44393   lua_error(L);
44394   return 0;
44395 }
44396 
44397 
_wrap_SBProcess_SaveCore__SWIG_0(lua_State * L)44398 static int _wrap_SBProcess_SaveCore__SWIG_0(lua_State* L) {
44399   {
44400     int SWIG_arg = 0;
44401     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44402     char *arg2 = (char *) 0 ;
44403     char *arg3 = (char *) 0 ;
44404     lldb::SaveCoreStyle arg4 ;
44405     lldb::SBError result;
44406 
44407     SWIG_check_num_args("lldb::SBProcess::SaveCore",4,4)
44408     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *");
44409     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *");
44410     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBProcess::SaveCore",3,"char const *");
44411     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBProcess::SaveCore",4,"lldb::SaveCoreStyle");
44412 
44413     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44414       SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess);
44415     }
44416 
44417     arg2 = (char *)lua_tostring(L, 2);
44418     arg3 = (char *)lua_tostring(L, 3);
44419     arg4 = (lldb::SaveCoreStyle)lua_tointeger(L, 4);
44420     result = (arg1)->SaveCore((char const *)arg2,(char const *)arg3,arg4);
44421     {
44422       lldb::SBError * resultptr = new lldb::SBError(result);
44423       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44424     }
44425     return SWIG_arg;
44426 
44427     fail: SWIGUNUSED;
44428   }
44429   lua_error(L);
44430   return 0;
44431 }
44432 
44433 
_wrap_SBProcess_SaveCore__SWIG_1(lua_State * L)44434 static int _wrap_SBProcess_SaveCore__SWIG_1(lua_State* L) {
44435   {
44436     int SWIG_arg = 0;
44437     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44438     char *arg2 = (char *) 0 ;
44439     lldb::SBError result;
44440 
44441     SWIG_check_num_args("lldb::SBProcess::SaveCore",2,2)
44442     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::SaveCore",1,"lldb::SBProcess *");
44443     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBProcess::SaveCore",2,"char const *");
44444 
44445     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44446       SWIG_fail_ptr("SBProcess_SaveCore",1,SWIGTYPE_p_lldb__SBProcess);
44447     }
44448 
44449     arg2 = (char *)lua_tostring(L, 2);
44450     result = (arg1)->SaveCore((char const *)arg2);
44451     {
44452       lldb::SBError * resultptr = new lldb::SBError(result);
44453       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44454     }
44455     return SWIG_arg;
44456 
44457     fail: SWIGUNUSED;
44458   }
44459   lua_error(L);
44460   return 0;
44461 }
44462 
44463 
_wrap_SBProcess_SaveCore(lua_State * L)44464 static int _wrap_SBProcess_SaveCore(lua_State* L) {
44465   int argc;
44466   int argv[5]={
44467     1,2,3,4,5
44468   };
44469 
44470   argc = lua_gettop(L);
44471   if (argc == 2) {
44472     int _v = 0;
44473     {
44474       void *ptr;
44475       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
44476         _v = 0;
44477       } else {
44478         _v = 1;
44479       }
44480     }
44481     if (_v) {
44482       {
44483         _v = SWIG_lua_isnilstring(L,argv[1]);
44484       }
44485       if (_v) {
44486         return _wrap_SBProcess_SaveCore__SWIG_1(L);
44487       }
44488     }
44489   }
44490   if (argc == 4) {
44491     int _v = 0;
44492     {
44493       void *ptr;
44494       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcess, 0)) {
44495         _v = 0;
44496       } else {
44497         _v = 1;
44498       }
44499     }
44500     if (_v) {
44501       {
44502         _v = SWIG_lua_isnilstring(L,argv[1]);
44503       }
44504       if (_v) {
44505         {
44506           _v = SWIG_lua_isnilstring(L,argv[2]);
44507         }
44508         if (_v) {
44509           {
44510             _v = lua_isnumber(L,argv[3]);
44511           }
44512           if (_v) {
44513             return _wrap_SBProcess_SaveCore__SWIG_0(L);
44514           }
44515         }
44516       }
44517     }
44518   }
44519 
44520   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBProcess_SaveCore'\n"
44521     "  Possible C/C++ prototypes are:\n"
44522     "    lldb::SBProcess::SaveCore(char const *,char const *,lldb::SaveCoreStyle)\n"
44523     "    lldb::SBProcess::SaveCore(char const *)\n");
44524   lua_error(L);return 0;
44525 }
44526 
44527 
_wrap_SBProcess_GetMemoryRegionInfo(lua_State * L)44528 static int _wrap_SBProcess_GetMemoryRegionInfo(lua_State* L) {
44529   {
44530     int SWIG_arg = 0;
44531     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44532     lldb::addr_t arg2 ;
44533     lldb::SBMemoryRegionInfo *arg3 = 0 ;
44534     lldb::SBError result;
44535 
44536     SWIG_check_num_args("lldb::SBProcess::GetMemoryRegionInfo",3,3)
44537     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",1,"lldb::SBProcess *");
44538     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",2,"lldb::addr_t");
44539     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegionInfo",3,"lldb::SBMemoryRegionInfo &");
44540 
44541     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44542       SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",1,SWIGTYPE_p_lldb__SBProcess);
44543     }
44544 
44545     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
44546 
44547     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBMemoryRegionInfo,0))){
44548       SWIG_fail_ptr("SBProcess_GetMemoryRegionInfo",3,SWIGTYPE_p_lldb__SBMemoryRegionInfo);
44549     }
44550 
44551     result = (arg1)->GetMemoryRegionInfo(arg2,*arg3);
44552     {
44553       lldb::SBError * resultptr = new lldb::SBError(result);
44554       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44555     }
44556     return SWIG_arg;
44557 
44558     fail: SWIGUNUSED;
44559   }
44560   lua_error(L);
44561   return 0;
44562 }
44563 
44564 
_wrap_SBProcess_GetMemoryRegions(lua_State * L)44565 static int _wrap_SBProcess_GetMemoryRegions(lua_State* L) {
44566   {
44567     int SWIG_arg = 0;
44568     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44569     lldb::SBMemoryRegionInfoList result;
44570 
44571     SWIG_check_num_args("lldb::SBProcess::GetMemoryRegions",1,1)
44572     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetMemoryRegions",1,"lldb::SBProcess *");
44573 
44574     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44575       SWIG_fail_ptr("SBProcess_GetMemoryRegions",1,SWIGTYPE_p_lldb__SBProcess);
44576     }
44577 
44578     result = (arg1)->GetMemoryRegions();
44579     {
44580       lldb::SBMemoryRegionInfoList * resultptr = new lldb::SBMemoryRegionInfoList(result);
44581       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBMemoryRegionInfoList,1); SWIG_arg++;
44582     }
44583     return SWIG_arg;
44584 
44585     fail: SWIGUNUSED;
44586   }
44587   lua_error(L);
44588   return 0;
44589 }
44590 
44591 
_wrap_SBProcess_GetProcessInfo(lua_State * L)44592 static int _wrap_SBProcess_GetProcessInfo(lua_State* L) {
44593   {
44594     int SWIG_arg = 0;
44595     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44596     lldb::SBProcessInfo result;
44597 
44598     SWIG_check_num_args("lldb::SBProcess::GetProcessInfo",1,1)
44599     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetProcessInfo",1,"lldb::SBProcess *");
44600 
44601     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44602       SWIG_fail_ptr("SBProcess_GetProcessInfo",1,SWIGTYPE_p_lldb__SBProcess);
44603     }
44604 
44605     result = (arg1)->GetProcessInfo();
44606     {
44607       lldb::SBProcessInfo * resultptr = new lldb::SBProcessInfo(result);
44608       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++;
44609     }
44610     return SWIG_arg;
44611 
44612     fail: SWIGUNUSED;
44613   }
44614   lua_error(L);
44615   return 0;
44616 }
44617 
44618 
_wrap_SBProcess_AllocateMemory(lua_State * L)44619 static int _wrap_SBProcess_AllocateMemory(lua_State* L) {
44620   {
44621     int SWIG_arg = 0;
44622     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44623     size_t arg2 ;
44624     uint32_t arg3 ;
44625     lldb::SBError *arg4 = 0 ;
44626     lldb::addr_t result;
44627 
44628     SWIG_check_num_args("lldb::SBProcess::AllocateMemory",4,4)
44629     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",1,"lldb::SBProcess *");
44630     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",2,"size_t");
44631     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",3,"uint32_t");
44632     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBProcess::AllocateMemory",4,"lldb::SBError &");
44633 
44634     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44635       SWIG_fail_ptr("SBProcess_AllocateMemory",1,SWIGTYPE_p_lldb__SBProcess);
44636     }
44637 
44638     arg2 = (size_t)lua_tointeger(L, 2);
44639     arg3 = (uint32_t)lua_tointeger(L, 3);
44640 
44641     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
44642       SWIG_fail_ptr("SBProcess_AllocateMemory",4,SWIGTYPE_p_lldb__SBError);
44643     }
44644 
44645     result = (lldb::addr_t)(arg1)->AllocateMemory(arg2,arg3,*arg4);
44646     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
44647     return SWIG_arg;
44648 
44649     fail: SWIGUNUSED;
44650   }
44651   lua_error(L);
44652   return 0;
44653 }
44654 
44655 
_wrap_SBProcess_DeallocateMemory(lua_State * L)44656 static int _wrap_SBProcess_DeallocateMemory(lua_State* L) {
44657   {
44658     int SWIG_arg = 0;
44659     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44660     lldb::addr_t arg2 ;
44661     lldb::SBError result;
44662 
44663     SWIG_check_num_args("lldb::SBProcess::DeallocateMemory",2,2)
44664     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",1,"lldb::SBProcess *");
44665     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcess::DeallocateMemory",2,"lldb::addr_t");
44666 
44667     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44668       SWIG_fail_ptr("SBProcess_DeallocateMemory",1,SWIGTYPE_p_lldb__SBProcess);
44669     }
44670 
44671     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
44672     result = (arg1)->DeallocateMemory(arg2);
44673     {
44674       lldb::SBError * resultptr = new lldb::SBError(result);
44675       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
44676     }
44677     return SWIG_arg;
44678 
44679     fail: SWIGUNUSED;
44680   }
44681   lua_error(L);
44682   return 0;
44683 }
44684 
44685 
_wrap_SBProcess_GetScriptedImplementation(lua_State * L)44686 static int _wrap_SBProcess_GetScriptedImplementation(lua_State* L) {
44687   {
44688     int SWIG_arg = 0;
44689     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44690     SwigValueWrapper< lldb::SBScriptObject > result;
44691 
44692     SWIG_check_num_args("lldb::SBProcess::GetScriptedImplementation",1,1)
44693     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::GetScriptedImplementation",1,"lldb::SBProcess *");
44694 
44695     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44696       SWIG_fail_ptr("SBProcess_GetScriptedImplementation",1,SWIGTYPE_p_lldb__SBProcess);
44697     }
44698 
44699     result = (arg1)->GetScriptedImplementation();
44700     {
44701       lldb::SBScriptObject * resultptr = new lldb::SBScriptObject(result);
44702       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBScriptObject,1); SWIG_arg++;
44703     }
44704     return SWIG_arg;
44705 
44706     fail: SWIGUNUSED;
44707   }
44708   lua_error(L);
44709   return 0;
44710 }
44711 
44712 
_wrap_SBProcess___tostring(lua_State * L)44713 static int _wrap_SBProcess___tostring(lua_State* L) {
44714   {
44715     int SWIG_arg = 0;
44716     lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
44717     std::string result;
44718 
44719     SWIG_check_num_args("lldb::SBProcess::__repr__",1,1)
44720     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcess::__repr__",1,"lldb::SBProcess *");
44721 
44722     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcess,0))){
44723       SWIG_fail_ptr("SBProcess___tostring",1,SWIGTYPE_p_lldb__SBProcess);
44724     }
44725 
44726     result = lldb_SBProcess___repr__(arg1);
44727     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
44728     return SWIG_arg;
44729 
44730     fail: SWIGUNUSED;
44731   }
44732   lua_error(L);
44733   return 0;
44734 }
44735 
44736 
swig_delete_SBProcess(void * obj)44737 static void swig_delete_SBProcess(void *obj) {
44738 lldb::SBProcess *arg1 = (lldb::SBProcess *) obj;
44739 delete arg1;
44740 }
_proxy__wrap_new_SBProcess(lua_State * L)44741 static int _proxy__wrap_new_SBProcess(lua_State *L) {
44742     assert(lua_istable(L,1));
44743     lua_pushcfunction(L,_wrap_new_SBProcess);
44744     assert(!lua_isnil(L,-1));
44745     lua_replace(L,1); /* replace our table with real constructor */
44746     lua_call(L,lua_gettop(L)-1,1);
44747     return 1;
44748 }
44749 static swig_lua_attribute swig_SBProcess_attributes[] = {
44750     {0,0,0}
44751 };
44752 static swig_lua_method swig_SBProcess_methods[]= {
44753     { "GetPluginName", _wrap_SBProcess_GetPluginName},
44754     { "GetShortPluginName", _wrap_SBProcess_GetShortPluginName},
44755     { "Clear", _wrap_SBProcess_Clear},
44756     { "IsValid", _wrap_SBProcess_IsValid},
44757     { "GetTarget", _wrap_SBProcess_GetTarget},
44758     { "GetByteOrder", _wrap_SBProcess_GetByteOrder},
44759     { "PutSTDIN", _wrap_SBProcess_PutSTDIN},
44760     { "GetSTDOUT", _wrap_SBProcess_GetSTDOUT},
44761     { "GetSTDERR", _wrap_SBProcess_GetSTDERR},
44762     { "GetAsyncProfileData", _wrap_SBProcess_GetAsyncProfileData},
44763     { "ReportEventState", _wrap_SBProcess_ReportEventState},
44764     { "AppendEventStateReport", _wrap_SBProcess_AppendEventStateReport},
44765     { "RemoteAttachToProcessWithID", _wrap_SBProcess_RemoteAttachToProcessWithID},
44766     { "RemoteLaunch", _wrap_SBProcess_RemoteLaunch},
44767     { "GetNumThreads", _wrap_SBProcess_GetNumThreads},
44768     { "GetThreadAtIndex", _wrap_SBProcess_GetThreadAtIndex},
44769     { "GetThreadByID", _wrap_SBProcess_GetThreadByID},
44770     { "GetThreadByIndexID", _wrap_SBProcess_GetThreadByIndexID},
44771     { "GetSelectedThread", _wrap_SBProcess_GetSelectedThread},
44772     { "CreateOSPluginThread", _wrap_SBProcess_CreateOSPluginThread},
44773     { "SetSelectedThread", _wrap_SBProcess_SetSelectedThread},
44774     { "SetSelectedThreadByID", _wrap_SBProcess_SetSelectedThreadByID},
44775     { "SetSelectedThreadByIndexID", _wrap_SBProcess_SetSelectedThreadByIndexID},
44776     { "GetNumQueues", _wrap_SBProcess_GetNumQueues},
44777     { "GetQueueAtIndex", _wrap_SBProcess_GetQueueAtIndex},
44778     { "GetState", _wrap_SBProcess_GetState},
44779     { "GetExitStatus", _wrap_SBProcess_GetExitStatus},
44780     { "GetExitDescription", _wrap_SBProcess_GetExitDescription},
44781     { "GetProcessID", _wrap_SBProcess_GetProcessID},
44782     { "GetUniqueID", _wrap_SBProcess_GetUniqueID},
44783     { "GetAddressByteSize", _wrap_SBProcess_GetAddressByteSize},
44784     { "Destroy", _wrap_SBProcess_Destroy},
44785     { "Continue", _wrap_SBProcess_Continue},
44786     { "Stop", _wrap_SBProcess_Stop},
44787     { "Kill", _wrap_SBProcess_Kill},
44788     { "Detach", _wrap_SBProcess_Detach},
44789     { "Signal", _wrap_SBProcess_Signal},
44790     { "GetUnixSignals", _wrap_SBProcess_GetUnixSignals},
44791     { "SendAsyncInterrupt", _wrap_SBProcess_SendAsyncInterrupt},
44792     { "GetStopID", _wrap_SBProcess_GetStopID},
44793     { "GetStopEventForStopID", _wrap_SBProcess_GetStopEventForStopID},
44794     { "ForceScriptedState", _wrap_SBProcess_ForceScriptedState},
44795     { "ReadMemory", _wrap_SBProcess_ReadMemory},
44796     { "WriteMemory", _wrap_SBProcess_WriteMemory},
44797     { "ReadCStringFromMemory", _wrap_SBProcess_ReadCStringFromMemory},
44798     { "ReadUnsignedFromMemory", _wrap_SBProcess_ReadUnsignedFromMemory},
44799     { "ReadPointerFromMemory", _wrap_SBProcess_ReadPointerFromMemory},
44800     { "GetBroadcaster", _wrap_SBProcess_GetBroadcaster},
44801     { "GetDescription", _wrap_SBProcess_GetDescription},
44802     { "GetExtendedCrashInformation", _wrap_SBProcess_GetExtendedCrashInformation},
44803     { "GetNumSupportedHardwareWatchpoints", _wrap_SBProcess_GetNumSupportedHardwareWatchpoints},
44804     { "LoadImage", _wrap_SBProcess_LoadImage},
44805     { "LoadImageUsingPaths", _wrap_SBProcess_LoadImageUsingPaths},
44806     { "UnloadImage", _wrap_SBProcess_UnloadImage},
44807     { "SendEventData", _wrap_SBProcess_SendEventData},
44808     { "GetNumExtendedBacktraceTypes", _wrap_SBProcess_GetNumExtendedBacktraceTypes},
44809     { "GetExtendedBacktraceTypeAtIndex", _wrap_SBProcess_GetExtendedBacktraceTypeAtIndex},
44810     { "GetHistoryThreads", _wrap_SBProcess_GetHistoryThreads},
44811     { "IsInstrumentationRuntimePresent", _wrap_SBProcess_IsInstrumentationRuntimePresent},
44812     { "SaveCore", _wrap_SBProcess_SaveCore},
44813     { "GetMemoryRegionInfo", _wrap_SBProcess_GetMemoryRegionInfo},
44814     { "GetMemoryRegions", _wrap_SBProcess_GetMemoryRegions},
44815     { "GetProcessInfo", _wrap_SBProcess_GetProcessInfo},
44816     { "AllocateMemory", _wrap_SBProcess_AllocateMemory},
44817     { "DeallocateMemory", _wrap_SBProcess_DeallocateMemory},
44818     { "GetScriptedImplementation", _wrap_SBProcess_GetScriptedImplementation},
44819     { "__tostring", _wrap_SBProcess___tostring},
44820     {0,0}
44821 };
44822 static swig_lua_method swig_SBProcess_meta[] = {
44823     { "__tostring", _wrap_SBProcess___tostring},
44824     {0,0}
44825 };
44826 
44827 static swig_lua_attribute swig_SBProcess_Sf_SwigStatic_attributes[] = {
44828     {0,0,0}
44829 };
44830 static swig_lua_const_info swig_SBProcess_Sf_SwigStatic_constants[]= {
44831     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitStateChanged", lldb::SBProcess::eBroadcastBitStateChanged)},
44832     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitInterrupt", lldb::SBProcess::eBroadcastBitInterrupt)},
44833     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitSTDOUT", lldb::SBProcess::eBroadcastBitSTDOUT)},
44834     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitSTDERR", lldb::SBProcess::eBroadcastBitSTDERR)},
44835     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitProfileData", lldb::SBProcess::eBroadcastBitProfileData)},
44836     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitStructuredData", lldb::SBProcess::eBroadcastBitStructuredData)},
44837     {0,0,0,0,0,0}
44838 };
44839 static swig_lua_method swig_SBProcess_Sf_SwigStatic_methods[]= {
44840     { "GetBroadcasterClassName", _wrap_SBProcess_GetBroadcasterClassName},
44841     { "GetStateFromEvent", _wrap_SBProcess_GetStateFromEvent},
44842     { "GetRestartedFromEvent", _wrap_SBProcess_GetRestartedFromEvent},
44843     { "GetNumRestartedReasonsFromEvent", _wrap_SBProcess_GetNumRestartedReasonsFromEvent},
44844     { "GetRestartedReasonAtIndexFromEvent", _wrap_SBProcess_GetRestartedReasonAtIndexFromEvent},
44845     { "GetProcessFromEvent", _wrap_SBProcess_GetProcessFromEvent},
44846     { "GetInterruptedFromEvent", _wrap_SBProcess_GetInterruptedFromEvent},
44847     { "GetStructuredDataFromEvent", _wrap_SBProcess_GetStructuredDataFromEvent},
44848     { "EventIsProcessEvent", _wrap_SBProcess_EventIsProcessEvent},
44849     { "EventIsStructuredDataEvent", _wrap_SBProcess_EventIsStructuredDataEvent},
44850     { "GetBroadcasterClass", _wrap_SBProcess_GetBroadcasterClass},
44851     {0,0}
44852 };
44853 static swig_lua_class* swig_SBProcess_Sf_SwigStatic_classes[]= {
44854     0
44855 };
44856 
44857 static swig_lua_namespace swig_SBProcess_Sf_SwigStatic = {
44858     "SBProcess",
44859     swig_SBProcess_Sf_SwigStatic_methods,
44860     swig_SBProcess_Sf_SwigStatic_attributes,
44861     swig_SBProcess_Sf_SwigStatic_constants,
44862     swig_SBProcess_Sf_SwigStatic_classes,
44863     0
44864 };
44865 static swig_lua_class *swig_SBProcess_bases[] = {0};
44866 static const char *swig_SBProcess_base_names[] = {0};
44867 static swig_lua_class _wrap_class_SBProcess = { "SBProcess", "SBProcess", &SWIGTYPE_p_lldb__SBProcess,_proxy__wrap_new_SBProcess, swig_delete_SBProcess, swig_SBProcess_methods, swig_SBProcess_attributes, &swig_SBProcess_Sf_SwigStatic, swig_SBProcess_meta, swig_SBProcess_bases, swig_SBProcess_base_names };
44868 
_wrap_new_SBProcessInfo__SWIG_0(lua_State * L)44869 static int _wrap_new_SBProcessInfo__SWIG_0(lua_State* L) {
44870   {
44871     int SWIG_arg = 0;
44872     lldb::SBProcessInfo *result = 0 ;
44873 
44874     SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",0,0)
44875     result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo();
44876     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++;
44877     return SWIG_arg;
44878 
44879     fail: SWIGUNUSED;
44880   }
44881   lua_error(L);
44882   return 0;
44883 }
44884 
44885 
_wrap_new_SBProcessInfo__SWIG_1(lua_State * L)44886 static int _wrap_new_SBProcessInfo__SWIG_1(lua_State* L) {
44887   {
44888     int SWIG_arg = 0;
44889     lldb::SBProcessInfo *arg1 = 0 ;
44890     lldb::SBProcessInfo *result = 0 ;
44891 
44892     SWIG_check_num_args("lldb::SBProcessInfo::SBProcessInfo",1,1)
44893     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::SBProcessInfo",1,"lldb::SBProcessInfo const &");
44894 
44895     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
44896       SWIG_fail_ptr("new_SBProcessInfo",1,SWIGTYPE_p_lldb__SBProcessInfo);
44897     }
44898 
44899     result = (lldb::SBProcessInfo *)new lldb::SBProcessInfo((lldb::SBProcessInfo const &)*arg1);
44900     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfo,1); SWIG_arg++;
44901     return SWIG_arg;
44902 
44903     fail: SWIGUNUSED;
44904   }
44905   lua_error(L);
44906   return 0;
44907 }
44908 
44909 
_wrap_new_SBProcessInfo(lua_State * L)44910 static int _wrap_new_SBProcessInfo(lua_State* L) {
44911   int argc;
44912   int argv[2]={
44913     1,2
44914   };
44915 
44916   argc = lua_gettop(L);
44917   if (argc == 0) {
44918     return _wrap_new_SBProcessInfo__SWIG_0(L);
44919   }
44920   if (argc == 1) {
44921     int _v = 0;
44922     {
44923       void *ptr;
44924       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcessInfo, SWIG_POINTER_NO_NULL)) {
44925         _v = 0;
44926       } else {
44927         _v = 1;
44928       }
44929     }
44930     if (_v) {
44931       return _wrap_new_SBProcessInfo__SWIG_1(L);
44932     }
44933   }
44934 
44935   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBProcessInfo'\n"
44936     "  Possible C/C++ prototypes are:\n"
44937     "    lldb::SBProcessInfo::SBProcessInfo()\n"
44938     "    lldb::SBProcessInfo::SBProcessInfo(lldb::SBProcessInfo const &)\n");
44939   lua_error(L);return 0;
44940 }
44941 
44942 
_wrap_SBProcessInfo_IsValid(lua_State * L)44943 static int _wrap_SBProcessInfo_IsValid(lua_State* L) {
44944   {
44945     int SWIG_arg = 0;
44946     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
44947     bool result;
44948 
44949     SWIG_check_num_args("lldb::SBProcessInfo::IsValid",1,1)
44950     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::IsValid",1,"lldb::SBProcessInfo const *");
44951 
44952     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
44953       SWIG_fail_ptr("SBProcessInfo_IsValid",1,SWIGTYPE_p_lldb__SBProcessInfo);
44954     }
44955 
44956     result = (bool)((lldb::SBProcessInfo const *)arg1)->IsValid();
44957     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44958     return SWIG_arg;
44959 
44960     fail: SWIGUNUSED;
44961   }
44962   lua_error(L);
44963   return 0;
44964 }
44965 
44966 
_wrap_SBProcessInfo_GetName(lua_State * L)44967 static int _wrap_SBProcessInfo_GetName(lua_State* L) {
44968   {
44969     int SWIG_arg = 0;
44970     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
44971     char *result = 0 ;
44972 
44973     SWIG_check_num_args("lldb::SBProcessInfo::GetName",1,1)
44974     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetName",1,"lldb::SBProcessInfo *");
44975 
44976     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
44977       SWIG_fail_ptr("SBProcessInfo_GetName",1,SWIGTYPE_p_lldb__SBProcessInfo);
44978     }
44979 
44980     result = (char *)(arg1)->GetName();
44981     lua_pushstring(L,(const char *)result); SWIG_arg++;
44982     return SWIG_arg;
44983 
44984     fail: SWIGUNUSED;
44985   }
44986   lua_error(L);
44987   return 0;
44988 }
44989 
44990 
_wrap_SBProcessInfo_GetExecutableFile(lua_State * L)44991 static int _wrap_SBProcessInfo_GetExecutableFile(lua_State* L) {
44992   {
44993     int SWIG_arg = 0;
44994     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
44995     lldb::SBFileSpec result;
44996 
44997     SWIG_check_num_args("lldb::SBProcessInfo::GetExecutableFile",1,1)
44998     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetExecutableFile",1,"lldb::SBProcessInfo *");
44999 
45000     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45001       SWIG_fail_ptr("SBProcessInfo_GetExecutableFile",1,SWIGTYPE_p_lldb__SBProcessInfo);
45002     }
45003 
45004     result = (arg1)->GetExecutableFile();
45005     {
45006       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
45007       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
45008     }
45009     return SWIG_arg;
45010 
45011     fail: SWIGUNUSED;
45012   }
45013   lua_error(L);
45014   return 0;
45015 }
45016 
45017 
_wrap_SBProcessInfo_GetProcessID(lua_State * L)45018 static int _wrap_SBProcessInfo_GetProcessID(lua_State* L) {
45019   {
45020     int SWIG_arg = 0;
45021     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45022     lldb::pid_t result;
45023 
45024     SWIG_check_num_args("lldb::SBProcessInfo::GetProcessID",1,1)
45025     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetProcessID",1,"lldb::SBProcessInfo *");
45026 
45027     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45028       SWIG_fail_ptr("SBProcessInfo_GetProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45029     }
45030 
45031     result = (lldb::pid_t)(arg1)->GetProcessID();
45032     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45033     return SWIG_arg;
45034 
45035     fail: SWIGUNUSED;
45036   }
45037   lua_error(L);
45038   return 0;
45039 }
45040 
45041 
_wrap_SBProcessInfo_GetUserID(lua_State * L)45042 static int _wrap_SBProcessInfo_GetUserID(lua_State* L) {
45043   {
45044     int SWIG_arg = 0;
45045     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45046     uint32_t result;
45047 
45048     SWIG_check_num_args("lldb::SBProcessInfo::GetUserID",1,1)
45049     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetUserID",1,"lldb::SBProcessInfo *");
45050 
45051     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45052       SWIG_fail_ptr("SBProcessInfo_GetUserID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45053     }
45054 
45055     result = (uint32_t)(arg1)->GetUserID();
45056     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45057     return SWIG_arg;
45058 
45059     fail: SWIGUNUSED;
45060   }
45061   lua_error(L);
45062   return 0;
45063 }
45064 
45065 
_wrap_SBProcessInfo_GetGroupID(lua_State * L)45066 static int _wrap_SBProcessInfo_GetGroupID(lua_State* L) {
45067   {
45068     int SWIG_arg = 0;
45069     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45070     uint32_t result;
45071 
45072     SWIG_check_num_args("lldb::SBProcessInfo::GetGroupID",1,1)
45073     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetGroupID",1,"lldb::SBProcessInfo *");
45074 
45075     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45076       SWIG_fail_ptr("SBProcessInfo_GetGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45077     }
45078 
45079     result = (uint32_t)(arg1)->GetGroupID();
45080     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45081     return SWIG_arg;
45082 
45083     fail: SWIGUNUSED;
45084   }
45085   lua_error(L);
45086   return 0;
45087 }
45088 
45089 
_wrap_SBProcessInfo_UserIDIsValid(lua_State * L)45090 static int _wrap_SBProcessInfo_UserIDIsValid(lua_State* L) {
45091   {
45092     int SWIG_arg = 0;
45093     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45094     bool result;
45095 
45096     SWIG_check_num_args("lldb::SBProcessInfo::UserIDIsValid",1,1)
45097     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::UserIDIsValid",1,"lldb::SBProcessInfo *");
45098 
45099     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45100       SWIG_fail_ptr("SBProcessInfo_UserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo);
45101     }
45102 
45103     result = (bool)(arg1)->UserIDIsValid();
45104     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45105     return SWIG_arg;
45106 
45107     fail: SWIGUNUSED;
45108   }
45109   lua_error(L);
45110   return 0;
45111 }
45112 
45113 
_wrap_SBProcessInfo_GroupIDIsValid(lua_State * L)45114 static int _wrap_SBProcessInfo_GroupIDIsValid(lua_State* L) {
45115   {
45116     int SWIG_arg = 0;
45117     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45118     bool result;
45119 
45120     SWIG_check_num_args("lldb::SBProcessInfo::GroupIDIsValid",1,1)
45121     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GroupIDIsValid",1,"lldb::SBProcessInfo *");
45122 
45123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45124       SWIG_fail_ptr("SBProcessInfo_GroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo);
45125     }
45126 
45127     result = (bool)(arg1)->GroupIDIsValid();
45128     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45129     return SWIG_arg;
45130 
45131     fail: SWIGUNUSED;
45132   }
45133   lua_error(L);
45134   return 0;
45135 }
45136 
45137 
_wrap_SBProcessInfo_GetEffectiveUserID(lua_State * L)45138 static int _wrap_SBProcessInfo_GetEffectiveUserID(lua_State* L) {
45139   {
45140     int SWIG_arg = 0;
45141     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45142     uint32_t result;
45143 
45144     SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveUserID",1,1)
45145     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveUserID",1,"lldb::SBProcessInfo *");
45146 
45147     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45148       SWIG_fail_ptr("SBProcessInfo_GetEffectiveUserID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45149     }
45150 
45151     result = (uint32_t)(arg1)->GetEffectiveUserID();
45152     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45153     return SWIG_arg;
45154 
45155     fail: SWIGUNUSED;
45156   }
45157   lua_error(L);
45158   return 0;
45159 }
45160 
45161 
_wrap_SBProcessInfo_GetEffectiveGroupID(lua_State * L)45162 static int _wrap_SBProcessInfo_GetEffectiveGroupID(lua_State* L) {
45163   {
45164     int SWIG_arg = 0;
45165     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45166     uint32_t result;
45167 
45168     SWIG_check_num_args("lldb::SBProcessInfo::GetEffectiveGroupID",1,1)
45169     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetEffectiveGroupID",1,"lldb::SBProcessInfo *");
45170 
45171     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45172       SWIG_fail_ptr("SBProcessInfo_GetEffectiveGroupID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45173     }
45174 
45175     result = (uint32_t)(arg1)->GetEffectiveGroupID();
45176     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45177     return SWIG_arg;
45178 
45179     fail: SWIGUNUSED;
45180   }
45181   lua_error(L);
45182   return 0;
45183 }
45184 
45185 
_wrap_SBProcessInfo_EffectiveUserIDIsValid(lua_State * L)45186 static int _wrap_SBProcessInfo_EffectiveUserIDIsValid(lua_State* L) {
45187   {
45188     int SWIG_arg = 0;
45189     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45190     bool result;
45191 
45192     SWIG_check_num_args("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,1)
45193     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveUserIDIsValid",1,"lldb::SBProcessInfo *");
45194 
45195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45196       SWIG_fail_ptr("SBProcessInfo_EffectiveUserIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo);
45197     }
45198 
45199     result = (bool)(arg1)->EffectiveUserIDIsValid();
45200     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45201     return SWIG_arg;
45202 
45203     fail: SWIGUNUSED;
45204   }
45205   lua_error(L);
45206   return 0;
45207 }
45208 
45209 
_wrap_SBProcessInfo_EffectiveGroupIDIsValid(lua_State * L)45210 static int _wrap_SBProcessInfo_EffectiveGroupIDIsValid(lua_State* L) {
45211   {
45212     int SWIG_arg = 0;
45213     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45214     bool result;
45215 
45216     SWIG_check_num_args("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,1)
45217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::EffectiveGroupIDIsValid",1,"lldb::SBProcessInfo *");
45218 
45219     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45220       SWIG_fail_ptr("SBProcessInfo_EffectiveGroupIDIsValid",1,SWIGTYPE_p_lldb__SBProcessInfo);
45221     }
45222 
45223     result = (bool)(arg1)->EffectiveGroupIDIsValid();
45224     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45225     return SWIG_arg;
45226 
45227     fail: SWIGUNUSED;
45228   }
45229   lua_error(L);
45230   return 0;
45231 }
45232 
45233 
_wrap_SBProcessInfo_GetParentProcessID(lua_State * L)45234 static int _wrap_SBProcessInfo_GetParentProcessID(lua_State* L) {
45235   {
45236     int SWIG_arg = 0;
45237     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45238     lldb::pid_t result;
45239 
45240     SWIG_check_num_args("lldb::SBProcessInfo::GetParentProcessID",1,1)
45241     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetParentProcessID",1,"lldb::SBProcessInfo *");
45242 
45243     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45244       SWIG_fail_ptr("SBProcessInfo_GetParentProcessID",1,SWIGTYPE_p_lldb__SBProcessInfo);
45245     }
45246 
45247     result = (lldb::pid_t)(arg1)->GetParentProcessID();
45248     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45249     return SWIG_arg;
45250 
45251     fail: SWIGUNUSED;
45252   }
45253   lua_error(L);
45254   return 0;
45255 }
45256 
45257 
_wrap_SBProcessInfo_GetTriple(lua_State * L)45258 static int _wrap_SBProcessInfo_GetTriple(lua_State* L) {
45259   {
45260     int SWIG_arg = 0;
45261     lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) 0 ;
45262     char *result = 0 ;
45263 
45264     SWIG_check_num_args("lldb::SBProcessInfo::GetTriple",1,1)
45265     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfo::GetTriple",1,"lldb::SBProcessInfo *");
45266 
45267     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45268       SWIG_fail_ptr("SBProcessInfo_GetTriple",1,SWIGTYPE_p_lldb__SBProcessInfo);
45269     }
45270 
45271     result = (char *)(arg1)->GetTriple();
45272     lua_pushstring(L,(const char *)result); SWIG_arg++;
45273     return SWIG_arg;
45274 
45275     fail: SWIGUNUSED;
45276   }
45277   lua_error(L);
45278   return 0;
45279 }
45280 
45281 
swig_delete_SBProcessInfo(void * obj)45282 static void swig_delete_SBProcessInfo(void *obj) {
45283 lldb::SBProcessInfo *arg1 = (lldb::SBProcessInfo *) obj;
45284 delete arg1;
45285 }
_proxy__wrap_new_SBProcessInfo(lua_State * L)45286 static int _proxy__wrap_new_SBProcessInfo(lua_State *L) {
45287     assert(lua_istable(L,1));
45288     lua_pushcfunction(L,_wrap_new_SBProcessInfo);
45289     assert(!lua_isnil(L,-1));
45290     lua_replace(L,1); /* replace our table with real constructor */
45291     lua_call(L,lua_gettop(L)-1,1);
45292     return 1;
45293 }
45294 static swig_lua_attribute swig_SBProcessInfo_attributes[] = {
45295     {0,0,0}
45296 };
45297 static swig_lua_method swig_SBProcessInfo_methods[]= {
45298     { "IsValid", _wrap_SBProcessInfo_IsValid},
45299     { "GetName", _wrap_SBProcessInfo_GetName},
45300     { "GetExecutableFile", _wrap_SBProcessInfo_GetExecutableFile},
45301     { "GetProcessID", _wrap_SBProcessInfo_GetProcessID},
45302     { "GetUserID", _wrap_SBProcessInfo_GetUserID},
45303     { "GetGroupID", _wrap_SBProcessInfo_GetGroupID},
45304     { "UserIDIsValid", _wrap_SBProcessInfo_UserIDIsValid},
45305     { "GroupIDIsValid", _wrap_SBProcessInfo_GroupIDIsValid},
45306     { "GetEffectiveUserID", _wrap_SBProcessInfo_GetEffectiveUserID},
45307     { "GetEffectiveGroupID", _wrap_SBProcessInfo_GetEffectiveGroupID},
45308     { "EffectiveUserIDIsValid", _wrap_SBProcessInfo_EffectiveUserIDIsValid},
45309     { "EffectiveGroupIDIsValid", _wrap_SBProcessInfo_EffectiveGroupIDIsValid},
45310     { "GetParentProcessID", _wrap_SBProcessInfo_GetParentProcessID},
45311     { "GetTriple", _wrap_SBProcessInfo_GetTriple},
45312     {0,0}
45313 };
45314 static swig_lua_method swig_SBProcessInfo_meta[] = {
45315     {0,0}
45316 };
45317 
45318 static swig_lua_attribute swig_SBProcessInfo_Sf_SwigStatic_attributes[] = {
45319     {0,0,0}
45320 };
45321 static swig_lua_const_info swig_SBProcessInfo_Sf_SwigStatic_constants[]= {
45322     {0,0,0,0,0,0}
45323 };
45324 static swig_lua_method swig_SBProcessInfo_Sf_SwigStatic_methods[]= {
45325     {0,0}
45326 };
45327 static swig_lua_class* swig_SBProcessInfo_Sf_SwigStatic_classes[]= {
45328     0
45329 };
45330 
45331 static swig_lua_namespace swig_SBProcessInfo_Sf_SwigStatic = {
45332     "SBProcessInfo",
45333     swig_SBProcessInfo_Sf_SwigStatic_methods,
45334     swig_SBProcessInfo_Sf_SwigStatic_attributes,
45335     swig_SBProcessInfo_Sf_SwigStatic_constants,
45336     swig_SBProcessInfo_Sf_SwigStatic_classes,
45337     0
45338 };
45339 static swig_lua_class *swig_SBProcessInfo_bases[] = {0};
45340 static const char *swig_SBProcessInfo_base_names[] = {0};
45341 static swig_lua_class _wrap_class_SBProcessInfo = { "SBProcessInfo", "SBProcessInfo", &SWIGTYPE_p_lldb__SBProcessInfo,_proxy__wrap_new_SBProcessInfo, swig_delete_SBProcessInfo, swig_SBProcessInfo_methods, swig_SBProcessInfo_attributes, &swig_SBProcessInfo_Sf_SwigStatic, swig_SBProcessInfo_meta, swig_SBProcessInfo_bases, swig_SBProcessInfo_base_names };
45342 
_wrap_new_SBProcessInfoList__SWIG_0(lua_State * L)45343 static int _wrap_new_SBProcessInfoList__SWIG_0(lua_State* L) {
45344   {
45345     int SWIG_arg = 0;
45346     lldb::SBProcessInfoList *result = 0 ;
45347 
45348     SWIG_check_num_args("lldb::SBProcessInfoList::SBProcessInfoList",0,0)
45349     result = (lldb::SBProcessInfoList *)new lldb::SBProcessInfoList();
45350     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++;
45351     return SWIG_arg;
45352 
45353     fail: SWIGUNUSED;
45354   }
45355   lua_error(L);
45356   return 0;
45357 }
45358 
45359 
_wrap_new_SBProcessInfoList__SWIG_1(lua_State * L)45360 static int _wrap_new_SBProcessInfoList__SWIG_1(lua_State* L) {
45361   {
45362     int SWIG_arg = 0;
45363     lldb::SBProcessInfoList *arg1 = 0 ;
45364     lldb::SBProcessInfoList *result = 0 ;
45365 
45366     SWIG_check_num_args("lldb::SBProcessInfoList::SBProcessInfoList",1,1)
45367     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::SBProcessInfoList",1,"lldb::SBProcessInfoList const &");
45368 
45369     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){
45370       SWIG_fail_ptr("new_SBProcessInfoList",1,SWIGTYPE_p_lldb__SBProcessInfoList);
45371     }
45372 
45373     result = (lldb::SBProcessInfoList *)new lldb::SBProcessInfoList((lldb::SBProcessInfoList const &)*arg1);
45374     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++;
45375     return SWIG_arg;
45376 
45377     fail: SWIGUNUSED;
45378   }
45379   lua_error(L);
45380   return 0;
45381 }
45382 
45383 
_wrap_new_SBProcessInfoList(lua_State * L)45384 static int _wrap_new_SBProcessInfoList(lua_State* L) {
45385   int argc;
45386   int argv[2]={
45387     1,2
45388   };
45389 
45390   argc = lua_gettop(L);
45391   if (argc == 0) {
45392     return _wrap_new_SBProcessInfoList__SWIG_0(L);
45393   }
45394   if (argc == 1) {
45395     int _v = 0;
45396     {
45397       void *ptr;
45398       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcessInfoList, SWIG_POINTER_NO_NULL)) {
45399         _v = 0;
45400       } else {
45401         _v = 1;
45402       }
45403     }
45404     if (_v) {
45405       return _wrap_new_SBProcessInfoList__SWIG_1(L);
45406     }
45407   }
45408 
45409   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBProcessInfoList'\n"
45410     "  Possible C/C++ prototypes are:\n"
45411     "    lldb::SBProcessInfoList::SBProcessInfoList()\n"
45412     "    lldb::SBProcessInfoList::SBProcessInfoList(lldb::SBProcessInfoList const &)\n");
45413   lua_error(L);return 0;
45414 }
45415 
45416 
_wrap_SBProcessInfoList_GetSize(lua_State * L)45417 static int _wrap_SBProcessInfoList_GetSize(lua_State* L) {
45418   {
45419     int SWIG_arg = 0;
45420     lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ;
45421     uint32_t result;
45422 
45423     SWIG_check_num_args("lldb::SBProcessInfoList::GetSize",1,1)
45424     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::GetSize",1,"lldb::SBProcessInfoList const *");
45425 
45426     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){
45427       SWIG_fail_ptr("SBProcessInfoList_GetSize",1,SWIGTYPE_p_lldb__SBProcessInfoList);
45428     }
45429 
45430     result = (uint32_t)((lldb::SBProcessInfoList const *)arg1)->GetSize();
45431     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45432     return SWIG_arg;
45433 
45434     fail: SWIGUNUSED;
45435   }
45436   lua_error(L);
45437   return 0;
45438 }
45439 
45440 
_wrap_SBProcessInfoList_GetProcessInfoAtIndex(lua_State * L)45441 static int _wrap_SBProcessInfoList_GetProcessInfoAtIndex(lua_State* L) {
45442   {
45443     int SWIG_arg = 0;
45444     lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ;
45445     uint32_t arg2 ;
45446     lldb::SBProcessInfo *arg3 = 0 ;
45447     bool result;
45448 
45449     SWIG_check_num_args("lldb::SBProcessInfoList::GetProcessInfoAtIndex",3,3)
45450     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",1,"lldb::SBProcessInfoList *");
45451     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",2,"uint32_t");
45452     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",3,"lldb::SBProcessInfo &");
45453 
45454     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){
45455       SWIG_fail_ptr("SBProcessInfoList_GetProcessInfoAtIndex",1,SWIGTYPE_p_lldb__SBProcessInfoList);
45456     }
45457 
45458     arg2 = (uint32_t)lua_tointeger(L, 2);
45459 
45460     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBProcessInfo,0))){
45461       SWIG_fail_ptr("SBProcessInfoList_GetProcessInfoAtIndex",3,SWIGTYPE_p_lldb__SBProcessInfo);
45462     }
45463 
45464     result = (bool)(arg1)->GetProcessInfoAtIndex(arg2,*arg3);
45465     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45466     return SWIG_arg;
45467 
45468     fail: SWIGUNUSED;
45469   }
45470   lua_error(L);
45471   return 0;
45472 }
45473 
45474 
_wrap_SBProcessInfoList_Clear(lua_State * L)45475 static int _wrap_SBProcessInfoList_Clear(lua_State* L) {
45476   {
45477     int SWIG_arg = 0;
45478     lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ;
45479 
45480     SWIG_check_num_args("lldb::SBProcessInfoList::Clear",1,1)
45481     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::Clear",1,"lldb::SBProcessInfoList *");
45482 
45483     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){
45484       SWIG_fail_ptr("SBProcessInfoList_Clear",1,SWIGTYPE_p_lldb__SBProcessInfoList);
45485     }
45486 
45487     (arg1)->Clear();
45488 
45489     return SWIG_arg;
45490 
45491     fail: SWIGUNUSED;
45492   }
45493   lua_error(L);
45494   return 0;
45495 }
45496 
45497 
swig_delete_SBProcessInfoList(void * obj)45498 static void swig_delete_SBProcessInfoList(void *obj) {
45499 lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) obj;
45500 delete arg1;
45501 }
_proxy__wrap_new_SBProcessInfoList(lua_State * L)45502 static int _proxy__wrap_new_SBProcessInfoList(lua_State *L) {
45503     assert(lua_istable(L,1));
45504     lua_pushcfunction(L,_wrap_new_SBProcessInfoList);
45505     assert(!lua_isnil(L,-1));
45506     lua_replace(L,1); /* replace our table with real constructor */
45507     lua_call(L,lua_gettop(L)-1,1);
45508     return 1;
45509 }
45510 static swig_lua_attribute swig_SBProcessInfoList_attributes[] = {
45511     {0,0,0}
45512 };
45513 static swig_lua_method swig_SBProcessInfoList_methods[]= {
45514     { "GetSize", _wrap_SBProcessInfoList_GetSize},
45515     { "GetProcessInfoAtIndex", _wrap_SBProcessInfoList_GetProcessInfoAtIndex},
45516     { "Clear", _wrap_SBProcessInfoList_Clear},
45517     {0,0}
45518 };
45519 static swig_lua_method swig_SBProcessInfoList_meta[] = {
45520     {0,0}
45521 };
45522 
45523 static swig_lua_attribute swig_SBProcessInfoList_Sf_SwigStatic_attributes[] = {
45524     {0,0,0}
45525 };
45526 static swig_lua_const_info swig_SBProcessInfoList_Sf_SwigStatic_constants[]= {
45527     {0,0,0,0,0,0}
45528 };
45529 static swig_lua_method swig_SBProcessInfoList_Sf_SwigStatic_methods[]= {
45530     {0,0}
45531 };
45532 static swig_lua_class* swig_SBProcessInfoList_Sf_SwigStatic_classes[]= {
45533     0
45534 };
45535 
45536 static swig_lua_namespace swig_SBProcessInfoList_Sf_SwigStatic = {
45537     "SBProcessInfoList",
45538     swig_SBProcessInfoList_Sf_SwigStatic_methods,
45539     swig_SBProcessInfoList_Sf_SwigStatic_attributes,
45540     swig_SBProcessInfoList_Sf_SwigStatic_constants,
45541     swig_SBProcessInfoList_Sf_SwigStatic_classes,
45542     0
45543 };
45544 static swig_lua_class *swig_SBProcessInfoList_bases[] = {0};
45545 static const char *swig_SBProcessInfoList_base_names[] = {0};
45546 static swig_lua_class _wrap_class_SBProcessInfoList = { "SBProcessInfoList", "SBProcessInfoList", &SWIGTYPE_p_lldb__SBProcessInfoList,_proxy__wrap_new_SBProcessInfoList, swig_delete_SBProcessInfoList, swig_SBProcessInfoList_methods, swig_SBProcessInfoList_attributes, &swig_SBProcessInfoList_Sf_SwigStatic, swig_SBProcessInfoList_meta, swig_SBProcessInfoList_bases, swig_SBProcessInfoList_base_names };
45547 
_wrap_new_SBQueue__SWIG_0(lua_State * L)45548 static int _wrap_new_SBQueue__SWIG_0(lua_State* L) {
45549   {
45550     int SWIG_arg = 0;
45551     lldb::SBQueue *result = 0 ;
45552 
45553     SWIG_check_num_args("lldb::SBQueue::SBQueue",0,0)
45554     result = (lldb::SBQueue *)new lldb::SBQueue();
45555     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++;
45556     return SWIG_arg;
45557 
45558     fail: SWIGUNUSED;
45559   }
45560   lua_error(L);
45561   return 0;
45562 }
45563 
45564 
_wrap_new_SBQueue__SWIG_1(lua_State * L)45565 static int _wrap_new_SBQueue__SWIG_1(lua_State* L) {
45566   {
45567     int SWIG_arg = 0;
45568     lldb::SBQueue *arg1 = 0 ;
45569     lldb::SBQueue *result = 0 ;
45570 
45571     SWIG_check_num_args("lldb::SBQueue::SBQueue",1,1)
45572     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBQueue::SBQueue",1,"lldb::SBQueue const &");
45573 
45574     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45575       SWIG_fail_ptr("new_SBQueue",1,SWIGTYPE_p_lldb__SBQueue);
45576     }
45577 
45578     result = (lldb::SBQueue *)new lldb::SBQueue((lldb::SBQueue const &)*arg1);
45579     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++;
45580     return SWIG_arg;
45581 
45582     fail: SWIGUNUSED;
45583   }
45584   lua_error(L);
45585   return 0;
45586 }
45587 
45588 
_wrap_new_SBQueue(lua_State * L)45589 static int _wrap_new_SBQueue(lua_State* L) {
45590   int argc;
45591   int argv[2]={
45592     1,2
45593   };
45594 
45595   argc = lua_gettop(L);
45596   if (argc == 0) {
45597     return _wrap_new_SBQueue__SWIG_0(L);
45598   }
45599   if (argc == 1) {
45600     int _v = 0;
45601     {
45602       void *ptr;
45603       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBQueue, SWIG_POINTER_NO_NULL)) {
45604         _v = 0;
45605       } else {
45606         _v = 1;
45607       }
45608     }
45609     if (_v) {
45610       return _wrap_new_SBQueue__SWIG_1(L);
45611     }
45612   }
45613 
45614   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBQueue'\n"
45615     "  Possible C/C++ prototypes are:\n"
45616     "    lldb::SBQueue::SBQueue()\n"
45617     "    lldb::SBQueue::SBQueue(lldb::SBQueue const &)\n");
45618   lua_error(L);return 0;
45619 }
45620 
45621 
_wrap_SBQueue_IsValid(lua_State * L)45622 static int _wrap_SBQueue_IsValid(lua_State* L) {
45623   {
45624     int SWIG_arg = 0;
45625     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45626     bool result;
45627 
45628     SWIG_check_num_args("lldb::SBQueue::IsValid",1,1)
45629     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::IsValid",1,"lldb::SBQueue const *");
45630 
45631     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45632       SWIG_fail_ptr("SBQueue_IsValid",1,SWIGTYPE_p_lldb__SBQueue);
45633     }
45634 
45635     result = (bool)((lldb::SBQueue const *)arg1)->IsValid();
45636     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45637     return SWIG_arg;
45638 
45639     fail: SWIGUNUSED;
45640   }
45641   lua_error(L);
45642   return 0;
45643 }
45644 
45645 
_wrap_SBQueue_Clear(lua_State * L)45646 static int _wrap_SBQueue_Clear(lua_State* L) {
45647   {
45648     int SWIG_arg = 0;
45649     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45650 
45651     SWIG_check_num_args("lldb::SBQueue::Clear",1,1)
45652     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::Clear",1,"lldb::SBQueue *");
45653 
45654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45655       SWIG_fail_ptr("SBQueue_Clear",1,SWIGTYPE_p_lldb__SBQueue);
45656     }
45657 
45658     (arg1)->Clear();
45659 
45660     return SWIG_arg;
45661 
45662     fail: SWIGUNUSED;
45663   }
45664   lua_error(L);
45665   return 0;
45666 }
45667 
45668 
_wrap_SBQueue_GetProcess(lua_State * L)45669 static int _wrap_SBQueue_GetProcess(lua_State* L) {
45670   {
45671     int SWIG_arg = 0;
45672     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45673     lldb::SBProcess result;
45674 
45675     SWIG_check_num_args("lldb::SBQueue::GetProcess",1,1)
45676     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetProcess",1,"lldb::SBQueue *");
45677 
45678     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45679       SWIG_fail_ptr("SBQueue_GetProcess",1,SWIGTYPE_p_lldb__SBQueue);
45680     }
45681 
45682     result = (arg1)->GetProcess();
45683     {
45684       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
45685       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
45686     }
45687     return SWIG_arg;
45688 
45689     fail: SWIGUNUSED;
45690   }
45691   lua_error(L);
45692   return 0;
45693 }
45694 
45695 
_wrap_SBQueue_GetQueueID(lua_State * L)45696 static int _wrap_SBQueue_GetQueueID(lua_State* L) {
45697   {
45698     int SWIG_arg = 0;
45699     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45700     lldb::queue_id_t result;
45701 
45702     SWIG_check_num_args("lldb::SBQueue::GetQueueID",1,1)
45703     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetQueueID",1,"lldb::SBQueue const *");
45704 
45705     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45706       SWIG_fail_ptr("SBQueue_GetQueueID",1,SWIGTYPE_p_lldb__SBQueue);
45707     }
45708 
45709     result = (lldb::queue_id_t)((lldb::SBQueue const *)arg1)->GetQueueID();
45710     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45711     return SWIG_arg;
45712 
45713     fail: SWIGUNUSED;
45714   }
45715   lua_error(L);
45716   return 0;
45717 }
45718 
45719 
_wrap_SBQueue_GetName(lua_State * L)45720 static int _wrap_SBQueue_GetName(lua_State* L) {
45721   {
45722     int SWIG_arg = 0;
45723     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45724     char *result = 0 ;
45725 
45726     SWIG_check_num_args("lldb::SBQueue::GetName",1,1)
45727     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetName",1,"lldb::SBQueue const *");
45728 
45729     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45730       SWIG_fail_ptr("SBQueue_GetName",1,SWIGTYPE_p_lldb__SBQueue);
45731     }
45732 
45733     result = (char *)((lldb::SBQueue const *)arg1)->GetName();
45734     lua_pushstring(L,(const char *)result); SWIG_arg++;
45735     return SWIG_arg;
45736 
45737     fail: SWIGUNUSED;
45738   }
45739   lua_error(L);
45740   return 0;
45741 }
45742 
45743 
_wrap_SBQueue_GetIndexID(lua_State * L)45744 static int _wrap_SBQueue_GetIndexID(lua_State* L) {
45745   {
45746     int SWIG_arg = 0;
45747     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45748     uint32_t result;
45749 
45750     SWIG_check_num_args("lldb::SBQueue::GetIndexID",1,1)
45751     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetIndexID",1,"lldb::SBQueue const *");
45752 
45753     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45754       SWIG_fail_ptr("SBQueue_GetIndexID",1,SWIGTYPE_p_lldb__SBQueue);
45755     }
45756 
45757     result = (uint32_t)((lldb::SBQueue const *)arg1)->GetIndexID();
45758     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45759     return SWIG_arg;
45760 
45761     fail: SWIGUNUSED;
45762   }
45763   lua_error(L);
45764   return 0;
45765 }
45766 
45767 
_wrap_SBQueue_GetNumThreads(lua_State * L)45768 static int _wrap_SBQueue_GetNumThreads(lua_State* L) {
45769   {
45770     int SWIG_arg = 0;
45771     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45772     uint32_t result;
45773 
45774     SWIG_check_num_args("lldb::SBQueue::GetNumThreads",1,1)
45775     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumThreads",1,"lldb::SBQueue *");
45776 
45777     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45778       SWIG_fail_ptr("SBQueue_GetNumThreads",1,SWIGTYPE_p_lldb__SBQueue);
45779     }
45780 
45781     result = (uint32_t)(arg1)->GetNumThreads();
45782     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45783     return SWIG_arg;
45784 
45785     fail: SWIGUNUSED;
45786   }
45787   lua_error(L);
45788   return 0;
45789 }
45790 
45791 
_wrap_SBQueue_GetThreadAtIndex(lua_State * L)45792 static int _wrap_SBQueue_GetThreadAtIndex(lua_State* L) {
45793   {
45794     int SWIG_arg = 0;
45795     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45796     uint32_t arg2 ;
45797     lldb::SBThread result;
45798 
45799     SWIG_check_num_args("lldb::SBQueue::GetThreadAtIndex",2,2)
45800     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",1,"lldb::SBQueue *");
45801     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetThreadAtIndex",2,"uint32_t");
45802 
45803     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45804       SWIG_fail_ptr("SBQueue_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBQueue);
45805     }
45806 
45807     arg2 = (uint32_t)lua_tointeger(L, 2);
45808     result = (arg1)->GetThreadAtIndex(arg2);
45809     {
45810       lldb::SBThread * resultptr = new lldb::SBThread(result);
45811       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
45812     }
45813     return SWIG_arg;
45814 
45815     fail: SWIGUNUSED;
45816   }
45817   lua_error(L);
45818   return 0;
45819 }
45820 
45821 
_wrap_SBQueue_GetNumPendingItems(lua_State * L)45822 static int _wrap_SBQueue_GetNumPendingItems(lua_State* L) {
45823   {
45824     int SWIG_arg = 0;
45825     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45826     uint32_t result;
45827 
45828     SWIG_check_num_args("lldb::SBQueue::GetNumPendingItems",1,1)
45829     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumPendingItems",1,"lldb::SBQueue *");
45830 
45831     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45832       SWIG_fail_ptr("SBQueue_GetNumPendingItems",1,SWIGTYPE_p_lldb__SBQueue);
45833     }
45834 
45835     result = (uint32_t)(arg1)->GetNumPendingItems();
45836     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45837     return SWIG_arg;
45838 
45839     fail: SWIGUNUSED;
45840   }
45841   lua_error(L);
45842   return 0;
45843 }
45844 
45845 
_wrap_SBQueue_GetPendingItemAtIndex(lua_State * L)45846 static int _wrap_SBQueue_GetPendingItemAtIndex(lua_State* L) {
45847   {
45848     int SWIG_arg = 0;
45849     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45850     uint32_t arg2 ;
45851     lldb::SBQueueItem result;
45852 
45853     SWIG_check_num_args("lldb::SBQueue::GetPendingItemAtIndex",2,2)
45854     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",1,"lldb::SBQueue *");
45855     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueue::GetPendingItemAtIndex",2,"uint32_t");
45856 
45857     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45858       SWIG_fail_ptr("SBQueue_GetPendingItemAtIndex",1,SWIGTYPE_p_lldb__SBQueue);
45859     }
45860 
45861     arg2 = (uint32_t)lua_tointeger(L, 2);
45862     result = (arg1)->GetPendingItemAtIndex(arg2);
45863     {
45864       lldb::SBQueueItem * resultptr = new lldb::SBQueueItem(result);
45865       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++;
45866     }
45867     return SWIG_arg;
45868 
45869     fail: SWIGUNUSED;
45870   }
45871   lua_error(L);
45872   return 0;
45873 }
45874 
45875 
_wrap_SBQueue_GetNumRunningItems(lua_State * L)45876 static int _wrap_SBQueue_GetNumRunningItems(lua_State* L) {
45877   {
45878     int SWIG_arg = 0;
45879     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45880     uint32_t result;
45881 
45882     SWIG_check_num_args("lldb::SBQueue::GetNumRunningItems",1,1)
45883     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetNumRunningItems",1,"lldb::SBQueue *");
45884 
45885     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45886       SWIG_fail_ptr("SBQueue_GetNumRunningItems",1,SWIGTYPE_p_lldb__SBQueue);
45887     }
45888 
45889     result = (uint32_t)(arg1)->GetNumRunningItems();
45890     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45891     return SWIG_arg;
45892 
45893     fail: SWIGUNUSED;
45894   }
45895   lua_error(L);
45896   return 0;
45897 }
45898 
45899 
_wrap_SBQueue_GetKind(lua_State * L)45900 static int _wrap_SBQueue_GetKind(lua_State* L) {
45901   {
45902     int SWIG_arg = 0;
45903     lldb::SBQueue *arg1 = (lldb::SBQueue *) 0 ;
45904     lldb::QueueKind result;
45905 
45906     SWIG_check_num_args("lldb::SBQueue::GetKind",1,1)
45907     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueue::GetKind",1,"lldb::SBQueue *");
45908 
45909     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueue,0))){
45910       SWIG_fail_ptr("SBQueue_GetKind",1,SWIGTYPE_p_lldb__SBQueue);
45911     }
45912 
45913     result = (lldb::QueueKind)(arg1)->GetKind();
45914     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
45915     return SWIG_arg;
45916 
45917     fail: SWIGUNUSED;
45918   }
45919   lua_error(L);
45920   return 0;
45921 }
45922 
45923 
swig_delete_SBQueue(void * obj)45924 static void swig_delete_SBQueue(void *obj) {
45925 lldb::SBQueue *arg1 = (lldb::SBQueue *) obj;
45926 delete arg1;
45927 }
_proxy__wrap_new_SBQueue(lua_State * L)45928 static int _proxy__wrap_new_SBQueue(lua_State *L) {
45929     assert(lua_istable(L,1));
45930     lua_pushcfunction(L,_wrap_new_SBQueue);
45931     assert(!lua_isnil(L,-1));
45932     lua_replace(L,1); /* replace our table with real constructor */
45933     lua_call(L,lua_gettop(L)-1,1);
45934     return 1;
45935 }
45936 static swig_lua_attribute swig_SBQueue_attributes[] = {
45937     {0,0,0}
45938 };
45939 static swig_lua_method swig_SBQueue_methods[]= {
45940     { "IsValid", _wrap_SBQueue_IsValid},
45941     { "Clear", _wrap_SBQueue_Clear},
45942     { "GetProcess", _wrap_SBQueue_GetProcess},
45943     { "GetQueueID", _wrap_SBQueue_GetQueueID},
45944     { "GetName", _wrap_SBQueue_GetName},
45945     { "GetIndexID", _wrap_SBQueue_GetIndexID},
45946     { "GetNumThreads", _wrap_SBQueue_GetNumThreads},
45947     { "GetThreadAtIndex", _wrap_SBQueue_GetThreadAtIndex},
45948     { "GetNumPendingItems", _wrap_SBQueue_GetNumPendingItems},
45949     { "GetPendingItemAtIndex", _wrap_SBQueue_GetPendingItemAtIndex},
45950     { "GetNumRunningItems", _wrap_SBQueue_GetNumRunningItems},
45951     { "GetKind", _wrap_SBQueue_GetKind},
45952     {0,0}
45953 };
45954 static swig_lua_method swig_SBQueue_meta[] = {
45955     {0,0}
45956 };
45957 
45958 static swig_lua_attribute swig_SBQueue_Sf_SwigStatic_attributes[] = {
45959     {0,0,0}
45960 };
45961 static swig_lua_const_info swig_SBQueue_Sf_SwigStatic_constants[]= {
45962     {0,0,0,0,0,0}
45963 };
45964 static swig_lua_method swig_SBQueue_Sf_SwigStatic_methods[]= {
45965     {0,0}
45966 };
45967 static swig_lua_class* swig_SBQueue_Sf_SwigStatic_classes[]= {
45968     0
45969 };
45970 
45971 static swig_lua_namespace swig_SBQueue_Sf_SwigStatic = {
45972     "SBQueue",
45973     swig_SBQueue_Sf_SwigStatic_methods,
45974     swig_SBQueue_Sf_SwigStatic_attributes,
45975     swig_SBQueue_Sf_SwigStatic_constants,
45976     swig_SBQueue_Sf_SwigStatic_classes,
45977     0
45978 };
45979 static swig_lua_class *swig_SBQueue_bases[] = {0};
45980 static const char *swig_SBQueue_base_names[] = {0};
45981 static swig_lua_class _wrap_class_SBQueue = { "SBQueue", "SBQueue", &SWIGTYPE_p_lldb__SBQueue,_proxy__wrap_new_SBQueue, swig_delete_SBQueue, swig_SBQueue_methods, swig_SBQueue_attributes, &swig_SBQueue_Sf_SwigStatic, swig_SBQueue_meta, swig_SBQueue_bases, swig_SBQueue_base_names };
45982 
_wrap_new_SBQueueItem(lua_State * L)45983 static int _wrap_new_SBQueueItem(lua_State* L) {
45984   {
45985     int SWIG_arg = 0;
45986     lldb::SBQueueItem *result = 0 ;
45987 
45988     SWIG_check_num_args("lldb::SBQueueItem::SBQueueItem",0,0)
45989     result = (lldb::SBQueueItem *)new lldb::SBQueueItem();
45990     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBQueueItem,1); SWIG_arg++;
45991     return SWIG_arg;
45992 
45993     fail: SWIGUNUSED;
45994   }
45995   lua_error(L);
45996   return 0;
45997 }
45998 
45999 
_wrap_SBQueueItem_IsValid(lua_State * L)46000 static int _wrap_SBQueueItem_IsValid(lua_State* L) {
46001   {
46002     int SWIG_arg = 0;
46003     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46004     bool result;
46005 
46006     SWIG_check_num_args("lldb::SBQueueItem::IsValid",1,1)
46007     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::IsValid",1,"lldb::SBQueueItem const *");
46008 
46009     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46010       SWIG_fail_ptr("SBQueueItem_IsValid",1,SWIGTYPE_p_lldb__SBQueueItem);
46011     }
46012 
46013     result = (bool)((lldb::SBQueueItem const *)arg1)->IsValid();
46014     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
46015     return SWIG_arg;
46016 
46017     fail: SWIGUNUSED;
46018   }
46019   lua_error(L);
46020   return 0;
46021 }
46022 
46023 
_wrap_SBQueueItem_Clear(lua_State * L)46024 static int _wrap_SBQueueItem_Clear(lua_State* L) {
46025   {
46026     int SWIG_arg = 0;
46027     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46028 
46029     SWIG_check_num_args("lldb::SBQueueItem::Clear",1,1)
46030     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::Clear",1,"lldb::SBQueueItem *");
46031 
46032     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46033       SWIG_fail_ptr("SBQueueItem_Clear",1,SWIGTYPE_p_lldb__SBQueueItem);
46034     }
46035 
46036     (arg1)->Clear();
46037 
46038     return SWIG_arg;
46039 
46040     fail: SWIGUNUSED;
46041   }
46042   lua_error(L);
46043   return 0;
46044 }
46045 
46046 
_wrap_SBQueueItem_GetKind(lua_State * L)46047 static int _wrap_SBQueueItem_GetKind(lua_State* L) {
46048   {
46049     int SWIG_arg = 0;
46050     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46051     lldb::QueueItemKind result;
46052 
46053     SWIG_check_num_args("lldb::SBQueueItem::GetKind",1,1)
46054     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetKind",1,"lldb::SBQueueItem const *");
46055 
46056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46057       SWIG_fail_ptr("SBQueueItem_GetKind",1,SWIGTYPE_p_lldb__SBQueueItem);
46058     }
46059 
46060     result = (lldb::QueueItemKind)((lldb::SBQueueItem const *)arg1)->GetKind();
46061     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46062     return SWIG_arg;
46063 
46064     fail: SWIGUNUSED;
46065   }
46066   lua_error(L);
46067   return 0;
46068 }
46069 
46070 
_wrap_SBQueueItem_SetKind(lua_State * L)46071 static int _wrap_SBQueueItem_SetKind(lua_State* L) {
46072   {
46073     int SWIG_arg = 0;
46074     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46075     lldb::QueueItemKind arg2 ;
46076 
46077     SWIG_check_num_args("lldb::SBQueueItem::SetKind",2,2)
46078     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",1,"lldb::SBQueueItem *");
46079     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetKind",2,"lldb::QueueItemKind");
46080 
46081     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46082       SWIG_fail_ptr("SBQueueItem_SetKind",1,SWIGTYPE_p_lldb__SBQueueItem);
46083     }
46084 
46085     arg2 = (lldb::QueueItemKind)lua_tointeger(L, 2);
46086     (arg1)->SetKind(arg2);
46087 
46088     return SWIG_arg;
46089 
46090     fail: SWIGUNUSED;
46091   }
46092   lua_error(L);
46093   return 0;
46094 }
46095 
46096 
_wrap_SBQueueItem_GetAddress(lua_State * L)46097 static int _wrap_SBQueueItem_GetAddress(lua_State* L) {
46098   {
46099     int SWIG_arg = 0;
46100     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46101     lldb::SBAddress result;
46102 
46103     SWIG_check_num_args("lldb::SBQueueItem::GetAddress",1,1)
46104     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetAddress",1,"lldb::SBQueueItem const *");
46105 
46106     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46107       SWIG_fail_ptr("SBQueueItem_GetAddress",1,SWIGTYPE_p_lldb__SBQueueItem);
46108     }
46109 
46110     result = ((lldb::SBQueueItem const *)arg1)->GetAddress();
46111     {
46112       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
46113       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
46114     }
46115     return SWIG_arg;
46116 
46117     fail: SWIGUNUSED;
46118   }
46119   lua_error(L);
46120   return 0;
46121 }
46122 
46123 
_wrap_SBQueueItem_SetAddress(lua_State * L)46124 static int _wrap_SBQueueItem_SetAddress(lua_State* L) {
46125   {
46126     int SWIG_arg = 0;
46127     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46128     lldb::SBAddress arg2 ;
46129     lldb::SBAddress *argp2 ;
46130 
46131     SWIG_check_num_args("lldb::SBQueueItem::SetAddress",2,2)
46132     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",1,"lldb::SBQueueItem *");
46133     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBQueueItem::SetAddress",2,"lldb::SBAddress");
46134 
46135     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46136       SWIG_fail_ptr("SBQueueItem_SetAddress",1,SWIGTYPE_p_lldb__SBQueueItem);
46137     }
46138 
46139 
46140     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
46141       SWIG_fail_ptr("SBQueueItem_SetAddress",2,SWIGTYPE_p_lldb__SBAddress);
46142     }
46143     arg2 = *argp2;
46144 
46145     (arg1)->SetAddress(arg2);
46146 
46147     return SWIG_arg;
46148 
46149     fail: SWIGUNUSED;
46150   }
46151   lua_error(L);
46152   return 0;
46153 }
46154 
46155 
_wrap_SBQueueItem_GetExtendedBacktraceThread(lua_State * L)46156 static int _wrap_SBQueueItem_GetExtendedBacktraceThread(lua_State* L) {
46157   {
46158     int SWIG_arg = 0;
46159     lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) 0 ;
46160     char *arg2 = (char *) 0 ;
46161     lldb::SBThread result;
46162 
46163     SWIG_check_num_args("lldb::SBQueueItem::GetExtendedBacktraceThread",2,2)
46164     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",1,"lldb::SBQueueItem *");
46165     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBQueueItem::GetExtendedBacktraceThread",2,"char const *");
46166 
46167     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBQueueItem,0))){
46168       SWIG_fail_ptr("SBQueueItem_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBQueueItem);
46169     }
46170 
46171     arg2 = (char *)lua_tostring(L, 2);
46172     result = (arg1)->GetExtendedBacktraceThread((char const *)arg2);
46173     {
46174       lldb::SBThread * resultptr = new lldb::SBThread(result);
46175       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
46176     }
46177     return SWIG_arg;
46178 
46179     fail: SWIGUNUSED;
46180   }
46181   lua_error(L);
46182   return 0;
46183 }
46184 
46185 
swig_delete_SBQueueItem(void * obj)46186 static void swig_delete_SBQueueItem(void *obj) {
46187 lldb::SBQueueItem *arg1 = (lldb::SBQueueItem *) obj;
46188 delete arg1;
46189 }
_proxy__wrap_new_SBQueueItem(lua_State * L)46190 static int _proxy__wrap_new_SBQueueItem(lua_State *L) {
46191     assert(lua_istable(L,1));
46192     lua_pushcfunction(L,_wrap_new_SBQueueItem);
46193     assert(!lua_isnil(L,-1));
46194     lua_replace(L,1); /* replace our table with real constructor */
46195     lua_call(L,lua_gettop(L)-1,1);
46196     return 1;
46197 }
46198 static swig_lua_attribute swig_SBQueueItem_attributes[] = {
46199     {0,0,0}
46200 };
46201 static swig_lua_method swig_SBQueueItem_methods[]= {
46202     { "IsValid", _wrap_SBQueueItem_IsValid},
46203     { "Clear", _wrap_SBQueueItem_Clear},
46204     { "GetKind", _wrap_SBQueueItem_GetKind},
46205     { "SetKind", _wrap_SBQueueItem_SetKind},
46206     { "GetAddress", _wrap_SBQueueItem_GetAddress},
46207     { "SetAddress", _wrap_SBQueueItem_SetAddress},
46208     { "GetExtendedBacktraceThread", _wrap_SBQueueItem_GetExtendedBacktraceThread},
46209     {0,0}
46210 };
46211 static swig_lua_method swig_SBQueueItem_meta[] = {
46212     {0,0}
46213 };
46214 
46215 static swig_lua_attribute swig_SBQueueItem_Sf_SwigStatic_attributes[] = {
46216     {0,0,0}
46217 };
46218 static swig_lua_const_info swig_SBQueueItem_Sf_SwigStatic_constants[]= {
46219     {0,0,0,0,0,0}
46220 };
46221 static swig_lua_method swig_SBQueueItem_Sf_SwigStatic_methods[]= {
46222     {0,0}
46223 };
46224 static swig_lua_class* swig_SBQueueItem_Sf_SwigStatic_classes[]= {
46225     0
46226 };
46227 
46228 static swig_lua_namespace swig_SBQueueItem_Sf_SwigStatic = {
46229     "SBQueueItem",
46230     swig_SBQueueItem_Sf_SwigStatic_methods,
46231     swig_SBQueueItem_Sf_SwigStatic_attributes,
46232     swig_SBQueueItem_Sf_SwigStatic_constants,
46233     swig_SBQueueItem_Sf_SwigStatic_classes,
46234     0
46235 };
46236 static swig_lua_class *swig_SBQueueItem_bases[] = {0};
46237 static const char *swig_SBQueueItem_base_names[] = {0};
46238 static swig_lua_class _wrap_class_SBQueueItem = { "SBQueueItem", "SBQueueItem", &SWIGTYPE_p_lldb__SBQueueItem,_proxy__wrap_new_SBQueueItem, swig_delete_SBQueueItem, swig_SBQueueItem_methods, swig_SBQueueItem_attributes, &swig_SBQueueItem_Sf_SwigStatic, swig_SBQueueItem_meta, swig_SBQueueItem_bases, swig_SBQueueItem_base_names };
46239 
_wrap_SBReproducer_Capture(lua_State * L)46240 static int _wrap_SBReproducer_Capture(lua_State* L) {
46241   {
46242     int SWIG_arg = 0;
46243     char *arg1 = (char *) 0 ;
46244     char *result = 0 ;
46245 
46246     SWIG_check_num_args("lldb::SBReproducer::Capture",1,1)
46247     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::Capture",1,"char const *");
46248     arg1 = (char *)lua_tostring(L, 1);
46249     result = (char *)lldb::SBReproducer::Capture((char const *)arg1);
46250     lua_pushstring(L,(const char *)result); SWIG_arg++;
46251     return SWIG_arg;
46252 
46253     fail: SWIGUNUSED;
46254   }
46255   lua_error(L);
46256   return 0;
46257 }
46258 
46259 
_wrap_SBReproducer_PassiveReplay(lua_State * L)46260 static int _wrap_SBReproducer_PassiveReplay(lua_State* L) {
46261   {
46262     int SWIG_arg = 0;
46263     char *arg1 = (char *) 0 ;
46264     char *result = 0 ;
46265 
46266     SWIG_check_num_args("lldb::SBReproducer::PassiveReplay",1,1)
46267     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::PassiveReplay",1,"char const *");
46268     arg1 = (char *)lua_tostring(L, 1);
46269     result = (char *)lldb::SBReproducer::PassiveReplay((char const *)arg1);
46270     lua_pushstring(L,(const char *)result); SWIG_arg++;
46271     return SWIG_arg;
46272 
46273     fail: SWIGUNUSED;
46274   }
46275   lua_error(L);
46276   return 0;
46277 }
46278 
46279 
_wrap_SBReproducer_SetAutoGenerate(lua_State * L)46280 static int _wrap_SBReproducer_SetAutoGenerate(lua_State* L) {
46281   {
46282     int SWIG_arg = 0;
46283     bool arg1 ;
46284     bool result;
46285 
46286     SWIG_check_num_args("lldb::SBReproducer::SetAutoGenerate",1,1)
46287     if(!lua_isboolean(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetAutoGenerate",1,"bool");
46288     arg1 = (lua_toboolean(L, 1)!=0);
46289     result = (bool)lldb::SBReproducer::SetAutoGenerate(arg1);
46290     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
46291     return SWIG_arg;
46292 
46293     fail: SWIGUNUSED;
46294   }
46295   lua_error(L);
46296   return 0;
46297 }
46298 
46299 
_wrap_SBReproducer_SetWorkingDirectory(lua_State * L)46300 static int _wrap_SBReproducer_SetWorkingDirectory(lua_State* L) {
46301   {
46302     int SWIG_arg = 0;
46303     char *arg1 = (char *) 0 ;
46304 
46305     SWIG_check_num_args("lldb::SBReproducer::SetWorkingDirectory",1,1)
46306     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBReproducer::SetWorkingDirectory",1,"char const *");
46307     arg1 = (char *)lua_tostring(L, 1);
46308     lldb::SBReproducer::SetWorkingDirectory((char const *)arg1);
46309 
46310     return SWIG_arg;
46311 
46312     fail: SWIGUNUSED;
46313   }
46314   lua_error(L);
46315   return 0;
46316 }
46317 
46318 
_wrap_new_SBReproducer(lua_State * L)46319 static int _wrap_new_SBReproducer(lua_State* L) {
46320   {
46321     int SWIG_arg = 0;
46322     lldb::SBReproducer *result = 0 ;
46323 
46324     SWIG_check_num_args("lldb::SBReproducer::SBReproducer",0,0)
46325     result = (lldb::SBReproducer *)new lldb::SBReproducer();
46326     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBReproducer,1); SWIG_arg++;
46327     return SWIG_arg;
46328 
46329     fail: SWIGUNUSED;
46330   }
46331   lua_error(L);
46332   return 0;
46333 }
46334 
46335 
swig_delete_SBReproducer(void * obj)46336 static void swig_delete_SBReproducer(void *obj) {
46337 lldb::SBReproducer *arg1 = (lldb::SBReproducer *) obj;
46338 delete arg1;
46339 }
_proxy__wrap_new_SBReproducer(lua_State * L)46340 static int _proxy__wrap_new_SBReproducer(lua_State *L) {
46341     assert(lua_istable(L,1));
46342     lua_pushcfunction(L,_wrap_new_SBReproducer);
46343     assert(!lua_isnil(L,-1));
46344     lua_replace(L,1); /* replace our table with real constructor */
46345     lua_call(L,lua_gettop(L)-1,1);
46346     return 1;
46347 }
46348 static swig_lua_attribute swig_SBReproducer_attributes[] = {
46349     {0,0,0}
46350 };
46351 static swig_lua_method swig_SBReproducer_methods[]= {
46352     {0,0}
46353 };
46354 static swig_lua_method swig_SBReproducer_meta[] = {
46355     {0,0}
46356 };
46357 
46358 static swig_lua_attribute swig_SBReproducer_Sf_SwigStatic_attributes[] = {
46359     {0,0,0}
46360 };
46361 static swig_lua_const_info swig_SBReproducer_Sf_SwigStatic_constants[]= {
46362     {0,0,0,0,0,0}
46363 };
46364 static swig_lua_method swig_SBReproducer_Sf_SwigStatic_methods[]= {
46365     { "Capture", _wrap_SBReproducer_Capture},
46366     { "PassiveReplay", _wrap_SBReproducer_PassiveReplay},
46367     { "SetAutoGenerate", _wrap_SBReproducer_SetAutoGenerate},
46368     { "SetWorkingDirectory", _wrap_SBReproducer_SetWorkingDirectory},
46369     {0,0}
46370 };
46371 static swig_lua_class* swig_SBReproducer_Sf_SwigStatic_classes[]= {
46372     0
46373 };
46374 
46375 static swig_lua_namespace swig_SBReproducer_Sf_SwigStatic = {
46376     "SBReproducer",
46377     swig_SBReproducer_Sf_SwigStatic_methods,
46378     swig_SBReproducer_Sf_SwigStatic_attributes,
46379     swig_SBReproducer_Sf_SwigStatic_constants,
46380     swig_SBReproducer_Sf_SwigStatic_classes,
46381     0
46382 };
46383 static swig_lua_class *swig_SBReproducer_bases[] = {0};
46384 static const char *swig_SBReproducer_base_names[] = {0};
46385 static swig_lua_class _wrap_class_SBReproducer = { "SBReproducer", "SBReproducer", &SWIGTYPE_p_lldb__SBReproducer,_proxy__wrap_new_SBReproducer, swig_delete_SBReproducer, swig_SBReproducer_methods, swig_SBReproducer_attributes, &swig_SBReproducer_Sf_SwigStatic, swig_SBReproducer_meta, swig_SBReproducer_bases, swig_SBReproducer_base_names };
46386 
_wrap_new_SBScriptObject__SWIG_0(lua_State * L)46387 static int _wrap_new_SBScriptObject__SWIG_0(lua_State* L) {
46388   {
46389     int SWIG_arg = 0;
46390     lldb::ScriptObjectPtr arg1 = (lldb::ScriptObjectPtr) (lldb::ScriptObjectPtr)0 ;
46391     lldb::ScriptLanguage arg2 ;
46392     lldb::SBScriptObject *result = 0 ;
46393 
46394     SWIG_check_num_args("lldb::SBScriptObject::SBScriptObject",2,2)
46395     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBScriptObject::SBScriptObject",1,"lldb::ScriptObjectPtr const");
46396     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBScriptObject::SBScriptObject",2,"lldb::ScriptLanguage");
46397     arg1=(lldb::ScriptObjectPtr)SWIG_MustGetPtr(L,1,0,0,1,"new_SBScriptObject");
46398     arg2 = (lldb::ScriptLanguage)lua_tointeger(L, 2);
46399     result = (lldb::SBScriptObject *)new lldb::SBScriptObject(arg1,arg2);
46400     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBScriptObject,1); SWIG_arg++;
46401     return SWIG_arg;
46402 
46403     fail: SWIGUNUSED;
46404   }
46405   lua_error(L);
46406   return 0;
46407 }
46408 
46409 
_wrap_new_SBScriptObject__SWIG_1(lua_State * L)46410 static int _wrap_new_SBScriptObject__SWIG_1(lua_State* L) {
46411   {
46412     int SWIG_arg = 0;
46413     lldb::SBScriptObject *arg1 = 0 ;
46414     lldb::SBScriptObject *result = 0 ;
46415 
46416     SWIG_check_num_args("lldb::SBScriptObject::SBScriptObject",1,1)
46417     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBScriptObject::SBScriptObject",1,"lldb::SBScriptObject const &");
46418 
46419     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBScriptObject,0))){
46420       SWIG_fail_ptr("new_SBScriptObject",1,SWIGTYPE_p_lldb__SBScriptObject);
46421     }
46422 
46423     result = (lldb::SBScriptObject *)new lldb::SBScriptObject((lldb::SBScriptObject const &)*arg1);
46424     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBScriptObject,1); SWIG_arg++;
46425     return SWIG_arg;
46426 
46427     fail: SWIGUNUSED;
46428   }
46429   lua_error(L);
46430   return 0;
46431 }
46432 
46433 
_wrap_new_SBScriptObject(lua_State * L)46434 static int _wrap_new_SBScriptObject(lua_State* L) {
46435   int argc;
46436   int argv[3]={
46437     1,2,3
46438   };
46439 
46440   argc = lua_gettop(L);
46441   if (argc == 1) {
46442     int _v = 0;
46443     {
46444       void *ptr;
46445       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBScriptObject, SWIG_POINTER_NO_NULL)) {
46446         _v = 0;
46447       } else {
46448         _v = 1;
46449       }
46450     }
46451     if (_v) {
46452       return _wrap_new_SBScriptObject__SWIG_1(L);
46453     }
46454   }
46455   if (argc == 2) {
46456     int _v = 0;
46457     {
46458       void *ptr;
46459       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, 0, 0)) {
46460         _v = 0;
46461       } else {
46462         _v = 1;
46463       }
46464     }
46465     if (_v) {
46466       {
46467         _v = lua_isnumber(L,argv[1]);
46468       }
46469       if (_v) {
46470         return _wrap_new_SBScriptObject__SWIG_0(L);
46471       }
46472     }
46473   }
46474 
46475   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBScriptObject'\n"
46476     "  Possible C/C++ prototypes are:\n"
46477     "    lldb::SBScriptObject::SBScriptObject(lldb::ScriptObjectPtr const,lldb::ScriptLanguage)\n"
46478     "    lldb::SBScriptObject::SBScriptObject(lldb::SBScriptObject const &)\n");
46479   lua_error(L);return 0;
46480 }
46481 
46482 
_wrap_SBScriptObject_IsValid(lua_State * L)46483 static int _wrap_SBScriptObject_IsValid(lua_State* L) {
46484   {
46485     int SWIG_arg = 0;
46486     lldb::SBScriptObject *arg1 = (lldb::SBScriptObject *) 0 ;
46487     bool result;
46488 
46489     SWIG_check_num_args("lldb::SBScriptObject::IsValid",1,1)
46490     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBScriptObject::IsValid",1,"lldb::SBScriptObject const *");
46491 
46492     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBScriptObject,0))){
46493       SWIG_fail_ptr("SBScriptObject_IsValid",1,SWIGTYPE_p_lldb__SBScriptObject);
46494     }
46495 
46496     result = (bool)((lldb::SBScriptObject const *)arg1)->IsValid();
46497     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
46498     return SWIG_arg;
46499 
46500     fail: SWIGUNUSED;
46501   }
46502   lua_error(L);
46503   return 0;
46504 }
46505 
46506 
_wrap_SBScriptObject_GetPointer(lua_State * L)46507 static int _wrap_SBScriptObject_GetPointer(lua_State* L) {
46508   {
46509     int SWIG_arg = 0;
46510     lldb::SBScriptObject *arg1 = (lldb::SBScriptObject *) 0 ;
46511     lldb::ScriptObjectPtr result;
46512 
46513     SWIG_check_num_args("lldb::SBScriptObject::GetPointer",1,1)
46514     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBScriptObject::GetPointer",1,"lldb::SBScriptObject const *");
46515 
46516     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBScriptObject,0))){
46517       SWIG_fail_ptr("SBScriptObject_GetPointer",1,SWIGTYPE_p_lldb__SBScriptObject);
46518     }
46519 
46520     result = (lldb::ScriptObjectPtr)((lldb::SBScriptObject const *)arg1)->GetPointer();
46521     SWIG_NewPointerObj(L,result,SWIGTYPE_p_void,0); SWIG_arg++;
46522     return SWIG_arg;
46523 
46524     fail: SWIGUNUSED;
46525   }
46526   lua_error(L);
46527   return 0;
46528 }
46529 
46530 
_wrap_SBScriptObject_GetLanguage(lua_State * L)46531 static int _wrap_SBScriptObject_GetLanguage(lua_State* L) {
46532   {
46533     int SWIG_arg = 0;
46534     lldb::SBScriptObject *arg1 = (lldb::SBScriptObject *) 0 ;
46535     lldb::ScriptLanguage result;
46536 
46537     SWIG_check_num_args("lldb::SBScriptObject::GetLanguage",1,1)
46538     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBScriptObject::GetLanguage",1,"lldb::SBScriptObject const *");
46539 
46540     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBScriptObject,0))){
46541       SWIG_fail_ptr("SBScriptObject_GetLanguage",1,SWIGTYPE_p_lldb__SBScriptObject);
46542     }
46543 
46544     result = (lldb::ScriptLanguage)((lldb::SBScriptObject const *)arg1)->GetLanguage();
46545     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46546     return SWIG_arg;
46547 
46548     fail: SWIGUNUSED;
46549   }
46550   lua_error(L);
46551   return 0;
46552 }
46553 
46554 
swig_delete_SBScriptObject(void * obj)46555 static void swig_delete_SBScriptObject(void *obj) {
46556 lldb::SBScriptObject *arg1 = (lldb::SBScriptObject *) obj;
46557 delete arg1;
46558 }
_proxy__wrap_new_SBScriptObject(lua_State * L)46559 static int _proxy__wrap_new_SBScriptObject(lua_State *L) {
46560     assert(lua_istable(L,1));
46561     lua_pushcfunction(L,_wrap_new_SBScriptObject);
46562     assert(!lua_isnil(L,-1));
46563     lua_replace(L,1); /* replace our table with real constructor */
46564     lua_call(L,lua_gettop(L)-1,1);
46565     return 1;
46566 }
46567 static swig_lua_attribute swig_SBScriptObject_attributes[] = {
46568     {0,0,0}
46569 };
46570 static swig_lua_method swig_SBScriptObject_methods[]= {
46571     { "IsValid", _wrap_SBScriptObject_IsValid},
46572     { "GetPointer", _wrap_SBScriptObject_GetPointer},
46573     { "GetLanguage", _wrap_SBScriptObject_GetLanguage},
46574     {0,0}
46575 };
46576 static swig_lua_method swig_SBScriptObject_meta[] = {
46577     {0,0}
46578 };
46579 
46580 static swig_lua_attribute swig_SBScriptObject_Sf_SwigStatic_attributes[] = {
46581     {0,0,0}
46582 };
46583 static swig_lua_const_info swig_SBScriptObject_Sf_SwigStatic_constants[]= {
46584     {0,0,0,0,0,0}
46585 };
46586 static swig_lua_method swig_SBScriptObject_Sf_SwigStatic_methods[]= {
46587     {0,0}
46588 };
46589 static swig_lua_class* swig_SBScriptObject_Sf_SwigStatic_classes[]= {
46590     0
46591 };
46592 
46593 static swig_lua_namespace swig_SBScriptObject_Sf_SwigStatic = {
46594     "SBScriptObject",
46595     swig_SBScriptObject_Sf_SwigStatic_methods,
46596     swig_SBScriptObject_Sf_SwigStatic_attributes,
46597     swig_SBScriptObject_Sf_SwigStatic_constants,
46598     swig_SBScriptObject_Sf_SwigStatic_classes,
46599     0
46600 };
46601 static swig_lua_class *swig_SBScriptObject_bases[] = {0};
46602 static const char *swig_SBScriptObject_base_names[] = {0};
46603 static swig_lua_class _wrap_class_SBScriptObject = { "SBScriptObject", "SBScriptObject", &SWIGTYPE_p_lldb__SBScriptObject,_proxy__wrap_new_SBScriptObject, swig_delete_SBScriptObject, swig_SBScriptObject_methods, swig_SBScriptObject_attributes, &swig_SBScriptObject_Sf_SwigStatic, swig_SBScriptObject_meta, swig_SBScriptObject_bases, swig_SBScriptObject_base_names };
46604 
_wrap_new_SBSection__SWIG_0(lua_State * L)46605 static int _wrap_new_SBSection__SWIG_0(lua_State* L) {
46606   {
46607     int SWIG_arg = 0;
46608     lldb::SBSection *result = 0 ;
46609 
46610     SWIG_check_num_args("lldb::SBSection::SBSection",0,0)
46611     result = (lldb::SBSection *)new lldb::SBSection();
46612     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
46613     return SWIG_arg;
46614 
46615     fail: SWIGUNUSED;
46616   }
46617   lua_error(L);
46618   return 0;
46619 }
46620 
46621 
_wrap_new_SBSection__SWIG_1(lua_State * L)46622 static int _wrap_new_SBSection__SWIG_1(lua_State* L) {
46623   {
46624     int SWIG_arg = 0;
46625     lldb::SBSection *arg1 = 0 ;
46626     lldb::SBSection *result = 0 ;
46627 
46628     SWIG_check_num_args("lldb::SBSection::SBSection",1,1)
46629     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSection::SBSection",1,"lldb::SBSection const &");
46630 
46631     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46632       SWIG_fail_ptr("new_SBSection",1,SWIGTYPE_p_lldb__SBSection);
46633     }
46634 
46635     result = (lldb::SBSection *)new lldb::SBSection((lldb::SBSection const &)*arg1);
46636     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
46637     return SWIG_arg;
46638 
46639     fail: SWIGUNUSED;
46640   }
46641   lua_error(L);
46642   return 0;
46643 }
46644 
46645 
_wrap_new_SBSection(lua_State * L)46646 static int _wrap_new_SBSection(lua_State* L) {
46647   int argc;
46648   int argv[2]={
46649     1,2
46650   };
46651 
46652   argc = lua_gettop(L);
46653   if (argc == 0) {
46654     return _wrap_new_SBSection__SWIG_0(L);
46655   }
46656   if (argc == 1) {
46657     int _v = 0;
46658     {
46659       void *ptr;
46660       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) {
46661         _v = 0;
46662       } else {
46663         _v = 1;
46664       }
46665     }
46666     if (_v) {
46667       return _wrap_new_SBSection__SWIG_1(L);
46668     }
46669   }
46670 
46671   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBSection'\n"
46672     "  Possible C/C++ prototypes are:\n"
46673     "    lldb::SBSection::SBSection()\n"
46674     "    lldb::SBSection::SBSection(lldb::SBSection const &)\n");
46675   lua_error(L);return 0;
46676 }
46677 
46678 
_wrap_SBSection_IsValid(lua_State * L)46679 static int _wrap_SBSection_IsValid(lua_State* L) {
46680   {
46681     int SWIG_arg = 0;
46682     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46683     bool result;
46684 
46685     SWIG_check_num_args("lldb::SBSection::IsValid",1,1)
46686     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::IsValid",1,"lldb::SBSection const *");
46687 
46688     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46689       SWIG_fail_ptr("SBSection_IsValid",1,SWIGTYPE_p_lldb__SBSection);
46690     }
46691 
46692     result = (bool)((lldb::SBSection const *)arg1)->IsValid();
46693     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
46694     return SWIG_arg;
46695 
46696     fail: SWIGUNUSED;
46697   }
46698   lua_error(L);
46699   return 0;
46700 }
46701 
46702 
_wrap_SBSection_GetName(lua_State * L)46703 static int _wrap_SBSection_GetName(lua_State* L) {
46704   {
46705     int SWIG_arg = 0;
46706     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46707     char *result = 0 ;
46708 
46709     SWIG_check_num_args("lldb::SBSection::GetName",1,1)
46710     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetName",1,"lldb::SBSection *");
46711 
46712     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46713       SWIG_fail_ptr("SBSection_GetName",1,SWIGTYPE_p_lldb__SBSection);
46714     }
46715 
46716     result = (char *)(arg1)->GetName();
46717     lua_pushstring(L,(const char *)result); SWIG_arg++;
46718     return SWIG_arg;
46719 
46720     fail: SWIGUNUSED;
46721   }
46722   lua_error(L);
46723   return 0;
46724 }
46725 
46726 
_wrap_SBSection_GetParent(lua_State * L)46727 static int _wrap_SBSection_GetParent(lua_State* L) {
46728   {
46729     int SWIG_arg = 0;
46730     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46731     lldb::SBSection result;
46732 
46733     SWIG_check_num_args("lldb::SBSection::GetParent",1,1)
46734     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetParent",1,"lldb::SBSection *");
46735 
46736     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46737       SWIG_fail_ptr("SBSection_GetParent",1,SWIGTYPE_p_lldb__SBSection);
46738     }
46739 
46740     result = (arg1)->GetParent();
46741     {
46742       lldb::SBSection * resultptr = new lldb::SBSection(result);
46743       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
46744     }
46745     return SWIG_arg;
46746 
46747     fail: SWIGUNUSED;
46748   }
46749   lua_error(L);
46750   return 0;
46751 }
46752 
46753 
_wrap_SBSection_FindSubSection(lua_State * L)46754 static int _wrap_SBSection_FindSubSection(lua_State* L) {
46755   {
46756     int SWIG_arg = 0;
46757     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46758     char *arg2 = (char *) 0 ;
46759     lldb::SBSection result;
46760 
46761     SWIG_check_num_args("lldb::SBSection::FindSubSection",2,2)
46762     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::FindSubSection",1,"lldb::SBSection *");
46763     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBSection::FindSubSection",2,"char const *");
46764 
46765     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46766       SWIG_fail_ptr("SBSection_FindSubSection",1,SWIGTYPE_p_lldb__SBSection);
46767     }
46768 
46769     arg2 = (char *)lua_tostring(L, 2);
46770     result = (arg1)->FindSubSection((char const *)arg2);
46771     {
46772       lldb::SBSection * resultptr = new lldb::SBSection(result);
46773       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
46774     }
46775     return SWIG_arg;
46776 
46777     fail: SWIGUNUSED;
46778   }
46779   lua_error(L);
46780   return 0;
46781 }
46782 
46783 
_wrap_SBSection_GetNumSubSections(lua_State * L)46784 static int _wrap_SBSection_GetNumSubSections(lua_State* L) {
46785   {
46786     int SWIG_arg = 0;
46787     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46788     size_t result;
46789 
46790     SWIG_check_num_args("lldb::SBSection::GetNumSubSections",1,1)
46791     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetNumSubSections",1,"lldb::SBSection *");
46792 
46793     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46794       SWIG_fail_ptr("SBSection_GetNumSubSections",1,SWIGTYPE_p_lldb__SBSection);
46795     }
46796 
46797     result = (arg1)->GetNumSubSections();
46798     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46799     return SWIG_arg;
46800 
46801     fail: SWIGUNUSED;
46802   }
46803   lua_error(L);
46804   return 0;
46805 }
46806 
46807 
_wrap_SBSection_GetSubSectionAtIndex(lua_State * L)46808 static int _wrap_SBSection_GetSubSectionAtIndex(lua_State* L) {
46809   {
46810     int SWIG_arg = 0;
46811     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46812     size_t arg2 ;
46813     lldb::SBSection result;
46814 
46815     SWIG_check_num_args("lldb::SBSection::GetSubSectionAtIndex",2,2)
46816     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",1,"lldb::SBSection *");
46817     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSubSectionAtIndex",2,"size_t");
46818 
46819     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46820       SWIG_fail_ptr("SBSection_GetSubSectionAtIndex",1,SWIGTYPE_p_lldb__SBSection);
46821     }
46822 
46823     arg2 = (size_t)lua_tointeger(L, 2);
46824     result = (arg1)->GetSubSectionAtIndex(arg2);
46825     {
46826       lldb::SBSection * resultptr = new lldb::SBSection(result);
46827       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSection,1); SWIG_arg++;
46828     }
46829     return SWIG_arg;
46830 
46831     fail: SWIGUNUSED;
46832   }
46833   lua_error(L);
46834   return 0;
46835 }
46836 
46837 
_wrap_SBSection_GetFileAddress(lua_State * L)46838 static int _wrap_SBSection_GetFileAddress(lua_State* L) {
46839   {
46840     int SWIG_arg = 0;
46841     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46842     lldb::addr_t result;
46843 
46844     SWIG_check_num_args("lldb::SBSection::GetFileAddress",1,1)
46845     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileAddress",1,"lldb::SBSection *");
46846 
46847     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46848       SWIG_fail_ptr("SBSection_GetFileAddress",1,SWIGTYPE_p_lldb__SBSection);
46849     }
46850 
46851     result = (lldb::addr_t)(arg1)->GetFileAddress();
46852     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46853     return SWIG_arg;
46854 
46855     fail: SWIGUNUSED;
46856   }
46857   lua_error(L);
46858   return 0;
46859 }
46860 
46861 
_wrap_SBSection_GetLoadAddress(lua_State * L)46862 static int _wrap_SBSection_GetLoadAddress(lua_State* L) {
46863   {
46864     int SWIG_arg = 0;
46865     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46866     lldb::SBTarget *arg2 = 0 ;
46867     lldb::addr_t result;
46868 
46869     SWIG_check_num_args("lldb::SBSection::GetLoadAddress",2,2)
46870     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",1,"lldb::SBSection *");
46871     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetLoadAddress",2,"lldb::SBTarget &");
46872 
46873     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46874       SWIG_fail_ptr("SBSection_GetLoadAddress",1,SWIGTYPE_p_lldb__SBSection);
46875     }
46876 
46877 
46878     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
46879       SWIG_fail_ptr("SBSection_GetLoadAddress",2,SWIGTYPE_p_lldb__SBTarget);
46880     }
46881 
46882     result = (lldb::addr_t)(arg1)->GetLoadAddress(*arg2);
46883     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46884     return SWIG_arg;
46885 
46886     fail: SWIGUNUSED;
46887   }
46888   lua_error(L);
46889   return 0;
46890 }
46891 
46892 
_wrap_SBSection_GetByteSize(lua_State * L)46893 static int _wrap_SBSection_GetByteSize(lua_State* L) {
46894   {
46895     int SWIG_arg = 0;
46896     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46897     lldb::addr_t result;
46898 
46899     SWIG_check_num_args("lldb::SBSection::GetByteSize",1,1)
46900     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetByteSize",1,"lldb::SBSection *");
46901 
46902     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46903       SWIG_fail_ptr("SBSection_GetByteSize",1,SWIGTYPE_p_lldb__SBSection);
46904     }
46905 
46906     result = (lldb::addr_t)(arg1)->GetByteSize();
46907     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46908     return SWIG_arg;
46909 
46910     fail: SWIGUNUSED;
46911   }
46912   lua_error(L);
46913   return 0;
46914 }
46915 
46916 
_wrap_SBSection_GetFileOffset(lua_State * L)46917 static int _wrap_SBSection_GetFileOffset(lua_State* L) {
46918   {
46919     int SWIG_arg = 0;
46920     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46921     uint64_t result;
46922 
46923     SWIG_check_num_args("lldb::SBSection::GetFileOffset",1,1)
46924     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileOffset",1,"lldb::SBSection *");
46925 
46926     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46927       SWIG_fail_ptr("SBSection_GetFileOffset",1,SWIGTYPE_p_lldb__SBSection);
46928     }
46929 
46930     result = (uint64_t)(arg1)->GetFileOffset();
46931     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46932     return SWIG_arg;
46933 
46934     fail: SWIGUNUSED;
46935   }
46936   lua_error(L);
46937   return 0;
46938 }
46939 
46940 
_wrap_SBSection_GetFileByteSize(lua_State * L)46941 static int _wrap_SBSection_GetFileByteSize(lua_State* L) {
46942   {
46943     int SWIG_arg = 0;
46944     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46945     uint64_t result;
46946 
46947     SWIG_check_num_args("lldb::SBSection::GetFileByteSize",1,1)
46948     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetFileByteSize",1,"lldb::SBSection *");
46949 
46950     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46951       SWIG_fail_ptr("SBSection_GetFileByteSize",1,SWIGTYPE_p_lldb__SBSection);
46952     }
46953 
46954     result = (uint64_t)(arg1)->GetFileByteSize();
46955     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
46956     return SWIG_arg;
46957 
46958     fail: SWIGUNUSED;
46959   }
46960   lua_error(L);
46961   return 0;
46962 }
46963 
46964 
_wrap_SBSection_GetSectionData__SWIG_0(lua_State * L)46965 static int _wrap_SBSection_GetSectionData__SWIG_0(lua_State* L) {
46966   {
46967     int SWIG_arg = 0;
46968     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46969     lldb::SBData result;
46970 
46971     SWIG_check_num_args("lldb::SBSection::GetSectionData",1,1)
46972     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *");
46973 
46974     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
46975       SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection);
46976     }
46977 
46978     result = (arg1)->GetSectionData();
46979     {
46980       lldb::SBData * resultptr = new lldb::SBData(result);
46981       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
46982     }
46983     return SWIG_arg;
46984 
46985     fail: SWIGUNUSED;
46986   }
46987   lua_error(L);
46988   return 0;
46989 }
46990 
46991 
_wrap_SBSection_GetSectionData__SWIG_1(lua_State * L)46992 static int _wrap_SBSection_GetSectionData__SWIG_1(lua_State* L) {
46993   {
46994     int SWIG_arg = 0;
46995     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
46996     uint64_t arg2 ;
46997     uint64_t arg3 ;
46998     lldb::SBData result;
46999 
47000     SWIG_check_num_args("lldb::SBSection::GetSectionData",3,3)
47001     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionData",1,"lldb::SBSection *");
47002     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSection::GetSectionData",2,"uint64_t");
47003     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSection::GetSectionData",3,"uint64_t");
47004 
47005     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47006       SWIG_fail_ptr("SBSection_GetSectionData",1,SWIGTYPE_p_lldb__SBSection);
47007     }
47008 
47009     arg2 = (uint64_t)lua_tointeger(L, 2);
47010     arg3 = (uint64_t)lua_tointeger(L, 3);
47011     result = (arg1)->GetSectionData(arg2,arg3);
47012     {
47013       lldb::SBData * resultptr = new lldb::SBData(result);
47014       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
47015     }
47016     return SWIG_arg;
47017 
47018     fail: SWIGUNUSED;
47019   }
47020   lua_error(L);
47021   return 0;
47022 }
47023 
47024 
_wrap_SBSection_GetSectionData(lua_State * L)47025 static int _wrap_SBSection_GetSectionData(lua_State* L) {
47026   int argc;
47027   int argv[4]={
47028     1,2,3,4
47029   };
47030 
47031   argc = lua_gettop(L);
47032   if (argc == 1) {
47033     int _v = 0;
47034     {
47035       void *ptr;
47036       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) {
47037         _v = 0;
47038       } else {
47039         _v = 1;
47040       }
47041     }
47042     if (_v) {
47043       return _wrap_SBSection_GetSectionData__SWIG_0(L);
47044     }
47045   }
47046   if (argc == 3) {
47047     int _v = 0;
47048     {
47049       void *ptr;
47050       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) {
47051         _v = 0;
47052       } else {
47053         _v = 1;
47054       }
47055     }
47056     if (_v) {
47057       {
47058         _v = lua_isnumber(L,argv[1]);
47059       }
47060       if (_v) {
47061         {
47062           _v = lua_isnumber(L,argv[2]);
47063         }
47064         if (_v) {
47065           return _wrap_SBSection_GetSectionData__SWIG_1(L);
47066         }
47067       }
47068     }
47069   }
47070 
47071   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBSection_GetSectionData'\n"
47072     "  Possible C/C++ prototypes are:\n"
47073     "    lldb::SBSection::GetSectionData()\n"
47074     "    lldb::SBSection::GetSectionData(uint64_t,uint64_t)\n");
47075   lua_error(L);return 0;
47076 }
47077 
47078 
_wrap_SBSection_GetSectionType(lua_State * L)47079 static int _wrap_SBSection_GetSectionType(lua_State* L) {
47080   {
47081     int SWIG_arg = 0;
47082     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47083     lldb::SectionType result;
47084 
47085     SWIG_check_num_args("lldb::SBSection::GetSectionType",1,1)
47086     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetSectionType",1,"lldb::SBSection *");
47087 
47088     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47089       SWIG_fail_ptr("SBSection_GetSectionType",1,SWIGTYPE_p_lldb__SBSection);
47090     }
47091 
47092     result = (lldb::SectionType)(arg1)->GetSectionType();
47093     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47094     return SWIG_arg;
47095 
47096     fail: SWIGUNUSED;
47097   }
47098   lua_error(L);
47099   return 0;
47100 }
47101 
47102 
_wrap_SBSection_GetPermissions(lua_State * L)47103 static int _wrap_SBSection_GetPermissions(lua_State* L) {
47104   {
47105     int SWIG_arg = 0;
47106     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47107     uint32_t result;
47108 
47109     SWIG_check_num_args("lldb::SBSection::GetPermissions",1,1)
47110     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetPermissions",1,"lldb::SBSection const *");
47111 
47112     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47113       SWIG_fail_ptr("SBSection_GetPermissions",1,SWIGTYPE_p_lldb__SBSection);
47114     }
47115 
47116     result = (uint32_t)((lldb::SBSection const *)arg1)->GetPermissions();
47117     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47118     return SWIG_arg;
47119 
47120     fail: SWIGUNUSED;
47121   }
47122   lua_error(L);
47123   return 0;
47124 }
47125 
47126 
_wrap_SBSection_GetTargetByteSize(lua_State * L)47127 static int _wrap_SBSection_GetTargetByteSize(lua_State* L) {
47128   {
47129     int SWIG_arg = 0;
47130     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47131     uint32_t result;
47132 
47133     SWIG_check_num_args("lldb::SBSection::GetTargetByteSize",1,1)
47134     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetTargetByteSize",1,"lldb::SBSection *");
47135 
47136     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47137       SWIG_fail_ptr("SBSection_GetTargetByteSize",1,SWIGTYPE_p_lldb__SBSection);
47138     }
47139 
47140     result = (uint32_t)(arg1)->GetTargetByteSize();
47141     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47142     return SWIG_arg;
47143 
47144     fail: SWIGUNUSED;
47145   }
47146   lua_error(L);
47147   return 0;
47148 }
47149 
47150 
_wrap_SBSection_GetAlignment(lua_State * L)47151 static int _wrap_SBSection_GetAlignment(lua_State* L) {
47152   {
47153     int SWIG_arg = 0;
47154     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47155     uint32_t result;
47156 
47157     SWIG_check_num_args("lldb::SBSection::GetAlignment",1,1)
47158     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetAlignment",1,"lldb::SBSection *");
47159 
47160     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47161       SWIG_fail_ptr("SBSection_GetAlignment",1,SWIGTYPE_p_lldb__SBSection);
47162     }
47163 
47164     result = (uint32_t)(arg1)->GetAlignment();
47165     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47166     return SWIG_arg;
47167 
47168     fail: SWIGUNUSED;
47169   }
47170   lua_error(L);
47171   return 0;
47172 }
47173 
47174 
_wrap_SBSection___eq(lua_State * L)47175 static int _wrap_SBSection___eq(lua_State* L) {
47176   {
47177     int SWIG_arg = 0;
47178     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47179     lldb::SBSection *arg2 = 0 ;
47180     bool result;
47181 
47182     SWIG_check_num_args("lldb::SBSection::operator ==",2,2)
47183     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::operator ==",1,"lldb::SBSection *");
47184     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::operator ==",2,"lldb::SBSection const &");
47185 
47186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47187       SWIG_fail_ptr("SBSection___eq",1,SWIGTYPE_p_lldb__SBSection);
47188     }
47189 
47190 
47191     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSection,0))){
47192       SWIG_fail_ptr("SBSection___eq",2,SWIGTYPE_p_lldb__SBSection);
47193     }
47194 
47195     result = (bool)(arg1)->operator ==((lldb::SBSection const &)*arg2);
47196     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
47197     return SWIG_arg;
47198 
47199     fail: SWIGUNUSED;
47200   }
47201   lua_error(L);
47202   return 0;
47203 }
47204 
47205 
_wrap_SBSection_GetDescription(lua_State * L)47206 static int _wrap_SBSection_GetDescription(lua_State* L) {
47207   {
47208     int SWIG_arg = 0;
47209     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47210     lldb::SBStream *arg2 = 0 ;
47211     bool result;
47212 
47213     SWIG_check_num_args("lldb::SBSection::GetDescription",2,2)
47214     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::GetDescription",1,"lldb::SBSection *");
47215     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSection::GetDescription",2,"lldb::SBStream &");
47216 
47217     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47218       SWIG_fail_ptr("SBSection_GetDescription",1,SWIGTYPE_p_lldb__SBSection);
47219     }
47220 
47221 
47222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
47223       SWIG_fail_ptr("SBSection_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
47224     }
47225 
47226     result = (bool)(arg1)->GetDescription(*arg2);
47227     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
47228     return SWIG_arg;
47229 
47230     fail: SWIGUNUSED;
47231   }
47232   lua_error(L);
47233   return 0;
47234 }
47235 
47236 
_wrap_SBSection___tostring(lua_State * L)47237 static int _wrap_SBSection___tostring(lua_State* L) {
47238   {
47239     int SWIG_arg = 0;
47240     lldb::SBSection *arg1 = (lldb::SBSection *) 0 ;
47241     std::string result;
47242 
47243     SWIG_check_num_args("lldb::SBSection::__repr__",1,1)
47244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSection::__repr__",1,"lldb::SBSection *");
47245 
47246     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSection,0))){
47247       SWIG_fail_ptr("SBSection___tostring",1,SWIGTYPE_p_lldb__SBSection);
47248     }
47249 
47250     result = lldb_SBSection___repr__(arg1);
47251     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
47252     return SWIG_arg;
47253 
47254     fail: SWIGUNUSED;
47255   }
47256   lua_error(L);
47257   return 0;
47258 }
47259 
47260 
swig_delete_SBSection(void * obj)47261 static void swig_delete_SBSection(void *obj) {
47262 lldb::SBSection *arg1 = (lldb::SBSection *) obj;
47263 delete arg1;
47264 }
_proxy__wrap_new_SBSection(lua_State * L)47265 static int _proxy__wrap_new_SBSection(lua_State *L) {
47266     assert(lua_istable(L,1));
47267     lua_pushcfunction(L,_wrap_new_SBSection);
47268     assert(!lua_isnil(L,-1));
47269     lua_replace(L,1); /* replace our table with real constructor */
47270     lua_call(L,lua_gettop(L)-1,1);
47271     return 1;
47272 }
47273 static swig_lua_attribute swig_SBSection_attributes[] = {
47274     {0,0,0}
47275 };
47276 static swig_lua_method swig_SBSection_methods[]= {
47277     { "IsValid", _wrap_SBSection_IsValid},
47278     { "GetName", _wrap_SBSection_GetName},
47279     { "GetParent", _wrap_SBSection_GetParent},
47280     { "FindSubSection", _wrap_SBSection_FindSubSection},
47281     { "GetNumSubSections", _wrap_SBSection_GetNumSubSections},
47282     { "GetSubSectionAtIndex", _wrap_SBSection_GetSubSectionAtIndex},
47283     { "GetFileAddress", _wrap_SBSection_GetFileAddress},
47284     { "GetLoadAddress", _wrap_SBSection_GetLoadAddress},
47285     { "GetByteSize", _wrap_SBSection_GetByteSize},
47286     { "GetFileOffset", _wrap_SBSection_GetFileOffset},
47287     { "GetFileByteSize", _wrap_SBSection_GetFileByteSize},
47288     { "GetSectionData", _wrap_SBSection_GetSectionData},
47289     { "GetSectionType", _wrap_SBSection_GetSectionType},
47290     { "GetPermissions", _wrap_SBSection_GetPermissions},
47291     { "GetTargetByteSize", _wrap_SBSection_GetTargetByteSize},
47292     { "GetAlignment", _wrap_SBSection_GetAlignment},
47293     { "__eq", _wrap_SBSection___eq},
47294     { "GetDescription", _wrap_SBSection_GetDescription},
47295     { "__tostring", _wrap_SBSection___tostring},
47296     {0,0}
47297 };
47298 static swig_lua_method swig_SBSection_meta[] = {
47299     { "__eq", _wrap_SBSection___eq},
47300     { "__tostring", _wrap_SBSection___tostring},
47301     {0,0}
47302 };
47303 
47304 static swig_lua_attribute swig_SBSection_Sf_SwigStatic_attributes[] = {
47305     {0,0,0}
47306 };
47307 static swig_lua_const_info swig_SBSection_Sf_SwigStatic_constants[]= {
47308     {0,0,0,0,0,0}
47309 };
47310 static swig_lua_method swig_SBSection_Sf_SwigStatic_methods[]= {
47311     {0,0}
47312 };
47313 static swig_lua_class* swig_SBSection_Sf_SwigStatic_classes[]= {
47314     0
47315 };
47316 
47317 static swig_lua_namespace swig_SBSection_Sf_SwigStatic = {
47318     "SBSection",
47319     swig_SBSection_Sf_SwigStatic_methods,
47320     swig_SBSection_Sf_SwigStatic_attributes,
47321     swig_SBSection_Sf_SwigStatic_constants,
47322     swig_SBSection_Sf_SwigStatic_classes,
47323     0
47324 };
47325 static swig_lua_class *swig_SBSection_bases[] = {0};
47326 static const char *swig_SBSection_base_names[] = {0};
47327 static swig_lua_class _wrap_class_SBSection = { "SBSection", "SBSection", &SWIGTYPE_p_lldb__SBSection,_proxy__wrap_new_SBSection, swig_delete_SBSection, swig_SBSection_methods, swig_SBSection_attributes, &swig_SBSection_Sf_SwigStatic, swig_SBSection_meta, swig_SBSection_bases, swig_SBSection_base_names };
47328 
_wrap_new_SBSourceManager__SWIG_0(lua_State * L)47329 static int _wrap_new_SBSourceManager__SWIG_0(lua_State* L) {
47330   {
47331     int SWIG_arg = 0;
47332     lldb::SBDebugger *arg1 = 0 ;
47333     lldb::SBSourceManager *result = 0 ;
47334 
47335     SWIG_check_num_args("lldb::SBSourceManager::SBSourceManager",1,1)
47336     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSourceManager::SBSourceManager",1,"lldb::SBDebugger const &");
47337 
47338     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBDebugger,0))){
47339       SWIG_fail_ptr("new_SBSourceManager",1,SWIGTYPE_p_lldb__SBDebugger);
47340     }
47341 
47342     result = (lldb::SBSourceManager *)new lldb::SBSourceManager((lldb::SBDebugger const &)*arg1);
47343     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++;
47344     return SWIG_arg;
47345 
47346     fail: SWIGUNUSED;
47347   }
47348   lua_error(L);
47349   return 0;
47350 }
47351 
47352 
_wrap_new_SBSourceManager__SWIG_1(lua_State * L)47353 static int _wrap_new_SBSourceManager__SWIG_1(lua_State* L) {
47354   {
47355     int SWIG_arg = 0;
47356     lldb::SBTarget *arg1 = 0 ;
47357     lldb::SBSourceManager *result = 0 ;
47358 
47359     SWIG_check_num_args("lldb::SBSourceManager::SBSourceManager",1,1)
47360     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSourceManager::SBSourceManager",1,"lldb::SBTarget const &");
47361 
47362     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
47363       SWIG_fail_ptr("new_SBSourceManager",1,SWIGTYPE_p_lldb__SBTarget);
47364     }
47365 
47366     result = (lldb::SBSourceManager *)new lldb::SBSourceManager((lldb::SBTarget const &)*arg1);
47367     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++;
47368     return SWIG_arg;
47369 
47370     fail: SWIGUNUSED;
47371   }
47372   lua_error(L);
47373   return 0;
47374 }
47375 
47376 
_wrap_new_SBSourceManager__SWIG_2(lua_State * L)47377 static int _wrap_new_SBSourceManager__SWIG_2(lua_State* L) {
47378   {
47379     int SWIG_arg = 0;
47380     lldb::SBSourceManager *arg1 = 0 ;
47381     lldb::SBSourceManager *result = 0 ;
47382 
47383     SWIG_check_num_args("lldb::SBSourceManager::SBSourceManager",1,1)
47384     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSourceManager::SBSourceManager",1,"lldb::SBSourceManager const &");
47385 
47386     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){
47387       SWIG_fail_ptr("new_SBSourceManager",1,SWIGTYPE_p_lldb__SBSourceManager);
47388     }
47389 
47390     result = (lldb::SBSourceManager *)new lldb::SBSourceManager((lldb::SBSourceManager const &)*arg1);
47391     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++;
47392     return SWIG_arg;
47393 
47394     fail: SWIGUNUSED;
47395   }
47396   lua_error(L);
47397   return 0;
47398 }
47399 
47400 
_wrap_new_SBSourceManager(lua_State * L)47401 static int _wrap_new_SBSourceManager(lua_State* L) {
47402   int argc;
47403   int argv[2]={
47404     1,2
47405   };
47406 
47407   argc = lua_gettop(L);
47408   if (argc == 1) {
47409     int _v = 0;
47410     {
47411       void *ptr;
47412       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL)) {
47413         _v = 0;
47414       } else {
47415         _v = 1;
47416       }
47417     }
47418     if (_v) {
47419       return _wrap_new_SBSourceManager__SWIG_0(L);
47420     }
47421   }
47422   if (argc == 1) {
47423     int _v = 0;
47424     {
47425       void *ptr;
47426       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
47427         _v = 0;
47428       } else {
47429         _v = 1;
47430       }
47431     }
47432     if (_v) {
47433       return _wrap_new_SBSourceManager__SWIG_1(L);
47434     }
47435   }
47436   if (argc == 1) {
47437     int _v = 0;
47438     {
47439       void *ptr;
47440       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSourceManager, SWIG_POINTER_NO_NULL)) {
47441         _v = 0;
47442       } else {
47443         _v = 1;
47444       }
47445     }
47446     if (_v) {
47447       return _wrap_new_SBSourceManager__SWIG_2(L);
47448     }
47449   }
47450 
47451   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBSourceManager'\n"
47452     "  Possible C/C++ prototypes are:\n"
47453     "    lldb::SBSourceManager::SBSourceManager(lldb::SBDebugger const &)\n"
47454     "    lldb::SBSourceManager::SBSourceManager(lldb::SBTarget const &)\n"
47455     "    lldb::SBSourceManager::SBSourceManager(lldb::SBSourceManager const &)\n");
47456   lua_error(L);return 0;
47457 }
47458 
47459 
_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers(lua_State * L)47460 static int _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers(lua_State* L) {
47461   {
47462     int SWIG_arg = 0;
47463     lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ;
47464     lldb::SBFileSpec *arg2 = 0 ;
47465     uint32_t arg3 ;
47466     uint32_t arg4 ;
47467     uint32_t arg5 ;
47468     char *arg6 = (char *) 0 ;
47469     lldb::SBStream *arg7 = 0 ;
47470     size_t result;
47471 
47472     SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,7)
47473     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",1,"lldb::SBSourceManager *");
47474     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",2,"lldb::SBFileSpec const &");
47475     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",3,"uint32_t");
47476     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",4,"uint32_t");
47477     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",5,"uint32_t");
47478     if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",6,"char const *");
47479     if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbers",7,"lldb::SBStream &");
47480 
47481     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){
47482       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",1,SWIGTYPE_p_lldb__SBSourceManager);
47483     }
47484 
47485 
47486     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
47487       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",2,SWIGTYPE_p_lldb__SBFileSpec);
47488     }
47489 
47490     arg3 = (uint32_t)lua_tointeger(L, 3);
47491     arg4 = (uint32_t)lua_tointeger(L, 4);
47492     arg5 = (uint32_t)lua_tointeger(L, 5);
47493     arg6 = (char *)lua_tostring(L, 6);
47494 
47495     if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBStream,0))){
47496       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbers",7,SWIGTYPE_p_lldb__SBStream);
47497     }
47498 
47499     result = (arg1)->DisplaySourceLinesWithLineNumbers((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,(char const *)arg6,*arg7);
47500     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47501     return SWIG_arg;
47502 
47503     fail: SWIGUNUSED;
47504   }
47505   lua_error(L);
47506   return 0;
47507 }
47508 
47509 
_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn(lua_State * L)47510 static int _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn(lua_State* L) {
47511   {
47512     int SWIG_arg = 0;
47513     lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) 0 ;
47514     lldb::SBFileSpec *arg2 = 0 ;
47515     uint32_t arg3 ;
47516     uint32_t arg4 ;
47517     uint32_t arg5 ;
47518     uint32_t arg6 ;
47519     char *arg7 = (char *) 0 ;
47520     lldb::SBStream *arg8 = 0 ;
47521     size_t result;
47522 
47523     SWIG_check_num_args("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,8)
47524     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",1,"lldb::SBSourceManager *");
47525     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",2,"lldb::SBFileSpec const &");
47526     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",3,"uint32_t");
47527     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",4,"uint32_t");
47528     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",5,"uint32_t");
47529     if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",6,"uint32_t");
47530     if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",7,"char const *");
47531     if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn",8,"lldb::SBStream &");
47532 
47533     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSourceManager,0))){
47534       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",1,SWIGTYPE_p_lldb__SBSourceManager);
47535     }
47536 
47537 
47538     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
47539       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",2,SWIGTYPE_p_lldb__SBFileSpec);
47540     }
47541 
47542     arg3 = (uint32_t)lua_tointeger(L, 3);
47543     arg4 = (uint32_t)lua_tointeger(L, 4);
47544     arg5 = (uint32_t)lua_tointeger(L, 5);
47545     arg6 = (uint32_t)lua_tointeger(L, 6);
47546     arg7 = (char *)lua_tostring(L, 7);
47547 
47548     if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBStream,0))){
47549       SWIG_fail_ptr("SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn",8,SWIGTYPE_p_lldb__SBStream);
47550     }
47551 
47552     result = (arg1)->DisplaySourceLinesWithLineNumbersAndColumn((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,arg6,(char const *)arg7,*arg8);
47553     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47554     return SWIG_arg;
47555 
47556     fail: SWIGUNUSED;
47557   }
47558   lua_error(L);
47559   return 0;
47560 }
47561 
47562 
swig_delete_SBSourceManager(void * obj)47563 static void swig_delete_SBSourceManager(void *obj) {
47564 lldb::SBSourceManager *arg1 = (lldb::SBSourceManager *) obj;
47565 delete arg1;
47566 }
_proxy__wrap_new_SBSourceManager(lua_State * L)47567 static int _proxy__wrap_new_SBSourceManager(lua_State *L) {
47568     assert(lua_istable(L,1));
47569     lua_pushcfunction(L,_wrap_new_SBSourceManager);
47570     assert(!lua_isnil(L,-1));
47571     lua_replace(L,1); /* replace our table with real constructor */
47572     lua_call(L,lua_gettop(L)-1,1);
47573     return 1;
47574 }
47575 static swig_lua_attribute swig_SBSourceManager_attributes[] = {
47576     {0,0,0}
47577 };
47578 static swig_lua_method swig_SBSourceManager_methods[]= {
47579     { "DisplaySourceLinesWithLineNumbers", _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers},
47580     { "DisplaySourceLinesWithLineNumbersAndColumn", _wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn},
47581     {0,0}
47582 };
47583 static swig_lua_method swig_SBSourceManager_meta[] = {
47584     {0,0}
47585 };
47586 
47587 static swig_lua_attribute swig_SBSourceManager_Sf_SwigStatic_attributes[] = {
47588     {0,0,0}
47589 };
47590 static swig_lua_const_info swig_SBSourceManager_Sf_SwigStatic_constants[]= {
47591     {0,0,0,0,0,0}
47592 };
47593 static swig_lua_method swig_SBSourceManager_Sf_SwigStatic_methods[]= {
47594     {0,0}
47595 };
47596 static swig_lua_class* swig_SBSourceManager_Sf_SwigStatic_classes[]= {
47597     0
47598 };
47599 
47600 static swig_lua_namespace swig_SBSourceManager_Sf_SwigStatic = {
47601     "SBSourceManager",
47602     swig_SBSourceManager_Sf_SwigStatic_methods,
47603     swig_SBSourceManager_Sf_SwigStatic_attributes,
47604     swig_SBSourceManager_Sf_SwigStatic_constants,
47605     swig_SBSourceManager_Sf_SwigStatic_classes,
47606     0
47607 };
47608 static swig_lua_class *swig_SBSourceManager_bases[] = {0};
47609 static const char *swig_SBSourceManager_base_names[] = {0};
47610 static swig_lua_class _wrap_class_SBSourceManager = { "SBSourceManager", "SBSourceManager", &SWIGTYPE_p_lldb__SBSourceManager,_proxy__wrap_new_SBSourceManager, swig_delete_SBSourceManager, swig_SBSourceManager_methods, swig_SBSourceManager_attributes, &swig_SBSourceManager_Sf_SwigStatic, swig_SBSourceManager_meta, swig_SBSourceManager_bases, swig_SBSourceManager_base_names };
47611 
_wrap_new_SBStream(lua_State * L)47612 static int _wrap_new_SBStream(lua_State* L) {
47613   {
47614     int SWIG_arg = 0;
47615     lldb::SBStream *result = 0 ;
47616 
47617     SWIG_check_num_args("lldb::SBStream::SBStream",0,0)
47618     result = (lldb::SBStream *)new lldb::SBStream();
47619     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStream,1); SWIG_arg++;
47620     return SWIG_arg;
47621 
47622     fail: SWIGUNUSED;
47623   }
47624   lua_error(L);
47625   return 0;
47626 }
47627 
47628 
_wrap_SBStream_IsValid(lua_State * L)47629 static int _wrap_SBStream_IsValid(lua_State* L) {
47630   {
47631     int SWIG_arg = 0;
47632     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47633     bool result;
47634 
47635     SWIG_check_num_args("lldb::SBStream::IsValid",1,1)
47636     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::IsValid",1,"lldb::SBStream const *");
47637 
47638     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47639       SWIG_fail_ptr("SBStream_IsValid",1,SWIGTYPE_p_lldb__SBStream);
47640     }
47641 
47642     result = (bool)((lldb::SBStream const *)arg1)->IsValid();
47643     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
47644     return SWIG_arg;
47645 
47646     fail: SWIGUNUSED;
47647   }
47648   lua_error(L);
47649   return 0;
47650 }
47651 
47652 
_wrap_SBStream_GetData(lua_State * L)47653 static int _wrap_SBStream_GetData(lua_State* L) {
47654   {
47655     int SWIG_arg = 0;
47656     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47657     char *result = 0 ;
47658 
47659     SWIG_check_num_args("lldb::SBStream::GetData",1,1)
47660     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetData",1,"lldb::SBStream *");
47661 
47662     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47663       SWIG_fail_ptr("SBStream_GetData",1,SWIGTYPE_p_lldb__SBStream);
47664     }
47665 
47666     result = (char *)(arg1)->GetData();
47667     lua_pushstring(L,(const char *)result); SWIG_arg++;
47668     return SWIG_arg;
47669 
47670     fail: SWIGUNUSED;
47671   }
47672   lua_error(L);
47673   return 0;
47674 }
47675 
47676 
_wrap_SBStream_GetSize(lua_State * L)47677 static int _wrap_SBStream_GetSize(lua_State* L) {
47678   {
47679     int SWIG_arg = 0;
47680     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47681     size_t result;
47682 
47683     SWIG_check_num_args("lldb::SBStream::GetSize",1,1)
47684     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::GetSize",1,"lldb::SBStream *");
47685 
47686     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47687       SWIG_fail_ptr("SBStream_GetSize",1,SWIGTYPE_p_lldb__SBStream);
47688     }
47689 
47690     result = (arg1)->GetSize();
47691     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
47692     return SWIG_arg;
47693 
47694     fail: SWIGUNUSED;
47695   }
47696   lua_error(L);
47697   return 0;
47698 }
47699 
47700 
_wrap_SBStream_Print(lua_State * L)47701 static int _wrap_SBStream_Print(lua_State* L) {
47702   {
47703     int SWIG_arg = 0;
47704     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47705     char *arg2 = (char *) 0 ;
47706 
47707     SWIG_check_num_args("lldb::SBStream::Print",2,2)
47708     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Print",1,"lldb::SBStream *");
47709     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::Print",2,"char const *");
47710 
47711     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47712       SWIG_fail_ptr("SBStream_Print",1,SWIGTYPE_p_lldb__SBStream);
47713     }
47714 
47715     arg2 = (char *)lua_tostring(L, 2);
47716     (arg1)->Print((char const *)arg2);
47717 
47718     return SWIG_arg;
47719 
47720     fail: SWIGUNUSED;
47721   }
47722   lua_error(L);
47723   return 0;
47724 }
47725 
47726 
_wrap_SBStream_RedirectToFile__SWIG_0(lua_State * L)47727 static int _wrap_SBStream_RedirectToFile__SWIG_0(lua_State* L) {
47728   {
47729     int SWIG_arg = 0;
47730     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47731     char *arg2 = (char *) 0 ;
47732     bool arg3 ;
47733 
47734     SWIG_check_num_args("lldb::SBStream::RedirectToFile",3,3)
47735     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *");
47736     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"char const *");
47737     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",3,"bool");
47738 
47739     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47740       SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream);
47741     }
47742 
47743     arg2 = (char *)lua_tostring(L, 2);
47744     arg3 = (lua_toboolean(L, 3)!=0);
47745     (arg1)->RedirectToFile((char const *)arg2,arg3);
47746 
47747     return SWIG_arg;
47748 
47749     fail: SWIGUNUSED;
47750   }
47751   lua_error(L);
47752   return 0;
47753 }
47754 
47755 
_wrap_SBStream_RedirectToFile__SWIG_1(lua_State * L)47756 static int _wrap_SBStream_RedirectToFile__SWIG_1(lua_State* L) {
47757   {
47758     int SWIG_arg = 0;
47759     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47760     lldb::SBFile arg2 ;
47761     lldb::SBFile *argp2 ;
47762 
47763     SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2)
47764     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *");
47765     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",2,"lldb::SBFile");
47766 
47767     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47768       SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream);
47769     }
47770 
47771 
47772     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFile,0))){
47773       SWIG_fail_ptr("SBStream_RedirectToFile",2,SWIGTYPE_p_lldb__SBFile);
47774     }
47775     arg2 = *argp2;
47776 
47777     (arg1)->RedirectToFile(arg2);
47778 
47779     return SWIG_arg;
47780 
47781     fail: SWIGUNUSED;
47782   }
47783   lua_error(L);
47784   return 0;
47785 }
47786 
47787 
_wrap_SBStream_RedirectToFile__SWIG_2(lua_State * L)47788 static int _wrap_SBStream_RedirectToFile__SWIG_2(lua_State* L) {
47789   {
47790     int SWIG_arg = 0;
47791     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47792     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
47793 
47794     SWIG_check_num_args("lldb::SBStream::RedirectToFile",2,2)
47795     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFile",1,"lldb::SBStream *");
47796 
47797     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47798       SWIG_fail_ptr("SBStream_RedirectToFile",1,SWIGTYPE_p_lldb__SBStream);
47799     }
47800 
47801     {
47802       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
47803       lldb::FileSP file_sp;
47804       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
47805       if (!file_sp->IsValid())
47806       return luaL_error(L, "Invalid file");
47807       arg2 = file_sp;
47808     }
47809     (arg1)->RedirectToFile(arg2);
47810 
47811     return SWIG_arg;
47812 
47813     fail: SWIGUNUSED;
47814   }
47815   lua_error(L);
47816   return 0;
47817 }
47818 
47819 
_wrap_SBStream_RedirectToFile(lua_State * L)47820 static int _wrap_SBStream_RedirectToFile(lua_State* L) {
47821   int argc;
47822   int argv[4]={
47823     1,2,3,4
47824   };
47825 
47826   argc = lua_gettop(L);
47827   if (argc == 2) {
47828     int _v = 0;
47829     {
47830       void *ptr;
47831       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) {
47832         _v = 0;
47833       } else {
47834         _v = 1;
47835       }
47836     }
47837     if (_v) {
47838       {
47839         void *ptr;
47840         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL)) {
47841           _v = 0;
47842         } else {
47843           _v = 1;
47844         }
47845       }
47846       if (_v) {
47847         return _wrap_SBStream_RedirectToFile__SWIG_1(L);
47848       }
47849     }
47850   }
47851   if (argc == 2) {
47852     int _v = 0;
47853     {
47854       void *ptr;
47855       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) {
47856         _v = 0;
47857       } else {
47858         _v = 1;
47859       }
47860     }
47861     if (_v) {
47862       {
47863         _v = (lua_isuserdata(L, argv[1])) &&
47864         (luaL_testudata(L, argv[1], LUA_FILEHANDLE) != nullptr);
47865       }
47866       if (_v) {
47867         return _wrap_SBStream_RedirectToFile__SWIG_2(L);
47868       }
47869     }
47870   }
47871   if (argc == 3) {
47872     int _v = 0;
47873     {
47874       void *ptr;
47875       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) {
47876         _v = 0;
47877       } else {
47878         _v = 1;
47879       }
47880     }
47881     if (_v) {
47882       {
47883         _v = SWIG_lua_isnilstring(L,argv[1]);
47884       }
47885       if (_v) {
47886         {
47887           _v = lua_isboolean(L,argv[2]);
47888         }
47889         if (_v) {
47890           return _wrap_SBStream_RedirectToFile__SWIG_0(L);
47891         }
47892       }
47893     }
47894   }
47895 
47896   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStream_RedirectToFile'\n"
47897     "  Possible C/C++ prototypes are:\n"
47898     "    lldb::SBStream::RedirectToFile(char const *,bool)\n"
47899     "    lldb::SBStream::RedirectToFile(lldb::SBFile)\n"
47900     "    lldb::SBStream::RedirectToFile(lldb::FileSP)\n");
47901   lua_error(L);return 0;
47902 }
47903 
47904 
_wrap_SBStream_RedirectToFileDescriptor(lua_State * L)47905 static int _wrap_SBStream_RedirectToFileDescriptor(lua_State* L) {
47906   {
47907     int SWIG_arg = 0;
47908     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47909     int arg2 ;
47910     bool arg3 ;
47911 
47912     SWIG_check_num_args("lldb::SBStream::RedirectToFileDescriptor",3,3)
47913     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",1,"lldb::SBStream *");
47914     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",2,"int");
47915     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileDescriptor",3,"bool");
47916 
47917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47918       SWIG_fail_ptr("SBStream_RedirectToFileDescriptor",1,SWIGTYPE_p_lldb__SBStream);
47919     }
47920 
47921     arg2 = (int)lua_tointeger(L, 2);
47922     arg3 = (lua_toboolean(L, 3)!=0);
47923     (arg1)->RedirectToFileDescriptor(arg2,arg3);
47924 
47925     return SWIG_arg;
47926 
47927     fail: SWIGUNUSED;
47928   }
47929   lua_error(L);
47930   return 0;
47931 }
47932 
47933 
_wrap_SBStream_Clear(lua_State * L)47934 static int _wrap_SBStream_Clear(lua_State* L) {
47935   {
47936     int SWIG_arg = 0;
47937     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47938 
47939     SWIG_check_num_args("lldb::SBStream::Clear",1,1)
47940     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::Clear",1,"lldb::SBStream *");
47941 
47942     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47943       SWIG_fail_ptr("SBStream_Clear",1,SWIGTYPE_p_lldb__SBStream);
47944     }
47945 
47946     (arg1)->Clear();
47947 
47948     return SWIG_arg;
47949 
47950     fail: SWIGUNUSED;
47951   }
47952   lua_error(L);
47953   return 0;
47954 }
47955 
47956 
_wrap_SBStream_RedirectToFileHandle(lua_State * L)47957 static int _wrap_SBStream_RedirectToFileHandle(lua_State* L) {
47958   {
47959     int SWIG_arg = 0;
47960     lldb::SBStream *arg1 = (lldb::SBStream *) 0 ;
47961     SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ;
47962     bool arg3 ;
47963 
47964     SWIG_check_num_args("lldb::SBStream::RedirectToFileHandle",3,3)
47965     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",1,"lldb::SBStream *");
47966     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBStream::RedirectToFileHandle",3,"bool");
47967 
47968     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStream,0))){
47969       SWIG_fail_ptr("SBStream_RedirectToFileHandle",1,SWIGTYPE_p_lldb__SBStream);
47970     }
47971 
47972     {
47973       luaL_Stream *p = (luaL_Stream *)luaL_checkudata(L, 2, LUA_FILEHANDLE);
47974       lldb::FileSP file_sp;
47975       file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
47976       if (!file_sp->IsValid())
47977       return luaL_error(L, "Invalid file");
47978       arg2 = file_sp;
47979     }
47980     arg3 = (lua_toboolean(L, 3)!=0);
47981     lldb_SBStream_RedirectToFileHandle(arg1,SWIG_STD_MOVE(arg2),arg3);
47982 
47983     return SWIG_arg;
47984 
47985     fail: SWIGUNUSED;
47986   }
47987   lua_error(L);
47988   return 0;
47989 }
47990 
47991 
swig_delete_SBStream(void * obj)47992 static void swig_delete_SBStream(void *obj) {
47993 lldb::SBStream *arg1 = (lldb::SBStream *) obj;
47994 delete arg1;
47995 }
_proxy__wrap_new_SBStream(lua_State * L)47996 static int _proxy__wrap_new_SBStream(lua_State *L) {
47997     assert(lua_istable(L,1));
47998     lua_pushcfunction(L,_wrap_new_SBStream);
47999     assert(!lua_isnil(L,-1));
48000     lua_replace(L,1); /* replace our table with real constructor */
48001     lua_call(L,lua_gettop(L)-1,1);
48002     return 1;
48003 }
48004 static swig_lua_attribute swig_SBStream_attributes[] = {
48005     {0,0,0}
48006 };
48007 static swig_lua_method swig_SBStream_methods[]= {
48008     { "IsValid", _wrap_SBStream_IsValid},
48009     { "GetData", _wrap_SBStream_GetData},
48010     { "GetSize", _wrap_SBStream_GetSize},
48011     { "Print", _wrap_SBStream_Print},
48012     { "RedirectToFile", _wrap_SBStream_RedirectToFile},
48013     { "RedirectToFileDescriptor", _wrap_SBStream_RedirectToFileDescriptor},
48014     { "Clear", _wrap_SBStream_Clear},
48015     { "RedirectToFileHandle", _wrap_SBStream_RedirectToFileHandle},
48016     {0,0}
48017 };
48018 static swig_lua_method swig_SBStream_meta[] = {
48019     {0,0}
48020 };
48021 
48022 static swig_lua_attribute swig_SBStream_Sf_SwigStatic_attributes[] = {
48023     {0,0,0}
48024 };
48025 static swig_lua_const_info swig_SBStream_Sf_SwigStatic_constants[]= {
48026     {0,0,0,0,0,0}
48027 };
48028 static swig_lua_method swig_SBStream_Sf_SwigStatic_methods[]= {
48029     {0,0}
48030 };
48031 static swig_lua_class* swig_SBStream_Sf_SwigStatic_classes[]= {
48032     0
48033 };
48034 
48035 static swig_lua_namespace swig_SBStream_Sf_SwigStatic = {
48036     "SBStream",
48037     swig_SBStream_Sf_SwigStatic_methods,
48038     swig_SBStream_Sf_SwigStatic_attributes,
48039     swig_SBStream_Sf_SwigStatic_constants,
48040     swig_SBStream_Sf_SwigStatic_classes,
48041     0
48042 };
48043 static swig_lua_class *swig_SBStream_bases[] = {0};
48044 static const char *swig_SBStream_base_names[] = {0};
48045 static swig_lua_class _wrap_class_SBStream = { "SBStream", "SBStream", &SWIGTYPE_p_lldb__SBStream,_proxy__wrap_new_SBStream, swig_delete_SBStream, swig_SBStream_methods, swig_SBStream_attributes, &swig_SBStream_Sf_SwigStatic, swig_SBStream_meta, swig_SBStream_bases, swig_SBStream_base_names };
48046 
_wrap_new_SBStringList__SWIG_0(lua_State * L)48047 static int _wrap_new_SBStringList__SWIG_0(lua_State* L) {
48048   {
48049     int SWIG_arg = 0;
48050     lldb::SBStringList *result = 0 ;
48051 
48052     SWIG_check_num_args("lldb::SBStringList::SBStringList",0,0)
48053     result = (lldb::SBStringList *)new lldb::SBStringList();
48054     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++;
48055     return SWIG_arg;
48056 
48057     fail: SWIGUNUSED;
48058   }
48059   lua_error(L);
48060   return 0;
48061 }
48062 
48063 
_wrap_new_SBStringList__SWIG_1(lua_State * L)48064 static int _wrap_new_SBStringList__SWIG_1(lua_State* L) {
48065   {
48066     int SWIG_arg = 0;
48067     lldb::SBStringList *arg1 = 0 ;
48068     lldb::SBStringList *result = 0 ;
48069 
48070     SWIG_check_num_args("lldb::SBStringList::SBStringList",1,1)
48071     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStringList::SBStringList",1,"lldb::SBStringList const &");
48072 
48073     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48074       SWIG_fail_ptr("new_SBStringList",1,SWIGTYPE_p_lldb__SBStringList);
48075     }
48076 
48077     result = (lldb::SBStringList *)new lldb::SBStringList((lldb::SBStringList const &)*arg1);
48078     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStringList,1); SWIG_arg++;
48079     return SWIG_arg;
48080 
48081     fail: SWIGUNUSED;
48082   }
48083   lua_error(L);
48084   return 0;
48085 }
48086 
48087 
_wrap_new_SBStringList(lua_State * L)48088 static int _wrap_new_SBStringList(lua_State* L) {
48089   int argc;
48090   int argv[2]={
48091     1,2
48092   };
48093 
48094   argc = lua_gettop(L);
48095   if (argc == 0) {
48096     return _wrap_new_SBStringList__SWIG_0(L);
48097   }
48098   if (argc == 1) {
48099     int _v = 0;
48100     {
48101       void *ptr;
48102       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, SWIG_POINTER_NO_NULL)) {
48103         _v = 0;
48104       } else {
48105         _v = 1;
48106       }
48107     }
48108     if (_v) {
48109       return _wrap_new_SBStringList__SWIG_1(L);
48110     }
48111   }
48112 
48113   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBStringList'\n"
48114     "  Possible C/C++ prototypes are:\n"
48115     "    lldb::SBStringList::SBStringList()\n"
48116     "    lldb::SBStringList::SBStringList(lldb::SBStringList const &)\n");
48117   lua_error(L);return 0;
48118 }
48119 
48120 
_wrap_SBStringList_IsValid(lua_State * L)48121 static int _wrap_SBStringList_IsValid(lua_State* L) {
48122   {
48123     int SWIG_arg = 0;
48124     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48125     bool result;
48126 
48127     SWIG_check_num_args("lldb::SBStringList::IsValid",1,1)
48128     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::IsValid",1,"lldb::SBStringList const *");
48129 
48130     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48131       SWIG_fail_ptr("SBStringList_IsValid",1,SWIGTYPE_p_lldb__SBStringList);
48132     }
48133 
48134     result = (bool)((lldb::SBStringList const *)arg1)->IsValid();
48135     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
48136     return SWIG_arg;
48137 
48138     fail: SWIGUNUSED;
48139   }
48140   lua_error(L);
48141   return 0;
48142 }
48143 
48144 
_wrap_SBStringList_AppendString(lua_State * L)48145 static int _wrap_SBStringList_AppendString(lua_State* L) {
48146   {
48147     int SWIG_arg = 0;
48148     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48149     char *arg2 = (char *) 0 ;
48150 
48151     SWIG_check_num_args("lldb::SBStringList::AppendString",2,2)
48152     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendString",1,"lldb::SBStringList *");
48153     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendString",2,"char const *");
48154 
48155     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48156       SWIG_fail_ptr("SBStringList_AppendString",1,SWIGTYPE_p_lldb__SBStringList);
48157     }
48158 
48159     arg2 = (char *)lua_tostring(L, 2);
48160     (arg1)->AppendString((char const *)arg2);
48161 
48162     return SWIG_arg;
48163 
48164     fail: SWIGUNUSED;
48165   }
48166   lua_error(L);
48167   return 0;
48168 }
48169 
48170 
_wrap_SBStringList_AppendList__SWIG_0(lua_State * L)48171 static int _wrap_SBStringList_AppendList__SWIG_0(lua_State* L) {
48172   {
48173     int SWIG_arg = 0;
48174     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48175     char **arg2 = (char **) 0 ;
48176     int arg3 ;
48177 
48178     SWIG_check_num_args("lldb::SBStringList::AppendList",3,3)
48179     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *");
48180     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBStringList::AppendList",3,"int");
48181 
48182     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48183       SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList);
48184     }
48185 
48186     {
48187       if (lua_istable(L, 2)) {
48188         size_t size = lua_rawlen(L, 2);
48189         arg2 = (char **)malloc((size + 1) * sizeof(char *));
48190         int i = 0, j = 0;
48191         while (i++ < size) {
48192           lua_rawgeti(L, 2, i);
48193           if (!lua_isstring(L, -1)) {
48194             // if current element cannot be converted to string, raise an error
48195             lua_pop(L, 1);
48196             return luaL_error(L, "List should only contain strings");
48197           }
48198           arg2[j++] = (char *)lua_tostring(L, -1);
48199           lua_pop(L, 1);
48200         }
48201         arg2[j] = 0;
48202       } else if (lua_isnil(L, 2)) {
48203         // "nil" is also acceptable, equivalent as an empty table
48204         arg2 = NULL;
48205       } else {
48206         return luaL_error(L, "A list of strings expected");
48207       }
48208     }
48209     arg3 = (int)lua_tointeger(L, 3);
48210     (arg1)->AppendList((char const **)arg2,arg3);
48211 
48212     {
48213       free((char *) arg2);
48214     }
48215     return SWIG_arg;
48216 
48217     fail: SWIGUNUSED;
48218     {
48219       free((char *) arg2);
48220     }
48221   }
48222   lua_error(L);
48223   return 0;
48224 }
48225 
48226 
_wrap_SBStringList_AppendList__SWIG_1(lua_State * L)48227 static int _wrap_SBStringList_AppendList__SWIG_1(lua_State* L) {
48228   {
48229     int SWIG_arg = 0;
48230     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48231     lldb::SBStringList *arg2 = 0 ;
48232 
48233     SWIG_check_num_args("lldb::SBStringList::AppendList",2,2)
48234     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::AppendList",1,"lldb::SBStringList *");
48235     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStringList::AppendList",2,"lldb::SBStringList const &");
48236 
48237     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48238       SWIG_fail_ptr("SBStringList_AppendList",1,SWIGTYPE_p_lldb__SBStringList);
48239     }
48240 
48241 
48242     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
48243       SWIG_fail_ptr("SBStringList_AppendList",2,SWIGTYPE_p_lldb__SBStringList);
48244     }
48245 
48246     (arg1)->AppendList((lldb::SBStringList const &)*arg2);
48247 
48248     return SWIG_arg;
48249 
48250     fail: SWIGUNUSED;
48251   }
48252   lua_error(L);
48253   return 0;
48254 }
48255 
48256 
_wrap_SBStringList_AppendList(lua_State * L)48257 static int _wrap_SBStringList_AppendList(lua_State* L) {
48258   int argc;
48259   int argv[4]={
48260     1,2,3,4
48261   };
48262 
48263   argc = lua_gettop(L);
48264   if (argc == 2) {
48265     int _v = 0;
48266     {
48267       void *ptr;
48268       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) {
48269         _v = 0;
48270       } else {
48271         _v = 1;
48272       }
48273     }
48274     if (_v) {
48275       {
48276         void *ptr;
48277         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, SWIG_POINTER_NO_NULL)) {
48278           _v = 0;
48279         } else {
48280           _v = 1;
48281         }
48282       }
48283       if (_v) {
48284         return _wrap_SBStringList_AppendList__SWIG_1(L);
48285       }
48286     }
48287   }
48288   if (argc == 3) {
48289     int _v = 0;
48290     {
48291       void *ptr;
48292       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) {
48293         _v = 0;
48294       } else {
48295         _v = 1;
48296       }
48297     }
48298     if (_v) {
48299       {
48300         _v = (lua_istable(L, argv[1]) || lua_isnil(L, argv[1]));
48301       }
48302       if (_v) {
48303         {
48304           _v = lua_isnumber(L,argv[2]);
48305         }
48306         if (_v) {
48307           return _wrap_SBStringList_AppendList__SWIG_0(L);
48308         }
48309       }
48310     }
48311   }
48312 
48313   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStringList_AppendList'\n"
48314     "  Possible C/C++ prototypes are:\n"
48315     "    lldb::SBStringList::AppendList(char const **,int)\n"
48316     "    lldb::SBStringList::AppendList(lldb::SBStringList const &)\n");
48317   lua_error(L);return 0;
48318 }
48319 
48320 
_wrap_SBStringList_GetSize(lua_State * L)48321 static int _wrap_SBStringList_GetSize(lua_State* L) {
48322   {
48323     int SWIG_arg = 0;
48324     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48325     uint32_t result;
48326 
48327     SWIG_check_num_args("lldb::SBStringList::GetSize",1,1)
48328     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetSize",1,"lldb::SBStringList const *");
48329 
48330     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48331       SWIG_fail_ptr("SBStringList_GetSize",1,SWIGTYPE_p_lldb__SBStringList);
48332     }
48333 
48334     result = (uint32_t)((lldb::SBStringList const *)arg1)->GetSize();
48335     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
48336     return SWIG_arg;
48337 
48338     fail: SWIGUNUSED;
48339   }
48340   lua_error(L);
48341   return 0;
48342 }
48343 
48344 
_wrap_SBStringList_GetStringAtIndex__SWIG_0(lua_State * L)48345 static int _wrap_SBStringList_GetStringAtIndex__SWIG_0(lua_State* L) {
48346   {
48347     int SWIG_arg = 0;
48348     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48349     size_t arg2 ;
48350     char *result = 0 ;
48351 
48352     SWIG_check_num_args("lldb::SBStringList::GetStringAtIndex",2,2)
48353     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",1,"lldb::SBStringList *");
48354     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",2,"size_t");
48355 
48356     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48357       SWIG_fail_ptr("SBStringList_GetStringAtIndex",1,SWIGTYPE_p_lldb__SBStringList);
48358     }
48359 
48360     arg2 = (size_t)lua_tointeger(L, 2);
48361     result = (char *)(arg1)->GetStringAtIndex(arg2);
48362     lua_pushstring(L,(const char *)result); SWIG_arg++;
48363     return SWIG_arg;
48364 
48365     fail: SWIGUNUSED;
48366   }
48367   lua_error(L);
48368   return 0;
48369 }
48370 
48371 
_wrap_SBStringList_GetStringAtIndex__SWIG_1(lua_State * L)48372 static int _wrap_SBStringList_GetStringAtIndex__SWIG_1(lua_State* L) {
48373   {
48374     int SWIG_arg = 0;
48375     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48376     size_t arg2 ;
48377     char *result = 0 ;
48378 
48379     SWIG_check_num_args("lldb::SBStringList::GetStringAtIndex",2,2)
48380     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",1,"lldb::SBStringList const *");
48381     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStringList::GetStringAtIndex",2,"size_t");
48382 
48383     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48384       SWIG_fail_ptr("SBStringList_GetStringAtIndex",1,SWIGTYPE_p_lldb__SBStringList);
48385     }
48386 
48387     arg2 = (size_t)lua_tointeger(L, 2);
48388     result = (char *)((lldb::SBStringList const *)arg1)->GetStringAtIndex(arg2);
48389     lua_pushstring(L,(const char *)result); SWIG_arg++;
48390     return SWIG_arg;
48391 
48392     fail: SWIGUNUSED;
48393   }
48394   lua_error(L);
48395   return 0;
48396 }
48397 
48398 
_wrap_SBStringList_GetStringAtIndex(lua_State * L)48399 static int _wrap_SBStringList_GetStringAtIndex(lua_State* L) {
48400   int argc;
48401   int argv[3]={
48402     1,2,3
48403   };
48404 
48405   argc = lua_gettop(L);
48406   if (argc == 2) {
48407     int _v = 0;
48408     {
48409       void *ptr;
48410       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) {
48411         _v = 0;
48412       } else {
48413         _v = 1;
48414       }
48415     }
48416     if (_v) {
48417       {
48418         _v = lua_isnumber(L,argv[1]);
48419       }
48420       if (_v) {
48421         return _wrap_SBStringList_GetStringAtIndex__SWIG_0(L);
48422       }
48423     }
48424   }
48425   if (argc == 2) {
48426     int _v = 0;
48427     {
48428       void *ptr;
48429       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, 0)) {
48430         _v = 0;
48431       } else {
48432         _v = 1;
48433       }
48434     }
48435     if (_v) {
48436       {
48437         _v = lua_isnumber(L,argv[1]);
48438       }
48439       if (_v) {
48440         return _wrap_SBStringList_GetStringAtIndex__SWIG_1(L);
48441       }
48442     }
48443   }
48444 
48445   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStringList_GetStringAtIndex'\n"
48446     "  Possible C/C++ prototypes are:\n"
48447     "    lldb::SBStringList::GetStringAtIndex(size_t)\n"
48448     "    lldb::SBStringList::GetStringAtIndex(size_t) const\n");
48449   lua_error(L);return 0;
48450 }
48451 
48452 
_wrap_SBStringList_Clear(lua_State * L)48453 static int _wrap_SBStringList_Clear(lua_State* L) {
48454   {
48455     int SWIG_arg = 0;
48456     lldb::SBStringList *arg1 = (lldb::SBStringList *) 0 ;
48457 
48458     SWIG_check_num_args("lldb::SBStringList::Clear",1,1)
48459     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStringList::Clear",1,"lldb::SBStringList *");
48460 
48461     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStringList,0))){
48462       SWIG_fail_ptr("SBStringList_Clear",1,SWIGTYPE_p_lldb__SBStringList);
48463     }
48464 
48465     (arg1)->Clear();
48466 
48467     return SWIG_arg;
48468 
48469     fail: SWIGUNUSED;
48470   }
48471   lua_error(L);
48472   return 0;
48473 }
48474 
48475 
swig_delete_SBStringList(void * obj)48476 static void swig_delete_SBStringList(void *obj) {
48477 lldb::SBStringList *arg1 = (lldb::SBStringList *) obj;
48478 delete arg1;
48479 }
_proxy__wrap_new_SBStringList(lua_State * L)48480 static int _proxy__wrap_new_SBStringList(lua_State *L) {
48481     assert(lua_istable(L,1));
48482     lua_pushcfunction(L,_wrap_new_SBStringList);
48483     assert(!lua_isnil(L,-1));
48484     lua_replace(L,1); /* replace our table with real constructor */
48485     lua_call(L,lua_gettop(L)-1,1);
48486     return 1;
48487 }
48488 static swig_lua_attribute swig_SBStringList_attributes[] = {
48489     {0,0,0}
48490 };
48491 static swig_lua_method swig_SBStringList_methods[]= {
48492     { "IsValid", _wrap_SBStringList_IsValid},
48493     { "AppendString", _wrap_SBStringList_AppendString},
48494     { "AppendList", _wrap_SBStringList_AppendList},
48495     { "GetSize", _wrap_SBStringList_GetSize},
48496     { "GetStringAtIndex", _wrap_SBStringList_GetStringAtIndex},
48497     { "Clear", _wrap_SBStringList_Clear},
48498     {0,0}
48499 };
48500 static swig_lua_method swig_SBStringList_meta[] = {
48501     {0,0}
48502 };
48503 
48504 static swig_lua_attribute swig_SBStringList_Sf_SwigStatic_attributes[] = {
48505     {0,0,0}
48506 };
48507 static swig_lua_const_info swig_SBStringList_Sf_SwigStatic_constants[]= {
48508     {0,0,0,0,0,0}
48509 };
48510 static swig_lua_method swig_SBStringList_Sf_SwigStatic_methods[]= {
48511     {0,0}
48512 };
48513 static swig_lua_class* swig_SBStringList_Sf_SwigStatic_classes[]= {
48514     0
48515 };
48516 
48517 static swig_lua_namespace swig_SBStringList_Sf_SwigStatic = {
48518     "SBStringList",
48519     swig_SBStringList_Sf_SwigStatic_methods,
48520     swig_SBStringList_Sf_SwigStatic_attributes,
48521     swig_SBStringList_Sf_SwigStatic_constants,
48522     swig_SBStringList_Sf_SwigStatic_classes,
48523     0
48524 };
48525 static swig_lua_class *swig_SBStringList_bases[] = {0};
48526 static const char *swig_SBStringList_base_names[] = {0};
48527 static swig_lua_class _wrap_class_SBStringList = { "SBStringList", "SBStringList", &SWIGTYPE_p_lldb__SBStringList,_proxy__wrap_new_SBStringList, swig_delete_SBStringList, swig_SBStringList_methods, swig_SBStringList_attributes, &swig_SBStringList_Sf_SwigStatic, swig_SBStringList_meta, swig_SBStringList_bases, swig_SBStringList_base_names };
48528 
_wrap_new_SBStructuredData__SWIG_0(lua_State * L)48529 static int _wrap_new_SBStructuredData__SWIG_0(lua_State* L) {
48530   {
48531     int SWIG_arg = 0;
48532     lldb::SBStructuredData *result = 0 ;
48533 
48534     SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",0,0)
48535     result = (lldb::SBStructuredData *)new lldb::SBStructuredData();
48536     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
48537     return SWIG_arg;
48538 
48539     fail: SWIGUNUSED;
48540   }
48541   lua_error(L);
48542   return 0;
48543 }
48544 
48545 
_wrap_new_SBStructuredData__SWIG_1(lua_State * L)48546 static int _wrap_new_SBStructuredData__SWIG_1(lua_State* L) {
48547   {
48548     int SWIG_arg = 0;
48549     lldb::SBStructuredData *arg1 = 0 ;
48550     lldb::SBStructuredData *result = 0 ;
48551 
48552     SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",1,1)
48553     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::SBStructuredData const &");
48554 
48555     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48556       SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_lldb__SBStructuredData);
48557     }
48558 
48559     result = (lldb::SBStructuredData *)new lldb::SBStructuredData((lldb::SBStructuredData const &)*arg1);
48560     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
48561     return SWIG_arg;
48562 
48563     fail: SWIGUNUSED;
48564   }
48565   lua_error(L);
48566   return 0;
48567 }
48568 
48569 
_wrap_new_SBStructuredData__SWIG_2(lua_State * L)48570 static int _wrap_new_SBStructuredData__SWIG_2(lua_State* L) {
48571   {
48572     int SWIG_arg = 0;
48573     SwigValueWrapper< lldb::SBScriptObject > arg1 ;
48574     lldb::SBDebugger *arg2 = 0 ;
48575     lldb::SBScriptObject *argp1 ;
48576     lldb::SBStructuredData *result = 0 ;
48577 
48578     SWIG_check_num_args("lldb::SBStructuredData::SBStructuredData",2,2)
48579     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",1,"lldb::SBScriptObject const");
48580     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SBStructuredData",2,"lldb::SBDebugger const &");
48581 
48582     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBScriptObject,0))){
48583       SWIG_fail_ptr("new_SBStructuredData",1,SWIGTYPE_p_lldb__SBScriptObject);
48584     }
48585     arg1 = *argp1;
48586 
48587 
48588     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){
48589       SWIG_fail_ptr("new_SBStructuredData",2,SWIGTYPE_p_lldb__SBDebugger);
48590     }
48591 
48592     result = (lldb::SBStructuredData *)new lldb::SBStructuredData(arg1,(lldb::SBDebugger const &)*arg2);
48593     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
48594     return SWIG_arg;
48595 
48596     fail: SWIGUNUSED;
48597   }
48598   lua_error(L);
48599   return 0;
48600 }
48601 
48602 
_wrap_new_SBStructuredData(lua_State * L)48603 static int _wrap_new_SBStructuredData(lua_State* L) {
48604   int argc;
48605   int argv[3]={
48606     1,2,3
48607   };
48608 
48609   argc = lua_gettop(L);
48610   if (argc == 0) {
48611     return _wrap_new_SBStructuredData__SWIG_0(L);
48612   }
48613   if (argc == 1) {
48614     int _v = 0;
48615     {
48616       void *ptr;
48617       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
48618         _v = 0;
48619       } else {
48620         _v = 1;
48621       }
48622     }
48623     if (_v) {
48624       return _wrap_new_SBStructuredData__SWIG_1(L);
48625     }
48626   }
48627   if (argc == 2) {
48628     int _v = 0;
48629     {
48630       void *ptr;
48631       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBScriptObject, SWIG_POINTER_NO_NULL)) {
48632         _v = 0;
48633       } else {
48634         _v = 1;
48635       }
48636     }
48637     if (_v) {
48638       {
48639         void *ptr;
48640         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL)) {
48641           _v = 0;
48642         } else {
48643           _v = 1;
48644         }
48645       }
48646       if (_v) {
48647         return _wrap_new_SBStructuredData__SWIG_2(L);
48648       }
48649     }
48650   }
48651 
48652   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBStructuredData'\n"
48653     "  Possible C/C++ prototypes are:\n"
48654     "    lldb::SBStructuredData::SBStructuredData()\n"
48655     "    lldb::SBStructuredData::SBStructuredData(lldb::SBStructuredData const &)\n"
48656     "    lldb::SBStructuredData::SBStructuredData(lldb::SBScriptObject const,lldb::SBDebugger const &)\n");
48657   lua_error(L);return 0;
48658 }
48659 
48660 
_wrap_SBStructuredData_IsValid(lua_State * L)48661 static int _wrap_SBStructuredData_IsValid(lua_State* L) {
48662   {
48663     int SWIG_arg = 0;
48664     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48665     bool result;
48666 
48667     SWIG_check_num_args("lldb::SBStructuredData::IsValid",1,1)
48668     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::IsValid",1,"lldb::SBStructuredData const *");
48669 
48670     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48671       SWIG_fail_ptr("SBStructuredData_IsValid",1,SWIGTYPE_p_lldb__SBStructuredData);
48672     }
48673 
48674     result = (bool)((lldb::SBStructuredData const *)arg1)->IsValid();
48675     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
48676     return SWIG_arg;
48677 
48678     fail: SWIGUNUSED;
48679   }
48680   lua_error(L);
48681   return 0;
48682 }
48683 
48684 
_wrap_SBStructuredData_SetFromJSON__SWIG_0(lua_State * L)48685 static int _wrap_SBStructuredData_SetFromJSON__SWIG_0(lua_State* L) {
48686   {
48687     int SWIG_arg = 0;
48688     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48689     lldb::SBStream *arg2 = 0 ;
48690     lldb::SBError result;
48691 
48692     SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2)
48693     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *");
48694     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"lldb::SBStream &");
48695 
48696     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48697       SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData);
48698     }
48699 
48700 
48701     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
48702       SWIG_fail_ptr("SBStructuredData_SetFromJSON",2,SWIGTYPE_p_lldb__SBStream);
48703     }
48704 
48705     result = (arg1)->SetFromJSON(*arg2);
48706     {
48707       lldb::SBError * resultptr = new lldb::SBError(result);
48708       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
48709     }
48710     return SWIG_arg;
48711 
48712     fail: SWIGUNUSED;
48713   }
48714   lua_error(L);
48715   return 0;
48716 }
48717 
48718 
_wrap_SBStructuredData_SetFromJSON__SWIG_1(lua_State * L)48719 static int _wrap_SBStructuredData_SetFromJSON__SWIG_1(lua_State* L) {
48720   {
48721     int SWIG_arg = 0;
48722     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48723     char *arg2 = (char *) 0 ;
48724     lldb::SBError result;
48725 
48726     SWIG_check_num_args("lldb::SBStructuredData::SetFromJSON",2,2)
48727     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",1,"lldb::SBStructuredData *");
48728     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::SetFromJSON",2,"char const *");
48729 
48730     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48731       SWIG_fail_ptr("SBStructuredData_SetFromJSON",1,SWIGTYPE_p_lldb__SBStructuredData);
48732     }
48733 
48734     arg2 = (char *)lua_tostring(L, 2);
48735     result = (arg1)->SetFromJSON((char const *)arg2);
48736     {
48737       lldb::SBError * resultptr = new lldb::SBError(result);
48738       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
48739     }
48740     return SWIG_arg;
48741 
48742     fail: SWIGUNUSED;
48743   }
48744   lua_error(L);
48745   return 0;
48746 }
48747 
48748 
_wrap_SBStructuredData_SetFromJSON(lua_State * L)48749 static int _wrap_SBStructuredData_SetFromJSON(lua_State* L) {
48750   int argc;
48751   int argv[3]={
48752     1,2,3
48753   };
48754 
48755   argc = lua_gettop(L);
48756   if (argc == 2) {
48757     int _v = 0;
48758     {
48759       void *ptr;
48760       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
48761         _v = 0;
48762       } else {
48763         _v = 1;
48764       }
48765     }
48766     if (_v) {
48767       {
48768         void *ptr;
48769         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
48770           _v = 0;
48771         } else {
48772           _v = 1;
48773         }
48774       }
48775       if (_v) {
48776         return _wrap_SBStructuredData_SetFromJSON__SWIG_0(L);
48777       }
48778     }
48779   }
48780   if (argc == 2) {
48781     int _v = 0;
48782     {
48783       void *ptr;
48784       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
48785         _v = 0;
48786       } else {
48787         _v = 1;
48788       }
48789     }
48790     if (_v) {
48791       {
48792         _v = SWIG_lua_isnilstring(L,argv[1]);
48793       }
48794       if (_v) {
48795         return _wrap_SBStructuredData_SetFromJSON__SWIG_1(L);
48796       }
48797     }
48798   }
48799 
48800   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_SetFromJSON'\n"
48801     "  Possible C/C++ prototypes are:\n"
48802     "    lldb::SBStructuredData::SetFromJSON(lldb::SBStream &)\n"
48803     "    lldb::SBStructuredData::SetFromJSON(char const *)\n");
48804   lua_error(L);return 0;
48805 }
48806 
48807 
_wrap_SBStructuredData_Clear(lua_State * L)48808 static int _wrap_SBStructuredData_Clear(lua_State* L) {
48809   {
48810     int SWIG_arg = 0;
48811     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48812 
48813     SWIG_check_num_args("lldb::SBStructuredData::Clear",1,1)
48814     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::Clear",1,"lldb::SBStructuredData *");
48815 
48816     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48817       SWIG_fail_ptr("SBStructuredData_Clear",1,SWIGTYPE_p_lldb__SBStructuredData);
48818     }
48819 
48820     (arg1)->Clear();
48821 
48822     return SWIG_arg;
48823 
48824     fail: SWIGUNUSED;
48825   }
48826   lua_error(L);
48827   return 0;
48828 }
48829 
48830 
_wrap_SBStructuredData_GetAsJSON(lua_State * L)48831 static int _wrap_SBStructuredData_GetAsJSON(lua_State* L) {
48832   {
48833     int SWIG_arg = 0;
48834     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48835     lldb::SBStream *arg2 = 0 ;
48836     lldb::SBError result;
48837 
48838     SWIG_check_num_args("lldb::SBStructuredData::GetAsJSON",2,2)
48839     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",1,"lldb::SBStructuredData const *");
48840     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetAsJSON",2,"lldb::SBStream &");
48841 
48842     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48843       SWIG_fail_ptr("SBStructuredData_GetAsJSON",1,SWIGTYPE_p_lldb__SBStructuredData);
48844     }
48845 
48846 
48847     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
48848       SWIG_fail_ptr("SBStructuredData_GetAsJSON",2,SWIGTYPE_p_lldb__SBStream);
48849     }
48850 
48851     result = ((lldb::SBStructuredData const *)arg1)->GetAsJSON(*arg2);
48852     {
48853       lldb::SBError * resultptr = new lldb::SBError(result);
48854       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
48855     }
48856     return SWIG_arg;
48857 
48858     fail: SWIGUNUSED;
48859   }
48860   lua_error(L);
48861   return 0;
48862 }
48863 
48864 
_wrap_SBStructuredData_GetDescription(lua_State * L)48865 static int _wrap_SBStructuredData_GetDescription(lua_State* L) {
48866   {
48867     int SWIG_arg = 0;
48868     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48869     lldb::SBStream *arg2 = 0 ;
48870     lldb::SBError result;
48871 
48872     SWIG_check_num_args("lldb::SBStructuredData::GetDescription",2,2)
48873     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",1,"lldb::SBStructuredData const *");
48874     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetDescription",2,"lldb::SBStream &");
48875 
48876     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48877       SWIG_fail_ptr("SBStructuredData_GetDescription",1,SWIGTYPE_p_lldb__SBStructuredData);
48878     }
48879 
48880 
48881     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
48882       SWIG_fail_ptr("SBStructuredData_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
48883     }
48884 
48885     result = ((lldb::SBStructuredData const *)arg1)->GetDescription(*arg2);
48886     {
48887       lldb::SBError * resultptr = new lldb::SBError(result);
48888       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
48889     }
48890     return SWIG_arg;
48891 
48892     fail: SWIGUNUSED;
48893   }
48894   lua_error(L);
48895   return 0;
48896 }
48897 
48898 
_wrap_SBStructuredData_GetType(lua_State * L)48899 static int _wrap_SBStructuredData_GetType(lua_State* L) {
48900   {
48901     int SWIG_arg = 0;
48902     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48903     lldb::StructuredDataType result;
48904 
48905     SWIG_check_num_args("lldb::SBStructuredData::GetType",1,1)
48906     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetType",1,"lldb::SBStructuredData const *");
48907 
48908     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48909       SWIG_fail_ptr("SBStructuredData_GetType",1,SWIGTYPE_p_lldb__SBStructuredData);
48910     }
48911 
48912     result = (lldb::StructuredDataType)((lldb::SBStructuredData const *)arg1)->GetType();
48913     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
48914     return SWIG_arg;
48915 
48916     fail: SWIGUNUSED;
48917   }
48918   lua_error(L);
48919   return 0;
48920 }
48921 
48922 
_wrap_SBStructuredData_GetSize(lua_State * L)48923 static int _wrap_SBStructuredData_GetSize(lua_State* L) {
48924   {
48925     int SWIG_arg = 0;
48926     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48927     size_t result;
48928 
48929     SWIG_check_num_args("lldb::SBStructuredData::GetSize",1,1)
48930     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetSize",1,"lldb::SBStructuredData const *");
48931 
48932     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48933       SWIG_fail_ptr("SBStructuredData_GetSize",1,SWIGTYPE_p_lldb__SBStructuredData);
48934     }
48935 
48936     result = ((lldb::SBStructuredData const *)arg1)->GetSize();
48937     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
48938     return SWIG_arg;
48939 
48940     fail: SWIGUNUSED;
48941   }
48942   lua_error(L);
48943   return 0;
48944 }
48945 
48946 
_wrap_SBStructuredData_GetKeys(lua_State * L)48947 static int _wrap_SBStructuredData_GetKeys(lua_State* L) {
48948   {
48949     int SWIG_arg = 0;
48950     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48951     lldb::SBStringList *arg2 = 0 ;
48952     bool result;
48953 
48954     SWIG_check_num_args("lldb::SBStructuredData::GetKeys",2,2)
48955     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",1,"lldb::SBStructuredData const *");
48956     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetKeys",2,"lldb::SBStringList &");
48957 
48958     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48959       SWIG_fail_ptr("SBStructuredData_GetKeys",1,SWIGTYPE_p_lldb__SBStructuredData);
48960     }
48961 
48962 
48963     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
48964       SWIG_fail_ptr("SBStructuredData_GetKeys",2,SWIGTYPE_p_lldb__SBStringList);
48965     }
48966 
48967     result = (bool)((lldb::SBStructuredData const *)arg1)->GetKeys(*arg2);
48968     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
48969     return SWIG_arg;
48970 
48971     fail: SWIGUNUSED;
48972   }
48973   lua_error(L);
48974   return 0;
48975 }
48976 
48977 
_wrap_SBStructuredData_GetValueForKey(lua_State * L)48978 static int _wrap_SBStructuredData_GetValueForKey(lua_State* L) {
48979   {
48980     int SWIG_arg = 0;
48981     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
48982     char *arg2 = (char *) 0 ;
48983     lldb::SBStructuredData result;
48984 
48985     SWIG_check_num_args("lldb::SBStructuredData::GetValueForKey",2,2)
48986     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",1,"lldb::SBStructuredData const *");
48987     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetValueForKey",2,"char const *");
48988 
48989     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
48990       SWIG_fail_ptr("SBStructuredData_GetValueForKey",1,SWIGTYPE_p_lldb__SBStructuredData);
48991     }
48992 
48993     arg2 = (char *)lua_tostring(L, 2);
48994     result = ((lldb::SBStructuredData const *)arg1)->GetValueForKey((char const *)arg2);
48995     {
48996       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
48997       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
48998     }
48999     return SWIG_arg;
49000 
49001     fail: SWIGUNUSED;
49002   }
49003   lua_error(L);
49004   return 0;
49005 }
49006 
49007 
_wrap_SBStructuredData_GetItemAtIndex(lua_State * L)49008 static int _wrap_SBStructuredData_GetItemAtIndex(lua_State* L) {
49009   {
49010     int SWIG_arg = 0;
49011     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49012     size_t arg2 ;
49013     lldb::SBStructuredData result;
49014 
49015     SWIG_check_num_args("lldb::SBStructuredData::GetItemAtIndex",2,2)
49016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",1,"lldb::SBStructuredData const *");
49017     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetItemAtIndex",2,"size_t");
49018 
49019     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49020       SWIG_fail_ptr("SBStructuredData_GetItemAtIndex",1,SWIGTYPE_p_lldb__SBStructuredData);
49021     }
49022 
49023     arg2 = (size_t)lua_tointeger(L, 2);
49024     result = ((lldb::SBStructuredData const *)arg1)->GetItemAtIndex(arg2);
49025     {
49026       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
49027       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
49028     }
49029     return SWIG_arg;
49030 
49031     fail: SWIGUNUSED;
49032   }
49033   lua_error(L);
49034   return 0;
49035 }
49036 
49037 
_wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_0(lua_State * L)49038 static int _wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_0(lua_State* L) {
49039   {
49040     int SWIG_arg = 0;
49041     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49042     uint64_t arg2 ;
49043     uint64_t result;
49044 
49045     SWIG_check_num_args("lldb::SBStructuredData::GetUnsignedIntegerValue",2,2)
49046     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetUnsignedIntegerValue",1,"lldb::SBStructuredData const *");
49047     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetUnsignedIntegerValue",2,"uint64_t");
49048 
49049     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49050       SWIG_fail_ptr("SBStructuredData_GetUnsignedIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49051     }
49052 
49053     arg2 = (uint64_t)lua_tointeger(L, 2);
49054     result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetUnsignedIntegerValue(arg2);
49055     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49056     return SWIG_arg;
49057 
49058     fail: SWIGUNUSED;
49059   }
49060   lua_error(L);
49061   return 0;
49062 }
49063 
49064 
_wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_1(lua_State * L)49065 static int _wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_1(lua_State* L) {
49066   {
49067     int SWIG_arg = 0;
49068     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49069     uint64_t result;
49070 
49071     SWIG_check_num_args("lldb::SBStructuredData::GetUnsignedIntegerValue",1,1)
49072     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetUnsignedIntegerValue",1,"lldb::SBStructuredData const *");
49073 
49074     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49075       SWIG_fail_ptr("SBStructuredData_GetUnsignedIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49076     }
49077 
49078     result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetUnsignedIntegerValue();
49079     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49080     return SWIG_arg;
49081 
49082     fail: SWIGUNUSED;
49083   }
49084   lua_error(L);
49085   return 0;
49086 }
49087 
49088 
_wrap_SBStructuredData_GetUnsignedIntegerValue(lua_State * L)49089 static int _wrap_SBStructuredData_GetUnsignedIntegerValue(lua_State* L) {
49090   int argc;
49091   int argv[3]={
49092     1,2,3
49093   };
49094 
49095   argc = lua_gettop(L);
49096   if (argc == 1) {
49097     int _v = 0;
49098     {
49099       void *ptr;
49100       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49101         _v = 0;
49102       } else {
49103         _v = 1;
49104       }
49105     }
49106     if (_v) {
49107       return _wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_1(L);
49108     }
49109   }
49110   if (argc == 2) {
49111     int _v = 0;
49112     {
49113       void *ptr;
49114       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49115         _v = 0;
49116       } else {
49117         _v = 1;
49118       }
49119     }
49120     if (_v) {
49121       {
49122         _v = lua_isnumber(L,argv[1]);
49123       }
49124       if (_v) {
49125         return _wrap_SBStructuredData_GetUnsignedIntegerValue__SWIG_0(L);
49126       }
49127     }
49128   }
49129 
49130   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_GetUnsignedIntegerValue'\n"
49131     "  Possible C/C++ prototypes are:\n"
49132     "    lldb::SBStructuredData::GetUnsignedIntegerValue(uint64_t) const\n"
49133     "    lldb::SBStructuredData::GetUnsignedIntegerValue() const\n");
49134   lua_error(L);return 0;
49135 }
49136 
49137 
_wrap_SBStructuredData_GetSignedIntegerValue__SWIG_0(lua_State * L)49138 static int _wrap_SBStructuredData_GetSignedIntegerValue__SWIG_0(lua_State* L) {
49139   {
49140     int SWIG_arg = 0;
49141     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49142     int64_t arg2 ;
49143     int64_t result;
49144 
49145     SWIG_check_num_args("lldb::SBStructuredData::GetSignedIntegerValue",2,2)
49146     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetSignedIntegerValue",1,"lldb::SBStructuredData const *");
49147     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetSignedIntegerValue",2,"int64_t");
49148 
49149     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49150       SWIG_fail_ptr("SBStructuredData_GetSignedIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49151     }
49152 
49153     arg2 = (int64_t)lua_tointeger(L, 2);
49154     result = (int64_t)((lldb::SBStructuredData const *)arg1)->GetSignedIntegerValue(arg2);
49155     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49156     return SWIG_arg;
49157 
49158     fail: SWIGUNUSED;
49159   }
49160   lua_error(L);
49161   return 0;
49162 }
49163 
49164 
_wrap_SBStructuredData_GetSignedIntegerValue__SWIG_1(lua_State * L)49165 static int _wrap_SBStructuredData_GetSignedIntegerValue__SWIG_1(lua_State* L) {
49166   {
49167     int SWIG_arg = 0;
49168     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49169     int64_t result;
49170 
49171     SWIG_check_num_args("lldb::SBStructuredData::GetSignedIntegerValue",1,1)
49172     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetSignedIntegerValue",1,"lldb::SBStructuredData const *");
49173 
49174     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49175       SWIG_fail_ptr("SBStructuredData_GetSignedIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49176     }
49177 
49178     result = (int64_t)((lldb::SBStructuredData const *)arg1)->GetSignedIntegerValue();
49179     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49180     return SWIG_arg;
49181 
49182     fail: SWIGUNUSED;
49183   }
49184   lua_error(L);
49185   return 0;
49186 }
49187 
49188 
_wrap_SBStructuredData_GetSignedIntegerValue(lua_State * L)49189 static int _wrap_SBStructuredData_GetSignedIntegerValue(lua_State* L) {
49190   int argc;
49191   int argv[3]={
49192     1,2,3
49193   };
49194 
49195   argc = lua_gettop(L);
49196   if (argc == 1) {
49197     int _v = 0;
49198     {
49199       void *ptr;
49200       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49201         _v = 0;
49202       } else {
49203         _v = 1;
49204       }
49205     }
49206     if (_v) {
49207       return _wrap_SBStructuredData_GetSignedIntegerValue__SWIG_1(L);
49208     }
49209   }
49210   if (argc == 2) {
49211     int _v = 0;
49212     {
49213       void *ptr;
49214       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49215         _v = 0;
49216       } else {
49217         _v = 1;
49218       }
49219     }
49220     if (_v) {
49221       {
49222         _v = lua_isnumber(L,argv[1]);
49223       }
49224       if (_v) {
49225         return _wrap_SBStructuredData_GetSignedIntegerValue__SWIG_0(L);
49226       }
49227     }
49228   }
49229 
49230   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_GetSignedIntegerValue'\n"
49231     "  Possible C/C++ prototypes are:\n"
49232     "    lldb::SBStructuredData::GetSignedIntegerValue(int64_t) const\n"
49233     "    lldb::SBStructuredData::GetSignedIntegerValue() const\n");
49234   lua_error(L);return 0;
49235 }
49236 
49237 
_wrap_SBStructuredData_GetIntegerValue__SWIG_0(lua_State * L)49238 static int _wrap_SBStructuredData_GetIntegerValue__SWIG_0(lua_State* L) {
49239   {
49240     int SWIG_arg = 0;
49241     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49242     uint64_t arg2 ;
49243     uint64_t result;
49244 
49245     SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",2,2)
49246     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *");
49247     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",2,"uint64_t");
49248 
49249     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49250       SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49251     }
49252 
49253     arg2 = (uint64_t)lua_tointeger(L, 2);
49254     result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue(arg2);
49255     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49256     return SWIG_arg;
49257 
49258     fail: SWIGUNUSED;
49259   }
49260   lua_error(L);
49261   return 0;
49262 }
49263 
49264 
_wrap_SBStructuredData_GetIntegerValue__SWIG_1(lua_State * L)49265 static int _wrap_SBStructuredData_GetIntegerValue__SWIG_1(lua_State* L) {
49266   {
49267     int SWIG_arg = 0;
49268     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49269     uint64_t result;
49270 
49271     SWIG_check_num_args("lldb::SBStructuredData::GetIntegerValue",1,1)
49272     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetIntegerValue",1,"lldb::SBStructuredData const *");
49273 
49274     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49275       SWIG_fail_ptr("SBStructuredData_GetIntegerValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49276     }
49277 
49278     result = (uint64_t)((lldb::SBStructuredData const *)arg1)->GetIntegerValue();
49279     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49280     return SWIG_arg;
49281 
49282     fail: SWIGUNUSED;
49283   }
49284   lua_error(L);
49285   return 0;
49286 }
49287 
49288 
_wrap_SBStructuredData_GetIntegerValue(lua_State * L)49289 static int _wrap_SBStructuredData_GetIntegerValue(lua_State* L) {
49290   int argc;
49291   int argv[3]={
49292     1,2,3
49293   };
49294 
49295   argc = lua_gettop(L);
49296   if (argc == 1) {
49297     int _v = 0;
49298     {
49299       void *ptr;
49300       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49301         _v = 0;
49302       } else {
49303         _v = 1;
49304       }
49305     }
49306     if (_v) {
49307       return _wrap_SBStructuredData_GetIntegerValue__SWIG_1(L);
49308     }
49309   }
49310   if (argc == 2) {
49311     int _v = 0;
49312     {
49313       void *ptr;
49314       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49315         _v = 0;
49316       } else {
49317         _v = 1;
49318       }
49319     }
49320     if (_v) {
49321       {
49322         _v = lua_isnumber(L,argv[1]);
49323       }
49324       if (_v) {
49325         return _wrap_SBStructuredData_GetIntegerValue__SWIG_0(L);
49326       }
49327     }
49328   }
49329 
49330   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_GetIntegerValue'\n"
49331     "  Possible C/C++ prototypes are:\n"
49332     "    lldb::SBStructuredData::GetIntegerValue(uint64_t) const\n"
49333     "    lldb::SBStructuredData::GetIntegerValue() const\n");
49334   lua_error(L);return 0;
49335 }
49336 
49337 
_wrap_SBStructuredData_GetFloatValue__SWIG_0(lua_State * L)49338 static int _wrap_SBStructuredData_GetFloatValue__SWIG_0(lua_State* L) {
49339   {
49340     int SWIG_arg = 0;
49341     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49342     double arg2 ;
49343     double result;
49344 
49345     SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",2,2)
49346     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *");
49347     if(!lua_isnumber(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",2,"double");
49348 
49349     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49350       SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49351     }
49352 
49353     arg2 = (double)lua_tonumber(L, 2);
49354     result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue(arg2);
49355     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
49356     return SWIG_arg;
49357 
49358     fail: SWIGUNUSED;
49359   }
49360   lua_error(L);
49361   return 0;
49362 }
49363 
49364 
_wrap_SBStructuredData_GetFloatValue__SWIG_1(lua_State * L)49365 static int _wrap_SBStructuredData_GetFloatValue__SWIG_1(lua_State* L) {
49366   {
49367     int SWIG_arg = 0;
49368     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49369     double result;
49370 
49371     SWIG_check_num_args("lldb::SBStructuredData::GetFloatValue",1,1)
49372     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetFloatValue",1,"lldb::SBStructuredData const *");
49373 
49374     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49375       SWIG_fail_ptr("SBStructuredData_GetFloatValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49376     }
49377 
49378     result = (double)((lldb::SBStructuredData const *)arg1)->GetFloatValue();
49379     lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
49380     return SWIG_arg;
49381 
49382     fail: SWIGUNUSED;
49383   }
49384   lua_error(L);
49385   return 0;
49386 }
49387 
49388 
_wrap_SBStructuredData_GetFloatValue(lua_State * L)49389 static int _wrap_SBStructuredData_GetFloatValue(lua_State* L) {
49390   int argc;
49391   int argv[3]={
49392     1,2,3
49393   };
49394 
49395   argc = lua_gettop(L);
49396   if (argc == 1) {
49397     int _v = 0;
49398     {
49399       void *ptr;
49400       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49401         _v = 0;
49402       } else {
49403         _v = 1;
49404       }
49405     }
49406     if (_v) {
49407       return _wrap_SBStructuredData_GetFloatValue__SWIG_1(L);
49408     }
49409   }
49410   if (argc == 2) {
49411     int _v = 0;
49412     {
49413       void *ptr;
49414       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49415         _v = 0;
49416       } else {
49417         _v = 1;
49418       }
49419     }
49420     if (_v) {
49421       {
49422         _v = lua_isnumber(L,argv[1]);
49423       }
49424       if (_v) {
49425         return _wrap_SBStructuredData_GetFloatValue__SWIG_0(L);
49426       }
49427     }
49428   }
49429 
49430   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_GetFloatValue'\n"
49431     "  Possible C/C++ prototypes are:\n"
49432     "    lldb::SBStructuredData::GetFloatValue(double) const\n"
49433     "    lldb::SBStructuredData::GetFloatValue() const\n");
49434   lua_error(L);return 0;
49435 }
49436 
49437 
_wrap_SBStructuredData_GetBooleanValue__SWIG_0(lua_State * L)49438 static int _wrap_SBStructuredData_GetBooleanValue__SWIG_0(lua_State* L) {
49439   {
49440     int SWIG_arg = 0;
49441     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49442     bool arg2 ;
49443     bool result;
49444 
49445     SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",2,2)
49446     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *");
49447     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",2,"bool");
49448 
49449     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49450       SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49451     }
49452 
49453     arg2 = (lua_toboolean(L, 2)!=0);
49454     result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue(arg2);
49455     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
49456     return SWIG_arg;
49457 
49458     fail: SWIGUNUSED;
49459   }
49460   lua_error(L);
49461   return 0;
49462 }
49463 
49464 
_wrap_SBStructuredData_GetBooleanValue__SWIG_1(lua_State * L)49465 static int _wrap_SBStructuredData_GetBooleanValue__SWIG_1(lua_State* L) {
49466   {
49467     int SWIG_arg = 0;
49468     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49469     bool result;
49470 
49471     SWIG_check_num_args("lldb::SBStructuredData::GetBooleanValue",1,1)
49472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetBooleanValue",1,"lldb::SBStructuredData const *");
49473 
49474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49475       SWIG_fail_ptr("SBStructuredData_GetBooleanValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49476     }
49477 
49478     result = (bool)((lldb::SBStructuredData const *)arg1)->GetBooleanValue();
49479     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
49480     return SWIG_arg;
49481 
49482     fail: SWIGUNUSED;
49483   }
49484   lua_error(L);
49485   return 0;
49486 }
49487 
49488 
_wrap_SBStructuredData_GetBooleanValue(lua_State * L)49489 static int _wrap_SBStructuredData_GetBooleanValue(lua_State* L) {
49490   int argc;
49491   int argv[3]={
49492     1,2,3
49493   };
49494 
49495   argc = lua_gettop(L);
49496   if (argc == 1) {
49497     int _v = 0;
49498     {
49499       void *ptr;
49500       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49501         _v = 0;
49502       } else {
49503         _v = 1;
49504       }
49505     }
49506     if (_v) {
49507       return _wrap_SBStructuredData_GetBooleanValue__SWIG_1(L);
49508     }
49509   }
49510   if (argc == 2) {
49511     int _v = 0;
49512     {
49513       void *ptr;
49514       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
49515         _v = 0;
49516       } else {
49517         _v = 1;
49518       }
49519     }
49520     if (_v) {
49521       {
49522         _v = lua_isboolean(L,argv[1]);
49523       }
49524       if (_v) {
49525         return _wrap_SBStructuredData_GetBooleanValue__SWIG_0(L);
49526       }
49527     }
49528   }
49529 
49530   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBStructuredData_GetBooleanValue'\n"
49531     "  Possible C/C++ prototypes are:\n"
49532     "    lldb::SBStructuredData::GetBooleanValue(bool) const\n"
49533     "    lldb::SBStructuredData::GetBooleanValue() const\n");
49534   lua_error(L);return 0;
49535 }
49536 
49537 
_wrap_SBStructuredData_GetStringValue(lua_State * L)49538 static int _wrap_SBStructuredData_GetStringValue(lua_State* L) {
49539   {
49540     int SWIG_arg = 0;
49541     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49542     char *arg2 = (char *) 0 ;
49543     size_t arg3 ;
49544     size_t result;
49545 
49546     SWIG_check_num_args("lldb::SBStructuredData::GetStringValue",2,2)
49547     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetStringValue",1,"lldb::SBStructuredData const *");
49548 
49549     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49550       SWIG_fail_ptr("SBStructuredData_GetStringValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49551     }
49552 
49553     {
49554       arg3 = luaL_checkinteger(L, 2);
49555       if (arg3 <= 0) {
49556         return luaL_error(L, "Positive integer expected");
49557       }
49558       arg2 = (char *)malloc(arg3);
49559     }
49560     result = ((lldb::SBStructuredData const *)arg1)->GetStringValue(arg2,arg3);
49561     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
49562     {
49563       lua_pop(L, 1); // Blow away the previous result
49564       if (result == 0) {
49565         lua_pushliteral(L, "");
49566       } else {
49567         lua_pushlstring(L, (const char *)arg2, result);
49568       }
49569       free(arg2);
49570       // SWIG_arg was already incremented
49571     }
49572     return SWIG_arg;
49573 
49574     fail: SWIGUNUSED;
49575   }
49576   lua_error(L);
49577   return 0;
49578 }
49579 
49580 
_wrap_SBStructuredData_GetGenericValue(lua_State * L)49581 static int _wrap_SBStructuredData_GetGenericValue(lua_State* L) {
49582   {
49583     int SWIG_arg = 0;
49584     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49585     SwigValueWrapper< lldb::SBScriptObject > result;
49586 
49587     SWIG_check_num_args("lldb::SBStructuredData::GetGenericValue",1,1)
49588     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::GetGenericValue",1,"lldb::SBStructuredData const *");
49589 
49590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49591       SWIG_fail_ptr("SBStructuredData_GetGenericValue",1,SWIGTYPE_p_lldb__SBStructuredData);
49592     }
49593 
49594     result = ((lldb::SBStructuredData const *)arg1)->GetGenericValue();
49595     {
49596       lldb::SBScriptObject * resultptr = new lldb::SBScriptObject(result);
49597       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBScriptObject,1); SWIG_arg++;
49598     }
49599     return SWIG_arg;
49600 
49601     fail: SWIGUNUSED;
49602   }
49603   lua_error(L);
49604   return 0;
49605 }
49606 
49607 
_wrap_SBStructuredData___tostring(lua_State * L)49608 static int _wrap_SBStructuredData___tostring(lua_State* L) {
49609   {
49610     int SWIG_arg = 0;
49611     lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ;
49612     std::string result;
49613 
49614     SWIG_check_num_args("lldb::SBStructuredData::__repr__",1,1)
49615     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::__repr__",1,"lldb::SBStructuredData *");
49616 
49617     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){
49618       SWIG_fail_ptr("SBStructuredData___tostring",1,SWIGTYPE_p_lldb__SBStructuredData);
49619     }
49620 
49621     result = lldb_SBStructuredData___repr__(arg1);
49622     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
49623     return SWIG_arg;
49624 
49625     fail: SWIGUNUSED;
49626   }
49627   lua_error(L);
49628   return 0;
49629 }
49630 
49631 
swig_delete_SBStructuredData(void * obj)49632 static void swig_delete_SBStructuredData(void *obj) {
49633 lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) obj;
49634 delete arg1;
49635 }
_proxy__wrap_new_SBStructuredData(lua_State * L)49636 static int _proxy__wrap_new_SBStructuredData(lua_State *L) {
49637     assert(lua_istable(L,1));
49638     lua_pushcfunction(L,_wrap_new_SBStructuredData);
49639     assert(!lua_isnil(L,-1));
49640     lua_replace(L,1); /* replace our table with real constructor */
49641     lua_call(L,lua_gettop(L)-1,1);
49642     return 1;
49643 }
49644 static swig_lua_attribute swig_SBStructuredData_attributes[] = {
49645     {0,0,0}
49646 };
49647 static swig_lua_method swig_SBStructuredData_methods[]= {
49648     { "IsValid", _wrap_SBStructuredData_IsValid},
49649     { "SetFromJSON", _wrap_SBStructuredData_SetFromJSON},
49650     { "Clear", _wrap_SBStructuredData_Clear},
49651     { "GetAsJSON", _wrap_SBStructuredData_GetAsJSON},
49652     { "GetDescription", _wrap_SBStructuredData_GetDescription},
49653     { "GetType", _wrap_SBStructuredData_GetType},
49654     { "GetSize", _wrap_SBStructuredData_GetSize},
49655     { "GetKeys", _wrap_SBStructuredData_GetKeys},
49656     { "GetValueForKey", _wrap_SBStructuredData_GetValueForKey},
49657     { "GetItemAtIndex", _wrap_SBStructuredData_GetItemAtIndex},
49658     { "GetUnsignedIntegerValue", _wrap_SBStructuredData_GetUnsignedIntegerValue},
49659     { "GetSignedIntegerValue", _wrap_SBStructuredData_GetSignedIntegerValue},
49660     { "GetIntegerValue", _wrap_SBStructuredData_GetIntegerValue},
49661     { "GetFloatValue", _wrap_SBStructuredData_GetFloatValue},
49662     { "GetBooleanValue", _wrap_SBStructuredData_GetBooleanValue},
49663     { "GetStringValue", _wrap_SBStructuredData_GetStringValue},
49664     { "GetGenericValue", _wrap_SBStructuredData_GetGenericValue},
49665     { "__tostring", _wrap_SBStructuredData___tostring},
49666     {0,0}
49667 };
49668 static swig_lua_method swig_SBStructuredData_meta[] = {
49669     { "__tostring", _wrap_SBStructuredData___tostring},
49670     {0,0}
49671 };
49672 
49673 static swig_lua_attribute swig_SBStructuredData_Sf_SwigStatic_attributes[] = {
49674     {0,0,0}
49675 };
49676 static swig_lua_const_info swig_SBStructuredData_Sf_SwigStatic_constants[]= {
49677     {0,0,0,0,0,0}
49678 };
49679 static swig_lua_method swig_SBStructuredData_Sf_SwigStatic_methods[]= {
49680     {0,0}
49681 };
49682 static swig_lua_class* swig_SBStructuredData_Sf_SwigStatic_classes[]= {
49683     0
49684 };
49685 
49686 static swig_lua_namespace swig_SBStructuredData_Sf_SwigStatic = {
49687     "SBStructuredData",
49688     swig_SBStructuredData_Sf_SwigStatic_methods,
49689     swig_SBStructuredData_Sf_SwigStatic_attributes,
49690     swig_SBStructuredData_Sf_SwigStatic_constants,
49691     swig_SBStructuredData_Sf_SwigStatic_classes,
49692     0
49693 };
49694 static swig_lua_class *swig_SBStructuredData_bases[] = {0};
49695 static const char *swig_SBStructuredData_base_names[] = {0};
49696 static swig_lua_class _wrap_class_SBStructuredData = { "SBStructuredData", "SBStructuredData", &SWIGTYPE_p_lldb__SBStructuredData,_proxy__wrap_new_SBStructuredData, swig_delete_SBStructuredData, swig_SBStructuredData_methods, swig_SBStructuredData_attributes, &swig_SBStructuredData_Sf_SwigStatic, swig_SBStructuredData_meta, swig_SBStructuredData_bases, swig_SBStructuredData_base_names };
49697 
_wrap_new_SBSymbol__SWIG_0(lua_State * L)49698 static int _wrap_new_SBSymbol__SWIG_0(lua_State* L) {
49699   {
49700     int SWIG_arg = 0;
49701     lldb::SBSymbol *result = 0 ;
49702 
49703     SWIG_check_num_args("lldb::SBSymbol::SBSymbol",0,0)
49704     result = (lldb::SBSymbol *)new lldb::SBSymbol();
49705     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
49706     return SWIG_arg;
49707 
49708     fail: SWIGUNUSED;
49709   }
49710   lua_error(L);
49711   return 0;
49712 }
49713 
49714 
_wrap_new_SBSymbol__SWIG_1(lua_State * L)49715 static int _wrap_new_SBSymbol__SWIG_1(lua_State* L) {
49716   {
49717     int SWIG_arg = 0;
49718     lldb::SBSymbol *arg1 = 0 ;
49719     lldb::SBSymbol *result = 0 ;
49720 
49721     SWIG_check_num_args("lldb::SBSymbol::SBSymbol",1,1)
49722     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbol::SBSymbol",1,"lldb::SBSymbol const &");
49723 
49724     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49725       SWIG_fail_ptr("new_SBSymbol",1,SWIGTYPE_p_lldb__SBSymbol);
49726     }
49727 
49728     result = (lldb::SBSymbol *)new lldb::SBSymbol((lldb::SBSymbol const &)*arg1);
49729     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
49730     return SWIG_arg;
49731 
49732     fail: SWIGUNUSED;
49733   }
49734   lua_error(L);
49735   return 0;
49736 }
49737 
49738 
_wrap_new_SBSymbol(lua_State * L)49739 static int _wrap_new_SBSymbol(lua_State* L) {
49740   int argc;
49741   int argv[2]={
49742     1,2
49743   };
49744 
49745   argc = lua_gettop(L);
49746   if (argc == 0) {
49747     return _wrap_new_SBSymbol__SWIG_0(L);
49748   }
49749   if (argc == 1) {
49750     int _v = 0;
49751     {
49752       void *ptr;
49753       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, SWIG_POINTER_NO_NULL)) {
49754         _v = 0;
49755       } else {
49756         _v = 1;
49757       }
49758     }
49759     if (_v) {
49760       return _wrap_new_SBSymbol__SWIG_1(L);
49761     }
49762   }
49763 
49764   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBSymbol'\n"
49765     "  Possible C/C++ prototypes are:\n"
49766     "    lldb::SBSymbol::SBSymbol()\n"
49767     "    lldb::SBSymbol::SBSymbol(lldb::SBSymbol const &)\n");
49768   lua_error(L);return 0;
49769 }
49770 
49771 
_wrap_SBSymbol_IsValid(lua_State * L)49772 static int _wrap_SBSymbol_IsValid(lua_State* L) {
49773   {
49774     int SWIG_arg = 0;
49775     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49776     bool result;
49777 
49778     SWIG_check_num_args("lldb::SBSymbol::IsValid",1,1)
49779     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsValid",1,"lldb::SBSymbol const *");
49780 
49781     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49782       SWIG_fail_ptr("SBSymbol_IsValid",1,SWIGTYPE_p_lldb__SBSymbol);
49783     }
49784 
49785     result = (bool)((lldb::SBSymbol const *)arg1)->IsValid();
49786     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
49787     return SWIG_arg;
49788 
49789     fail: SWIGUNUSED;
49790   }
49791   lua_error(L);
49792   return 0;
49793 }
49794 
49795 
_wrap_SBSymbol_GetName(lua_State * L)49796 static int _wrap_SBSymbol_GetName(lua_State* L) {
49797   {
49798     int SWIG_arg = 0;
49799     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49800     char *result = 0 ;
49801 
49802     SWIG_check_num_args("lldb::SBSymbol::GetName",1,1)
49803     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetName",1,"lldb::SBSymbol const *");
49804 
49805     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49806       SWIG_fail_ptr("SBSymbol_GetName",1,SWIGTYPE_p_lldb__SBSymbol);
49807     }
49808 
49809     result = (char *)((lldb::SBSymbol const *)arg1)->GetName();
49810     lua_pushstring(L,(const char *)result); SWIG_arg++;
49811     return SWIG_arg;
49812 
49813     fail: SWIGUNUSED;
49814   }
49815   lua_error(L);
49816   return 0;
49817 }
49818 
49819 
_wrap_SBSymbol_GetDisplayName(lua_State * L)49820 static int _wrap_SBSymbol_GetDisplayName(lua_State* L) {
49821   {
49822     int SWIG_arg = 0;
49823     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49824     char *result = 0 ;
49825 
49826     SWIG_check_num_args("lldb::SBSymbol::GetDisplayName",1,1)
49827     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDisplayName",1,"lldb::SBSymbol const *");
49828 
49829     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49830       SWIG_fail_ptr("SBSymbol_GetDisplayName",1,SWIGTYPE_p_lldb__SBSymbol);
49831     }
49832 
49833     result = (char *)((lldb::SBSymbol const *)arg1)->GetDisplayName();
49834     lua_pushstring(L,(const char *)result); SWIG_arg++;
49835     return SWIG_arg;
49836 
49837     fail: SWIGUNUSED;
49838   }
49839   lua_error(L);
49840   return 0;
49841 }
49842 
49843 
_wrap_SBSymbol_GetMangledName(lua_State * L)49844 static int _wrap_SBSymbol_GetMangledName(lua_State* L) {
49845   {
49846     int SWIG_arg = 0;
49847     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49848     char *result = 0 ;
49849 
49850     SWIG_check_num_args("lldb::SBSymbol::GetMangledName",1,1)
49851     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetMangledName",1,"lldb::SBSymbol const *");
49852 
49853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49854       SWIG_fail_ptr("SBSymbol_GetMangledName",1,SWIGTYPE_p_lldb__SBSymbol);
49855     }
49856 
49857     result = (char *)((lldb::SBSymbol const *)arg1)->GetMangledName();
49858     lua_pushstring(L,(const char *)result); SWIG_arg++;
49859     return SWIG_arg;
49860 
49861     fail: SWIGUNUSED;
49862   }
49863   lua_error(L);
49864   return 0;
49865 }
49866 
49867 
_wrap_SBSymbol_GetInstructions__SWIG_0(lua_State * L)49868 static int _wrap_SBSymbol_GetInstructions__SWIG_0(lua_State* L) {
49869   {
49870     int SWIG_arg = 0;
49871     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49872     lldb::SBTarget arg2 ;
49873     lldb::SBTarget *argp2 ;
49874     lldb::SBInstructionList result;
49875 
49876     SWIG_check_num_args("lldb::SBSymbol::GetInstructions",2,2)
49877     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *");
49878     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget");
49879 
49880     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49881       SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol);
49882     }
49883 
49884 
49885     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
49886       SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget);
49887     }
49888     arg2 = *argp2;
49889 
49890     result = (arg1)->GetInstructions(arg2);
49891     {
49892       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
49893       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
49894     }
49895     return SWIG_arg;
49896 
49897     fail: SWIGUNUSED;
49898   }
49899   lua_error(L);
49900   return 0;
49901 }
49902 
49903 
_wrap_SBSymbol_GetInstructions__SWIG_1(lua_State * L)49904 static int _wrap_SBSymbol_GetInstructions__SWIG_1(lua_State* L) {
49905   {
49906     int SWIG_arg = 0;
49907     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
49908     lldb::SBTarget arg2 ;
49909     char *arg3 = (char *) 0 ;
49910     lldb::SBTarget *argp2 ;
49911     lldb::SBInstructionList result;
49912 
49913     SWIG_check_num_args("lldb::SBSymbol::GetInstructions",3,3)
49914     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",1,"lldb::SBSymbol *");
49915     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",2,"lldb::SBTarget");
49916     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBSymbol::GetInstructions",3,"char const *");
49917 
49918     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
49919       SWIG_fail_ptr("SBSymbol_GetInstructions",1,SWIGTYPE_p_lldb__SBSymbol);
49920     }
49921 
49922 
49923     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTarget,0))){
49924       SWIG_fail_ptr("SBSymbol_GetInstructions",2,SWIGTYPE_p_lldb__SBTarget);
49925     }
49926     arg2 = *argp2;
49927 
49928     arg3 = (char *)lua_tostring(L, 3);
49929     result = (arg1)->GetInstructions(arg2,(char const *)arg3);
49930     {
49931       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
49932       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
49933     }
49934     return SWIG_arg;
49935 
49936     fail: SWIGUNUSED;
49937   }
49938   lua_error(L);
49939   return 0;
49940 }
49941 
49942 
_wrap_SBSymbol_GetInstructions(lua_State * L)49943 static int _wrap_SBSymbol_GetInstructions(lua_State* L) {
49944   int argc;
49945   int argv[4]={
49946     1,2,3,4
49947   };
49948 
49949   argc = lua_gettop(L);
49950   if (argc == 2) {
49951     int _v = 0;
49952     {
49953       void *ptr;
49954       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, 0)) {
49955         _v = 0;
49956       } else {
49957         _v = 1;
49958       }
49959     }
49960     if (_v) {
49961       {
49962         void *ptr;
49963         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
49964           _v = 0;
49965         } else {
49966           _v = 1;
49967         }
49968       }
49969       if (_v) {
49970         return _wrap_SBSymbol_GetInstructions__SWIG_0(L);
49971       }
49972     }
49973   }
49974   if (argc == 3) {
49975     int _v = 0;
49976     {
49977       void *ptr;
49978       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbol, 0)) {
49979         _v = 0;
49980       } else {
49981         _v = 1;
49982       }
49983     }
49984     if (_v) {
49985       {
49986         void *ptr;
49987         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
49988           _v = 0;
49989         } else {
49990           _v = 1;
49991         }
49992       }
49993       if (_v) {
49994         {
49995           _v = SWIG_lua_isnilstring(L,argv[2]);
49996         }
49997         if (_v) {
49998           return _wrap_SBSymbol_GetInstructions__SWIG_1(L);
49999         }
50000       }
50001     }
50002   }
50003 
50004   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBSymbol_GetInstructions'\n"
50005     "  Possible C/C++ prototypes are:\n"
50006     "    lldb::SBSymbol::GetInstructions(lldb::SBTarget)\n"
50007     "    lldb::SBSymbol::GetInstructions(lldb::SBTarget,char const *)\n");
50008   lua_error(L);return 0;
50009 }
50010 
50011 
_wrap_SBSymbol_GetStartAddress(lua_State * L)50012 static int _wrap_SBSymbol_GetStartAddress(lua_State* L) {
50013   {
50014     int SWIG_arg = 0;
50015     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50016     lldb::SBAddress result;
50017 
50018     SWIG_check_num_args("lldb::SBSymbol::GetStartAddress",1,1)
50019     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetStartAddress",1,"lldb::SBSymbol *");
50020 
50021     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50022       SWIG_fail_ptr("SBSymbol_GetStartAddress",1,SWIGTYPE_p_lldb__SBSymbol);
50023     }
50024 
50025     result = (arg1)->GetStartAddress();
50026     {
50027       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
50028       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
50029     }
50030     return SWIG_arg;
50031 
50032     fail: SWIGUNUSED;
50033   }
50034   lua_error(L);
50035   return 0;
50036 }
50037 
50038 
_wrap_SBSymbol_GetEndAddress(lua_State * L)50039 static int _wrap_SBSymbol_GetEndAddress(lua_State* L) {
50040   {
50041     int SWIG_arg = 0;
50042     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50043     lldb::SBAddress result;
50044 
50045     SWIG_check_num_args("lldb::SBSymbol::GetEndAddress",1,1)
50046     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetEndAddress",1,"lldb::SBSymbol *");
50047 
50048     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50049       SWIG_fail_ptr("SBSymbol_GetEndAddress",1,SWIGTYPE_p_lldb__SBSymbol);
50050     }
50051 
50052     result = (arg1)->GetEndAddress();
50053     {
50054       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
50055       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
50056     }
50057     return SWIG_arg;
50058 
50059     fail: SWIGUNUSED;
50060   }
50061   lua_error(L);
50062   return 0;
50063 }
50064 
50065 
_wrap_SBSymbol_GetValue(lua_State * L)50066 static int _wrap_SBSymbol_GetValue(lua_State* L) {
50067   {
50068     int SWIG_arg = 0;
50069     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50070     uint64_t result;
50071 
50072     SWIG_check_num_args("lldb::SBSymbol::GetValue",1,1)
50073     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetValue",1,"lldb::SBSymbol *");
50074 
50075     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50076       SWIG_fail_ptr("SBSymbol_GetValue",1,SWIGTYPE_p_lldb__SBSymbol);
50077     }
50078 
50079     result = (uint64_t)(arg1)->GetValue();
50080     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
50081     return SWIG_arg;
50082 
50083     fail: SWIGUNUSED;
50084   }
50085   lua_error(L);
50086   return 0;
50087 }
50088 
50089 
_wrap_SBSymbol_GetSize(lua_State * L)50090 static int _wrap_SBSymbol_GetSize(lua_State* L) {
50091   {
50092     int SWIG_arg = 0;
50093     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50094     uint64_t result;
50095 
50096     SWIG_check_num_args("lldb::SBSymbol::GetSize",1,1)
50097     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetSize",1,"lldb::SBSymbol *");
50098 
50099     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50100       SWIG_fail_ptr("SBSymbol_GetSize",1,SWIGTYPE_p_lldb__SBSymbol);
50101     }
50102 
50103     result = (uint64_t)(arg1)->GetSize();
50104     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
50105     return SWIG_arg;
50106 
50107     fail: SWIGUNUSED;
50108   }
50109   lua_error(L);
50110   return 0;
50111 }
50112 
50113 
_wrap_SBSymbol_GetPrologueByteSize(lua_State * L)50114 static int _wrap_SBSymbol_GetPrologueByteSize(lua_State* L) {
50115   {
50116     int SWIG_arg = 0;
50117     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50118     uint32_t result;
50119 
50120     SWIG_check_num_args("lldb::SBSymbol::GetPrologueByteSize",1,1)
50121     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetPrologueByteSize",1,"lldb::SBSymbol *");
50122 
50123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50124       SWIG_fail_ptr("SBSymbol_GetPrologueByteSize",1,SWIGTYPE_p_lldb__SBSymbol);
50125     }
50126 
50127     result = (uint32_t)(arg1)->GetPrologueByteSize();
50128     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
50129     return SWIG_arg;
50130 
50131     fail: SWIGUNUSED;
50132   }
50133   lua_error(L);
50134   return 0;
50135 }
50136 
50137 
_wrap_SBSymbol_GetType(lua_State * L)50138 static int _wrap_SBSymbol_GetType(lua_State* L) {
50139   {
50140     int SWIG_arg = 0;
50141     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50142     lldb::SymbolType result;
50143 
50144     SWIG_check_num_args("lldb::SBSymbol::GetType",1,1)
50145     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetType",1,"lldb::SBSymbol *");
50146 
50147     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50148       SWIG_fail_ptr("SBSymbol_GetType",1,SWIGTYPE_p_lldb__SBSymbol);
50149     }
50150 
50151     result = (lldb::SymbolType)(arg1)->GetType();
50152     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
50153     return SWIG_arg;
50154 
50155     fail: SWIGUNUSED;
50156   }
50157   lua_error(L);
50158   return 0;
50159 }
50160 
50161 
_wrap_SBSymbol___eq(lua_State * L)50162 static int _wrap_SBSymbol___eq(lua_State* L) {
50163   {
50164     int SWIG_arg = 0;
50165     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50166     lldb::SBSymbol *arg2 = 0 ;
50167     bool result;
50168 
50169     SWIG_check_num_args("lldb::SBSymbol::operator ==",2,2)
50170     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::operator ==",1,"lldb::SBSymbol const *");
50171     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::operator ==",2,"lldb::SBSymbol const &");
50172 
50173     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50174       SWIG_fail_ptr("SBSymbol___eq",1,SWIGTYPE_p_lldb__SBSymbol);
50175     }
50176 
50177 
50178     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbol,0))){
50179       SWIG_fail_ptr("SBSymbol___eq",2,SWIGTYPE_p_lldb__SBSymbol);
50180     }
50181 
50182     result = (bool)((lldb::SBSymbol const *)arg1)->operator ==((lldb::SBSymbol const &)*arg2);
50183     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50184     return SWIG_arg;
50185 
50186     fail: SWIGUNUSED;
50187   }
50188   lua_error(L);
50189   return 0;
50190 }
50191 
50192 
_wrap_SBSymbol_GetDescription(lua_State * L)50193 static int _wrap_SBSymbol_GetDescription(lua_State* L) {
50194   {
50195     int SWIG_arg = 0;
50196     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50197     lldb::SBStream *arg2 = 0 ;
50198     bool result;
50199 
50200     SWIG_check_num_args("lldb::SBSymbol::GetDescription",2,2)
50201     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",1,"lldb::SBSymbol *");
50202     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbol::GetDescription",2,"lldb::SBStream &");
50203 
50204     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50205       SWIG_fail_ptr("SBSymbol_GetDescription",1,SWIGTYPE_p_lldb__SBSymbol);
50206     }
50207 
50208 
50209     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
50210       SWIG_fail_ptr("SBSymbol_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
50211     }
50212 
50213     result = (bool)(arg1)->GetDescription(*arg2);
50214     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50215     return SWIG_arg;
50216 
50217     fail: SWIGUNUSED;
50218   }
50219   lua_error(L);
50220   return 0;
50221 }
50222 
50223 
_wrap_SBSymbol_IsExternal(lua_State * L)50224 static int _wrap_SBSymbol_IsExternal(lua_State* L) {
50225   {
50226     int SWIG_arg = 0;
50227     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50228     bool result;
50229 
50230     SWIG_check_num_args("lldb::SBSymbol::IsExternal",1,1)
50231     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsExternal",1,"lldb::SBSymbol *");
50232 
50233     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50234       SWIG_fail_ptr("SBSymbol_IsExternal",1,SWIGTYPE_p_lldb__SBSymbol);
50235     }
50236 
50237     result = (bool)(arg1)->IsExternal();
50238     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50239     return SWIG_arg;
50240 
50241     fail: SWIGUNUSED;
50242   }
50243   lua_error(L);
50244   return 0;
50245 }
50246 
50247 
_wrap_SBSymbol_IsSynthetic(lua_State * L)50248 static int _wrap_SBSymbol_IsSynthetic(lua_State* L) {
50249   {
50250     int SWIG_arg = 0;
50251     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50252     bool result;
50253 
50254     SWIG_check_num_args("lldb::SBSymbol::IsSynthetic",1,1)
50255     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::IsSynthetic",1,"lldb::SBSymbol *");
50256 
50257     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50258       SWIG_fail_ptr("SBSymbol_IsSynthetic",1,SWIGTYPE_p_lldb__SBSymbol);
50259     }
50260 
50261     result = (bool)(arg1)->IsSynthetic();
50262     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50263     return SWIG_arg;
50264 
50265     fail: SWIGUNUSED;
50266   }
50267   lua_error(L);
50268   return 0;
50269 }
50270 
50271 
_wrap_SBSymbol___tostring(lua_State * L)50272 static int _wrap_SBSymbol___tostring(lua_State* L) {
50273   {
50274     int SWIG_arg = 0;
50275     lldb::SBSymbol *arg1 = (lldb::SBSymbol *) 0 ;
50276     std::string result;
50277 
50278     SWIG_check_num_args("lldb::SBSymbol::__repr__",1,1)
50279     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbol::__repr__",1,"lldb::SBSymbol *");
50280 
50281     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbol,0))){
50282       SWIG_fail_ptr("SBSymbol___tostring",1,SWIGTYPE_p_lldb__SBSymbol);
50283     }
50284 
50285     result = lldb_SBSymbol___repr__(arg1);
50286     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
50287     return SWIG_arg;
50288 
50289     fail: SWIGUNUSED;
50290   }
50291   lua_error(L);
50292   return 0;
50293 }
50294 
50295 
swig_delete_SBSymbol(void * obj)50296 static void swig_delete_SBSymbol(void *obj) {
50297 lldb::SBSymbol *arg1 = (lldb::SBSymbol *) obj;
50298 delete arg1;
50299 }
_proxy__wrap_new_SBSymbol(lua_State * L)50300 static int _proxy__wrap_new_SBSymbol(lua_State *L) {
50301     assert(lua_istable(L,1));
50302     lua_pushcfunction(L,_wrap_new_SBSymbol);
50303     assert(!lua_isnil(L,-1));
50304     lua_replace(L,1); /* replace our table with real constructor */
50305     lua_call(L,lua_gettop(L)-1,1);
50306     return 1;
50307 }
50308 static swig_lua_attribute swig_SBSymbol_attributes[] = {
50309     {0,0,0}
50310 };
50311 static swig_lua_method swig_SBSymbol_methods[]= {
50312     { "IsValid", _wrap_SBSymbol_IsValid},
50313     { "GetName", _wrap_SBSymbol_GetName},
50314     { "GetDisplayName", _wrap_SBSymbol_GetDisplayName},
50315     { "GetMangledName", _wrap_SBSymbol_GetMangledName},
50316     { "GetInstructions", _wrap_SBSymbol_GetInstructions},
50317     { "GetStartAddress", _wrap_SBSymbol_GetStartAddress},
50318     { "GetEndAddress", _wrap_SBSymbol_GetEndAddress},
50319     { "GetValue", _wrap_SBSymbol_GetValue},
50320     { "GetSize", _wrap_SBSymbol_GetSize},
50321     { "GetPrologueByteSize", _wrap_SBSymbol_GetPrologueByteSize},
50322     { "GetType", _wrap_SBSymbol_GetType},
50323     { "__eq", _wrap_SBSymbol___eq},
50324     { "GetDescription", _wrap_SBSymbol_GetDescription},
50325     { "IsExternal", _wrap_SBSymbol_IsExternal},
50326     { "IsSynthetic", _wrap_SBSymbol_IsSynthetic},
50327     { "__tostring", _wrap_SBSymbol___tostring},
50328     {0,0}
50329 };
50330 static swig_lua_method swig_SBSymbol_meta[] = {
50331     { "__eq", _wrap_SBSymbol___eq},
50332     { "__tostring", _wrap_SBSymbol___tostring},
50333     {0,0}
50334 };
50335 
50336 static swig_lua_attribute swig_SBSymbol_Sf_SwigStatic_attributes[] = {
50337     {0,0,0}
50338 };
50339 static swig_lua_const_info swig_SBSymbol_Sf_SwigStatic_constants[]= {
50340     {0,0,0,0,0,0}
50341 };
50342 static swig_lua_method swig_SBSymbol_Sf_SwigStatic_methods[]= {
50343     {0,0}
50344 };
50345 static swig_lua_class* swig_SBSymbol_Sf_SwigStatic_classes[]= {
50346     0
50347 };
50348 
50349 static swig_lua_namespace swig_SBSymbol_Sf_SwigStatic = {
50350     "SBSymbol",
50351     swig_SBSymbol_Sf_SwigStatic_methods,
50352     swig_SBSymbol_Sf_SwigStatic_attributes,
50353     swig_SBSymbol_Sf_SwigStatic_constants,
50354     swig_SBSymbol_Sf_SwigStatic_classes,
50355     0
50356 };
50357 static swig_lua_class *swig_SBSymbol_bases[] = {0};
50358 static const char *swig_SBSymbol_base_names[] = {0};
50359 static swig_lua_class _wrap_class_SBSymbol = { "SBSymbol", "SBSymbol", &SWIGTYPE_p_lldb__SBSymbol,_proxy__wrap_new_SBSymbol, swig_delete_SBSymbol, swig_SBSymbol_methods, swig_SBSymbol_attributes, &swig_SBSymbol_Sf_SwigStatic, swig_SBSymbol_meta, swig_SBSymbol_bases, swig_SBSymbol_base_names };
50360 
_wrap_new_SBSymbolContext__SWIG_0(lua_State * L)50361 static int _wrap_new_SBSymbolContext__SWIG_0(lua_State* L) {
50362   {
50363     int SWIG_arg = 0;
50364     lldb::SBSymbolContext *result = 0 ;
50365 
50366     SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",0,0)
50367     result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext();
50368     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
50369     return SWIG_arg;
50370 
50371     fail: SWIGUNUSED;
50372   }
50373   lua_error(L);
50374   return 0;
50375 }
50376 
50377 
_wrap_new_SBSymbolContext__SWIG_1(lua_State * L)50378 static int _wrap_new_SBSymbolContext__SWIG_1(lua_State* L) {
50379   {
50380     int SWIG_arg = 0;
50381     lldb::SBSymbolContext *arg1 = 0 ;
50382     lldb::SBSymbolContext *result = 0 ;
50383 
50384     SWIG_check_num_args("lldb::SBSymbolContext::SBSymbolContext",1,1)
50385     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SBSymbolContext",1,"lldb::SBSymbolContext const &");
50386 
50387     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50388       SWIG_fail_ptr("new_SBSymbolContext",1,SWIGTYPE_p_lldb__SBSymbolContext);
50389     }
50390 
50391     result = (lldb::SBSymbolContext *)new lldb::SBSymbolContext((lldb::SBSymbolContext const &)*arg1);
50392     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
50393     return SWIG_arg;
50394 
50395     fail: SWIGUNUSED;
50396   }
50397   lua_error(L);
50398   return 0;
50399 }
50400 
50401 
_wrap_new_SBSymbolContext(lua_State * L)50402 static int _wrap_new_SBSymbolContext(lua_State* L) {
50403   int argc;
50404   int argv[2]={
50405     1,2
50406   };
50407 
50408   argc = lua_gettop(L);
50409   if (argc == 0) {
50410     return _wrap_new_SBSymbolContext__SWIG_0(L);
50411   }
50412   if (argc == 1) {
50413     int _v = 0;
50414     {
50415       void *ptr;
50416       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContext, SWIG_POINTER_NO_NULL)) {
50417         _v = 0;
50418       } else {
50419         _v = 1;
50420       }
50421     }
50422     if (_v) {
50423       return _wrap_new_SBSymbolContext__SWIG_1(L);
50424     }
50425   }
50426 
50427   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBSymbolContext'\n"
50428     "  Possible C/C++ prototypes are:\n"
50429     "    lldb::SBSymbolContext::SBSymbolContext()\n"
50430     "    lldb::SBSymbolContext::SBSymbolContext(lldb::SBSymbolContext const &)\n");
50431   lua_error(L);return 0;
50432 }
50433 
50434 
_wrap_SBSymbolContext_IsValid(lua_State * L)50435 static int _wrap_SBSymbolContext_IsValid(lua_State* L) {
50436   {
50437     int SWIG_arg = 0;
50438     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50439     bool result;
50440 
50441     SWIG_check_num_args("lldb::SBSymbolContext::IsValid",1,1)
50442     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::IsValid",1,"lldb::SBSymbolContext const *");
50443 
50444     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50445       SWIG_fail_ptr("SBSymbolContext_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContext);
50446     }
50447 
50448     result = (bool)((lldb::SBSymbolContext const *)arg1)->IsValid();
50449     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50450     return SWIG_arg;
50451 
50452     fail: SWIGUNUSED;
50453   }
50454   lua_error(L);
50455   return 0;
50456 }
50457 
50458 
_wrap_SBSymbolContext_GetModule(lua_State * L)50459 static int _wrap_SBSymbolContext_GetModule(lua_State* L) {
50460   {
50461     int SWIG_arg = 0;
50462     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50463     lldb::SBModule result;
50464 
50465     SWIG_check_num_args("lldb::SBSymbolContext::GetModule",1,1)
50466     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetModule",1,"lldb::SBSymbolContext *");
50467 
50468     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50469       SWIG_fail_ptr("SBSymbolContext_GetModule",1,SWIGTYPE_p_lldb__SBSymbolContext);
50470     }
50471 
50472     result = (arg1)->GetModule();
50473     {
50474       lldb::SBModule * resultptr = new lldb::SBModule(result);
50475       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
50476     }
50477     return SWIG_arg;
50478 
50479     fail: SWIGUNUSED;
50480   }
50481   lua_error(L);
50482   return 0;
50483 }
50484 
50485 
_wrap_SBSymbolContext_GetCompileUnit(lua_State * L)50486 static int _wrap_SBSymbolContext_GetCompileUnit(lua_State* L) {
50487   {
50488     int SWIG_arg = 0;
50489     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50490     lldb::SBCompileUnit result;
50491 
50492     SWIG_check_num_args("lldb::SBSymbolContext::GetCompileUnit",1,1)
50493     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetCompileUnit",1,"lldb::SBSymbolContext *");
50494 
50495     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50496       SWIG_fail_ptr("SBSymbolContext_GetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext);
50497     }
50498 
50499     result = (arg1)->GetCompileUnit();
50500     {
50501       lldb::SBCompileUnit * resultptr = new lldb::SBCompileUnit(result);
50502       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBCompileUnit,1); SWIG_arg++;
50503     }
50504     return SWIG_arg;
50505 
50506     fail: SWIGUNUSED;
50507   }
50508   lua_error(L);
50509   return 0;
50510 }
50511 
50512 
_wrap_SBSymbolContext_GetFunction(lua_State * L)50513 static int _wrap_SBSymbolContext_GetFunction(lua_State* L) {
50514   {
50515     int SWIG_arg = 0;
50516     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50517     lldb::SBFunction result;
50518 
50519     SWIG_check_num_args("lldb::SBSymbolContext::GetFunction",1,1)
50520     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetFunction",1,"lldb::SBSymbolContext *");
50521 
50522     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50523       SWIG_fail_ptr("SBSymbolContext_GetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext);
50524     }
50525 
50526     result = (arg1)->GetFunction();
50527     {
50528       lldb::SBFunction * resultptr = new lldb::SBFunction(result);
50529       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFunction,1); SWIG_arg++;
50530     }
50531     return SWIG_arg;
50532 
50533     fail: SWIGUNUSED;
50534   }
50535   lua_error(L);
50536   return 0;
50537 }
50538 
50539 
_wrap_SBSymbolContext_GetBlock(lua_State * L)50540 static int _wrap_SBSymbolContext_GetBlock(lua_State* L) {
50541   {
50542     int SWIG_arg = 0;
50543     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50544     lldb::SBBlock result;
50545 
50546     SWIG_check_num_args("lldb::SBSymbolContext::GetBlock",1,1)
50547     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetBlock",1,"lldb::SBSymbolContext *");
50548 
50549     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50550       SWIG_fail_ptr("SBSymbolContext_GetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext);
50551     }
50552 
50553     result = (arg1)->GetBlock();
50554     {
50555       lldb::SBBlock * resultptr = new lldb::SBBlock(result);
50556       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBlock,1); SWIG_arg++;
50557     }
50558     return SWIG_arg;
50559 
50560     fail: SWIGUNUSED;
50561   }
50562   lua_error(L);
50563   return 0;
50564 }
50565 
50566 
_wrap_SBSymbolContext_GetLineEntry(lua_State * L)50567 static int _wrap_SBSymbolContext_GetLineEntry(lua_State* L) {
50568   {
50569     int SWIG_arg = 0;
50570     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50571     lldb::SBLineEntry result;
50572 
50573     SWIG_check_num_args("lldb::SBSymbolContext::GetLineEntry",1,1)
50574     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetLineEntry",1,"lldb::SBSymbolContext *");
50575 
50576     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50577       SWIG_fail_ptr("SBSymbolContext_GetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext);
50578     }
50579 
50580     result = (arg1)->GetLineEntry();
50581     {
50582       lldb::SBLineEntry * resultptr = new lldb::SBLineEntry(result);
50583       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLineEntry,1); SWIG_arg++;
50584     }
50585     return SWIG_arg;
50586 
50587     fail: SWIGUNUSED;
50588   }
50589   lua_error(L);
50590   return 0;
50591 }
50592 
50593 
_wrap_SBSymbolContext_GetSymbol(lua_State * L)50594 static int _wrap_SBSymbolContext_GetSymbol(lua_State* L) {
50595   {
50596     int SWIG_arg = 0;
50597     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50598     lldb::SBSymbol result;
50599 
50600     SWIG_check_num_args("lldb::SBSymbolContext::GetSymbol",1,1)
50601     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetSymbol",1,"lldb::SBSymbolContext *");
50602 
50603     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50604       SWIG_fail_ptr("SBSymbolContext_GetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext);
50605     }
50606 
50607     result = (arg1)->GetSymbol();
50608     {
50609       lldb::SBSymbol * resultptr = new lldb::SBSymbol(result);
50610       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbol,1); SWIG_arg++;
50611     }
50612     return SWIG_arg;
50613 
50614     fail: SWIGUNUSED;
50615   }
50616   lua_error(L);
50617   return 0;
50618 }
50619 
50620 
_wrap_SBSymbolContext_SetModule(lua_State * L)50621 static int _wrap_SBSymbolContext_SetModule(lua_State* L) {
50622   {
50623     int SWIG_arg = 0;
50624     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50625     lldb::SBModule arg2 ;
50626     lldb::SBModule *argp2 ;
50627 
50628     SWIG_check_num_args("lldb::SBSymbolContext::SetModule",2,2)
50629     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",1,"lldb::SBSymbolContext *");
50630     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetModule",2,"lldb::SBModule");
50631 
50632     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50633       SWIG_fail_ptr("SBSymbolContext_SetModule",1,SWIGTYPE_p_lldb__SBSymbolContext);
50634     }
50635 
50636 
50637     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){
50638       SWIG_fail_ptr("SBSymbolContext_SetModule",2,SWIGTYPE_p_lldb__SBModule);
50639     }
50640     arg2 = *argp2;
50641 
50642     (arg1)->SetModule(arg2);
50643 
50644     return SWIG_arg;
50645 
50646     fail: SWIGUNUSED;
50647   }
50648   lua_error(L);
50649   return 0;
50650 }
50651 
50652 
_wrap_SBSymbolContext_SetCompileUnit(lua_State * L)50653 static int _wrap_SBSymbolContext_SetCompileUnit(lua_State* L) {
50654   {
50655     int SWIG_arg = 0;
50656     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50657     lldb::SBCompileUnit arg2 ;
50658     lldb::SBCompileUnit *argp2 ;
50659 
50660     SWIG_check_num_args("lldb::SBSymbolContext::SetCompileUnit",2,2)
50661     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",1,"lldb::SBSymbolContext *");
50662     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetCompileUnit",2,"lldb::SBCompileUnit");
50663 
50664     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50665       SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",1,SWIGTYPE_p_lldb__SBSymbolContext);
50666     }
50667 
50668 
50669     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBCompileUnit,0))){
50670       SWIG_fail_ptr("SBSymbolContext_SetCompileUnit",2,SWIGTYPE_p_lldb__SBCompileUnit);
50671     }
50672     arg2 = *argp2;
50673 
50674     (arg1)->SetCompileUnit(arg2);
50675 
50676     return SWIG_arg;
50677 
50678     fail: SWIGUNUSED;
50679   }
50680   lua_error(L);
50681   return 0;
50682 }
50683 
50684 
_wrap_SBSymbolContext_SetFunction(lua_State * L)50685 static int _wrap_SBSymbolContext_SetFunction(lua_State* L) {
50686   {
50687     int SWIG_arg = 0;
50688     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50689     lldb::SBFunction arg2 ;
50690     lldb::SBFunction *argp2 ;
50691 
50692     SWIG_check_num_args("lldb::SBSymbolContext::SetFunction",2,2)
50693     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",1,"lldb::SBSymbolContext *");
50694     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetFunction",2,"lldb::SBFunction");
50695 
50696     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50697       SWIG_fail_ptr("SBSymbolContext_SetFunction",1,SWIGTYPE_p_lldb__SBSymbolContext);
50698     }
50699 
50700 
50701     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBFunction,0))){
50702       SWIG_fail_ptr("SBSymbolContext_SetFunction",2,SWIGTYPE_p_lldb__SBFunction);
50703     }
50704     arg2 = *argp2;
50705 
50706     (arg1)->SetFunction(arg2);
50707 
50708     return SWIG_arg;
50709 
50710     fail: SWIGUNUSED;
50711   }
50712   lua_error(L);
50713   return 0;
50714 }
50715 
50716 
_wrap_SBSymbolContext_SetBlock(lua_State * L)50717 static int _wrap_SBSymbolContext_SetBlock(lua_State* L) {
50718   {
50719     int SWIG_arg = 0;
50720     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50721     lldb::SBBlock arg2 ;
50722     lldb::SBBlock *argp2 ;
50723 
50724     SWIG_check_num_args("lldb::SBSymbolContext::SetBlock",2,2)
50725     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",1,"lldb::SBSymbolContext *");
50726     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetBlock",2,"lldb::SBBlock");
50727 
50728     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50729       SWIG_fail_ptr("SBSymbolContext_SetBlock",1,SWIGTYPE_p_lldb__SBSymbolContext);
50730     }
50731 
50732 
50733     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBBlock,0))){
50734       SWIG_fail_ptr("SBSymbolContext_SetBlock",2,SWIGTYPE_p_lldb__SBBlock);
50735     }
50736     arg2 = *argp2;
50737 
50738     (arg1)->SetBlock(arg2);
50739 
50740     return SWIG_arg;
50741 
50742     fail: SWIGUNUSED;
50743   }
50744   lua_error(L);
50745   return 0;
50746 }
50747 
50748 
_wrap_SBSymbolContext_SetLineEntry(lua_State * L)50749 static int _wrap_SBSymbolContext_SetLineEntry(lua_State* L) {
50750   {
50751     int SWIG_arg = 0;
50752     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50753     lldb::SBLineEntry arg2 ;
50754     lldb::SBLineEntry *argp2 ;
50755 
50756     SWIG_check_num_args("lldb::SBSymbolContext::SetLineEntry",2,2)
50757     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",1,"lldb::SBSymbolContext *");
50758     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetLineEntry",2,"lldb::SBLineEntry");
50759 
50760     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50761       SWIG_fail_ptr("SBSymbolContext_SetLineEntry",1,SWIGTYPE_p_lldb__SBSymbolContext);
50762     }
50763 
50764 
50765     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBLineEntry,0))){
50766       SWIG_fail_ptr("SBSymbolContext_SetLineEntry",2,SWIGTYPE_p_lldb__SBLineEntry);
50767     }
50768     arg2 = *argp2;
50769 
50770     (arg1)->SetLineEntry(arg2);
50771 
50772     return SWIG_arg;
50773 
50774     fail: SWIGUNUSED;
50775   }
50776   lua_error(L);
50777   return 0;
50778 }
50779 
50780 
_wrap_SBSymbolContext_SetSymbol(lua_State * L)50781 static int _wrap_SBSymbolContext_SetSymbol(lua_State* L) {
50782   {
50783     int SWIG_arg = 0;
50784     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50785     lldb::SBSymbol arg2 ;
50786     lldb::SBSymbol *argp2 ;
50787 
50788     SWIG_check_num_args("lldb::SBSymbolContext::SetSymbol",2,2)
50789     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",1,"lldb::SBSymbolContext *");
50790     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::SetSymbol",2,"lldb::SBSymbol");
50791 
50792     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50793       SWIG_fail_ptr("SBSymbolContext_SetSymbol",1,SWIGTYPE_p_lldb__SBSymbolContext);
50794     }
50795 
50796 
50797     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSymbol,0))){
50798       SWIG_fail_ptr("SBSymbolContext_SetSymbol",2,SWIGTYPE_p_lldb__SBSymbol);
50799     }
50800     arg2 = *argp2;
50801 
50802     (arg1)->SetSymbol(arg2);
50803 
50804     return SWIG_arg;
50805 
50806     fail: SWIGUNUSED;
50807   }
50808   lua_error(L);
50809   return 0;
50810 }
50811 
50812 
_wrap_SBSymbolContext_GetParentOfInlinedScope(lua_State * L)50813 static int _wrap_SBSymbolContext_GetParentOfInlinedScope(lua_State* L) {
50814   {
50815     int SWIG_arg = 0;
50816     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50817     lldb::SBAddress *arg2 = 0 ;
50818     lldb::SBAddress *arg3 = 0 ;
50819     lldb::SBSymbolContext result;
50820 
50821     SWIG_check_num_args("lldb::SBSymbolContext::GetParentOfInlinedScope",3,3)
50822     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",1,"lldb::SBSymbolContext const *");
50823     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",2,"lldb::SBAddress const &");
50824     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBSymbolContext::GetParentOfInlinedScope",3,"lldb::SBAddress &");
50825 
50826     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50827       SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",1,SWIGTYPE_p_lldb__SBSymbolContext);
50828     }
50829 
50830 
50831     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
50832       SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",2,SWIGTYPE_p_lldb__SBAddress);
50833     }
50834 
50835 
50836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBAddress,0))){
50837       SWIG_fail_ptr("SBSymbolContext_GetParentOfInlinedScope",3,SWIGTYPE_p_lldb__SBAddress);
50838     }
50839 
50840     result = ((lldb::SBSymbolContext const *)arg1)->GetParentOfInlinedScope((lldb::SBAddress const &)*arg2,*arg3);
50841     {
50842       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
50843       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
50844     }
50845     return SWIG_arg;
50846 
50847     fail: SWIGUNUSED;
50848   }
50849   lua_error(L);
50850   return 0;
50851 }
50852 
50853 
_wrap_SBSymbolContext_GetDescription(lua_State * L)50854 static int _wrap_SBSymbolContext_GetDescription(lua_State* L) {
50855   {
50856     int SWIG_arg = 0;
50857     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50858     lldb::SBStream *arg2 = 0 ;
50859     bool result;
50860 
50861     SWIG_check_num_args("lldb::SBSymbolContext::GetDescription",2,2)
50862     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",1,"lldb::SBSymbolContext *");
50863     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContext::GetDescription",2,"lldb::SBStream &");
50864 
50865     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50866       SWIG_fail_ptr("SBSymbolContext_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContext);
50867     }
50868 
50869 
50870     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
50871       SWIG_fail_ptr("SBSymbolContext_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
50872     }
50873 
50874     result = (bool)(arg1)->GetDescription(*arg2);
50875     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
50876     return SWIG_arg;
50877 
50878     fail: SWIGUNUSED;
50879   }
50880   lua_error(L);
50881   return 0;
50882 }
50883 
50884 
_wrap_SBSymbolContext___tostring(lua_State * L)50885 static int _wrap_SBSymbolContext___tostring(lua_State* L) {
50886   {
50887     int SWIG_arg = 0;
50888     lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) 0 ;
50889     std::string result;
50890 
50891     SWIG_check_num_args("lldb::SBSymbolContext::__repr__",1,1)
50892     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContext::__repr__",1,"lldb::SBSymbolContext *");
50893 
50894     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContext,0))){
50895       SWIG_fail_ptr("SBSymbolContext___tostring",1,SWIGTYPE_p_lldb__SBSymbolContext);
50896     }
50897 
50898     result = lldb_SBSymbolContext___repr__(arg1);
50899     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
50900     return SWIG_arg;
50901 
50902     fail: SWIGUNUSED;
50903   }
50904   lua_error(L);
50905   return 0;
50906 }
50907 
50908 
swig_delete_SBSymbolContext(void * obj)50909 static void swig_delete_SBSymbolContext(void *obj) {
50910 lldb::SBSymbolContext *arg1 = (lldb::SBSymbolContext *) obj;
50911 delete arg1;
50912 }
_proxy__wrap_new_SBSymbolContext(lua_State * L)50913 static int _proxy__wrap_new_SBSymbolContext(lua_State *L) {
50914     assert(lua_istable(L,1));
50915     lua_pushcfunction(L,_wrap_new_SBSymbolContext);
50916     assert(!lua_isnil(L,-1));
50917     lua_replace(L,1); /* replace our table with real constructor */
50918     lua_call(L,lua_gettop(L)-1,1);
50919     return 1;
50920 }
50921 static swig_lua_attribute swig_SBSymbolContext_attributes[] = {
50922     {0,0,0}
50923 };
50924 static swig_lua_method swig_SBSymbolContext_methods[]= {
50925     { "IsValid", _wrap_SBSymbolContext_IsValid},
50926     { "GetModule", _wrap_SBSymbolContext_GetModule},
50927     { "GetCompileUnit", _wrap_SBSymbolContext_GetCompileUnit},
50928     { "GetFunction", _wrap_SBSymbolContext_GetFunction},
50929     { "GetBlock", _wrap_SBSymbolContext_GetBlock},
50930     { "GetLineEntry", _wrap_SBSymbolContext_GetLineEntry},
50931     { "GetSymbol", _wrap_SBSymbolContext_GetSymbol},
50932     { "SetModule", _wrap_SBSymbolContext_SetModule},
50933     { "SetCompileUnit", _wrap_SBSymbolContext_SetCompileUnit},
50934     { "SetFunction", _wrap_SBSymbolContext_SetFunction},
50935     { "SetBlock", _wrap_SBSymbolContext_SetBlock},
50936     { "SetLineEntry", _wrap_SBSymbolContext_SetLineEntry},
50937     { "SetSymbol", _wrap_SBSymbolContext_SetSymbol},
50938     { "GetParentOfInlinedScope", _wrap_SBSymbolContext_GetParentOfInlinedScope},
50939     { "GetDescription", _wrap_SBSymbolContext_GetDescription},
50940     { "__tostring", _wrap_SBSymbolContext___tostring},
50941     {0,0}
50942 };
50943 static swig_lua_method swig_SBSymbolContext_meta[] = {
50944     { "__tostring", _wrap_SBSymbolContext___tostring},
50945     {0,0}
50946 };
50947 
50948 static swig_lua_attribute swig_SBSymbolContext_Sf_SwigStatic_attributes[] = {
50949     {0,0,0}
50950 };
50951 static swig_lua_const_info swig_SBSymbolContext_Sf_SwigStatic_constants[]= {
50952     {0,0,0,0,0,0}
50953 };
50954 static swig_lua_method swig_SBSymbolContext_Sf_SwigStatic_methods[]= {
50955     {0,0}
50956 };
50957 static swig_lua_class* swig_SBSymbolContext_Sf_SwigStatic_classes[]= {
50958     0
50959 };
50960 
50961 static swig_lua_namespace swig_SBSymbolContext_Sf_SwigStatic = {
50962     "SBSymbolContext",
50963     swig_SBSymbolContext_Sf_SwigStatic_methods,
50964     swig_SBSymbolContext_Sf_SwigStatic_attributes,
50965     swig_SBSymbolContext_Sf_SwigStatic_constants,
50966     swig_SBSymbolContext_Sf_SwigStatic_classes,
50967     0
50968 };
50969 static swig_lua_class *swig_SBSymbolContext_bases[] = {0};
50970 static const char *swig_SBSymbolContext_base_names[] = {0};
50971 static swig_lua_class _wrap_class_SBSymbolContext = { "SBSymbolContext", "SBSymbolContext", &SWIGTYPE_p_lldb__SBSymbolContext,_proxy__wrap_new_SBSymbolContext, swig_delete_SBSymbolContext, swig_SBSymbolContext_methods, swig_SBSymbolContext_attributes, &swig_SBSymbolContext_Sf_SwigStatic, swig_SBSymbolContext_meta, swig_SBSymbolContext_bases, swig_SBSymbolContext_base_names };
50972 
_wrap_new_SBSymbolContextList__SWIG_0(lua_State * L)50973 static int _wrap_new_SBSymbolContextList__SWIG_0(lua_State* L) {
50974   {
50975     int SWIG_arg = 0;
50976     lldb::SBSymbolContextList *result = 0 ;
50977 
50978     SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",0,0)
50979     result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList();
50980     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
50981     return SWIG_arg;
50982 
50983     fail: SWIGUNUSED;
50984   }
50985   lua_error(L);
50986   return 0;
50987 }
50988 
50989 
_wrap_new_SBSymbolContextList__SWIG_1(lua_State * L)50990 static int _wrap_new_SBSymbolContextList__SWIG_1(lua_State* L) {
50991   {
50992     int SWIG_arg = 0;
50993     lldb::SBSymbolContextList *arg1 = 0 ;
50994     lldb::SBSymbolContextList *result = 0 ;
50995 
50996     SWIG_check_num_args("lldb::SBSymbolContextList::SBSymbolContextList",1,1)
50997     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::SBSymbolContextList",1,"lldb::SBSymbolContextList const &");
50998 
50999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51000       SWIG_fail_ptr("new_SBSymbolContextList",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51001     }
51002 
51003     result = (lldb::SBSymbolContextList *)new lldb::SBSymbolContextList((lldb::SBSymbolContextList const &)*arg1);
51004     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
51005     return SWIG_arg;
51006 
51007     fail: SWIGUNUSED;
51008   }
51009   lua_error(L);
51010   return 0;
51011 }
51012 
51013 
_wrap_new_SBSymbolContextList(lua_State * L)51014 static int _wrap_new_SBSymbolContextList(lua_State* L) {
51015   int argc;
51016   int argv[2]={
51017     1,2
51018   };
51019 
51020   argc = lua_gettop(L);
51021   if (argc == 0) {
51022     return _wrap_new_SBSymbolContextList__SWIG_0(L);
51023   }
51024   if (argc == 1) {
51025     int _v = 0;
51026     {
51027       void *ptr;
51028       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, SWIG_POINTER_NO_NULL)) {
51029         _v = 0;
51030       } else {
51031         _v = 1;
51032       }
51033     }
51034     if (_v) {
51035       return _wrap_new_SBSymbolContextList__SWIG_1(L);
51036     }
51037   }
51038 
51039   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBSymbolContextList'\n"
51040     "  Possible C/C++ prototypes are:\n"
51041     "    lldb::SBSymbolContextList::SBSymbolContextList()\n"
51042     "    lldb::SBSymbolContextList::SBSymbolContextList(lldb::SBSymbolContextList const &)\n");
51043   lua_error(L);return 0;
51044 }
51045 
51046 
_wrap_SBSymbolContextList_IsValid(lua_State * L)51047 static int _wrap_SBSymbolContextList_IsValid(lua_State* L) {
51048   {
51049     int SWIG_arg = 0;
51050     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51051     bool result;
51052 
51053     SWIG_check_num_args("lldb::SBSymbolContextList::IsValid",1,1)
51054     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::IsValid",1,"lldb::SBSymbolContextList const *");
51055 
51056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51057       SWIG_fail_ptr("SBSymbolContextList_IsValid",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51058     }
51059 
51060     result = (bool)((lldb::SBSymbolContextList const *)arg1)->IsValid();
51061     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
51062     return SWIG_arg;
51063 
51064     fail: SWIGUNUSED;
51065   }
51066   lua_error(L);
51067   return 0;
51068 }
51069 
51070 
_wrap_SBSymbolContextList_GetSize(lua_State * L)51071 static int _wrap_SBSymbolContextList_GetSize(lua_State* L) {
51072   {
51073     int SWIG_arg = 0;
51074     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51075     uint32_t result;
51076 
51077     SWIG_check_num_args("lldb::SBSymbolContextList::GetSize",1,1)
51078     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetSize",1,"lldb::SBSymbolContextList const *");
51079 
51080     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51081       SWIG_fail_ptr("SBSymbolContextList_GetSize",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51082     }
51083 
51084     result = (uint32_t)((lldb::SBSymbolContextList const *)arg1)->GetSize();
51085     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
51086     return SWIG_arg;
51087 
51088     fail: SWIGUNUSED;
51089   }
51090   lua_error(L);
51091   return 0;
51092 }
51093 
51094 
_wrap_SBSymbolContextList_GetContextAtIndex(lua_State * L)51095 static int _wrap_SBSymbolContextList_GetContextAtIndex(lua_State* L) {
51096   {
51097     int SWIG_arg = 0;
51098     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51099     uint32_t arg2 ;
51100     lldb::SBSymbolContext result;
51101 
51102     SWIG_check_num_args("lldb::SBSymbolContextList::GetContextAtIndex",2,2)
51103     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",1,"lldb::SBSymbolContextList *");
51104     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetContextAtIndex",2,"uint32_t");
51105 
51106     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51107       SWIG_fail_ptr("SBSymbolContextList_GetContextAtIndex",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51108     }
51109 
51110     arg2 = (uint32_t)lua_tointeger(L, 2);
51111     result = (arg1)->GetContextAtIndex(arg2);
51112     {
51113       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
51114       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
51115     }
51116     return SWIG_arg;
51117 
51118     fail: SWIGUNUSED;
51119   }
51120   lua_error(L);
51121   return 0;
51122 }
51123 
51124 
_wrap_SBSymbolContextList_GetDescription(lua_State * L)51125 static int _wrap_SBSymbolContextList_GetDescription(lua_State* L) {
51126   {
51127     int SWIG_arg = 0;
51128     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51129     lldb::SBStream *arg2 = 0 ;
51130     bool result;
51131 
51132     SWIG_check_num_args("lldb::SBSymbolContextList::GetDescription",2,2)
51133     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",1,"lldb::SBSymbolContextList *");
51134     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::GetDescription",2,"lldb::SBStream &");
51135 
51136     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51137       SWIG_fail_ptr("SBSymbolContextList_GetDescription",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51138     }
51139 
51140 
51141     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
51142       SWIG_fail_ptr("SBSymbolContextList_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
51143     }
51144 
51145     result = (bool)(arg1)->GetDescription(*arg2);
51146     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
51147     return SWIG_arg;
51148 
51149     fail: SWIGUNUSED;
51150   }
51151   lua_error(L);
51152   return 0;
51153 }
51154 
51155 
_wrap_SBSymbolContextList_Append__SWIG_0(lua_State * L)51156 static int _wrap_SBSymbolContextList_Append__SWIG_0(lua_State* L) {
51157   {
51158     int SWIG_arg = 0;
51159     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51160     lldb::SBSymbolContext *arg2 = 0 ;
51161 
51162     SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2)
51163     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *");
51164     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContext &");
51165 
51166     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51167       SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51168     }
51169 
51170 
51171     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContext,0))){
51172       SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContext);
51173     }
51174 
51175     (arg1)->Append(*arg2);
51176 
51177     return SWIG_arg;
51178 
51179     fail: SWIGUNUSED;
51180   }
51181   lua_error(L);
51182   return 0;
51183 }
51184 
51185 
_wrap_SBSymbolContextList_Append__SWIG_1(lua_State * L)51186 static int _wrap_SBSymbolContextList_Append__SWIG_1(lua_State* L) {
51187   {
51188     int SWIG_arg = 0;
51189     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51190     lldb::SBSymbolContextList *arg2 = 0 ;
51191 
51192     SWIG_check_num_args("lldb::SBSymbolContextList::Append",2,2)
51193     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",1,"lldb::SBSymbolContextList *");
51194     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBSymbolContextList::Append",2,"lldb::SBSymbolContextList &");
51195 
51196     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51197       SWIG_fail_ptr("SBSymbolContextList_Append",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51198     }
51199 
51200 
51201     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51202       SWIG_fail_ptr("SBSymbolContextList_Append",2,SWIGTYPE_p_lldb__SBSymbolContextList);
51203     }
51204 
51205     (arg1)->Append(*arg2);
51206 
51207     return SWIG_arg;
51208 
51209     fail: SWIGUNUSED;
51210   }
51211   lua_error(L);
51212   return 0;
51213 }
51214 
51215 
_wrap_SBSymbolContextList_Append(lua_State * L)51216 static int _wrap_SBSymbolContextList_Append(lua_State* L) {
51217   int argc;
51218   int argv[3]={
51219     1,2,3
51220   };
51221 
51222   argc = lua_gettop(L);
51223   if (argc == 2) {
51224     int _v = 0;
51225     {
51226       void *ptr;
51227       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, 0)) {
51228         _v = 0;
51229       } else {
51230         _v = 1;
51231       }
51232     }
51233     if (_v) {
51234       {
51235         void *ptr;
51236         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContext, SWIG_POINTER_NO_NULL)) {
51237           _v = 0;
51238         } else {
51239           _v = 1;
51240         }
51241       }
51242       if (_v) {
51243         return _wrap_SBSymbolContextList_Append__SWIG_0(L);
51244       }
51245     }
51246   }
51247   if (argc == 2) {
51248     int _v = 0;
51249     {
51250       void *ptr;
51251       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, 0)) {
51252         _v = 0;
51253       } else {
51254         _v = 1;
51255       }
51256     }
51257     if (_v) {
51258       {
51259         void *ptr;
51260         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBSymbolContextList, SWIG_POINTER_NO_NULL)) {
51261           _v = 0;
51262         } else {
51263           _v = 1;
51264         }
51265       }
51266       if (_v) {
51267         return _wrap_SBSymbolContextList_Append__SWIG_1(L);
51268       }
51269     }
51270   }
51271 
51272   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBSymbolContextList_Append'\n"
51273     "  Possible C/C++ prototypes are:\n"
51274     "    lldb::SBSymbolContextList::Append(lldb::SBSymbolContext &)\n"
51275     "    lldb::SBSymbolContextList::Append(lldb::SBSymbolContextList &)\n");
51276   lua_error(L);return 0;
51277 }
51278 
51279 
_wrap_SBSymbolContextList_Clear(lua_State * L)51280 static int _wrap_SBSymbolContextList_Clear(lua_State* L) {
51281   {
51282     int SWIG_arg = 0;
51283     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51284 
51285     SWIG_check_num_args("lldb::SBSymbolContextList::Clear",1,1)
51286     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::Clear",1,"lldb::SBSymbolContextList *");
51287 
51288     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51289       SWIG_fail_ptr("SBSymbolContextList_Clear",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51290     }
51291 
51292     (arg1)->Clear();
51293 
51294     return SWIG_arg;
51295 
51296     fail: SWIGUNUSED;
51297   }
51298   lua_error(L);
51299   return 0;
51300 }
51301 
51302 
_wrap_SBSymbolContextList___tostring(lua_State * L)51303 static int _wrap_SBSymbolContextList___tostring(lua_State* L) {
51304   {
51305     int SWIG_arg = 0;
51306     lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) 0 ;
51307     std::string result;
51308 
51309     SWIG_check_num_args("lldb::SBSymbolContextList::__repr__",1,1)
51310     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBSymbolContextList::__repr__",1,"lldb::SBSymbolContextList *");
51311 
51312     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBSymbolContextList,0))){
51313       SWIG_fail_ptr("SBSymbolContextList___tostring",1,SWIGTYPE_p_lldb__SBSymbolContextList);
51314     }
51315 
51316     result = lldb_SBSymbolContextList___repr__(arg1);
51317     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
51318     return SWIG_arg;
51319 
51320     fail: SWIGUNUSED;
51321   }
51322   lua_error(L);
51323   return 0;
51324 }
51325 
51326 
swig_delete_SBSymbolContextList(void * obj)51327 static void swig_delete_SBSymbolContextList(void *obj) {
51328 lldb::SBSymbolContextList *arg1 = (lldb::SBSymbolContextList *) obj;
51329 delete arg1;
51330 }
_proxy__wrap_new_SBSymbolContextList(lua_State * L)51331 static int _proxy__wrap_new_SBSymbolContextList(lua_State *L) {
51332     assert(lua_istable(L,1));
51333     lua_pushcfunction(L,_wrap_new_SBSymbolContextList);
51334     assert(!lua_isnil(L,-1));
51335     lua_replace(L,1); /* replace our table with real constructor */
51336     lua_call(L,lua_gettop(L)-1,1);
51337     return 1;
51338 }
51339 static swig_lua_attribute swig_SBSymbolContextList_attributes[] = {
51340     {0,0,0}
51341 };
51342 static swig_lua_method swig_SBSymbolContextList_methods[]= {
51343     { "IsValid", _wrap_SBSymbolContextList_IsValid},
51344     { "GetSize", _wrap_SBSymbolContextList_GetSize},
51345     { "GetContextAtIndex", _wrap_SBSymbolContextList_GetContextAtIndex},
51346     { "GetDescription", _wrap_SBSymbolContextList_GetDescription},
51347     { "Append", _wrap_SBSymbolContextList_Append},
51348     { "Clear", _wrap_SBSymbolContextList_Clear},
51349     { "__tostring", _wrap_SBSymbolContextList___tostring},
51350     {0,0}
51351 };
51352 static swig_lua_method swig_SBSymbolContextList_meta[] = {
51353     { "__tostring", _wrap_SBSymbolContextList___tostring},
51354     {0,0}
51355 };
51356 
51357 static swig_lua_attribute swig_SBSymbolContextList_Sf_SwigStatic_attributes[] = {
51358     {0,0,0}
51359 };
51360 static swig_lua_const_info swig_SBSymbolContextList_Sf_SwigStatic_constants[]= {
51361     {0,0,0,0,0,0}
51362 };
51363 static swig_lua_method swig_SBSymbolContextList_Sf_SwigStatic_methods[]= {
51364     {0,0}
51365 };
51366 static swig_lua_class* swig_SBSymbolContextList_Sf_SwigStatic_classes[]= {
51367     0
51368 };
51369 
51370 static swig_lua_namespace swig_SBSymbolContextList_Sf_SwigStatic = {
51371     "SBSymbolContextList",
51372     swig_SBSymbolContextList_Sf_SwigStatic_methods,
51373     swig_SBSymbolContextList_Sf_SwigStatic_attributes,
51374     swig_SBSymbolContextList_Sf_SwigStatic_constants,
51375     swig_SBSymbolContextList_Sf_SwigStatic_classes,
51376     0
51377 };
51378 static swig_lua_class *swig_SBSymbolContextList_bases[] = {0};
51379 static const char *swig_SBSymbolContextList_base_names[] = {0};
51380 static swig_lua_class _wrap_class_SBSymbolContextList = { "SBSymbolContextList", "SBSymbolContextList", &SWIGTYPE_p_lldb__SBSymbolContextList,_proxy__wrap_new_SBSymbolContextList, swig_delete_SBSymbolContextList, swig_SBSymbolContextList_methods, swig_SBSymbolContextList_attributes, &swig_SBSymbolContextList_Sf_SwigStatic, swig_SBSymbolContextList_meta, swig_SBSymbolContextList_bases, swig_SBSymbolContextList_base_names };
51381 
_wrap_new_SBTarget__SWIG_0(lua_State * L)51382 static int _wrap_new_SBTarget__SWIG_0(lua_State* L) {
51383   {
51384     int SWIG_arg = 0;
51385     lldb::SBTarget *result = 0 ;
51386 
51387     SWIG_check_num_args("lldb::SBTarget::SBTarget",0,0)
51388     result = (lldb::SBTarget *)new lldb::SBTarget();
51389     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
51390     return SWIG_arg;
51391 
51392     fail: SWIGUNUSED;
51393   }
51394   lua_error(L);
51395   return 0;
51396 }
51397 
51398 
_wrap_new_SBTarget__SWIG_1(lua_State * L)51399 static int _wrap_new_SBTarget__SWIG_1(lua_State* L) {
51400   {
51401     int SWIG_arg = 0;
51402     lldb::SBTarget *arg1 = 0 ;
51403     lldb::SBTarget *result = 0 ;
51404 
51405     SWIG_check_num_args("lldb::SBTarget::SBTarget",1,1)
51406     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::SBTarget",1,"lldb::SBTarget const &");
51407 
51408     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51409       SWIG_fail_ptr("new_SBTarget",1,SWIGTYPE_p_lldb__SBTarget);
51410     }
51411 
51412     result = (lldb::SBTarget *)new lldb::SBTarget((lldb::SBTarget const &)*arg1);
51413     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
51414     return SWIG_arg;
51415 
51416     fail: SWIGUNUSED;
51417   }
51418   lua_error(L);
51419   return 0;
51420 }
51421 
51422 
_wrap_new_SBTarget(lua_State * L)51423 static int _wrap_new_SBTarget(lua_State* L) {
51424   int argc;
51425   int argv[2]={
51426     1,2
51427   };
51428 
51429   argc = lua_gettop(L);
51430   if (argc == 0) {
51431     return _wrap_new_SBTarget__SWIG_0(L);
51432   }
51433   if (argc == 1) {
51434     int _v = 0;
51435     {
51436       void *ptr;
51437       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
51438         _v = 0;
51439       } else {
51440         _v = 1;
51441       }
51442     }
51443     if (_v) {
51444       return _wrap_new_SBTarget__SWIG_1(L);
51445     }
51446   }
51447 
51448   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTarget'\n"
51449     "  Possible C/C++ prototypes are:\n"
51450     "    lldb::SBTarget::SBTarget()\n"
51451     "    lldb::SBTarget::SBTarget(lldb::SBTarget const &)\n");
51452   lua_error(L);return 0;
51453 }
51454 
51455 
_wrap_SBTarget_IsValid(lua_State * L)51456 static int _wrap_SBTarget_IsValid(lua_State* L) {
51457   {
51458     int SWIG_arg = 0;
51459     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51460     bool result;
51461 
51462     SWIG_check_num_args("lldb::SBTarget::IsValid",1,1)
51463     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsValid",1,"lldb::SBTarget const *");
51464 
51465     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51466       SWIG_fail_ptr("SBTarget_IsValid",1,SWIGTYPE_p_lldb__SBTarget);
51467     }
51468 
51469     result = (bool)((lldb::SBTarget const *)arg1)->IsValid();
51470     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
51471     return SWIG_arg;
51472 
51473     fail: SWIGUNUSED;
51474   }
51475   lua_error(L);
51476   return 0;
51477 }
51478 
51479 
_wrap_SBTarget_EventIsTargetEvent(lua_State * L)51480 static int _wrap_SBTarget_EventIsTargetEvent(lua_State* L) {
51481   {
51482     int SWIG_arg = 0;
51483     lldb::SBEvent *arg1 = 0 ;
51484     bool result;
51485 
51486     SWIG_check_num_args("lldb::SBTarget::EventIsTargetEvent",1,1)
51487     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::EventIsTargetEvent",1,"lldb::SBEvent const &");
51488 
51489     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
51490       SWIG_fail_ptr("SBTarget_EventIsTargetEvent",1,SWIGTYPE_p_lldb__SBEvent);
51491     }
51492 
51493     result = (bool)lldb::SBTarget::EventIsTargetEvent((lldb::SBEvent const &)*arg1);
51494     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
51495     return SWIG_arg;
51496 
51497     fail: SWIGUNUSED;
51498   }
51499   lua_error(L);
51500   return 0;
51501 }
51502 
51503 
_wrap_SBTarget_GetTargetFromEvent(lua_State * L)51504 static int _wrap_SBTarget_GetTargetFromEvent(lua_State* L) {
51505   {
51506     int SWIG_arg = 0;
51507     lldb::SBEvent *arg1 = 0 ;
51508     lldb::SBTarget result;
51509 
51510     SWIG_check_num_args("lldb::SBTarget::GetTargetFromEvent",1,1)
51511     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTargetFromEvent",1,"lldb::SBEvent const &");
51512 
51513     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
51514       SWIG_fail_ptr("SBTarget_GetTargetFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
51515     }
51516 
51517     result = lldb::SBTarget::GetTargetFromEvent((lldb::SBEvent const &)*arg1);
51518     {
51519       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
51520       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
51521     }
51522     return SWIG_arg;
51523 
51524     fail: SWIGUNUSED;
51525   }
51526   lua_error(L);
51527   return 0;
51528 }
51529 
51530 
_wrap_SBTarget_GetNumModulesFromEvent(lua_State * L)51531 static int _wrap_SBTarget_GetNumModulesFromEvent(lua_State* L) {
51532   {
51533     int SWIG_arg = 0;
51534     lldb::SBEvent *arg1 = 0 ;
51535     uint32_t result;
51536 
51537     SWIG_check_num_args("lldb::SBTarget::GetNumModulesFromEvent",1,1)
51538     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModulesFromEvent",1,"lldb::SBEvent const &");
51539 
51540     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
51541       SWIG_fail_ptr("SBTarget_GetNumModulesFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
51542     }
51543 
51544     result = (uint32_t)lldb::SBTarget::GetNumModulesFromEvent((lldb::SBEvent const &)*arg1);
51545     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
51546     return SWIG_arg;
51547 
51548     fail: SWIGUNUSED;
51549   }
51550   lua_error(L);
51551   return 0;
51552 }
51553 
51554 
_wrap_SBTarget_GetModuleAtIndexFromEvent(lua_State * L)51555 static int _wrap_SBTarget_GetModuleAtIndexFromEvent(lua_State* L) {
51556   {
51557     int SWIG_arg = 0;
51558     uint32_t arg1 ;
51559     lldb::SBEvent *arg2 = 0 ;
51560     lldb::SBModule result;
51561 
51562     SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndexFromEvent",2,2)
51563     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",1,"uint32_t const");
51564     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndexFromEvent",2,"lldb::SBEvent const &");
51565     arg1 = (uint32_t const)lua_tointeger(L, 1);
51566 
51567     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBEvent,0))){
51568       SWIG_fail_ptr("SBTarget_GetModuleAtIndexFromEvent",2,SWIGTYPE_p_lldb__SBEvent);
51569     }
51570 
51571     result = lldb::SBTarget::GetModuleAtIndexFromEvent(arg1,(lldb::SBEvent const &)*arg2);
51572     {
51573       lldb::SBModule * resultptr = new lldb::SBModule(result);
51574       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
51575     }
51576     return SWIG_arg;
51577 
51578     fail: SWIGUNUSED;
51579   }
51580   lua_error(L);
51581   return 0;
51582 }
51583 
51584 
_wrap_SBTarget_GetBroadcasterClassName(lua_State * L)51585 static int _wrap_SBTarget_GetBroadcasterClassName(lua_State* L) {
51586   {
51587     int SWIG_arg = 0;
51588     char *result = 0 ;
51589 
51590     SWIG_check_num_args("lldb::SBTarget::GetBroadcasterClassName",0,0)
51591     result = (char *)lldb::SBTarget::GetBroadcasterClassName();
51592     lua_pushstring(L,(const char *)result); SWIG_arg++;
51593     return SWIG_arg;
51594 
51595     fail: SWIGUNUSED;
51596   }
51597   lua_error(L);
51598   return 0;
51599 }
51600 
51601 
_wrap_SBTarget_GetProcess(lua_State * L)51602 static int _wrap_SBTarget_GetProcess(lua_State* L) {
51603   {
51604     int SWIG_arg = 0;
51605     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51606     lldb::SBProcess result;
51607 
51608     SWIG_check_num_args("lldb::SBTarget::GetProcess",1,1)
51609     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetProcess",1,"lldb::SBTarget *");
51610 
51611     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51612       SWIG_fail_ptr("SBTarget_GetProcess",1,SWIGTYPE_p_lldb__SBTarget);
51613     }
51614 
51615     result = (arg1)->GetProcess();
51616     {
51617       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
51618       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
51619     }
51620     return SWIG_arg;
51621 
51622     fail: SWIGUNUSED;
51623   }
51624   lua_error(L);
51625   return 0;
51626 }
51627 
51628 
_wrap_SBTarget_SetCollectingStats(lua_State * L)51629 static int _wrap_SBTarget_SetCollectingStats(lua_State* L) {
51630   {
51631     int SWIG_arg = 0;
51632     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51633     bool arg2 ;
51634 
51635     SWIG_check_num_args("lldb::SBTarget::SetCollectingStats",2,2)
51636     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",1,"lldb::SBTarget *");
51637     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTarget::SetCollectingStats",2,"bool");
51638 
51639     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51640       SWIG_fail_ptr("SBTarget_SetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget);
51641     }
51642 
51643     arg2 = (lua_toboolean(L, 2)!=0);
51644     (arg1)->SetCollectingStats(arg2);
51645 
51646     return SWIG_arg;
51647 
51648     fail: SWIGUNUSED;
51649   }
51650   lua_error(L);
51651   return 0;
51652 }
51653 
51654 
_wrap_SBTarget_GetCollectingStats(lua_State * L)51655 static int _wrap_SBTarget_GetCollectingStats(lua_State* L) {
51656   {
51657     int SWIG_arg = 0;
51658     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51659     bool result;
51660 
51661     SWIG_check_num_args("lldb::SBTarget::GetCollectingStats",1,1)
51662     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCollectingStats",1,"lldb::SBTarget *");
51663 
51664     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51665       SWIG_fail_ptr("SBTarget_GetCollectingStats",1,SWIGTYPE_p_lldb__SBTarget);
51666     }
51667 
51668     result = (bool)(arg1)->GetCollectingStats();
51669     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
51670     return SWIG_arg;
51671 
51672     fail: SWIGUNUSED;
51673   }
51674   lua_error(L);
51675   return 0;
51676 }
51677 
51678 
_wrap_SBTarget_GetStatistics(lua_State * L)51679 static int _wrap_SBTarget_GetStatistics(lua_State* L) {
51680   {
51681     int SWIG_arg = 0;
51682     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51683     lldb::SBStructuredData result;
51684 
51685     SWIG_check_num_args("lldb::SBTarget::GetStatistics",1,1)
51686     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStatistics",1,"lldb::SBTarget *");
51687 
51688     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51689       SWIG_fail_ptr("SBTarget_GetStatistics",1,SWIGTYPE_p_lldb__SBTarget);
51690     }
51691 
51692     result = (arg1)->GetStatistics();
51693     {
51694       lldb::SBStructuredData * resultptr = new lldb::SBStructuredData(result);
51695       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBStructuredData,1); SWIG_arg++;
51696     }
51697     return SWIG_arg;
51698 
51699     fail: SWIGUNUSED;
51700   }
51701   lua_error(L);
51702   return 0;
51703 }
51704 
51705 
_wrap_SBTarget_GetPlatform(lua_State * L)51706 static int _wrap_SBTarget_GetPlatform(lua_State* L) {
51707   {
51708     int SWIG_arg = 0;
51709     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51710     lldb::SBPlatform result;
51711 
51712     SWIG_check_num_args("lldb::SBTarget::GetPlatform",1,1)
51713     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetPlatform",1,"lldb::SBTarget *");
51714 
51715     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51716       SWIG_fail_ptr("SBTarget_GetPlatform",1,SWIGTYPE_p_lldb__SBTarget);
51717     }
51718 
51719     result = (arg1)->GetPlatform();
51720     {
51721       lldb::SBPlatform * resultptr = new lldb::SBPlatform(result);
51722       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBPlatform,1); SWIG_arg++;
51723     }
51724     return SWIG_arg;
51725 
51726     fail: SWIGUNUSED;
51727   }
51728   lua_error(L);
51729   return 0;
51730 }
51731 
51732 
_wrap_SBTarget_GetEnvironment(lua_State * L)51733 static int _wrap_SBTarget_GetEnvironment(lua_State* L) {
51734   {
51735     int SWIG_arg = 0;
51736     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51737     lldb::SBEnvironment result;
51738 
51739     SWIG_check_num_args("lldb::SBTarget::GetEnvironment",1,1)
51740     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetEnvironment",1,"lldb::SBTarget *");
51741 
51742     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51743       SWIG_fail_ptr("SBTarget_GetEnvironment",1,SWIGTYPE_p_lldb__SBTarget);
51744     }
51745 
51746     result = (arg1)->GetEnvironment();
51747     {
51748       lldb::SBEnvironment * resultptr = new lldb::SBEnvironment(result);
51749       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBEnvironment,1); SWIG_arg++;
51750     }
51751     return SWIG_arg;
51752 
51753     fail: SWIGUNUSED;
51754   }
51755   lua_error(L);
51756   return 0;
51757 }
51758 
51759 
_wrap_SBTarget_Install(lua_State * L)51760 static int _wrap_SBTarget_Install(lua_State* L) {
51761   {
51762     int SWIG_arg = 0;
51763     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51764     lldb::SBError result;
51765 
51766     SWIG_check_num_args("lldb::SBTarget::Install",1,1)
51767     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Install",1,"lldb::SBTarget *");
51768 
51769     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51770       SWIG_fail_ptr("SBTarget_Install",1,SWIGTYPE_p_lldb__SBTarget);
51771     }
51772 
51773     result = (arg1)->Install();
51774     {
51775       lldb::SBError * resultptr = new lldb::SBError(result);
51776       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
51777     }
51778     return SWIG_arg;
51779 
51780     fail: SWIGUNUSED;
51781   }
51782   lua_error(L);
51783   return 0;
51784 }
51785 
51786 
_wrap_SBTarget_Launch__SWIG_0(lua_State * L)51787 static int _wrap_SBTarget_Launch__SWIG_0(lua_State* L) {
51788   {
51789     int SWIG_arg = 0;
51790     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51791     lldb::SBListener *arg2 = 0 ;
51792     char **arg3 = (char **) 0 ;
51793     char **arg4 = (char **) 0 ;
51794     char *arg5 = (char *) 0 ;
51795     char *arg6 = (char *) 0 ;
51796     char *arg7 = (char *) 0 ;
51797     char *arg8 = (char *) 0 ;
51798     uint32_t arg9 ;
51799     bool arg10 ;
51800     lldb::SBError *arg11 = 0 ;
51801     lldb::SBProcess result;
51802 
51803     SWIG_check_num_args("lldb::SBTarget::Launch",11,11)
51804     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *");
51805     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBListener &");
51806     if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::Launch",5,"char const *");
51807     if(!SWIG_lua_isnilstring(L,6)) SWIG_fail_arg("lldb::SBTarget::Launch",6,"char const *");
51808     if(!SWIG_lua_isnilstring(L,7)) SWIG_fail_arg("lldb::SBTarget::Launch",7,"char const *");
51809     if(!SWIG_lua_isnilstring(L,8)) SWIG_fail_arg("lldb::SBTarget::Launch",8,"char const *");
51810     if(!lua_isinteger(L,9)) SWIG_fail_arg("lldb::SBTarget::Launch",9,"uint32_t");
51811     if(!lua_isboolean(L,10)) SWIG_fail_arg("lldb::SBTarget::Launch",10,"bool");
51812     if(!lua_isuserdata(L,11)) SWIG_fail_arg("lldb::SBTarget::Launch",11,"lldb::SBError &");
51813 
51814     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51815       SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget);
51816     }
51817 
51818 
51819     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
51820       SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBListener);
51821     }
51822 
51823     {
51824       if (lua_istable(L, 3)) {
51825         size_t size = lua_rawlen(L, 3);
51826         arg3 = (char **)malloc((size + 1) * sizeof(char *));
51827         int i = 0, j = 0;
51828         while (i++ < size) {
51829           lua_rawgeti(L, 3, i);
51830           if (!lua_isstring(L, -1)) {
51831             // if current element cannot be converted to string, raise an error
51832             lua_pop(L, 1);
51833             return luaL_error(L, "List should only contain strings");
51834           }
51835           arg3[j++] = (char *)lua_tostring(L, -1);
51836           lua_pop(L, 1);
51837         }
51838         arg3[j] = 0;
51839       } else if (lua_isnil(L, 3)) {
51840         // "nil" is also acceptable, equivalent as an empty table
51841         arg3 = NULL;
51842       } else {
51843         return luaL_error(L, "A list of strings expected");
51844       }
51845     }
51846     {
51847       if (lua_istable(L, 4)) {
51848         size_t size = lua_rawlen(L, 4);
51849         arg4 = (char **)malloc((size + 1) * sizeof(char *));
51850         int i = 0, j = 0;
51851         while (i++ < size) {
51852           lua_rawgeti(L, 4, i);
51853           if (!lua_isstring(L, -1)) {
51854             // if current element cannot be converted to string, raise an error
51855             lua_pop(L, 1);
51856             return luaL_error(L, "List should only contain strings");
51857           }
51858           arg4[j++] = (char *)lua_tostring(L, -1);
51859           lua_pop(L, 1);
51860         }
51861         arg4[j] = 0;
51862       } else if (lua_isnil(L, 4)) {
51863         // "nil" is also acceptable, equivalent as an empty table
51864         arg4 = NULL;
51865       } else {
51866         return luaL_error(L, "A list of strings expected");
51867       }
51868     }
51869     arg5 = (char *)lua_tostring(L, 5);
51870     arg6 = (char *)lua_tostring(L, 6);
51871     arg7 = (char *)lua_tostring(L, 7);
51872     arg8 = (char *)lua_tostring(L, 8);
51873     arg9 = (uint32_t)lua_tointeger(L, 9);
51874     arg10 = (lua_toboolean(L, 10)!=0);
51875 
51876     if (!SWIG_IsOK(SWIG_ConvertPtr(L,11,(void**)&arg11,SWIGTYPE_p_lldb__SBError,0))){
51877       SWIG_fail_ptr("SBTarget_Launch",11,SWIGTYPE_p_lldb__SBError);
51878     }
51879 
51880     result = (arg1)->Launch(*arg2,(char const **)arg3,(char const **)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,*arg11);
51881     {
51882       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
51883       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
51884     }
51885     {
51886       free((char *) arg3);
51887     }
51888     {
51889       free((char *) arg4);
51890     }
51891     return SWIG_arg;
51892 
51893     fail: SWIGUNUSED;
51894     {
51895       free((char *) arg3);
51896     }
51897     {
51898       free((char *) arg4);
51899     }
51900   }
51901   lua_error(L);
51902   return 0;
51903 }
51904 
51905 
_wrap_SBTarget_LoadCore__SWIG_0(lua_State * L)51906 static int _wrap_SBTarget_LoadCore__SWIG_0(lua_State* L) {
51907   {
51908     int SWIG_arg = 0;
51909     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51910     char *arg2 = (char *) 0 ;
51911     lldb::SBProcess result;
51912 
51913     SWIG_check_num_args("lldb::SBTarget::LoadCore",2,2)
51914     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *");
51915     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *");
51916 
51917     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51918       SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget);
51919     }
51920 
51921     arg2 = (char *)lua_tostring(L, 2);
51922     result = (arg1)->LoadCore((char const *)arg2);
51923     {
51924       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
51925       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
51926     }
51927     return SWIG_arg;
51928 
51929     fail: SWIGUNUSED;
51930   }
51931   lua_error(L);
51932   return 0;
51933 }
51934 
51935 
_wrap_SBTarget_LoadCore__SWIG_1(lua_State * L)51936 static int _wrap_SBTarget_LoadCore__SWIG_1(lua_State* L) {
51937   {
51938     int SWIG_arg = 0;
51939     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
51940     char *arg2 = (char *) 0 ;
51941     lldb::SBError *arg3 = 0 ;
51942     lldb::SBProcess result;
51943 
51944     SWIG_check_num_args("lldb::SBTarget::LoadCore",3,3)
51945     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LoadCore",1,"lldb::SBTarget *");
51946     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::LoadCore",2,"char const *");
51947     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::LoadCore",3,"lldb::SBError &");
51948 
51949     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
51950       SWIG_fail_ptr("SBTarget_LoadCore",1,SWIGTYPE_p_lldb__SBTarget);
51951     }
51952 
51953     arg2 = (char *)lua_tostring(L, 2);
51954 
51955     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
51956       SWIG_fail_ptr("SBTarget_LoadCore",3,SWIGTYPE_p_lldb__SBError);
51957     }
51958 
51959     result = (arg1)->LoadCore((char const *)arg2,*arg3);
51960     {
51961       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
51962       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
51963     }
51964     return SWIG_arg;
51965 
51966     fail: SWIGUNUSED;
51967   }
51968   lua_error(L);
51969   return 0;
51970 }
51971 
51972 
_wrap_SBTarget_LoadCore(lua_State * L)51973 static int _wrap_SBTarget_LoadCore(lua_State* L) {
51974   int argc;
51975   int argv[4]={
51976     1,2,3,4
51977   };
51978 
51979   argc = lua_gettop(L);
51980   if (argc == 2) {
51981     int _v = 0;
51982     {
51983       void *ptr;
51984       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
51985         _v = 0;
51986       } else {
51987         _v = 1;
51988       }
51989     }
51990     if (_v) {
51991       {
51992         _v = SWIG_lua_isnilstring(L,argv[1]);
51993       }
51994       if (_v) {
51995         return _wrap_SBTarget_LoadCore__SWIG_0(L);
51996       }
51997     }
51998   }
51999   if (argc == 3) {
52000     int _v = 0;
52001     {
52002       void *ptr;
52003       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52004         _v = 0;
52005       } else {
52006         _v = 1;
52007       }
52008     }
52009     if (_v) {
52010       {
52011         _v = SWIG_lua_isnilstring(L,argv[1]);
52012       }
52013       if (_v) {
52014         {
52015           void *ptr;
52016           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
52017             _v = 0;
52018           } else {
52019             _v = 1;
52020           }
52021         }
52022         if (_v) {
52023           return _wrap_SBTarget_LoadCore__SWIG_1(L);
52024         }
52025       }
52026     }
52027   }
52028 
52029   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_LoadCore'\n"
52030     "  Possible C/C++ prototypes are:\n"
52031     "    lldb::SBTarget::LoadCore(char const *)\n"
52032     "    lldb::SBTarget::LoadCore(char const *,lldb::SBError &)\n");
52033   lua_error(L);return 0;
52034 }
52035 
52036 
_wrap_SBTarget_LaunchSimple(lua_State * L)52037 static int _wrap_SBTarget_LaunchSimple(lua_State* L) {
52038   {
52039     int SWIG_arg = 0;
52040     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52041     char **arg2 = (char **) 0 ;
52042     char **arg3 = (char **) 0 ;
52043     char *arg4 = (char *) 0 ;
52044     lldb::SBProcess result;
52045 
52046     SWIG_check_num_args("lldb::SBTarget::LaunchSimple",4,4)
52047     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",1,"lldb::SBTarget *");
52048     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::LaunchSimple",4,"char const *");
52049 
52050     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52051       SWIG_fail_ptr("SBTarget_LaunchSimple",1,SWIGTYPE_p_lldb__SBTarget);
52052     }
52053 
52054     {
52055       if (lua_istable(L, 2)) {
52056         size_t size = lua_rawlen(L, 2);
52057         arg2 = (char **)malloc((size + 1) * sizeof(char *));
52058         int i = 0, j = 0;
52059         while (i++ < size) {
52060           lua_rawgeti(L, 2, i);
52061           if (!lua_isstring(L, -1)) {
52062             // if current element cannot be converted to string, raise an error
52063             lua_pop(L, 1);
52064             return luaL_error(L, "List should only contain strings");
52065           }
52066           arg2[j++] = (char *)lua_tostring(L, -1);
52067           lua_pop(L, 1);
52068         }
52069         arg2[j] = 0;
52070       } else if (lua_isnil(L, 2)) {
52071         // "nil" is also acceptable, equivalent as an empty table
52072         arg2 = NULL;
52073       } else {
52074         return luaL_error(L, "A list of strings expected");
52075       }
52076     }
52077     {
52078       if (lua_istable(L, 3)) {
52079         size_t size = lua_rawlen(L, 3);
52080         arg3 = (char **)malloc((size + 1) * sizeof(char *));
52081         int i = 0, j = 0;
52082         while (i++ < size) {
52083           lua_rawgeti(L, 3, i);
52084           if (!lua_isstring(L, -1)) {
52085             // if current element cannot be converted to string, raise an error
52086             lua_pop(L, 1);
52087             return luaL_error(L, "List should only contain strings");
52088           }
52089           arg3[j++] = (char *)lua_tostring(L, -1);
52090           lua_pop(L, 1);
52091         }
52092         arg3[j] = 0;
52093       } else if (lua_isnil(L, 3)) {
52094         // "nil" is also acceptable, equivalent as an empty table
52095         arg3 = NULL;
52096       } else {
52097         return luaL_error(L, "A list of strings expected");
52098       }
52099     }
52100     arg4 = (char *)lua_tostring(L, 4);
52101     result = (arg1)->LaunchSimple((char const **)arg2,(char const **)arg3,(char const *)arg4);
52102     {
52103       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52104       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52105     }
52106     {
52107       free((char *) arg2);
52108     }
52109     {
52110       free((char *) arg3);
52111     }
52112     return SWIG_arg;
52113 
52114     fail: SWIGUNUSED;
52115     {
52116       free((char *) arg2);
52117     }
52118     {
52119       free((char *) arg3);
52120     }
52121   }
52122   lua_error(L);
52123   return 0;
52124 }
52125 
52126 
_wrap_SBTarget_Launch__SWIG_1(lua_State * L)52127 static int _wrap_SBTarget_Launch__SWIG_1(lua_State* L) {
52128   {
52129     int SWIG_arg = 0;
52130     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52131     lldb::SBLaunchInfo *arg2 = 0 ;
52132     lldb::SBError *arg3 = 0 ;
52133     lldb::SBProcess result;
52134 
52135     SWIG_check_num_args("lldb::SBTarget::Launch",3,3)
52136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Launch",1,"lldb::SBTarget *");
52137     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Launch",2,"lldb::SBLaunchInfo &");
52138     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Launch",3,"lldb::SBError &");
52139 
52140     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52141       SWIG_fail_ptr("SBTarget_Launch",1,SWIGTYPE_p_lldb__SBTarget);
52142     }
52143 
52144 
52145     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
52146       SWIG_fail_ptr("SBTarget_Launch",2,SWIGTYPE_p_lldb__SBLaunchInfo);
52147     }
52148 
52149 
52150     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
52151       SWIG_fail_ptr("SBTarget_Launch",3,SWIGTYPE_p_lldb__SBError);
52152     }
52153 
52154     result = (arg1)->Launch(*arg2,*arg3);
52155     {
52156       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52157       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52158     }
52159     return SWIG_arg;
52160 
52161     fail: SWIGUNUSED;
52162   }
52163   lua_error(L);
52164   return 0;
52165 }
52166 
52167 
_wrap_SBTarget_Launch(lua_State * L)52168 static int _wrap_SBTarget_Launch(lua_State* L) {
52169   int argc;
52170   int argv[12]={
52171     1,2,3,4,5,6,7,8,9,10,11,12
52172   };
52173 
52174   argc = lua_gettop(L);
52175   if (argc == 3) {
52176     int _v = 0;
52177     {
52178       void *ptr;
52179       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52180         _v = 0;
52181       } else {
52182         _v = 1;
52183       }
52184     }
52185     if (_v) {
52186       {
52187         void *ptr;
52188         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBLaunchInfo, SWIG_POINTER_NO_NULL)) {
52189           _v = 0;
52190         } else {
52191           _v = 1;
52192         }
52193       }
52194       if (_v) {
52195         {
52196           void *ptr;
52197           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
52198             _v = 0;
52199           } else {
52200             _v = 1;
52201           }
52202         }
52203         if (_v) {
52204           return _wrap_SBTarget_Launch__SWIG_1(L);
52205         }
52206       }
52207     }
52208   }
52209   if (argc == 11) {
52210     int _v = 0;
52211     {
52212       void *ptr;
52213       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52214         _v = 0;
52215       } else {
52216         _v = 1;
52217       }
52218     }
52219     if (_v) {
52220       {
52221         void *ptr;
52222         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
52223           _v = 0;
52224         } else {
52225           _v = 1;
52226         }
52227       }
52228       if (_v) {
52229         {
52230           _v = (lua_istable(L, argv[2]) || lua_isnil(L, argv[2]));
52231         }
52232         if (_v) {
52233           {
52234             _v = (lua_istable(L, argv[3]) || lua_isnil(L, argv[3]));
52235           }
52236           if (_v) {
52237             {
52238               _v = SWIG_lua_isnilstring(L,argv[4]);
52239             }
52240             if (_v) {
52241               {
52242                 _v = SWIG_lua_isnilstring(L,argv[5]);
52243               }
52244               if (_v) {
52245                 {
52246                   _v = SWIG_lua_isnilstring(L,argv[6]);
52247                 }
52248                 if (_v) {
52249                   {
52250                     _v = SWIG_lua_isnilstring(L,argv[7]);
52251                   }
52252                   if (_v) {
52253                     {
52254                       _v = lua_isnumber(L,argv[8]);
52255                     }
52256                     if (_v) {
52257                       {
52258                         _v = lua_isboolean(L,argv[9]);
52259                       }
52260                       if (_v) {
52261                         {
52262                           void *ptr;
52263                           if (lua_isuserdata(L,argv[10])==0 || SWIG_ConvertPtr(L,argv[10], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
52264                             _v = 0;
52265                           } else {
52266                             _v = 1;
52267                           }
52268                         }
52269                         if (_v) {
52270                           return _wrap_SBTarget_Launch__SWIG_0(L);
52271                         }
52272                       }
52273                     }
52274                   }
52275                 }
52276               }
52277             }
52278           }
52279         }
52280       }
52281     }
52282   }
52283 
52284   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_Launch'\n"
52285     "  Possible C/C++ prototypes are:\n"
52286     "    lldb::SBTarget::Launch(lldb::SBListener &,char const **,char const **,char const *,char const *,char const *,char const *,uint32_t,bool,lldb::SBError &)\n"
52287     "    lldb::SBTarget::Launch(lldb::SBLaunchInfo &,lldb::SBError &)\n");
52288   lua_error(L);return 0;
52289 }
52290 
52291 
_wrap_SBTarget_Attach(lua_State * L)52292 static int _wrap_SBTarget_Attach(lua_State* L) {
52293   {
52294     int SWIG_arg = 0;
52295     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52296     lldb::SBAttachInfo *arg2 = 0 ;
52297     lldb::SBError *arg3 = 0 ;
52298     lldb::SBProcess result;
52299 
52300     SWIG_check_num_args("lldb::SBTarget::Attach",3,3)
52301     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Attach",1,"lldb::SBTarget *");
52302     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::Attach",2,"lldb::SBAttachInfo &");
52303     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::Attach",3,"lldb::SBError &");
52304 
52305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52306       SWIG_fail_ptr("SBTarget_Attach",1,SWIGTYPE_p_lldb__SBTarget);
52307     }
52308 
52309 
52310     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAttachInfo,0))){
52311       SWIG_fail_ptr("SBTarget_Attach",2,SWIGTYPE_p_lldb__SBAttachInfo);
52312     }
52313 
52314 
52315     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
52316       SWIG_fail_ptr("SBTarget_Attach",3,SWIGTYPE_p_lldb__SBError);
52317     }
52318 
52319     result = (arg1)->Attach(*arg2,*arg3);
52320     {
52321       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52322       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52323     }
52324     return SWIG_arg;
52325 
52326     fail: SWIGUNUSED;
52327   }
52328   lua_error(L);
52329   return 0;
52330 }
52331 
52332 
_wrap_SBTarget_AttachToProcessWithID(lua_State * L)52333 static int _wrap_SBTarget_AttachToProcessWithID(lua_State* L) {
52334   {
52335     int SWIG_arg = 0;
52336     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52337     lldb::SBListener *arg2 = 0 ;
52338     lldb::pid_t arg3 ;
52339     lldb::SBError *arg4 = 0 ;
52340     lldb::SBProcess result;
52341 
52342     SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithID",4,4)
52343     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",1,"lldb::SBTarget *");
52344     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",2,"lldb::SBListener &");
52345     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",3,"lldb::pid_t");
52346     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithID",4,"lldb::SBError &");
52347 
52348     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52349       SWIG_fail_ptr("SBTarget_AttachToProcessWithID",1,SWIGTYPE_p_lldb__SBTarget);
52350     }
52351 
52352 
52353     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
52354       SWIG_fail_ptr("SBTarget_AttachToProcessWithID",2,SWIGTYPE_p_lldb__SBListener);
52355     }
52356 
52357     arg3 = (lldb::pid_t)lua_tointeger(L, 3);
52358 
52359     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
52360       SWIG_fail_ptr("SBTarget_AttachToProcessWithID",4,SWIGTYPE_p_lldb__SBError);
52361     }
52362 
52363     result = (arg1)->AttachToProcessWithID(*arg2,arg3,*arg4);
52364     {
52365       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52366       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52367     }
52368     return SWIG_arg;
52369 
52370     fail: SWIGUNUSED;
52371   }
52372   lua_error(L);
52373   return 0;
52374 }
52375 
52376 
_wrap_SBTarget_AttachToProcessWithName(lua_State * L)52377 static int _wrap_SBTarget_AttachToProcessWithName(lua_State* L) {
52378   {
52379     int SWIG_arg = 0;
52380     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52381     lldb::SBListener *arg2 = 0 ;
52382     char *arg3 = (char *) 0 ;
52383     bool arg4 ;
52384     lldb::SBError *arg5 = 0 ;
52385     lldb::SBProcess result;
52386 
52387     SWIG_check_num_args("lldb::SBTarget::AttachToProcessWithName",5,5)
52388     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",1,"lldb::SBTarget *");
52389     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",2,"lldb::SBListener &");
52390     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",3,"char const *");
52391     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",4,"bool");
52392     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::AttachToProcessWithName",5,"lldb::SBError &");
52393 
52394     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52395       SWIG_fail_ptr("SBTarget_AttachToProcessWithName",1,SWIGTYPE_p_lldb__SBTarget);
52396     }
52397 
52398 
52399     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
52400       SWIG_fail_ptr("SBTarget_AttachToProcessWithName",2,SWIGTYPE_p_lldb__SBListener);
52401     }
52402 
52403     arg3 = (char *)lua_tostring(L, 3);
52404     arg4 = (lua_toboolean(L, 4)!=0);
52405 
52406     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
52407       SWIG_fail_ptr("SBTarget_AttachToProcessWithName",5,SWIGTYPE_p_lldb__SBError);
52408     }
52409 
52410     result = (arg1)->AttachToProcessWithName(*arg2,(char const *)arg3,arg4,*arg5);
52411     {
52412       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52413       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52414     }
52415     return SWIG_arg;
52416 
52417     fail: SWIGUNUSED;
52418   }
52419   lua_error(L);
52420   return 0;
52421 }
52422 
52423 
_wrap_SBTarget_ConnectRemote(lua_State * L)52424 static int _wrap_SBTarget_ConnectRemote(lua_State* L) {
52425   {
52426     int SWIG_arg = 0;
52427     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52428     lldb::SBListener *arg2 = 0 ;
52429     char *arg3 = (char *) 0 ;
52430     char *arg4 = (char *) 0 ;
52431     lldb::SBError *arg5 = 0 ;
52432     lldb::SBProcess result;
52433 
52434     SWIG_check_num_args("lldb::SBTarget::ConnectRemote",5,5)
52435     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",1,"lldb::SBTarget *");
52436     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",2,"lldb::SBListener &");
52437     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",3,"char const *");
52438     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",4,"char const *");
52439     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::ConnectRemote",5,"lldb::SBError &");
52440 
52441     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52442       SWIG_fail_ptr("SBTarget_ConnectRemote",1,SWIGTYPE_p_lldb__SBTarget);
52443     }
52444 
52445 
52446     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBListener,0))){
52447       SWIG_fail_ptr("SBTarget_ConnectRemote",2,SWIGTYPE_p_lldb__SBListener);
52448     }
52449 
52450     arg3 = (char *)lua_tostring(L, 3);
52451     arg4 = (char *)lua_tostring(L, 4);
52452 
52453     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
52454       SWIG_fail_ptr("SBTarget_ConnectRemote",5,SWIGTYPE_p_lldb__SBError);
52455     }
52456 
52457     result = (arg1)->ConnectRemote(*arg2,(char const *)arg3,(char const *)arg4,*arg5);
52458     {
52459       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
52460       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
52461     }
52462     return SWIG_arg;
52463 
52464     fail: SWIGUNUSED;
52465   }
52466   lua_error(L);
52467   return 0;
52468 }
52469 
52470 
_wrap_SBTarget_GetExecutable(lua_State * L)52471 static int _wrap_SBTarget_GetExecutable(lua_State* L) {
52472   {
52473     int SWIG_arg = 0;
52474     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52475     lldb::SBFileSpec result;
52476 
52477     SWIG_check_num_args("lldb::SBTarget::GetExecutable",1,1)
52478     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetExecutable",1,"lldb::SBTarget *");
52479 
52480     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52481       SWIG_fail_ptr("SBTarget_GetExecutable",1,SWIGTYPE_p_lldb__SBTarget);
52482     }
52483 
52484     result = (arg1)->GetExecutable();
52485     {
52486       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
52487       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
52488     }
52489     return SWIG_arg;
52490 
52491     fail: SWIGUNUSED;
52492   }
52493   lua_error(L);
52494   return 0;
52495 }
52496 
52497 
_wrap_SBTarget_AppendImageSearchPath(lua_State * L)52498 static int _wrap_SBTarget_AppendImageSearchPath(lua_State* L) {
52499   {
52500     int SWIG_arg = 0;
52501     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52502     char *arg2 = (char *) 0 ;
52503     char *arg3 = (char *) 0 ;
52504     lldb::SBError *arg4 = 0 ;
52505 
52506     SWIG_check_num_args("lldb::SBTarget::AppendImageSearchPath",4,4)
52507     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",1,"lldb::SBTarget *");
52508     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",2,"char const *");
52509     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",3,"char const *");
52510     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::AppendImageSearchPath",4,"lldb::SBError &");
52511 
52512     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52513       SWIG_fail_ptr("SBTarget_AppendImageSearchPath",1,SWIGTYPE_p_lldb__SBTarget);
52514     }
52515 
52516     arg2 = (char *)lua_tostring(L, 2);
52517     arg3 = (char *)lua_tostring(L, 3);
52518 
52519     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
52520       SWIG_fail_ptr("SBTarget_AppendImageSearchPath",4,SWIGTYPE_p_lldb__SBError);
52521     }
52522 
52523     (arg1)->AppendImageSearchPath((char const *)arg2,(char const *)arg3,*arg4);
52524 
52525     return SWIG_arg;
52526 
52527     fail: SWIGUNUSED;
52528   }
52529   lua_error(L);
52530   return 0;
52531 }
52532 
52533 
_wrap_SBTarget_AddModule__SWIG_0(lua_State * L)52534 static int _wrap_SBTarget_AddModule__SWIG_0(lua_State* L) {
52535   {
52536     int SWIG_arg = 0;
52537     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52538     lldb::SBModule *arg2 = 0 ;
52539     bool result;
52540 
52541     SWIG_check_num_args("lldb::SBTarget::AddModule",2,2)
52542     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *");
52543     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModule &");
52544 
52545     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52546       SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget);
52547     }
52548 
52549 
52550     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){
52551       SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModule);
52552     }
52553 
52554     result = (bool)(arg1)->AddModule(*arg2);
52555     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
52556     return SWIG_arg;
52557 
52558     fail: SWIGUNUSED;
52559   }
52560   lua_error(L);
52561   return 0;
52562 }
52563 
52564 
_wrap_SBTarget_AddModule__SWIG_1(lua_State * L)52565 static int _wrap_SBTarget_AddModule__SWIG_1(lua_State* L) {
52566   {
52567     int SWIG_arg = 0;
52568     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52569     char *arg2 = (char *) 0 ;
52570     char *arg3 = (char *) 0 ;
52571     char *arg4 = (char *) 0 ;
52572     lldb::SBModule result;
52573 
52574     SWIG_check_num_args("lldb::SBTarget::AddModule",4,4)
52575     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *");
52576     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *");
52577     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *");
52578     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *");
52579 
52580     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52581       SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget);
52582     }
52583 
52584     arg2 = (char *)lua_tostring(L, 2);
52585     arg3 = (char *)lua_tostring(L, 3);
52586     arg4 = (char *)lua_tostring(L, 4);
52587     result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4);
52588     {
52589       lldb::SBModule * resultptr = new lldb::SBModule(result);
52590       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
52591     }
52592     return SWIG_arg;
52593 
52594     fail: SWIGUNUSED;
52595   }
52596   lua_error(L);
52597   return 0;
52598 }
52599 
52600 
_wrap_SBTarget_AddModule__SWIG_2(lua_State * L)52601 static int _wrap_SBTarget_AddModule__SWIG_2(lua_State* L) {
52602   {
52603     int SWIG_arg = 0;
52604     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52605     char *arg2 = (char *) 0 ;
52606     char *arg3 = (char *) 0 ;
52607     char *arg4 = (char *) 0 ;
52608     char *arg5 = (char *) 0 ;
52609     lldb::SBModule result;
52610 
52611     SWIG_check_num_args("lldb::SBTarget::AddModule",5,5)
52612     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *");
52613     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"char const *");
52614     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::AddModule",3,"char const *");
52615     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::AddModule",4,"char const *");
52616     if(!SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("lldb::SBTarget::AddModule",5,"char const *");
52617 
52618     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52619       SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget);
52620     }
52621 
52622     arg2 = (char *)lua_tostring(L, 2);
52623     arg3 = (char *)lua_tostring(L, 3);
52624     arg4 = (char *)lua_tostring(L, 4);
52625     arg5 = (char *)lua_tostring(L, 5);
52626     result = (arg1)->AddModule((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
52627     {
52628       lldb::SBModule * resultptr = new lldb::SBModule(result);
52629       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
52630     }
52631     return SWIG_arg;
52632 
52633     fail: SWIGUNUSED;
52634   }
52635   lua_error(L);
52636   return 0;
52637 }
52638 
52639 
_wrap_SBTarget_AddModule__SWIG_3(lua_State * L)52640 static int _wrap_SBTarget_AddModule__SWIG_3(lua_State* L) {
52641   {
52642     int SWIG_arg = 0;
52643     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52644     lldb::SBModuleSpec *arg2 = 0 ;
52645     lldb::SBModule result;
52646 
52647     SWIG_check_num_args("lldb::SBTarget::AddModule",2,2)
52648     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::AddModule",1,"lldb::SBTarget *");
52649     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::AddModule",2,"lldb::SBModuleSpec const &");
52650 
52651     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52652       SWIG_fail_ptr("SBTarget_AddModule",1,SWIGTYPE_p_lldb__SBTarget);
52653     }
52654 
52655 
52656     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModuleSpec,0))){
52657       SWIG_fail_ptr("SBTarget_AddModule",2,SWIGTYPE_p_lldb__SBModuleSpec);
52658     }
52659 
52660     result = (arg1)->AddModule((lldb::SBModuleSpec const &)*arg2);
52661     {
52662       lldb::SBModule * resultptr = new lldb::SBModule(result);
52663       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
52664     }
52665     return SWIG_arg;
52666 
52667     fail: SWIGUNUSED;
52668   }
52669   lua_error(L);
52670   return 0;
52671 }
52672 
52673 
_wrap_SBTarget_AddModule(lua_State * L)52674 static int _wrap_SBTarget_AddModule(lua_State* L) {
52675   int argc;
52676   int argv[6]={
52677     1,2,3,4,5,6
52678   };
52679 
52680   argc = lua_gettop(L);
52681   if (argc == 2) {
52682     int _v = 0;
52683     {
52684       void *ptr;
52685       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52686         _v = 0;
52687       } else {
52688         _v = 1;
52689       }
52690     }
52691     if (_v) {
52692       {
52693         void *ptr;
52694         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBModule, SWIG_POINTER_NO_NULL)) {
52695           _v = 0;
52696         } else {
52697           _v = 1;
52698         }
52699       }
52700       if (_v) {
52701         return _wrap_SBTarget_AddModule__SWIG_0(L);
52702       }
52703     }
52704   }
52705   if (argc == 2) {
52706     int _v = 0;
52707     {
52708       void *ptr;
52709       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52710         _v = 0;
52711       } else {
52712         _v = 1;
52713       }
52714     }
52715     if (_v) {
52716       {
52717         void *ptr;
52718         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_NO_NULL)) {
52719           _v = 0;
52720         } else {
52721           _v = 1;
52722         }
52723       }
52724       if (_v) {
52725         return _wrap_SBTarget_AddModule__SWIG_3(L);
52726       }
52727     }
52728   }
52729   if (argc == 4) {
52730     int _v = 0;
52731     {
52732       void *ptr;
52733       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52734         _v = 0;
52735       } else {
52736         _v = 1;
52737       }
52738     }
52739     if (_v) {
52740       {
52741         _v = SWIG_lua_isnilstring(L,argv[1]);
52742       }
52743       if (_v) {
52744         {
52745           _v = SWIG_lua_isnilstring(L,argv[2]);
52746         }
52747         if (_v) {
52748           {
52749             _v = SWIG_lua_isnilstring(L,argv[3]);
52750           }
52751           if (_v) {
52752             return _wrap_SBTarget_AddModule__SWIG_1(L);
52753           }
52754         }
52755       }
52756     }
52757   }
52758   if (argc == 5) {
52759     int _v = 0;
52760     {
52761       void *ptr;
52762       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
52763         _v = 0;
52764       } else {
52765         _v = 1;
52766       }
52767     }
52768     if (_v) {
52769       {
52770         _v = SWIG_lua_isnilstring(L,argv[1]);
52771       }
52772       if (_v) {
52773         {
52774           _v = SWIG_lua_isnilstring(L,argv[2]);
52775         }
52776         if (_v) {
52777           {
52778             _v = SWIG_lua_isnilstring(L,argv[3]);
52779           }
52780           if (_v) {
52781             {
52782               _v = SWIG_lua_isnilstring(L,argv[4]);
52783             }
52784             if (_v) {
52785               return _wrap_SBTarget_AddModule__SWIG_2(L);
52786             }
52787           }
52788         }
52789       }
52790     }
52791   }
52792 
52793   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_AddModule'\n"
52794     "  Possible C/C++ prototypes are:\n"
52795     "    lldb::SBTarget::AddModule(lldb::SBModule &)\n"
52796     "    lldb::SBTarget::AddModule(char const *,char const *,char const *)\n"
52797     "    lldb::SBTarget::AddModule(char const *,char const *,char const *,char const *)\n"
52798     "    lldb::SBTarget::AddModule(lldb::SBModuleSpec const &)\n");
52799   lua_error(L);return 0;
52800 }
52801 
52802 
_wrap_SBTarget_GetNumModules(lua_State * L)52803 static int _wrap_SBTarget_GetNumModules(lua_State* L) {
52804   {
52805     int SWIG_arg = 0;
52806     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52807     uint32_t result;
52808 
52809     SWIG_check_num_args("lldb::SBTarget::GetNumModules",1,1)
52810     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumModules",1,"lldb::SBTarget const *");
52811 
52812     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52813       SWIG_fail_ptr("SBTarget_GetNumModules",1,SWIGTYPE_p_lldb__SBTarget);
52814     }
52815 
52816     result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumModules();
52817     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
52818     return SWIG_arg;
52819 
52820     fail: SWIGUNUSED;
52821   }
52822   lua_error(L);
52823   return 0;
52824 }
52825 
52826 
_wrap_SBTarget_GetModuleAtIndex(lua_State * L)52827 static int _wrap_SBTarget_GetModuleAtIndex(lua_State* L) {
52828   {
52829     int SWIG_arg = 0;
52830     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52831     uint32_t arg2 ;
52832     lldb::SBModule result;
52833 
52834     SWIG_check_num_args("lldb::SBTarget::GetModuleAtIndex",2,2)
52835     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",1,"lldb::SBTarget *");
52836     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetModuleAtIndex",2,"uint32_t");
52837 
52838     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52839       SWIG_fail_ptr("SBTarget_GetModuleAtIndex",1,SWIGTYPE_p_lldb__SBTarget);
52840     }
52841 
52842     arg2 = (uint32_t)lua_tointeger(L, 2);
52843     result = (arg1)->GetModuleAtIndex(arg2);
52844     {
52845       lldb::SBModule * resultptr = new lldb::SBModule(result);
52846       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
52847     }
52848     return SWIG_arg;
52849 
52850     fail: SWIGUNUSED;
52851   }
52852   lua_error(L);
52853   return 0;
52854 }
52855 
52856 
_wrap_SBTarget_RemoveModule(lua_State * L)52857 static int _wrap_SBTarget_RemoveModule(lua_State* L) {
52858   {
52859     int SWIG_arg = 0;
52860     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52861     lldb::SBModule arg2 ;
52862     lldb::SBModule *argp2 ;
52863     bool result;
52864 
52865     SWIG_check_num_args("lldb::SBTarget::RemoveModule",2,2)
52866     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",1,"lldb::SBTarget *");
52867     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::RemoveModule",2,"lldb::SBModule");
52868 
52869     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52870       SWIG_fail_ptr("SBTarget_RemoveModule",1,SWIGTYPE_p_lldb__SBTarget);
52871     }
52872 
52873 
52874     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){
52875       SWIG_fail_ptr("SBTarget_RemoveModule",2,SWIGTYPE_p_lldb__SBModule);
52876     }
52877     arg2 = *argp2;
52878 
52879     result = (bool)(arg1)->RemoveModule(arg2);
52880     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
52881     return SWIG_arg;
52882 
52883     fail: SWIGUNUSED;
52884   }
52885   lua_error(L);
52886   return 0;
52887 }
52888 
52889 
_wrap_SBTarget_GetDebugger(lua_State * L)52890 static int _wrap_SBTarget_GetDebugger(lua_State* L) {
52891   {
52892     int SWIG_arg = 0;
52893     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52894     lldb::SBDebugger result;
52895 
52896     SWIG_check_num_args("lldb::SBTarget::GetDebugger",1,1)
52897     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDebugger",1,"lldb::SBTarget const *");
52898 
52899     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52900       SWIG_fail_ptr("SBTarget_GetDebugger",1,SWIGTYPE_p_lldb__SBTarget);
52901     }
52902 
52903     result = ((lldb::SBTarget const *)arg1)->GetDebugger();
52904     {
52905       lldb::SBDebugger * resultptr = new lldb::SBDebugger(result);
52906       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDebugger,1); SWIG_arg++;
52907     }
52908     return SWIG_arg;
52909 
52910     fail: SWIGUNUSED;
52911   }
52912   lua_error(L);
52913   return 0;
52914 }
52915 
52916 
_wrap_SBTarget_FindModule(lua_State * L)52917 static int _wrap_SBTarget_FindModule(lua_State* L) {
52918   {
52919     int SWIG_arg = 0;
52920     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52921     lldb::SBFileSpec *arg2 = 0 ;
52922     lldb::SBModule result;
52923 
52924     SWIG_check_num_args("lldb::SBTarget::FindModule",2,2)
52925     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindModule",1,"lldb::SBTarget *");
52926     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindModule",2,"lldb::SBFileSpec const &");
52927 
52928     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52929       SWIG_fail_ptr("SBTarget_FindModule",1,SWIGTYPE_p_lldb__SBTarget);
52930     }
52931 
52932 
52933     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
52934       SWIG_fail_ptr("SBTarget_FindModule",2,SWIGTYPE_p_lldb__SBFileSpec);
52935     }
52936 
52937     result = (arg1)->FindModule((lldb::SBFileSpec const &)*arg2);
52938     {
52939       lldb::SBModule * resultptr = new lldb::SBModule(result);
52940       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
52941     }
52942     return SWIG_arg;
52943 
52944     fail: SWIGUNUSED;
52945   }
52946   lua_error(L);
52947   return 0;
52948 }
52949 
52950 
_wrap_SBTarget_FindCompileUnits(lua_State * L)52951 static int _wrap_SBTarget_FindCompileUnits(lua_State* L) {
52952   {
52953     int SWIG_arg = 0;
52954     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52955     lldb::SBFileSpec *arg2 = 0 ;
52956     lldb::SBSymbolContextList result;
52957 
52958     SWIG_check_num_args("lldb::SBTarget::FindCompileUnits",2,2)
52959     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",1,"lldb::SBTarget *");
52960     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::FindCompileUnits",2,"lldb::SBFileSpec const &");
52961 
52962     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52963       SWIG_fail_ptr("SBTarget_FindCompileUnits",1,SWIGTYPE_p_lldb__SBTarget);
52964     }
52965 
52966 
52967     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
52968       SWIG_fail_ptr("SBTarget_FindCompileUnits",2,SWIGTYPE_p_lldb__SBFileSpec);
52969     }
52970 
52971     result = (arg1)->FindCompileUnits((lldb::SBFileSpec const &)*arg2);
52972     {
52973       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
52974       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
52975     }
52976     return SWIG_arg;
52977 
52978     fail: SWIGUNUSED;
52979   }
52980   lua_error(L);
52981   return 0;
52982 }
52983 
52984 
_wrap_SBTarget_GetByteOrder(lua_State * L)52985 static int _wrap_SBTarget_GetByteOrder(lua_State* L) {
52986   {
52987     int SWIG_arg = 0;
52988     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
52989     lldb::ByteOrder result;
52990 
52991     SWIG_check_num_args("lldb::SBTarget::GetByteOrder",1,1)
52992     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetByteOrder",1,"lldb::SBTarget *");
52993 
52994     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
52995       SWIG_fail_ptr("SBTarget_GetByteOrder",1,SWIGTYPE_p_lldb__SBTarget);
52996     }
52997 
52998     result = (lldb::ByteOrder)(arg1)->GetByteOrder();
52999     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53000     return SWIG_arg;
53001 
53002     fail: SWIGUNUSED;
53003   }
53004   lua_error(L);
53005   return 0;
53006 }
53007 
53008 
_wrap_SBTarget_GetAddressByteSize(lua_State * L)53009 static int _wrap_SBTarget_GetAddressByteSize(lua_State* L) {
53010   {
53011     int SWIG_arg = 0;
53012     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53013     uint32_t result;
53014 
53015     SWIG_check_num_args("lldb::SBTarget::GetAddressByteSize",1,1)
53016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetAddressByteSize",1,"lldb::SBTarget *");
53017 
53018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53019       SWIG_fail_ptr("SBTarget_GetAddressByteSize",1,SWIGTYPE_p_lldb__SBTarget);
53020     }
53021 
53022     result = (uint32_t)(arg1)->GetAddressByteSize();
53023     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53024     return SWIG_arg;
53025 
53026     fail: SWIGUNUSED;
53027   }
53028   lua_error(L);
53029   return 0;
53030 }
53031 
53032 
_wrap_SBTarget_GetTriple(lua_State * L)53033 static int _wrap_SBTarget_GetTriple(lua_State* L) {
53034   {
53035     int SWIG_arg = 0;
53036     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53037     char *result = 0 ;
53038 
53039     SWIG_check_num_args("lldb::SBTarget::GetTriple",1,1)
53040     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTriple",1,"lldb::SBTarget *");
53041 
53042     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53043       SWIG_fail_ptr("SBTarget_GetTriple",1,SWIGTYPE_p_lldb__SBTarget);
53044     }
53045 
53046     result = (char *)(arg1)->GetTriple();
53047     lua_pushstring(L,(const char *)result); SWIG_arg++;
53048     return SWIG_arg;
53049 
53050     fail: SWIGUNUSED;
53051   }
53052   lua_error(L);
53053   return 0;
53054 }
53055 
53056 
_wrap_SBTarget_GetABIName(lua_State * L)53057 static int _wrap_SBTarget_GetABIName(lua_State* L) {
53058   {
53059     int SWIG_arg = 0;
53060     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53061     char *result = 0 ;
53062 
53063     SWIG_check_num_args("lldb::SBTarget::GetABIName",1,1)
53064     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetABIName",1,"lldb::SBTarget *");
53065 
53066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53067       SWIG_fail_ptr("SBTarget_GetABIName",1,SWIGTYPE_p_lldb__SBTarget);
53068     }
53069 
53070     result = (char *)(arg1)->GetABIName();
53071     lua_pushstring(L,(const char *)result); SWIG_arg++;
53072     return SWIG_arg;
53073 
53074     fail: SWIGUNUSED;
53075   }
53076   lua_error(L);
53077   return 0;
53078 }
53079 
53080 
_wrap_SBTarget_GetLabel(lua_State * L)53081 static int _wrap_SBTarget_GetLabel(lua_State* L) {
53082   {
53083     int SWIG_arg = 0;
53084     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53085     char *result = 0 ;
53086 
53087     SWIG_check_num_args("lldb::SBTarget::GetLabel",1,1)
53088     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetLabel",1,"lldb::SBTarget const *");
53089 
53090     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53091       SWIG_fail_ptr("SBTarget_GetLabel",1,SWIGTYPE_p_lldb__SBTarget);
53092     }
53093 
53094     result = (char *)((lldb::SBTarget const *)arg1)->GetLabel();
53095     lua_pushstring(L,(const char *)result); SWIG_arg++;
53096     return SWIG_arg;
53097 
53098     fail: SWIGUNUSED;
53099   }
53100   lua_error(L);
53101   return 0;
53102 }
53103 
53104 
_wrap_SBTarget_SetLabel(lua_State * L)53105 static int _wrap_SBTarget_SetLabel(lua_State* L) {
53106   {
53107     int SWIG_arg = 0;
53108     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53109     char *arg2 = (char *) 0 ;
53110     lldb::SBError result;
53111 
53112     SWIG_check_num_args("lldb::SBTarget::SetLabel",2,2)
53113     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetLabel",1,"lldb::SBTarget *");
53114     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::SetLabel",2,"char const *");
53115 
53116     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53117       SWIG_fail_ptr("SBTarget_SetLabel",1,SWIGTYPE_p_lldb__SBTarget);
53118     }
53119 
53120     arg2 = (char *)lua_tostring(L, 2);
53121     result = (arg1)->SetLabel((char const *)arg2);
53122     {
53123       lldb::SBError * resultptr = new lldb::SBError(result);
53124       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
53125     }
53126     return SWIG_arg;
53127 
53128     fail: SWIGUNUSED;
53129   }
53130   lua_error(L);
53131   return 0;
53132 }
53133 
53134 
_wrap_SBTarget_GetDataByteSize(lua_State * L)53135 static int _wrap_SBTarget_GetDataByteSize(lua_State* L) {
53136   {
53137     int SWIG_arg = 0;
53138     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53139     uint32_t result;
53140 
53141     SWIG_check_num_args("lldb::SBTarget::GetDataByteSize",1,1)
53142     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDataByteSize",1,"lldb::SBTarget *");
53143 
53144     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53145       SWIG_fail_ptr("SBTarget_GetDataByteSize",1,SWIGTYPE_p_lldb__SBTarget);
53146     }
53147 
53148     result = (uint32_t)(arg1)->GetDataByteSize();
53149     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53150     return SWIG_arg;
53151 
53152     fail: SWIGUNUSED;
53153   }
53154   lua_error(L);
53155   return 0;
53156 }
53157 
53158 
_wrap_SBTarget_GetCodeByteSize(lua_State * L)53159 static int _wrap_SBTarget_GetCodeByteSize(lua_State* L) {
53160   {
53161     int SWIG_arg = 0;
53162     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53163     uint32_t result;
53164 
53165     SWIG_check_num_args("lldb::SBTarget::GetCodeByteSize",1,1)
53166     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetCodeByteSize",1,"lldb::SBTarget *");
53167 
53168     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53169       SWIG_fail_ptr("SBTarget_GetCodeByteSize",1,SWIGTYPE_p_lldb__SBTarget);
53170     }
53171 
53172     result = (uint32_t)(arg1)->GetCodeByteSize();
53173     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53174     return SWIG_arg;
53175 
53176     fail: SWIGUNUSED;
53177   }
53178   lua_error(L);
53179   return 0;
53180 }
53181 
53182 
_wrap_SBTarget_GetMaximumNumberOfChildrenToDisplay(lua_State * L)53183 static int _wrap_SBTarget_GetMaximumNumberOfChildrenToDisplay(lua_State* L) {
53184   {
53185     int SWIG_arg = 0;
53186     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53187     uint32_t result;
53188 
53189     SWIG_check_num_args("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,1)
53190     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetMaximumNumberOfChildrenToDisplay",1,"lldb::SBTarget const *");
53191 
53192     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53193       SWIG_fail_ptr("SBTarget_GetMaximumNumberOfChildrenToDisplay",1,SWIGTYPE_p_lldb__SBTarget);
53194     }
53195 
53196     result = (uint32_t)((lldb::SBTarget const *)arg1)->GetMaximumNumberOfChildrenToDisplay();
53197     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53198     return SWIG_arg;
53199 
53200     fail: SWIGUNUSED;
53201   }
53202   lua_error(L);
53203   return 0;
53204 }
53205 
53206 
_wrap_SBTarget_SetSectionLoadAddress(lua_State * L)53207 static int _wrap_SBTarget_SetSectionLoadAddress(lua_State* L) {
53208   {
53209     int SWIG_arg = 0;
53210     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53211     lldb::SBSection arg2 ;
53212     lldb::addr_t arg3 ;
53213     lldb::SBSection *argp2 ;
53214     lldb::SBError result;
53215 
53216     SWIG_check_num_args("lldb::SBTarget::SetSectionLoadAddress",3,3)
53217     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",1,"lldb::SBTarget *");
53218     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",2,"lldb::SBSection");
53219     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetSectionLoadAddress",3,"lldb::addr_t");
53220 
53221     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53222       SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53223     }
53224 
53225 
53226     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){
53227       SWIG_fail_ptr("SBTarget_SetSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection);
53228     }
53229     arg2 = *argp2;
53230 
53231     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
53232     result = (arg1)->SetSectionLoadAddress(arg2,arg3);
53233     {
53234       lldb::SBError * resultptr = new lldb::SBError(result);
53235       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
53236     }
53237     return SWIG_arg;
53238 
53239     fail: SWIGUNUSED;
53240   }
53241   lua_error(L);
53242   return 0;
53243 }
53244 
53245 
_wrap_SBTarget_ClearSectionLoadAddress(lua_State * L)53246 static int _wrap_SBTarget_ClearSectionLoadAddress(lua_State* L) {
53247   {
53248     int SWIG_arg = 0;
53249     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53250     lldb::SBSection arg2 ;
53251     lldb::SBSection *argp2 ;
53252     lldb::SBError result;
53253 
53254     SWIG_check_num_args("lldb::SBTarget::ClearSectionLoadAddress",2,2)
53255     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",1,"lldb::SBTarget *");
53256     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearSectionLoadAddress",2,"lldb::SBSection");
53257 
53258     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53259       SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53260     }
53261 
53262 
53263     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBSection,0))){
53264       SWIG_fail_ptr("SBTarget_ClearSectionLoadAddress",2,SWIGTYPE_p_lldb__SBSection);
53265     }
53266     arg2 = *argp2;
53267 
53268     result = (arg1)->ClearSectionLoadAddress(arg2);
53269     {
53270       lldb::SBError * resultptr = new lldb::SBError(result);
53271       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
53272     }
53273     return SWIG_arg;
53274 
53275     fail: SWIGUNUSED;
53276   }
53277   lua_error(L);
53278   return 0;
53279 }
53280 
53281 
_wrap_SBTarget_SetModuleLoadAddress(lua_State * L)53282 static int _wrap_SBTarget_SetModuleLoadAddress(lua_State* L) {
53283   {
53284     int SWIG_arg = 0;
53285     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53286     lldb::SBModule arg2 ;
53287     uint64_t arg3 ;
53288     lldb::SBModule *argp2 ;
53289     lldb::SBError result;
53290 
53291     SWIG_check_num_args("lldb::SBTarget::SetModuleLoadAddress",3,3)
53292     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",1,"lldb::SBTarget *");
53293     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",2,"lldb::SBModule");
53294     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::SetModuleLoadAddress",3,"uint64_t");
53295 
53296     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53297       SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53298     }
53299 
53300 
53301     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){
53302       SWIG_fail_ptr("SBTarget_SetModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule);
53303     }
53304     arg2 = *argp2;
53305 
53306     arg3 = (uint64_t)lua_tointeger(L, 3);
53307     result = (arg1)->SetModuleLoadAddress(arg2,arg3);
53308     {
53309       lldb::SBError * resultptr = new lldb::SBError(result);
53310       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
53311     }
53312     return SWIG_arg;
53313 
53314     fail: SWIGUNUSED;
53315   }
53316   lua_error(L);
53317   return 0;
53318 }
53319 
53320 
_wrap_SBTarget_ClearModuleLoadAddress(lua_State * L)53321 static int _wrap_SBTarget_ClearModuleLoadAddress(lua_State* L) {
53322   {
53323     int SWIG_arg = 0;
53324     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53325     lldb::SBModule arg2 ;
53326     lldb::SBModule *argp2 ;
53327     lldb::SBError result;
53328 
53329     SWIG_check_num_args("lldb::SBTarget::ClearModuleLoadAddress",2,2)
53330     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",1,"lldb::SBTarget *");
53331     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ClearModuleLoadAddress",2,"lldb::SBModule");
53332 
53333     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53334       SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53335     }
53336 
53337 
53338     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBModule,0))){
53339       SWIG_fail_ptr("SBTarget_ClearModuleLoadAddress",2,SWIGTYPE_p_lldb__SBModule);
53340     }
53341     arg2 = *argp2;
53342 
53343     result = (arg1)->ClearModuleLoadAddress(arg2);
53344     {
53345       lldb::SBError * resultptr = new lldb::SBError(result);
53346       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
53347     }
53348     return SWIG_arg;
53349 
53350     fail: SWIGUNUSED;
53351   }
53352   lua_error(L);
53353   return 0;
53354 }
53355 
53356 
_wrap_SBTarget_FindFunctions__SWIG_0(lua_State * L)53357 static int _wrap_SBTarget_FindFunctions__SWIG_0(lua_State* L) {
53358   {
53359     int SWIG_arg = 0;
53360     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53361     char *arg2 = (char *) 0 ;
53362     uint32_t arg3 ;
53363     lldb::SBSymbolContextList result;
53364 
53365     SWIG_check_num_args("lldb::SBTarget::FindFunctions",3,3)
53366     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *");
53367     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *");
53368     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",3,"uint32_t");
53369 
53370     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53371       SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget);
53372     }
53373 
53374     arg2 = (char *)lua_tostring(L, 2);
53375     arg3 = (uint32_t)lua_tointeger(L, 3);
53376     result = (arg1)->FindFunctions((char const *)arg2,arg3);
53377     {
53378       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
53379       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
53380     }
53381     return SWIG_arg;
53382 
53383     fail: SWIGUNUSED;
53384   }
53385   lua_error(L);
53386   return 0;
53387 }
53388 
53389 
_wrap_SBTarget_FindFunctions__SWIG_1(lua_State * L)53390 static int _wrap_SBTarget_FindFunctions__SWIG_1(lua_State* L) {
53391   {
53392     int SWIG_arg = 0;
53393     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53394     char *arg2 = (char *) 0 ;
53395     lldb::SBSymbolContextList result;
53396 
53397     SWIG_check_num_args("lldb::SBTarget::FindFunctions",2,2)
53398     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",1,"lldb::SBTarget *");
53399     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFunctions",2,"char const *");
53400 
53401     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53402       SWIG_fail_ptr("SBTarget_FindFunctions",1,SWIGTYPE_p_lldb__SBTarget);
53403     }
53404 
53405     arg2 = (char *)lua_tostring(L, 2);
53406     result = (arg1)->FindFunctions((char const *)arg2);
53407     {
53408       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
53409       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
53410     }
53411     return SWIG_arg;
53412 
53413     fail: SWIGUNUSED;
53414   }
53415   lua_error(L);
53416   return 0;
53417 }
53418 
53419 
_wrap_SBTarget_FindFunctions(lua_State * L)53420 static int _wrap_SBTarget_FindFunctions(lua_State* L) {
53421   int argc;
53422   int argv[4]={
53423     1,2,3,4
53424   };
53425 
53426   argc = lua_gettop(L);
53427   if (argc == 2) {
53428     int _v = 0;
53429     {
53430       void *ptr;
53431       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
53432         _v = 0;
53433       } else {
53434         _v = 1;
53435       }
53436     }
53437     if (_v) {
53438       {
53439         _v = SWIG_lua_isnilstring(L,argv[1]);
53440       }
53441       if (_v) {
53442         return _wrap_SBTarget_FindFunctions__SWIG_1(L);
53443       }
53444     }
53445   }
53446   if (argc == 3) {
53447     int _v = 0;
53448     {
53449       void *ptr;
53450       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
53451         _v = 0;
53452       } else {
53453         _v = 1;
53454       }
53455     }
53456     if (_v) {
53457       {
53458         _v = SWIG_lua_isnilstring(L,argv[1]);
53459       }
53460       if (_v) {
53461         {
53462           _v = lua_isnumber(L,argv[2]);
53463         }
53464         if (_v) {
53465           return _wrap_SBTarget_FindFunctions__SWIG_0(L);
53466         }
53467       }
53468     }
53469   }
53470 
53471   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_FindFunctions'\n"
53472     "  Possible C/C++ prototypes are:\n"
53473     "    lldb::SBTarget::FindFunctions(char const *,uint32_t)\n"
53474     "    lldb::SBTarget::FindFunctions(char const *)\n");
53475   lua_error(L);return 0;
53476 }
53477 
53478 
_wrap_SBTarget_FindGlobalVariables__SWIG_0(lua_State * L)53479 static int _wrap_SBTarget_FindGlobalVariables__SWIG_0(lua_State* L) {
53480   {
53481     int SWIG_arg = 0;
53482     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53483     char *arg2 = (char *) 0 ;
53484     uint32_t arg3 ;
53485     lldb::SBValueList result;
53486 
53487     SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",3,3)
53488     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *");
53489     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *");
53490     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t");
53491 
53492     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53493       SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget);
53494     }
53495 
53496     arg2 = (char *)lua_tostring(L, 2);
53497     arg3 = (uint32_t)lua_tointeger(L, 3);
53498     result = (arg1)->FindGlobalVariables((char const *)arg2,arg3);
53499     {
53500       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
53501       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
53502     }
53503     return SWIG_arg;
53504 
53505     fail: SWIGUNUSED;
53506   }
53507   lua_error(L);
53508   return 0;
53509 }
53510 
53511 
_wrap_SBTarget_FindFirstGlobalVariable(lua_State * L)53512 static int _wrap_SBTarget_FindFirstGlobalVariable(lua_State* L) {
53513   {
53514     int SWIG_arg = 0;
53515     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53516     char *arg2 = (char *) 0 ;
53517     lldb::SBValue result;
53518 
53519     SWIG_check_num_args("lldb::SBTarget::FindFirstGlobalVariable",2,2)
53520     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",1,"lldb::SBTarget *");
53521     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstGlobalVariable",2,"char const *");
53522 
53523     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53524       SWIG_fail_ptr("SBTarget_FindFirstGlobalVariable",1,SWIGTYPE_p_lldb__SBTarget);
53525     }
53526 
53527     arg2 = (char *)lua_tostring(L, 2);
53528     result = (arg1)->FindFirstGlobalVariable((char const *)arg2);
53529     {
53530       lldb::SBValue * resultptr = new lldb::SBValue(result);
53531       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
53532     }
53533     return SWIG_arg;
53534 
53535     fail: SWIGUNUSED;
53536   }
53537   lua_error(L);
53538   return 0;
53539 }
53540 
53541 
_wrap_SBTarget_FindGlobalVariables__SWIG_1(lua_State * L)53542 static int _wrap_SBTarget_FindGlobalVariables__SWIG_1(lua_State* L) {
53543   {
53544     int SWIG_arg = 0;
53545     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53546     char *arg2 = (char *) 0 ;
53547     uint32_t arg3 ;
53548     lldb::MatchType arg4 ;
53549     lldb::SBValueList result;
53550 
53551     SWIG_check_num_args("lldb::SBTarget::FindGlobalVariables",4,4)
53552     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",1,"lldb::SBTarget *");
53553     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",2,"char const *");
53554     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",3,"uint32_t");
53555     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalVariables",4,"lldb::MatchType");
53556 
53557     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53558       SWIG_fail_ptr("SBTarget_FindGlobalVariables",1,SWIGTYPE_p_lldb__SBTarget);
53559     }
53560 
53561     arg2 = (char *)lua_tostring(L, 2);
53562     arg3 = (uint32_t)lua_tointeger(L, 3);
53563     arg4 = (lldb::MatchType)lua_tointeger(L, 4);
53564     result = (arg1)->FindGlobalVariables((char const *)arg2,arg3,arg4);
53565     {
53566       lldb::SBValueList * resultptr = new lldb::SBValueList(result);
53567       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
53568     }
53569     return SWIG_arg;
53570 
53571     fail: SWIGUNUSED;
53572   }
53573   lua_error(L);
53574   return 0;
53575 }
53576 
53577 
_wrap_SBTarget_FindGlobalVariables(lua_State * L)53578 static int _wrap_SBTarget_FindGlobalVariables(lua_State* L) {
53579   int argc;
53580   int argv[5]={
53581     1,2,3,4,5
53582   };
53583 
53584   argc = lua_gettop(L);
53585   if (argc == 3) {
53586     int _v = 0;
53587     {
53588       void *ptr;
53589       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
53590         _v = 0;
53591       } else {
53592         _v = 1;
53593       }
53594     }
53595     if (_v) {
53596       {
53597         _v = SWIG_lua_isnilstring(L,argv[1]);
53598       }
53599       if (_v) {
53600         {
53601           _v = lua_isnumber(L,argv[2]);
53602         }
53603         if (_v) {
53604           return _wrap_SBTarget_FindGlobalVariables__SWIG_0(L);
53605         }
53606       }
53607     }
53608   }
53609   if (argc == 4) {
53610     int _v = 0;
53611     {
53612       void *ptr;
53613       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
53614         _v = 0;
53615       } else {
53616         _v = 1;
53617       }
53618     }
53619     if (_v) {
53620       {
53621         _v = SWIG_lua_isnilstring(L,argv[1]);
53622       }
53623       if (_v) {
53624         {
53625           _v = lua_isnumber(L,argv[2]);
53626         }
53627         if (_v) {
53628           {
53629             _v = lua_isnumber(L,argv[3]);
53630           }
53631           if (_v) {
53632             return _wrap_SBTarget_FindGlobalVariables__SWIG_1(L);
53633           }
53634         }
53635       }
53636     }
53637   }
53638 
53639   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_FindGlobalVariables'\n"
53640     "  Possible C/C++ prototypes are:\n"
53641     "    lldb::SBTarget::FindGlobalVariables(char const *,uint32_t)\n"
53642     "    lldb::SBTarget::FindGlobalVariables(char const *,uint32_t,lldb::MatchType)\n");
53643   lua_error(L);return 0;
53644 }
53645 
53646 
_wrap_SBTarget_FindGlobalFunctions(lua_State * L)53647 static int _wrap_SBTarget_FindGlobalFunctions(lua_State* L) {
53648   {
53649     int SWIG_arg = 0;
53650     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53651     char *arg2 = (char *) 0 ;
53652     uint32_t arg3 ;
53653     lldb::MatchType arg4 ;
53654     lldb::SBSymbolContextList result;
53655 
53656     SWIG_check_num_args("lldb::SBTarget::FindGlobalFunctions",4,4)
53657     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",1,"lldb::SBTarget *");
53658     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",2,"char const *");
53659     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",3,"uint32_t");
53660     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::FindGlobalFunctions",4,"lldb::MatchType");
53661 
53662     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53663       SWIG_fail_ptr("SBTarget_FindGlobalFunctions",1,SWIGTYPE_p_lldb__SBTarget);
53664     }
53665 
53666     arg2 = (char *)lua_tostring(L, 2);
53667     arg3 = (uint32_t)lua_tointeger(L, 3);
53668     arg4 = (lldb::MatchType)lua_tointeger(L, 4);
53669     result = (arg1)->FindGlobalFunctions((char const *)arg2,arg3,arg4);
53670     {
53671       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
53672       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
53673     }
53674     return SWIG_arg;
53675 
53676     fail: SWIGUNUSED;
53677   }
53678   lua_error(L);
53679   return 0;
53680 }
53681 
53682 
_wrap_SBTarget_Clear(lua_State * L)53683 static int _wrap_SBTarget_Clear(lua_State* L) {
53684   {
53685     int SWIG_arg = 0;
53686     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53687 
53688     SWIG_check_num_args("lldb::SBTarget::Clear",1,1)
53689     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::Clear",1,"lldb::SBTarget *");
53690 
53691     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53692       SWIG_fail_ptr("SBTarget_Clear",1,SWIGTYPE_p_lldb__SBTarget);
53693     }
53694 
53695     (arg1)->Clear();
53696 
53697     return SWIG_arg;
53698 
53699     fail: SWIGUNUSED;
53700   }
53701   lua_error(L);
53702   return 0;
53703 }
53704 
53705 
_wrap_SBTarget_ResolveFileAddress(lua_State * L)53706 static int _wrap_SBTarget_ResolveFileAddress(lua_State* L) {
53707   {
53708     int SWIG_arg = 0;
53709     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53710     lldb::addr_t arg2 ;
53711     lldb::SBAddress result;
53712 
53713     SWIG_check_num_args("lldb::SBTarget::ResolveFileAddress",2,2)
53714     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",1,"lldb::SBTarget *");
53715     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveFileAddress",2,"lldb::addr_t");
53716 
53717     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53718       SWIG_fail_ptr("SBTarget_ResolveFileAddress",1,SWIGTYPE_p_lldb__SBTarget);
53719     }
53720 
53721     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
53722     result = (arg1)->ResolveFileAddress(arg2);
53723     {
53724       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
53725       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
53726     }
53727     return SWIG_arg;
53728 
53729     fail: SWIGUNUSED;
53730   }
53731   lua_error(L);
53732   return 0;
53733 }
53734 
53735 
_wrap_SBTarget_ResolveLoadAddress(lua_State * L)53736 static int _wrap_SBTarget_ResolveLoadAddress(lua_State* L) {
53737   {
53738     int SWIG_arg = 0;
53739     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53740     lldb::addr_t arg2 ;
53741     lldb::SBAddress result;
53742 
53743     SWIG_check_num_args("lldb::SBTarget::ResolveLoadAddress",2,2)
53744     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",1,"lldb::SBTarget *");
53745     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveLoadAddress",2,"lldb::addr_t");
53746 
53747     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53748       SWIG_fail_ptr("SBTarget_ResolveLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53749     }
53750 
53751     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
53752     result = (arg1)->ResolveLoadAddress(arg2);
53753     {
53754       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
53755       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
53756     }
53757     return SWIG_arg;
53758 
53759     fail: SWIGUNUSED;
53760   }
53761   lua_error(L);
53762   return 0;
53763 }
53764 
53765 
_wrap_SBTarget_ResolvePastLoadAddress(lua_State * L)53766 static int _wrap_SBTarget_ResolvePastLoadAddress(lua_State* L) {
53767   {
53768     int SWIG_arg = 0;
53769     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53770     uint32_t arg2 ;
53771     lldb::addr_t arg3 ;
53772     lldb::SBAddress result;
53773 
53774     SWIG_check_num_args("lldb::SBTarget::ResolvePastLoadAddress",3,3)
53775     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",1,"lldb::SBTarget *");
53776     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",2,"uint32_t");
53777     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolvePastLoadAddress",3,"lldb::addr_t");
53778 
53779     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53780       SWIG_fail_ptr("SBTarget_ResolvePastLoadAddress",1,SWIGTYPE_p_lldb__SBTarget);
53781     }
53782 
53783     arg2 = (uint32_t)lua_tointeger(L, 2);
53784     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
53785     result = (arg1)->ResolvePastLoadAddress(arg2,arg3);
53786     {
53787       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
53788       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
53789     }
53790     return SWIG_arg;
53791 
53792     fail: SWIGUNUSED;
53793   }
53794   lua_error(L);
53795   return 0;
53796 }
53797 
53798 
_wrap_SBTarget_ResolveSymbolContextForAddress(lua_State * L)53799 static int _wrap_SBTarget_ResolveSymbolContextForAddress(lua_State* L) {
53800   {
53801     int SWIG_arg = 0;
53802     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53803     lldb::SBAddress *arg2 = 0 ;
53804     uint32_t arg3 ;
53805     lldb::SBSymbolContext result;
53806 
53807     SWIG_check_num_args("lldb::SBTarget::ResolveSymbolContextForAddress",3,3)
53808     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",1,"lldb::SBTarget *");
53809     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",2,"lldb::SBAddress const &");
53810     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ResolveSymbolContextForAddress",3,"uint32_t");
53811 
53812     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53813       SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",1,SWIGTYPE_p_lldb__SBTarget);
53814     }
53815 
53816 
53817     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
53818       SWIG_fail_ptr("SBTarget_ResolveSymbolContextForAddress",2,SWIGTYPE_p_lldb__SBAddress);
53819     }
53820 
53821     arg3 = (uint32_t)lua_tointeger(L, 3);
53822     result = (arg1)->ResolveSymbolContextForAddress((lldb::SBAddress const &)*arg2,arg3);
53823     {
53824       lldb::SBSymbolContext * resultptr = new lldb::SBSymbolContext(result);
53825       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContext,1); SWIG_arg++;
53826     }
53827     return SWIG_arg;
53828 
53829     fail: SWIGUNUSED;
53830   }
53831   lua_error(L);
53832   return 0;
53833 }
53834 
53835 
_wrap_SBTarget_ReadMemory(lua_State * L)53836 static int _wrap_SBTarget_ReadMemory(lua_State* L) {
53837   {
53838     int SWIG_arg = 0;
53839     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53840     lldb::SBAddress arg2 ;
53841     void *arg3 = (void *) 0 ;
53842     size_t arg4 ;
53843     lldb::SBError *arg5 = 0 ;
53844     lldb::SBAddress *argp2 ;
53845     size_t result;
53846 
53847     SWIG_check_num_args("lldb::SBTarget::ReadMemory",4,4)
53848     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",1,"lldb::SBTarget *");
53849     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",2,"lldb::SBAddress const");
53850     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadMemory",4,"lldb::SBError &");
53851 
53852     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53853       SWIG_fail_ptr("SBTarget_ReadMemory",1,SWIGTYPE_p_lldb__SBTarget);
53854     }
53855 
53856 
53857     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
53858       SWIG_fail_ptr("SBTarget_ReadMemory",2,SWIGTYPE_p_lldb__SBAddress);
53859     }
53860     arg2 = *argp2;
53861 
53862     {
53863       arg4 = luaL_checkinteger(L, 3);
53864       if (arg4 <= 0) {
53865         return luaL_error(L, "Positive integer expected");
53866       }
53867       arg3 = (char *)malloc(arg4);
53868     }
53869 
53870     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
53871       SWIG_fail_ptr("SBTarget_ReadMemory",5,SWIGTYPE_p_lldb__SBError);
53872     }
53873 
53874     result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5);
53875     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
53876     {
53877       lua_pop(L, 1); // Blow away the previous result
53878       if (result == 0) {
53879         lua_pushliteral(L, "");
53880       } else {
53881         lua_pushlstring(L, (const char *)arg3, result);
53882       }
53883       free(arg3);
53884       // SWIG_arg was already incremented
53885     }
53886     return SWIG_arg;
53887 
53888     fail: SWIGUNUSED;
53889   }
53890   lua_error(L);
53891   return 0;
53892 }
53893 
53894 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_0(lua_State * L)53895 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_0(lua_State* L) {
53896   {
53897     int SWIG_arg = 0;
53898     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53899     char *arg2 = (char *) 0 ;
53900     uint32_t arg3 ;
53901     lldb::SBBreakpoint result;
53902 
53903     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3)
53904     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
53905     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"char const *");
53906     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
53907 
53908     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53909       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
53910     }
53911 
53912     arg2 = (char *)lua_tostring(L, 2);
53913     arg3 = (uint32_t)lua_tointeger(L, 3);
53914     result = (arg1)->BreakpointCreateByLocation((char const *)arg2,arg3);
53915     {
53916       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
53917       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
53918     }
53919     return SWIG_arg;
53920 
53921     fail: SWIGUNUSED;
53922   }
53923   lua_error(L);
53924   return 0;
53925 }
53926 
53927 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_1(lua_State * L)53928 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_1(lua_State* L) {
53929   {
53930     int SWIG_arg = 0;
53931     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53932     lldb::SBFileSpec *arg2 = 0 ;
53933     uint32_t arg3 ;
53934     lldb::SBBreakpoint result;
53935 
53936     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",3,3)
53937     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
53938     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &");
53939     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
53940 
53941     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53942       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
53943     }
53944 
53945 
53946     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
53947       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec);
53948     }
53949 
53950     arg3 = (uint32_t)lua_tointeger(L, 3);
53951     result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3);
53952     {
53953       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
53954       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
53955     }
53956     return SWIG_arg;
53957 
53958     fail: SWIGUNUSED;
53959   }
53960   lua_error(L);
53961   return 0;
53962 }
53963 
53964 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_2(lua_State * L)53965 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_2(lua_State* L) {
53966   {
53967     int SWIG_arg = 0;
53968     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
53969     lldb::SBFileSpec *arg2 = 0 ;
53970     uint32_t arg3 ;
53971     lldb::addr_t arg4 ;
53972     lldb::SBBreakpoint result;
53973 
53974     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",4,4)
53975     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
53976     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &");
53977     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
53978     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t");
53979 
53980     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
53981       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
53982     }
53983 
53984 
53985     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
53986       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec);
53987     }
53988 
53989     arg3 = (uint32_t)lua_tointeger(L, 3);
53990     arg4 = (lldb::addr_t)lua_tointeger(L, 4);
53991     result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4);
53992     {
53993       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
53994       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
53995     }
53996     return SWIG_arg;
53997 
53998     fail: SWIGUNUSED;
53999   }
54000   lua_error(L);
54001   return 0;
54002 }
54003 
54004 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(lua_State * L)54005 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(lua_State* L) {
54006   {
54007     int SWIG_arg = 0;
54008     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54009     lldb::SBFileSpec *arg2 = 0 ;
54010     uint32_t arg3 ;
54011     lldb::addr_t arg4 ;
54012     lldb::SBFileSpecList *arg5 = 0 ;
54013     lldb::SBBreakpoint result;
54014 
54015     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",5,5)
54016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
54017     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &");
54018     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
54019     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"lldb::addr_t");
54020     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::SBFileSpecList &");
54021 
54022     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54023       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
54024     }
54025 
54026 
54027     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
54028       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec);
54029     }
54030 
54031     arg3 = (uint32_t)lua_tointeger(L, 3);
54032     arg4 = (lldb::addr_t)lua_tointeger(L, 4);
54033 
54034     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54035       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",5,SWIGTYPE_p_lldb__SBFileSpecList);
54036     }
54037 
54038     result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,*arg5);
54039     {
54040       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54041       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54042     }
54043     return SWIG_arg;
54044 
54045     fail: SWIGUNUSED;
54046   }
54047   lua_error(L);
54048   return 0;
54049 }
54050 
54051 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(lua_State * L)54052 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(lua_State* L) {
54053   {
54054     int SWIG_arg = 0;
54055     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54056     lldb::SBFileSpec *arg2 = 0 ;
54057     uint32_t arg3 ;
54058     uint32_t arg4 ;
54059     lldb::addr_t arg5 ;
54060     lldb::SBFileSpecList *arg6 = 0 ;
54061     lldb::SBBreakpoint result;
54062 
54063     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",6,6)
54064     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
54065     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &");
54066     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
54067     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t");
54068     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t");
54069     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &");
54070 
54071     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54072       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
54073     }
54074 
54075 
54076     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
54077       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec);
54078     }
54079 
54080     arg3 = (uint32_t)lua_tointeger(L, 3);
54081     arg4 = (uint32_t)lua_tointeger(L, 4);
54082     arg5 = (lldb::addr_t)lua_tointeger(L, 5);
54083 
54084     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54085       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList);
54086     }
54087 
54088     result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6);
54089     {
54090       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54091       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54092     }
54093     return SWIG_arg;
54094 
54095     fail: SWIGUNUSED;
54096   }
54097   lua_error(L);
54098   return 0;
54099 }
54100 
54101 
_wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(lua_State * L)54102 static int _wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(lua_State* L) {
54103   {
54104     int SWIG_arg = 0;
54105     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54106     lldb::SBFileSpec *arg2 = 0 ;
54107     uint32_t arg3 ;
54108     uint32_t arg4 ;
54109     lldb::addr_t arg5 ;
54110     lldb::SBFileSpecList *arg6 = 0 ;
54111     bool arg7 ;
54112     lldb::SBBreakpoint result;
54113 
54114     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByLocation",7,7)
54115     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",1,"lldb::SBTarget *");
54116     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",2,"lldb::SBFileSpec const &");
54117     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",3,"uint32_t");
54118     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",4,"uint32_t");
54119     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",5,"lldb::addr_t");
54120     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",6,"lldb::SBFileSpecList &");
54121     if(!lua_isboolean(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByLocation",7,"bool");
54122 
54123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54124       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",1,SWIGTYPE_p_lldb__SBTarget);
54125     }
54126 
54127 
54128     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
54129       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",2,SWIGTYPE_p_lldb__SBFileSpec);
54130     }
54131 
54132     arg3 = (uint32_t)lua_tointeger(L, 3);
54133     arg4 = (uint32_t)lua_tointeger(L, 4);
54134     arg5 = (lldb::addr_t)lua_tointeger(L, 5);
54135 
54136     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54137       SWIG_fail_ptr("SBTarget_BreakpointCreateByLocation",6,SWIGTYPE_p_lldb__SBFileSpecList);
54138     }
54139 
54140     arg7 = (lua_toboolean(L, 7)!=0);
54141     result = (arg1)->BreakpointCreateByLocation((lldb::SBFileSpec const &)*arg2,arg3,arg4,arg5,*arg6,arg7);
54142     {
54143       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54144       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54145     }
54146     return SWIG_arg;
54147 
54148     fail: SWIGUNUSED;
54149   }
54150   lua_error(L);
54151   return 0;
54152 }
54153 
54154 
_wrap_SBTarget_BreakpointCreateByLocation(lua_State * L)54155 static int _wrap_SBTarget_BreakpointCreateByLocation(lua_State* L) {
54156   int argc;
54157   int argv[8]={
54158     1,2,3,4,5,6,7,8
54159   };
54160 
54161   argc = lua_gettop(L);
54162   if (argc == 3) {
54163     int _v = 0;
54164     {
54165       void *ptr;
54166       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54167         _v = 0;
54168       } else {
54169         _v = 1;
54170       }
54171     }
54172     if (_v) {
54173       {
54174         void *ptr;
54175         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
54176           _v = 0;
54177         } else {
54178           _v = 1;
54179         }
54180       }
54181       if (_v) {
54182         {
54183           _v = lua_isnumber(L,argv[2]);
54184         }
54185         if (_v) {
54186           return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_1(L);
54187         }
54188       }
54189     }
54190   }
54191   if (argc == 3) {
54192     int _v = 0;
54193     {
54194       void *ptr;
54195       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54196         _v = 0;
54197       } else {
54198         _v = 1;
54199       }
54200     }
54201     if (_v) {
54202       {
54203         _v = SWIG_lua_isnilstring(L,argv[1]);
54204       }
54205       if (_v) {
54206         {
54207           _v = lua_isnumber(L,argv[2]);
54208         }
54209         if (_v) {
54210           return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_0(L);
54211         }
54212       }
54213     }
54214   }
54215   if (argc == 4) {
54216     int _v = 0;
54217     {
54218       void *ptr;
54219       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54220         _v = 0;
54221       } else {
54222         _v = 1;
54223       }
54224     }
54225     if (_v) {
54226       {
54227         void *ptr;
54228         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
54229           _v = 0;
54230         } else {
54231           _v = 1;
54232         }
54233       }
54234       if (_v) {
54235         {
54236           _v = lua_isnumber(L,argv[2]);
54237         }
54238         if (_v) {
54239           {
54240             _v = lua_isnumber(L,argv[3]);
54241           }
54242           if (_v) {
54243             return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_2(L);
54244           }
54245         }
54246       }
54247     }
54248   }
54249   if (argc == 5) {
54250     int _v = 0;
54251     {
54252       void *ptr;
54253       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54254         _v = 0;
54255       } else {
54256         _v = 1;
54257       }
54258     }
54259     if (_v) {
54260       {
54261         void *ptr;
54262         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
54263           _v = 0;
54264         } else {
54265           _v = 1;
54266         }
54267       }
54268       if (_v) {
54269         {
54270           _v = lua_isnumber(L,argv[2]);
54271         }
54272         if (_v) {
54273           {
54274             _v = lua_isnumber(L,argv[3]);
54275           }
54276           if (_v) {
54277             {
54278               void *ptr;
54279               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54280                 _v = 0;
54281               } else {
54282                 _v = 1;
54283               }
54284             }
54285             if (_v) {
54286               return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(L);
54287             }
54288           }
54289         }
54290       }
54291     }
54292   }
54293   if (argc == 6) {
54294     int _v = 0;
54295     {
54296       void *ptr;
54297       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54298         _v = 0;
54299       } else {
54300         _v = 1;
54301       }
54302     }
54303     if (_v) {
54304       {
54305         void *ptr;
54306         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
54307           _v = 0;
54308         } else {
54309           _v = 1;
54310         }
54311       }
54312       if (_v) {
54313         {
54314           _v = lua_isnumber(L,argv[2]);
54315         }
54316         if (_v) {
54317           {
54318             _v = lua_isnumber(L,argv[3]);
54319           }
54320           if (_v) {
54321             {
54322               _v = lua_isnumber(L,argv[4]);
54323             }
54324             if (_v) {
54325               {
54326                 void *ptr;
54327                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54328                   _v = 0;
54329                 } else {
54330                   _v = 1;
54331                 }
54332               }
54333               if (_v) {
54334                 return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(L);
54335               }
54336             }
54337           }
54338         }
54339       }
54340     }
54341   }
54342   if (argc == 7) {
54343     int _v = 0;
54344     {
54345       void *ptr;
54346       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54347         _v = 0;
54348       } else {
54349         _v = 1;
54350       }
54351     }
54352     if (_v) {
54353       {
54354         void *ptr;
54355         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
54356           _v = 0;
54357         } else {
54358           _v = 1;
54359         }
54360       }
54361       if (_v) {
54362         {
54363           _v = lua_isnumber(L,argv[2]);
54364         }
54365         if (_v) {
54366           {
54367             _v = lua_isnumber(L,argv[3]);
54368           }
54369           if (_v) {
54370             {
54371               _v = lua_isnumber(L,argv[4]);
54372             }
54373             if (_v) {
54374               {
54375                 void *ptr;
54376                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54377                   _v = 0;
54378                 } else {
54379                   _v = 1;
54380                 }
54381               }
54382               if (_v) {
54383                 {
54384                   _v = lua_isboolean(L,argv[6]);
54385                 }
54386                 if (_v) {
54387                   return _wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(L);
54388                 }
54389               }
54390             }
54391           }
54392         }
54393       }
54394     }
54395   }
54396 
54397   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateByLocation'\n"
54398     "  Possible C/C++ prototypes are:\n"
54399     "    lldb::SBTarget::BreakpointCreateByLocation(char const *,uint32_t)\n"
54400     "    lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const &,uint32_t)\n"
54401     "    lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const &,uint32_t,lldb::addr_t)\n"
54402     "    lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const &,uint32_t,lldb::addr_t,lldb::SBFileSpecList &)\n"
54403     "    lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const &,uint32_t,uint32_t,lldb::addr_t,lldb::SBFileSpecList &)\n"
54404     "    lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const &,uint32_t,uint32_t,lldb::addr_t,lldb::SBFileSpecList &,bool)\n");
54405   lua_error(L);return 0;
54406 }
54407 
54408 
_wrap_SBTarget_BreakpointCreateByName__SWIG_0(lua_State * L)54409 static int _wrap_SBTarget_BreakpointCreateByName__SWIG_0(lua_State* L) {
54410   {
54411     int SWIG_arg = 0;
54412     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54413     char *arg2 = (char *) 0 ;
54414     char *arg3 = (char *) 0 ;
54415     lldb::SBBreakpoint result;
54416 
54417     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",3,3)
54418     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *");
54419     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *");
54420     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"char const *");
54421 
54422     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54423       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget);
54424     }
54425 
54426     arg2 = (char *)lua_tostring(L, 2);
54427     arg3 = (char *)lua_tostring(L, 3);
54428     result = (arg1)->BreakpointCreateByName((char const *)arg2,(char const *)arg3);
54429     {
54430       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54431       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54432     }
54433     return SWIG_arg;
54434 
54435     fail: SWIGUNUSED;
54436   }
54437   lua_error(L);
54438   return 0;
54439 }
54440 
54441 
_wrap_SBTarget_BreakpointCreateByName__SWIG_1(lua_State * L)54442 static int _wrap_SBTarget_BreakpointCreateByName__SWIG_1(lua_State* L) {
54443   {
54444     int SWIG_arg = 0;
54445     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54446     char *arg2 = (char *) 0 ;
54447     lldb::SBBreakpoint result;
54448 
54449     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",2,2)
54450     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *");
54451     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *");
54452 
54453     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54454       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget);
54455     }
54456 
54457     arg2 = (char *)lua_tostring(L, 2);
54458     result = (arg1)->BreakpointCreateByName((char const *)arg2);
54459     {
54460       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54461       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54462     }
54463     return SWIG_arg;
54464 
54465     fail: SWIGUNUSED;
54466   }
54467   lua_error(L);
54468   return 0;
54469 }
54470 
54471 
_wrap_SBTarget_BreakpointCreateByName__SWIG_2(lua_State * L)54472 static int _wrap_SBTarget_BreakpointCreateByName__SWIG_2(lua_State* L) {
54473   {
54474     int SWIG_arg = 0;
54475     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54476     char *arg2 = (char *) 0 ;
54477     lldb::SBFileSpecList *arg3 = 0 ;
54478     lldb::SBFileSpecList *arg4 = 0 ;
54479     lldb::SBBreakpoint result;
54480 
54481     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",4,4)
54482     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *");
54483     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *");
54484     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"lldb::SBFileSpecList const &");
54485     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::SBFileSpecList const &");
54486 
54487     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54488       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget);
54489     }
54490 
54491     arg2 = (char *)lua_tostring(L, 2);
54492 
54493     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54494       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",3,SWIGTYPE_p_lldb__SBFileSpecList);
54495     }
54496 
54497 
54498     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54499       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",4,SWIGTYPE_p_lldb__SBFileSpecList);
54500     }
54501 
54502     result = (arg1)->BreakpointCreateByName((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4);
54503     {
54504       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54505       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54506     }
54507     return SWIG_arg;
54508 
54509     fail: SWIGUNUSED;
54510   }
54511   lua_error(L);
54512   return 0;
54513 }
54514 
54515 
_wrap_SBTarget_BreakpointCreateByName__SWIG_3(lua_State * L)54516 static int _wrap_SBTarget_BreakpointCreateByName__SWIG_3(lua_State* L) {
54517   {
54518     int SWIG_arg = 0;
54519     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54520     char *arg2 = (char *) 0 ;
54521     uint32_t arg3 ;
54522     lldb::SBFileSpecList *arg4 = 0 ;
54523     lldb::SBFileSpecList *arg5 = 0 ;
54524     lldb::SBBreakpoint result;
54525 
54526     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",5,5)
54527     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *");
54528     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *");
54529     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t");
54530     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::SBFileSpecList const &");
54531     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &");
54532 
54533     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54534       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget);
54535     }
54536 
54537     arg2 = (char *)lua_tostring(L, 2);
54538     arg3 = (uint32_t)lua_tointeger(L, 3);
54539 
54540     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54541       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",4,SWIGTYPE_p_lldb__SBFileSpecList);
54542     }
54543 
54544 
54545     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54546       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList);
54547     }
54548 
54549     result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5);
54550     {
54551       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54552       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54553     }
54554     return SWIG_arg;
54555 
54556     fail: SWIGUNUSED;
54557   }
54558   lua_error(L);
54559   return 0;
54560 }
54561 
54562 
_wrap_SBTarget_BreakpointCreateByName__SWIG_4(lua_State * L)54563 static int _wrap_SBTarget_BreakpointCreateByName__SWIG_4(lua_State* L) {
54564   {
54565     int SWIG_arg = 0;
54566     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54567     char *arg2 = (char *) 0 ;
54568     uint32_t arg3 ;
54569     lldb::LanguageType arg4 ;
54570     lldb::SBFileSpecList *arg5 = 0 ;
54571     lldb::SBFileSpecList *arg6 = 0 ;
54572     lldb::SBBreakpoint result;
54573 
54574     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByName",6,6)
54575     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",1,"lldb::SBTarget *");
54576     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",2,"char const *");
54577     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",3,"uint32_t");
54578     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",4,"lldb::LanguageType");
54579     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",5,"lldb::SBFileSpecList const &");
54580     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByName",6,"lldb::SBFileSpecList const &");
54581 
54582     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54583       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",1,SWIGTYPE_p_lldb__SBTarget);
54584     }
54585 
54586     arg2 = (char *)lua_tostring(L, 2);
54587     arg3 = (uint32_t)lua_tointeger(L, 3);
54588     arg4 = (lldb::LanguageType)lua_tointeger(L, 4);
54589 
54590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54591       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",5,SWIGTYPE_p_lldb__SBFileSpecList);
54592     }
54593 
54594 
54595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54596       SWIG_fail_ptr("SBTarget_BreakpointCreateByName",6,SWIGTYPE_p_lldb__SBFileSpecList);
54597     }
54598 
54599     result = (arg1)->BreakpointCreateByName((char const *)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6);
54600     {
54601       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54602       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54603     }
54604     return SWIG_arg;
54605 
54606     fail: SWIGUNUSED;
54607   }
54608   lua_error(L);
54609   return 0;
54610 }
54611 
54612 
_wrap_SBTarget_BreakpointCreateByName(lua_State * L)54613 static int _wrap_SBTarget_BreakpointCreateByName(lua_State* L) {
54614   int argc;
54615   int argv[7]={
54616     1,2,3,4,5,6,7
54617   };
54618 
54619   argc = lua_gettop(L);
54620   if (argc == 2) {
54621     int _v = 0;
54622     {
54623       void *ptr;
54624       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54625         _v = 0;
54626       } else {
54627         _v = 1;
54628       }
54629     }
54630     if (_v) {
54631       {
54632         _v = SWIG_lua_isnilstring(L,argv[1]);
54633       }
54634       if (_v) {
54635         return _wrap_SBTarget_BreakpointCreateByName__SWIG_1(L);
54636       }
54637     }
54638   }
54639   if (argc == 3) {
54640     int _v = 0;
54641     {
54642       void *ptr;
54643       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54644         _v = 0;
54645       } else {
54646         _v = 1;
54647       }
54648     }
54649     if (_v) {
54650       {
54651         _v = SWIG_lua_isnilstring(L,argv[1]);
54652       }
54653       if (_v) {
54654         {
54655           _v = SWIG_lua_isnilstring(L,argv[2]);
54656         }
54657         if (_v) {
54658           return _wrap_SBTarget_BreakpointCreateByName__SWIG_0(L);
54659         }
54660       }
54661     }
54662   }
54663   if (argc == 4) {
54664     int _v = 0;
54665     {
54666       void *ptr;
54667       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54668         _v = 0;
54669       } else {
54670         _v = 1;
54671       }
54672     }
54673     if (_v) {
54674       {
54675         _v = SWIG_lua_isnilstring(L,argv[1]);
54676       }
54677       if (_v) {
54678         {
54679           void *ptr;
54680           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54681             _v = 0;
54682           } else {
54683             _v = 1;
54684           }
54685         }
54686         if (_v) {
54687           {
54688             void *ptr;
54689             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54690               _v = 0;
54691             } else {
54692               _v = 1;
54693             }
54694           }
54695           if (_v) {
54696             return _wrap_SBTarget_BreakpointCreateByName__SWIG_2(L);
54697           }
54698         }
54699       }
54700     }
54701   }
54702   if (argc == 5) {
54703     int _v = 0;
54704     {
54705       void *ptr;
54706       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54707         _v = 0;
54708       } else {
54709         _v = 1;
54710       }
54711     }
54712     if (_v) {
54713       {
54714         _v = SWIG_lua_isnilstring(L,argv[1]);
54715       }
54716       if (_v) {
54717         {
54718           _v = lua_isnumber(L,argv[2]);
54719         }
54720         if (_v) {
54721           {
54722             void *ptr;
54723             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54724               _v = 0;
54725             } else {
54726               _v = 1;
54727             }
54728           }
54729           if (_v) {
54730             {
54731               void *ptr;
54732               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54733                 _v = 0;
54734               } else {
54735                 _v = 1;
54736               }
54737             }
54738             if (_v) {
54739               return _wrap_SBTarget_BreakpointCreateByName__SWIG_3(L);
54740             }
54741           }
54742         }
54743       }
54744     }
54745   }
54746   if (argc == 6) {
54747     int _v = 0;
54748     {
54749       void *ptr;
54750       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
54751         _v = 0;
54752       } else {
54753         _v = 1;
54754       }
54755     }
54756     if (_v) {
54757       {
54758         _v = SWIG_lua_isnilstring(L,argv[1]);
54759       }
54760       if (_v) {
54761         {
54762           _v = lua_isnumber(L,argv[2]);
54763         }
54764         if (_v) {
54765           {
54766             _v = lua_isnumber(L,argv[3]);
54767           }
54768           if (_v) {
54769             {
54770               void *ptr;
54771               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54772                 _v = 0;
54773               } else {
54774                 _v = 1;
54775               }
54776             }
54777             if (_v) {
54778               {
54779                 void *ptr;
54780                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
54781                   _v = 0;
54782                 } else {
54783                   _v = 1;
54784                 }
54785               }
54786               if (_v) {
54787                 return _wrap_SBTarget_BreakpointCreateByName__SWIG_4(L);
54788               }
54789             }
54790           }
54791         }
54792       }
54793     }
54794   }
54795 
54796   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateByName'\n"
54797     "  Possible C/C++ prototypes are:\n"
54798     "    lldb::SBTarget::BreakpointCreateByName(char const *,char const *)\n"
54799     "    lldb::SBTarget::BreakpointCreateByName(char const *)\n"
54800     "    lldb::SBTarget::BreakpointCreateByName(char const *,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
54801     "    lldb::SBTarget::BreakpointCreateByName(char const *,uint32_t,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
54802     "    lldb::SBTarget::BreakpointCreateByName(char const *,uint32_t,lldb::LanguageType,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n");
54803   lua_error(L);return 0;
54804 }
54805 
54806 
_wrap_SBTarget_BreakpointCreateByNames__SWIG_0(lua_State * L)54807 static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_0(lua_State* L) {
54808   {
54809     int SWIG_arg = 0;
54810     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54811     char **arg2 = (char **) 0 ;
54812     uint32_t arg3 ;
54813     uint32_t arg4 ;
54814     lldb::SBFileSpecList *arg5 = 0 ;
54815     lldb::SBFileSpecList *arg6 = 0 ;
54816     lldb::SBBreakpoint result;
54817 
54818     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",6,6)
54819     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *");
54820     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t");
54821     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t");
54822     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::SBFileSpecList const &");
54823     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &");
54824 
54825     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54826       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget);
54827     }
54828 
54829     {
54830       if (lua_istable(L, 2)) {
54831         size_t size = lua_rawlen(L, 2);
54832         arg2 = (char **)malloc((size + 1) * sizeof(char *));
54833         int i = 0, j = 0;
54834         while (i++ < size) {
54835           lua_rawgeti(L, 2, i);
54836           if (!lua_isstring(L, -1)) {
54837             // if current element cannot be converted to string, raise an error
54838             lua_pop(L, 1);
54839             return luaL_error(L, "List should only contain strings");
54840           }
54841           arg2[j++] = (char *)lua_tostring(L, -1);
54842           lua_pop(L, 1);
54843         }
54844         arg2[j] = 0;
54845       } else if (lua_isnil(L, 2)) {
54846         // "nil" is also acceptable, equivalent as an empty table
54847         arg2 = NULL;
54848       } else {
54849         return luaL_error(L, "A list of strings expected");
54850       }
54851     }
54852     arg3 = (uint32_t)lua_tointeger(L, 3);
54853     arg4 = (uint32_t)lua_tointeger(L, 4);
54854 
54855     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54856       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",5,SWIGTYPE_p_lldb__SBFileSpecList);
54857     }
54858 
54859 
54860     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54861       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList);
54862     }
54863 
54864     result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,(lldb::SBFileSpecList const &)*arg5,(lldb::SBFileSpecList const &)*arg6);
54865     {
54866       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54867       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54868     }
54869     {
54870       free((char *) arg2);
54871     }
54872     return SWIG_arg;
54873 
54874     fail: SWIGUNUSED;
54875     {
54876       free((char *) arg2);
54877     }
54878   }
54879   lua_error(L);
54880   return 0;
54881 }
54882 
54883 
_wrap_SBTarget_BreakpointCreateByNames__SWIG_1(lua_State * L)54884 static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_1(lua_State* L) {
54885   {
54886     int SWIG_arg = 0;
54887     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54888     char **arg2 = (char **) 0 ;
54889     uint32_t arg3 ;
54890     uint32_t arg4 ;
54891     lldb::LanguageType arg5 ;
54892     lldb::SBFileSpecList *arg6 = 0 ;
54893     lldb::SBFileSpecList *arg7 = 0 ;
54894     lldb::SBBreakpoint result;
54895 
54896     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",7,7)
54897     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *");
54898     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t");
54899     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t");
54900     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType");
54901     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::SBFileSpecList const &");
54902     if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &");
54903 
54904     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54905       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget);
54906     }
54907 
54908     {
54909       if (lua_istable(L, 2)) {
54910         size_t size = lua_rawlen(L, 2);
54911         arg2 = (char **)malloc((size + 1) * sizeof(char *));
54912         int i = 0, j = 0;
54913         while (i++ < size) {
54914           lua_rawgeti(L, 2, i);
54915           if (!lua_isstring(L, -1)) {
54916             // if current element cannot be converted to string, raise an error
54917             lua_pop(L, 1);
54918             return luaL_error(L, "List should only contain strings");
54919           }
54920           arg2[j++] = (char *)lua_tostring(L, -1);
54921           lua_pop(L, 1);
54922         }
54923         arg2[j] = 0;
54924       } else if (lua_isnil(L, 2)) {
54925         // "nil" is also acceptable, equivalent as an empty table
54926         arg2 = NULL;
54927       } else {
54928         return luaL_error(L, "A list of strings expected");
54929       }
54930     }
54931     arg3 = (uint32_t)lua_tointeger(L, 3);
54932     arg4 = (uint32_t)lua_tointeger(L, 4);
54933     arg5 = (lldb::LanguageType)lua_tointeger(L, 5);
54934 
54935     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54936       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",6,SWIGTYPE_p_lldb__SBFileSpecList);
54937     }
54938 
54939 
54940     if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){
54941       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList);
54942     }
54943 
54944     result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,(lldb::SBFileSpecList const &)*arg6,(lldb::SBFileSpecList const &)*arg7);
54945     {
54946       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
54947       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
54948     }
54949     {
54950       free((char *) arg2);
54951     }
54952     return SWIG_arg;
54953 
54954     fail: SWIGUNUSED;
54955     {
54956       free((char *) arg2);
54957     }
54958   }
54959   lua_error(L);
54960   return 0;
54961 }
54962 
54963 
_wrap_SBTarget_BreakpointCreateByNames__SWIG_2(lua_State * L)54964 static int _wrap_SBTarget_BreakpointCreateByNames__SWIG_2(lua_State* L) {
54965   {
54966     int SWIG_arg = 0;
54967     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
54968     char **arg2 = (char **) 0 ;
54969     uint32_t arg3 ;
54970     uint32_t arg4 ;
54971     lldb::LanguageType arg5 ;
54972     lldb::addr_t arg6 ;
54973     lldb::SBFileSpecList *arg7 = 0 ;
54974     lldb::SBFileSpecList *arg8 = 0 ;
54975     lldb::SBBreakpoint result;
54976 
54977     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByNames",8,8)
54978     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",1,"lldb::SBTarget *");
54979     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",3,"uint32_t");
54980     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",4,"uint32_t");
54981     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",5,"lldb::LanguageType");
54982     if(!lua_isinteger(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",6,"lldb::addr_t");
54983     if(!lua_isuserdata(L,7)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",7,"lldb::SBFileSpecList const &");
54984     if(!lua_isuserdata(L,8)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByNames",8,"lldb::SBFileSpecList const &");
54985 
54986     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
54987       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",1,SWIGTYPE_p_lldb__SBTarget);
54988     }
54989 
54990     {
54991       if (lua_istable(L, 2)) {
54992         size_t size = lua_rawlen(L, 2);
54993         arg2 = (char **)malloc((size + 1) * sizeof(char *));
54994         int i = 0, j = 0;
54995         while (i++ < size) {
54996           lua_rawgeti(L, 2, i);
54997           if (!lua_isstring(L, -1)) {
54998             // if current element cannot be converted to string, raise an error
54999             lua_pop(L, 1);
55000             return luaL_error(L, "List should only contain strings");
55001           }
55002           arg2[j++] = (char *)lua_tostring(L, -1);
55003           lua_pop(L, 1);
55004         }
55005         arg2[j] = 0;
55006       } else if (lua_isnil(L, 2)) {
55007         // "nil" is also acceptable, equivalent as an empty table
55008         arg2 = NULL;
55009       } else {
55010         return luaL_error(L, "A list of strings expected");
55011       }
55012     }
55013     arg3 = (uint32_t)lua_tointeger(L, 3);
55014     arg4 = (uint32_t)lua_tointeger(L, 4);
55015     arg5 = (lldb::LanguageType)lua_tointeger(L, 5);
55016     arg6 = (lldb::addr_t)lua_tointeger(L, 6);
55017 
55018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,7,(void**)&arg7,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55019       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",7,SWIGTYPE_p_lldb__SBFileSpecList);
55020     }
55021 
55022 
55023     if (!SWIG_IsOK(SWIG_ConvertPtr(L,8,(void**)&arg8,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55024       SWIG_fail_ptr("SBTarget_BreakpointCreateByNames",8,SWIGTYPE_p_lldb__SBFileSpecList);
55025     }
55026 
55027     result = (arg1)->BreakpointCreateByNames((char const **)arg2,arg3,arg4,arg5,arg6,(lldb::SBFileSpecList const &)*arg7,(lldb::SBFileSpecList const &)*arg8);
55028     {
55029       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55030       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55031     }
55032     {
55033       free((char *) arg2);
55034     }
55035     return SWIG_arg;
55036 
55037     fail: SWIGUNUSED;
55038     {
55039       free((char *) arg2);
55040     }
55041   }
55042   lua_error(L);
55043   return 0;
55044 }
55045 
55046 
_wrap_SBTarget_BreakpointCreateByNames(lua_State * L)55047 static int _wrap_SBTarget_BreakpointCreateByNames(lua_State* L) {
55048   int argc;
55049   int argv[9]={
55050     1,2,3,4,5,6,7,8,9
55051   };
55052 
55053   argc = lua_gettop(L);
55054   if (argc == 6) {
55055     int _v = 0;
55056     {
55057       void *ptr;
55058       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55059         _v = 0;
55060       } else {
55061         _v = 1;
55062       }
55063     }
55064     if (_v) {
55065       {
55066         _v = (lua_istable(L, argv[1]) || lua_isnil(L, argv[1]));
55067       }
55068       if (_v) {
55069         {
55070           _v = lua_isnumber(L,argv[2]);
55071         }
55072         if (_v) {
55073           {
55074             _v = lua_isnumber(L,argv[3]);
55075           }
55076           if (_v) {
55077             {
55078               void *ptr;
55079               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55080                 _v = 0;
55081               } else {
55082                 _v = 1;
55083               }
55084             }
55085             if (_v) {
55086               {
55087                 void *ptr;
55088                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55089                   _v = 0;
55090                 } else {
55091                   _v = 1;
55092                 }
55093               }
55094               if (_v) {
55095                 return _wrap_SBTarget_BreakpointCreateByNames__SWIG_0(L);
55096               }
55097             }
55098           }
55099         }
55100       }
55101     }
55102   }
55103   if (argc == 7) {
55104     int _v = 0;
55105     {
55106       void *ptr;
55107       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55108         _v = 0;
55109       } else {
55110         _v = 1;
55111       }
55112     }
55113     if (_v) {
55114       {
55115         _v = (lua_istable(L, argv[1]) || lua_isnil(L, argv[1]));
55116       }
55117       if (_v) {
55118         {
55119           _v = lua_isnumber(L,argv[2]);
55120         }
55121         if (_v) {
55122           {
55123             _v = lua_isnumber(L,argv[3]);
55124           }
55125           if (_v) {
55126             {
55127               _v = lua_isnumber(L,argv[4]);
55128             }
55129             if (_v) {
55130               {
55131                 void *ptr;
55132                 if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55133                   _v = 0;
55134                 } else {
55135                   _v = 1;
55136                 }
55137               }
55138               if (_v) {
55139                 {
55140                   void *ptr;
55141                   if (lua_isuserdata(L,argv[6])==0 || SWIG_ConvertPtr(L,argv[6], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55142                     _v = 0;
55143                   } else {
55144                     _v = 1;
55145                   }
55146                 }
55147                 if (_v) {
55148                   return _wrap_SBTarget_BreakpointCreateByNames__SWIG_1(L);
55149                 }
55150               }
55151             }
55152           }
55153         }
55154       }
55155     }
55156   }
55157   if (argc == 8) {
55158     int _v = 0;
55159     {
55160       void *ptr;
55161       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55162         _v = 0;
55163       } else {
55164         _v = 1;
55165       }
55166     }
55167     if (_v) {
55168       {
55169         _v = (lua_istable(L, argv[1]) || lua_isnil(L, argv[1]));
55170       }
55171       if (_v) {
55172         {
55173           _v = lua_isnumber(L,argv[2]);
55174         }
55175         if (_v) {
55176           {
55177             _v = lua_isnumber(L,argv[3]);
55178           }
55179           if (_v) {
55180             {
55181               _v = lua_isnumber(L,argv[4]);
55182             }
55183             if (_v) {
55184               {
55185                 _v = lua_isnumber(L,argv[5]);
55186               }
55187               if (_v) {
55188                 {
55189                   void *ptr;
55190                   if (lua_isuserdata(L,argv[6])==0 || SWIG_ConvertPtr(L,argv[6], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55191                     _v = 0;
55192                   } else {
55193                     _v = 1;
55194                   }
55195                 }
55196                 if (_v) {
55197                   {
55198                     void *ptr;
55199                     if (lua_isuserdata(L,argv[7])==0 || SWIG_ConvertPtr(L,argv[7], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55200                       _v = 0;
55201                     } else {
55202                       _v = 1;
55203                     }
55204                   }
55205                   if (_v) {
55206                     return _wrap_SBTarget_BreakpointCreateByNames__SWIG_2(L);
55207                   }
55208                 }
55209               }
55210             }
55211           }
55212         }
55213       }
55214     }
55215   }
55216 
55217   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateByNames'\n"
55218     "  Possible C/C++ prototypes are:\n"
55219     "    lldb::SBTarget::BreakpointCreateByNames(char const **,uint32_t,uint32_t,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
55220     "    lldb::SBTarget::BreakpointCreateByNames(char const **,uint32_t,uint32_t,lldb::LanguageType,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
55221     "    lldb::SBTarget::BreakpointCreateByNames(char const **,uint32_t,uint32_t,lldb::LanguageType,lldb::addr_t,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n");
55222   lua_error(L);return 0;
55223 }
55224 
55225 
_wrap_SBTarget_BreakpointCreateByRegex__SWIG_0(lua_State * L)55226 static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_0(lua_State* L) {
55227   {
55228     int SWIG_arg = 0;
55229     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55230     char *arg2 = (char *) 0 ;
55231     char *arg3 = (char *) 0 ;
55232     lldb::SBBreakpoint result;
55233 
55234     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",3,3)
55235     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *");
55236     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *");
55237     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"char const *");
55238 
55239     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55240       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget);
55241     }
55242 
55243     arg2 = (char *)lua_tostring(L, 2);
55244     arg3 = (char *)lua_tostring(L, 3);
55245     result = (arg1)->BreakpointCreateByRegex((char const *)arg2,(char const *)arg3);
55246     {
55247       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55248       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55249     }
55250     return SWIG_arg;
55251 
55252     fail: SWIGUNUSED;
55253   }
55254   lua_error(L);
55255   return 0;
55256 }
55257 
55258 
_wrap_SBTarget_BreakpointCreateByRegex__SWIG_1(lua_State * L)55259 static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_1(lua_State* L) {
55260   {
55261     int SWIG_arg = 0;
55262     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55263     char *arg2 = (char *) 0 ;
55264     lldb::SBBreakpoint result;
55265 
55266     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",2,2)
55267     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *");
55268     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *");
55269 
55270     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55271       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget);
55272     }
55273 
55274     arg2 = (char *)lua_tostring(L, 2);
55275     result = (arg1)->BreakpointCreateByRegex((char const *)arg2);
55276     {
55277       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55278       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55279     }
55280     return SWIG_arg;
55281 
55282     fail: SWIGUNUSED;
55283   }
55284   lua_error(L);
55285   return 0;
55286 }
55287 
55288 
_wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(lua_State * L)55289 static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(lua_State* L) {
55290   {
55291     int SWIG_arg = 0;
55292     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55293     char *arg2 = (char *) 0 ;
55294     lldb::SBFileSpecList *arg3 = 0 ;
55295     lldb::SBFileSpecList *arg4 = 0 ;
55296     lldb::SBBreakpoint result;
55297 
55298     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",4,4)
55299     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *");
55300     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *");
55301     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"lldb::SBFileSpecList const &");
55302     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",4,"lldb::SBFileSpecList const &");
55303 
55304     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55305       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget);
55306     }
55307 
55308     arg2 = (char *)lua_tostring(L, 2);
55309 
55310     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55311       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",3,SWIGTYPE_p_lldb__SBFileSpecList);
55312     }
55313 
55314 
55315     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55316       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",4,SWIGTYPE_p_lldb__SBFileSpecList);
55317     }
55318 
55319     result = (arg1)->BreakpointCreateByRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4);
55320     {
55321       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55322       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55323     }
55324     return SWIG_arg;
55325 
55326     fail: SWIGUNUSED;
55327   }
55328   lua_error(L);
55329   return 0;
55330 }
55331 
55332 
_wrap_SBTarget_BreakpointCreateByRegex__SWIG_3(lua_State * L)55333 static int _wrap_SBTarget_BreakpointCreateByRegex__SWIG_3(lua_State* L) {
55334   {
55335     int SWIG_arg = 0;
55336     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55337     char *arg2 = (char *) 0 ;
55338     lldb::LanguageType arg3 ;
55339     lldb::SBFileSpecList *arg4 = 0 ;
55340     lldb::SBFileSpecList *arg5 = 0 ;
55341     lldb::SBBreakpoint result;
55342 
55343     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByRegex",5,5)
55344     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",1,"lldb::SBTarget *");
55345     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",2,"char const *");
55346     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",3,"lldb::LanguageType");
55347     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",4,"lldb::SBFileSpecList const &");
55348     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByRegex",5,"lldb::SBFileSpecList const &");
55349 
55350     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55351       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",1,SWIGTYPE_p_lldb__SBTarget);
55352     }
55353 
55354     arg2 = (char *)lua_tostring(L, 2);
55355     arg3 = (lldb::LanguageType)lua_tointeger(L, 3);
55356 
55357     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55358       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",4,SWIGTYPE_p_lldb__SBFileSpecList);
55359     }
55360 
55361 
55362     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55363       SWIG_fail_ptr("SBTarget_BreakpointCreateByRegex",5,SWIGTYPE_p_lldb__SBFileSpecList);
55364     }
55365 
55366     result = (arg1)->BreakpointCreateByRegex((char const *)arg2,arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5);
55367     {
55368       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55369       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55370     }
55371     return SWIG_arg;
55372 
55373     fail: SWIGUNUSED;
55374   }
55375   lua_error(L);
55376   return 0;
55377 }
55378 
55379 
_wrap_SBTarget_BreakpointCreateByRegex(lua_State * L)55380 static int _wrap_SBTarget_BreakpointCreateByRegex(lua_State* L) {
55381   int argc;
55382   int argv[6]={
55383     1,2,3,4,5,6
55384   };
55385 
55386   argc = lua_gettop(L);
55387   if (argc == 2) {
55388     int _v = 0;
55389     {
55390       void *ptr;
55391       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55392         _v = 0;
55393       } else {
55394         _v = 1;
55395       }
55396     }
55397     if (_v) {
55398       {
55399         _v = SWIG_lua_isnilstring(L,argv[1]);
55400       }
55401       if (_v) {
55402         return _wrap_SBTarget_BreakpointCreateByRegex__SWIG_1(L);
55403       }
55404     }
55405   }
55406   if (argc == 3) {
55407     int _v = 0;
55408     {
55409       void *ptr;
55410       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55411         _v = 0;
55412       } else {
55413         _v = 1;
55414       }
55415     }
55416     if (_v) {
55417       {
55418         _v = SWIG_lua_isnilstring(L,argv[1]);
55419       }
55420       if (_v) {
55421         {
55422           _v = SWIG_lua_isnilstring(L,argv[2]);
55423         }
55424         if (_v) {
55425           return _wrap_SBTarget_BreakpointCreateByRegex__SWIG_0(L);
55426         }
55427       }
55428     }
55429   }
55430   if (argc == 4) {
55431     int _v = 0;
55432     {
55433       void *ptr;
55434       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55435         _v = 0;
55436       } else {
55437         _v = 1;
55438       }
55439     }
55440     if (_v) {
55441       {
55442         _v = SWIG_lua_isnilstring(L,argv[1]);
55443       }
55444       if (_v) {
55445         {
55446           void *ptr;
55447           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55448             _v = 0;
55449           } else {
55450             _v = 1;
55451           }
55452         }
55453         if (_v) {
55454           {
55455             void *ptr;
55456             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55457               _v = 0;
55458             } else {
55459               _v = 1;
55460             }
55461           }
55462           if (_v) {
55463             return _wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(L);
55464           }
55465         }
55466       }
55467     }
55468   }
55469   if (argc == 5) {
55470     int _v = 0;
55471     {
55472       void *ptr;
55473       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55474         _v = 0;
55475       } else {
55476         _v = 1;
55477       }
55478     }
55479     if (_v) {
55480       {
55481         _v = SWIG_lua_isnilstring(L,argv[1]);
55482       }
55483       if (_v) {
55484         {
55485           _v = lua_isnumber(L,argv[2]);
55486         }
55487         if (_v) {
55488           {
55489             void *ptr;
55490             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55491               _v = 0;
55492             } else {
55493               _v = 1;
55494             }
55495           }
55496           if (_v) {
55497             {
55498               void *ptr;
55499               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55500                 _v = 0;
55501               } else {
55502                 _v = 1;
55503               }
55504             }
55505             if (_v) {
55506               return _wrap_SBTarget_BreakpointCreateByRegex__SWIG_3(L);
55507             }
55508           }
55509         }
55510       }
55511     }
55512   }
55513 
55514   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateByRegex'\n"
55515     "  Possible C/C++ prototypes are:\n"
55516     "    lldb::SBTarget::BreakpointCreateByRegex(char const *,char const *)\n"
55517     "    lldb::SBTarget::BreakpointCreateByRegex(char const *)\n"
55518     "    lldb::SBTarget::BreakpointCreateByRegex(char const *,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
55519     "    lldb::SBTarget::BreakpointCreateByRegex(char const *,lldb::LanguageType,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n");
55520   lua_error(L);return 0;
55521 }
55522 
55523 
_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_0(lua_State * L)55524 static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_0(lua_State* L) {
55525   {
55526     int SWIG_arg = 0;
55527     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55528     char *arg2 = (char *) 0 ;
55529     lldb::SBFileSpec *arg3 = 0 ;
55530     char *arg4 = (char *) 0 ;
55531     lldb::SBBreakpoint result;
55532 
55533     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4)
55534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *");
55535     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *");
55536     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &");
55537     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"char const *");
55538 
55539     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55540       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget);
55541     }
55542 
55543     arg2 = (char *)lua_tostring(L, 2);
55544 
55545     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
55546       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec);
55547     }
55548 
55549     arg4 = (char *)lua_tostring(L, 4);
55550     result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3,(char const *)arg4);
55551     {
55552       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55553       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55554     }
55555     return SWIG_arg;
55556 
55557     fail: SWIGUNUSED;
55558   }
55559   lua_error(L);
55560   return 0;
55561 }
55562 
55563 
_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_1(lua_State * L)55564 static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_1(lua_State* L) {
55565   {
55566     int SWIG_arg = 0;
55567     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55568     char *arg2 = (char *) 0 ;
55569     lldb::SBFileSpec *arg3 = 0 ;
55570     lldb::SBBreakpoint result;
55571 
55572     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",3,3)
55573     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *");
55574     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *");
55575     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpec const &");
55576 
55577     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55578       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget);
55579     }
55580 
55581     arg2 = (char *)lua_tostring(L, 2);
55582 
55583     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
55584       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpec);
55585     }
55586 
55587     result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpec const &)*arg3);
55588     {
55589       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55590       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55591     }
55592     return SWIG_arg;
55593 
55594     fail: SWIGUNUSED;
55595   }
55596   lua_error(L);
55597   return 0;
55598 }
55599 
55600 
_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(lua_State * L)55601 static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(lua_State* L) {
55602   {
55603     int SWIG_arg = 0;
55604     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55605     char *arg2 = (char *) 0 ;
55606     lldb::SBFileSpecList *arg3 = 0 ;
55607     lldb::SBFileSpecList *arg4 = 0 ;
55608     lldb::SBBreakpoint result;
55609 
55610     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",4,4)
55611     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *");
55612     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *");
55613     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &");
55614     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &");
55615 
55616     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55617       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget);
55618     }
55619 
55620     arg2 = (char *)lua_tostring(L, 2);
55621 
55622     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55623       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList);
55624     }
55625 
55626 
55627     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55628       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList);
55629     }
55630 
55631     result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4);
55632     {
55633       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55634       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55635     }
55636     return SWIG_arg;
55637 
55638     fail: SWIGUNUSED;
55639   }
55640   lua_error(L);
55641   return 0;
55642 }
55643 
55644 
_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(lua_State * L)55645 static int _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(lua_State* L) {
55646   {
55647     int SWIG_arg = 0;
55648     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55649     char *arg2 = (char *) 0 ;
55650     lldb::SBFileSpecList *arg3 = 0 ;
55651     lldb::SBFileSpecList *arg4 = 0 ;
55652     lldb::SBStringList *arg5 = 0 ;
55653     lldb::SBBreakpoint result;
55654 
55655     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySourceRegex",5,5)
55656     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",1,"lldb::SBTarget *");
55657     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",2,"char const *");
55658     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",3,"lldb::SBFileSpecList const &");
55659     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",4,"lldb::SBFileSpecList const &");
55660     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySourceRegex",5,"lldb::SBStringList const &");
55661 
55662     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55663       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",1,SWIGTYPE_p_lldb__SBTarget);
55664     }
55665 
55666     arg2 = (char *)lua_tostring(L, 2);
55667 
55668     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55669       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",3,SWIGTYPE_p_lldb__SBFileSpecList);
55670     }
55671 
55672 
55673     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55674       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",4,SWIGTYPE_p_lldb__SBFileSpecList);
55675     }
55676 
55677 
55678     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBStringList,0))){
55679       SWIG_fail_ptr("SBTarget_BreakpointCreateBySourceRegex",5,SWIGTYPE_p_lldb__SBStringList);
55680     }
55681 
55682     result = (arg1)->BreakpointCreateBySourceRegex((char const *)arg2,(lldb::SBFileSpecList const &)*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBStringList const &)*arg5);
55683     {
55684       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55685       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55686     }
55687     return SWIG_arg;
55688 
55689     fail: SWIGUNUSED;
55690   }
55691   lua_error(L);
55692   return 0;
55693 }
55694 
55695 
_wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State * L)55696 static int _wrap_SBTarget_BreakpointCreateBySourceRegex(lua_State* L) {
55697   int argc;
55698   int argv[6]={
55699     1,2,3,4,5,6
55700   };
55701 
55702   argc = lua_gettop(L);
55703   if (argc == 3) {
55704     int _v = 0;
55705     {
55706       void *ptr;
55707       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55708         _v = 0;
55709       } else {
55710         _v = 1;
55711       }
55712     }
55713     if (_v) {
55714       {
55715         _v = SWIG_lua_isnilstring(L,argv[1]);
55716       }
55717       if (_v) {
55718         {
55719           void *ptr;
55720           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
55721             _v = 0;
55722           } else {
55723             _v = 1;
55724           }
55725         }
55726         if (_v) {
55727           return _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_1(L);
55728         }
55729       }
55730     }
55731   }
55732   if (argc == 4) {
55733     int _v = 0;
55734     {
55735       void *ptr;
55736       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55737         _v = 0;
55738       } else {
55739         _v = 1;
55740       }
55741     }
55742     if (_v) {
55743       {
55744         _v = SWIG_lua_isnilstring(L,argv[1]);
55745       }
55746       if (_v) {
55747         {
55748           void *ptr;
55749           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
55750             _v = 0;
55751           } else {
55752             _v = 1;
55753           }
55754         }
55755         if (_v) {
55756           {
55757             _v = SWIG_lua_isnilstring(L,argv[3]);
55758           }
55759           if (_v) {
55760             return _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_0(L);
55761           }
55762         }
55763       }
55764     }
55765   }
55766   if (argc == 4) {
55767     int _v = 0;
55768     {
55769       void *ptr;
55770       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55771         _v = 0;
55772       } else {
55773         _v = 1;
55774       }
55775     }
55776     if (_v) {
55777       {
55778         _v = SWIG_lua_isnilstring(L,argv[1]);
55779       }
55780       if (_v) {
55781         {
55782           void *ptr;
55783           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55784             _v = 0;
55785           } else {
55786             _v = 1;
55787           }
55788         }
55789         if (_v) {
55790           {
55791             void *ptr;
55792             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55793               _v = 0;
55794             } else {
55795               _v = 1;
55796             }
55797           }
55798           if (_v) {
55799             return _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(L);
55800           }
55801         }
55802       }
55803     }
55804   }
55805   if (argc == 5) {
55806     int _v = 0;
55807     {
55808       void *ptr;
55809       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
55810         _v = 0;
55811       } else {
55812         _v = 1;
55813       }
55814     }
55815     if (_v) {
55816       {
55817         _v = SWIG_lua_isnilstring(L,argv[1]);
55818       }
55819       if (_v) {
55820         {
55821           void *ptr;
55822           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55823             _v = 0;
55824           } else {
55825             _v = 1;
55826           }
55827         }
55828         if (_v) {
55829           {
55830             void *ptr;
55831             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
55832               _v = 0;
55833             } else {
55834               _v = 1;
55835             }
55836           }
55837           if (_v) {
55838             {
55839               void *ptr;
55840               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, SWIG_POINTER_NO_NULL)) {
55841                 _v = 0;
55842               } else {
55843                 _v = 1;
55844               }
55845             }
55846             if (_v) {
55847               return _wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(L);
55848             }
55849           }
55850         }
55851       }
55852     }
55853   }
55854 
55855   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateBySourceRegex'\n"
55856     "  Possible C/C++ prototypes are:\n"
55857     "    lldb::SBTarget::BreakpointCreateBySourceRegex(char const *,lldb::SBFileSpec const &,char const *)\n"
55858     "    lldb::SBTarget::BreakpointCreateBySourceRegex(char const *,lldb::SBFileSpec const &)\n"
55859     "    lldb::SBTarget::BreakpointCreateBySourceRegex(char const *,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n"
55860     "    lldb::SBTarget::BreakpointCreateBySourceRegex(char const *,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &,lldb::SBStringList const &)\n");
55861   lua_error(L);return 0;
55862 }
55863 
55864 
_wrap_SBTarget_BreakpointCreateForException(lua_State * L)55865 static int _wrap_SBTarget_BreakpointCreateForException(lua_State* L) {
55866   {
55867     int SWIG_arg = 0;
55868     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55869     lldb::LanguageType arg2 ;
55870     bool arg3 ;
55871     bool arg4 ;
55872     lldb::SBBreakpoint result;
55873 
55874     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateForException",4,4)
55875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",1,"lldb::SBTarget *");
55876     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",2,"lldb::LanguageType");
55877     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",3,"bool");
55878     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateForException",4,"bool");
55879 
55880     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55881       SWIG_fail_ptr("SBTarget_BreakpointCreateForException",1,SWIGTYPE_p_lldb__SBTarget);
55882     }
55883 
55884     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
55885     arg3 = (lua_toboolean(L, 3)!=0);
55886     arg4 = (lua_toboolean(L, 4)!=0);
55887     result = (arg1)->BreakpointCreateForException(arg2,arg3,arg4);
55888     {
55889       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55890       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55891     }
55892     return SWIG_arg;
55893 
55894     fail: SWIGUNUSED;
55895   }
55896   lua_error(L);
55897   return 0;
55898 }
55899 
55900 
_wrap_SBTarget_BreakpointCreateByAddress(lua_State * L)55901 static int _wrap_SBTarget_BreakpointCreateByAddress(lua_State* L) {
55902   {
55903     int SWIG_arg = 0;
55904     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55905     lldb::addr_t arg2 ;
55906     lldb::SBBreakpoint result;
55907 
55908     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateByAddress",2,2)
55909     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",1,"lldb::SBTarget *");
55910     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateByAddress",2,"lldb::addr_t");
55911 
55912     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55913       SWIG_fail_ptr("SBTarget_BreakpointCreateByAddress",1,SWIGTYPE_p_lldb__SBTarget);
55914     }
55915 
55916     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
55917     result = (arg1)->BreakpointCreateByAddress(arg2);
55918     {
55919       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55920       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55921     }
55922     return SWIG_arg;
55923 
55924     fail: SWIGUNUSED;
55925   }
55926   lua_error(L);
55927   return 0;
55928 }
55929 
55930 
_wrap_SBTarget_BreakpointCreateBySBAddress(lua_State * L)55931 static int _wrap_SBTarget_BreakpointCreateBySBAddress(lua_State* L) {
55932   {
55933     int SWIG_arg = 0;
55934     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55935     lldb::SBAddress *arg2 = 0 ;
55936     lldb::SBBreakpoint result;
55937 
55938     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateBySBAddress",2,2)
55939     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",1,"lldb::SBTarget *");
55940     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateBySBAddress",2,"lldb::SBAddress &");
55941 
55942     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55943       SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",1,SWIGTYPE_p_lldb__SBTarget);
55944     }
55945 
55946 
55947     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
55948       SWIG_fail_ptr("SBTarget_BreakpointCreateBySBAddress",2,SWIGTYPE_p_lldb__SBAddress);
55949     }
55950 
55951     result = (arg1)->BreakpointCreateBySBAddress(*arg2);
55952     {
55953       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
55954       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
55955     }
55956     return SWIG_arg;
55957 
55958     fail: SWIGUNUSED;
55959   }
55960   lua_error(L);
55961   return 0;
55962 }
55963 
55964 
_wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(lua_State * L)55965 static int _wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(lua_State* L) {
55966   {
55967     int SWIG_arg = 0;
55968     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
55969     char *arg2 = (char *) 0 ;
55970     lldb::SBStructuredData *arg3 = 0 ;
55971     lldb::SBFileSpecList *arg4 = 0 ;
55972     lldb::SBFileSpecList *arg5 = 0 ;
55973     bool arg6 ;
55974     lldb::SBBreakpoint result;
55975 
55976     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",6,6)
55977     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *");
55978     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *");
55979     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &");
55980     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &");
55981     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &");
55982     if(!lua_isboolean(L,6)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",6,"bool");
55983 
55984     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
55985       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget);
55986     }
55987 
55988     arg2 = (char *)lua_tostring(L, 2);
55989 
55990     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
55991       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData);
55992     }
55993 
55994 
55995     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
55996       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList);
55997     }
55998 
55999 
56000     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
56001       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList);
56002     }
56003 
56004     arg6 = (lua_toboolean(L, 6)!=0);
56005     result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5,arg6);
56006     {
56007       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
56008       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
56009     }
56010     return SWIG_arg;
56011 
56012     fail: SWIGUNUSED;
56013   }
56014   lua_error(L);
56015   return 0;
56016 }
56017 
56018 
_wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(lua_State * L)56019 static int _wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(lua_State* L) {
56020   {
56021     int SWIG_arg = 0;
56022     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56023     char *arg2 = (char *) 0 ;
56024     lldb::SBStructuredData *arg3 = 0 ;
56025     lldb::SBFileSpecList *arg4 = 0 ;
56026     lldb::SBFileSpecList *arg5 = 0 ;
56027     lldb::SBBreakpoint result;
56028 
56029     SWIG_check_num_args("lldb::SBTarget::BreakpointCreateFromScript",5,5)
56030     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",1,"lldb::SBTarget *");
56031     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",2,"char const *");
56032     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",3,"lldb::SBStructuredData &");
56033     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",4,"lldb::SBFileSpecList const &");
56034     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::BreakpointCreateFromScript",5,"lldb::SBFileSpecList const &");
56035 
56036     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56037       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",1,SWIGTYPE_p_lldb__SBTarget);
56038     }
56039 
56040     arg2 = (char *)lua_tostring(L, 2);
56041 
56042     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
56043       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",3,SWIGTYPE_p_lldb__SBStructuredData);
56044     }
56045 
56046 
56047     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBFileSpecList,0))){
56048       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",4,SWIGTYPE_p_lldb__SBFileSpecList);
56049     }
56050 
56051 
56052     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBFileSpecList,0))){
56053       SWIG_fail_ptr("SBTarget_BreakpointCreateFromScript",5,SWIGTYPE_p_lldb__SBFileSpecList);
56054     }
56055 
56056     result = (arg1)->BreakpointCreateFromScript((char const *)arg2,*arg3,(lldb::SBFileSpecList const &)*arg4,(lldb::SBFileSpecList const &)*arg5);
56057     {
56058       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
56059       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
56060     }
56061     return SWIG_arg;
56062 
56063     fail: SWIGUNUSED;
56064   }
56065   lua_error(L);
56066   return 0;
56067 }
56068 
56069 
_wrap_SBTarget_BreakpointCreateFromScript(lua_State * L)56070 static int _wrap_SBTarget_BreakpointCreateFromScript(lua_State* L) {
56071   int argc;
56072   int argv[7]={
56073     1,2,3,4,5,6,7
56074   };
56075 
56076   argc = lua_gettop(L);
56077   if (argc == 5) {
56078     int _v = 0;
56079     {
56080       void *ptr;
56081       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56082         _v = 0;
56083       } else {
56084         _v = 1;
56085       }
56086     }
56087     if (_v) {
56088       {
56089         _v = SWIG_lua_isnilstring(L,argv[1]);
56090       }
56091       if (_v) {
56092         {
56093           void *ptr;
56094           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
56095             _v = 0;
56096           } else {
56097             _v = 1;
56098           }
56099         }
56100         if (_v) {
56101           {
56102             void *ptr;
56103             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
56104               _v = 0;
56105             } else {
56106               _v = 1;
56107             }
56108           }
56109           if (_v) {
56110             {
56111               void *ptr;
56112               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
56113                 _v = 0;
56114               } else {
56115                 _v = 1;
56116               }
56117             }
56118             if (_v) {
56119               return _wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(L);
56120             }
56121           }
56122         }
56123       }
56124     }
56125   }
56126   if (argc == 6) {
56127     int _v = 0;
56128     {
56129       void *ptr;
56130       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56131         _v = 0;
56132       } else {
56133         _v = 1;
56134       }
56135     }
56136     if (_v) {
56137       {
56138         _v = SWIG_lua_isnilstring(L,argv[1]);
56139       }
56140       if (_v) {
56141         {
56142           void *ptr;
56143           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
56144             _v = 0;
56145           } else {
56146             _v = 1;
56147           }
56148         }
56149         if (_v) {
56150           {
56151             void *ptr;
56152             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
56153               _v = 0;
56154             } else {
56155               _v = 1;
56156             }
56157           }
56158           if (_v) {
56159             {
56160               void *ptr;
56161               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpecList, SWIG_POINTER_NO_NULL)) {
56162                 _v = 0;
56163               } else {
56164                 _v = 1;
56165               }
56166             }
56167             if (_v) {
56168               {
56169                 _v = lua_isboolean(L,argv[5]);
56170               }
56171               if (_v) {
56172                 return _wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(L);
56173               }
56174             }
56175           }
56176         }
56177       }
56178     }
56179   }
56180 
56181   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointCreateFromScript'\n"
56182     "  Possible C/C++ prototypes are:\n"
56183     "    lldb::SBTarget::BreakpointCreateFromScript(char const *,lldb::SBStructuredData &,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &,bool)\n"
56184     "    lldb::SBTarget::BreakpointCreateFromScript(char const *,lldb::SBStructuredData &,lldb::SBFileSpecList const &,lldb::SBFileSpecList const &)\n");
56185   lua_error(L);return 0;
56186 }
56187 
56188 
_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(lua_State * L)56189 static int _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(lua_State* L) {
56190   {
56191     int SWIG_arg = 0;
56192     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56193     lldb::SBFileSpec *arg2 = 0 ;
56194     lldb::SBBreakpointList *arg3 = 0 ;
56195     lldb::SBError result;
56196 
56197     SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",3,3)
56198     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *");
56199     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &");
56200     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBBreakpointList &");
56201 
56202     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56203       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget);
56204     }
56205 
56206 
56207     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
56208       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec);
56209     }
56210 
56211 
56212     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){
56213       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBBreakpointList);
56214     }
56215 
56216     result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3);
56217     {
56218       lldb::SBError * resultptr = new lldb::SBError(result);
56219       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
56220     }
56221     return SWIG_arg;
56222 
56223     fail: SWIGUNUSED;
56224   }
56225   lua_error(L);
56226   return 0;
56227 }
56228 
56229 
_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(lua_State * L)56230 static int _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(lua_State* L) {
56231   {
56232     int SWIG_arg = 0;
56233     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56234     lldb::SBFileSpec *arg2 = 0 ;
56235     lldb::SBStringList *arg3 = 0 ;
56236     lldb::SBBreakpointList *arg4 = 0 ;
56237     lldb::SBError result;
56238 
56239     SWIG_check_num_args("lldb::SBTarget::BreakpointsCreateFromFile",4,4)
56240     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",1,"lldb::SBTarget *");
56241     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",2,"lldb::SBFileSpec &");
56242     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",3,"lldb::SBStringList &");
56243     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsCreateFromFile",4,"lldb::SBBreakpointList &");
56244 
56245     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56246       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",1,SWIGTYPE_p_lldb__SBTarget);
56247     }
56248 
56249 
56250     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
56251       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",2,SWIGTYPE_p_lldb__SBFileSpec);
56252     }
56253 
56254 
56255     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStringList,0))){
56256       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",3,SWIGTYPE_p_lldb__SBStringList);
56257     }
56258 
56259 
56260     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBBreakpointList,0))){
56261       SWIG_fail_ptr("SBTarget_BreakpointsCreateFromFile",4,SWIGTYPE_p_lldb__SBBreakpointList);
56262     }
56263 
56264     result = (arg1)->BreakpointsCreateFromFile(*arg2,*arg3,*arg4);
56265     {
56266       lldb::SBError * resultptr = new lldb::SBError(result);
56267       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
56268     }
56269     return SWIG_arg;
56270 
56271     fail: SWIGUNUSED;
56272   }
56273   lua_error(L);
56274   return 0;
56275 }
56276 
56277 
_wrap_SBTarget_BreakpointsCreateFromFile(lua_State * L)56278 static int _wrap_SBTarget_BreakpointsCreateFromFile(lua_State* L) {
56279   int argc;
56280   int argv[5]={
56281     1,2,3,4,5
56282   };
56283 
56284   argc = lua_gettop(L);
56285   if (argc == 3) {
56286     int _v = 0;
56287     {
56288       void *ptr;
56289       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56290         _v = 0;
56291       } else {
56292         _v = 1;
56293       }
56294     }
56295     if (_v) {
56296       {
56297         void *ptr;
56298         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
56299           _v = 0;
56300         } else {
56301           _v = 1;
56302         }
56303       }
56304       if (_v) {
56305         {
56306           void *ptr;
56307           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointList, SWIG_POINTER_NO_NULL)) {
56308             _v = 0;
56309           } else {
56310             _v = 1;
56311           }
56312         }
56313         if (_v) {
56314           return _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(L);
56315         }
56316       }
56317     }
56318   }
56319   if (argc == 4) {
56320     int _v = 0;
56321     {
56322       void *ptr;
56323       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56324         _v = 0;
56325       } else {
56326         _v = 1;
56327       }
56328     }
56329     if (_v) {
56330       {
56331         void *ptr;
56332         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
56333           _v = 0;
56334         } else {
56335           _v = 1;
56336         }
56337       }
56338       if (_v) {
56339         {
56340           void *ptr;
56341           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStringList, SWIG_POINTER_NO_NULL)) {
56342             _v = 0;
56343           } else {
56344             _v = 1;
56345           }
56346         }
56347         if (_v) {
56348           {
56349             void *ptr;
56350             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointList, SWIG_POINTER_NO_NULL)) {
56351               _v = 0;
56352             } else {
56353               _v = 1;
56354             }
56355           }
56356           if (_v) {
56357             return _wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(L);
56358           }
56359         }
56360       }
56361     }
56362   }
56363 
56364   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointsCreateFromFile'\n"
56365     "  Possible C/C++ prototypes are:\n"
56366     "    lldb::SBTarget::BreakpointsCreateFromFile(lldb::SBFileSpec &,lldb::SBBreakpointList &)\n"
56367     "    lldb::SBTarget::BreakpointsCreateFromFile(lldb::SBFileSpec &,lldb::SBStringList &,lldb::SBBreakpointList &)\n");
56368   lua_error(L);return 0;
56369 }
56370 
56371 
_wrap_SBTarget_BreakpointsWriteToFile__SWIG_0(lua_State * L)56372 static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_0(lua_State* L) {
56373   {
56374     int SWIG_arg = 0;
56375     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56376     lldb::SBFileSpec *arg2 = 0 ;
56377     lldb::SBError result;
56378 
56379     SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",2,2)
56380     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *");
56381     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &");
56382 
56383     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56384       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget);
56385     }
56386 
56387 
56388     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
56389       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec);
56390     }
56391 
56392     result = (arg1)->BreakpointsWriteToFile(*arg2);
56393     {
56394       lldb::SBError * resultptr = new lldb::SBError(result);
56395       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
56396     }
56397     return SWIG_arg;
56398 
56399     fail: SWIGUNUSED;
56400   }
56401   lua_error(L);
56402   return 0;
56403 }
56404 
56405 
_wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(lua_State * L)56406 static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(lua_State* L) {
56407   {
56408     int SWIG_arg = 0;
56409     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56410     lldb::SBFileSpec *arg2 = 0 ;
56411     lldb::SBBreakpointList *arg3 = 0 ;
56412     bool arg4 ;
56413     lldb::SBError result;
56414 
56415     SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",4,4)
56416     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *");
56417     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &");
56418     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &");
56419     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",4,"bool");
56420 
56421     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56422       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget);
56423     }
56424 
56425 
56426     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
56427       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec);
56428     }
56429 
56430 
56431     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){
56432       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList);
56433     }
56434 
56435     arg4 = (lua_toboolean(L, 4)!=0);
56436     result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3,arg4);
56437     {
56438       lldb::SBError * resultptr = new lldb::SBError(result);
56439       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
56440     }
56441     return SWIG_arg;
56442 
56443     fail: SWIGUNUSED;
56444   }
56445   lua_error(L);
56446   return 0;
56447 }
56448 
56449 
_wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(lua_State * L)56450 static int _wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(lua_State* L) {
56451   {
56452     int SWIG_arg = 0;
56453     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56454     lldb::SBFileSpec *arg2 = 0 ;
56455     lldb::SBBreakpointList *arg3 = 0 ;
56456     lldb::SBError result;
56457 
56458     SWIG_check_num_args("lldb::SBTarget::BreakpointsWriteToFile",3,3)
56459     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",1,"lldb::SBTarget *");
56460     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",2,"lldb::SBFileSpec &");
56461     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::BreakpointsWriteToFile",3,"lldb::SBBreakpointList &");
56462 
56463     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56464       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",1,SWIGTYPE_p_lldb__SBTarget);
56465     }
56466 
56467 
56468     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
56469       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",2,SWIGTYPE_p_lldb__SBFileSpec);
56470     }
56471 
56472 
56473     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){
56474       SWIG_fail_ptr("SBTarget_BreakpointsWriteToFile",3,SWIGTYPE_p_lldb__SBBreakpointList);
56475     }
56476 
56477     result = (arg1)->BreakpointsWriteToFile(*arg2,*arg3);
56478     {
56479       lldb::SBError * resultptr = new lldb::SBError(result);
56480       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
56481     }
56482     return SWIG_arg;
56483 
56484     fail: SWIGUNUSED;
56485   }
56486   lua_error(L);
56487   return 0;
56488 }
56489 
56490 
_wrap_SBTarget_BreakpointsWriteToFile(lua_State * L)56491 static int _wrap_SBTarget_BreakpointsWriteToFile(lua_State* L) {
56492   int argc;
56493   int argv[5]={
56494     1,2,3,4,5
56495   };
56496 
56497   argc = lua_gettop(L);
56498   if (argc == 2) {
56499     int _v = 0;
56500     {
56501       void *ptr;
56502       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56503         _v = 0;
56504       } else {
56505         _v = 1;
56506       }
56507     }
56508     if (_v) {
56509       {
56510         void *ptr;
56511         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
56512           _v = 0;
56513         } else {
56514           _v = 1;
56515         }
56516       }
56517       if (_v) {
56518         return _wrap_SBTarget_BreakpointsWriteToFile__SWIG_0(L);
56519       }
56520     }
56521   }
56522   if (argc == 3) {
56523     int _v = 0;
56524     {
56525       void *ptr;
56526       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56527         _v = 0;
56528       } else {
56529         _v = 1;
56530       }
56531     }
56532     if (_v) {
56533       {
56534         void *ptr;
56535         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
56536           _v = 0;
56537         } else {
56538           _v = 1;
56539         }
56540       }
56541       if (_v) {
56542         {
56543           void *ptr;
56544           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointList, SWIG_POINTER_NO_NULL)) {
56545             _v = 0;
56546           } else {
56547             _v = 1;
56548           }
56549         }
56550         if (_v) {
56551           return _wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(L);
56552         }
56553       }
56554     }
56555   }
56556   if (argc == 4) {
56557     int _v = 0;
56558     {
56559       void *ptr;
56560       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
56561         _v = 0;
56562       } else {
56563         _v = 1;
56564       }
56565     }
56566     if (_v) {
56567       {
56568         void *ptr;
56569         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
56570           _v = 0;
56571         } else {
56572           _v = 1;
56573         }
56574       }
56575       if (_v) {
56576         {
56577           void *ptr;
56578           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointList, SWIG_POINTER_NO_NULL)) {
56579             _v = 0;
56580           } else {
56581             _v = 1;
56582           }
56583         }
56584         if (_v) {
56585           {
56586             _v = lua_isboolean(L,argv[3]);
56587           }
56588           if (_v) {
56589             return _wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(L);
56590           }
56591         }
56592       }
56593     }
56594   }
56595 
56596   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_BreakpointsWriteToFile'\n"
56597     "  Possible C/C++ prototypes are:\n"
56598     "    lldb::SBTarget::BreakpointsWriteToFile(lldb::SBFileSpec &)\n"
56599     "    lldb::SBTarget::BreakpointsWriteToFile(lldb::SBFileSpec &,lldb::SBBreakpointList &,bool)\n"
56600     "    lldb::SBTarget::BreakpointsWriteToFile(lldb::SBFileSpec &,lldb::SBBreakpointList &)\n");
56601   lua_error(L);return 0;
56602 }
56603 
56604 
_wrap_SBTarget_GetNumBreakpoints(lua_State * L)56605 static int _wrap_SBTarget_GetNumBreakpoints(lua_State* L) {
56606   {
56607     int SWIG_arg = 0;
56608     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56609     uint32_t result;
56610 
56611     SWIG_check_num_args("lldb::SBTarget::GetNumBreakpoints",1,1)
56612     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumBreakpoints",1,"lldb::SBTarget const *");
56613 
56614     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56615       SWIG_fail_ptr("SBTarget_GetNumBreakpoints",1,SWIGTYPE_p_lldb__SBTarget);
56616     }
56617 
56618     result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumBreakpoints();
56619     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
56620     return SWIG_arg;
56621 
56622     fail: SWIGUNUSED;
56623   }
56624   lua_error(L);
56625   return 0;
56626 }
56627 
56628 
_wrap_SBTarget_GetBreakpointAtIndex(lua_State * L)56629 static int _wrap_SBTarget_GetBreakpointAtIndex(lua_State* L) {
56630   {
56631     int SWIG_arg = 0;
56632     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56633     uint32_t arg2 ;
56634     lldb::SBBreakpoint result;
56635 
56636     SWIG_check_num_args("lldb::SBTarget::GetBreakpointAtIndex",2,2)
56637     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",1,"lldb::SBTarget const *");
56638     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointAtIndex",2,"uint32_t");
56639 
56640     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56641       SWIG_fail_ptr("SBTarget_GetBreakpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget);
56642     }
56643 
56644     arg2 = (uint32_t)lua_tointeger(L, 2);
56645     result = ((lldb::SBTarget const *)arg1)->GetBreakpointAtIndex(arg2);
56646     {
56647       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
56648       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
56649     }
56650     return SWIG_arg;
56651 
56652     fail: SWIGUNUSED;
56653   }
56654   lua_error(L);
56655   return 0;
56656 }
56657 
56658 
_wrap_SBTarget_BreakpointDelete(lua_State * L)56659 static int _wrap_SBTarget_BreakpointDelete(lua_State* L) {
56660   {
56661     int SWIG_arg = 0;
56662     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56663     lldb::break_id_t arg2 ;
56664     bool result;
56665 
56666     SWIG_check_num_args("lldb::SBTarget::BreakpointDelete",2,2)
56667     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",1,"lldb::SBTarget *");
56668     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::BreakpointDelete",2,"lldb::break_id_t");
56669 
56670     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56671       SWIG_fail_ptr("SBTarget_BreakpointDelete",1,SWIGTYPE_p_lldb__SBTarget);
56672     }
56673 
56674     arg2 = (lldb::break_id_t)lua_tointeger(L, 2);
56675     result = (bool)(arg1)->BreakpointDelete(arg2);
56676     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56677     return SWIG_arg;
56678 
56679     fail: SWIGUNUSED;
56680   }
56681   lua_error(L);
56682   return 0;
56683 }
56684 
56685 
_wrap_SBTarget_FindBreakpointByID(lua_State * L)56686 static int _wrap_SBTarget_FindBreakpointByID(lua_State* L) {
56687   {
56688     int SWIG_arg = 0;
56689     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56690     lldb::break_id_t arg2 ;
56691     lldb::SBBreakpoint result;
56692 
56693     SWIG_check_num_args("lldb::SBTarget::FindBreakpointByID",2,2)
56694     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",1,"lldb::SBTarget *");
56695     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointByID",2,"lldb::break_id_t");
56696 
56697     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56698       SWIG_fail_ptr("SBTarget_FindBreakpointByID",1,SWIGTYPE_p_lldb__SBTarget);
56699     }
56700 
56701     arg2 = (lldb::break_id_t)lua_tointeger(L, 2);
56702     result = (arg1)->FindBreakpointByID(arg2);
56703     {
56704       lldb::SBBreakpoint * resultptr = new lldb::SBBreakpoint(result);
56705       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBreakpoint,1); SWIG_arg++;
56706     }
56707     return SWIG_arg;
56708 
56709     fail: SWIGUNUSED;
56710   }
56711   lua_error(L);
56712   return 0;
56713 }
56714 
56715 
_wrap_SBTarget_FindBreakpointsByName(lua_State * L)56716 static int _wrap_SBTarget_FindBreakpointsByName(lua_State* L) {
56717   {
56718     int SWIG_arg = 0;
56719     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56720     char *arg2 = (char *) 0 ;
56721     lldb::SBBreakpointList *arg3 = 0 ;
56722     bool result;
56723 
56724     SWIG_check_num_args("lldb::SBTarget::FindBreakpointsByName",3,3)
56725     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",1,"lldb::SBTarget *");
56726     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",2,"char const *");
56727     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::FindBreakpointsByName",3,"lldb::SBBreakpointList &");
56728 
56729     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56730       SWIG_fail_ptr("SBTarget_FindBreakpointsByName",1,SWIGTYPE_p_lldb__SBTarget);
56731     }
56732 
56733     arg2 = (char *)lua_tostring(L, 2);
56734 
56735     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBBreakpointList,0))){
56736       SWIG_fail_ptr("SBTarget_FindBreakpointsByName",3,SWIGTYPE_p_lldb__SBBreakpointList);
56737     }
56738 
56739     result = (bool)(arg1)->FindBreakpointsByName((char const *)arg2,*arg3);
56740     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56741     return SWIG_arg;
56742 
56743     fail: SWIGUNUSED;
56744   }
56745   lua_error(L);
56746   return 0;
56747 }
56748 
56749 
_wrap_SBTarget_GetBreakpointNames(lua_State * L)56750 static int _wrap_SBTarget_GetBreakpointNames(lua_State* L) {
56751   {
56752     int SWIG_arg = 0;
56753     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56754     lldb::SBStringList *arg2 = 0 ;
56755 
56756     SWIG_check_num_args("lldb::SBTarget::GetBreakpointNames",2,2)
56757     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",1,"lldb::SBTarget *");
56758     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBreakpointNames",2,"lldb::SBStringList &");
56759 
56760     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56761       SWIG_fail_ptr("SBTarget_GetBreakpointNames",1,SWIGTYPE_p_lldb__SBTarget);
56762     }
56763 
56764 
56765     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStringList,0))){
56766       SWIG_fail_ptr("SBTarget_GetBreakpointNames",2,SWIGTYPE_p_lldb__SBStringList);
56767     }
56768 
56769     (arg1)->GetBreakpointNames(*arg2);
56770 
56771     return SWIG_arg;
56772 
56773     fail: SWIGUNUSED;
56774   }
56775   lua_error(L);
56776   return 0;
56777 }
56778 
56779 
_wrap_SBTarget_DeleteBreakpointName(lua_State * L)56780 static int _wrap_SBTarget_DeleteBreakpointName(lua_State* L) {
56781   {
56782     int SWIG_arg = 0;
56783     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56784     char *arg2 = (char *) 0 ;
56785 
56786     SWIG_check_num_args("lldb::SBTarget::DeleteBreakpointName",2,2)
56787     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",1,"lldb::SBTarget *");
56788     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteBreakpointName",2,"char const *");
56789 
56790     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56791       SWIG_fail_ptr("SBTarget_DeleteBreakpointName",1,SWIGTYPE_p_lldb__SBTarget);
56792     }
56793 
56794     arg2 = (char *)lua_tostring(L, 2);
56795     (arg1)->DeleteBreakpointName((char const *)arg2);
56796 
56797     return SWIG_arg;
56798 
56799     fail: SWIGUNUSED;
56800   }
56801   lua_error(L);
56802   return 0;
56803 }
56804 
56805 
_wrap_SBTarget_EnableAllBreakpoints(lua_State * L)56806 static int _wrap_SBTarget_EnableAllBreakpoints(lua_State* L) {
56807   {
56808     int SWIG_arg = 0;
56809     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56810     bool result;
56811 
56812     SWIG_check_num_args("lldb::SBTarget::EnableAllBreakpoints",1,1)
56813     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllBreakpoints",1,"lldb::SBTarget *");
56814 
56815     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56816       SWIG_fail_ptr("SBTarget_EnableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget);
56817     }
56818 
56819     result = (bool)(arg1)->EnableAllBreakpoints();
56820     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56821     return SWIG_arg;
56822 
56823     fail: SWIGUNUSED;
56824   }
56825   lua_error(L);
56826   return 0;
56827 }
56828 
56829 
_wrap_SBTarget_DisableAllBreakpoints(lua_State * L)56830 static int _wrap_SBTarget_DisableAllBreakpoints(lua_State* L) {
56831   {
56832     int SWIG_arg = 0;
56833     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56834     bool result;
56835 
56836     SWIG_check_num_args("lldb::SBTarget::DisableAllBreakpoints",1,1)
56837     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllBreakpoints",1,"lldb::SBTarget *");
56838 
56839     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56840       SWIG_fail_ptr("SBTarget_DisableAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget);
56841     }
56842 
56843     result = (bool)(arg1)->DisableAllBreakpoints();
56844     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56845     return SWIG_arg;
56846 
56847     fail: SWIGUNUSED;
56848   }
56849   lua_error(L);
56850   return 0;
56851 }
56852 
56853 
_wrap_SBTarget_DeleteAllBreakpoints(lua_State * L)56854 static int _wrap_SBTarget_DeleteAllBreakpoints(lua_State* L) {
56855   {
56856     int SWIG_arg = 0;
56857     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56858     bool result;
56859 
56860     SWIG_check_num_args("lldb::SBTarget::DeleteAllBreakpoints",1,1)
56861     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllBreakpoints",1,"lldb::SBTarget *");
56862 
56863     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56864       SWIG_fail_ptr("SBTarget_DeleteAllBreakpoints",1,SWIGTYPE_p_lldb__SBTarget);
56865     }
56866 
56867     result = (bool)(arg1)->DeleteAllBreakpoints();
56868     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56869     return SWIG_arg;
56870 
56871     fail: SWIGUNUSED;
56872   }
56873   lua_error(L);
56874   return 0;
56875 }
56876 
56877 
_wrap_SBTarget_GetNumWatchpoints(lua_State * L)56878 static int _wrap_SBTarget_GetNumWatchpoints(lua_State* L) {
56879   {
56880     int SWIG_arg = 0;
56881     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56882     uint32_t result;
56883 
56884     SWIG_check_num_args("lldb::SBTarget::GetNumWatchpoints",1,1)
56885     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetNumWatchpoints",1,"lldb::SBTarget const *");
56886 
56887     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56888       SWIG_fail_ptr("SBTarget_GetNumWatchpoints",1,SWIGTYPE_p_lldb__SBTarget);
56889     }
56890 
56891     result = (uint32_t)((lldb::SBTarget const *)arg1)->GetNumWatchpoints();
56892     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
56893     return SWIG_arg;
56894 
56895     fail: SWIGUNUSED;
56896   }
56897   lua_error(L);
56898   return 0;
56899 }
56900 
56901 
_wrap_SBTarget_GetWatchpointAtIndex(lua_State * L)56902 static int _wrap_SBTarget_GetWatchpointAtIndex(lua_State* L) {
56903   {
56904     int SWIG_arg = 0;
56905     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56906     uint32_t arg2 ;
56907     lldb::SBWatchpoint result;
56908 
56909     SWIG_check_num_args("lldb::SBTarget::GetWatchpointAtIndex",2,2)
56910     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",1,"lldb::SBTarget const *");
56911     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetWatchpointAtIndex",2,"uint32_t");
56912 
56913     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56914       SWIG_fail_ptr("SBTarget_GetWatchpointAtIndex",1,SWIGTYPE_p_lldb__SBTarget);
56915     }
56916 
56917     arg2 = (uint32_t)lua_tointeger(L, 2);
56918     result = ((lldb::SBTarget const *)arg1)->GetWatchpointAtIndex(arg2);
56919     {
56920       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
56921       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
56922     }
56923     return SWIG_arg;
56924 
56925     fail: SWIGUNUSED;
56926   }
56927   lua_error(L);
56928   return 0;
56929 }
56930 
56931 
_wrap_SBTarget_DeleteWatchpoint(lua_State * L)56932 static int _wrap_SBTarget_DeleteWatchpoint(lua_State* L) {
56933   {
56934     int SWIG_arg = 0;
56935     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56936     lldb::watch_id_t arg2 ;
56937     bool result;
56938 
56939     SWIG_check_num_args("lldb::SBTarget::DeleteWatchpoint",2,2)
56940     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",1,"lldb::SBTarget *");
56941     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::DeleteWatchpoint",2,"lldb::watch_id_t");
56942 
56943     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56944       SWIG_fail_ptr("SBTarget_DeleteWatchpoint",1,SWIGTYPE_p_lldb__SBTarget);
56945     }
56946 
56947     arg2 = (lldb::watch_id_t)lua_tointeger(L, 2);
56948     result = (bool)(arg1)->DeleteWatchpoint(arg2);
56949     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
56950     return SWIG_arg;
56951 
56952     fail: SWIGUNUSED;
56953   }
56954   lua_error(L);
56955   return 0;
56956 }
56957 
56958 
_wrap_SBTarget_FindWatchpointByID(lua_State * L)56959 static int _wrap_SBTarget_FindWatchpointByID(lua_State* L) {
56960   {
56961     int SWIG_arg = 0;
56962     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56963     lldb::watch_id_t arg2 ;
56964     lldb::SBWatchpoint result;
56965 
56966     SWIG_check_num_args("lldb::SBTarget::FindWatchpointByID",2,2)
56967     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",1,"lldb::SBTarget *");
56968     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::FindWatchpointByID",2,"lldb::watch_id_t");
56969 
56970     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
56971       SWIG_fail_ptr("SBTarget_FindWatchpointByID",1,SWIGTYPE_p_lldb__SBTarget);
56972     }
56973 
56974     arg2 = (lldb::watch_id_t)lua_tointeger(L, 2);
56975     result = (arg1)->FindWatchpointByID(arg2);
56976     {
56977       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
56978       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
56979     }
56980     return SWIG_arg;
56981 
56982     fail: SWIGUNUSED;
56983   }
56984   lua_error(L);
56985   return 0;
56986 }
56987 
56988 
_wrap_SBTarget_WatchAddress(lua_State * L)56989 static int _wrap_SBTarget_WatchAddress(lua_State* L) {
56990   {
56991     int SWIG_arg = 0;
56992     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
56993     lldb::addr_t arg2 ;
56994     size_t arg3 ;
56995     bool arg4 ;
56996     bool arg5 ;
56997     lldb::SBError *arg6 = 0 ;
56998     lldb::SBWatchpoint result;
56999 
57000     SWIG_check_num_args("lldb::SBTarget::WatchAddress",6,6)
57001     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",1,"lldb::SBTarget *");
57002     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",2,"lldb::addr_t");
57003     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",3,"size_t");
57004     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",4,"bool");
57005     if(!lua_isboolean(L,5)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",5,"bool");
57006     if(!lua_isuserdata(L,6)) SWIG_fail_arg("lldb::SBTarget::WatchAddress",6,"lldb::SBError &");
57007 
57008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57009       SWIG_fail_ptr("SBTarget_WatchAddress",1,SWIGTYPE_p_lldb__SBTarget);
57010     }
57011 
57012     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
57013     arg3 = (size_t)lua_tointeger(L, 3);
57014     arg4 = (lua_toboolean(L, 4)!=0);
57015     arg5 = (lua_toboolean(L, 5)!=0);
57016 
57017     if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_lldb__SBError,0))){
57018       SWIG_fail_ptr("SBTarget_WatchAddress",6,SWIGTYPE_p_lldb__SBError);
57019     }
57020 
57021     result = (arg1)->WatchAddress(arg2,arg3,arg4,arg5,*arg6);
57022     {
57023       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
57024       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
57025     }
57026     return SWIG_arg;
57027 
57028     fail: SWIGUNUSED;
57029   }
57030   lua_error(L);
57031   return 0;
57032 }
57033 
57034 
_wrap_SBTarget_WatchpointCreateByAddress(lua_State * L)57035 static int _wrap_SBTarget_WatchpointCreateByAddress(lua_State* L) {
57036   {
57037     int SWIG_arg = 0;
57038     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57039     lldb::addr_t arg2 ;
57040     size_t arg3 ;
57041     lldb::SBWatchpointOptions arg4 ;
57042     lldb::SBError *arg5 = 0 ;
57043     lldb::SBWatchpointOptions *argp4 ;
57044     lldb::SBWatchpoint result;
57045 
57046     SWIG_check_num_args("lldb::SBTarget::WatchpointCreateByAddress",5,5)
57047     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",1,"lldb::SBTarget *");
57048     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",2,"lldb::addr_t");
57049     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",3,"size_t");
57050     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",4,"lldb::SBWatchpointOptions");
57051     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",5,"lldb::SBError &");
57052 
57053     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57054       SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",1,SWIGTYPE_p_lldb__SBTarget);
57055     }
57056 
57057     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
57058     arg3 = (size_t)lua_tointeger(L, 3);
57059 
57060     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
57061       SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",4,SWIGTYPE_p_lldb__SBWatchpointOptions);
57062     }
57063     arg4 = *argp4;
57064 
57065 
57066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
57067       SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",5,SWIGTYPE_p_lldb__SBError);
57068     }
57069 
57070     result = (arg1)->WatchpointCreateByAddress(arg2,arg3,arg4,*arg5);
57071     {
57072       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
57073       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
57074     }
57075     return SWIG_arg;
57076 
57077     fail: SWIGUNUSED;
57078   }
57079   lua_error(L);
57080   return 0;
57081 }
57082 
57083 
_wrap_SBTarget_EnableAllWatchpoints(lua_State * L)57084 static int _wrap_SBTarget_EnableAllWatchpoints(lua_State* L) {
57085   {
57086     int SWIG_arg = 0;
57087     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57088     bool result;
57089 
57090     SWIG_check_num_args("lldb::SBTarget::EnableAllWatchpoints",1,1)
57091     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EnableAllWatchpoints",1,"lldb::SBTarget *");
57092 
57093     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57094       SWIG_fail_ptr("SBTarget_EnableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget);
57095     }
57096 
57097     result = (bool)(arg1)->EnableAllWatchpoints();
57098     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
57099     return SWIG_arg;
57100 
57101     fail: SWIGUNUSED;
57102   }
57103   lua_error(L);
57104   return 0;
57105 }
57106 
57107 
_wrap_SBTarget_DisableAllWatchpoints(lua_State * L)57108 static int _wrap_SBTarget_DisableAllWatchpoints(lua_State* L) {
57109   {
57110     int SWIG_arg = 0;
57111     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57112     bool result;
57113 
57114     SWIG_check_num_args("lldb::SBTarget::DisableAllWatchpoints",1,1)
57115     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DisableAllWatchpoints",1,"lldb::SBTarget *");
57116 
57117     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57118       SWIG_fail_ptr("SBTarget_DisableAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget);
57119     }
57120 
57121     result = (bool)(arg1)->DisableAllWatchpoints();
57122     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
57123     return SWIG_arg;
57124 
57125     fail: SWIGUNUSED;
57126   }
57127   lua_error(L);
57128   return 0;
57129 }
57130 
57131 
_wrap_SBTarget_DeleteAllWatchpoints(lua_State * L)57132 static int _wrap_SBTarget_DeleteAllWatchpoints(lua_State* L) {
57133   {
57134     int SWIG_arg = 0;
57135     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57136     bool result;
57137 
57138     SWIG_check_num_args("lldb::SBTarget::DeleteAllWatchpoints",1,1)
57139     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::DeleteAllWatchpoints",1,"lldb::SBTarget *");
57140 
57141     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57142       SWIG_fail_ptr("SBTarget_DeleteAllWatchpoints",1,SWIGTYPE_p_lldb__SBTarget);
57143     }
57144 
57145     result = (bool)(arg1)->DeleteAllWatchpoints();
57146     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
57147     return SWIG_arg;
57148 
57149     fail: SWIGUNUSED;
57150   }
57151   lua_error(L);
57152   return 0;
57153 }
57154 
57155 
_wrap_SBTarget_GetBroadcaster(lua_State * L)57156 static int _wrap_SBTarget_GetBroadcaster(lua_State* L) {
57157   {
57158     int SWIG_arg = 0;
57159     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57160     lldb::SBBroadcaster result;
57161 
57162     SWIG_check_num_args("lldb::SBTarget::GetBroadcaster",1,1)
57163     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBroadcaster",1,"lldb::SBTarget const *");
57164 
57165     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57166       SWIG_fail_ptr("SBTarget_GetBroadcaster",1,SWIGTYPE_p_lldb__SBTarget);
57167     }
57168 
57169     result = ((lldb::SBTarget const *)arg1)->GetBroadcaster();
57170     {
57171       lldb::SBBroadcaster * resultptr = new lldb::SBBroadcaster(result);
57172       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBBroadcaster,1); SWIG_arg++;
57173     }
57174     return SWIG_arg;
57175 
57176     fail: SWIGUNUSED;
57177   }
57178   lua_error(L);
57179   return 0;
57180 }
57181 
57182 
_wrap_SBTarget_FindFirstType(lua_State * L)57183 static int _wrap_SBTarget_FindFirstType(lua_State* L) {
57184   {
57185     int SWIG_arg = 0;
57186     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57187     char *arg2 = (char *) 0 ;
57188     lldb::SBType result;
57189 
57190     SWIG_check_num_args("lldb::SBTarget::FindFirstType",2,2)
57191     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",1,"lldb::SBTarget *");
57192     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindFirstType",2,"char const *");
57193 
57194     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57195       SWIG_fail_ptr("SBTarget_FindFirstType",1,SWIGTYPE_p_lldb__SBTarget);
57196     }
57197 
57198     arg2 = (char *)lua_tostring(L, 2);
57199     result = (arg1)->FindFirstType((char const *)arg2);
57200     {
57201       lldb::SBType * resultptr = new lldb::SBType(result);
57202       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
57203     }
57204     return SWIG_arg;
57205 
57206     fail: SWIGUNUSED;
57207   }
57208   lua_error(L);
57209   return 0;
57210 }
57211 
57212 
_wrap_SBTarget_FindTypes(lua_State * L)57213 static int _wrap_SBTarget_FindTypes(lua_State* L) {
57214   {
57215     int SWIG_arg = 0;
57216     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57217     char *arg2 = (char *) 0 ;
57218     lldb::SBTypeList result;
57219 
57220     SWIG_check_num_args("lldb::SBTarget::FindTypes",2,2)
57221     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindTypes",1,"lldb::SBTarget *");
57222     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindTypes",2,"char const *");
57223 
57224     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57225       SWIG_fail_ptr("SBTarget_FindTypes",1,SWIGTYPE_p_lldb__SBTarget);
57226     }
57227 
57228     arg2 = (char *)lua_tostring(L, 2);
57229     result = (arg1)->FindTypes((char const *)arg2);
57230     {
57231       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
57232       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
57233     }
57234     return SWIG_arg;
57235 
57236     fail: SWIGUNUSED;
57237   }
57238   lua_error(L);
57239   return 0;
57240 }
57241 
57242 
_wrap_SBTarget_GetBasicType(lua_State * L)57243 static int _wrap_SBTarget_GetBasicType(lua_State* L) {
57244   {
57245     int SWIG_arg = 0;
57246     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57247     lldb::BasicType arg2 ;
57248     lldb::SBType result;
57249 
57250     SWIG_check_num_args("lldb::SBTarget::GetBasicType",2,2)
57251     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",1,"lldb::SBTarget *");
57252     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::GetBasicType",2,"lldb::BasicType");
57253 
57254     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57255       SWIG_fail_ptr("SBTarget_GetBasicType",1,SWIGTYPE_p_lldb__SBTarget);
57256     }
57257 
57258     arg2 = (lldb::BasicType)lua_tointeger(L, 2);
57259     result = (arg1)->GetBasicType(arg2);
57260     {
57261       lldb::SBType * resultptr = new lldb::SBType(result);
57262       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
57263     }
57264     return SWIG_arg;
57265 
57266     fail: SWIGUNUSED;
57267   }
57268   lua_error(L);
57269   return 0;
57270 }
57271 
57272 
_wrap_SBTarget_CreateValueFromAddress(lua_State * L)57273 static int _wrap_SBTarget_CreateValueFromAddress(lua_State* L) {
57274   {
57275     int SWIG_arg = 0;
57276     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57277     char *arg2 = (char *) 0 ;
57278     lldb::SBAddress arg3 ;
57279     lldb::SBType arg4 ;
57280     lldb::SBAddress *argp3 ;
57281     lldb::SBType *argp4 ;
57282     lldb::SBValue result;
57283 
57284     SWIG_check_num_args("lldb::SBTarget::CreateValueFromAddress",4,4)
57285     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",1,"lldb::SBTarget *");
57286     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",2,"char const *");
57287     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",3,"lldb::SBAddress");
57288     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromAddress",4,"lldb::SBType");
57289 
57290     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57291       SWIG_fail_ptr("SBTarget_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBTarget);
57292     }
57293 
57294     arg2 = (char *)lua_tostring(L, 2);
57295 
57296     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBAddress,0))){
57297       SWIG_fail_ptr("SBTarget_CreateValueFromAddress",3,SWIGTYPE_p_lldb__SBAddress);
57298     }
57299     arg3 = *argp3;
57300 
57301 
57302     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){
57303       SWIG_fail_ptr("SBTarget_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType);
57304     }
57305     arg4 = *argp4;
57306 
57307     result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4);
57308     {
57309       lldb::SBValue * resultptr = new lldb::SBValue(result);
57310       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
57311     }
57312     return SWIG_arg;
57313 
57314     fail: SWIGUNUSED;
57315   }
57316   lua_error(L);
57317   return 0;
57318 }
57319 
57320 
_wrap_SBTarget_CreateValueFromData(lua_State * L)57321 static int _wrap_SBTarget_CreateValueFromData(lua_State* L) {
57322   {
57323     int SWIG_arg = 0;
57324     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57325     char *arg2 = (char *) 0 ;
57326     lldb::SBData arg3 ;
57327     lldb::SBType arg4 ;
57328     lldb::SBData *argp3 ;
57329     lldb::SBType *argp4 ;
57330     lldb::SBValue result;
57331 
57332     SWIG_check_num_args("lldb::SBTarget::CreateValueFromData",4,4)
57333     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",1,"lldb::SBTarget *");
57334     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",2,"char const *");
57335     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",3,"lldb::SBData");
57336     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromData",4,"lldb::SBType");
57337 
57338     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57339       SWIG_fail_ptr("SBTarget_CreateValueFromData",1,SWIGTYPE_p_lldb__SBTarget);
57340     }
57341 
57342     arg2 = (char *)lua_tostring(L, 2);
57343 
57344     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){
57345       SWIG_fail_ptr("SBTarget_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData);
57346     }
57347     arg3 = *argp3;
57348 
57349 
57350     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){
57351       SWIG_fail_ptr("SBTarget_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType);
57352     }
57353     arg4 = *argp4;
57354 
57355     result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4);
57356     {
57357       lldb::SBValue * resultptr = new lldb::SBValue(result);
57358       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
57359     }
57360     return SWIG_arg;
57361 
57362     fail: SWIGUNUSED;
57363   }
57364   lua_error(L);
57365   return 0;
57366 }
57367 
57368 
_wrap_SBTarget_CreateValueFromExpression(lua_State * L)57369 static int _wrap_SBTarget_CreateValueFromExpression(lua_State* L) {
57370   {
57371     int SWIG_arg = 0;
57372     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57373     char *arg2 = (char *) 0 ;
57374     char *arg3 = (char *) 0 ;
57375     lldb::SBValue result;
57376 
57377     SWIG_check_num_args("lldb::SBTarget::CreateValueFromExpression",3,3)
57378     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",1,"lldb::SBTarget *");
57379     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",2,"char const *");
57380     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::CreateValueFromExpression",3,"char const *");
57381 
57382     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57383       SWIG_fail_ptr("SBTarget_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBTarget);
57384     }
57385 
57386     arg2 = (char *)lua_tostring(L, 2);
57387     arg3 = (char *)lua_tostring(L, 3);
57388     result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3);
57389     {
57390       lldb::SBValue * resultptr = new lldb::SBValue(result);
57391       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
57392     }
57393     return SWIG_arg;
57394 
57395     fail: SWIGUNUSED;
57396   }
57397   lua_error(L);
57398   return 0;
57399 }
57400 
57401 
_wrap_SBTarget_GetSourceManager(lua_State * L)57402 static int _wrap_SBTarget_GetSourceManager(lua_State* L) {
57403   {
57404     int SWIG_arg = 0;
57405     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57406     SwigValueWrapper< lldb::SBSourceManager > result;
57407 
57408     SWIG_check_num_args("lldb::SBTarget::GetSourceManager",1,1)
57409     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetSourceManager",1,"lldb::SBTarget *");
57410 
57411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57412       SWIG_fail_ptr("SBTarget_GetSourceManager",1,SWIGTYPE_p_lldb__SBTarget);
57413     }
57414 
57415     result = (arg1)->GetSourceManager();
57416     {
57417       lldb::SBSourceManager * resultptr = new lldb::SBSourceManager(result);
57418       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSourceManager,1); SWIG_arg++;
57419     }
57420     return SWIG_arg;
57421 
57422     fail: SWIGUNUSED;
57423   }
57424   lua_error(L);
57425   return 0;
57426 }
57427 
57428 
_wrap_SBTarget_ReadInstructions__SWIG_0(lua_State * L)57429 static int _wrap_SBTarget_ReadInstructions__SWIG_0(lua_State* L) {
57430   {
57431     int SWIG_arg = 0;
57432     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57433     lldb::SBAddress arg2 ;
57434     uint32_t arg3 ;
57435     lldb::SBAddress *argp2 ;
57436     lldb::SBInstructionList result;
57437 
57438     SWIG_check_num_args("lldb::SBTarget::ReadInstructions",3,3)
57439     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *");
57440     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress");
57441     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t");
57442 
57443     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57444       SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget);
57445     }
57446 
57447 
57448     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
57449       SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress);
57450     }
57451     arg2 = *argp2;
57452 
57453     arg3 = (uint32_t)lua_tointeger(L, 3);
57454     result = (arg1)->ReadInstructions(arg2,arg3);
57455     {
57456       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
57457       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
57458     }
57459     return SWIG_arg;
57460 
57461     fail: SWIGUNUSED;
57462   }
57463   lua_error(L);
57464   return 0;
57465 }
57466 
57467 
_wrap_SBTarget_ReadInstructions__SWIG_1(lua_State * L)57468 static int _wrap_SBTarget_ReadInstructions__SWIG_1(lua_State* L) {
57469   {
57470     int SWIG_arg = 0;
57471     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57472     lldb::SBAddress arg2 ;
57473     uint32_t arg3 ;
57474     char *arg4 = (char *) 0 ;
57475     lldb::SBAddress *argp2 ;
57476     lldb::SBInstructionList result;
57477 
57478     SWIG_check_num_args("lldb::SBTarget::ReadInstructions",4,4)
57479     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",1,"lldb::SBTarget *");
57480     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",2,"lldb::SBAddress");
57481     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",3,"uint32_t");
57482     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBTarget::ReadInstructions",4,"char const *");
57483 
57484     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57485       SWIG_fail_ptr("SBTarget_ReadInstructions",1,SWIGTYPE_p_lldb__SBTarget);
57486     }
57487 
57488 
57489     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
57490       SWIG_fail_ptr("SBTarget_ReadInstructions",2,SWIGTYPE_p_lldb__SBAddress);
57491     }
57492     arg2 = *argp2;
57493 
57494     arg3 = (uint32_t)lua_tointeger(L, 3);
57495     arg4 = (char *)lua_tostring(L, 4);
57496     result = (arg1)->ReadInstructions(arg2,arg3,(char const *)arg4);
57497     {
57498       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
57499       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
57500     }
57501     return SWIG_arg;
57502 
57503     fail: SWIGUNUSED;
57504   }
57505   lua_error(L);
57506   return 0;
57507 }
57508 
57509 
_wrap_SBTarget_ReadInstructions(lua_State * L)57510 static int _wrap_SBTarget_ReadInstructions(lua_State* L) {
57511   int argc;
57512   int argv[5]={
57513     1,2,3,4,5
57514   };
57515 
57516   argc = lua_gettop(L);
57517   if (argc == 3) {
57518     int _v = 0;
57519     {
57520       void *ptr;
57521       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57522         _v = 0;
57523       } else {
57524         _v = 1;
57525       }
57526     }
57527     if (_v) {
57528       {
57529         void *ptr;
57530         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
57531           _v = 0;
57532         } else {
57533           _v = 1;
57534         }
57535       }
57536       if (_v) {
57537         {
57538           _v = lua_isnumber(L,argv[2]);
57539         }
57540         if (_v) {
57541           return _wrap_SBTarget_ReadInstructions__SWIG_0(L);
57542         }
57543       }
57544     }
57545   }
57546   if (argc == 4) {
57547     int _v = 0;
57548     {
57549       void *ptr;
57550       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57551         _v = 0;
57552       } else {
57553         _v = 1;
57554       }
57555     }
57556     if (_v) {
57557       {
57558         void *ptr;
57559         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
57560           _v = 0;
57561         } else {
57562           _v = 1;
57563         }
57564       }
57565       if (_v) {
57566         {
57567           _v = lua_isnumber(L,argv[2]);
57568         }
57569         if (_v) {
57570           {
57571             _v = SWIG_lua_isnilstring(L,argv[3]);
57572           }
57573           if (_v) {
57574             return _wrap_SBTarget_ReadInstructions__SWIG_1(L);
57575           }
57576         }
57577       }
57578     }
57579   }
57580 
57581   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_ReadInstructions'\n"
57582     "  Possible C/C++ prototypes are:\n"
57583     "    lldb::SBTarget::ReadInstructions(lldb::SBAddress,uint32_t)\n"
57584     "    lldb::SBTarget::ReadInstructions(lldb::SBAddress,uint32_t,char const *)\n");
57585   lua_error(L);return 0;
57586 }
57587 
57588 
_wrap_SBTarget_GetInstructions(lua_State * L)57589 static int _wrap_SBTarget_GetInstructions(lua_State* L) {
57590   {
57591     int SWIG_arg = 0;
57592     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57593     lldb::SBAddress arg2 ;
57594     void *arg3 = (void *) 0 ;
57595     size_t arg4 ;
57596     lldb::SBAddress *argp2 ;
57597     lldb::SBInstructionList result;
57598 
57599     SWIG_check_num_args("lldb::SBTarget::GetInstructions",3,3)
57600     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",1,"lldb::SBTarget *");
57601     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructions",2,"lldb::SBAddress");
57602 
57603     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57604       SWIG_fail_ptr("SBTarget_GetInstructions",1,SWIGTYPE_p_lldb__SBTarget);
57605     }
57606 
57607 
57608     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
57609       SWIG_fail_ptr("SBTarget_GetInstructions",2,SWIGTYPE_p_lldb__SBAddress);
57610     }
57611     arg2 = *argp2;
57612 
57613     {
57614       arg3 = (void *)luaL_checklstring(L, 3, &arg4);
57615     }
57616     result = (arg1)->GetInstructions(arg2,(void const *)arg3,arg4);
57617     {
57618       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
57619       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
57620     }
57621     return SWIG_arg;
57622 
57623     fail: SWIGUNUSED;
57624   }
57625   lua_error(L);
57626   return 0;
57627 }
57628 
57629 
_wrap_SBTarget_GetInstructionsWithFlavor(lua_State * L)57630 static int _wrap_SBTarget_GetInstructionsWithFlavor(lua_State* L) {
57631   {
57632     int SWIG_arg = 0;
57633     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57634     lldb::SBAddress arg2 ;
57635     char *arg3 = (char *) 0 ;
57636     void *arg4 = (void *) 0 ;
57637     size_t arg5 ;
57638     lldb::SBAddress *argp2 ;
57639     lldb::SBInstructionList result;
57640 
57641     SWIG_check_num_args("lldb::SBTarget::GetInstructionsWithFlavor",4,4)
57642     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",1,"lldb::SBTarget *");
57643     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",2,"lldb::SBAddress");
57644     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTarget::GetInstructionsWithFlavor",3,"char const *");
57645 
57646     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57647       SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",1,SWIGTYPE_p_lldb__SBTarget);
57648     }
57649 
57650 
57651     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
57652       SWIG_fail_ptr("SBTarget_GetInstructionsWithFlavor",2,SWIGTYPE_p_lldb__SBAddress);
57653     }
57654     arg2 = *argp2;
57655 
57656     arg3 = (char *)lua_tostring(L, 3);
57657     {
57658       arg4 = (void *)luaL_checklstring(L, 4, &arg5);
57659     }
57660     result = (arg1)->GetInstructionsWithFlavor(arg2,(char const *)arg3,(void const *)arg4,arg5);
57661     {
57662       lldb::SBInstructionList * resultptr = new lldb::SBInstructionList(result);
57663       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBInstructionList,1); SWIG_arg++;
57664     }
57665     return SWIG_arg;
57666 
57667     fail: SWIGUNUSED;
57668   }
57669   lua_error(L);
57670   return 0;
57671 }
57672 
57673 
_wrap_SBTarget_FindSymbols__SWIG_0(lua_State * L)57674 static int _wrap_SBTarget_FindSymbols__SWIG_0(lua_State* L) {
57675   {
57676     int SWIG_arg = 0;
57677     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57678     char *arg2 = (char *) 0 ;
57679     lldb::SymbolType arg3 ;
57680     lldb::SBSymbolContextList result;
57681 
57682     SWIG_check_num_args("lldb::SBTarget::FindSymbols",3,3)
57683     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *");
57684     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *");
57685     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",3,"lldb::SymbolType");
57686 
57687     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57688       SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget);
57689     }
57690 
57691     arg2 = (char *)lua_tostring(L, 2);
57692     arg3 = (lldb::SymbolType)lua_tointeger(L, 3);
57693     result = (arg1)->FindSymbols((char const *)arg2,arg3);
57694     {
57695       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
57696       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
57697     }
57698     return SWIG_arg;
57699 
57700     fail: SWIGUNUSED;
57701   }
57702   lua_error(L);
57703   return 0;
57704 }
57705 
57706 
_wrap_SBTarget_FindSymbols__SWIG_1(lua_State * L)57707 static int _wrap_SBTarget_FindSymbols__SWIG_1(lua_State* L) {
57708   {
57709     int SWIG_arg = 0;
57710     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57711     char *arg2 = (char *) 0 ;
57712     lldb::SBSymbolContextList result;
57713 
57714     SWIG_check_num_args("lldb::SBTarget::FindSymbols",2,2)
57715     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",1,"lldb::SBTarget *");
57716     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::FindSymbols",2,"char const *");
57717 
57718     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57719       SWIG_fail_ptr("SBTarget_FindSymbols",1,SWIGTYPE_p_lldb__SBTarget);
57720     }
57721 
57722     arg2 = (char *)lua_tostring(L, 2);
57723     result = (arg1)->FindSymbols((char const *)arg2);
57724     {
57725       lldb::SBSymbolContextList * resultptr = new lldb::SBSymbolContextList(result);
57726       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBSymbolContextList,1); SWIG_arg++;
57727     }
57728     return SWIG_arg;
57729 
57730     fail: SWIGUNUSED;
57731   }
57732   lua_error(L);
57733   return 0;
57734 }
57735 
57736 
_wrap_SBTarget_FindSymbols(lua_State * L)57737 static int _wrap_SBTarget_FindSymbols(lua_State* L) {
57738   int argc;
57739   int argv[4]={
57740     1,2,3,4
57741   };
57742 
57743   argc = lua_gettop(L);
57744   if (argc == 2) {
57745     int _v = 0;
57746     {
57747       void *ptr;
57748       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57749         _v = 0;
57750       } else {
57751         _v = 1;
57752       }
57753     }
57754     if (_v) {
57755       {
57756         _v = SWIG_lua_isnilstring(L,argv[1]);
57757       }
57758       if (_v) {
57759         return _wrap_SBTarget_FindSymbols__SWIG_1(L);
57760       }
57761     }
57762   }
57763   if (argc == 3) {
57764     int _v = 0;
57765     {
57766       void *ptr;
57767       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57768         _v = 0;
57769       } else {
57770         _v = 1;
57771       }
57772     }
57773     if (_v) {
57774       {
57775         _v = SWIG_lua_isnilstring(L,argv[1]);
57776       }
57777       if (_v) {
57778         {
57779           _v = lua_isnumber(L,argv[2]);
57780         }
57781         if (_v) {
57782           return _wrap_SBTarget_FindSymbols__SWIG_0(L);
57783         }
57784       }
57785     }
57786   }
57787 
57788   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_FindSymbols'\n"
57789     "  Possible C/C++ prototypes are:\n"
57790     "    lldb::SBTarget::FindSymbols(char const *,lldb::SymbolType)\n"
57791     "    lldb::SBTarget::FindSymbols(char const *)\n");
57792   lua_error(L);return 0;
57793 }
57794 
57795 
_wrap_SBTarget___eq(lua_State * L)57796 static int _wrap_SBTarget___eq(lua_State* L) {
57797   {
57798     int SWIG_arg = 0;
57799     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57800     lldb::SBTarget *arg2 = 0 ;
57801     bool result;
57802 
57803     SWIG_check_num_args("lldb::SBTarget::operator ==",2,2)
57804     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::operator ==",1,"lldb::SBTarget const *");
57805     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::operator ==",2,"lldb::SBTarget const &");
57806 
57807     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57808       SWIG_fail_ptr("SBTarget___eq",1,SWIGTYPE_p_lldb__SBTarget);
57809     }
57810 
57811 
57812     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
57813       SWIG_fail_ptr("SBTarget___eq",2,SWIGTYPE_p_lldb__SBTarget);
57814     }
57815 
57816     result = (bool)((lldb::SBTarget const *)arg1)->operator ==((lldb::SBTarget const &)*arg2);
57817     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
57818     return SWIG_arg;
57819 
57820     fail: SWIGUNUSED;
57821   }
57822   lua_error(L);
57823   return 0;
57824 }
57825 
57826 
_wrap_SBTarget_GetDescription(lua_State * L)57827 static int _wrap_SBTarget_GetDescription(lua_State* L) {
57828   {
57829     int SWIG_arg = 0;
57830     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57831     lldb::SBStream *arg2 = 0 ;
57832     lldb::DescriptionLevel arg3 ;
57833     bool result;
57834 
57835     SWIG_check_num_args("lldb::SBTarget::GetDescription",3,3)
57836     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetDescription",1,"lldb::SBTarget *");
57837     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::GetDescription",2,"lldb::SBStream &");
57838     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::GetDescription",3,"lldb::DescriptionLevel");
57839 
57840     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57841       SWIG_fail_ptr("SBTarget_GetDescription",1,SWIGTYPE_p_lldb__SBTarget);
57842     }
57843 
57844 
57845     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
57846       SWIG_fail_ptr("SBTarget_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
57847     }
57848 
57849     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
57850     result = (bool)(arg1)->GetDescription(*arg2,arg3);
57851     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
57852     return SWIG_arg;
57853 
57854     fail: SWIGUNUSED;
57855   }
57856   lua_error(L);
57857   return 0;
57858 }
57859 
57860 
_wrap_SBTarget_EvaluateExpression__SWIG_0(lua_State * L)57861 static int _wrap_SBTarget_EvaluateExpression__SWIG_0(lua_State* L) {
57862   {
57863     int SWIG_arg = 0;
57864     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57865     char *arg2 = (char *) 0 ;
57866     lldb::SBValue result;
57867 
57868     SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",2,2)
57869     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *");
57870     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *");
57871 
57872     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57873       SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget);
57874     }
57875 
57876     arg2 = (char *)lua_tostring(L, 2);
57877     result = (arg1)->EvaluateExpression((char const *)arg2);
57878     {
57879       lldb::SBValue * resultptr = new lldb::SBValue(result);
57880       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
57881     }
57882     return SWIG_arg;
57883 
57884     fail: SWIGUNUSED;
57885   }
57886   lua_error(L);
57887   return 0;
57888 }
57889 
57890 
_wrap_SBTarget_EvaluateExpression__SWIG_1(lua_State * L)57891 static int _wrap_SBTarget_EvaluateExpression__SWIG_1(lua_State* L) {
57892   {
57893     int SWIG_arg = 0;
57894     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57895     char *arg2 = (char *) 0 ;
57896     lldb::SBExpressionOptions *arg3 = 0 ;
57897     lldb::SBValue result;
57898 
57899     SWIG_check_num_args("lldb::SBTarget::EvaluateExpression",3,3)
57900     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",1,"lldb::SBTarget *");
57901     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",2,"char const *");
57902     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTarget::EvaluateExpression",3,"lldb::SBExpressionOptions const &");
57903 
57904     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
57905       SWIG_fail_ptr("SBTarget_EvaluateExpression",1,SWIGTYPE_p_lldb__SBTarget);
57906     }
57907 
57908     arg2 = (char *)lua_tostring(L, 2);
57909 
57910     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
57911       SWIG_fail_ptr("SBTarget_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions);
57912     }
57913 
57914     result = (arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3);
57915     {
57916       lldb::SBValue * resultptr = new lldb::SBValue(result);
57917       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
57918     }
57919     return SWIG_arg;
57920 
57921     fail: SWIGUNUSED;
57922   }
57923   lua_error(L);
57924   return 0;
57925 }
57926 
57927 
_wrap_SBTarget_EvaluateExpression(lua_State * L)57928 static int _wrap_SBTarget_EvaluateExpression(lua_State* L) {
57929   int argc;
57930   int argv[4]={
57931     1,2,3,4
57932   };
57933 
57934   argc = lua_gettop(L);
57935   if (argc == 2) {
57936     int _v = 0;
57937     {
57938       void *ptr;
57939       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57940         _v = 0;
57941       } else {
57942         _v = 1;
57943       }
57944     }
57945     if (_v) {
57946       {
57947         _v = SWIG_lua_isnilstring(L,argv[1]);
57948       }
57949       if (_v) {
57950         return _wrap_SBTarget_EvaluateExpression__SWIG_0(L);
57951       }
57952     }
57953   }
57954   if (argc == 3) {
57955     int _v = 0;
57956     {
57957       void *ptr;
57958       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
57959         _v = 0;
57960       } else {
57961         _v = 1;
57962       }
57963     }
57964     if (_v) {
57965       {
57966         _v = SWIG_lua_isnilstring(L,argv[1]);
57967       }
57968       if (_v) {
57969         {
57970           void *ptr;
57971           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
57972             _v = 0;
57973           } else {
57974             _v = 1;
57975           }
57976         }
57977         if (_v) {
57978           return _wrap_SBTarget_EvaluateExpression__SWIG_1(L);
57979         }
57980       }
57981     }
57982   }
57983 
57984   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTarget_EvaluateExpression'\n"
57985     "  Possible C/C++ prototypes are:\n"
57986     "    lldb::SBTarget::EvaluateExpression(char const *)\n"
57987     "    lldb::SBTarget::EvaluateExpression(char const *,lldb::SBExpressionOptions const &)\n");
57988   lua_error(L);return 0;
57989 }
57990 
57991 
_wrap_SBTarget_GetStackRedZoneSize(lua_State * L)57992 static int _wrap_SBTarget_GetStackRedZoneSize(lua_State* L) {
57993   {
57994     int SWIG_arg = 0;
57995     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
57996     lldb::addr_t result;
57997 
57998     SWIG_check_num_args("lldb::SBTarget::GetStackRedZoneSize",1,1)
57999     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetStackRedZoneSize",1,"lldb::SBTarget *");
58000 
58001     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58002       SWIG_fail_ptr("SBTarget_GetStackRedZoneSize",1,SWIGTYPE_p_lldb__SBTarget);
58003     }
58004 
58005     result = (lldb::addr_t)(arg1)->GetStackRedZoneSize();
58006     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58007     return SWIG_arg;
58008 
58009     fail: SWIGUNUSED;
58010   }
58011   lua_error(L);
58012   return 0;
58013 }
58014 
58015 
_wrap_SBTarget_IsLoaded(lua_State * L)58016 static int _wrap_SBTarget_IsLoaded(lua_State* L) {
58017   {
58018     int SWIG_arg = 0;
58019     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58020     lldb::SBModule *arg2 = 0 ;
58021     bool result;
58022 
58023     SWIG_check_num_args("lldb::SBTarget::IsLoaded",2,2)
58024     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",1,"lldb::SBTarget const *");
58025     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::IsLoaded",2,"lldb::SBModule const &");
58026 
58027     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58028       SWIG_fail_ptr("SBTarget_IsLoaded",1,SWIGTYPE_p_lldb__SBTarget);
58029     }
58030 
58031 
58032     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBModule,0))){
58033       SWIG_fail_ptr("SBTarget_IsLoaded",2,SWIGTYPE_p_lldb__SBModule);
58034     }
58035 
58036     result = (bool)((lldb::SBTarget const *)arg1)->IsLoaded((lldb::SBModule const &)*arg2);
58037     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
58038     return SWIG_arg;
58039 
58040     fail: SWIGUNUSED;
58041   }
58042   lua_error(L);
58043   return 0;
58044 }
58045 
58046 
_wrap_SBTarget_GetLaunchInfo(lua_State * L)58047 static int _wrap_SBTarget_GetLaunchInfo(lua_State* L) {
58048   {
58049     int SWIG_arg = 0;
58050     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58051     SwigValueWrapper< lldb::SBLaunchInfo > result;
58052 
58053     SWIG_check_num_args("lldb::SBTarget::GetLaunchInfo",1,1)
58054     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetLaunchInfo",1,"lldb::SBTarget const *");
58055 
58056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58057       SWIG_fail_ptr("SBTarget_GetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget);
58058     }
58059 
58060     result = ((lldb::SBTarget const *)arg1)->GetLaunchInfo();
58061     {
58062       lldb::SBLaunchInfo * resultptr = new lldb::SBLaunchInfo(result);
58063       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBLaunchInfo,1); SWIG_arg++;
58064     }
58065     return SWIG_arg;
58066 
58067     fail: SWIGUNUSED;
58068   }
58069   lua_error(L);
58070   return 0;
58071 }
58072 
58073 
_wrap_SBTarget_SetLaunchInfo(lua_State * L)58074 static int _wrap_SBTarget_SetLaunchInfo(lua_State* L) {
58075   {
58076     int SWIG_arg = 0;
58077     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58078     lldb::SBLaunchInfo *arg2 = 0 ;
58079 
58080     SWIG_check_num_args("lldb::SBTarget::SetLaunchInfo",2,2)
58081     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",1,"lldb::SBTarget *");
58082     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::SetLaunchInfo",2,"lldb::SBLaunchInfo const &");
58083 
58084     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58085       SWIG_fail_ptr("SBTarget_SetLaunchInfo",1,SWIGTYPE_p_lldb__SBTarget);
58086     }
58087 
58088 
58089     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBLaunchInfo,0))){
58090       SWIG_fail_ptr("SBTarget_SetLaunchInfo",2,SWIGTYPE_p_lldb__SBLaunchInfo);
58091     }
58092 
58093     (arg1)->SetLaunchInfo((lldb::SBLaunchInfo const &)*arg2);
58094 
58095     return SWIG_arg;
58096 
58097     fail: SWIGUNUSED;
58098   }
58099   lua_error(L);
58100   return 0;
58101 }
58102 
58103 
_wrap_SBTarget_GetTrace(lua_State * L)58104 static int _wrap_SBTarget_GetTrace(lua_State* L) {
58105   {
58106     int SWIG_arg = 0;
58107     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58108     lldb::SBTrace result;
58109 
58110     SWIG_check_num_args("lldb::SBTarget::GetTrace",1,1)
58111     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::GetTrace",1,"lldb::SBTarget *");
58112 
58113     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58114       SWIG_fail_ptr("SBTarget_GetTrace",1,SWIGTYPE_p_lldb__SBTarget);
58115     }
58116 
58117     result = (arg1)->GetTrace();
58118     {
58119       lldb::SBTrace * resultptr = new lldb::SBTrace(result);
58120       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++;
58121     }
58122     return SWIG_arg;
58123 
58124     fail: SWIGUNUSED;
58125   }
58126   lua_error(L);
58127   return 0;
58128 }
58129 
58130 
_wrap_SBTarget_CreateTrace(lua_State * L)58131 static int _wrap_SBTarget_CreateTrace(lua_State* L) {
58132   {
58133     int SWIG_arg = 0;
58134     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58135     lldb::SBError *arg2 = 0 ;
58136     lldb::SBTrace result;
58137 
58138     SWIG_check_num_args("lldb::SBTarget::CreateTrace",2,2)
58139     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",1,"lldb::SBTarget *");
58140     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTarget::CreateTrace",2,"lldb::SBError &");
58141 
58142     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58143       SWIG_fail_ptr("SBTarget_CreateTrace",1,SWIGTYPE_p_lldb__SBTarget);
58144     }
58145 
58146 
58147     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
58148       SWIG_fail_ptr("SBTarget_CreateTrace",2,SWIGTYPE_p_lldb__SBError);
58149     }
58150 
58151     result = (arg1)->CreateTrace(*arg2);
58152     {
58153       lldb::SBTrace * resultptr = new lldb::SBTrace(result);
58154       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++;
58155     }
58156     return SWIG_arg;
58157 
58158     fail: SWIGUNUSED;
58159   }
58160   lua_error(L);
58161   return 0;
58162 }
58163 
58164 
_wrap_SBTarget___tostring(lua_State * L)58165 static int _wrap_SBTarget___tostring(lua_State* L) {
58166   {
58167     int SWIG_arg = 0;
58168     lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ;
58169     std::string result;
58170 
58171     SWIG_check_num_args("lldb::SBTarget::__repr__",1,1)
58172     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::__repr__",1,"lldb::SBTarget *");
58173 
58174     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){
58175       SWIG_fail_ptr("SBTarget___tostring",1,SWIGTYPE_p_lldb__SBTarget);
58176     }
58177 
58178     result = lldb_SBTarget___repr__(arg1);
58179     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
58180     return SWIG_arg;
58181 
58182     fail: SWIGUNUSED;
58183   }
58184   lua_error(L);
58185   return 0;
58186 }
58187 
58188 
swig_delete_SBTarget(void * obj)58189 static void swig_delete_SBTarget(void *obj) {
58190 lldb::SBTarget *arg1 = (lldb::SBTarget *) obj;
58191 delete arg1;
58192 }
_proxy__wrap_new_SBTarget(lua_State * L)58193 static int _proxy__wrap_new_SBTarget(lua_State *L) {
58194     assert(lua_istable(L,1));
58195     lua_pushcfunction(L,_wrap_new_SBTarget);
58196     assert(!lua_isnil(L,-1));
58197     lua_replace(L,1); /* replace our table with real constructor */
58198     lua_call(L,lua_gettop(L)-1,1);
58199     return 1;
58200 }
58201 static swig_lua_attribute swig_SBTarget_attributes[] = {
58202     {0,0,0}
58203 };
58204 static swig_lua_method swig_SBTarget_methods[]= {
58205     { "IsValid", _wrap_SBTarget_IsValid},
58206     { "GetProcess", _wrap_SBTarget_GetProcess},
58207     { "SetCollectingStats", _wrap_SBTarget_SetCollectingStats},
58208     { "GetCollectingStats", _wrap_SBTarget_GetCollectingStats},
58209     { "GetStatistics", _wrap_SBTarget_GetStatistics},
58210     { "GetPlatform", _wrap_SBTarget_GetPlatform},
58211     { "GetEnvironment", _wrap_SBTarget_GetEnvironment},
58212     { "Install", _wrap_SBTarget_Install},
58213     { "LoadCore", _wrap_SBTarget_LoadCore},
58214     { "LaunchSimple", _wrap_SBTarget_LaunchSimple},
58215     { "Launch", _wrap_SBTarget_Launch},
58216     { "Attach", _wrap_SBTarget_Attach},
58217     { "AttachToProcessWithID", _wrap_SBTarget_AttachToProcessWithID},
58218     { "AttachToProcessWithName", _wrap_SBTarget_AttachToProcessWithName},
58219     { "ConnectRemote", _wrap_SBTarget_ConnectRemote},
58220     { "GetExecutable", _wrap_SBTarget_GetExecutable},
58221     { "AppendImageSearchPath", _wrap_SBTarget_AppendImageSearchPath},
58222     { "AddModule", _wrap_SBTarget_AddModule},
58223     { "GetNumModules", _wrap_SBTarget_GetNumModules},
58224     { "GetModuleAtIndex", _wrap_SBTarget_GetModuleAtIndex},
58225     { "RemoveModule", _wrap_SBTarget_RemoveModule},
58226     { "GetDebugger", _wrap_SBTarget_GetDebugger},
58227     { "FindModule", _wrap_SBTarget_FindModule},
58228     { "FindCompileUnits", _wrap_SBTarget_FindCompileUnits},
58229     { "GetByteOrder", _wrap_SBTarget_GetByteOrder},
58230     { "GetAddressByteSize", _wrap_SBTarget_GetAddressByteSize},
58231     { "GetTriple", _wrap_SBTarget_GetTriple},
58232     { "GetABIName", _wrap_SBTarget_GetABIName},
58233     { "GetLabel", _wrap_SBTarget_GetLabel},
58234     { "SetLabel", _wrap_SBTarget_SetLabel},
58235     { "GetDataByteSize", _wrap_SBTarget_GetDataByteSize},
58236     { "GetCodeByteSize", _wrap_SBTarget_GetCodeByteSize},
58237     { "GetMaximumNumberOfChildrenToDisplay", _wrap_SBTarget_GetMaximumNumberOfChildrenToDisplay},
58238     { "SetSectionLoadAddress", _wrap_SBTarget_SetSectionLoadAddress},
58239     { "ClearSectionLoadAddress", _wrap_SBTarget_ClearSectionLoadAddress},
58240     { "SetModuleLoadAddress", _wrap_SBTarget_SetModuleLoadAddress},
58241     { "ClearModuleLoadAddress", _wrap_SBTarget_ClearModuleLoadAddress},
58242     { "FindFunctions", _wrap_SBTarget_FindFunctions},
58243     { "FindFirstGlobalVariable", _wrap_SBTarget_FindFirstGlobalVariable},
58244     { "FindGlobalVariables", _wrap_SBTarget_FindGlobalVariables},
58245     { "FindGlobalFunctions", _wrap_SBTarget_FindGlobalFunctions},
58246     { "Clear", _wrap_SBTarget_Clear},
58247     { "ResolveFileAddress", _wrap_SBTarget_ResolveFileAddress},
58248     { "ResolveLoadAddress", _wrap_SBTarget_ResolveLoadAddress},
58249     { "ResolvePastLoadAddress", _wrap_SBTarget_ResolvePastLoadAddress},
58250     { "ResolveSymbolContextForAddress", _wrap_SBTarget_ResolveSymbolContextForAddress},
58251     { "ReadMemory", _wrap_SBTarget_ReadMemory},
58252     { "BreakpointCreateByLocation", _wrap_SBTarget_BreakpointCreateByLocation},
58253     { "BreakpointCreateByName", _wrap_SBTarget_BreakpointCreateByName},
58254     { "BreakpointCreateByNames", _wrap_SBTarget_BreakpointCreateByNames},
58255     { "BreakpointCreateByRegex", _wrap_SBTarget_BreakpointCreateByRegex},
58256     { "BreakpointCreateBySourceRegex", _wrap_SBTarget_BreakpointCreateBySourceRegex},
58257     { "BreakpointCreateForException", _wrap_SBTarget_BreakpointCreateForException},
58258     { "BreakpointCreateByAddress", _wrap_SBTarget_BreakpointCreateByAddress},
58259     { "BreakpointCreateBySBAddress", _wrap_SBTarget_BreakpointCreateBySBAddress},
58260     { "BreakpointCreateFromScript", _wrap_SBTarget_BreakpointCreateFromScript},
58261     { "BreakpointsCreateFromFile", _wrap_SBTarget_BreakpointsCreateFromFile},
58262     { "BreakpointsWriteToFile", _wrap_SBTarget_BreakpointsWriteToFile},
58263     { "GetNumBreakpoints", _wrap_SBTarget_GetNumBreakpoints},
58264     { "GetBreakpointAtIndex", _wrap_SBTarget_GetBreakpointAtIndex},
58265     { "BreakpointDelete", _wrap_SBTarget_BreakpointDelete},
58266     { "FindBreakpointByID", _wrap_SBTarget_FindBreakpointByID},
58267     { "FindBreakpointsByName", _wrap_SBTarget_FindBreakpointsByName},
58268     { "GetBreakpointNames", _wrap_SBTarget_GetBreakpointNames},
58269     { "DeleteBreakpointName", _wrap_SBTarget_DeleteBreakpointName},
58270     { "EnableAllBreakpoints", _wrap_SBTarget_EnableAllBreakpoints},
58271     { "DisableAllBreakpoints", _wrap_SBTarget_DisableAllBreakpoints},
58272     { "DeleteAllBreakpoints", _wrap_SBTarget_DeleteAllBreakpoints},
58273     { "GetNumWatchpoints", _wrap_SBTarget_GetNumWatchpoints},
58274     { "GetWatchpointAtIndex", _wrap_SBTarget_GetWatchpointAtIndex},
58275     { "DeleteWatchpoint", _wrap_SBTarget_DeleteWatchpoint},
58276     { "FindWatchpointByID", _wrap_SBTarget_FindWatchpointByID},
58277     { "WatchAddress", _wrap_SBTarget_WatchAddress},
58278     { "WatchpointCreateByAddress", _wrap_SBTarget_WatchpointCreateByAddress},
58279     { "EnableAllWatchpoints", _wrap_SBTarget_EnableAllWatchpoints},
58280     { "DisableAllWatchpoints", _wrap_SBTarget_DisableAllWatchpoints},
58281     { "DeleteAllWatchpoints", _wrap_SBTarget_DeleteAllWatchpoints},
58282     { "GetBroadcaster", _wrap_SBTarget_GetBroadcaster},
58283     { "FindFirstType", _wrap_SBTarget_FindFirstType},
58284     { "FindTypes", _wrap_SBTarget_FindTypes},
58285     { "GetBasicType", _wrap_SBTarget_GetBasicType},
58286     { "CreateValueFromAddress", _wrap_SBTarget_CreateValueFromAddress},
58287     { "CreateValueFromData", _wrap_SBTarget_CreateValueFromData},
58288     { "CreateValueFromExpression", _wrap_SBTarget_CreateValueFromExpression},
58289     { "GetSourceManager", _wrap_SBTarget_GetSourceManager},
58290     { "ReadInstructions", _wrap_SBTarget_ReadInstructions},
58291     { "GetInstructions", _wrap_SBTarget_GetInstructions},
58292     { "GetInstructionsWithFlavor", _wrap_SBTarget_GetInstructionsWithFlavor},
58293     { "FindSymbols", _wrap_SBTarget_FindSymbols},
58294     { "__eq", _wrap_SBTarget___eq},
58295     { "GetDescription", _wrap_SBTarget_GetDescription},
58296     { "EvaluateExpression", _wrap_SBTarget_EvaluateExpression},
58297     { "GetStackRedZoneSize", _wrap_SBTarget_GetStackRedZoneSize},
58298     { "IsLoaded", _wrap_SBTarget_IsLoaded},
58299     { "GetLaunchInfo", _wrap_SBTarget_GetLaunchInfo},
58300     { "SetLaunchInfo", _wrap_SBTarget_SetLaunchInfo},
58301     { "GetTrace", _wrap_SBTarget_GetTrace},
58302     { "CreateTrace", _wrap_SBTarget_CreateTrace},
58303     { "__tostring", _wrap_SBTarget___tostring},
58304     {0,0}
58305 };
58306 static swig_lua_method swig_SBTarget_meta[] = {
58307     { "__eq", _wrap_SBTarget___eq},
58308     { "__tostring", _wrap_SBTarget___tostring},
58309     {0,0}
58310 };
58311 
58312 static swig_lua_attribute swig_SBTarget_Sf_SwigStatic_attributes[] = {
58313     {0,0,0}
58314 };
58315 static swig_lua_const_info swig_SBTarget_Sf_SwigStatic_constants[]= {
58316     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitBreakpointChanged", lldb::SBTarget::eBroadcastBitBreakpointChanged)},
58317     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitModulesLoaded", lldb::SBTarget::eBroadcastBitModulesLoaded)},
58318     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitModulesUnloaded", lldb::SBTarget::eBroadcastBitModulesUnloaded)},
58319     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitWatchpointChanged", lldb::SBTarget::eBroadcastBitWatchpointChanged)},
58320     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitSymbolsLoaded", lldb::SBTarget::eBroadcastBitSymbolsLoaded)},
58321     {0,0,0,0,0,0}
58322 };
58323 static swig_lua_method swig_SBTarget_Sf_SwigStatic_methods[]= {
58324     { "EventIsTargetEvent", _wrap_SBTarget_EventIsTargetEvent},
58325     { "GetTargetFromEvent", _wrap_SBTarget_GetTargetFromEvent},
58326     { "GetNumModulesFromEvent", _wrap_SBTarget_GetNumModulesFromEvent},
58327     { "GetModuleAtIndexFromEvent", _wrap_SBTarget_GetModuleAtIndexFromEvent},
58328     { "GetBroadcasterClassName", _wrap_SBTarget_GetBroadcasterClassName},
58329     {0,0}
58330 };
58331 static swig_lua_class* swig_SBTarget_Sf_SwigStatic_classes[]= {
58332     0
58333 };
58334 
58335 static swig_lua_namespace swig_SBTarget_Sf_SwigStatic = {
58336     "SBTarget",
58337     swig_SBTarget_Sf_SwigStatic_methods,
58338     swig_SBTarget_Sf_SwigStatic_attributes,
58339     swig_SBTarget_Sf_SwigStatic_constants,
58340     swig_SBTarget_Sf_SwigStatic_classes,
58341     0
58342 };
58343 static swig_lua_class *swig_SBTarget_bases[] = {0};
58344 static const char *swig_SBTarget_base_names[] = {0};
58345 static swig_lua_class _wrap_class_SBTarget = { "SBTarget", "SBTarget", &SWIGTYPE_p_lldb__SBTarget,_proxy__wrap_new_SBTarget, swig_delete_SBTarget, swig_SBTarget_methods, swig_SBTarget_attributes, &swig_SBTarget_Sf_SwigStatic, swig_SBTarget_meta, swig_SBTarget_bases, swig_SBTarget_base_names };
58346 
_wrap_SBThread_GetBroadcasterClassName(lua_State * L)58347 static int _wrap_SBThread_GetBroadcasterClassName(lua_State* L) {
58348   {
58349     int SWIG_arg = 0;
58350     char *result = 0 ;
58351 
58352     SWIG_check_num_args("lldb::SBThread::GetBroadcasterClassName",0,0)
58353     result = (char *)lldb::SBThread::GetBroadcasterClassName();
58354     lua_pushstring(L,(const char *)result); SWIG_arg++;
58355     return SWIG_arg;
58356 
58357     fail: SWIGUNUSED;
58358   }
58359   lua_error(L);
58360   return 0;
58361 }
58362 
58363 
_wrap_new_SBThread__SWIG_0(lua_State * L)58364 static int _wrap_new_SBThread__SWIG_0(lua_State* L) {
58365   {
58366     int SWIG_arg = 0;
58367     lldb::SBThread *result = 0 ;
58368 
58369     SWIG_check_num_args("lldb::SBThread::SBThread",0,0)
58370     result = (lldb::SBThread *)new lldb::SBThread();
58371     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
58372     return SWIG_arg;
58373 
58374     fail: SWIGUNUSED;
58375   }
58376   lua_error(L);
58377   return 0;
58378 }
58379 
58380 
_wrap_new_SBThread__SWIG_1(lua_State * L)58381 static int _wrap_new_SBThread__SWIG_1(lua_State* L) {
58382   {
58383     int SWIG_arg = 0;
58384     lldb::SBThread *arg1 = 0 ;
58385     lldb::SBThread *result = 0 ;
58386 
58387     SWIG_check_num_args("lldb::SBThread::SBThread",1,1)
58388     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::SBThread",1,"lldb::SBThread const &");
58389 
58390     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58391       SWIG_fail_ptr("new_SBThread",1,SWIGTYPE_p_lldb__SBThread);
58392     }
58393 
58394     result = (lldb::SBThread *)new lldb::SBThread((lldb::SBThread const &)*arg1);
58395     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
58396     return SWIG_arg;
58397 
58398     fail: SWIGUNUSED;
58399   }
58400   lua_error(L);
58401   return 0;
58402 }
58403 
58404 
_wrap_new_SBThread(lua_State * L)58405 static int _wrap_new_SBThread(lua_State* L) {
58406   int argc;
58407   int argv[2]={
58408     1,2
58409   };
58410 
58411   argc = lua_gettop(L);
58412   if (argc == 0) {
58413     return _wrap_new_SBThread__SWIG_0(L);
58414   }
58415   if (argc == 1) {
58416     int _v = 0;
58417     {
58418       void *ptr;
58419       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
58420         _v = 0;
58421       } else {
58422         _v = 1;
58423       }
58424     }
58425     if (_v) {
58426       return _wrap_new_SBThread__SWIG_1(L);
58427     }
58428   }
58429 
58430   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBThread'\n"
58431     "  Possible C/C++ prototypes are:\n"
58432     "    lldb::SBThread::SBThread()\n"
58433     "    lldb::SBThread::SBThread(lldb::SBThread const &)\n");
58434   lua_error(L);return 0;
58435 }
58436 
58437 
_wrap_SBThread_GetQueue(lua_State * L)58438 static int _wrap_SBThread_GetQueue(lua_State* L) {
58439   {
58440     int SWIG_arg = 0;
58441     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58442     lldb::SBQueue result;
58443 
58444     SWIG_check_num_args("lldb::SBThread::GetQueue",1,1)
58445     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueue",1,"lldb::SBThread const *");
58446 
58447     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58448       SWIG_fail_ptr("SBThread_GetQueue",1,SWIGTYPE_p_lldb__SBThread);
58449     }
58450 
58451     result = ((lldb::SBThread const *)arg1)->GetQueue();
58452     {
58453       lldb::SBQueue * resultptr = new lldb::SBQueue(result);
58454       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBQueue,1); SWIG_arg++;
58455     }
58456     return SWIG_arg;
58457 
58458     fail: SWIGUNUSED;
58459   }
58460   lua_error(L);
58461   return 0;
58462 }
58463 
58464 
_wrap_SBThread_IsValid(lua_State * L)58465 static int _wrap_SBThread_IsValid(lua_State* L) {
58466   {
58467     int SWIG_arg = 0;
58468     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58469     bool result;
58470 
58471     SWIG_check_num_args("lldb::SBThread::IsValid",1,1)
58472     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsValid",1,"lldb::SBThread const *");
58473 
58474     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58475       SWIG_fail_ptr("SBThread_IsValid",1,SWIGTYPE_p_lldb__SBThread);
58476     }
58477 
58478     result = (bool)((lldb::SBThread const *)arg1)->IsValid();
58479     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
58480     return SWIG_arg;
58481 
58482     fail: SWIGUNUSED;
58483   }
58484   lua_error(L);
58485   return 0;
58486 }
58487 
58488 
_wrap_SBThread_Clear(lua_State * L)58489 static int _wrap_SBThread_Clear(lua_State* L) {
58490   {
58491     int SWIG_arg = 0;
58492     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58493 
58494     SWIG_check_num_args("lldb::SBThread::Clear",1,1)
58495     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Clear",1,"lldb::SBThread *");
58496 
58497     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58498       SWIG_fail_ptr("SBThread_Clear",1,SWIGTYPE_p_lldb__SBThread);
58499     }
58500 
58501     (arg1)->Clear();
58502 
58503     return SWIG_arg;
58504 
58505     fail: SWIGUNUSED;
58506   }
58507   lua_error(L);
58508   return 0;
58509 }
58510 
58511 
_wrap_SBThread_GetStopReason(lua_State * L)58512 static int _wrap_SBThread_GetStopReason(lua_State* L) {
58513   {
58514     int SWIG_arg = 0;
58515     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58516     lldb::StopReason result;
58517 
58518     SWIG_check_num_args("lldb::SBThread::GetStopReason",1,1)
58519     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReason",1,"lldb::SBThread *");
58520 
58521     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58522       SWIG_fail_ptr("SBThread_GetStopReason",1,SWIGTYPE_p_lldb__SBThread);
58523     }
58524 
58525     result = (lldb::StopReason)(arg1)->GetStopReason();
58526     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58527     return SWIG_arg;
58528 
58529     fail: SWIGUNUSED;
58530   }
58531   lua_error(L);
58532   return 0;
58533 }
58534 
58535 
_wrap_SBThread_GetStopReasonDataCount(lua_State * L)58536 static int _wrap_SBThread_GetStopReasonDataCount(lua_State* L) {
58537   {
58538     int SWIG_arg = 0;
58539     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58540     size_t result;
58541 
58542     SWIG_check_num_args("lldb::SBThread::GetStopReasonDataCount",1,1)
58543     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataCount",1,"lldb::SBThread *");
58544 
58545     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58546       SWIG_fail_ptr("SBThread_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThread);
58547     }
58548 
58549     result = (arg1)->GetStopReasonDataCount();
58550     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58551     return SWIG_arg;
58552 
58553     fail: SWIGUNUSED;
58554   }
58555   lua_error(L);
58556   return 0;
58557 }
58558 
58559 
_wrap_SBThread_GetStopReasonDataAtIndex(lua_State * L)58560 static int _wrap_SBThread_GetStopReasonDataAtIndex(lua_State* L) {
58561   {
58562     int SWIG_arg = 0;
58563     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58564     uint32_t arg2 ;
58565     uint64_t result;
58566 
58567     SWIG_check_num_args("lldb::SBThread::GetStopReasonDataAtIndex",2,2)
58568     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",1,"lldb::SBThread *");
58569     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonDataAtIndex",2,"uint32_t");
58570 
58571     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58572       SWIG_fail_ptr("SBThread_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThread);
58573     }
58574 
58575     arg2 = (uint32_t)lua_tointeger(L, 2);
58576     result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2);
58577     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58578     return SWIG_arg;
58579 
58580     fail: SWIGUNUSED;
58581   }
58582   lua_error(L);
58583   return 0;
58584 }
58585 
58586 
_wrap_SBThread_GetStopReasonExtendedInfoAsJSON(lua_State * L)58587 static int _wrap_SBThread_GetStopReasonExtendedInfoAsJSON(lua_State* L) {
58588   {
58589     int SWIG_arg = 0;
58590     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58591     lldb::SBStream *arg2 = 0 ;
58592     bool result;
58593 
58594     SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,2)
58595     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",1,"lldb::SBThread *");
58596     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedInfoAsJSON",2,"lldb::SBStream &");
58597 
58598     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58599       SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",1,SWIGTYPE_p_lldb__SBThread);
58600     }
58601 
58602 
58603     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
58604       SWIG_fail_ptr("SBThread_GetStopReasonExtendedInfoAsJSON",2,SWIGTYPE_p_lldb__SBStream);
58605     }
58606 
58607     result = (bool)(arg1)->GetStopReasonExtendedInfoAsJSON(*arg2);
58608     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
58609     return SWIG_arg;
58610 
58611     fail: SWIGUNUSED;
58612   }
58613   lua_error(L);
58614   return 0;
58615 }
58616 
58617 
_wrap_SBThread_GetStopReasonExtendedBacktraces(lua_State * L)58618 static int _wrap_SBThread_GetStopReasonExtendedBacktraces(lua_State* L) {
58619   {
58620     int SWIG_arg = 0;
58621     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58622     lldb::InstrumentationRuntimeType arg2 ;
58623     lldb::SBThreadCollection result;
58624 
58625     SWIG_check_num_args("lldb::SBThread::GetStopReasonExtendedBacktraces",2,2)
58626     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",1,"lldb::SBThread *");
58627     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetStopReasonExtendedBacktraces",2,"lldb::InstrumentationRuntimeType");
58628 
58629     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58630       SWIG_fail_ptr("SBThread_GetStopReasonExtendedBacktraces",1,SWIGTYPE_p_lldb__SBThread);
58631     }
58632 
58633     arg2 = (lldb::InstrumentationRuntimeType)lua_tointeger(L, 2);
58634     result = (arg1)->GetStopReasonExtendedBacktraces(arg2);
58635     {
58636       lldb::SBThreadCollection * resultptr = new lldb::SBThreadCollection(result);
58637       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++;
58638     }
58639     return SWIG_arg;
58640 
58641     fail: SWIGUNUSED;
58642   }
58643   lua_error(L);
58644   return 0;
58645 }
58646 
58647 
_wrap_SBThread_GetStopDescription(lua_State * L)58648 static int _wrap_SBThread_GetStopDescription(lua_State* L) {
58649   {
58650     int SWIG_arg = 0;
58651     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58652     char *arg2 = (char *) 0 ;
58653     size_t arg3 ;
58654     size_t result;
58655 
58656     SWIG_check_num_args("lldb::SBThread::GetStopDescription",2,2)
58657     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopDescription",1,"lldb::SBThread *");
58658 
58659     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58660       SWIG_fail_ptr("SBThread_GetStopDescription",1,SWIGTYPE_p_lldb__SBThread);
58661     }
58662 
58663     {
58664       arg3 = luaL_checkinteger(L, 2);
58665       if (arg3 <= 0) {
58666         return luaL_error(L, "Positive integer expected");
58667       }
58668       arg2 = (char *)malloc(arg3);
58669     }
58670     result = (arg1)->GetStopDescription(arg2,arg3);
58671     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58672     {
58673       lua_pop(L, 1); // Blow away the previous result
58674       lua_pushlstring(L, (const char *)arg2, result);
58675       free(arg2);
58676       // SWIG_arg was already incremented
58677     }
58678     return SWIG_arg;
58679 
58680     fail: SWIGUNUSED;
58681   }
58682   lua_error(L);
58683   return 0;
58684 }
58685 
58686 
_wrap_SBThread_GetStopReturnValue(lua_State * L)58687 static int _wrap_SBThread_GetStopReturnValue(lua_State* L) {
58688   {
58689     int SWIG_arg = 0;
58690     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58691     lldb::SBValue result;
58692 
58693     SWIG_check_num_args("lldb::SBThread::GetStopReturnValue",1,1)
58694     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStopReturnValue",1,"lldb::SBThread *");
58695 
58696     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58697       SWIG_fail_ptr("SBThread_GetStopReturnValue",1,SWIGTYPE_p_lldb__SBThread);
58698     }
58699 
58700     result = (arg1)->GetStopReturnValue();
58701     {
58702       lldb::SBValue * resultptr = new lldb::SBValue(result);
58703       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
58704     }
58705     return SWIG_arg;
58706 
58707     fail: SWIGUNUSED;
58708   }
58709   lua_error(L);
58710   return 0;
58711 }
58712 
58713 
_wrap_SBThread_GetThreadID(lua_State * L)58714 static int _wrap_SBThread_GetThreadID(lua_State* L) {
58715   {
58716     int SWIG_arg = 0;
58717     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58718     lldb::tid_t result;
58719 
58720     SWIG_check_num_args("lldb::SBThread::GetThreadID",1,1)
58721     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadID",1,"lldb::SBThread const *");
58722 
58723     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58724       SWIG_fail_ptr("SBThread_GetThreadID",1,SWIGTYPE_p_lldb__SBThread);
58725     }
58726 
58727     result = (lldb::tid_t)((lldb::SBThread const *)arg1)->GetThreadID();
58728     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58729     return SWIG_arg;
58730 
58731     fail: SWIGUNUSED;
58732   }
58733   lua_error(L);
58734   return 0;
58735 }
58736 
58737 
_wrap_SBThread_GetIndexID(lua_State * L)58738 static int _wrap_SBThread_GetIndexID(lua_State* L) {
58739   {
58740     int SWIG_arg = 0;
58741     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58742     uint32_t result;
58743 
58744     SWIG_check_num_args("lldb::SBThread::GetIndexID",1,1)
58745     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetIndexID",1,"lldb::SBThread const *");
58746 
58747     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58748       SWIG_fail_ptr("SBThread_GetIndexID",1,SWIGTYPE_p_lldb__SBThread);
58749     }
58750 
58751     result = (uint32_t)((lldb::SBThread const *)arg1)->GetIndexID();
58752     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58753     return SWIG_arg;
58754 
58755     fail: SWIGUNUSED;
58756   }
58757   lua_error(L);
58758   return 0;
58759 }
58760 
58761 
_wrap_SBThread_GetName(lua_State * L)58762 static int _wrap_SBThread_GetName(lua_State* L) {
58763   {
58764     int SWIG_arg = 0;
58765     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58766     char *result = 0 ;
58767 
58768     SWIG_check_num_args("lldb::SBThread::GetName",1,1)
58769     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetName",1,"lldb::SBThread const *");
58770 
58771     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58772       SWIG_fail_ptr("SBThread_GetName",1,SWIGTYPE_p_lldb__SBThread);
58773     }
58774 
58775     result = (char *)((lldb::SBThread const *)arg1)->GetName();
58776     lua_pushstring(L,(const char *)result); SWIG_arg++;
58777     return SWIG_arg;
58778 
58779     fail: SWIGUNUSED;
58780   }
58781   lua_error(L);
58782   return 0;
58783 }
58784 
58785 
_wrap_SBThread_GetQueueName(lua_State * L)58786 static int _wrap_SBThread_GetQueueName(lua_State* L) {
58787   {
58788     int SWIG_arg = 0;
58789     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58790     char *result = 0 ;
58791 
58792     SWIG_check_num_args("lldb::SBThread::GetQueueName",1,1)
58793     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueName",1,"lldb::SBThread const *");
58794 
58795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58796       SWIG_fail_ptr("SBThread_GetQueueName",1,SWIGTYPE_p_lldb__SBThread);
58797     }
58798 
58799     result = (char *)((lldb::SBThread const *)arg1)->GetQueueName();
58800     lua_pushstring(L,(const char *)result); SWIG_arg++;
58801     return SWIG_arg;
58802 
58803     fail: SWIGUNUSED;
58804   }
58805   lua_error(L);
58806   return 0;
58807 }
58808 
58809 
_wrap_SBThread_GetQueueID(lua_State * L)58810 static int _wrap_SBThread_GetQueueID(lua_State* L) {
58811   {
58812     int SWIG_arg = 0;
58813     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58814     lldb::queue_id_t result;
58815 
58816     SWIG_check_num_args("lldb::SBThread::GetQueueID",1,1)
58817     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetQueueID",1,"lldb::SBThread const *");
58818 
58819     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58820       SWIG_fail_ptr("SBThread_GetQueueID",1,SWIGTYPE_p_lldb__SBThread);
58821     }
58822 
58823     result = (lldb::queue_id_t)((lldb::SBThread const *)arg1)->GetQueueID();
58824     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
58825     return SWIG_arg;
58826 
58827     fail: SWIGUNUSED;
58828   }
58829   lua_error(L);
58830   return 0;
58831 }
58832 
58833 
_wrap_SBThread_GetInfoItemByPathAsString(lua_State * L)58834 static int _wrap_SBThread_GetInfoItemByPathAsString(lua_State* L) {
58835   {
58836     int SWIG_arg = 0;
58837     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58838     char *arg2 = (char *) 0 ;
58839     lldb::SBStream *arg3 = 0 ;
58840     bool result;
58841 
58842     SWIG_check_num_args("lldb::SBThread::GetInfoItemByPathAsString",3,3)
58843     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",1,"lldb::SBThread *");
58844     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",2,"char const *");
58845     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::GetInfoItemByPathAsString",3,"lldb::SBStream &");
58846 
58847     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58848       SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",1,SWIGTYPE_p_lldb__SBThread);
58849     }
58850 
58851     arg2 = (char *)lua_tostring(L, 2);
58852 
58853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){
58854       SWIG_fail_ptr("SBThread_GetInfoItemByPathAsString",3,SWIGTYPE_p_lldb__SBStream);
58855     }
58856 
58857     result = (bool)(arg1)->GetInfoItemByPathAsString((char const *)arg2,*arg3);
58858     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
58859     return SWIG_arg;
58860 
58861     fail: SWIGUNUSED;
58862   }
58863   lua_error(L);
58864   return 0;
58865 }
58866 
58867 
_wrap_SBThread_StepOver__SWIG_0(lua_State * L)58868 static int _wrap_SBThread_StepOver__SWIG_0(lua_State* L) {
58869   {
58870     int SWIG_arg = 0;
58871     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58872     lldb::RunMode arg2 ;
58873 
58874     SWIG_check_num_args("lldb::SBThread::StepOver",2,2)
58875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *");
58876     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode");
58877 
58878     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58879       SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread);
58880     }
58881 
58882     arg2 = (lldb::RunMode)lua_tointeger(L, 2);
58883     (arg1)->StepOver(arg2);
58884 
58885     return SWIG_arg;
58886 
58887     fail: SWIGUNUSED;
58888   }
58889   lua_error(L);
58890   return 0;
58891 }
58892 
58893 
_wrap_SBThread_StepOver__SWIG_1(lua_State * L)58894 static int _wrap_SBThread_StepOver__SWIG_1(lua_State* L) {
58895   {
58896     int SWIG_arg = 0;
58897     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58898 
58899     SWIG_check_num_args("lldb::SBThread::StepOver",1,1)
58900     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *");
58901 
58902     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58903       SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread);
58904     }
58905 
58906     (arg1)->StepOver();
58907 
58908     return SWIG_arg;
58909 
58910     fail: SWIGUNUSED;
58911   }
58912   lua_error(L);
58913   return 0;
58914 }
58915 
58916 
_wrap_SBThread_StepOver__SWIG_2(lua_State * L)58917 static int _wrap_SBThread_StepOver__SWIG_2(lua_State* L) {
58918   {
58919     int SWIG_arg = 0;
58920     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
58921     lldb::RunMode arg2 ;
58922     lldb::SBError *arg3 = 0 ;
58923 
58924     SWIG_check_num_args("lldb::SBThread::StepOver",3,3)
58925     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOver",1,"lldb::SBThread *");
58926     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepOver",2,"lldb::RunMode");
58927     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOver",3,"lldb::SBError &");
58928 
58929     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
58930       SWIG_fail_ptr("SBThread_StepOver",1,SWIGTYPE_p_lldb__SBThread);
58931     }
58932 
58933     arg2 = (lldb::RunMode)lua_tointeger(L, 2);
58934 
58935     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
58936       SWIG_fail_ptr("SBThread_StepOver",3,SWIGTYPE_p_lldb__SBError);
58937     }
58938 
58939     (arg1)->StepOver(arg2,*arg3);
58940 
58941     return SWIG_arg;
58942 
58943     fail: SWIGUNUSED;
58944   }
58945   lua_error(L);
58946   return 0;
58947 }
58948 
58949 
_wrap_SBThread_StepOver(lua_State * L)58950 static int _wrap_SBThread_StepOver(lua_State* L) {
58951   int argc;
58952   int argv[4]={
58953     1,2,3,4
58954   };
58955 
58956   argc = lua_gettop(L);
58957   if (argc == 1) {
58958     int _v = 0;
58959     {
58960       void *ptr;
58961       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
58962         _v = 0;
58963       } else {
58964         _v = 1;
58965       }
58966     }
58967     if (_v) {
58968       return _wrap_SBThread_StepOver__SWIG_1(L);
58969     }
58970   }
58971   if (argc == 2) {
58972     int _v = 0;
58973     {
58974       void *ptr;
58975       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
58976         _v = 0;
58977       } else {
58978         _v = 1;
58979       }
58980     }
58981     if (_v) {
58982       {
58983         _v = lua_isnumber(L,argv[1]);
58984       }
58985       if (_v) {
58986         return _wrap_SBThread_StepOver__SWIG_0(L);
58987       }
58988     }
58989   }
58990   if (argc == 3) {
58991     int _v = 0;
58992     {
58993       void *ptr;
58994       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
58995         _v = 0;
58996       } else {
58997         _v = 1;
58998       }
58999     }
59000     if (_v) {
59001       {
59002         _v = lua_isnumber(L,argv[1]);
59003       }
59004       if (_v) {
59005         {
59006           void *ptr;
59007           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59008             _v = 0;
59009           } else {
59010             _v = 1;
59011           }
59012         }
59013         if (_v) {
59014           return _wrap_SBThread_StepOver__SWIG_2(L);
59015         }
59016       }
59017     }
59018   }
59019 
59020   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepOver'\n"
59021     "  Possible C/C++ prototypes are:\n"
59022     "    lldb::SBThread::StepOver(lldb::RunMode)\n"
59023     "    lldb::SBThread::StepOver()\n"
59024     "    lldb::SBThread::StepOver(lldb::RunMode,lldb::SBError &)\n");
59025   lua_error(L);return 0;
59026 }
59027 
59028 
_wrap_SBThread_StepInto__SWIG_0(lua_State * L)59029 static int _wrap_SBThread_StepInto__SWIG_0(lua_State* L) {
59030   {
59031     int SWIG_arg = 0;
59032     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59033     lldb::RunMode arg2 ;
59034 
59035     SWIG_check_num_args("lldb::SBThread::StepInto",2,2)
59036     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59037     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"lldb::RunMode");
59038 
59039     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59040       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59041     }
59042 
59043     arg2 = (lldb::RunMode)lua_tointeger(L, 2);
59044     (arg1)->StepInto(arg2);
59045 
59046     return SWIG_arg;
59047 
59048     fail: SWIGUNUSED;
59049   }
59050   lua_error(L);
59051   return 0;
59052 }
59053 
59054 
_wrap_SBThread_StepInto__SWIG_1(lua_State * L)59055 static int _wrap_SBThread_StepInto__SWIG_1(lua_State* L) {
59056   {
59057     int SWIG_arg = 0;
59058     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59059 
59060     SWIG_check_num_args("lldb::SBThread::StepInto",1,1)
59061     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59062 
59063     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59064       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59065     }
59066 
59067     (arg1)->StepInto();
59068 
59069     return SWIG_arg;
59070 
59071     fail: SWIGUNUSED;
59072   }
59073   lua_error(L);
59074   return 0;
59075 }
59076 
59077 
_wrap_SBThread_StepInto__SWIG_2(lua_State * L)59078 static int _wrap_SBThread_StepInto__SWIG_2(lua_State* L) {
59079   {
59080     int SWIG_arg = 0;
59081     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59082     char *arg2 = (char *) 0 ;
59083     lldb::RunMode arg3 ;
59084 
59085     SWIG_check_num_args("lldb::SBThread::StepInto",3,3)
59086     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59087     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *");
59088     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"lldb::RunMode");
59089 
59090     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59091       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59092     }
59093 
59094     arg2 = (char *)lua_tostring(L, 2);
59095     arg3 = (lldb::RunMode)lua_tointeger(L, 3);
59096     (arg1)->StepInto((char const *)arg2,arg3);
59097 
59098     return SWIG_arg;
59099 
59100     fail: SWIGUNUSED;
59101   }
59102   lua_error(L);
59103   return 0;
59104 }
59105 
59106 
_wrap_SBThread_StepInto__SWIG_3(lua_State * L)59107 static int _wrap_SBThread_StepInto__SWIG_3(lua_State* L) {
59108   {
59109     int SWIG_arg = 0;
59110     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59111     char *arg2 = (char *) 0 ;
59112 
59113     SWIG_check_num_args("lldb::SBThread::StepInto",2,2)
59114     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59115     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *");
59116 
59117     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59118       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59119     }
59120 
59121     arg2 = (char *)lua_tostring(L, 2);
59122     (arg1)->StepInto((char const *)arg2);
59123 
59124     return SWIG_arg;
59125 
59126     fail: SWIGUNUSED;
59127   }
59128   lua_error(L);
59129   return 0;
59130 }
59131 
59132 
_wrap_SBThread_StepInto__SWIG_4(lua_State * L)59133 static int _wrap_SBThread_StepInto__SWIG_4(lua_State* L) {
59134   {
59135     int SWIG_arg = 0;
59136     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59137     char *arg2 = (char *) 0 ;
59138     uint32_t arg3 ;
59139     lldb::SBError *arg4 = 0 ;
59140     lldb::RunMode arg5 ;
59141 
59142     SWIG_check_num_args("lldb::SBThread::StepInto",5,5)
59143     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59144     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *");
59145     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t");
59146     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &");
59147     if(!lua_isinteger(L,5)) SWIG_fail_arg("lldb::SBThread::StepInto",5,"lldb::RunMode");
59148 
59149     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59150       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59151     }
59152 
59153     arg2 = (char *)lua_tostring(L, 2);
59154     arg3 = (uint32_t)lua_tointeger(L, 3);
59155 
59156     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
59157       SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError);
59158     }
59159 
59160     arg5 = (lldb::RunMode)lua_tointeger(L, 5);
59161     (arg1)->StepInto((char const *)arg2,arg3,*arg4,arg5);
59162 
59163     return SWIG_arg;
59164 
59165     fail: SWIGUNUSED;
59166   }
59167   lua_error(L);
59168   return 0;
59169 }
59170 
59171 
_wrap_SBThread_StepInto__SWIG_5(lua_State * L)59172 static int _wrap_SBThread_StepInto__SWIG_5(lua_State* L) {
59173   {
59174     int SWIG_arg = 0;
59175     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59176     char *arg2 = (char *) 0 ;
59177     uint32_t arg3 ;
59178     lldb::SBError *arg4 = 0 ;
59179 
59180     SWIG_check_num_args("lldb::SBThread::StepInto",4,4)
59181     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInto",1,"lldb::SBThread *");
59182     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepInto",2,"char const *");
59183     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::StepInto",3,"uint32_t");
59184     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThread::StepInto",4,"lldb::SBError &");
59185 
59186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59187       SWIG_fail_ptr("SBThread_StepInto",1,SWIGTYPE_p_lldb__SBThread);
59188     }
59189 
59190     arg2 = (char *)lua_tostring(L, 2);
59191     arg3 = (uint32_t)lua_tointeger(L, 3);
59192 
59193     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
59194       SWIG_fail_ptr("SBThread_StepInto",4,SWIGTYPE_p_lldb__SBError);
59195     }
59196 
59197     (arg1)->StepInto((char const *)arg2,arg3,*arg4);
59198 
59199     return SWIG_arg;
59200 
59201     fail: SWIGUNUSED;
59202   }
59203   lua_error(L);
59204   return 0;
59205 }
59206 
59207 
_wrap_SBThread_StepInto(lua_State * L)59208 static int _wrap_SBThread_StepInto(lua_State* L) {
59209   int argc;
59210   int argv[6]={
59211     1,2,3,4,5,6
59212   };
59213 
59214   argc = lua_gettop(L);
59215   if (argc == 1) {
59216     int _v = 0;
59217     {
59218       void *ptr;
59219       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59220         _v = 0;
59221       } else {
59222         _v = 1;
59223       }
59224     }
59225     if (_v) {
59226       return _wrap_SBThread_StepInto__SWIG_1(L);
59227     }
59228   }
59229   if (argc == 2) {
59230     int _v = 0;
59231     {
59232       void *ptr;
59233       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59234         _v = 0;
59235       } else {
59236         _v = 1;
59237       }
59238     }
59239     if (_v) {
59240       {
59241         _v = lua_isnumber(L,argv[1]);
59242       }
59243       if (_v) {
59244         return _wrap_SBThread_StepInto__SWIG_0(L);
59245       }
59246     }
59247   }
59248   if (argc == 2) {
59249     int _v = 0;
59250     {
59251       void *ptr;
59252       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59253         _v = 0;
59254       } else {
59255         _v = 1;
59256       }
59257     }
59258     if (_v) {
59259       {
59260         _v = SWIG_lua_isnilstring(L,argv[1]);
59261       }
59262       if (_v) {
59263         return _wrap_SBThread_StepInto__SWIG_3(L);
59264       }
59265     }
59266   }
59267   if (argc == 3) {
59268     int _v = 0;
59269     {
59270       void *ptr;
59271       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59272         _v = 0;
59273       } else {
59274         _v = 1;
59275       }
59276     }
59277     if (_v) {
59278       {
59279         _v = SWIG_lua_isnilstring(L,argv[1]);
59280       }
59281       if (_v) {
59282         {
59283           _v = lua_isnumber(L,argv[2]);
59284         }
59285         if (_v) {
59286           return _wrap_SBThread_StepInto__SWIG_2(L);
59287         }
59288       }
59289     }
59290   }
59291   if (argc == 4) {
59292     int _v = 0;
59293     {
59294       void *ptr;
59295       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59296         _v = 0;
59297       } else {
59298         _v = 1;
59299       }
59300     }
59301     if (_v) {
59302       {
59303         _v = SWIG_lua_isnilstring(L,argv[1]);
59304       }
59305       if (_v) {
59306         {
59307           _v = lua_isnumber(L,argv[2]);
59308         }
59309         if (_v) {
59310           {
59311             void *ptr;
59312             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59313               _v = 0;
59314             } else {
59315               _v = 1;
59316             }
59317           }
59318           if (_v) {
59319             return _wrap_SBThread_StepInto__SWIG_5(L);
59320           }
59321         }
59322       }
59323     }
59324   }
59325   if (argc == 5) {
59326     int _v = 0;
59327     {
59328       void *ptr;
59329       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59330         _v = 0;
59331       } else {
59332         _v = 1;
59333       }
59334     }
59335     if (_v) {
59336       {
59337         _v = SWIG_lua_isnilstring(L,argv[1]);
59338       }
59339       if (_v) {
59340         {
59341           _v = lua_isnumber(L,argv[2]);
59342         }
59343         if (_v) {
59344           {
59345             void *ptr;
59346             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59347               _v = 0;
59348             } else {
59349               _v = 1;
59350             }
59351           }
59352           if (_v) {
59353             {
59354               _v = lua_isnumber(L,argv[4]);
59355             }
59356             if (_v) {
59357               return _wrap_SBThread_StepInto__SWIG_4(L);
59358             }
59359           }
59360         }
59361       }
59362     }
59363   }
59364 
59365   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepInto'\n"
59366     "  Possible C/C++ prototypes are:\n"
59367     "    lldb::SBThread::StepInto(lldb::RunMode)\n"
59368     "    lldb::SBThread::StepInto()\n"
59369     "    lldb::SBThread::StepInto(char const *,lldb::RunMode)\n"
59370     "    lldb::SBThread::StepInto(char const *)\n"
59371     "    lldb::SBThread::StepInto(char const *,uint32_t,lldb::SBError &,lldb::RunMode)\n"
59372     "    lldb::SBThread::StepInto(char const *,uint32_t,lldb::SBError &)\n");
59373   lua_error(L);return 0;
59374 }
59375 
59376 
_wrap_SBThread_StepOut__SWIG_0(lua_State * L)59377 static int _wrap_SBThread_StepOut__SWIG_0(lua_State* L) {
59378   {
59379     int SWIG_arg = 0;
59380     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59381 
59382     SWIG_check_num_args("lldb::SBThread::StepOut",1,1)
59383     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *");
59384 
59385     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59386       SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread);
59387     }
59388 
59389     (arg1)->StepOut();
59390 
59391     return SWIG_arg;
59392 
59393     fail: SWIGUNUSED;
59394   }
59395   lua_error(L);
59396   return 0;
59397 }
59398 
59399 
_wrap_SBThread_StepOut__SWIG_1(lua_State * L)59400 static int _wrap_SBThread_StepOut__SWIG_1(lua_State* L) {
59401   {
59402     int SWIG_arg = 0;
59403     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59404     lldb::SBError *arg2 = 0 ;
59405 
59406     SWIG_check_num_args("lldb::SBThread::StepOut",2,2)
59407     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOut",1,"lldb::SBThread *");
59408     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOut",2,"lldb::SBError &");
59409 
59410     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59411       SWIG_fail_ptr("SBThread_StepOut",1,SWIGTYPE_p_lldb__SBThread);
59412     }
59413 
59414 
59415     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
59416       SWIG_fail_ptr("SBThread_StepOut",2,SWIGTYPE_p_lldb__SBError);
59417     }
59418 
59419     (arg1)->StepOut(*arg2);
59420 
59421     return SWIG_arg;
59422 
59423     fail: SWIGUNUSED;
59424   }
59425   lua_error(L);
59426   return 0;
59427 }
59428 
59429 
_wrap_SBThread_StepOut(lua_State * L)59430 static int _wrap_SBThread_StepOut(lua_State* L) {
59431   int argc;
59432   int argv[3]={
59433     1,2,3
59434   };
59435 
59436   argc = lua_gettop(L);
59437   if (argc == 1) {
59438     int _v = 0;
59439     {
59440       void *ptr;
59441       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59442         _v = 0;
59443       } else {
59444         _v = 1;
59445       }
59446     }
59447     if (_v) {
59448       return _wrap_SBThread_StepOut__SWIG_0(L);
59449     }
59450   }
59451   if (argc == 2) {
59452     int _v = 0;
59453     {
59454       void *ptr;
59455       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59456         _v = 0;
59457       } else {
59458         _v = 1;
59459       }
59460     }
59461     if (_v) {
59462       {
59463         void *ptr;
59464         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59465           _v = 0;
59466         } else {
59467           _v = 1;
59468         }
59469       }
59470       if (_v) {
59471         return _wrap_SBThread_StepOut__SWIG_1(L);
59472       }
59473     }
59474   }
59475 
59476   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepOut'\n"
59477     "  Possible C/C++ prototypes are:\n"
59478     "    lldb::SBThread::StepOut()\n"
59479     "    lldb::SBThread::StepOut(lldb::SBError &)\n");
59480   lua_error(L);return 0;
59481 }
59482 
59483 
_wrap_SBThread_StepOutOfFrame__SWIG_0(lua_State * L)59484 static int _wrap_SBThread_StepOutOfFrame__SWIG_0(lua_State* L) {
59485   {
59486     int SWIG_arg = 0;
59487     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59488     lldb::SBFrame *arg2 = 0 ;
59489 
59490     SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",2,2)
59491     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *");
59492     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &");
59493 
59494     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59495       SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread);
59496     }
59497 
59498 
59499     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
59500       SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame);
59501     }
59502 
59503     (arg1)->StepOutOfFrame(*arg2);
59504 
59505     return SWIG_arg;
59506 
59507     fail: SWIGUNUSED;
59508   }
59509   lua_error(L);
59510   return 0;
59511 }
59512 
59513 
_wrap_SBThread_StepOutOfFrame__SWIG_1(lua_State * L)59514 static int _wrap_SBThread_StepOutOfFrame__SWIG_1(lua_State* L) {
59515   {
59516     int SWIG_arg = 0;
59517     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59518     lldb::SBFrame *arg2 = 0 ;
59519     lldb::SBError *arg3 = 0 ;
59520 
59521     SWIG_check_num_args("lldb::SBThread::StepOutOfFrame",3,3)
59522     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",1,"lldb::SBThread *");
59523     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",2,"lldb::SBFrame &");
59524     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOutOfFrame",3,"lldb::SBError &");
59525 
59526     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59527       SWIG_fail_ptr("SBThread_StepOutOfFrame",1,SWIGTYPE_p_lldb__SBThread);
59528     }
59529 
59530 
59531     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
59532       SWIG_fail_ptr("SBThread_StepOutOfFrame",2,SWIGTYPE_p_lldb__SBFrame);
59533     }
59534 
59535 
59536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
59537       SWIG_fail_ptr("SBThread_StepOutOfFrame",3,SWIGTYPE_p_lldb__SBError);
59538     }
59539 
59540     (arg1)->StepOutOfFrame(*arg2,*arg3);
59541 
59542     return SWIG_arg;
59543 
59544     fail: SWIGUNUSED;
59545   }
59546   lua_error(L);
59547   return 0;
59548 }
59549 
59550 
_wrap_SBThread_StepOutOfFrame(lua_State * L)59551 static int _wrap_SBThread_StepOutOfFrame(lua_State* L) {
59552   int argc;
59553   int argv[4]={
59554     1,2,3,4
59555   };
59556 
59557   argc = lua_gettop(L);
59558   if (argc == 2) {
59559     int _v = 0;
59560     {
59561       void *ptr;
59562       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59563         _v = 0;
59564       } else {
59565         _v = 1;
59566       }
59567     }
59568     if (_v) {
59569       {
59570         void *ptr;
59571         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
59572           _v = 0;
59573         } else {
59574           _v = 1;
59575         }
59576       }
59577       if (_v) {
59578         return _wrap_SBThread_StepOutOfFrame__SWIG_0(L);
59579       }
59580     }
59581   }
59582   if (argc == 3) {
59583     int _v = 0;
59584     {
59585       void *ptr;
59586       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59587         _v = 0;
59588       } else {
59589         _v = 1;
59590       }
59591     }
59592     if (_v) {
59593       {
59594         void *ptr;
59595         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
59596           _v = 0;
59597         } else {
59598           _v = 1;
59599         }
59600       }
59601       if (_v) {
59602         {
59603           void *ptr;
59604           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59605             _v = 0;
59606           } else {
59607             _v = 1;
59608           }
59609         }
59610         if (_v) {
59611           return _wrap_SBThread_StepOutOfFrame__SWIG_1(L);
59612         }
59613       }
59614     }
59615   }
59616 
59617   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepOutOfFrame'\n"
59618     "  Possible C/C++ prototypes are:\n"
59619     "    lldb::SBThread::StepOutOfFrame(lldb::SBFrame &)\n"
59620     "    lldb::SBThread::StepOutOfFrame(lldb::SBFrame &,lldb::SBError &)\n");
59621   lua_error(L);return 0;
59622 }
59623 
59624 
_wrap_SBThread_StepInstruction__SWIG_0(lua_State * L)59625 static int _wrap_SBThread_StepInstruction__SWIG_0(lua_State* L) {
59626   {
59627     int SWIG_arg = 0;
59628     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59629     bool arg2 ;
59630 
59631     SWIG_check_num_args("lldb::SBThread::StepInstruction",2,2)
59632     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *");
59633     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool");
59634 
59635     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59636       SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread);
59637     }
59638 
59639     arg2 = (lua_toboolean(L, 2)!=0);
59640     (arg1)->StepInstruction(arg2);
59641 
59642     return SWIG_arg;
59643 
59644     fail: SWIGUNUSED;
59645   }
59646   lua_error(L);
59647   return 0;
59648 }
59649 
59650 
_wrap_SBThread_StepInstruction__SWIG_1(lua_State * L)59651 static int _wrap_SBThread_StepInstruction__SWIG_1(lua_State* L) {
59652   {
59653     int SWIG_arg = 0;
59654     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59655     bool arg2 ;
59656     lldb::SBError *arg3 = 0 ;
59657 
59658     SWIG_check_num_args("lldb::SBThread::StepInstruction",3,3)
59659     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepInstruction",1,"lldb::SBThread *");
59660     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThread::StepInstruction",2,"bool");
59661     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepInstruction",3,"lldb::SBError &");
59662 
59663     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59664       SWIG_fail_ptr("SBThread_StepInstruction",1,SWIGTYPE_p_lldb__SBThread);
59665     }
59666 
59667     arg2 = (lua_toboolean(L, 2)!=0);
59668 
59669     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
59670       SWIG_fail_ptr("SBThread_StepInstruction",3,SWIGTYPE_p_lldb__SBError);
59671     }
59672 
59673     (arg1)->StepInstruction(arg2,*arg3);
59674 
59675     return SWIG_arg;
59676 
59677     fail: SWIGUNUSED;
59678   }
59679   lua_error(L);
59680   return 0;
59681 }
59682 
59683 
_wrap_SBThread_StepInstruction(lua_State * L)59684 static int _wrap_SBThread_StepInstruction(lua_State* L) {
59685   int argc;
59686   int argv[4]={
59687     1,2,3,4
59688   };
59689 
59690   argc = lua_gettop(L);
59691   if (argc == 2) {
59692     int _v = 0;
59693     {
59694       void *ptr;
59695       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59696         _v = 0;
59697       } else {
59698         _v = 1;
59699       }
59700     }
59701     if (_v) {
59702       {
59703         _v = lua_isboolean(L,argv[1]);
59704       }
59705       if (_v) {
59706         return _wrap_SBThread_StepInstruction__SWIG_0(L);
59707       }
59708     }
59709   }
59710   if (argc == 3) {
59711     int _v = 0;
59712     {
59713       void *ptr;
59714       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59715         _v = 0;
59716       } else {
59717         _v = 1;
59718       }
59719     }
59720     if (_v) {
59721       {
59722         _v = lua_isboolean(L,argv[1]);
59723       }
59724       if (_v) {
59725         {
59726           void *ptr;
59727           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
59728             _v = 0;
59729           } else {
59730             _v = 1;
59731           }
59732         }
59733         if (_v) {
59734           return _wrap_SBThread_StepInstruction__SWIG_1(L);
59735         }
59736       }
59737     }
59738   }
59739 
59740   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepInstruction'\n"
59741     "  Possible C/C++ prototypes are:\n"
59742     "    lldb::SBThread::StepInstruction(bool)\n"
59743     "    lldb::SBThread::StepInstruction(bool,lldb::SBError &)\n");
59744   lua_error(L);return 0;
59745 }
59746 
59747 
_wrap_SBThread_StepOverUntil(lua_State * L)59748 static int _wrap_SBThread_StepOverUntil(lua_State* L) {
59749   {
59750     int SWIG_arg = 0;
59751     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59752     lldb::SBFrame *arg2 = 0 ;
59753     lldb::SBFileSpec *arg3 = 0 ;
59754     uint32_t arg4 ;
59755     lldb::SBError result;
59756 
59757     SWIG_check_num_args("lldb::SBThread::StepOverUntil",4,4)
59758     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",1,"lldb::SBThread *");
59759     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",2,"lldb::SBFrame &");
59760     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",3,"lldb::SBFileSpec &");
59761     if(!lua_isinteger(L,4)) SWIG_fail_arg("lldb::SBThread::StepOverUntil",4,"uint32_t");
59762 
59763     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59764       SWIG_fail_ptr("SBThread_StepOverUntil",1,SWIGTYPE_p_lldb__SBThread);
59765     }
59766 
59767 
59768     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
59769       SWIG_fail_ptr("SBThread_StepOverUntil",2,SWIGTYPE_p_lldb__SBFrame);
59770     }
59771 
59772 
59773     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
59774       SWIG_fail_ptr("SBThread_StepOverUntil",3,SWIGTYPE_p_lldb__SBFileSpec);
59775     }
59776 
59777     arg4 = (uint32_t)lua_tointeger(L, 4);
59778     result = (arg1)->StepOverUntil(*arg2,*arg3,arg4);
59779     {
59780       lldb::SBError * resultptr = new lldb::SBError(result);
59781       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
59782     }
59783     return SWIG_arg;
59784 
59785     fail: SWIGUNUSED;
59786   }
59787   lua_error(L);
59788   return 0;
59789 }
59790 
59791 
_wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_0(lua_State * L)59792 static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_0(lua_State* L) {
59793   {
59794     int SWIG_arg = 0;
59795     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59796     char *arg2 = (char *) 0 ;
59797     lldb::SBError result;
59798 
59799     SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",2,2)
59800     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *");
59801     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *");
59802 
59803     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59804       SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread);
59805     }
59806 
59807     arg2 = (char *)lua_tostring(L, 2);
59808     result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2);
59809     {
59810       lldb::SBError * resultptr = new lldb::SBError(result);
59811       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
59812     }
59813     return SWIG_arg;
59814 
59815     fail: SWIGUNUSED;
59816   }
59817   lua_error(L);
59818   return 0;
59819 }
59820 
59821 
_wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_1(lua_State * L)59822 static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_1(lua_State* L) {
59823   {
59824     int SWIG_arg = 0;
59825     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59826     char *arg2 = (char *) 0 ;
59827     bool arg3 ;
59828     lldb::SBError result;
59829 
59830     SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",3,3)
59831     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *");
59832     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *");
59833     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"bool");
59834 
59835     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59836       SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread);
59837     }
59838 
59839     arg2 = (char *)lua_tostring(L, 2);
59840     arg3 = (lua_toboolean(L, 3)!=0);
59841     result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,arg3);
59842     {
59843       lldb::SBError * resultptr = new lldb::SBError(result);
59844       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
59845     }
59846     return SWIG_arg;
59847 
59848     fail: SWIGUNUSED;
59849   }
59850   lua_error(L);
59851   return 0;
59852 }
59853 
59854 
_wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_2(lua_State * L)59855 static int _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_2(lua_State* L) {
59856   {
59857     int SWIG_arg = 0;
59858     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59859     char *arg2 = (char *) 0 ;
59860     lldb::SBStructuredData *arg3 = 0 ;
59861     bool arg4 ;
59862     lldb::SBError result;
59863 
59864     SWIG_check_num_args("lldb::SBThread::StepUsingScriptedThreadPlan",4,4)
59865     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",1,"lldb::SBThread *");
59866     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",2,"char const *");
59867     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",3,"lldb::SBStructuredData &");
59868     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBThread::StepUsingScriptedThreadPlan",4,"bool");
59869 
59870     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
59871       SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",1,SWIGTYPE_p_lldb__SBThread);
59872     }
59873 
59874     arg2 = (char *)lua_tostring(L, 2);
59875 
59876     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
59877       SWIG_fail_ptr("SBThread_StepUsingScriptedThreadPlan",3,SWIGTYPE_p_lldb__SBStructuredData);
59878     }
59879 
59880     arg4 = (lua_toboolean(L, 4)!=0);
59881     result = (arg1)->StepUsingScriptedThreadPlan((char const *)arg2,*arg3,arg4);
59882     {
59883       lldb::SBError * resultptr = new lldb::SBError(result);
59884       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
59885     }
59886     return SWIG_arg;
59887 
59888     fail: SWIGUNUSED;
59889   }
59890   lua_error(L);
59891   return 0;
59892 }
59893 
59894 
_wrap_SBThread_StepUsingScriptedThreadPlan(lua_State * L)59895 static int _wrap_SBThread_StepUsingScriptedThreadPlan(lua_State* L) {
59896   int argc;
59897   int argv[5]={
59898     1,2,3,4,5
59899   };
59900 
59901   argc = lua_gettop(L);
59902   if (argc == 2) {
59903     int _v = 0;
59904     {
59905       void *ptr;
59906       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59907         _v = 0;
59908       } else {
59909         _v = 1;
59910       }
59911     }
59912     if (_v) {
59913       {
59914         _v = SWIG_lua_isnilstring(L,argv[1]);
59915       }
59916       if (_v) {
59917         return _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_0(L);
59918       }
59919     }
59920   }
59921   if (argc == 3) {
59922     int _v = 0;
59923     {
59924       void *ptr;
59925       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59926         _v = 0;
59927       } else {
59928         _v = 1;
59929       }
59930     }
59931     if (_v) {
59932       {
59933         _v = SWIG_lua_isnilstring(L,argv[1]);
59934       }
59935       if (_v) {
59936         {
59937           _v = lua_isboolean(L,argv[2]);
59938         }
59939         if (_v) {
59940           return _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_1(L);
59941         }
59942       }
59943     }
59944   }
59945   if (argc == 4) {
59946     int _v = 0;
59947     {
59948       void *ptr;
59949       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
59950         _v = 0;
59951       } else {
59952         _v = 1;
59953       }
59954     }
59955     if (_v) {
59956       {
59957         _v = SWIG_lua_isnilstring(L,argv[1]);
59958       }
59959       if (_v) {
59960         {
59961           void *ptr;
59962           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
59963             _v = 0;
59964           } else {
59965             _v = 1;
59966           }
59967         }
59968         if (_v) {
59969           {
59970             _v = lua_isboolean(L,argv[3]);
59971           }
59972           if (_v) {
59973             return _wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_2(L);
59974           }
59975         }
59976       }
59977     }
59978   }
59979 
59980   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_StepUsingScriptedThreadPlan'\n"
59981     "  Possible C/C++ prototypes are:\n"
59982     "    lldb::SBThread::StepUsingScriptedThreadPlan(char const *)\n"
59983     "    lldb::SBThread::StepUsingScriptedThreadPlan(char const *,bool)\n"
59984     "    lldb::SBThread::StepUsingScriptedThreadPlan(char const *,lldb::SBStructuredData &,bool)\n");
59985   lua_error(L);return 0;
59986 }
59987 
59988 
_wrap_SBThread_JumpToLine(lua_State * L)59989 static int _wrap_SBThread_JumpToLine(lua_State* L) {
59990   {
59991     int SWIG_arg = 0;
59992     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
59993     lldb::SBFileSpec *arg2 = 0 ;
59994     uint32_t arg3 ;
59995     lldb::SBError result;
59996 
59997     SWIG_check_num_args("lldb::SBThread::JumpToLine",3,3)
59998     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::JumpToLine",1,"lldb::SBThread *");
59999     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::JumpToLine",2,"lldb::SBFileSpec &");
60000     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThread::JumpToLine",3,"uint32_t");
60001 
60002     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60003       SWIG_fail_ptr("SBThread_JumpToLine",1,SWIGTYPE_p_lldb__SBThread);
60004     }
60005 
60006 
60007     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFileSpec,0))){
60008       SWIG_fail_ptr("SBThread_JumpToLine",2,SWIGTYPE_p_lldb__SBFileSpec);
60009     }
60010 
60011     arg3 = (uint32_t)lua_tointeger(L, 3);
60012     result = (arg1)->JumpToLine(*arg2,arg3);
60013     {
60014       lldb::SBError * resultptr = new lldb::SBError(result);
60015       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
60016     }
60017     return SWIG_arg;
60018 
60019     fail: SWIGUNUSED;
60020   }
60021   lua_error(L);
60022   return 0;
60023 }
60024 
60025 
_wrap_SBThread_RunToAddress__SWIG_0(lua_State * L)60026 static int _wrap_SBThread_RunToAddress__SWIG_0(lua_State* L) {
60027   {
60028     int SWIG_arg = 0;
60029     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60030     lldb::addr_t arg2 ;
60031 
60032     SWIG_check_num_args("lldb::SBThread::RunToAddress",2,2)
60033     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *");
60034     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t");
60035 
60036     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60037       SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread);
60038     }
60039 
60040     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
60041     (arg1)->RunToAddress(arg2);
60042 
60043     return SWIG_arg;
60044 
60045     fail: SWIGUNUSED;
60046   }
60047   lua_error(L);
60048   return 0;
60049 }
60050 
60051 
_wrap_SBThread_RunToAddress__SWIG_1(lua_State * L)60052 static int _wrap_SBThread_RunToAddress__SWIG_1(lua_State* L) {
60053   {
60054     int SWIG_arg = 0;
60055     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60056     lldb::addr_t arg2 ;
60057     lldb::SBError *arg3 = 0 ;
60058 
60059     SWIG_check_num_args("lldb::SBThread::RunToAddress",3,3)
60060     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::RunToAddress",1,"lldb::SBThread *");
60061     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::RunToAddress",2,"lldb::addr_t");
60062     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::RunToAddress",3,"lldb::SBError &");
60063 
60064     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60065       SWIG_fail_ptr("SBThread_RunToAddress",1,SWIGTYPE_p_lldb__SBThread);
60066     }
60067 
60068     arg2 = (lldb::addr_t)lua_tointeger(L, 2);
60069 
60070     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
60071       SWIG_fail_ptr("SBThread_RunToAddress",3,SWIGTYPE_p_lldb__SBError);
60072     }
60073 
60074     (arg1)->RunToAddress(arg2,*arg3);
60075 
60076     return SWIG_arg;
60077 
60078     fail: SWIGUNUSED;
60079   }
60080   lua_error(L);
60081   return 0;
60082 }
60083 
60084 
_wrap_SBThread_RunToAddress(lua_State * L)60085 static int _wrap_SBThread_RunToAddress(lua_State* L) {
60086   int argc;
60087   int argv[4]={
60088     1,2,3,4
60089   };
60090 
60091   argc = lua_gettop(L);
60092   if (argc == 2) {
60093     int _v = 0;
60094     {
60095       void *ptr;
60096       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60097         _v = 0;
60098       } else {
60099         _v = 1;
60100       }
60101     }
60102     if (_v) {
60103       {
60104         _v = lua_isnumber(L,argv[1]);
60105       }
60106       if (_v) {
60107         return _wrap_SBThread_RunToAddress__SWIG_0(L);
60108       }
60109     }
60110   }
60111   if (argc == 3) {
60112     int _v = 0;
60113     {
60114       void *ptr;
60115       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60116         _v = 0;
60117       } else {
60118         _v = 1;
60119       }
60120     }
60121     if (_v) {
60122       {
60123         _v = lua_isnumber(L,argv[1]);
60124       }
60125       if (_v) {
60126         {
60127           void *ptr;
60128           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
60129             _v = 0;
60130           } else {
60131             _v = 1;
60132           }
60133         }
60134         if (_v) {
60135           return _wrap_SBThread_RunToAddress__SWIG_1(L);
60136         }
60137       }
60138     }
60139   }
60140 
60141   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_RunToAddress'\n"
60142     "  Possible C/C++ prototypes are:\n"
60143     "    lldb::SBThread::RunToAddress(lldb::addr_t)\n"
60144     "    lldb::SBThread::RunToAddress(lldb::addr_t,lldb::SBError &)\n");
60145   lua_error(L);return 0;
60146 }
60147 
60148 
_wrap_SBThread_ReturnFromFrame(lua_State * L)60149 static int _wrap_SBThread_ReturnFromFrame(lua_State* L) {
60150   {
60151     int SWIG_arg = 0;
60152     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60153     lldb::SBFrame *arg2 = 0 ;
60154     lldb::SBValue *arg3 = 0 ;
60155     lldb::SBError result;
60156 
60157     SWIG_check_num_args("lldb::SBThread::ReturnFromFrame",3,3)
60158     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",1,"lldb::SBThread *");
60159     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",2,"lldb::SBFrame &");
60160     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::ReturnFromFrame",3,"lldb::SBValue &");
60161 
60162     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60163       SWIG_fail_ptr("SBThread_ReturnFromFrame",1,SWIGTYPE_p_lldb__SBThread);
60164     }
60165 
60166 
60167     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFrame,0))){
60168       SWIG_fail_ptr("SBThread_ReturnFromFrame",2,SWIGTYPE_p_lldb__SBFrame);
60169     }
60170 
60171 
60172     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBValue,0))){
60173       SWIG_fail_ptr("SBThread_ReturnFromFrame",3,SWIGTYPE_p_lldb__SBValue);
60174     }
60175 
60176     result = (arg1)->ReturnFromFrame(*arg2,*arg3);
60177     {
60178       lldb::SBError * resultptr = new lldb::SBError(result);
60179       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
60180     }
60181     return SWIG_arg;
60182 
60183     fail: SWIGUNUSED;
60184   }
60185   lua_error(L);
60186   return 0;
60187 }
60188 
60189 
_wrap_SBThread_UnwindInnermostExpression(lua_State * L)60190 static int _wrap_SBThread_UnwindInnermostExpression(lua_State* L) {
60191   {
60192     int SWIG_arg = 0;
60193     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60194     lldb::SBError result;
60195 
60196     SWIG_check_num_args("lldb::SBThread::UnwindInnermostExpression",1,1)
60197     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::UnwindInnermostExpression",1,"lldb::SBThread *");
60198 
60199     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60200       SWIG_fail_ptr("SBThread_UnwindInnermostExpression",1,SWIGTYPE_p_lldb__SBThread);
60201     }
60202 
60203     result = (arg1)->UnwindInnermostExpression();
60204     {
60205       lldb::SBError * resultptr = new lldb::SBError(result);
60206       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
60207     }
60208     return SWIG_arg;
60209 
60210     fail: SWIGUNUSED;
60211   }
60212   lua_error(L);
60213   return 0;
60214 }
60215 
60216 
_wrap_SBThread_Suspend__SWIG_0(lua_State * L)60217 static int _wrap_SBThread_Suspend__SWIG_0(lua_State* L) {
60218   {
60219     int SWIG_arg = 0;
60220     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60221     bool result;
60222 
60223     SWIG_check_num_args("lldb::SBThread::Suspend",1,1)
60224     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *");
60225 
60226     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60227       SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread);
60228     }
60229 
60230     result = (bool)(arg1)->Suspend();
60231     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60232     return SWIG_arg;
60233 
60234     fail: SWIGUNUSED;
60235   }
60236   lua_error(L);
60237   return 0;
60238 }
60239 
60240 
_wrap_SBThread_Suspend__SWIG_1(lua_State * L)60241 static int _wrap_SBThread_Suspend__SWIG_1(lua_State* L) {
60242   {
60243     int SWIG_arg = 0;
60244     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60245     lldb::SBError *arg2 = 0 ;
60246     bool result;
60247 
60248     SWIG_check_num_args("lldb::SBThread::Suspend",2,2)
60249     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Suspend",1,"lldb::SBThread *");
60250     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Suspend",2,"lldb::SBError &");
60251 
60252     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60253       SWIG_fail_ptr("SBThread_Suspend",1,SWIGTYPE_p_lldb__SBThread);
60254     }
60255 
60256 
60257     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
60258       SWIG_fail_ptr("SBThread_Suspend",2,SWIGTYPE_p_lldb__SBError);
60259     }
60260 
60261     result = (bool)(arg1)->Suspend(*arg2);
60262     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60263     return SWIG_arg;
60264 
60265     fail: SWIGUNUSED;
60266   }
60267   lua_error(L);
60268   return 0;
60269 }
60270 
60271 
_wrap_SBThread_Suspend(lua_State * L)60272 static int _wrap_SBThread_Suspend(lua_State* L) {
60273   int argc;
60274   int argv[3]={
60275     1,2,3
60276   };
60277 
60278   argc = lua_gettop(L);
60279   if (argc == 1) {
60280     int _v = 0;
60281     {
60282       void *ptr;
60283       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60284         _v = 0;
60285       } else {
60286         _v = 1;
60287       }
60288     }
60289     if (_v) {
60290       return _wrap_SBThread_Suspend__SWIG_0(L);
60291     }
60292   }
60293   if (argc == 2) {
60294     int _v = 0;
60295     {
60296       void *ptr;
60297       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60298         _v = 0;
60299       } else {
60300         _v = 1;
60301       }
60302     }
60303     if (_v) {
60304       {
60305         void *ptr;
60306         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
60307           _v = 0;
60308         } else {
60309           _v = 1;
60310         }
60311       }
60312       if (_v) {
60313         return _wrap_SBThread_Suspend__SWIG_1(L);
60314       }
60315     }
60316   }
60317 
60318   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_Suspend'\n"
60319     "  Possible C/C++ prototypes are:\n"
60320     "    lldb::SBThread::Suspend()\n"
60321     "    lldb::SBThread::Suspend(lldb::SBError &)\n");
60322   lua_error(L);return 0;
60323 }
60324 
60325 
_wrap_SBThread_Resume__SWIG_0(lua_State * L)60326 static int _wrap_SBThread_Resume__SWIG_0(lua_State* L) {
60327   {
60328     int SWIG_arg = 0;
60329     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60330     bool result;
60331 
60332     SWIG_check_num_args("lldb::SBThread::Resume",1,1)
60333     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *");
60334 
60335     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60336       SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread);
60337     }
60338 
60339     result = (bool)(arg1)->Resume();
60340     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60341     return SWIG_arg;
60342 
60343     fail: SWIGUNUSED;
60344   }
60345   lua_error(L);
60346   return 0;
60347 }
60348 
60349 
_wrap_SBThread_Resume__SWIG_1(lua_State * L)60350 static int _wrap_SBThread_Resume__SWIG_1(lua_State* L) {
60351   {
60352     int SWIG_arg = 0;
60353     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60354     lldb::SBError *arg2 = 0 ;
60355     bool result;
60356 
60357     SWIG_check_num_args("lldb::SBThread::Resume",2,2)
60358     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::Resume",1,"lldb::SBThread *");
60359     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::Resume",2,"lldb::SBError &");
60360 
60361     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60362       SWIG_fail_ptr("SBThread_Resume",1,SWIGTYPE_p_lldb__SBThread);
60363     }
60364 
60365 
60366     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
60367       SWIG_fail_ptr("SBThread_Resume",2,SWIGTYPE_p_lldb__SBError);
60368     }
60369 
60370     result = (bool)(arg1)->Resume(*arg2);
60371     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60372     return SWIG_arg;
60373 
60374     fail: SWIGUNUSED;
60375   }
60376   lua_error(L);
60377   return 0;
60378 }
60379 
60380 
_wrap_SBThread_Resume(lua_State * L)60381 static int _wrap_SBThread_Resume(lua_State* L) {
60382   int argc;
60383   int argv[3]={
60384     1,2,3
60385   };
60386 
60387   argc = lua_gettop(L);
60388   if (argc == 1) {
60389     int _v = 0;
60390     {
60391       void *ptr;
60392       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60393         _v = 0;
60394       } else {
60395         _v = 1;
60396       }
60397     }
60398     if (_v) {
60399       return _wrap_SBThread_Resume__SWIG_0(L);
60400     }
60401   }
60402   if (argc == 2) {
60403     int _v = 0;
60404     {
60405       void *ptr;
60406       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60407         _v = 0;
60408       } else {
60409         _v = 1;
60410       }
60411     }
60412     if (_v) {
60413       {
60414         void *ptr;
60415         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
60416           _v = 0;
60417         } else {
60418           _v = 1;
60419         }
60420       }
60421       if (_v) {
60422         return _wrap_SBThread_Resume__SWIG_1(L);
60423       }
60424     }
60425   }
60426 
60427   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_Resume'\n"
60428     "  Possible C/C++ prototypes are:\n"
60429     "    lldb::SBThread::Resume()\n"
60430     "    lldb::SBThread::Resume(lldb::SBError &)\n");
60431   lua_error(L);return 0;
60432 }
60433 
60434 
_wrap_SBThread_IsSuspended(lua_State * L)60435 static int _wrap_SBThread_IsSuspended(lua_State* L) {
60436   {
60437     int SWIG_arg = 0;
60438     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60439     bool result;
60440 
60441     SWIG_check_num_args("lldb::SBThread::IsSuspended",1,1)
60442     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsSuspended",1,"lldb::SBThread *");
60443 
60444     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60445       SWIG_fail_ptr("SBThread_IsSuspended",1,SWIGTYPE_p_lldb__SBThread);
60446     }
60447 
60448     result = (bool)(arg1)->IsSuspended();
60449     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60450     return SWIG_arg;
60451 
60452     fail: SWIGUNUSED;
60453   }
60454   lua_error(L);
60455   return 0;
60456 }
60457 
60458 
_wrap_SBThread_IsStopped(lua_State * L)60459 static int _wrap_SBThread_IsStopped(lua_State* L) {
60460   {
60461     int SWIG_arg = 0;
60462     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60463     bool result;
60464 
60465     SWIG_check_num_args("lldb::SBThread::IsStopped",1,1)
60466     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::IsStopped",1,"lldb::SBThread *");
60467 
60468     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60469       SWIG_fail_ptr("SBThread_IsStopped",1,SWIGTYPE_p_lldb__SBThread);
60470     }
60471 
60472     result = (bool)(arg1)->IsStopped();
60473     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60474     return SWIG_arg;
60475 
60476     fail: SWIGUNUSED;
60477   }
60478   lua_error(L);
60479   return 0;
60480 }
60481 
60482 
_wrap_SBThread_GetNumFrames(lua_State * L)60483 static int _wrap_SBThread_GetNumFrames(lua_State* L) {
60484   {
60485     int SWIG_arg = 0;
60486     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60487     uint32_t result;
60488 
60489     SWIG_check_num_args("lldb::SBThread::GetNumFrames",1,1)
60490     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetNumFrames",1,"lldb::SBThread *");
60491 
60492     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60493       SWIG_fail_ptr("SBThread_GetNumFrames",1,SWIGTYPE_p_lldb__SBThread);
60494     }
60495 
60496     result = (uint32_t)(arg1)->GetNumFrames();
60497     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
60498     return SWIG_arg;
60499 
60500     fail: SWIGUNUSED;
60501   }
60502   lua_error(L);
60503   return 0;
60504 }
60505 
60506 
_wrap_SBThread_GetFrameAtIndex(lua_State * L)60507 static int _wrap_SBThread_GetFrameAtIndex(lua_State* L) {
60508   {
60509     int SWIG_arg = 0;
60510     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60511     uint32_t arg2 ;
60512     lldb::SBFrame result;
60513 
60514     SWIG_check_num_args("lldb::SBThread::GetFrameAtIndex",2,2)
60515     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",1,"lldb::SBThread *");
60516     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::GetFrameAtIndex",2,"uint32_t");
60517 
60518     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60519       SWIG_fail_ptr("SBThread_GetFrameAtIndex",1,SWIGTYPE_p_lldb__SBThread);
60520     }
60521 
60522     arg2 = (uint32_t)lua_tointeger(L, 2);
60523     result = (arg1)->GetFrameAtIndex(arg2);
60524     {
60525       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
60526       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
60527     }
60528     return SWIG_arg;
60529 
60530     fail: SWIGUNUSED;
60531   }
60532   lua_error(L);
60533   return 0;
60534 }
60535 
60536 
_wrap_SBThread_GetSelectedFrame(lua_State * L)60537 static int _wrap_SBThread_GetSelectedFrame(lua_State* L) {
60538   {
60539     int SWIG_arg = 0;
60540     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60541     lldb::SBFrame result;
60542 
60543     SWIG_check_num_args("lldb::SBThread::GetSelectedFrame",1,1)
60544     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSelectedFrame",1,"lldb::SBThread *");
60545 
60546     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60547       SWIG_fail_ptr("SBThread_GetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread);
60548     }
60549 
60550     result = (arg1)->GetSelectedFrame();
60551     {
60552       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
60553       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
60554     }
60555     return SWIG_arg;
60556 
60557     fail: SWIGUNUSED;
60558   }
60559   lua_error(L);
60560   return 0;
60561 }
60562 
60563 
_wrap_SBThread_SetSelectedFrame(lua_State * L)60564 static int _wrap_SBThread_SetSelectedFrame(lua_State* L) {
60565   {
60566     int SWIG_arg = 0;
60567     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60568     uint32_t arg2 ;
60569     lldb::SBFrame result;
60570 
60571     SWIG_check_num_args("lldb::SBThread::SetSelectedFrame",2,2)
60572     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",1,"lldb::SBThread *");
60573     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThread::SetSelectedFrame",2,"uint32_t");
60574 
60575     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60576       SWIG_fail_ptr("SBThread_SetSelectedFrame",1,SWIGTYPE_p_lldb__SBThread);
60577     }
60578 
60579     arg2 = (uint32_t)lua_tointeger(L, 2);
60580     result = (arg1)->SetSelectedFrame(arg2);
60581     {
60582       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
60583       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
60584     }
60585     return SWIG_arg;
60586 
60587     fail: SWIGUNUSED;
60588   }
60589   lua_error(L);
60590   return 0;
60591 }
60592 
60593 
_wrap_SBThread_EventIsThreadEvent(lua_State * L)60594 static int _wrap_SBThread_EventIsThreadEvent(lua_State* L) {
60595   {
60596     int SWIG_arg = 0;
60597     lldb::SBEvent *arg1 = 0 ;
60598     bool result;
60599 
60600     SWIG_check_num_args("lldb::SBThread::EventIsThreadEvent",1,1)
60601     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::EventIsThreadEvent",1,"lldb::SBEvent const &");
60602 
60603     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
60604       SWIG_fail_ptr("SBThread_EventIsThreadEvent",1,SWIGTYPE_p_lldb__SBEvent);
60605     }
60606 
60607     result = (bool)lldb::SBThread::EventIsThreadEvent((lldb::SBEvent const &)*arg1);
60608     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60609     return SWIG_arg;
60610 
60611     fail: SWIGUNUSED;
60612   }
60613   lua_error(L);
60614   return 0;
60615 }
60616 
60617 
_wrap_SBThread_GetStackFrameFromEvent(lua_State * L)60618 static int _wrap_SBThread_GetStackFrameFromEvent(lua_State* L) {
60619   {
60620     int SWIG_arg = 0;
60621     lldb::SBEvent *arg1 = 0 ;
60622     lldb::SBFrame result;
60623 
60624     SWIG_check_num_args("lldb::SBThread::GetStackFrameFromEvent",1,1)
60625     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetStackFrameFromEvent",1,"lldb::SBEvent const &");
60626 
60627     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
60628       SWIG_fail_ptr("SBThread_GetStackFrameFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
60629     }
60630 
60631     result = lldb::SBThread::GetStackFrameFromEvent((lldb::SBEvent const &)*arg1);
60632     {
60633       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
60634       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
60635     }
60636     return SWIG_arg;
60637 
60638     fail: SWIGUNUSED;
60639   }
60640   lua_error(L);
60641   return 0;
60642 }
60643 
60644 
_wrap_SBThread_GetThreadFromEvent(lua_State * L)60645 static int _wrap_SBThread_GetThreadFromEvent(lua_State* L) {
60646   {
60647     int SWIG_arg = 0;
60648     lldb::SBEvent *arg1 = 0 ;
60649     lldb::SBThread result;
60650 
60651     SWIG_check_num_args("lldb::SBThread::GetThreadFromEvent",1,1)
60652     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThread::GetThreadFromEvent",1,"lldb::SBEvent const &");
60653 
60654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
60655       SWIG_fail_ptr("SBThread_GetThreadFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
60656     }
60657 
60658     result = lldb::SBThread::GetThreadFromEvent((lldb::SBEvent const &)*arg1);
60659     {
60660       lldb::SBThread * resultptr = new lldb::SBThread(result);
60661       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
60662     }
60663     return SWIG_arg;
60664 
60665     fail: SWIGUNUSED;
60666   }
60667   lua_error(L);
60668   return 0;
60669 }
60670 
60671 
_wrap_SBThread_GetProcess(lua_State * L)60672 static int _wrap_SBThread_GetProcess(lua_State* L) {
60673   {
60674     int SWIG_arg = 0;
60675     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60676     lldb::SBProcess result;
60677 
60678     SWIG_check_num_args("lldb::SBThread::GetProcess",1,1)
60679     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetProcess",1,"lldb::SBThread *");
60680 
60681     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60682       SWIG_fail_ptr("SBThread_GetProcess",1,SWIGTYPE_p_lldb__SBThread);
60683     }
60684 
60685     result = (arg1)->GetProcess();
60686     {
60687       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
60688       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
60689     }
60690     return SWIG_arg;
60691 
60692     fail: SWIGUNUSED;
60693   }
60694   lua_error(L);
60695   return 0;
60696 }
60697 
60698 
_wrap_SBThread___eq(lua_State * L)60699 static int _wrap_SBThread___eq(lua_State* L) {
60700   {
60701     int SWIG_arg = 0;
60702     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60703     lldb::SBThread *arg2 = 0 ;
60704     bool result;
60705 
60706     SWIG_check_num_args("lldb::SBThread::operator ==",2,2)
60707     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::operator ==",1,"lldb::SBThread const *");
60708     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::operator ==",2,"lldb::SBThread const &");
60709 
60710     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60711       SWIG_fail_ptr("SBThread___eq",1,SWIGTYPE_p_lldb__SBThread);
60712     }
60713 
60714 
60715     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){
60716       SWIG_fail_ptr("SBThread___eq",2,SWIGTYPE_p_lldb__SBThread);
60717     }
60718 
60719     result = (bool)((lldb::SBThread const *)arg1)->operator ==((lldb::SBThread const &)*arg2);
60720     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60721     return SWIG_arg;
60722 
60723     fail: SWIGUNUSED;
60724   }
60725   lua_error(L);
60726   return 0;
60727 }
60728 
60729 
_wrap_SBThread_GetDescription__SWIG_0(lua_State * L)60730 static int _wrap_SBThread_GetDescription__SWIG_0(lua_State* L) {
60731   {
60732     int SWIG_arg = 0;
60733     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60734     lldb::SBStream *arg2 = 0 ;
60735     bool result;
60736 
60737     SWIG_check_num_args("lldb::SBThread::GetDescription",2,2)
60738     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *");
60739     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &");
60740 
60741     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60742       SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread);
60743     }
60744 
60745 
60746     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
60747       SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
60748     }
60749 
60750     result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2);
60751     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60752     return SWIG_arg;
60753 
60754     fail: SWIGUNUSED;
60755   }
60756   lua_error(L);
60757   return 0;
60758 }
60759 
60760 
_wrap_SBThread_GetDescription__SWIG_1(lua_State * L)60761 static int _wrap_SBThread_GetDescription__SWIG_1(lua_State* L) {
60762   {
60763     int SWIG_arg = 0;
60764     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60765     lldb::SBStream *arg2 = 0 ;
60766     bool arg3 ;
60767     bool result;
60768 
60769     SWIG_check_num_args("lldb::SBThread::GetDescription",3,3)
60770     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescription",1,"lldb::SBThread const *");
60771     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescription",2,"lldb::SBStream &");
60772     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThread::GetDescription",3,"bool");
60773 
60774     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60775       SWIG_fail_ptr("SBThread_GetDescription",1,SWIGTYPE_p_lldb__SBThread);
60776     }
60777 
60778 
60779     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
60780       SWIG_fail_ptr("SBThread_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
60781     }
60782 
60783     arg3 = (lua_toboolean(L, 3)!=0);
60784     result = (bool)((lldb::SBThread const *)arg1)->GetDescription(*arg2,arg3);
60785     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60786     return SWIG_arg;
60787 
60788     fail: SWIGUNUSED;
60789   }
60790   lua_error(L);
60791   return 0;
60792 }
60793 
60794 
_wrap_SBThread_GetDescription(lua_State * L)60795 static int _wrap_SBThread_GetDescription(lua_State* L) {
60796   int argc;
60797   int argv[4]={
60798     1,2,3,4
60799   };
60800 
60801   argc = lua_gettop(L);
60802   if (argc == 2) {
60803     int _v = 0;
60804     {
60805       void *ptr;
60806       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60807         _v = 0;
60808       } else {
60809         _v = 1;
60810       }
60811     }
60812     if (_v) {
60813       {
60814         void *ptr;
60815         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
60816           _v = 0;
60817         } else {
60818           _v = 1;
60819         }
60820       }
60821       if (_v) {
60822         return _wrap_SBThread_GetDescription__SWIG_0(L);
60823       }
60824     }
60825   }
60826   if (argc == 3) {
60827     int _v = 0;
60828     {
60829       void *ptr;
60830       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, 0)) {
60831         _v = 0;
60832       } else {
60833         _v = 1;
60834       }
60835     }
60836     if (_v) {
60837       {
60838         void *ptr;
60839         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
60840           _v = 0;
60841         } else {
60842           _v = 1;
60843         }
60844       }
60845       if (_v) {
60846         {
60847           _v = lua_isboolean(L,argv[2]);
60848         }
60849         if (_v) {
60850           return _wrap_SBThread_GetDescription__SWIG_1(L);
60851         }
60852       }
60853     }
60854   }
60855 
60856   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThread_GetDescription'\n"
60857     "  Possible C/C++ prototypes are:\n"
60858     "    lldb::SBThread::GetDescription(lldb::SBStream &) const\n"
60859     "    lldb::SBThread::GetDescription(lldb::SBStream &,bool) const\n");
60860   lua_error(L);return 0;
60861 }
60862 
60863 
_wrap_SBThread_GetDescriptionWithFormat(lua_State * L)60864 static int _wrap_SBThread_GetDescriptionWithFormat(lua_State* L) {
60865   {
60866     int SWIG_arg = 0;
60867     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60868     lldb::SBFormat *arg2 = 0 ;
60869     lldb::SBStream *arg3 = 0 ;
60870     lldb::SBError result;
60871 
60872     SWIG_check_num_args("lldb::SBThread::GetDescriptionWithFormat",3,3)
60873     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",1,"lldb::SBThread *");
60874     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",2,"lldb::SBFormat const &");
60875     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",3,"lldb::SBStream &");
60876 
60877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60878       SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",1,SWIGTYPE_p_lldb__SBThread);
60879     }
60880 
60881 
60882     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFormat,0))){
60883       SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",2,SWIGTYPE_p_lldb__SBFormat);
60884     }
60885 
60886 
60887     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){
60888       SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",3,SWIGTYPE_p_lldb__SBStream);
60889     }
60890 
60891     result = (arg1)->GetDescriptionWithFormat((lldb::SBFormat const &)*arg2,*arg3);
60892     {
60893       lldb::SBError * resultptr = new lldb::SBError(result);
60894       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
60895     }
60896     return SWIG_arg;
60897 
60898     fail: SWIGUNUSED;
60899   }
60900   lua_error(L);
60901   return 0;
60902 }
60903 
60904 
_wrap_SBThread_GetStatus(lua_State * L)60905 static int _wrap_SBThread_GetStatus(lua_State* L) {
60906   {
60907     int SWIG_arg = 0;
60908     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60909     lldb::SBStream *arg2 = 0 ;
60910     bool result;
60911 
60912     SWIG_check_num_args("lldb::SBThread::GetStatus",2,2)
60913     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetStatus",1,"lldb::SBThread const *");
60914     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetStatus",2,"lldb::SBStream &");
60915 
60916     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60917       SWIG_fail_ptr("SBThread_GetStatus",1,SWIGTYPE_p_lldb__SBThread);
60918     }
60919 
60920 
60921     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
60922       SWIG_fail_ptr("SBThread_GetStatus",2,SWIGTYPE_p_lldb__SBStream);
60923     }
60924 
60925     result = (bool)((lldb::SBThread const *)arg1)->GetStatus(*arg2);
60926     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
60927     return SWIG_arg;
60928 
60929     fail: SWIGUNUSED;
60930   }
60931   lua_error(L);
60932   return 0;
60933 }
60934 
60935 
_wrap_SBThread_GetExtendedBacktraceThread(lua_State * L)60936 static int _wrap_SBThread_GetExtendedBacktraceThread(lua_State* L) {
60937   {
60938     int SWIG_arg = 0;
60939     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60940     char *arg2 = (char *) 0 ;
60941     lldb::SBThread result;
60942 
60943     SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceThread",2,2)
60944     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",1,"lldb::SBThread *");
60945     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceThread",2,"char const *");
60946 
60947     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60948       SWIG_fail_ptr("SBThread_GetExtendedBacktraceThread",1,SWIGTYPE_p_lldb__SBThread);
60949     }
60950 
60951     arg2 = (char *)lua_tostring(L, 2);
60952     result = (arg1)->GetExtendedBacktraceThread((char const *)arg2);
60953     {
60954       lldb::SBThread * resultptr = new lldb::SBThread(result);
60955       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
60956     }
60957     return SWIG_arg;
60958 
60959     fail: SWIGUNUSED;
60960   }
60961   lua_error(L);
60962   return 0;
60963 }
60964 
60965 
_wrap_SBThread_GetExtendedBacktraceOriginatingIndexID(lua_State * L)60966 static int _wrap_SBThread_GetExtendedBacktraceOriginatingIndexID(lua_State* L) {
60967   {
60968     int SWIG_arg = 0;
60969     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60970     uint32_t result;
60971 
60972     SWIG_check_num_args("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,1)
60973     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetExtendedBacktraceOriginatingIndexID",1,"lldb::SBThread *");
60974 
60975     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
60976       SWIG_fail_ptr("SBThread_GetExtendedBacktraceOriginatingIndexID",1,SWIGTYPE_p_lldb__SBThread);
60977     }
60978 
60979     result = (uint32_t)(arg1)->GetExtendedBacktraceOriginatingIndexID();
60980     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
60981     return SWIG_arg;
60982 
60983     fail: SWIGUNUSED;
60984   }
60985   lua_error(L);
60986   return 0;
60987 }
60988 
60989 
_wrap_SBThread_GetCurrentException(lua_State * L)60990 static int _wrap_SBThread_GetCurrentException(lua_State* L) {
60991   {
60992     int SWIG_arg = 0;
60993     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
60994     lldb::SBValue result;
60995 
60996     SWIG_check_num_args("lldb::SBThread::GetCurrentException",1,1)
60997     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentException",1,"lldb::SBThread *");
60998 
60999     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61000       SWIG_fail_ptr("SBThread_GetCurrentException",1,SWIGTYPE_p_lldb__SBThread);
61001     }
61002 
61003     result = (arg1)->GetCurrentException();
61004     {
61005       lldb::SBValue * resultptr = new lldb::SBValue(result);
61006       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
61007     }
61008     return SWIG_arg;
61009 
61010     fail: SWIGUNUSED;
61011   }
61012   lua_error(L);
61013   return 0;
61014 }
61015 
61016 
_wrap_SBThread_GetCurrentExceptionBacktrace(lua_State * L)61017 static int _wrap_SBThread_GetCurrentExceptionBacktrace(lua_State* L) {
61018   {
61019     int SWIG_arg = 0;
61020     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
61021     lldb::SBThread result;
61022 
61023     SWIG_check_num_args("lldb::SBThread::GetCurrentExceptionBacktrace",1,1)
61024     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetCurrentExceptionBacktrace",1,"lldb::SBThread *");
61025 
61026     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61027       SWIG_fail_ptr("SBThread_GetCurrentExceptionBacktrace",1,SWIGTYPE_p_lldb__SBThread);
61028     }
61029 
61030     result = (arg1)->GetCurrentExceptionBacktrace();
61031     {
61032       lldb::SBThread * resultptr = new lldb::SBThread(result);
61033       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
61034     }
61035     return SWIG_arg;
61036 
61037     fail: SWIGUNUSED;
61038   }
61039   lua_error(L);
61040   return 0;
61041 }
61042 
61043 
_wrap_SBThread_SafeToCallFunctions(lua_State * L)61044 static int _wrap_SBThread_SafeToCallFunctions(lua_State* L) {
61045   {
61046     int SWIG_arg = 0;
61047     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
61048     bool result;
61049 
61050     SWIG_check_num_args("lldb::SBThread::SafeToCallFunctions",1,1)
61051     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::SafeToCallFunctions",1,"lldb::SBThread *");
61052 
61053     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61054       SWIG_fail_ptr("SBThread_SafeToCallFunctions",1,SWIGTYPE_p_lldb__SBThread);
61055     }
61056 
61057     result = (bool)(arg1)->SafeToCallFunctions();
61058     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61059     return SWIG_arg;
61060 
61061     fail: SWIGUNUSED;
61062   }
61063   lua_error(L);
61064   return 0;
61065 }
61066 
61067 
_wrap_SBThread_GetSiginfo(lua_State * L)61068 static int _wrap_SBThread_GetSiginfo(lua_State* L) {
61069   {
61070     int SWIG_arg = 0;
61071     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
61072     lldb::SBValue result;
61073 
61074     SWIG_check_num_args("lldb::SBThread::GetSiginfo",1,1)
61075     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetSiginfo",1,"lldb::SBThread *");
61076 
61077     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61078       SWIG_fail_ptr("SBThread_GetSiginfo",1,SWIGTYPE_p_lldb__SBThread);
61079     }
61080 
61081     result = (arg1)->GetSiginfo();
61082     {
61083       lldb::SBValue * resultptr = new lldb::SBValue(result);
61084       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
61085     }
61086     return SWIG_arg;
61087 
61088     fail: SWIGUNUSED;
61089   }
61090   lua_error(L);
61091   return 0;
61092 }
61093 
61094 
_wrap_SBThread___tostring(lua_State * L)61095 static int _wrap_SBThread___tostring(lua_State* L) {
61096   {
61097     int SWIG_arg = 0;
61098     lldb::SBThread *arg1 = (lldb::SBThread *) 0 ;
61099     std::string result;
61100 
61101     SWIG_check_num_args("lldb::SBThread::__repr__",1,1)
61102     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::__repr__",1,"lldb::SBThread *");
61103 
61104     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61105       SWIG_fail_ptr("SBThread___tostring",1,SWIGTYPE_p_lldb__SBThread);
61106     }
61107 
61108     result = lldb_SBThread___repr__(arg1);
61109     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
61110     return SWIG_arg;
61111 
61112     fail: SWIGUNUSED;
61113   }
61114   lua_error(L);
61115   return 0;
61116 }
61117 
61118 
swig_delete_SBThread(void * obj)61119 static void swig_delete_SBThread(void *obj) {
61120 lldb::SBThread *arg1 = (lldb::SBThread *) obj;
61121 delete arg1;
61122 }
_proxy__wrap_new_SBThread(lua_State * L)61123 static int _proxy__wrap_new_SBThread(lua_State *L) {
61124     assert(lua_istable(L,1));
61125     lua_pushcfunction(L,_wrap_new_SBThread);
61126     assert(!lua_isnil(L,-1));
61127     lua_replace(L,1); /* replace our table with real constructor */
61128     lua_call(L,lua_gettop(L)-1,1);
61129     return 1;
61130 }
61131 static swig_lua_attribute swig_SBThread_attributes[] = {
61132     {0,0,0}
61133 };
61134 static swig_lua_method swig_SBThread_methods[]= {
61135     { "GetQueue", _wrap_SBThread_GetQueue},
61136     { "IsValid", _wrap_SBThread_IsValid},
61137     { "Clear", _wrap_SBThread_Clear},
61138     { "GetStopReason", _wrap_SBThread_GetStopReason},
61139     { "GetStopReasonDataCount", _wrap_SBThread_GetStopReasonDataCount},
61140     { "GetStopReasonDataAtIndex", _wrap_SBThread_GetStopReasonDataAtIndex},
61141     { "GetStopReasonExtendedInfoAsJSON", _wrap_SBThread_GetStopReasonExtendedInfoAsJSON},
61142     { "GetStopReasonExtendedBacktraces", _wrap_SBThread_GetStopReasonExtendedBacktraces},
61143     { "GetStopDescription", _wrap_SBThread_GetStopDescription},
61144     { "GetStopReturnValue", _wrap_SBThread_GetStopReturnValue},
61145     { "GetThreadID", _wrap_SBThread_GetThreadID},
61146     { "GetIndexID", _wrap_SBThread_GetIndexID},
61147     { "GetName", _wrap_SBThread_GetName},
61148     { "GetQueueName", _wrap_SBThread_GetQueueName},
61149     { "GetQueueID", _wrap_SBThread_GetQueueID},
61150     { "GetInfoItemByPathAsString", _wrap_SBThread_GetInfoItemByPathAsString},
61151     { "StepOver", _wrap_SBThread_StepOver},
61152     { "StepInto", _wrap_SBThread_StepInto},
61153     { "StepOut", _wrap_SBThread_StepOut},
61154     { "StepOutOfFrame", _wrap_SBThread_StepOutOfFrame},
61155     { "StepInstruction", _wrap_SBThread_StepInstruction},
61156     { "StepOverUntil", _wrap_SBThread_StepOverUntil},
61157     { "StepUsingScriptedThreadPlan", _wrap_SBThread_StepUsingScriptedThreadPlan},
61158     { "JumpToLine", _wrap_SBThread_JumpToLine},
61159     { "RunToAddress", _wrap_SBThread_RunToAddress},
61160     { "ReturnFromFrame", _wrap_SBThread_ReturnFromFrame},
61161     { "UnwindInnermostExpression", _wrap_SBThread_UnwindInnermostExpression},
61162     { "Suspend", _wrap_SBThread_Suspend},
61163     { "Resume", _wrap_SBThread_Resume},
61164     { "IsSuspended", _wrap_SBThread_IsSuspended},
61165     { "IsStopped", _wrap_SBThread_IsStopped},
61166     { "GetNumFrames", _wrap_SBThread_GetNumFrames},
61167     { "GetFrameAtIndex", _wrap_SBThread_GetFrameAtIndex},
61168     { "GetSelectedFrame", _wrap_SBThread_GetSelectedFrame},
61169     { "SetSelectedFrame", _wrap_SBThread_SetSelectedFrame},
61170     { "GetProcess", _wrap_SBThread_GetProcess},
61171     { "__eq", _wrap_SBThread___eq},
61172     { "GetDescription", _wrap_SBThread_GetDescription},
61173     { "GetDescriptionWithFormat", _wrap_SBThread_GetDescriptionWithFormat},
61174     { "GetStatus", _wrap_SBThread_GetStatus},
61175     { "GetExtendedBacktraceThread", _wrap_SBThread_GetExtendedBacktraceThread},
61176     { "GetExtendedBacktraceOriginatingIndexID", _wrap_SBThread_GetExtendedBacktraceOriginatingIndexID},
61177     { "GetCurrentException", _wrap_SBThread_GetCurrentException},
61178     { "GetCurrentExceptionBacktrace", _wrap_SBThread_GetCurrentExceptionBacktrace},
61179     { "SafeToCallFunctions", _wrap_SBThread_SafeToCallFunctions},
61180     { "GetSiginfo", _wrap_SBThread_GetSiginfo},
61181     { "__tostring", _wrap_SBThread___tostring},
61182     {0,0}
61183 };
61184 static swig_lua_method swig_SBThread_meta[] = {
61185     { "__eq", _wrap_SBThread___eq},
61186     { "__tostring", _wrap_SBThread___tostring},
61187     {0,0}
61188 };
61189 
61190 static swig_lua_attribute swig_SBThread_Sf_SwigStatic_attributes[] = {
61191     {0,0,0}
61192 };
61193 static swig_lua_const_info swig_SBThread_Sf_SwigStatic_constants[]= {
61194     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitStackChanged", lldb::SBThread::eBroadcastBitStackChanged)},
61195     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitThreadSuspended", lldb::SBThread::eBroadcastBitThreadSuspended)},
61196     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitThreadResumed", lldb::SBThread::eBroadcastBitThreadResumed)},
61197     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitSelectedFrameChanged", lldb::SBThread::eBroadcastBitSelectedFrameChanged)},
61198     {SWIG_LUA_CONSTTAB_INT("eBroadcastBitThreadSelected", lldb::SBThread::eBroadcastBitThreadSelected)},
61199     {0,0,0,0,0,0}
61200 };
61201 static swig_lua_method swig_SBThread_Sf_SwigStatic_methods[]= {
61202     { "GetBroadcasterClassName", _wrap_SBThread_GetBroadcasterClassName},
61203     { "EventIsThreadEvent", _wrap_SBThread_EventIsThreadEvent},
61204     { "GetStackFrameFromEvent", _wrap_SBThread_GetStackFrameFromEvent},
61205     { "GetThreadFromEvent", _wrap_SBThread_GetThreadFromEvent},
61206     {0,0}
61207 };
61208 static swig_lua_class* swig_SBThread_Sf_SwigStatic_classes[]= {
61209     0
61210 };
61211 
61212 static swig_lua_namespace swig_SBThread_Sf_SwigStatic = {
61213     "SBThread",
61214     swig_SBThread_Sf_SwigStatic_methods,
61215     swig_SBThread_Sf_SwigStatic_attributes,
61216     swig_SBThread_Sf_SwigStatic_constants,
61217     swig_SBThread_Sf_SwigStatic_classes,
61218     0
61219 };
61220 static swig_lua_class *swig_SBThread_bases[] = {0};
61221 static const char *swig_SBThread_base_names[] = {0};
61222 static swig_lua_class _wrap_class_SBThread = { "SBThread", "SBThread", &SWIGTYPE_p_lldb__SBThread,_proxy__wrap_new_SBThread, swig_delete_SBThread, swig_SBThread_methods, swig_SBThread_attributes, &swig_SBThread_Sf_SwigStatic, swig_SBThread_meta, swig_SBThread_bases, swig_SBThread_base_names };
61223 
_wrap_new_SBThreadCollection__SWIG_0(lua_State * L)61224 static int _wrap_new_SBThreadCollection__SWIG_0(lua_State* L) {
61225   {
61226     int SWIG_arg = 0;
61227     lldb::SBThreadCollection *result = 0 ;
61228 
61229     SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",0,0)
61230     result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection();
61231     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++;
61232     return SWIG_arg;
61233 
61234     fail: SWIGUNUSED;
61235   }
61236   lua_error(L);
61237   return 0;
61238 }
61239 
61240 
_wrap_new_SBThreadCollection__SWIG_1(lua_State * L)61241 static int _wrap_new_SBThreadCollection__SWIG_1(lua_State* L) {
61242   {
61243     int SWIG_arg = 0;
61244     lldb::SBThreadCollection *arg1 = 0 ;
61245     lldb::SBThreadCollection *result = 0 ;
61246 
61247     SWIG_check_num_args("lldb::SBThreadCollection::SBThreadCollection",1,1)
61248     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::SBThreadCollection",1,"lldb::SBThreadCollection const &");
61249 
61250     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){
61251       SWIG_fail_ptr("new_SBThreadCollection",1,SWIGTYPE_p_lldb__SBThreadCollection);
61252     }
61253 
61254     result = (lldb::SBThreadCollection *)new lldb::SBThreadCollection((lldb::SBThreadCollection const &)*arg1);
61255     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadCollection,1); SWIG_arg++;
61256     return SWIG_arg;
61257 
61258     fail: SWIGUNUSED;
61259   }
61260   lua_error(L);
61261   return 0;
61262 }
61263 
61264 
_wrap_new_SBThreadCollection(lua_State * L)61265 static int _wrap_new_SBThreadCollection(lua_State* L) {
61266   int argc;
61267   int argv[2]={
61268     1,2
61269   };
61270 
61271   argc = lua_gettop(L);
61272   if (argc == 0) {
61273     return _wrap_new_SBThreadCollection__SWIG_0(L);
61274   }
61275   if (argc == 1) {
61276     int _v = 0;
61277     {
61278       void *ptr;
61279       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadCollection, SWIG_POINTER_NO_NULL)) {
61280         _v = 0;
61281       } else {
61282         _v = 1;
61283       }
61284     }
61285     if (_v) {
61286       return _wrap_new_SBThreadCollection__SWIG_1(L);
61287     }
61288   }
61289 
61290   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBThreadCollection'\n"
61291     "  Possible C/C++ prototypes are:\n"
61292     "    lldb::SBThreadCollection::SBThreadCollection()\n"
61293     "    lldb::SBThreadCollection::SBThreadCollection(lldb::SBThreadCollection const &)\n");
61294   lua_error(L);return 0;
61295 }
61296 
61297 
_wrap_SBThreadCollection_IsValid(lua_State * L)61298 static int _wrap_SBThreadCollection_IsValid(lua_State* L) {
61299   {
61300     int SWIG_arg = 0;
61301     lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ;
61302     bool result;
61303 
61304     SWIG_check_num_args("lldb::SBThreadCollection::IsValid",1,1)
61305     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::IsValid",1,"lldb::SBThreadCollection const *");
61306 
61307     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){
61308       SWIG_fail_ptr("SBThreadCollection_IsValid",1,SWIGTYPE_p_lldb__SBThreadCollection);
61309     }
61310 
61311     result = (bool)((lldb::SBThreadCollection const *)arg1)->IsValid();
61312     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61313     return SWIG_arg;
61314 
61315     fail: SWIGUNUSED;
61316   }
61317   lua_error(L);
61318   return 0;
61319 }
61320 
61321 
_wrap_SBThreadCollection_GetSize(lua_State * L)61322 static int _wrap_SBThreadCollection_GetSize(lua_State* L) {
61323   {
61324     int SWIG_arg = 0;
61325     lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ;
61326     size_t result;
61327 
61328     SWIG_check_num_args("lldb::SBThreadCollection::GetSize",1,1)
61329     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetSize",1,"lldb::SBThreadCollection *");
61330 
61331     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){
61332       SWIG_fail_ptr("SBThreadCollection_GetSize",1,SWIGTYPE_p_lldb__SBThreadCollection);
61333     }
61334 
61335     result = (arg1)->GetSize();
61336     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
61337     return SWIG_arg;
61338 
61339     fail: SWIGUNUSED;
61340   }
61341   lua_error(L);
61342   return 0;
61343 }
61344 
61345 
_wrap_SBThreadCollection_GetThreadAtIndex(lua_State * L)61346 static int _wrap_SBThreadCollection_GetThreadAtIndex(lua_State* L) {
61347   {
61348     int SWIG_arg = 0;
61349     lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) 0 ;
61350     size_t arg2 ;
61351     lldb::SBThread result;
61352 
61353     SWIG_check_num_args("lldb::SBThreadCollection::GetThreadAtIndex",2,2)
61354     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",1,"lldb::SBThreadCollection *");
61355     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadCollection::GetThreadAtIndex",2,"size_t");
61356 
61357     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadCollection,0))){
61358       SWIG_fail_ptr("SBThreadCollection_GetThreadAtIndex",1,SWIGTYPE_p_lldb__SBThreadCollection);
61359     }
61360 
61361     arg2 = (size_t)lua_tointeger(L, 2);
61362     result = (arg1)->GetThreadAtIndex(arg2);
61363     {
61364       lldb::SBThread * resultptr = new lldb::SBThread(result);
61365       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
61366     }
61367     return SWIG_arg;
61368 
61369     fail: SWIGUNUSED;
61370   }
61371   lua_error(L);
61372   return 0;
61373 }
61374 
61375 
swig_delete_SBThreadCollection(void * obj)61376 static void swig_delete_SBThreadCollection(void *obj) {
61377 lldb::SBThreadCollection *arg1 = (lldb::SBThreadCollection *) obj;
61378 delete arg1;
61379 }
_proxy__wrap_new_SBThreadCollection(lua_State * L)61380 static int _proxy__wrap_new_SBThreadCollection(lua_State *L) {
61381     assert(lua_istable(L,1));
61382     lua_pushcfunction(L,_wrap_new_SBThreadCollection);
61383     assert(!lua_isnil(L,-1));
61384     lua_replace(L,1); /* replace our table with real constructor */
61385     lua_call(L,lua_gettop(L)-1,1);
61386     return 1;
61387 }
61388 static swig_lua_attribute swig_SBThreadCollection_attributes[] = {
61389     {0,0,0}
61390 };
61391 static swig_lua_method swig_SBThreadCollection_methods[]= {
61392     { "IsValid", _wrap_SBThreadCollection_IsValid},
61393     { "GetSize", _wrap_SBThreadCollection_GetSize},
61394     { "GetThreadAtIndex", _wrap_SBThreadCollection_GetThreadAtIndex},
61395     {0,0}
61396 };
61397 static swig_lua_method swig_SBThreadCollection_meta[] = {
61398     {0,0}
61399 };
61400 
61401 static swig_lua_attribute swig_SBThreadCollection_Sf_SwigStatic_attributes[] = {
61402     {0,0,0}
61403 };
61404 static swig_lua_const_info swig_SBThreadCollection_Sf_SwigStatic_constants[]= {
61405     {0,0,0,0,0,0}
61406 };
61407 static swig_lua_method swig_SBThreadCollection_Sf_SwigStatic_methods[]= {
61408     {0,0}
61409 };
61410 static swig_lua_class* swig_SBThreadCollection_Sf_SwigStatic_classes[]= {
61411     0
61412 };
61413 
61414 static swig_lua_namespace swig_SBThreadCollection_Sf_SwigStatic = {
61415     "SBThreadCollection",
61416     swig_SBThreadCollection_Sf_SwigStatic_methods,
61417     swig_SBThreadCollection_Sf_SwigStatic_attributes,
61418     swig_SBThreadCollection_Sf_SwigStatic_constants,
61419     swig_SBThreadCollection_Sf_SwigStatic_classes,
61420     0
61421 };
61422 static swig_lua_class *swig_SBThreadCollection_bases[] = {0};
61423 static const char *swig_SBThreadCollection_base_names[] = {0};
61424 static swig_lua_class _wrap_class_SBThreadCollection = { "SBThreadCollection", "SBThreadCollection", &SWIGTYPE_p_lldb__SBThreadCollection,_proxy__wrap_new_SBThreadCollection, swig_delete_SBThreadCollection, swig_SBThreadCollection_methods, swig_SBThreadCollection_attributes, &swig_SBThreadCollection_Sf_SwigStatic, swig_SBThreadCollection_meta, swig_SBThreadCollection_bases, swig_SBThreadCollection_base_names };
61425 
_wrap_new_SBThreadPlan__SWIG_0(lua_State * L)61426 static int _wrap_new_SBThreadPlan__SWIG_0(lua_State* L) {
61427   {
61428     int SWIG_arg = 0;
61429     lldb::SBThreadPlan *result = 0 ;
61430 
61431     SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",0,0)
61432     result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan();
61433     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
61434     return SWIG_arg;
61435 
61436     fail: SWIGUNUSED;
61437   }
61438   lua_error(L);
61439   return 0;
61440 }
61441 
61442 
_wrap_new_SBThreadPlan__SWIG_1(lua_State * L)61443 static int _wrap_new_SBThreadPlan__SWIG_1(lua_State* L) {
61444   {
61445     int SWIG_arg = 0;
61446     lldb::SBThreadPlan *arg1 = 0 ;
61447     lldb::SBThreadPlan *result = 0 ;
61448 
61449     SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",1,1)
61450     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThreadPlan const &");
61451 
61452     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61453       SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThreadPlan);
61454     }
61455 
61456     result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan((lldb::SBThreadPlan const &)*arg1);
61457     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
61458     return SWIG_arg;
61459 
61460     fail: SWIGUNUSED;
61461   }
61462   lua_error(L);
61463   return 0;
61464 }
61465 
61466 
_wrap_new_SBThreadPlan__SWIG_2(lua_State * L)61467 static int _wrap_new_SBThreadPlan__SWIG_2(lua_State* L) {
61468   {
61469     int SWIG_arg = 0;
61470     lldb::SBThread *arg1 = 0 ;
61471     char *arg2 = (char *) 0 ;
61472     lldb::SBThreadPlan *result = 0 ;
61473 
61474     SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",2,2)
61475     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThread &");
61476     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",2,"char const *");
61477 
61478     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61479       SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThread);
61480     }
61481 
61482     arg2 = (char *)lua_tostring(L, 2);
61483     result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(*arg1,(char const *)arg2);
61484     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
61485     return SWIG_arg;
61486 
61487     fail: SWIGUNUSED;
61488   }
61489   lua_error(L);
61490   return 0;
61491 }
61492 
61493 
_wrap_new_SBThreadPlan__SWIG_3(lua_State * L)61494 static int _wrap_new_SBThreadPlan__SWIG_3(lua_State* L) {
61495   {
61496     int SWIG_arg = 0;
61497     lldb::SBThread *arg1 = 0 ;
61498     char *arg2 = (char *) 0 ;
61499     lldb::SBStructuredData *arg3 = 0 ;
61500     lldb::SBThreadPlan *result = 0 ;
61501 
61502     SWIG_check_num_args("lldb::SBThreadPlan::SBThreadPlan",3,3)
61503     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",1,"lldb::SBThread &");
61504     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",2,"char const *");
61505     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::SBThreadPlan",3,"lldb::SBStructuredData &");
61506 
61507     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){
61508       SWIG_fail_ptr("new_SBThreadPlan",1,SWIGTYPE_p_lldb__SBThread);
61509     }
61510 
61511     arg2 = (char *)lua_tostring(L, 2);
61512 
61513     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
61514       SWIG_fail_ptr("new_SBThreadPlan",3,SWIGTYPE_p_lldb__SBStructuredData);
61515     }
61516 
61517     result = (lldb::SBThreadPlan *)new lldb::SBThreadPlan(*arg1,(char const *)arg2,*arg3);
61518     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
61519     return SWIG_arg;
61520 
61521     fail: SWIGUNUSED;
61522   }
61523   lua_error(L);
61524   return 0;
61525 }
61526 
61527 
_wrap_new_SBThreadPlan(lua_State * L)61528 static int _wrap_new_SBThreadPlan(lua_State* L) {
61529   int argc;
61530   int argv[4]={
61531     1,2,3,4
61532   };
61533 
61534   argc = lua_gettop(L);
61535   if (argc == 0) {
61536     return _wrap_new_SBThreadPlan__SWIG_0(L);
61537   }
61538   if (argc == 1) {
61539     int _v = 0;
61540     {
61541       void *ptr;
61542       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, SWIG_POINTER_NO_NULL)) {
61543         _v = 0;
61544       } else {
61545         _v = 1;
61546       }
61547     }
61548     if (_v) {
61549       return _wrap_new_SBThreadPlan__SWIG_1(L);
61550     }
61551   }
61552   if (argc == 2) {
61553     int _v = 0;
61554     {
61555       void *ptr;
61556       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
61557         _v = 0;
61558       } else {
61559         _v = 1;
61560       }
61561     }
61562     if (_v) {
61563       {
61564         _v = SWIG_lua_isnilstring(L,argv[1]);
61565       }
61566       if (_v) {
61567         return _wrap_new_SBThreadPlan__SWIG_2(L);
61568       }
61569     }
61570   }
61571   if (argc == 3) {
61572     int _v = 0;
61573     {
61574       void *ptr;
61575       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
61576         _v = 0;
61577       } else {
61578         _v = 1;
61579       }
61580     }
61581     if (_v) {
61582       {
61583         _v = SWIG_lua_isnilstring(L,argv[1]);
61584       }
61585       if (_v) {
61586         {
61587           void *ptr;
61588           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
61589             _v = 0;
61590           } else {
61591             _v = 1;
61592           }
61593         }
61594         if (_v) {
61595           return _wrap_new_SBThreadPlan__SWIG_3(L);
61596         }
61597       }
61598     }
61599   }
61600 
61601   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBThreadPlan'\n"
61602     "  Possible C/C++ prototypes are:\n"
61603     "    lldb::SBThreadPlan::SBThreadPlan()\n"
61604     "    lldb::SBThreadPlan::SBThreadPlan(lldb::SBThreadPlan const &)\n"
61605     "    lldb::SBThreadPlan::SBThreadPlan(lldb::SBThread &,char const *)\n"
61606     "    lldb::SBThreadPlan::SBThreadPlan(lldb::SBThread &,char const *,lldb::SBStructuredData &)\n");
61607   lua_error(L);return 0;
61608 }
61609 
61610 
_wrap_SBThreadPlan_IsValid__SWIG_0(lua_State * L)61611 static int _wrap_SBThreadPlan_IsValid__SWIG_0(lua_State* L) {
61612   {
61613     int SWIG_arg = 0;
61614     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61615     bool result;
61616 
61617     SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1)
61618     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan const *");
61619 
61620     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61621       SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan);
61622     }
61623 
61624     result = (bool)((lldb::SBThreadPlan const *)arg1)->IsValid();
61625     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61626     return SWIG_arg;
61627 
61628     fail: SWIGUNUSED;
61629   }
61630   lua_error(L);
61631   return 0;
61632 }
61633 
61634 
_wrap_SBThreadPlan_Clear(lua_State * L)61635 static int _wrap_SBThreadPlan_Clear(lua_State* L) {
61636   {
61637     int SWIG_arg = 0;
61638     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61639 
61640     SWIG_check_num_args("lldb::SBThreadPlan::Clear",1,1)
61641     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::Clear",1,"lldb::SBThreadPlan *");
61642 
61643     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61644       SWIG_fail_ptr("SBThreadPlan_Clear",1,SWIGTYPE_p_lldb__SBThreadPlan);
61645     }
61646 
61647     (arg1)->Clear();
61648 
61649     return SWIG_arg;
61650 
61651     fail: SWIGUNUSED;
61652   }
61653   lua_error(L);
61654   return 0;
61655 }
61656 
61657 
_wrap_SBThreadPlan_GetStopReason(lua_State * L)61658 static int _wrap_SBThreadPlan_GetStopReason(lua_State* L) {
61659   {
61660     int SWIG_arg = 0;
61661     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61662     lldb::StopReason result;
61663 
61664     SWIG_check_num_args("lldb::SBThreadPlan::GetStopReason",1,1)
61665     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReason",1,"lldb::SBThreadPlan *");
61666 
61667     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61668       SWIG_fail_ptr("SBThreadPlan_GetStopReason",1,SWIGTYPE_p_lldb__SBThreadPlan);
61669     }
61670 
61671     result = (lldb::StopReason)(arg1)->GetStopReason();
61672     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
61673     return SWIG_arg;
61674 
61675     fail: SWIGUNUSED;
61676   }
61677   lua_error(L);
61678   return 0;
61679 }
61680 
61681 
_wrap_SBThreadPlan_GetStopReasonDataCount(lua_State * L)61682 static int _wrap_SBThreadPlan_GetStopReasonDataCount(lua_State* L) {
61683   {
61684     int SWIG_arg = 0;
61685     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61686     size_t result;
61687 
61688     SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataCount",1,1)
61689     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataCount",1,"lldb::SBThreadPlan *");
61690 
61691     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61692       SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataCount",1,SWIGTYPE_p_lldb__SBThreadPlan);
61693     }
61694 
61695     result = (arg1)->GetStopReasonDataCount();
61696     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
61697     return SWIG_arg;
61698 
61699     fail: SWIGUNUSED;
61700   }
61701   lua_error(L);
61702   return 0;
61703 }
61704 
61705 
_wrap_SBThreadPlan_GetStopReasonDataAtIndex(lua_State * L)61706 static int _wrap_SBThreadPlan_GetStopReasonDataAtIndex(lua_State* L) {
61707   {
61708     int SWIG_arg = 0;
61709     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61710     uint32_t arg2 ;
61711     uint64_t result;
61712 
61713     SWIG_check_num_args("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,2)
61714     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",1,"lldb::SBThreadPlan *");
61715     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopReasonDataAtIndex",2,"uint32_t");
61716 
61717     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61718       SWIG_fail_ptr("SBThreadPlan_GetStopReasonDataAtIndex",1,SWIGTYPE_p_lldb__SBThreadPlan);
61719     }
61720 
61721     arg2 = (uint32_t)lua_tointeger(L, 2);
61722     result = (uint64_t)(arg1)->GetStopReasonDataAtIndex(arg2);
61723     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
61724     return SWIG_arg;
61725 
61726     fail: SWIGUNUSED;
61727   }
61728   lua_error(L);
61729   return 0;
61730 }
61731 
61732 
_wrap_SBThreadPlan_GetThread(lua_State * L)61733 static int _wrap_SBThreadPlan_GetThread(lua_State* L) {
61734   {
61735     int SWIG_arg = 0;
61736     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61737     lldb::SBThread result;
61738 
61739     SWIG_check_num_args("lldb::SBThreadPlan::GetThread",1,1)
61740     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetThread",1,"lldb::SBThreadPlan const *");
61741 
61742     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61743       SWIG_fail_ptr("SBThreadPlan_GetThread",1,SWIGTYPE_p_lldb__SBThreadPlan);
61744     }
61745 
61746     result = ((lldb::SBThreadPlan const *)arg1)->GetThread();
61747     {
61748       lldb::SBThread * resultptr = new lldb::SBThread(result);
61749       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
61750     }
61751     return SWIG_arg;
61752 
61753     fail: SWIGUNUSED;
61754   }
61755   lua_error(L);
61756   return 0;
61757 }
61758 
61759 
_wrap_SBThreadPlan_GetDescription(lua_State * L)61760 static int _wrap_SBThreadPlan_GetDescription(lua_State* L) {
61761   {
61762     int SWIG_arg = 0;
61763     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61764     lldb::SBStream *arg2 = 0 ;
61765     bool result;
61766 
61767     SWIG_check_num_args("lldb::SBThreadPlan::GetDescription",2,2)
61768     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",1,"lldb::SBThreadPlan const *");
61769     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::GetDescription",2,"lldb::SBStream &");
61770 
61771     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61772       SWIG_fail_ptr("SBThreadPlan_GetDescription",1,SWIGTYPE_p_lldb__SBThreadPlan);
61773     }
61774 
61775 
61776     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
61777       SWIG_fail_ptr("SBThreadPlan_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
61778     }
61779 
61780     result = (bool)((lldb::SBThreadPlan const *)arg1)->GetDescription(*arg2);
61781     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61782     return SWIG_arg;
61783 
61784     fail: SWIGUNUSED;
61785   }
61786   lua_error(L);
61787   return 0;
61788 }
61789 
61790 
_wrap_SBThreadPlan_SetPlanComplete(lua_State * L)61791 static int _wrap_SBThreadPlan_SetPlanComplete(lua_State* L) {
61792   {
61793     int SWIG_arg = 0;
61794     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61795     bool arg2 ;
61796 
61797     SWIG_check_num_args("lldb::SBThreadPlan::SetPlanComplete",2,2)
61798     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",1,"lldb::SBThreadPlan *");
61799     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetPlanComplete",2,"bool");
61800 
61801     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61802       SWIG_fail_ptr("SBThreadPlan_SetPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan);
61803     }
61804 
61805     arg2 = (lua_toboolean(L, 2)!=0);
61806     (arg1)->SetPlanComplete(arg2);
61807 
61808     return SWIG_arg;
61809 
61810     fail: SWIGUNUSED;
61811   }
61812   lua_error(L);
61813   return 0;
61814 }
61815 
61816 
_wrap_SBThreadPlan_IsPlanComplete(lua_State * L)61817 static int _wrap_SBThreadPlan_IsPlanComplete(lua_State* L) {
61818   {
61819     int SWIG_arg = 0;
61820     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61821     bool result;
61822 
61823     SWIG_check_num_args("lldb::SBThreadPlan::IsPlanComplete",1,1)
61824     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanComplete",1,"lldb::SBThreadPlan *");
61825 
61826     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61827       SWIG_fail_ptr("SBThreadPlan_IsPlanComplete",1,SWIGTYPE_p_lldb__SBThreadPlan);
61828     }
61829 
61830     result = (bool)(arg1)->IsPlanComplete();
61831     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61832     return SWIG_arg;
61833 
61834     fail: SWIGUNUSED;
61835   }
61836   lua_error(L);
61837   return 0;
61838 }
61839 
61840 
_wrap_SBThreadPlan_IsPlanStale(lua_State * L)61841 static int _wrap_SBThreadPlan_IsPlanStale(lua_State* L) {
61842   {
61843     int SWIG_arg = 0;
61844     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61845     bool result;
61846 
61847     SWIG_check_num_args("lldb::SBThreadPlan::IsPlanStale",1,1)
61848     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsPlanStale",1,"lldb::SBThreadPlan *");
61849 
61850     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61851       SWIG_fail_ptr("SBThreadPlan_IsPlanStale",1,SWIGTYPE_p_lldb__SBThreadPlan);
61852     }
61853 
61854     result = (bool)(arg1)->IsPlanStale();
61855     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61856     return SWIG_arg;
61857 
61858     fail: SWIGUNUSED;
61859   }
61860   lua_error(L);
61861   return 0;
61862 }
61863 
61864 
_wrap_SBThreadPlan_IsValid__SWIG_1(lua_State * L)61865 static int _wrap_SBThreadPlan_IsValid__SWIG_1(lua_State* L) {
61866   {
61867     int SWIG_arg = 0;
61868     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61869     bool result;
61870 
61871     SWIG_check_num_args("lldb::SBThreadPlan::IsValid",1,1)
61872     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::IsValid",1,"lldb::SBThreadPlan *");
61873 
61874     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61875       SWIG_fail_ptr("SBThreadPlan_IsValid",1,SWIGTYPE_p_lldb__SBThreadPlan);
61876     }
61877 
61878     result = (bool)(arg1)->IsValid();
61879     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61880     return SWIG_arg;
61881 
61882     fail: SWIGUNUSED;
61883   }
61884   lua_error(L);
61885   return 0;
61886 }
61887 
61888 
_wrap_SBThreadPlan_IsValid(lua_State * L)61889 static int _wrap_SBThreadPlan_IsValid(lua_State* L) {
61890   int argc;
61891   int argv[2]={
61892     1,2
61893   };
61894 
61895   argc = lua_gettop(L);
61896   if (argc == 1) {
61897     int _v = 0;
61898     {
61899       void *ptr;
61900       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
61901         _v = 0;
61902       } else {
61903         _v = 1;
61904       }
61905     }
61906     if (_v) {
61907       return _wrap_SBThreadPlan_IsValid__SWIG_1(L);
61908     }
61909   }
61910   if (argc == 1) {
61911     int _v = 0;
61912     {
61913       void *ptr;
61914       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
61915         _v = 0;
61916       } else {
61917         _v = 1;
61918       }
61919     }
61920     if (_v) {
61921       return _wrap_SBThreadPlan_IsValid__SWIG_0(L);
61922     }
61923   }
61924 
61925   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_IsValid'\n"
61926     "  Possible C/C++ prototypes are:\n"
61927     "    lldb::SBThreadPlan::IsValid() const\n"
61928     "    lldb::SBThreadPlan::IsValid()\n");
61929   lua_error(L);return 0;
61930 }
61931 
61932 
_wrap_SBThreadPlan_GetStopOthers(lua_State * L)61933 static int _wrap_SBThreadPlan_GetStopOthers(lua_State* L) {
61934   {
61935     int SWIG_arg = 0;
61936     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61937     bool result;
61938 
61939     SWIG_check_num_args("lldb::SBThreadPlan::GetStopOthers",1,1)
61940     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::GetStopOthers",1,"lldb::SBThreadPlan *");
61941 
61942     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61943       SWIG_fail_ptr("SBThreadPlan_GetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan);
61944     }
61945 
61946     result = (bool)(arg1)->GetStopOthers();
61947     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
61948     return SWIG_arg;
61949 
61950     fail: SWIGUNUSED;
61951   }
61952   lua_error(L);
61953   return 0;
61954 }
61955 
61956 
_wrap_SBThreadPlan_SetStopOthers(lua_State * L)61957 static int _wrap_SBThreadPlan_SetStopOthers(lua_State* L) {
61958   {
61959     int SWIG_arg = 0;
61960     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61961     bool arg2 ;
61962 
61963     SWIG_check_num_args("lldb::SBThreadPlan::SetStopOthers",2,2)
61964     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",1,"lldb::SBThreadPlan *");
61965     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::SetStopOthers",2,"bool");
61966 
61967     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61968       SWIG_fail_ptr("SBThreadPlan_SetStopOthers",1,SWIGTYPE_p_lldb__SBThreadPlan);
61969     }
61970 
61971     arg2 = (lua_toboolean(L, 2)!=0);
61972     (arg1)->SetStopOthers(arg2);
61973 
61974     return SWIG_arg;
61975 
61976     fail: SWIGUNUSED;
61977   }
61978   lua_error(L);
61979   return 0;
61980 }
61981 
61982 
_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_0(lua_State * L)61983 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_0(lua_State* L) {
61984   {
61985     int SWIG_arg = 0;
61986     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
61987     lldb::SBAddress *arg2 = 0 ;
61988     lldb::addr_t arg3 ;
61989     lldb::SBThreadPlan result;
61990 
61991     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,3)
61992     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",1,"lldb::SBThreadPlan *");
61993     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",2,"lldb::SBAddress &");
61994     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,"lldb::addr_t");
61995 
61996     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
61997       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",1,SWIGTYPE_p_lldb__SBThreadPlan);
61998     }
61999 
62000 
62001     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
62002       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",2,SWIGTYPE_p_lldb__SBAddress);
62003     }
62004 
62005     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
62006     result = (arg1)->QueueThreadPlanForStepOverRange(*arg2,arg3);
62007     {
62008       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62009       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62010     }
62011     return SWIG_arg;
62012 
62013     fail: SWIGUNUSED;
62014   }
62015   lua_error(L);
62016   return 0;
62017 }
62018 
62019 
_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_1(lua_State * L)62020 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_1(lua_State* L) {
62021   {
62022     int SWIG_arg = 0;
62023     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62024     lldb::SBAddress *arg2 = 0 ;
62025     lldb::addr_t arg3 ;
62026     lldb::SBError *arg4 = 0 ;
62027     lldb::SBThreadPlan result;
62028 
62029     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",4,4)
62030     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",1,"lldb::SBThreadPlan *");
62031     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",2,"lldb::SBAddress &");
62032     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",3,"lldb::addr_t");
62033     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOverRange",4,"lldb::SBError &");
62034 
62035     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62036       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",1,SWIGTYPE_p_lldb__SBThreadPlan);
62037     }
62038 
62039 
62040     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
62041       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",2,SWIGTYPE_p_lldb__SBAddress);
62042     }
62043 
62044     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
62045 
62046     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
62047       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOverRange",4,SWIGTYPE_p_lldb__SBError);
62048     }
62049 
62050     result = (arg1)->QueueThreadPlanForStepOverRange(*arg2,arg3,*arg4);
62051     {
62052       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62053       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62054     }
62055     return SWIG_arg;
62056 
62057     fail: SWIGUNUSED;
62058   }
62059   lua_error(L);
62060   return 0;
62061 }
62062 
62063 
_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange(lua_State * L)62064 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange(lua_State* L) {
62065   int argc;
62066   int argv[5]={
62067     1,2,3,4,5
62068   };
62069 
62070   argc = lua_gettop(L);
62071   if (argc == 3) {
62072     int _v = 0;
62073     {
62074       void *ptr;
62075       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62076         _v = 0;
62077       } else {
62078         _v = 1;
62079       }
62080     }
62081     if (_v) {
62082       {
62083         void *ptr;
62084         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62085           _v = 0;
62086         } else {
62087           _v = 1;
62088         }
62089       }
62090       if (_v) {
62091         {
62092           _v = lua_isnumber(L,argv[2]);
62093         }
62094         if (_v) {
62095           return _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_0(L);
62096         }
62097       }
62098     }
62099   }
62100   if (argc == 4) {
62101     int _v = 0;
62102     {
62103       void *ptr;
62104       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62105         _v = 0;
62106       } else {
62107         _v = 1;
62108       }
62109     }
62110     if (_v) {
62111       {
62112         void *ptr;
62113         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62114           _v = 0;
62115         } else {
62116           _v = 1;
62117         }
62118       }
62119       if (_v) {
62120         {
62121           _v = lua_isnumber(L,argv[2]);
62122         }
62123         if (_v) {
62124           {
62125             void *ptr;
62126             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62127               _v = 0;
62128             } else {
62129               _v = 1;
62130             }
62131           }
62132           if (_v) {
62133             return _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_1(L);
62134           }
62135         }
62136       }
62137     }
62138   }
62139 
62140   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_QueueThreadPlanForStepOverRange'\n"
62141     "  Possible C/C++ prototypes are:\n"
62142     "    lldb::SBThreadPlan::QueueThreadPlanForStepOverRange(lldb::SBAddress &,lldb::addr_t)\n"
62143     "    lldb::SBThreadPlan::QueueThreadPlanForStepOverRange(lldb::SBAddress &,lldb::addr_t,lldb::SBError &)\n");
62144   lua_error(L);return 0;
62145 }
62146 
62147 
_wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_0(lua_State * L)62148 static int _wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_0(lua_State* L) {
62149   {
62150     int SWIG_arg = 0;
62151     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62152     lldb::SBAddress *arg2 = 0 ;
62153     lldb::addr_t arg3 ;
62154     lldb::SBThreadPlan result;
62155 
62156     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,3)
62157     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",1,"lldb::SBThreadPlan *");
62158     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",2,"lldb::SBAddress &");
62159     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,"lldb::addr_t");
62160 
62161     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62162       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",1,SWIGTYPE_p_lldb__SBThreadPlan);
62163     }
62164 
62165 
62166     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
62167       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",2,SWIGTYPE_p_lldb__SBAddress);
62168     }
62169 
62170     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
62171     result = (arg1)->QueueThreadPlanForStepInRange(*arg2,arg3);
62172     {
62173       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62174       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62175     }
62176     return SWIG_arg;
62177 
62178     fail: SWIGUNUSED;
62179   }
62180   lua_error(L);
62181   return 0;
62182 }
62183 
62184 
_wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_1(lua_State * L)62185 static int _wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_1(lua_State* L) {
62186   {
62187     int SWIG_arg = 0;
62188     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62189     lldb::SBAddress *arg2 = 0 ;
62190     lldb::addr_t arg3 ;
62191     lldb::SBError *arg4 = 0 ;
62192     lldb::SBThreadPlan result;
62193 
62194     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",4,4)
62195     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",1,"lldb::SBThreadPlan *");
62196     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",2,"lldb::SBAddress &");
62197     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",3,"lldb::addr_t");
62198     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepInRange",4,"lldb::SBError &");
62199 
62200     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62201       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",1,SWIGTYPE_p_lldb__SBThreadPlan);
62202     }
62203 
62204 
62205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAddress,0))){
62206       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",2,SWIGTYPE_p_lldb__SBAddress);
62207     }
62208 
62209     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
62210 
62211     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
62212       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepInRange",4,SWIGTYPE_p_lldb__SBError);
62213     }
62214 
62215     result = (arg1)->QueueThreadPlanForStepInRange(*arg2,arg3,*arg4);
62216     {
62217       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62218       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62219     }
62220     return SWIG_arg;
62221 
62222     fail: SWIGUNUSED;
62223   }
62224   lua_error(L);
62225   return 0;
62226 }
62227 
62228 
_wrap_SBThreadPlan_QueueThreadPlanForStepInRange(lua_State * L)62229 static int _wrap_SBThreadPlan_QueueThreadPlanForStepInRange(lua_State* L) {
62230   int argc;
62231   int argv[5]={
62232     1,2,3,4,5
62233   };
62234 
62235   argc = lua_gettop(L);
62236   if (argc == 3) {
62237     int _v = 0;
62238     {
62239       void *ptr;
62240       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62241         _v = 0;
62242       } else {
62243         _v = 1;
62244       }
62245     }
62246     if (_v) {
62247       {
62248         void *ptr;
62249         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62250           _v = 0;
62251         } else {
62252           _v = 1;
62253         }
62254       }
62255       if (_v) {
62256         {
62257           _v = lua_isnumber(L,argv[2]);
62258         }
62259         if (_v) {
62260           return _wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_0(L);
62261         }
62262       }
62263     }
62264   }
62265   if (argc == 4) {
62266     int _v = 0;
62267     {
62268       void *ptr;
62269       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62270         _v = 0;
62271       } else {
62272         _v = 1;
62273       }
62274     }
62275     if (_v) {
62276       {
62277         void *ptr;
62278         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62279           _v = 0;
62280         } else {
62281           _v = 1;
62282         }
62283       }
62284       if (_v) {
62285         {
62286           _v = lua_isnumber(L,argv[2]);
62287         }
62288         if (_v) {
62289           {
62290             void *ptr;
62291             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62292               _v = 0;
62293             } else {
62294               _v = 1;
62295             }
62296           }
62297           if (_v) {
62298             return _wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_1(L);
62299           }
62300         }
62301       }
62302     }
62303   }
62304 
62305   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_QueueThreadPlanForStepInRange'\n"
62306     "  Possible C/C++ prototypes are:\n"
62307     "    lldb::SBThreadPlan::QueueThreadPlanForStepInRange(lldb::SBAddress &,lldb::addr_t)\n"
62308     "    lldb::SBThreadPlan::QueueThreadPlanForStepInRange(lldb::SBAddress &,lldb::addr_t,lldb::SBError &)\n");
62309   lua_error(L);return 0;
62310 }
62311 
62312 
_wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_0(lua_State * L)62313 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_0(lua_State* L) {
62314   {
62315     int SWIG_arg = 0;
62316     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62317     uint32_t arg2 ;
62318     bool arg3 ;
62319     lldb::SBThreadPlan result;
62320 
62321     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,3)
62322     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *");
62323     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t");
62324     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,"bool");
62325 
62326     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62327       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan);
62328     }
62329 
62330     arg2 = (uint32_t)lua_tointeger(L, 2);
62331     arg3 = (lua_toboolean(L, 3)!=0);
62332     result = (arg1)->QueueThreadPlanForStepOut(arg2,arg3);
62333     {
62334       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62335       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62336     }
62337     return SWIG_arg;
62338 
62339     fail: SWIGUNUSED;
62340   }
62341   lua_error(L);
62342   return 0;
62343 }
62344 
62345 
_wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_1(lua_State * L)62346 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_1(lua_State* L) {
62347   {
62348     int SWIG_arg = 0;
62349     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62350     uint32_t arg2 ;
62351     lldb::SBThreadPlan result;
62352 
62353     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,2)
62354     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *");
62355     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t");
62356 
62357     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62358       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan);
62359     }
62360 
62361     arg2 = (uint32_t)lua_tointeger(L, 2);
62362     result = (arg1)->QueueThreadPlanForStepOut(arg2);
62363     {
62364       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62365       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62366     }
62367     return SWIG_arg;
62368 
62369     fail: SWIGUNUSED;
62370   }
62371   lua_error(L);
62372   return 0;
62373 }
62374 
62375 
_wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_2(lua_State * L)62376 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_2(lua_State* L) {
62377   {
62378     int SWIG_arg = 0;
62379     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62380     uint32_t arg2 ;
62381     bool arg3 ;
62382     lldb::SBError *arg4 = 0 ;
62383     lldb::SBThreadPlan result;
62384 
62385     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepOut",4,4)
62386     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",1,"lldb::SBThreadPlan *");
62387     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",2,"uint32_t");
62388     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",3,"bool");
62389     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepOut",4,"lldb::SBError &");
62390 
62391     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62392       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",1,SWIGTYPE_p_lldb__SBThreadPlan);
62393     }
62394 
62395     arg2 = (uint32_t)lua_tointeger(L, 2);
62396     arg3 = (lua_toboolean(L, 3)!=0);
62397 
62398     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
62399       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepOut",4,SWIGTYPE_p_lldb__SBError);
62400     }
62401 
62402     result = (arg1)->QueueThreadPlanForStepOut(arg2,arg3,*arg4);
62403     {
62404       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62405       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62406     }
62407     return SWIG_arg;
62408 
62409     fail: SWIGUNUSED;
62410   }
62411   lua_error(L);
62412   return 0;
62413 }
62414 
62415 
_wrap_SBThreadPlan_QueueThreadPlanForStepOut(lua_State * L)62416 static int _wrap_SBThreadPlan_QueueThreadPlanForStepOut(lua_State* L) {
62417   int argc;
62418   int argv[5]={
62419     1,2,3,4,5
62420   };
62421 
62422   argc = lua_gettop(L);
62423   if (argc == 2) {
62424     int _v = 0;
62425     {
62426       void *ptr;
62427       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62428         _v = 0;
62429       } else {
62430         _v = 1;
62431       }
62432     }
62433     if (_v) {
62434       {
62435         _v = lua_isnumber(L,argv[1]);
62436       }
62437       if (_v) {
62438         return _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_1(L);
62439       }
62440     }
62441   }
62442   if (argc == 3) {
62443     int _v = 0;
62444     {
62445       void *ptr;
62446       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62447         _v = 0;
62448       } else {
62449         _v = 1;
62450       }
62451     }
62452     if (_v) {
62453       {
62454         _v = lua_isnumber(L,argv[1]);
62455       }
62456       if (_v) {
62457         {
62458           _v = lua_isboolean(L,argv[2]);
62459         }
62460         if (_v) {
62461           return _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_0(L);
62462         }
62463       }
62464     }
62465   }
62466   if (argc == 4) {
62467     int _v = 0;
62468     {
62469       void *ptr;
62470       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62471         _v = 0;
62472       } else {
62473         _v = 1;
62474       }
62475     }
62476     if (_v) {
62477       {
62478         _v = lua_isnumber(L,argv[1]);
62479       }
62480       if (_v) {
62481         {
62482           _v = lua_isboolean(L,argv[2]);
62483         }
62484         if (_v) {
62485           {
62486             void *ptr;
62487             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62488               _v = 0;
62489             } else {
62490               _v = 1;
62491             }
62492           }
62493           if (_v) {
62494             return _wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_2(L);
62495           }
62496         }
62497       }
62498     }
62499   }
62500 
62501   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_QueueThreadPlanForStepOut'\n"
62502     "  Possible C/C++ prototypes are:\n"
62503     "    lldb::SBThreadPlan::QueueThreadPlanForStepOut(uint32_t,bool)\n"
62504     "    lldb::SBThreadPlan::QueueThreadPlanForStepOut(uint32_t)\n"
62505     "    lldb::SBThreadPlan::QueueThreadPlanForStepOut(uint32_t,bool,lldb::SBError &)\n");
62506   lua_error(L);return 0;
62507 }
62508 
62509 
_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_0(lua_State * L)62510 static int _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_0(lua_State* L) {
62511   {
62512     int SWIG_arg = 0;
62513     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62514     lldb::SBAddress arg2 ;
62515     lldb::SBAddress *argp2 ;
62516     lldb::SBThreadPlan result;
62517 
62518     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,2)
62519     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",1,"lldb::SBThreadPlan *");
62520     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,"lldb::SBAddress");
62521 
62522     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62523       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",1,SWIGTYPE_p_lldb__SBThreadPlan);
62524     }
62525 
62526 
62527     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
62528       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",2,SWIGTYPE_p_lldb__SBAddress);
62529     }
62530     arg2 = *argp2;
62531 
62532     result = (arg1)->QueueThreadPlanForRunToAddress(arg2);
62533     {
62534       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62535       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62536     }
62537     return SWIG_arg;
62538 
62539     fail: SWIGUNUSED;
62540   }
62541   lua_error(L);
62542   return 0;
62543 }
62544 
62545 
_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_1(lua_State * L)62546 static int _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_1(lua_State* L) {
62547   {
62548     int SWIG_arg = 0;
62549     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62550     lldb::SBAddress arg2 ;
62551     lldb::SBError *arg3 = 0 ;
62552     lldb::SBAddress *argp2 ;
62553     lldb::SBThreadPlan result;
62554 
62555     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",3,3)
62556     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",1,"lldb::SBThreadPlan *");
62557     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",2,"lldb::SBAddress");
62558     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForRunToAddress",3,"lldb::SBError &");
62559 
62560     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62561       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",1,SWIGTYPE_p_lldb__SBThreadPlan);
62562     }
62563 
62564 
62565     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBAddress,0))){
62566       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",2,SWIGTYPE_p_lldb__SBAddress);
62567     }
62568     arg2 = *argp2;
62569 
62570 
62571     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
62572       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForRunToAddress",3,SWIGTYPE_p_lldb__SBError);
62573     }
62574 
62575     result = (arg1)->QueueThreadPlanForRunToAddress(arg2,*arg3);
62576     {
62577       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62578       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62579     }
62580     return SWIG_arg;
62581 
62582     fail: SWIGUNUSED;
62583   }
62584   lua_error(L);
62585   return 0;
62586 }
62587 
62588 
_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress(lua_State * L)62589 static int _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress(lua_State* L) {
62590   int argc;
62591   int argv[4]={
62592     1,2,3,4
62593   };
62594 
62595   argc = lua_gettop(L);
62596   if (argc == 2) {
62597     int _v = 0;
62598     {
62599       void *ptr;
62600       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62601         _v = 0;
62602       } else {
62603         _v = 1;
62604       }
62605     }
62606     if (_v) {
62607       {
62608         void *ptr;
62609         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62610           _v = 0;
62611         } else {
62612           _v = 1;
62613         }
62614       }
62615       if (_v) {
62616         return _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_0(L);
62617       }
62618     }
62619   }
62620   if (argc == 3) {
62621     int _v = 0;
62622     {
62623       void *ptr;
62624       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62625         _v = 0;
62626       } else {
62627         _v = 1;
62628       }
62629     }
62630     if (_v) {
62631       {
62632         void *ptr;
62633         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
62634           _v = 0;
62635         } else {
62636           _v = 1;
62637         }
62638       }
62639       if (_v) {
62640         {
62641           void *ptr;
62642           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62643             _v = 0;
62644           } else {
62645             _v = 1;
62646           }
62647         }
62648         if (_v) {
62649           return _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_1(L);
62650         }
62651       }
62652     }
62653   }
62654 
62655   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_QueueThreadPlanForRunToAddress'\n"
62656     "  Possible C/C++ prototypes are:\n"
62657     "    lldb::SBThreadPlan::QueueThreadPlanForRunToAddress(lldb::SBAddress)\n"
62658     "    lldb::SBThreadPlan::QueueThreadPlanForRunToAddress(lldb::SBAddress,lldb::SBError &)\n");
62659   lua_error(L);return 0;
62660 }
62661 
62662 
_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_0(lua_State * L)62663 static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_0(lua_State* L) {
62664   {
62665     int SWIG_arg = 0;
62666     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62667     char *arg2 = (char *) 0 ;
62668     lldb::SBThreadPlan result;
62669 
62670     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,2)
62671     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *");
62672     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *");
62673 
62674     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62675       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan);
62676     }
62677 
62678     arg2 = (char *)lua_tostring(L, 2);
62679     result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2);
62680     {
62681       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62682       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62683     }
62684     return SWIG_arg;
62685 
62686     fail: SWIGUNUSED;
62687   }
62688   lua_error(L);
62689   return 0;
62690 }
62691 
62692 
_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_1(lua_State * L)62693 static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_1(lua_State* L) {
62694   {
62695     int SWIG_arg = 0;
62696     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62697     char *arg2 = (char *) 0 ;
62698     lldb::SBError *arg3 = 0 ;
62699     lldb::SBThreadPlan result;
62700 
62701     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,3)
62702     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *");
62703     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *");
62704     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBError &");
62705 
62706     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62707       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan);
62708     }
62709 
62710     arg2 = (char *)lua_tostring(L, 2);
62711 
62712     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
62713       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBError);
62714     }
62715 
62716     result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3);
62717     {
62718       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62719       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62720     }
62721     return SWIG_arg;
62722 
62723     fail: SWIGUNUSED;
62724   }
62725   lua_error(L);
62726   return 0;
62727 }
62728 
62729 
_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(lua_State * L)62730 static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(lua_State* L) {
62731   {
62732     int SWIG_arg = 0;
62733     lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) 0 ;
62734     char *arg2 = (char *) 0 ;
62735     lldb::SBStructuredData *arg3 = 0 ;
62736     lldb::SBError *arg4 = 0 ;
62737     lldb::SBThreadPlan result;
62738 
62739     SWIG_check_num_args("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,4)
62740     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",1,"lldb::SBThreadPlan *");
62741     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",2,"char const *");
62742     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",3,"lldb::SBStructuredData &");
62743     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBThreadPlan::QueueThreadPlanForStepScripted",4,"lldb::SBError &");
62744 
62745     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThreadPlan,0))){
62746       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",1,SWIGTYPE_p_lldb__SBThreadPlan);
62747     }
62748 
62749     arg2 = (char *)lua_tostring(L, 2);
62750 
62751     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
62752       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",3,SWIGTYPE_p_lldb__SBStructuredData);
62753     }
62754 
62755 
62756     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBError,0))){
62757       SWIG_fail_ptr("SBThreadPlan_QueueThreadPlanForStepScripted",4,SWIGTYPE_p_lldb__SBError);
62758     }
62759 
62760     result = (arg1)->QueueThreadPlanForStepScripted((char const *)arg2,*arg3,*arg4);
62761     {
62762       lldb::SBThreadPlan * resultptr = new lldb::SBThreadPlan(result);
62763       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThreadPlan,1); SWIG_arg++;
62764     }
62765     return SWIG_arg;
62766 
62767     fail: SWIGUNUSED;
62768   }
62769   lua_error(L);
62770   return 0;
62771 }
62772 
62773 
_wrap_SBThreadPlan_QueueThreadPlanForStepScripted(lua_State * L)62774 static int _wrap_SBThreadPlan_QueueThreadPlanForStepScripted(lua_State* L) {
62775   int argc;
62776   int argv[5]={
62777     1,2,3,4,5
62778   };
62779 
62780   argc = lua_gettop(L);
62781   if (argc == 2) {
62782     int _v = 0;
62783     {
62784       void *ptr;
62785       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62786         _v = 0;
62787       } else {
62788         _v = 1;
62789       }
62790     }
62791     if (_v) {
62792       {
62793         _v = SWIG_lua_isnilstring(L,argv[1]);
62794       }
62795       if (_v) {
62796         return _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_0(L);
62797       }
62798     }
62799   }
62800   if (argc == 3) {
62801     int _v = 0;
62802     {
62803       void *ptr;
62804       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62805         _v = 0;
62806       } else {
62807         _v = 1;
62808       }
62809     }
62810     if (_v) {
62811       {
62812         _v = SWIG_lua_isnilstring(L,argv[1]);
62813       }
62814       if (_v) {
62815         {
62816           void *ptr;
62817           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62818             _v = 0;
62819           } else {
62820             _v = 1;
62821           }
62822         }
62823         if (_v) {
62824           return _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_1(L);
62825         }
62826       }
62827     }
62828   }
62829   if (argc == 4) {
62830     int _v = 0;
62831     {
62832       void *ptr;
62833       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBThreadPlan, 0)) {
62834         _v = 0;
62835       } else {
62836         _v = 1;
62837       }
62838     }
62839     if (_v) {
62840       {
62841         _v = SWIG_lua_isnilstring(L,argv[1]);
62842       }
62843       if (_v) {
62844         {
62845           void *ptr;
62846           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
62847             _v = 0;
62848           } else {
62849             _v = 1;
62850           }
62851         }
62852         if (_v) {
62853           {
62854             void *ptr;
62855             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
62856               _v = 0;
62857             } else {
62858               _v = 1;
62859             }
62860           }
62861           if (_v) {
62862             return _wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(L);
62863           }
62864         }
62865       }
62866     }
62867   }
62868 
62869   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBThreadPlan_QueueThreadPlanForStepScripted'\n"
62870     "  Possible C/C++ prototypes are:\n"
62871     "    lldb::SBThreadPlan::QueueThreadPlanForStepScripted(char const *)\n"
62872     "    lldb::SBThreadPlan::QueueThreadPlanForStepScripted(char const *,lldb::SBError &)\n"
62873     "    lldb::SBThreadPlan::QueueThreadPlanForStepScripted(char const *,lldb::SBStructuredData &,lldb::SBError &)\n");
62874   lua_error(L);return 0;
62875 }
62876 
62877 
swig_delete_SBThreadPlan(void * obj)62878 static void swig_delete_SBThreadPlan(void *obj) {
62879 lldb::SBThreadPlan *arg1 = (lldb::SBThreadPlan *) obj;
62880 delete arg1;
62881 }
_proxy__wrap_new_SBThreadPlan(lua_State * L)62882 static int _proxy__wrap_new_SBThreadPlan(lua_State *L) {
62883     assert(lua_istable(L,1));
62884     lua_pushcfunction(L,_wrap_new_SBThreadPlan);
62885     assert(!lua_isnil(L,-1));
62886     lua_replace(L,1); /* replace our table with real constructor */
62887     lua_call(L,lua_gettop(L)-1,1);
62888     return 1;
62889 }
62890 static swig_lua_attribute swig_SBThreadPlan_attributes[] = {
62891     {0,0,0}
62892 };
62893 static swig_lua_method swig_SBThreadPlan_methods[]= {
62894     { "Clear", _wrap_SBThreadPlan_Clear},
62895     { "GetStopReason", _wrap_SBThreadPlan_GetStopReason},
62896     { "GetStopReasonDataCount", _wrap_SBThreadPlan_GetStopReasonDataCount},
62897     { "GetStopReasonDataAtIndex", _wrap_SBThreadPlan_GetStopReasonDataAtIndex},
62898     { "GetThread", _wrap_SBThreadPlan_GetThread},
62899     { "GetDescription", _wrap_SBThreadPlan_GetDescription},
62900     { "SetPlanComplete", _wrap_SBThreadPlan_SetPlanComplete},
62901     { "IsPlanComplete", _wrap_SBThreadPlan_IsPlanComplete},
62902     { "IsPlanStale", _wrap_SBThreadPlan_IsPlanStale},
62903     { "IsValid", _wrap_SBThreadPlan_IsValid},
62904     { "GetStopOthers", _wrap_SBThreadPlan_GetStopOthers},
62905     { "SetStopOthers", _wrap_SBThreadPlan_SetStopOthers},
62906     { "QueueThreadPlanForStepOverRange", _wrap_SBThreadPlan_QueueThreadPlanForStepOverRange},
62907     { "QueueThreadPlanForStepInRange", _wrap_SBThreadPlan_QueueThreadPlanForStepInRange},
62908     { "QueueThreadPlanForStepOut", _wrap_SBThreadPlan_QueueThreadPlanForStepOut},
62909     { "QueueThreadPlanForRunToAddress", _wrap_SBThreadPlan_QueueThreadPlanForRunToAddress},
62910     { "QueueThreadPlanForStepScripted", _wrap_SBThreadPlan_QueueThreadPlanForStepScripted},
62911     {0,0}
62912 };
62913 static swig_lua_method swig_SBThreadPlan_meta[] = {
62914     {0,0}
62915 };
62916 
62917 static swig_lua_attribute swig_SBThreadPlan_Sf_SwigStatic_attributes[] = {
62918     {0,0,0}
62919 };
62920 static swig_lua_const_info swig_SBThreadPlan_Sf_SwigStatic_constants[]= {
62921     {0,0,0,0,0,0}
62922 };
62923 static swig_lua_method swig_SBThreadPlan_Sf_SwigStatic_methods[]= {
62924     {0,0}
62925 };
62926 static swig_lua_class* swig_SBThreadPlan_Sf_SwigStatic_classes[]= {
62927     0
62928 };
62929 
62930 static swig_lua_namespace swig_SBThreadPlan_Sf_SwigStatic = {
62931     "SBThreadPlan",
62932     swig_SBThreadPlan_Sf_SwigStatic_methods,
62933     swig_SBThreadPlan_Sf_SwigStatic_attributes,
62934     swig_SBThreadPlan_Sf_SwigStatic_constants,
62935     swig_SBThreadPlan_Sf_SwigStatic_classes,
62936     0
62937 };
62938 static swig_lua_class *swig_SBThreadPlan_bases[] = {0};
62939 static const char *swig_SBThreadPlan_base_names[] = {0};
62940 static swig_lua_class _wrap_class_SBThreadPlan = { "SBThreadPlan", "SBThreadPlan", &SWIGTYPE_p_lldb__SBThreadPlan,_proxy__wrap_new_SBThreadPlan, swig_delete_SBThreadPlan, swig_SBThreadPlan_methods, swig_SBThreadPlan_attributes, &swig_SBThreadPlan_Sf_SwigStatic, swig_SBThreadPlan_meta, swig_SBThreadPlan_bases, swig_SBThreadPlan_base_names };
62941 
_wrap_new_SBTrace(lua_State * L)62942 static int _wrap_new_SBTrace(lua_State* L) {
62943   {
62944     int SWIG_arg = 0;
62945     lldb::SBTrace *result = 0 ;
62946 
62947     SWIG_check_num_args("lldb::SBTrace::SBTrace",0,0)
62948     result = (lldb::SBTrace *)new lldb::SBTrace();
62949     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++;
62950     return SWIG_arg;
62951 
62952     fail: SWIGUNUSED;
62953   }
62954   lua_error(L);
62955   return 0;
62956 }
62957 
62958 
_wrap_SBTrace_LoadTraceFromFile(lua_State * L)62959 static int _wrap_SBTrace_LoadTraceFromFile(lua_State* L) {
62960   {
62961     int SWIG_arg = 0;
62962     lldb::SBError *arg1 = 0 ;
62963     lldb::SBDebugger *arg2 = 0 ;
62964     lldb::SBFileSpec *arg3 = 0 ;
62965     lldb::SBTrace result;
62966 
62967     SWIG_check_num_args("lldb::SBTrace::LoadTraceFromFile",3,3)
62968     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTrace::LoadTraceFromFile",1,"lldb::SBError &");
62969     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::LoadTraceFromFile",2,"lldb::SBDebugger &");
62970     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::LoadTraceFromFile",3,"lldb::SBFileSpec const &");
62971 
62972     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBError,0))){
62973       SWIG_fail_ptr("SBTrace_LoadTraceFromFile",1,SWIGTYPE_p_lldb__SBError);
62974     }
62975 
62976 
62977     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBDebugger,0))){
62978       SWIG_fail_ptr("SBTrace_LoadTraceFromFile",2,SWIGTYPE_p_lldb__SBDebugger);
62979     }
62980 
62981 
62982     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
62983       SWIG_fail_ptr("SBTrace_LoadTraceFromFile",3,SWIGTYPE_p_lldb__SBFileSpec);
62984     }
62985 
62986     result = lldb::SBTrace::LoadTraceFromFile(*arg1,*arg2,(lldb::SBFileSpec const &)*arg3);
62987     {
62988       lldb::SBTrace * resultptr = new lldb::SBTrace(result);
62989       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTrace,1); SWIG_arg++;
62990     }
62991     return SWIG_arg;
62992 
62993     fail: SWIGUNUSED;
62994   }
62995   lua_error(L);
62996   return 0;
62997 }
62998 
62999 
_wrap_SBTrace_CreateNewCursor(lua_State * L)63000 static int _wrap_SBTrace_CreateNewCursor(lua_State* L) {
63001   {
63002     int SWIG_arg = 0;
63003     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63004     lldb::SBError *arg2 = 0 ;
63005     lldb::SBThread *arg3 = 0 ;
63006     lldb::SBTraceCursor result;
63007 
63008     SWIG_check_num_args("lldb::SBTrace::CreateNewCursor",3,3)
63009     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",1,"lldb::SBTrace *");
63010     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",2,"lldb::SBError &");
63011     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::CreateNewCursor",3,"lldb::SBThread &");
63012 
63013     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63014       SWIG_fail_ptr("SBTrace_CreateNewCursor",1,SWIGTYPE_p_lldb__SBTrace);
63015     }
63016 
63017 
63018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
63019       SWIG_fail_ptr("SBTrace_CreateNewCursor",2,SWIGTYPE_p_lldb__SBError);
63020     }
63021 
63022 
63023     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBThread,0))){
63024       SWIG_fail_ptr("SBTrace_CreateNewCursor",3,SWIGTYPE_p_lldb__SBThread);
63025     }
63026 
63027     result = (arg1)->CreateNewCursor(*arg2,*arg3);
63028     {
63029       lldb::SBTraceCursor * resultptr = new lldb::SBTraceCursor(result);
63030       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++;
63031     }
63032     return SWIG_arg;
63033 
63034     fail: SWIGUNUSED;
63035   }
63036   lua_error(L);
63037   return 0;
63038 }
63039 
63040 
_wrap_SBTrace_SaveToDisk__SWIG_0(lua_State * L)63041 static int _wrap_SBTrace_SaveToDisk__SWIG_0(lua_State* L) {
63042   {
63043     int SWIG_arg = 0;
63044     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63045     lldb::SBError *arg2 = 0 ;
63046     lldb::SBFileSpec *arg3 = 0 ;
63047     bool arg4 ;
63048     lldb::SBFileSpec result;
63049 
63050     SWIG_check_num_args("lldb::SBTrace::SaveToDisk",4,4)
63051     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *");
63052     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &");
63053     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &");
63054     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",4,"bool");
63055 
63056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63057       SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace);
63058     }
63059 
63060 
63061     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
63062       SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError);
63063     }
63064 
63065 
63066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
63067       SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec);
63068     }
63069 
63070     arg4 = (lua_toboolean(L, 4)!=0);
63071     result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3,arg4);
63072     {
63073       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
63074       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
63075     }
63076     return SWIG_arg;
63077 
63078     fail: SWIGUNUSED;
63079   }
63080   lua_error(L);
63081   return 0;
63082 }
63083 
63084 
_wrap_SBTrace_SaveToDisk__SWIG_1(lua_State * L)63085 static int _wrap_SBTrace_SaveToDisk__SWIG_1(lua_State* L) {
63086   {
63087     int SWIG_arg = 0;
63088     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63089     lldb::SBError *arg2 = 0 ;
63090     lldb::SBFileSpec *arg3 = 0 ;
63091     lldb::SBFileSpec result;
63092 
63093     SWIG_check_num_args("lldb::SBTrace::SaveToDisk",3,3)
63094     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",1,"lldb::SBTrace *");
63095     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",2,"lldb::SBError &");
63096     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::SaveToDisk",3,"lldb::SBFileSpec const &");
63097 
63098     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63099       SWIG_fail_ptr("SBTrace_SaveToDisk",1,SWIGTYPE_p_lldb__SBTrace);
63100     }
63101 
63102 
63103     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
63104       SWIG_fail_ptr("SBTrace_SaveToDisk",2,SWIGTYPE_p_lldb__SBError);
63105     }
63106 
63107 
63108     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBFileSpec,0))){
63109       SWIG_fail_ptr("SBTrace_SaveToDisk",3,SWIGTYPE_p_lldb__SBFileSpec);
63110     }
63111 
63112     result = (arg1)->SaveToDisk(*arg2,(lldb::SBFileSpec const &)*arg3);
63113     {
63114       lldb::SBFileSpec * resultptr = new lldb::SBFileSpec(result);
63115       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFileSpec,1); SWIG_arg++;
63116     }
63117     return SWIG_arg;
63118 
63119     fail: SWIGUNUSED;
63120   }
63121   lua_error(L);
63122   return 0;
63123 }
63124 
63125 
_wrap_SBTrace_SaveToDisk(lua_State * L)63126 static int _wrap_SBTrace_SaveToDisk(lua_State* L) {
63127   int argc;
63128   int argv[5]={
63129     1,2,3,4,5
63130   };
63131 
63132   argc = lua_gettop(L);
63133   if (argc == 3) {
63134     int _v = 0;
63135     {
63136       void *ptr;
63137       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63138         _v = 0;
63139       } else {
63140         _v = 1;
63141       }
63142     }
63143     if (_v) {
63144       {
63145         void *ptr;
63146         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
63147           _v = 0;
63148         } else {
63149           _v = 1;
63150         }
63151       }
63152       if (_v) {
63153         {
63154           void *ptr;
63155           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
63156             _v = 0;
63157           } else {
63158             _v = 1;
63159           }
63160         }
63161         if (_v) {
63162           return _wrap_SBTrace_SaveToDisk__SWIG_1(L);
63163         }
63164       }
63165     }
63166   }
63167   if (argc == 4) {
63168     int _v = 0;
63169     {
63170       void *ptr;
63171       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63172         _v = 0;
63173       } else {
63174         _v = 1;
63175       }
63176     }
63177     if (_v) {
63178       {
63179         void *ptr;
63180         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
63181           _v = 0;
63182         } else {
63183           _v = 1;
63184         }
63185       }
63186       if (_v) {
63187         {
63188           void *ptr;
63189           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
63190             _v = 0;
63191           } else {
63192             _v = 1;
63193           }
63194         }
63195         if (_v) {
63196           {
63197             _v = lua_isboolean(L,argv[3]);
63198           }
63199           if (_v) {
63200             return _wrap_SBTrace_SaveToDisk__SWIG_0(L);
63201           }
63202         }
63203       }
63204     }
63205   }
63206 
63207   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTrace_SaveToDisk'\n"
63208     "  Possible C/C++ prototypes are:\n"
63209     "    lldb::SBTrace::SaveToDisk(lldb::SBError &,lldb::SBFileSpec const &,bool)\n"
63210     "    lldb::SBTrace::SaveToDisk(lldb::SBError &,lldb::SBFileSpec const &)\n");
63211   lua_error(L);return 0;
63212 }
63213 
63214 
_wrap_SBTrace_GetStartConfigurationHelp(lua_State * L)63215 static int _wrap_SBTrace_GetStartConfigurationHelp(lua_State* L) {
63216   {
63217     int SWIG_arg = 0;
63218     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63219     char *result = 0 ;
63220 
63221     SWIG_check_num_args("lldb::SBTrace::GetStartConfigurationHelp",1,1)
63222     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::GetStartConfigurationHelp",1,"lldb::SBTrace *");
63223 
63224     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63225       SWIG_fail_ptr("SBTrace_GetStartConfigurationHelp",1,SWIGTYPE_p_lldb__SBTrace);
63226     }
63227 
63228     result = (char *)(arg1)->GetStartConfigurationHelp();
63229     lua_pushstring(L,(const char *)result); SWIG_arg++;
63230     return SWIG_arg;
63231 
63232     fail: SWIGUNUSED;
63233   }
63234   lua_error(L);
63235   return 0;
63236 }
63237 
63238 
_wrap_SBTrace_Start__SWIG_0(lua_State * L)63239 static int _wrap_SBTrace_Start__SWIG_0(lua_State* L) {
63240   {
63241     int SWIG_arg = 0;
63242     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63243     lldb::SBStructuredData *arg2 = 0 ;
63244     lldb::SBError result;
63245 
63246     SWIG_check_num_args("lldb::SBTrace::Start",2,2)
63247     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *");
63248     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBStructuredData const &");
63249 
63250     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63251       SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace);
63252     }
63253 
63254 
63255     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStructuredData,0))){
63256       SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBStructuredData);
63257     }
63258 
63259     result = (arg1)->Start((lldb::SBStructuredData const &)*arg2);
63260     {
63261       lldb::SBError * resultptr = new lldb::SBError(result);
63262       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
63263     }
63264     return SWIG_arg;
63265 
63266     fail: SWIGUNUSED;
63267   }
63268   lua_error(L);
63269   return 0;
63270 }
63271 
63272 
_wrap_SBTrace_Start__SWIG_1(lua_State * L)63273 static int _wrap_SBTrace_Start__SWIG_1(lua_State* L) {
63274   {
63275     int SWIG_arg = 0;
63276     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63277     lldb::SBThread *arg2 = 0 ;
63278     lldb::SBStructuredData *arg3 = 0 ;
63279     lldb::SBError result;
63280 
63281     SWIG_check_num_args("lldb::SBTrace::Start",3,3)
63282     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Start",1,"lldb::SBTrace *");
63283     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Start",2,"lldb::SBThread const &");
63284     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTrace::Start",3,"lldb::SBStructuredData const &");
63285 
63286     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63287       SWIG_fail_ptr("SBTrace_Start",1,SWIGTYPE_p_lldb__SBTrace);
63288     }
63289 
63290 
63291     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){
63292       SWIG_fail_ptr("SBTrace_Start",2,SWIGTYPE_p_lldb__SBThread);
63293     }
63294 
63295 
63296     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStructuredData,0))){
63297       SWIG_fail_ptr("SBTrace_Start",3,SWIGTYPE_p_lldb__SBStructuredData);
63298     }
63299 
63300     result = (arg1)->Start((lldb::SBThread const &)*arg2,(lldb::SBStructuredData const &)*arg3);
63301     {
63302       lldb::SBError * resultptr = new lldb::SBError(result);
63303       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
63304     }
63305     return SWIG_arg;
63306 
63307     fail: SWIGUNUSED;
63308   }
63309   lua_error(L);
63310   return 0;
63311 }
63312 
63313 
_wrap_SBTrace_Start(lua_State * L)63314 static int _wrap_SBTrace_Start(lua_State* L) {
63315   int argc;
63316   int argv[4]={
63317     1,2,3,4
63318   };
63319 
63320   argc = lua_gettop(L);
63321   if (argc == 2) {
63322     int _v = 0;
63323     {
63324       void *ptr;
63325       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63326         _v = 0;
63327       } else {
63328         _v = 1;
63329       }
63330     }
63331     if (_v) {
63332       {
63333         void *ptr;
63334         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
63335           _v = 0;
63336         } else {
63337           _v = 1;
63338         }
63339       }
63340       if (_v) {
63341         return _wrap_SBTrace_Start__SWIG_0(L);
63342       }
63343     }
63344   }
63345   if (argc == 3) {
63346     int _v = 0;
63347     {
63348       void *ptr;
63349       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63350         _v = 0;
63351       } else {
63352         _v = 1;
63353       }
63354     }
63355     if (_v) {
63356       {
63357         void *ptr;
63358         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
63359           _v = 0;
63360         } else {
63361           _v = 1;
63362         }
63363       }
63364       if (_v) {
63365         {
63366           void *ptr;
63367           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
63368             _v = 0;
63369           } else {
63370             _v = 1;
63371           }
63372         }
63373         if (_v) {
63374           return _wrap_SBTrace_Start__SWIG_1(L);
63375         }
63376       }
63377     }
63378   }
63379 
63380   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTrace_Start'\n"
63381     "  Possible C/C++ prototypes are:\n"
63382     "    lldb::SBTrace::Start(lldb::SBStructuredData const &)\n"
63383     "    lldb::SBTrace::Start(lldb::SBThread const &,lldb::SBStructuredData const &)\n");
63384   lua_error(L);return 0;
63385 }
63386 
63387 
_wrap_SBTrace_Stop__SWIG_0(lua_State * L)63388 static int _wrap_SBTrace_Stop__SWIG_0(lua_State* L) {
63389   {
63390     int SWIG_arg = 0;
63391     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63392     lldb::SBError result;
63393 
63394     SWIG_check_num_args("lldb::SBTrace::Stop",1,1)
63395     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *");
63396 
63397     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63398       SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace);
63399     }
63400 
63401     result = (arg1)->Stop();
63402     {
63403       lldb::SBError * resultptr = new lldb::SBError(result);
63404       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
63405     }
63406     return SWIG_arg;
63407 
63408     fail: SWIGUNUSED;
63409   }
63410   lua_error(L);
63411   return 0;
63412 }
63413 
63414 
_wrap_SBTrace_Stop__SWIG_1(lua_State * L)63415 static int _wrap_SBTrace_Stop__SWIG_1(lua_State* L) {
63416   {
63417     int SWIG_arg = 0;
63418     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63419     lldb::SBThread *arg2 = 0 ;
63420     lldb::SBError result;
63421 
63422     SWIG_check_num_args("lldb::SBTrace::Stop",2,2)
63423     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::Stop",1,"lldb::SBTrace *");
63424     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTrace::Stop",2,"lldb::SBThread const &");
63425 
63426     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63427       SWIG_fail_ptr("SBTrace_Stop",1,SWIGTYPE_p_lldb__SBTrace);
63428     }
63429 
63430 
63431     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBThread,0))){
63432       SWIG_fail_ptr("SBTrace_Stop",2,SWIGTYPE_p_lldb__SBThread);
63433     }
63434 
63435     result = (arg1)->Stop((lldb::SBThread const &)*arg2);
63436     {
63437       lldb::SBError * resultptr = new lldb::SBError(result);
63438       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
63439     }
63440     return SWIG_arg;
63441 
63442     fail: SWIGUNUSED;
63443   }
63444   lua_error(L);
63445   return 0;
63446 }
63447 
63448 
_wrap_SBTrace_Stop(lua_State * L)63449 static int _wrap_SBTrace_Stop(lua_State* L) {
63450   int argc;
63451   int argv[3]={
63452     1,2,3
63453   };
63454 
63455   argc = lua_gettop(L);
63456   if (argc == 1) {
63457     int _v = 0;
63458     {
63459       void *ptr;
63460       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63461         _v = 0;
63462       } else {
63463         _v = 1;
63464       }
63465     }
63466     if (_v) {
63467       return _wrap_SBTrace_Stop__SWIG_0(L);
63468     }
63469   }
63470   if (argc == 2) {
63471     int _v = 0;
63472     {
63473       void *ptr;
63474       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTrace, 0)) {
63475         _v = 0;
63476       } else {
63477         _v = 1;
63478       }
63479     }
63480     if (_v) {
63481       {
63482         void *ptr;
63483         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_NO_NULL)) {
63484           _v = 0;
63485         } else {
63486           _v = 1;
63487         }
63488       }
63489       if (_v) {
63490         return _wrap_SBTrace_Stop__SWIG_1(L);
63491       }
63492     }
63493   }
63494 
63495   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTrace_Stop'\n"
63496     "  Possible C/C++ prototypes are:\n"
63497     "    lldb::SBTrace::Stop()\n"
63498     "    lldb::SBTrace::Stop(lldb::SBThread const &)\n");
63499   lua_error(L);return 0;
63500 }
63501 
63502 
_wrap_SBTrace_IsValid(lua_State * L)63503 static int _wrap_SBTrace_IsValid(lua_State* L) {
63504   {
63505     int SWIG_arg = 0;
63506     lldb::SBTrace *arg1 = (lldb::SBTrace *) 0 ;
63507     bool result;
63508 
63509     SWIG_check_num_args("lldb::SBTrace::IsValid",1,1)
63510     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTrace::IsValid",1,"lldb::SBTrace *");
63511 
63512     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTrace,0))){
63513       SWIG_fail_ptr("SBTrace_IsValid",1,SWIGTYPE_p_lldb__SBTrace);
63514     }
63515 
63516     result = (bool)(arg1)->IsValid();
63517     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63518     return SWIG_arg;
63519 
63520     fail: SWIGUNUSED;
63521   }
63522   lua_error(L);
63523   return 0;
63524 }
63525 
63526 
swig_delete_SBTrace(void * obj)63527 static void swig_delete_SBTrace(void *obj) {
63528 lldb::SBTrace *arg1 = (lldb::SBTrace *) obj;
63529 delete arg1;
63530 }
_proxy__wrap_new_SBTrace(lua_State * L)63531 static int _proxy__wrap_new_SBTrace(lua_State *L) {
63532     assert(lua_istable(L,1));
63533     lua_pushcfunction(L,_wrap_new_SBTrace);
63534     assert(!lua_isnil(L,-1));
63535     lua_replace(L,1); /* replace our table with real constructor */
63536     lua_call(L,lua_gettop(L)-1,1);
63537     return 1;
63538 }
63539 static swig_lua_attribute swig_SBTrace_attributes[] = {
63540     {0,0,0}
63541 };
63542 static swig_lua_method swig_SBTrace_methods[]= {
63543     { "CreateNewCursor", _wrap_SBTrace_CreateNewCursor},
63544     { "SaveToDisk", _wrap_SBTrace_SaveToDisk},
63545     { "GetStartConfigurationHelp", _wrap_SBTrace_GetStartConfigurationHelp},
63546     { "Start", _wrap_SBTrace_Start},
63547     { "Stop", _wrap_SBTrace_Stop},
63548     { "IsValid", _wrap_SBTrace_IsValid},
63549     {0,0}
63550 };
63551 static swig_lua_method swig_SBTrace_meta[] = {
63552     {0,0}
63553 };
63554 
63555 static swig_lua_attribute swig_SBTrace_Sf_SwigStatic_attributes[] = {
63556     {0,0,0}
63557 };
63558 static swig_lua_const_info swig_SBTrace_Sf_SwigStatic_constants[]= {
63559     {0,0,0,0,0,0}
63560 };
63561 static swig_lua_method swig_SBTrace_Sf_SwigStatic_methods[]= {
63562     { "LoadTraceFromFile", _wrap_SBTrace_LoadTraceFromFile},
63563     {0,0}
63564 };
63565 static swig_lua_class* swig_SBTrace_Sf_SwigStatic_classes[]= {
63566     0
63567 };
63568 
63569 static swig_lua_namespace swig_SBTrace_Sf_SwigStatic = {
63570     "SBTrace",
63571     swig_SBTrace_Sf_SwigStatic_methods,
63572     swig_SBTrace_Sf_SwigStatic_attributes,
63573     swig_SBTrace_Sf_SwigStatic_constants,
63574     swig_SBTrace_Sf_SwigStatic_classes,
63575     0
63576 };
63577 static swig_lua_class *swig_SBTrace_bases[] = {0};
63578 static const char *swig_SBTrace_base_names[] = {0};
63579 static swig_lua_class _wrap_class_SBTrace = { "SBTrace", "SBTrace", &SWIGTYPE_p_lldb__SBTrace,_proxy__wrap_new_SBTrace, swig_delete_SBTrace, swig_SBTrace_methods, swig_SBTrace_attributes, &swig_SBTrace_Sf_SwigStatic, swig_SBTrace_meta, swig_SBTrace_bases, swig_SBTrace_base_names };
63580 
_wrap_new_SBTraceCursor(lua_State * L)63581 static int _wrap_new_SBTraceCursor(lua_State* L) {
63582   {
63583     int SWIG_arg = 0;
63584     lldb::SBTraceCursor *result = 0 ;
63585 
63586     SWIG_check_num_args("lldb::SBTraceCursor::SBTraceCursor",0,0)
63587     result = (lldb::SBTraceCursor *)new lldb::SBTraceCursor();
63588     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTraceCursor,1); SWIG_arg++;
63589     return SWIG_arg;
63590 
63591     fail: SWIGUNUSED;
63592   }
63593   lua_error(L);
63594   return 0;
63595 }
63596 
63597 
_wrap_SBTraceCursor_SetForwards(lua_State * L)63598 static int _wrap_SBTraceCursor_SetForwards(lua_State* L) {
63599   {
63600     int SWIG_arg = 0;
63601     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63602     bool arg2 ;
63603 
63604     SWIG_check_num_args("lldb::SBTraceCursor::SetForwards",2,2)
63605     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",1,"lldb::SBTraceCursor *");
63606     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::SetForwards",2,"bool");
63607 
63608     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63609       SWIG_fail_ptr("SBTraceCursor_SetForwards",1,SWIGTYPE_p_lldb__SBTraceCursor);
63610     }
63611 
63612     arg2 = (lua_toboolean(L, 2)!=0);
63613     (arg1)->SetForwards(arg2);
63614 
63615     return SWIG_arg;
63616 
63617     fail: SWIGUNUSED;
63618   }
63619   lua_error(L);
63620   return 0;
63621 }
63622 
63623 
_wrap_SBTraceCursor_IsForwards(lua_State * L)63624 static int _wrap_SBTraceCursor_IsForwards(lua_State* L) {
63625   {
63626     int SWIG_arg = 0;
63627     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63628     bool result;
63629 
63630     SWIG_check_num_args("lldb::SBTraceCursor::IsForwards",1,1)
63631     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsForwards",1,"lldb::SBTraceCursor const *");
63632 
63633     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63634       SWIG_fail_ptr("SBTraceCursor_IsForwards",1,SWIGTYPE_p_lldb__SBTraceCursor);
63635     }
63636 
63637     result = (bool)((lldb::SBTraceCursor const *)arg1)->IsForwards();
63638     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63639     return SWIG_arg;
63640 
63641     fail: SWIGUNUSED;
63642   }
63643   lua_error(L);
63644   return 0;
63645 }
63646 
63647 
_wrap_SBTraceCursor_Next(lua_State * L)63648 static int _wrap_SBTraceCursor_Next(lua_State* L) {
63649   {
63650     int SWIG_arg = 0;
63651     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63652 
63653     SWIG_check_num_args("lldb::SBTraceCursor::Next",1,1)
63654     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Next",1,"lldb::SBTraceCursor *");
63655 
63656     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63657       SWIG_fail_ptr("SBTraceCursor_Next",1,SWIGTYPE_p_lldb__SBTraceCursor);
63658     }
63659 
63660     (arg1)->Next();
63661 
63662     return SWIG_arg;
63663 
63664     fail: SWIGUNUSED;
63665   }
63666   lua_error(L);
63667   return 0;
63668 }
63669 
63670 
_wrap_SBTraceCursor_HasValue(lua_State * L)63671 static int _wrap_SBTraceCursor_HasValue(lua_State* L) {
63672   {
63673     int SWIG_arg = 0;
63674     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63675     bool result;
63676 
63677     SWIG_check_num_args("lldb::SBTraceCursor::HasValue",1,1)
63678     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasValue",1,"lldb::SBTraceCursor const *");
63679 
63680     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63681       SWIG_fail_ptr("SBTraceCursor_HasValue",1,SWIGTYPE_p_lldb__SBTraceCursor);
63682     }
63683 
63684     result = (bool)((lldb::SBTraceCursor const *)arg1)->HasValue();
63685     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63686     return SWIG_arg;
63687 
63688     fail: SWIGUNUSED;
63689   }
63690   lua_error(L);
63691   return 0;
63692 }
63693 
63694 
_wrap_SBTraceCursor_GoToId(lua_State * L)63695 static int _wrap_SBTraceCursor_GoToId(lua_State* L) {
63696   {
63697     int SWIG_arg = 0;
63698     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63699     lldb::user_id_t arg2 ;
63700     bool result;
63701 
63702     SWIG_check_num_args("lldb::SBTraceCursor::GoToId",2,2)
63703     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",1,"lldb::SBTraceCursor *");
63704     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::GoToId",2,"lldb::user_id_t");
63705 
63706     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63707       SWIG_fail_ptr("SBTraceCursor_GoToId",1,SWIGTYPE_p_lldb__SBTraceCursor);
63708     }
63709 
63710     arg2 = (lldb::user_id_t)lua_tointeger(L, 2);
63711     result = (bool)(arg1)->GoToId(arg2);
63712     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63713     return SWIG_arg;
63714 
63715     fail: SWIGUNUSED;
63716   }
63717   lua_error(L);
63718   return 0;
63719 }
63720 
63721 
_wrap_SBTraceCursor_HasId(lua_State * L)63722 static int _wrap_SBTraceCursor_HasId(lua_State* L) {
63723   {
63724     int SWIG_arg = 0;
63725     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63726     lldb::user_id_t arg2 ;
63727     bool result;
63728 
63729     SWIG_check_num_args("lldb::SBTraceCursor::HasId",2,2)
63730     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",1,"lldb::SBTraceCursor const *");
63731     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::HasId",2,"lldb::user_id_t");
63732 
63733     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63734       SWIG_fail_ptr("SBTraceCursor_HasId",1,SWIGTYPE_p_lldb__SBTraceCursor);
63735     }
63736 
63737     arg2 = (lldb::user_id_t)lua_tointeger(L, 2);
63738     result = (bool)((lldb::SBTraceCursor const *)arg1)->HasId(arg2);
63739     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63740     return SWIG_arg;
63741 
63742     fail: SWIGUNUSED;
63743   }
63744   lua_error(L);
63745   return 0;
63746 }
63747 
63748 
_wrap_SBTraceCursor_GetId(lua_State * L)63749 static int _wrap_SBTraceCursor_GetId(lua_State* L) {
63750   {
63751     int SWIG_arg = 0;
63752     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63753     lldb::user_id_t result;
63754 
63755     SWIG_check_num_args("lldb::SBTraceCursor::GetId",1,1)
63756     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetId",1,"lldb::SBTraceCursor const *");
63757 
63758     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63759       SWIG_fail_ptr("SBTraceCursor_GetId",1,SWIGTYPE_p_lldb__SBTraceCursor);
63760     }
63761 
63762     result = (lldb::user_id_t)((lldb::SBTraceCursor const *)arg1)->GetId();
63763     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
63764     return SWIG_arg;
63765 
63766     fail: SWIGUNUSED;
63767   }
63768   lua_error(L);
63769   return 0;
63770 }
63771 
63772 
_wrap_SBTraceCursor_Seek(lua_State * L)63773 static int _wrap_SBTraceCursor_Seek(lua_State* L) {
63774   {
63775     int SWIG_arg = 0;
63776     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63777     int64_t arg2 ;
63778     lldb::TraceCursorSeekType arg3 ;
63779     bool result;
63780 
63781     SWIG_check_num_args("lldb::SBTraceCursor::Seek",3,3)
63782     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",1,"lldb::SBTraceCursor *");
63783     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",2,"int64_t");
63784     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTraceCursor::Seek",3,"lldb::TraceCursorSeekType");
63785 
63786     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63787       SWIG_fail_ptr("SBTraceCursor_Seek",1,SWIGTYPE_p_lldb__SBTraceCursor);
63788     }
63789 
63790     arg2 = (int64_t)lua_tointeger(L, 2);
63791     arg3 = (lldb::TraceCursorSeekType)lua_tointeger(L, 3);
63792     result = (bool)(arg1)->Seek(arg2,arg3);
63793     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63794     return SWIG_arg;
63795 
63796     fail: SWIGUNUSED;
63797   }
63798   lua_error(L);
63799   return 0;
63800 }
63801 
63802 
_wrap_SBTraceCursor_GetItemKind(lua_State * L)63803 static int _wrap_SBTraceCursor_GetItemKind(lua_State* L) {
63804   {
63805     int SWIG_arg = 0;
63806     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63807     lldb::TraceItemKind result;
63808 
63809     SWIG_check_num_args("lldb::SBTraceCursor::GetItemKind",1,1)
63810     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetItemKind",1,"lldb::SBTraceCursor const *");
63811 
63812     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63813       SWIG_fail_ptr("SBTraceCursor_GetItemKind",1,SWIGTYPE_p_lldb__SBTraceCursor);
63814     }
63815 
63816     result = (lldb::TraceItemKind)((lldb::SBTraceCursor const *)arg1)->GetItemKind();
63817     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
63818     return SWIG_arg;
63819 
63820     fail: SWIGUNUSED;
63821   }
63822   lua_error(L);
63823   return 0;
63824 }
63825 
63826 
_wrap_SBTraceCursor_IsError(lua_State * L)63827 static int _wrap_SBTraceCursor_IsError(lua_State* L) {
63828   {
63829     int SWIG_arg = 0;
63830     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63831     bool result;
63832 
63833     SWIG_check_num_args("lldb::SBTraceCursor::IsError",1,1)
63834     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsError",1,"lldb::SBTraceCursor const *");
63835 
63836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63837       SWIG_fail_ptr("SBTraceCursor_IsError",1,SWIGTYPE_p_lldb__SBTraceCursor);
63838     }
63839 
63840     result = (bool)((lldb::SBTraceCursor const *)arg1)->IsError();
63841     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63842     return SWIG_arg;
63843 
63844     fail: SWIGUNUSED;
63845   }
63846   lua_error(L);
63847   return 0;
63848 }
63849 
63850 
_wrap_SBTraceCursor_GetError(lua_State * L)63851 static int _wrap_SBTraceCursor_GetError(lua_State* L) {
63852   {
63853     int SWIG_arg = 0;
63854     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63855     char *result = 0 ;
63856 
63857     SWIG_check_num_args("lldb::SBTraceCursor::GetError",1,1)
63858     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetError",1,"lldb::SBTraceCursor const *");
63859 
63860     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63861       SWIG_fail_ptr("SBTraceCursor_GetError",1,SWIGTYPE_p_lldb__SBTraceCursor);
63862     }
63863 
63864     result = (char *)((lldb::SBTraceCursor const *)arg1)->GetError();
63865     lua_pushstring(L,(const char *)result); SWIG_arg++;
63866     return SWIG_arg;
63867 
63868     fail: SWIGUNUSED;
63869   }
63870   lua_error(L);
63871   return 0;
63872 }
63873 
63874 
_wrap_SBTraceCursor_IsEvent(lua_State * L)63875 static int _wrap_SBTraceCursor_IsEvent(lua_State* L) {
63876   {
63877     int SWIG_arg = 0;
63878     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63879     bool result;
63880 
63881     SWIG_check_num_args("lldb::SBTraceCursor::IsEvent",1,1)
63882     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsEvent",1,"lldb::SBTraceCursor const *");
63883 
63884     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63885       SWIG_fail_ptr("SBTraceCursor_IsEvent",1,SWIGTYPE_p_lldb__SBTraceCursor);
63886     }
63887 
63888     result = (bool)((lldb::SBTraceCursor const *)arg1)->IsEvent();
63889     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63890     return SWIG_arg;
63891 
63892     fail: SWIGUNUSED;
63893   }
63894   lua_error(L);
63895   return 0;
63896 }
63897 
63898 
_wrap_SBTraceCursor_GetEventType(lua_State * L)63899 static int _wrap_SBTraceCursor_GetEventType(lua_State* L) {
63900   {
63901     int SWIG_arg = 0;
63902     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63903     lldb::TraceEvent result;
63904 
63905     SWIG_check_num_args("lldb::SBTraceCursor::GetEventType",1,1)
63906     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventType",1,"lldb::SBTraceCursor const *");
63907 
63908     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63909       SWIG_fail_ptr("SBTraceCursor_GetEventType",1,SWIGTYPE_p_lldb__SBTraceCursor);
63910     }
63911 
63912     result = (lldb::TraceEvent)((lldb::SBTraceCursor const *)arg1)->GetEventType();
63913     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
63914     return SWIG_arg;
63915 
63916     fail: SWIGUNUSED;
63917   }
63918   lua_error(L);
63919   return 0;
63920 }
63921 
63922 
_wrap_SBTraceCursor_GetEventTypeAsString(lua_State * L)63923 static int _wrap_SBTraceCursor_GetEventTypeAsString(lua_State* L) {
63924   {
63925     int SWIG_arg = 0;
63926     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63927     char *result = 0 ;
63928 
63929     SWIG_check_num_args("lldb::SBTraceCursor::GetEventTypeAsString",1,1)
63930     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetEventTypeAsString",1,"lldb::SBTraceCursor const *");
63931 
63932     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63933       SWIG_fail_ptr("SBTraceCursor_GetEventTypeAsString",1,SWIGTYPE_p_lldb__SBTraceCursor);
63934     }
63935 
63936     result = (char *)((lldb::SBTraceCursor const *)arg1)->GetEventTypeAsString();
63937     lua_pushstring(L,(const char *)result); SWIG_arg++;
63938     return SWIG_arg;
63939 
63940     fail: SWIGUNUSED;
63941   }
63942   lua_error(L);
63943   return 0;
63944 }
63945 
63946 
_wrap_SBTraceCursor_IsInstruction(lua_State * L)63947 static int _wrap_SBTraceCursor_IsInstruction(lua_State* L) {
63948   {
63949     int SWIG_arg = 0;
63950     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63951     bool result;
63952 
63953     SWIG_check_num_args("lldb::SBTraceCursor::IsInstruction",1,1)
63954     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsInstruction",1,"lldb::SBTraceCursor const *");
63955 
63956     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63957       SWIG_fail_ptr("SBTraceCursor_IsInstruction",1,SWIGTYPE_p_lldb__SBTraceCursor);
63958     }
63959 
63960     result = (bool)((lldb::SBTraceCursor const *)arg1)->IsInstruction();
63961     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
63962     return SWIG_arg;
63963 
63964     fail: SWIGUNUSED;
63965   }
63966   lua_error(L);
63967   return 0;
63968 }
63969 
63970 
_wrap_SBTraceCursor_GetLoadAddress(lua_State * L)63971 static int _wrap_SBTraceCursor_GetLoadAddress(lua_State* L) {
63972   {
63973     int SWIG_arg = 0;
63974     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63975     lldb::addr_t result;
63976 
63977     SWIG_check_num_args("lldb::SBTraceCursor::GetLoadAddress",1,1)
63978     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetLoadAddress",1,"lldb::SBTraceCursor const *");
63979 
63980     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
63981       SWIG_fail_ptr("SBTraceCursor_GetLoadAddress",1,SWIGTYPE_p_lldb__SBTraceCursor);
63982     }
63983 
63984     result = (lldb::addr_t)((lldb::SBTraceCursor const *)arg1)->GetLoadAddress();
63985     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
63986     return SWIG_arg;
63987 
63988     fail: SWIGUNUSED;
63989   }
63990   lua_error(L);
63991   return 0;
63992 }
63993 
63994 
_wrap_SBTraceCursor_GetCPU(lua_State * L)63995 static int _wrap_SBTraceCursor_GetCPU(lua_State* L) {
63996   {
63997     int SWIG_arg = 0;
63998     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
63999     lldb::cpu_id_t result;
64000 
64001     SWIG_check_num_args("lldb::SBTraceCursor::GetCPU",1,1)
64002     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::GetCPU",1,"lldb::SBTraceCursor const *");
64003 
64004     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
64005       SWIG_fail_ptr("SBTraceCursor_GetCPU",1,SWIGTYPE_p_lldb__SBTraceCursor);
64006     }
64007 
64008     result = (lldb::cpu_id_t)((lldb::SBTraceCursor const *)arg1)->GetCPU();
64009     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64010     return SWIG_arg;
64011 
64012     fail: SWIGUNUSED;
64013   }
64014   lua_error(L);
64015   return 0;
64016 }
64017 
64018 
_wrap_SBTraceCursor_IsValid(lua_State * L)64019 static int _wrap_SBTraceCursor_IsValid(lua_State* L) {
64020   {
64021     int SWIG_arg = 0;
64022     lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) 0 ;
64023     bool result;
64024 
64025     SWIG_check_num_args("lldb::SBTraceCursor::IsValid",1,1)
64026     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTraceCursor::IsValid",1,"lldb::SBTraceCursor const *");
64027 
64028     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTraceCursor,0))){
64029       SWIG_fail_ptr("SBTraceCursor_IsValid",1,SWIGTYPE_p_lldb__SBTraceCursor);
64030     }
64031 
64032     result = (bool)((lldb::SBTraceCursor const *)arg1)->IsValid();
64033     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64034     return SWIG_arg;
64035 
64036     fail: SWIGUNUSED;
64037   }
64038   lua_error(L);
64039   return 0;
64040 }
64041 
64042 
swig_delete_SBTraceCursor(void * obj)64043 static void swig_delete_SBTraceCursor(void *obj) {
64044 lldb::SBTraceCursor *arg1 = (lldb::SBTraceCursor *) obj;
64045 delete arg1;
64046 }
_proxy__wrap_new_SBTraceCursor(lua_State * L)64047 static int _proxy__wrap_new_SBTraceCursor(lua_State *L) {
64048     assert(lua_istable(L,1));
64049     lua_pushcfunction(L,_wrap_new_SBTraceCursor);
64050     assert(!lua_isnil(L,-1));
64051     lua_replace(L,1); /* replace our table with real constructor */
64052     lua_call(L,lua_gettop(L)-1,1);
64053     return 1;
64054 }
64055 static swig_lua_attribute swig_SBTraceCursor_attributes[] = {
64056     {0,0,0}
64057 };
64058 static swig_lua_method swig_SBTraceCursor_methods[]= {
64059     { "SetForwards", _wrap_SBTraceCursor_SetForwards},
64060     { "IsForwards", _wrap_SBTraceCursor_IsForwards},
64061     { "Next", _wrap_SBTraceCursor_Next},
64062     { "HasValue", _wrap_SBTraceCursor_HasValue},
64063     { "GoToId", _wrap_SBTraceCursor_GoToId},
64064     { "HasId", _wrap_SBTraceCursor_HasId},
64065     { "GetId", _wrap_SBTraceCursor_GetId},
64066     { "Seek", _wrap_SBTraceCursor_Seek},
64067     { "GetItemKind", _wrap_SBTraceCursor_GetItemKind},
64068     { "IsError", _wrap_SBTraceCursor_IsError},
64069     { "GetError", _wrap_SBTraceCursor_GetError},
64070     { "IsEvent", _wrap_SBTraceCursor_IsEvent},
64071     { "GetEventType", _wrap_SBTraceCursor_GetEventType},
64072     { "GetEventTypeAsString", _wrap_SBTraceCursor_GetEventTypeAsString},
64073     { "IsInstruction", _wrap_SBTraceCursor_IsInstruction},
64074     { "GetLoadAddress", _wrap_SBTraceCursor_GetLoadAddress},
64075     { "GetCPU", _wrap_SBTraceCursor_GetCPU},
64076     { "IsValid", _wrap_SBTraceCursor_IsValid},
64077     {0,0}
64078 };
64079 static swig_lua_method swig_SBTraceCursor_meta[] = {
64080     {0,0}
64081 };
64082 
64083 static swig_lua_attribute swig_SBTraceCursor_Sf_SwigStatic_attributes[] = {
64084     {0,0,0}
64085 };
64086 static swig_lua_const_info swig_SBTraceCursor_Sf_SwigStatic_constants[]= {
64087     {0,0,0,0,0,0}
64088 };
64089 static swig_lua_method swig_SBTraceCursor_Sf_SwigStatic_methods[]= {
64090     {0,0}
64091 };
64092 static swig_lua_class* swig_SBTraceCursor_Sf_SwigStatic_classes[]= {
64093     0
64094 };
64095 
64096 static swig_lua_namespace swig_SBTraceCursor_Sf_SwigStatic = {
64097     "SBTraceCursor",
64098     swig_SBTraceCursor_Sf_SwigStatic_methods,
64099     swig_SBTraceCursor_Sf_SwigStatic_attributes,
64100     swig_SBTraceCursor_Sf_SwigStatic_constants,
64101     swig_SBTraceCursor_Sf_SwigStatic_classes,
64102     0
64103 };
64104 static swig_lua_class *swig_SBTraceCursor_bases[] = {0};
64105 static const char *swig_SBTraceCursor_base_names[] = {0};
64106 static swig_lua_class _wrap_class_SBTraceCursor = { "SBTraceCursor", "SBTraceCursor", &SWIGTYPE_p_lldb__SBTraceCursor,_proxy__wrap_new_SBTraceCursor, swig_delete_SBTraceCursor, swig_SBTraceCursor_methods, swig_SBTraceCursor_attributes, &swig_SBTraceCursor_Sf_SwigStatic, swig_SBTraceCursor_meta, swig_SBTraceCursor_bases, swig_SBTraceCursor_base_names };
64107 
_wrap_new_SBTypeMember__SWIG_0(lua_State * L)64108 static int _wrap_new_SBTypeMember__SWIG_0(lua_State* L) {
64109   {
64110     int SWIG_arg = 0;
64111     lldb::SBTypeMember *result = 0 ;
64112 
64113     SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",0,0)
64114     result = (lldb::SBTypeMember *)new lldb::SBTypeMember();
64115     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++;
64116     return SWIG_arg;
64117 
64118     fail: SWIGUNUSED;
64119   }
64120   lua_error(L);
64121   return 0;
64122 }
64123 
64124 
_wrap_new_SBTypeMember__SWIG_1(lua_State * L)64125 static int _wrap_new_SBTypeMember__SWIG_1(lua_State* L) {
64126   {
64127     int SWIG_arg = 0;
64128     lldb::SBTypeMember *arg1 = 0 ;
64129     lldb::SBTypeMember *result = 0 ;
64130 
64131     SWIG_check_num_args("lldb::SBTypeMember::SBTypeMember",1,1)
64132     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMember::SBTypeMember",1,"lldb::SBTypeMember const &");
64133 
64134     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64135       SWIG_fail_ptr("new_SBTypeMember",1,SWIGTYPE_p_lldb__SBTypeMember);
64136     }
64137 
64138     result = (lldb::SBTypeMember *)new lldb::SBTypeMember((lldb::SBTypeMember const &)*arg1);
64139     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++;
64140     return SWIG_arg;
64141 
64142     fail: SWIGUNUSED;
64143   }
64144   lua_error(L);
64145   return 0;
64146 }
64147 
64148 
_wrap_new_SBTypeMember(lua_State * L)64149 static int _wrap_new_SBTypeMember(lua_State* L) {
64150   int argc;
64151   int argv[2]={
64152     1,2
64153   };
64154 
64155   argc = lua_gettop(L);
64156   if (argc == 0) {
64157     return _wrap_new_SBTypeMember__SWIG_0(L);
64158   }
64159   if (argc == 1) {
64160     int _v = 0;
64161     {
64162       void *ptr;
64163       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeMember, SWIG_POINTER_NO_NULL)) {
64164         _v = 0;
64165       } else {
64166         _v = 1;
64167       }
64168     }
64169     if (_v) {
64170       return _wrap_new_SBTypeMember__SWIG_1(L);
64171     }
64172   }
64173 
64174   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeMember'\n"
64175     "  Possible C/C++ prototypes are:\n"
64176     "    lldb::SBTypeMember::SBTypeMember()\n"
64177     "    lldb::SBTypeMember::SBTypeMember(lldb::SBTypeMember const &)\n");
64178   lua_error(L);return 0;
64179 }
64180 
64181 
_wrap_SBTypeMember_IsValid(lua_State * L)64182 static int _wrap_SBTypeMember_IsValid(lua_State* L) {
64183   {
64184     int SWIG_arg = 0;
64185     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64186     bool result;
64187 
64188     SWIG_check_num_args("lldb::SBTypeMember::IsValid",1,1)
64189     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsValid",1,"lldb::SBTypeMember const *");
64190 
64191     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64192       SWIG_fail_ptr("SBTypeMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeMember);
64193     }
64194 
64195     result = (bool)((lldb::SBTypeMember const *)arg1)->IsValid();
64196     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64197     return SWIG_arg;
64198 
64199     fail: SWIGUNUSED;
64200   }
64201   lua_error(L);
64202   return 0;
64203 }
64204 
64205 
_wrap_SBTypeMember_GetName(lua_State * L)64206 static int _wrap_SBTypeMember_GetName(lua_State* L) {
64207   {
64208     int SWIG_arg = 0;
64209     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64210     char *result = 0 ;
64211 
64212     SWIG_check_num_args("lldb::SBTypeMember::GetName",1,1)
64213     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetName",1,"lldb::SBTypeMember *");
64214 
64215     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64216       SWIG_fail_ptr("SBTypeMember_GetName",1,SWIGTYPE_p_lldb__SBTypeMember);
64217     }
64218 
64219     result = (char *)(arg1)->GetName();
64220     lua_pushstring(L,(const char *)result); SWIG_arg++;
64221     return SWIG_arg;
64222 
64223     fail: SWIGUNUSED;
64224   }
64225   lua_error(L);
64226   return 0;
64227 }
64228 
64229 
_wrap_SBTypeMember_GetType(lua_State * L)64230 static int _wrap_SBTypeMember_GetType(lua_State* L) {
64231   {
64232     int SWIG_arg = 0;
64233     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64234     lldb::SBType result;
64235 
64236     SWIG_check_num_args("lldb::SBTypeMember::GetType",1,1)
64237     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetType",1,"lldb::SBTypeMember *");
64238 
64239     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64240       SWIG_fail_ptr("SBTypeMember_GetType",1,SWIGTYPE_p_lldb__SBTypeMember);
64241     }
64242 
64243     result = (arg1)->GetType();
64244     {
64245       lldb::SBType * resultptr = new lldb::SBType(result);
64246       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64247     }
64248     return SWIG_arg;
64249 
64250     fail: SWIGUNUSED;
64251   }
64252   lua_error(L);
64253   return 0;
64254 }
64255 
64256 
_wrap_SBTypeMember_GetOffsetInBytes(lua_State * L)64257 static int _wrap_SBTypeMember_GetOffsetInBytes(lua_State* L) {
64258   {
64259     int SWIG_arg = 0;
64260     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64261     uint64_t result;
64262 
64263     SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBytes",1,1)
64264     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBytes",1,"lldb::SBTypeMember *");
64265 
64266     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64267       SWIG_fail_ptr("SBTypeMember_GetOffsetInBytes",1,SWIGTYPE_p_lldb__SBTypeMember);
64268     }
64269 
64270     result = (uint64_t)(arg1)->GetOffsetInBytes();
64271     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64272     return SWIG_arg;
64273 
64274     fail: SWIGUNUSED;
64275   }
64276   lua_error(L);
64277   return 0;
64278 }
64279 
64280 
_wrap_SBTypeMember_GetOffsetInBits(lua_State * L)64281 static int _wrap_SBTypeMember_GetOffsetInBits(lua_State* L) {
64282   {
64283     int SWIG_arg = 0;
64284     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64285     uint64_t result;
64286 
64287     SWIG_check_num_args("lldb::SBTypeMember::GetOffsetInBits",1,1)
64288     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetOffsetInBits",1,"lldb::SBTypeMember *");
64289 
64290     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64291       SWIG_fail_ptr("SBTypeMember_GetOffsetInBits",1,SWIGTYPE_p_lldb__SBTypeMember);
64292     }
64293 
64294     result = (uint64_t)(arg1)->GetOffsetInBits();
64295     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64296     return SWIG_arg;
64297 
64298     fail: SWIGUNUSED;
64299   }
64300   lua_error(L);
64301   return 0;
64302 }
64303 
64304 
_wrap_SBTypeMember_IsBitfield(lua_State * L)64305 static int _wrap_SBTypeMember_IsBitfield(lua_State* L) {
64306   {
64307     int SWIG_arg = 0;
64308     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64309     bool result;
64310 
64311     SWIG_check_num_args("lldb::SBTypeMember::IsBitfield",1,1)
64312     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::IsBitfield",1,"lldb::SBTypeMember *");
64313 
64314     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64315       SWIG_fail_ptr("SBTypeMember_IsBitfield",1,SWIGTYPE_p_lldb__SBTypeMember);
64316     }
64317 
64318     result = (bool)(arg1)->IsBitfield();
64319     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64320     return SWIG_arg;
64321 
64322     fail: SWIGUNUSED;
64323   }
64324   lua_error(L);
64325   return 0;
64326 }
64327 
64328 
_wrap_SBTypeMember_GetBitfieldSizeInBits(lua_State * L)64329 static int _wrap_SBTypeMember_GetBitfieldSizeInBits(lua_State* L) {
64330   {
64331     int SWIG_arg = 0;
64332     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64333     uint32_t result;
64334 
64335     SWIG_check_num_args("lldb::SBTypeMember::GetBitfieldSizeInBits",1,1)
64336     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetBitfieldSizeInBits",1,"lldb::SBTypeMember *");
64337 
64338     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64339       SWIG_fail_ptr("SBTypeMember_GetBitfieldSizeInBits",1,SWIGTYPE_p_lldb__SBTypeMember);
64340     }
64341 
64342     result = (uint32_t)(arg1)->GetBitfieldSizeInBits();
64343     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64344     return SWIG_arg;
64345 
64346     fail: SWIGUNUSED;
64347   }
64348   lua_error(L);
64349   return 0;
64350 }
64351 
64352 
_wrap_SBTypeMember_GetDescription(lua_State * L)64353 static int _wrap_SBTypeMember_GetDescription(lua_State* L) {
64354   {
64355     int SWIG_arg = 0;
64356     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64357     lldb::SBStream *arg2 = 0 ;
64358     lldb::DescriptionLevel arg3 ;
64359     bool result;
64360 
64361     SWIG_check_num_args("lldb::SBTypeMember::GetDescription",3,3)
64362     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::GetDescription",1,"lldb::SBTypeMember *");
64363     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeMember::GetDescription",2,"lldb::SBStream &");
64364     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeMember::GetDescription",3,"lldb::DescriptionLevel");
64365 
64366     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64367       SWIG_fail_ptr("SBTypeMember_GetDescription",1,SWIGTYPE_p_lldb__SBTypeMember);
64368     }
64369 
64370 
64371     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
64372       SWIG_fail_ptr("SBTypeMember_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
64373     }
64374 
64375     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
64376     result = (bool)(arg1)->GetDescription(*arg2,arg3);
64377     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64378     return SWIG_arg;
64379 
64380     fail: SWIGUNUSED;
64381   }
64382   lua_error(L);
64383   return 0;
64384 }
64385 
64386 
_wrap_SBTypeMember___tostring(lua_State * L)64387 static int _wrap_SBTypeMember___tostring(lua_State* L) {
64388   {
64389     int SWIG_arg = 0;
64390     lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) 0 ;
64391     std::string result;
64392 
64393     SWIG_check_num_args("lldb::SBTypeMember::__repr__",1,1)
64394     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMember::__repr__",1,"lldb::SBTypeMember *");
64395 
64396     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMember,0))){
64397       SWIG_fail_ptr("SBTypeMember___tostring",1,SWIGTYPE_p_lldb__SBTypeMember);
64398     }
64399 
64400     result = lldb_SBTypeMember___repr__(arg1);
64401     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
64402     return SWIG_arg;
64403 
64404     fail: SWIGUNUSED;
64405   }
64406   lua_error(L);
64407   return 0;
64408 }
64409 
64410 
swig_delete_SBTypeMember(void * obj)64411 static void swig_delete_SBTypeMember(void *obj) {
64412 lldb::SBTypeMember *arg1 = (lldb::SBTypeMember *) obj;
64413 delete arg1;
64414 }
_proxy__wrap_new_SBTypeMember(lua_State * L)64415 static int _proxy__wrap_new_SBTypeMember(lua_State *L) {
64416     assert(lua_istable(L,1));
64417     lua_pushcfunction(L,_wrap_new_SBTypeMember);
64418     assert(!lua_isnil(L,-1));
64419     lua_replace(L,1); /* replace our table with real constructor */
64420     lua_call(L,lua_gettop(L)-1,1);
64421     return 1;
64422 }
64423 static swig_lua_attribute swig_SBTypeMember_attributes[] = {
64424     {0,0,0}
64425 };
64426 static swig_lua_method swig_SBTypeMember_methods[]= {
64427     { "IsValid", _wrap_SBTypeMember_IsValid},
64428     { "GetName", _wrap_SBTypeMember_GetName},
64429     { "GetType", _wrap_SBTypeMember_GetType},
64430     { "GetOffsetInBytes", _wrap_SBTypeMember_GetOffsetInBytes},
64431     { "GetOffsetInBits", _wrap_SBTypeMember_GetOffsetInBits},
64432     { "IsBitfield", _wrap_SBTypeMember_IsBitfield},
64433     { "GetBitfieldSizeInBits", _wrap_SBTypeMember_GetBitfieldSizeInBits},
64434     { "GetDescription", _wrap_SBTypeMember_GetDescription},
64435     { "__tostring", _wrap_SBTypeMember___tostring},
64436     {0,0}
64437 };
64438 static swig_lua_method swig_SBTypeMember_meta[] = {
64439     { "__tostring", _wrap_SBTypeMember___tostring},
64440     {0,0}
64441 };
64442 
64443 static swig_lua_attribute swig_SBTypeMember_Sf_SwigStatic_attributes[] = {
64444     {0,0,0}
64445 };
64446 static swig_lua_const_info swig_SBTypeMember_Sf_SwigStatic_constants[]= {
64447     {0,0,0,0,0,0}
64448 };
64449 static swig_lua_method swig_SBTypeMember_Sf_SwigStatic_methods[]= {
64450     {0,0}
64451 };
64452 static swig_lua_class* swig_SBTypeMember_Sf_SwigStatic_classes[]= {
64453     0
64454 };
64455 
64456 static swig_lua_namespace swig_SBTypeMember_Sf_SwigStatic = {
64457     "SBTypeMember",
64458     swig_SBTypeMember_Sf_SwigStatic_methods,
64459     swig_SBTypeMember_Sf_SwigStatic_attributes,
64460     swig_SBTypeMember_Sf_SwigStatic_constants,
64461     swig_SBTypeMember_Sf_SwigStatic_classes,
64462     0
64463 };
64464 static swig_lua_class *swig_SBTypeMember_bases[] = {0};
64465 static const char *swig_SBTypeMember_base_names[] = {0};
64466 static swig_lua_class _wrap_class_SBTypeMember = { "SBTypeMember", "SBTypeMember", &SWIGTYPE_p_lldb__SBTypeMember,_proxy__wrap_new_SBTypeMember, swig_delete_SBTypeMember, swig_SBTypeMember_methods, swig_SBTypeMember_attributes, &swig_SBTypeMember_Sf_SwigStatic, swig_SBTypeMember_meta, swig_SBTypeMember_bases, swig_SBTypeMember_base_names };
64467 
_wrap_new_SBTypeMemberFunction__SWIG_0(lua_State * L)64468 static int _wrap_new_SBTypeMemberFunction__SWIG_0(lua_State* L) {
64469   {
64470     int SWIG_arg = 0;
64471     lldb::SBTypeMemberFunction *result = 0 ;
64472 
64473     SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",0,0)
64474     result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction();
64475     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++;
64476     return SWIG_arg;
64477 
64478     fail: SWIGUNUSED;
64479   }
64480   lua_error(L);
64481   return 0;
64482 }
64483 
64484 
_wrap_new_SBTypeMemberFunction__SWIG_1(lua_State * L)64485 static int _wrap_new_SBTypeMemberFunction__SWIG_1(lua_State* L) {
64486   {
64487     int SWIG_arg = 0;
64488     lldb::SBTypeMemberFunction *arg1 = 0 ;
64489     lldb::SBTypeMemberFunction *result = 0 ;
64490 
64491     SWIG_check_num_args("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,1)
64492     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::SBTypeMemberFunction",1,"lldb::SBTypeMemberFunction const &");
64493 
64494     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64495       SWIG_fail_ptr("new_SBTypeMemberFunction",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64496     }
64497 
64498     result = (lldb::SBTypeMemberFunction *)new lldb::SBTypeMemberFunction((lldb::SBTypeMemberFunction const &)*arg1);
64499     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++;
64500     return SWIG_arg;
64501 
64502     fail: SWIGUNUSED;
64503   }
64504   lua_error(L);
64505   return 0;
64506 }
64507 
64508 
_wrap_new_SBTypeMemberFunction(lua_State * L)64509 static int _wrap_new_SBTypeMemberFunction(lua_State* L) {
64510   int argc;
64511   int argv[2]={
64512     1,2
64513   };
64514 
64515   argc = lua_gettop(L);
64516   if (argc == 0) {
64517     return _wrap_new_SBTypeMemberFunction__SWIG_0(L);
64518   }
64519   if (argc == 1) {
64520     int _v = 0;
64521     {
64522       void *ptr;
64523       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeMemberFunction, SWIG_POINTER_NO_NULL)) {
64524         _v = 0;
64525       } else {
64526         _v = 1;
64527       }
64528     }
64529     if (_v) {
64530       return _wrap_new_SBTypeMemberFunction__SWIG_1(L);
64531     }
64532   }
64533 
64534   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeMemberFunction'\n"
64535     "  Possible C/C++ prototypes are:\n"
64536     "    lldb::SBTypeMemberFunction::SBTypeMemberFunction()\n"
64537     "    lldb::SBTypeMemberFunction::SBTypeMemberFunction(lldb::SBTypeMemberFunction const &)\n");
64538   lua_error(L);return 0;
64539 }
64540 
64541 
_wrap_SBTypeMemberFunction_IsValid(lua_State * L)64542 static int _wrap_SBTypeMemberFunction_IsValid(lua_State* L) {
64543   {
64544     int SWIG_arg = 0;
64545     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64546     bool result;
64547 
64548     SWIG_check_num_args("lldb::SBTypeMemberFunction::IsValid",1,1)
64549     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::IsValid",1,"lldb::SBTypeMemberFunction const *");
64550 
64551     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64552       SWIG_fail_ptr("SBTypeMemberFunction_IsValid",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64553     }
64554 
64555     result = (bool)((lldb::SBTypeMemberFunction const *)arg1)->IsValid();
64556     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64557     return SWIG_arg;
64558 
64559     fail: SWIGUNUSED;
64560   }
64561   lua_error(L);
64562   return 0;
64563 }
64564 
64565 
_wrap_SBTypeMemberFunction_GetName(lua_State * L)64566 static int _wrap_SBTypeMemberFunction_GetName(lua_State* L) {
64567   {
64568     int SWIG_arg = 0;
64569     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64570     char *result = 0 ;
64571 
64572     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetName",1,1)
64573     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetName",1,"lldb::SBTypeMemberFunction *");
64574 
64575     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64576       SWIG_fail_ptr("SBTypeMemberFunction_GetName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64577     }
64578 
64579     result = (char *)(arg1)->GetName();
64580     lua_pushstring(L,(const char *)result); SWIG_arg++;
64581     return SWIG_arg;
64582 
64583     fail: SWIGUNUSED;
64584   }
64585   lua_error(L);
64586   return 0;
64587 }
64588 
64589 
_wrap_SBTypeMemberFunction_GetDemangledName(lua_State * L)64590 static int _wrap_SBTypeMemberFunction_GetDemangledName(lua_State* L) {
64591   {
64592     int SWIG_arg = 0;
64593     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64594     char *result = 0 ;
64595 
64596     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDemangledName",1,1)
64597     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDemangledName",1,"lldb::SBTypeMemberFunction *");
64598 
64599     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64600       SWIG_fail_ptr("SBTypeMemberFunction_GetDemangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64601     }
64602 
64603     result = (char *)(arg1)->GetDemangledName();
64604     lua_pushstring(L,(const char *)result); SWIG_arg++;
64605     return SWIG_arg;
64606 
64607     fail: SWIGUNUSED;
64608   }
64609   lua_error(L);
64610   return 0;
64611 }
64612 
64613 
_wrap_SBTypeMemberFunction_GetMangledName(lua_State * L)64614 static int _wrap_SBTypeMemberFunction_GetMangledName(lua_State* L) {
64615   {
64616     int SWIG_arg = 0;
64617     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64618     char *result = 0 ;
64619 
64620     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetMangledName",1,1)
64621     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetMangledName",1,"lldb::SBTypeMemberFunction *");
64622 
64623     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64624       SWIG_fail_ptr("SBTypeMemberFunction_GetMangledName",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64625     }
64626 
64627     result = (char *)(arg1)->GetMangledName();
64628     lua_pushstring(L,(const char *)result); SWIG_arg++;
64629     return SWIG_arg;
64630 
64631     fail: SWIGUNUSED;
64632   }
64633   lua_error(L);
64634   return 0;
64635 }
64636 
64637 
_wrap_SBTypeMemberFunction_GetType(lua_State * L)64638 static int _wrap_SBTypeMemberFunction_GetType(lua_State* L) {
64639   {
64640     int SWIG_arg = 0;
64641     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64642     lldb::SBType result;
64643 
64644     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetType",1,1)
64645     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetType",1,"lldb::SBTypeMemberFunction *");
64646 
64647     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64648       SWIG_fail_ptr("SBTypeMemberFunction_GetType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64649     }
64650 
64651     result = (arg1)->GetType();
64652     {
64653       lldb::SBType * resultptr = new lldb::SBType(result);
64654       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64655     }
64656     return SWIG_arg;
64657 
64658     fail: SWIGUNUSED;
64659   }
64660   lua_error(L);
64661   return 0;
64662 }
64663 
64664 
_wrap_SBTypeMemberFunction_GetReturnType(lua_State * L)64665 static int _wrap_SBTypeMemberFunction_GetReturnType(lua_State* L) {
64666   {
64667     int SWIG_arg = 0;
64668     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64669     lldb::SBType result;
64670 
64671     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetReturnType",1,1)
64672     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetReturnType",1,"lldb::SBTypeMemberFunction *");
64673 
64674     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64675       SWIG_fail_ptr("SBTypeMemberFunction_GetReturnType",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64676     }
64677 
64678     result = (arg1)->GetReturnType();
64679     {
64680       lldb::SBType * resultptr = new lldb::SBType(result);
64681       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64682     }
64683     return SWIG_arg;
64684 
64685     fail: SWIGUNUSED;
64686   }
64687   lua_error(L);
64688   return 0;
64689 }
64690 
64691 
_wrap_SBTypeMemberFunction_GetNumberOfArguments(lua_State * L)64692 static int _wrap_SBTypeMemberFunction_GetNumberOfArguments(lua_State* L) {
64693   {
64694     int SWIG_arg = 0;
64695     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64696     uint32_t result;
64697 
64698     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,1)
64699     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetNumberOfArguments",1,"lldb::SBTypeMemberFunction *");
64700 
64701     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64702       SWIG_fail_ptr("SBTypeMemberFunction_GetNumberOfArguments",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64703     }
64704 
64705     result = (uint32_t)(arg1)->GetNumberOfArguments();
64706     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64707     return SWIG_arg;
64708 
64709     fail: SWIGUNUSED;
64710   }
64711   lua_error(L);
64712   return 0;
64713 }
64714 
64715 
_wrap_SBTypeMemberFunction_GetArgumentTypeAtIndex(lua_State * L)64716 static int _wrap_SBTypeMemberFunction_GetArgumentTypeAtIndex(lua_State* L) {
64717   {
64718     int SWIG_arg = 0;
64719     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64720     uint32_t arg2 ;
64721     lldb::SBType result;
64722 
64723     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,2)
64724     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",1,"lldb::SBTypeMemberFunction *");
64725     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex",2,"uint32_t");
64726 
64727     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64728       SWIG_fail_ptr("SBTypeMemberFunction_GetArgumentTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64729     }
64730 
64731     arg2 = (uint32_t)lua_tointeger(L, 2);
64732     result = (arg1)->GetArgumentTypeAtIndex(arg2);
64733     {
64734       lldb::SBType * resultptr = new lldb::SBType(result);
64735       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64736     }
64737     return SWIG_arg;
64738 
64739     fail: SWIGUNUSED;
64740   }
64741   lua_error(L);
64742   return 0;
64743 }
64744 
64745 
_wrap_SBTypeMemberFunction_GetKind(lua_State * L)64746 static int _wrap_SBTypeMemberFunction_GetKind(lua_State* L) {
64747   {
64748     int SWIG_arg = 0;
64749     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64750     lldb::MemberFunctionKind result;
64751 
64752     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetKind",1,1)
64753     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetKind",1,"lldb::SBTypeMemberFunction *");
64754 
64755     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64756       SWIG_fail_ptr("SBTypeMemberFunction_GetKind",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64757     }
64758 
64759     result = (lldb::MemberFunctionKind)(arg1)->GetKind();
64760     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
64761     return SWIG_arg;
64762 
64763     fail: SWIGUNUSED;
64764   }
64765   lua_error(L);
64766   return 0;
64767 }
64768 
64769 
_wrap_SBTypeMemberFunction_GetDescription(lua_State * L)64770 static int _wrap_SBTypeMemberFunction_GetDescription(lua_State* L) {
64771   {
64772     int SWIG_arg = 0;
64773     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64774     lldb::SBStream *arg2 = 0 ;
64775     lldb::DescriptionLevel arg3 ;
64776     bool result;
64777 
64778     SWIG_check_num_args("lldb::SBTypeMemberFunction::GetDescription",3,3)
64779     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",1,"lldb::SBTypeMemberFunction *");
64780     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",2,"lldb::SBStream &");
64781     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeMemberFunction::GetDescription",3,"lldb::DescriptionLevel");
64782 
64783     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64784       SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64785     }
64786 
64787 
64788     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
64789       SWIG_fail_ptr("SBTypeMemberFunction_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
64790     }
64791 
64792     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
64793     result = (bool)(arg1)->GetDescription(*arg2,arg3);
64794     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64795     return SWIG_arg;
64796 
64797     fail: SWIGUNUSED;
64798   }
64799   lua_error(L);
64800   return 0;
64801 }
64802 
64803 
_wrap_SBTypeMemberFunction___tostring(lua_State * L)64804 static int _wrap_SBTypeMemberFunction___tostring(lua_State* L) {
64805   {
64806     int SWIG_arg = 0;
64807     lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) 0 ;
64808     std::string result;
64809 
64810     SWIG_check_num_args("lldb::SBTypeMemberFunction::__repr__",1,1)
64811     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeMemberFunction::__repr__",1,"lldb::SBTypeMemberFunction *");
64812 
64813     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeMemberFunction,0))){
64814       SWIG_fail_ptr("SBTypeMemberFunction___tostring",1,SWIGTYPE_p_lldb__SBTypeMemberFunction);
64815     }
64816 
64817     result = lldb_SBTypeMemberFunction___repr__(arg1);
64818     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
64819     return SWIG_arg;
64820 
64821     fail: SWIGUNUSED;
64822   }
64823   lua_error(L);
64824   return 0;
64825 }
64826 
64827 
swig_delete_SBTypeMemberFunction(void * obj)64828 static void swig_delete_SBTypeMemberFunction(void *obj) {
64829 lldb::SBTypeMemberFunction *arg1 = (lldb::SBTypeMemberFunction *) obj;
64830 delete arg1;
64831 }
_proxy__wrap_new_SBTypeMemberFunction(lua_State * L)64832 static int _proxy__wrap_new_SBTypeMemberFunction(lua_State *L) {
64833     assert(lua_istable(L,1));
64834     lua_pushcfunction(L,_wrap_new_SBTypeMemberFunction);
64835     assert(!lua_isnil(L,-1));
64836     lua_replace(L,1); /* replace our table with real constructor */
64837     lua_call(L,lua_gettop(L)-1,1);
64838     return 1;
64839 }
64840 static swig_lua_attribute swig_SBTypeMemberFunction_attributes[] = {
64841     {0,0,0}
64842 };
64843 static swig_lua_method swig_SBTypeMemberFunction_methods[]= {
64844     { "IsValid", _wrap_SBTypeMemberFunction_IsValid},
64845     { "GetName", _wrap_SBTypeMemberFunction_GetName},
64846     { "GetDemangledName", _wrap_SBTypeMemberFunction_GetDemangledName},
64847     { "GetMangledName", _wrap_SBTypeMemberFunction_GetMangledName},
64848     { "GetType", _wrap_SBTypeMemberFunction_GetType},
64849     { "GetReturnType", _wrap_SBTypeMemberFunction_GetReturnType},
64850     { "GetNumberOfArguments", _wrap_SBTypeMemberFunction_GetNumberOfArguments},
64851     { "GetArgumentTypeAtIndex", _wrap_SBTypeMemberFunction_GetArgumentTypeAtIndex},
64852     { "GetKind", _wrap_SBTypeMemberFunction_GetKind},
64853     { "GetDescription", _wrap_SBTypeMemberFunction_GetDescription},
64854     { "__tostring", _wrap_SBTypeMemberFunction___tostring},
64855     {0,0}
64856 };
64857 static swig_lua_method swig_SBTypeMemberFunction_meta[] = {
64858     { "__tostring", _wrap_SBTypeMemberFunction___tostring},
64859     {0,0}
64860 };
64861 
64862 static swig_lua_attribute swig_SBTypeMemberFunction_Sf_SwigStatic_attributes[] = {
64863     {0,0,0}
64864 };
64865 static swig_lua_const_info swig_SBTypeMemberFunction_Sf_SwigStatic_constants[]= {
64866     {0,0,0,0,0,0}
64867 };
64868 static swig_lua_method swig_SBTypeMemberFunction_Sf_SwigStatic_methods[]= {
64869     {0,0}
64870 };
64871 static swig_lua_class* swig_SBTypeMemberFunction_Sf_SwigStatic_classes[]= {
64872     0
64873 };
64874 
64875 static swig_lua_namespace swig_SBTypeMemberFunction_Sf_SwigStatic = {
64876     "SBTypeMemberFunction",
64877     swig_SBTypeMemberFunction_Sf_SwigStatic_methods,
64878     swig_SBTypeMemberFunction_Sf_SwigStatic_attributes,
64879     swig_SBTypeMemberFunction_Sf_SwigStatic_constants,
64880     swig_SBTypeMemberFunction_Sf_SwigStatic_classes,
64881     0
64882 };
64883 static swig_lua_class *swig_SBTypeMemberFunction_bases[] = {0};
64884 static const char *swig_SBTypeMemberFunction_base_names[] = {0};
64885 static swig_lua_class _wrap_class_SBTypeMemberFunction = { "SBTypeMemberFunction", "SBTypeMemberFunction", &SWIGTYPE_p_lldb__SBTypeMemberFunction,_proxy__wrap_new_SBTypeMemberFunction, swig_delete_SBTypeMemberFunction, swig_SBTypeMemberFunction_methods, swig_SBTypeMemberFunction_attributes, &swig_SBTypeMemberFunction_Sf_SwigStatic, swig_SBTypeMemberFunction_meta, swig_SBTypeMemberFunction_bases, swig_SBTypeMemberFunction_base_names };
64886 
_wrap_new_SBType__SWIG_0(lua_State * L)64887 static int _wrap_new_SBType__SWIG_0(lua_State* L) {
64888   {
64889     int SWIG_arg = 0;
64890     lldb::SBType *result = 0 ;
64891 
64892     SWIG_check_num_args("lldb::SBType::SBType",0,0)
64893     result = (lldb::SBType *)new lldb::SBType();
64894     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64895     return SWIG_arg;
64896 
64897     fail: SWIGUNUSED;
64898   }
64899   lua_error(L);
64900   return 0;
64901 }
64902 
64903 
_wrap_new_SBType__SWIG_1(lua_State * L)64904 static int _wrap_new_SBType__SWIG_1(lua_State* L) {
64905   {
64906     int SWIG_arg = 0;
64907     lldb::SBType *arg1 = 0 ;
64908     lldb::SBType *result = 0 ;
64909 
64910     SWIG_check_num_args("lldb::SBType::SBType",1,1)
64911     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBType::SBType",1,"lldb::SBType const &");
64912 
64913     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
64914       SWIG_fail_ptr("new_SBType",1,SWIGTYPE_p_lldb__SBType);
64915     }
64916 
64917     result = (lldb::SBType *)new lldb::SBType((lldb::SBType const &)*arg1);
64918     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
64919     return SWIG_arg;
64920 
64921     fail: SWIGUNUSED;
64922   }
64923   lua_error(L);
64924   return 0;
64925 }
64926 
64927 
_wrap_new_SBType(lua_State * L)64928 static int _wrap_new_SBType(lua_State* L) {
64929   int argc;
64930   int argv[2]={
64931     1,2
64932   };
64933 
64934   argc = lua_gettop(L);
64935   if (argc == 0) {
64936     return _wrap_new_SBType__SWIG_0(L);
64937   }
64938   if (argc == 1) {
64939     int _v = 0;
64940     {
64941       void *ptr;
64942       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, SWIG_POINTER_NO_NULL)) {
64943         _v = 0;
64944       } else {
64945         _v = 1;
64946       }
64947     }
64948     if (_v) {
64949       return _wrap_new_SBType__SWIG_1(L);
64950     }
64951   }
64952 
64953   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBType'\n"
64954     "  Possible C/C++ prototypes are:\n"
64955     "    lldb::SBType::SBType()\n"
64956     "    lldb::SBType::SBType(lldb::SBType const &)\n");
64957   lua_error(L);return 0;
64958 }
64959 
64960 
_wrap_SBType_IsValid(lua_State * L)64961 static int _wrap_SBType_IsValid(lua_State* L) {
64962   {
64963     int SWIG_arg = 0;
64964     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
64965     bool result;
64966 
64967     SWIG_check_num_args("lldb::SBType::IsValid",1,1)
64968     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsValid",1,"lldb::SBType const *");
64969 
64970     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
64971       SWIG_fail_ptr("SBType_IsValid",1,SWIGTYPE_p_lldb__SBType);
64972     }
64973 
64974     result = (bool)((lldb::SBType const *)arg1)->IsValid();
64975     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
64976     return SWIG_arg;
64977 
64978     fail: SWIGUNUSED;
64979   }
64980   lua_error(L);
64981   return 0;
64982 }
64983 
64984 
_wrap_SBType_GetByteSize(lua_State * L)64985 static int _wrap_SBType_GetByteSize(lua_State* L) {
64986   {
64987     int SWIG_arg = 0;
64988     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
64989     uint64_t result;
64990 
64991     SWIG_check_num_args("lldb::SBType::GetByteSize",1,1)
64992     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetByteSize",1,"lldb::SBType *");
64993 
64994     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
64995       SWIG_fail_ptr("SBType_GetByteSize",1,SWIGTYPE_p_lldb__SBType);
64996     }
64997 
64998     result = (uint64_t)(arg1)->GetByteSize();
64999     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65000     return SWIG_arg;
65001 
65002     fail: SWIGUNUSED;
65003   }
65004   lua_error(L);
65005   return 0;
65006 }
65007 
65008 
_wrap_SBType_IsPointerType(lua_State * L)65009 static int _wrap_SBType_IsPointerType(lua_State* L) {
65010   {
65011     int SWIG_arg = 0;
65012     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65013     bool result;
65014 
65015     SWIG_check_num_args("lldb::SBType::IsPointerType",1,1)
65016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPointerType",1,"lldb::SBType *");
65017 
65018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65019       SWIG_fail_ptr("SBType_IsPointerType",1,SWIGTYPE_p_lldb__SBType);
65020     }
65021 
65022     result = (bool)(arg1)->IsPointerType();
65023     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65024     return SWIG_arg;
65025 
65026     fail: SWIGUNUSED;
65027   }
65028   lua_error(L);
65029   return 0;
65030 }
65031 
65032 
_wrap_SBType_IsReferenceType(lua_State * L)65033 static int _wrap_SBType_IsReferenceType(lua_State* L) {
65034   {
65035     int SWIG_arg = 0;
65036     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65037     bool result;
65038 
65039     SWIG_check_num_args("lldb::SBType::IsReferenceType",1,1)
65040     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsReferenceType",1,"lldb::SBType *");
65041 
65042     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65043       SWIG_fail_ptr("SBType_IsReferenceType",1,SWIGTYPE_p_lldb__SBType);
65044     }
65045 
65046     result = (bool)(arg1)->IsReferenceType();
65047     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65048     return SWIG_arg;
65049 
65050     fail: SWIGUNUSED;
65051   }
65052   lua_error(L);
65053   return 0;
65054 }
65055 
65056 
_wrap_SBType_IsFunctionType(lua_State * L)65057 static int _wrap_SBType_IsFunctionType(lua_State* L) {
65058   {
65059     int SWIG_arg = 0;
65060     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65061     bool result;
65062 
65063     SWIG_check_num_args("lldb::SBType::IsFunctionType",1,1)
65064     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsFunctionType",1,"lldb::SBType *");
65065 
65066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65067       SWIG_fail_ptr("SBType_IsFunctionType",1,SWIGTYPE_p_lldb__SBType);
65068     }
65069 
65070     result = (bool)(arg1)->IsFunctionType();
65071     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65072     return SWIG_arg;
65073 
65074     fail: SWIGUNUSED;
65075   }
65076   lua_error(L);
65077   return 0;
65078 }
65079 
65080 
_wrap_SBType_IsPolymorphicClass(lua_State * L)65081 static int _wrap_SBType_IsPolymorphicClass(lua_State* L) {
65082   {
65083     int SWIG_arg = 0;
65084     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65085     bool result;
65086 
65087     SWIG_check_num_args("lldb::SBType::IsPolymorphicClass",1,1)
65088     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsPolymorphicClass",1,"lldb::SBType *");
65089 
65090     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65091       SWIG_fail_ptr("SBType_IsPolymorphicClass",1,SWIGTYPE_p_lldb__SBType);
65092     }
65093 
65094     result = (bool)(arg1)->IsPolymorphicClass();
65095     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65096     return SWIG_arg;
65097 
65098     fail: SWIGUNUSED;
65099   }
65100   lua_error(L);
65101   return 0;
65102 }
65103 
65104 
_wrap_SBType_IsArrayType(lua_State * L)65105 static int _wrap_SBType_IsArrayType(lua_State* L) {
65106   {
65107     int SWIG_arg = 0;
65108     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65109     bool result;
65110 
65111     SWIG_check_num_args("lldb::SBType::IsArrayType",1,1)
65112     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsArrayType",1,"lldb::SBType *");
65113 
65114     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65115       SWIG_fail_ptr("SBType_IsArrayType",1,SWIGTYPE_p_lldb__SBType);
65116     }
65117 
65118     result = (bool)(arg1)->IsArrayType();
65119     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65120     return SWIG_arg;
65121 
65122     fail: SWIGUNUSED;
65123   }
65124   lua_error(L);
65125   return 0;
65126 }
65127 
65128 
_wrap_SBType_IsVectorType(lua_State * L)65129 static int _wrap_SBType_IsVectorType(lua_State* L) {
65130   {
65131     int SWIG_arg = 0;
65132     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65133     bool result;
65134 
65135     SWIG_check_num_args("lldb::SBType::IsVectorType",1,1)
65136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsVectorType",1,"lldb::SBType *");
65137 
65138     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65139       SWIG_fail_ptr("SBType_IsVectorType",1,SWIGTYPE_p_lldb__SBType);
65140     }
65141 
65142     result = (bool)(arg1)->IsVectorType();
65143     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65144     return SWIG_arg;
65145 
65146     fail: SWIGUNUSED;
65147   }
65148   lua_error(L);
65149   return 0;
65150 }
65151 
65152 
_wrap_SBType_IsTypedefType(lua_State * L)65153 static int _wrap_SBType_IsTypedefType(lua_State* L) {
65154   {
65155     int SWIG_arg = 0;
65156     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65157     bool result;
65158 
65159     SWIG_check_num_args("lldb::SBType::IsTypedefType",1,1)
65160     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypedefType",1,"lldb::SBType *");
65161 
65162     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65163       SWIG_fail_ptr("SBType_IsTypedefType",1,SWIGTYPE_p_lldb__SBType);
65164     }
65165 
65166     result = (bool)(arg1)->IsTypedefType();
65167     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65168     return SWIG_arg;
65169 
65170     fail: SWIGUNUSED;
65171   }
65172   lua_error(L);
65173   return 0;
65174 }
65175 
65176 
_wrap_SBType_IsAnonymousType(lua_State * L)65177 static int _wrap_SBType_IsAnonymousType(lua_State* L) {
65178   {
65179     int SWIG_arg = 0;
65180     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65181     bool result;
65182 
65183     SWIG_check_num_args("lldb::SBType::IsAnonymousType",1,1)
65184     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAnonymousType",1,"lldb::SBType *");
65185 
65186     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65187       SWIG_fail_ptr("SBType_IsAnonymousType",1,SWIGTYPE_p_lldb__SBType);
65188     }
65189 
65190     result = (bool)(arg1)->IsAnonymousType();
65191     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65192     return SWIG_arg;
65193 
65194     fail: SWIGUNUSED;
65195   }
65196   lua_error(L);
65197   return 0;
65198 }
65199 
65200 
_wrap_SBType_IsScopedEnumerationType(lua_State * L)65201 static int _wrap_SBType_IsScopedEnumerationType(lua_State* L) {
65202   {
65203     int SWIG_arg = 0;
65204     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65205     bool result;
65206 
65207     SWIG_check_num_args("lldb::SBType::IsScopedEnumerationType",1,1)
65208     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsScopedEnumerationType",1,"lldb::SBType *");
65209 
65210     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65211       SWIG_fail_ptr("SBType_IsScopedEnumerationType",1,SWIGTYPE_p_lldb__SBType);
65212     }
65213 
65214     result = (bool)(arg1)->IsScopedEnumerationType();
65215     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65216     return SWIG_arg;
65217 
65218     fail: SWIGUNUSED;
65219   }
65220   lua_error(L);
65221   return 0;
65222 }
65223 
65224 
_wrap_SBType_IsAggregateType(lua_State * L)65225 static int _wrap_SBType_IsAggregateType(lua_State* L) {
65226   {
65227     int SWIG_arg = 0;
65228     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65229     bool result;
65230 
65231     SWIG_check_num_args("lldb::SBType::IsAggregateType",1,1)
65232     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsAggregateType",1,"lldb::SBType *");
65233 
65234     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65235       SWIG_fail_ptr("SBType_IsAggregateType",1,SWIGTYPE_p_lldb__SBType);
65236     }
65237 
65238     result = (bool)(arg1)->IsAggregateType();
65239     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
65240     return SWIG_arg;
65241 
65242     fail: SWIGUNUSED;
65243   }
65244   lua_error(L);
65245   return 0;
65246 }
65247 
65248 
_wrap_SBType_GetPointerType(lua_State * L)65249 static int _wrap_SBType_GetPointerType(lua_State* L) {
65250   {
65251     int SWIG_arg = 0;
65252     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65253     lldb::SBType result;
65254 
65255     SWIG_check_num_args("lldb::SBType::GetPointerType",1,1)
65256     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointerType",1,"lldb::SBType *");
65257 
65258     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65259       SWIG_fail_ptr("SBType_GetPointerType",1,SWIGTYPE_p_lldb__SBType);
65260     }
65261 
65262     result = (arg1)->GetPointerType();
65263     {
65264       lldb::SBType * resultptr = new lldb::SBType(result);
65265       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65266     }
65267     return SWIG_arg;
65268 
65269     fail: SWIGUNUSED;
65270   }
65271   lua_error(L);
65272   return 0;
65273 }
65274 
65275 
_wrap_SBType_GetPointeeType(lua_State * L)65276 static int _wrap_SBType_GetPointeeType(lua_State* L) {
65277   {
65278     int SWIG_arg = 0;
65279     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65280     lldb::SBType result;
65281 
65282     SWIG_check_num_args("lldb::SBType::GetPointeeType",1,1)
65283     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetPointeeType",1,"lldb::SBType *");
65284 
65285     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65286       SWIG_fail_ptr("SBType_GetPointeeType",1,SWIGTYPE_p_lldb__SBType);
65287     }
65288 
65289     result = (arg1)->GetPointeeType();
65290     {
65291       lldb::SBType * resultptr = new lldb::SBType(result);
65292       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65293     }
65294     return SWIG_arg;
65295 
65296     fail: SWIGUNUSED;
65297   }
65298   lua_error(L);
65299   return 0;
65300 }
65301 
65302 
_wrap_SBType_GetReferenceType(lua_State * L)65303 static int _wrap_SBType_GetReferenceType(lua_State* L) {
65304   {
65305     int SWIG_arg = 0;
65306     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65307     lldb::SBType result;
65308 
65309     SWIG_check_num_args("lldb::SBType::GetReferenceType",1,1)
65310     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetReferenceType",1,"lldb::SBType *");
65311 
65312     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65313       SWIG_fail_ptr("SBType_GetReferenceType",1,SWIGTYPE_p_lldb__SBType);
65314     }
65315 
65316     result = (arg1)->GetReferenceType();
65317     {
65318       lldb::SBType * resultptr = new lldb::SBType(result);
65319       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65320     }
65321     return SWIG_arg;
65322 
65323     fail: SWIGUNUSED;
65324   }
65325   lua_error(L);
65326   return 0;
65327 }
65328 
65329 
_wrap_SBType_GetTypedefedType(lua_State * L)65330 static int _wrap_SBType_GetTypedefedType(lua_State* L) {
65331   {
65332     int SWIG_arg = 0;
65333     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65334     lldb::SBType result;
65335 
65336     SWIG_check_num_args("lldb::SBType::GetTypedefedType",1,1)
65337     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypedefedType",1,"lldb::SBType *");
65338 
65339     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65340       SWIG_fail_ptr("SBType_GetTypedefedType",1,SWIGTYPE_p_lldb__SBType);
65341     }
65342 
65343     result = (arg1)->GetTypedefedType();
65344     {
65345       lldb::SBType * resultptr = new lldb::SBType(result);
65346       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65347     }
65348     return SWIG_arg;
65349 
65350     fail: SWIGUNUSED;
65351   }
65352   lua_error(L);
65353   return 0;
65354 }
65355 
65356 
_wrap_SBType_GetDereferencedType(lua_State * L)65357 static int _wrap_SBType_GetDereferencedType(lua_State* L) {
65358   {
65359     int SWIG_arg = 0;
65360     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65361     lldb::SBType result;
65362 
65363     SWIG_check_num_args("lldb::SBType::GetDereferencedType",1,1)
65364     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDereferencedType",1,"lldb::SBType *");
65365 
65366     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65367       SWIG_fail_ptr("SBType_GetDereferencedType",1,SWIGTYPE_p_lldb__SBType);
65368     }
65369 
65370     result = (arg1)->GetDereferencedType();
65371     {
65372       lldb::SBType * resultptr = new lldb::SBType(result);
65373       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65374     }
65375     return SWIG_arg;
65376 
65377     fail: SWIGUNUSED;
65378   }
65379   lua_error(L);
65380   return 0;
65381 }
65382 
65383 
_wrap_SBType_GetUnqualifiedType(lua_State * L)65384 static int _wrap_SBType_GetUnqualifiedType(lua_State* L) {
65385   {
65386     int SWIG_arg = 0;
65387     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65388     lldb::SBType result;
65389 
65390     SWIG_check_num_args("lldb::SBType::GetUnqualifiedType",1,1)
65391     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetUnqualifiedType",1,"lldb::SBType *");
65392 
65393     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65394       SWIG_fail_ptr("SBType_GetUnqualifiedType",1,SWIGTYPE_p_lldb__SBType);
65395     }
65396 
65397     result = (arg1)->GetUnqualifiedType();
65398     {
65399       lldb::SBType * resultptr = new lldb::SBType(result);
65400       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65401     }
65402     return SWIG_arg;
65403 
65404     fail: SWIGUNUSED;
65405   }
65406   lua_error(L);
65407   return 0;
65408 }
65409 
65410 
_wrap_SBType_GetArrayElementType(lua_State * L)65411 static int _wrap_SBType_GetArrayElementType(lua_State* L) {
65412   {
65413     int SWIG_arg = 0;
65414     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65415     lldb::SBType result;
65416 
65417     SWIG_check_num_args("lldb::SBType::GetArrayElementType",1,1)
65418     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayElementType",1,"lldb::SBType *");
65419 
65420     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65421       SWIG_fail_ptr("SBType_GetArrayElementType",1,SWIGTYPE_p_lldb__SBType);
65422     }
65423 
65424     result = (arg1)->GetArrayElementType();
65425     {
65426       lldb::SBType * resultptr = new lldb::SBType(result);
65427       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65428     }
65429     return SWIG_arg;
65430 
65431     fail: SWIGUNUSED;
65432   }
65433   lua_error(L);
65434   return 0;
65435 }
65436 
65437 
_wrap_SBType_GetArrayType(lua_State * L)65438 static int _wrap_SBType_GetArrayType(lua_State* L) {
65439   {
65440     int SWIG_arg = 0;
65441     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65442     uint64_t arg2 ;
65443     lldb::SBType result;
65444 
65445     SWIG_check_num_args("lldb::SBType::GetArrayType",2,2)
65446     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetArrayType",1,"lldb::SBType *");
65447     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetArrayType",2,"uint64_t");
65448 
65449     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65450       SWIG_fail_ptr("SBType_GetArrayType",1,SWIGTYPE_p_lldb__SBType);
65451     }
65452 
65453     arg2 = (uint64_t)lua_tointeger(L, 2);
65454     result = (arg1)->GetArrayType(arg2);
65455     {
65456       lldb::SBType * resultptr = new lldb::SBType(result);
65457       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65458     }
65459     return SWIG_arg;
65460 
65461     fail: SWIGUNUSED;
65462   }
65463   lua_error(L);
65464   return 0;
65465 }
65466 
65467 
_wrap_SBType_GetVectorElementType(lua_State * L)65468 static int _wrap_SBType_GetVectorElementType(lua_State* L) {
65469   {
65470     int SWIG_arg = 0;
65471     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65472     lldb::SBType result;
65473 
65474     SWIG_check_num_args("lldb::SBType::GetVectorElementType",1,1)
65475     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVectorElementType",1,"lldb::SBType *");
65476 
65477     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65478       SWIG_fail_ptr("SBType_GetVectorElementType",1,SWIGTYPE_p_lldb__SBType);
65479     }
65480 
65481     result = (arg1)->GetVectorElementType();
65482     {
65483       lldb::SBType * resultptr = new lldb::SBType(result);
65484       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65485     }
65486     return SWIG_arg;
65487 
65488     fail: SWIGUNUSED;
65489   }
65490   lua_error(L);
65491   return 0;
65492 }
65493 
65494 
_wrap_SBType_GetCanonicalType(lua_State * L)65495 static int _wrap_SBType_GetCanonicalType(lua_State* L) {
65496   {
65497     int SWIG_arg = 0;
65498     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65499     lldb::SBType result;
65500 
65501     SWIG_check_num_args("lldb::SBType::GetCanonicalType",1,1)
65502     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetCanonicalType",1,"lldb::SBType *");
65503 
65504     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65505       SWIG_fail_ptr("SBType_GetCanonicalType",1,SWIGTYPE_p_lldb__SBType);
65506     }
65507 
65508     result = (arg1)->GetCanonicalType();
65509     {
65510       lldb::SBType * resultptr = new lldb::SBType(result);
65511       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65512     }
65513     return SWIG_arg;
65514 
65515     fail: SWIGUNUSED;
65516   }
65517   lua_error(L);
65518   return 0;
65519 }
65520 
65521 
_wrap_SBType_GetEnumerationIntegerType(lua_State * L)65522 static int _wrap_SBType_GetEnumerationIntegerType(lua_State* L) {
65523   {
65524     int SWIG_arg = 0;
65525     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65526     lldb::SBType result;
65527 
65528     SWIG_check_num_args("lldb::SBType::GetEnumerationIntegerType",1,1)
65529     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumerationIntegerType",1,"lldb::SBType *");
65530 
65531     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65532       SWIG_fail_ptr("SBType_GetEnumerationIntegerType",1,SWIGTYPE_p_lldb__SBType);
65533     }
65534 
65535     result = (arg1)->GetEnumerationIntegerType();
65536     {
65537       lldb::SBType * resultptr = new lldb::SBType(result);
65538       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65539     }
65540     return SWIG_arg;
65541 
65542     fail: SWIGUNUSED;
65543   }
65544   lua_error(L);
65545   return 0;
65546 }
65547 
65548 
_wrap_SBType_GetBasicType__SWIG_0(lua_State * L)65549 static int _wrap_SBType_GetBasicType__SWIG_0(lua_State* L) {
65550   {
65551     int SWIG_arg = 0;
65552     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65553     lldb::BasicType result;
65554 
65555     SWIG_check_num_args("lldb::SBType::GetBasicType",1,1)
65556     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *");
65557 
65558     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65559       SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType);
65560     }
65561 
65562     result = (lldb::BasicType)(arg1)->GetBasicType();
65563     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65564     return SWIG_arg;
65565 
65566     fail: SWIGUNUSED;
65567   }
65568   lua_error(L);
65569   return 0;
65570 }
65571 
65572 
_wrap_SBType_GetBasicType__SWIG_1(lua_State * L)65573 static int _wrap_SBType_GetBasicType__SWIG_1(lua_State* L) {
65574   {
65575     int SWIG_arg = 0;
65576     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65577     lldb::BasicType arg2 ;
65578     lldb::SBType result;
65579 
65580     SWIG_check_num_args("lldb::SBType::GetBasicType",2,2)
65581     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetBasicType",1,"lldb::SBType *");
65582     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetBasicType",2,"lldb::BasicType");
65583 
65584     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65585       SWIG_fail_ptr("SBType_GetBasicType",1,SWIGTYPE_p_lldb__SBType);
65586     }
65587 
65588     arg2 = (lldb::BasicType)lua_tointeger(L, 2);
65589     result = (arg1)->GetBasicType(arg2);
65590     {
65591       lldb::SBType * resultptr = new lldb::SBType(result);
65592       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65593     }
65594     return SWIG_arg;
65595 
65596     fail: SWIGUNUSED;
65597   }
65598   lua_error(L);
65599   return 0;
65600 }
65601 
65602 
_wrap_SBType_GetBasicType(lua_State * L)65603 static int _wrap_SBType_GetBasicType(lua_State* L) {
65604   int argc;
65605   int argv[3]={
65606     1,2,3
65607   };
65608 
65609   argc = lua_gettop(L);
65610   if (argc == 1) {
65611     int _v = 0;
65612     {
65613       void *ptr;
65614       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, 0)) {
65615         _v = 0;
65616       } else {
65617         _v = 1;
65618       }
65619     }
65620     if (_v) {
65621       return _wrap_SBType_GetBasicType__SWIG_0(L);
65622     }
65623   }
65624   if (argc == 2) {
65625     int _v = 0;
65626     {
65627       void *ptr;
65628       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, 0)) {
65629         _v = 0;
65630       } else {
65631         _v = 1;
65632       }
65633     }
65634     if (_v) {
65635       {
65636         _v = lua_isnumber(L,argv[1]);
65637       }
65638       if (_v) {
65639         return _wrap_SBType_GetBasicType__SWIG_1(L);
65640       }
65641     }
65642   }
65643 
65644   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBType_GetBasicType'\n"
65645     "  Possible C/C++ prototypes are:\n"
65646     "    lldb::SBType::GetBasicType()\n"
65647     "    lldb::SBType::GetBasicType(lldb::BasicType)\n");
65648   lua_error(L);return 0;
65649 }
65650 
65651 
_wrap_SBType_GetNumberOfFields(lua_State * L)65652 static int _wrap_SBType_GetNumberOfFields(lua_State* L) {
65653   {
65654     int SWIG_arg = 0;
65655     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65656     uint32_t result;
65657 
65658     SWIG_check_num_args("lldb::SBType::GetNumberOfFields",1,1)
65659     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfFields",1,"lldb::SBType *");
65660 
65661     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65662       SWIG_fail_ptr("SBType_GetNumberOfFields",1,SWIGTYPE_p_lldb__SBType);
65663     }
65664 
65665     result = (uint32_t)(arg1)->GetNumberOfFields();
65666     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65667     return SWIG_arg;
65668 
65669     fail: SWIGUNUSED;
65670   }
65671   lua_error(L);
65672   return 0;
65673 }
65674 
65675 
_wrap_SBType_GetNumberOfDirectBaseClasses(lua_State * L)65676 static int _wrap_SBType_GetNumberOfDirectBaseClasses(lua_State* L) {
65677   {
65678     int SWIG_arg = 0;
65679     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65680     uint32_t result;
65681 
65682     SWIG_check_num_args("lldb::SBType::GetNumberOfDirectBaseClasses",1,1)
65683     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfDirectBaseClasses",1,"lldb::SBType *");
65684 
65685     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65686       SWIG_fail_ptr("SBType_GetNumberOfDirectBaseClasses",1,SWIGTYPE_p_lldb__SBType);
65687     }
65688 
65689     result = (uint32_t)(arg1)->GetNumberOfDirectBaseClasses();
65690     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65691     return SWIG_arg;
65692 
65693     fail: SWIGUNUSED;
65694   }
65695   lua_error(L);
65696   return 0;
65697 }
65698 
65699 
_wrap_SBType_GetNumberOfVirtualBaseClasses(lua_State * L)65700 static int _wrap_SBType_GetNumberOfVirtualBaseClasses(lua_State* L) {
65701   {
65702     int SWIG_arg = 0;
65703     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65704     uint32_t result;
65705 
65706     SWIG_check_num_args("lldb::SBType::GetNumberOfVirtualBaseClasses",1,1)
65707     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfVirtualBaseClasses",1,"lldb::SBType *");
65708 
65709     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65710       SWIG_fail_ptr("SBType_GetNumberOfVirtualBaseClasses",1,SWIGTYPE_p_lldb__SBType);
65711     }
65712 
65713     result = (uint32_t)(arg1)->GetNumberOfVirtualBaseClasses();
65714     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65715     return SWIG_arg;
65716 
65717     fail: SWIGUNUSED;
65718   }
65719   lua_error(L);
65720   return 0;
65721 }
65722 
65723 
_wrap_SBType_GetFieldAtIndex(lua_State * L)65724 static int _wrap_SBType_GetFieldAtIndex(lua_State* L) {
65725   {
65726     int SWIG_arg = 0;
65727     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65728     uint32_t arg2 ;
65729     lldb::SBTypeMember result;
65730 
65731     SWIG_check_num_args("lldb::SBType::GetFieldAtIndex",2,2)
65732     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",1,"lldb::SBType *");
65733     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetFieldAtIndex",2,"uint32_t");
65734 
65735     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65736       SWIG_fail_ptr("SBType_GetFieldAtIndex",1,SWIGTYPE_p_lldb__SBType);
65737     }
65738 
65739     arg2 = (uint32_t)lua_tointeger(L, 2);
65740     result = (arg1)->GetFieldAtIndex(arg2);
65741     {
65742       lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result);
65743       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++;
65744     }
65745     return SWIG_arg;
65746 
65747     fail: SWIGUNUSED;
65748   }
65749   lua_error(L);
65750   return 0;
65751 }
65752 
65753 
_wrap_SBType_GetDirectBaseClassAtIndex(lua_State * L)65754 static int _wrap_SBType_GetDirectBaseClassAtIndex(lua_State* L) {
65755   {
65756     int SWIG_arg = 0;
65757     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65758     uint32_t arg2 ;
65759     lldb::SBTypeMember result;
65760 
65761     SWIG_check_num_args("lldb::SBType::GetDirectBaseClassAtIndex",2,2)
65762     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",1,"lldb::SBType *");
65763     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetDirectBaseClassAtIndex",2,"uint32_t");
65764 
65765     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65766       SWIG_fail_ptr("SBType_GetDirectBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType);
65767     }
65768 
65769     arg2 = (uint32_t)lua_tointeger(L, 2);
65770     result = (arg1)->GetDirectBaseClassAtIndex(arg2);
65771     {
65772       lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result);
65773       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++;
65774     }
65775     return SWIG_arg;
65776 
65777     fail: SWIGUNUSED;
65778   }
65779   lua_error(L);
65780   return 0;
65781 }
65782 
65783 
_wrap_SBType_GetVirtualBaseClassAtIndex(lua_State * L)65784 static int _wrap_SBType_GetVirtualBaseClassAtIndex(lua_State* L) {
65785   {
65786     int SWIG_arg = 0;
65787     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65788     uint32_t arg2 ;
65789     lldb::SBTypeMember result;
65790 
65791     SWIG_check_num_args("lldb::SBType::GetVirtualBaseClassAtIndex",2,2)
65792     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",1,"lldb::SBType *");
65793     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetVirtualBaseClassAtIndex",2,"uint32_t");
65794 
65795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65796       SWIG_fail_ptr("SBType_GetVirtualBaseClassAtIndex",1,SWIGTYPE_p_lldb__SBType);
65797     }
65798 
65799     arg2 = (uint32_t)lua_tointeger(L, 2);
65800     result = (arg1)->GetVirtualBaseClassAtIndex(arg2);
65801     {
65802       lldb::SBTypeMember * resultptr = new lldb::SBTypeMember(result);
65803       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMember,1); SWIG_arg++;
65804     }
65805     return SWIG_arg;
65806 
65807     fail: SWIGUNUSED;
65808   }
65809   lua_error(L);
65810   return 0;
65811 }
65812 
65813 
_wrap_SBType_GetEnumMembers(lua_State * L)65814 static int _wrap_SBType_GetEnumMembers(lua_State* L) {
65815   {
65816     int SWIG_arg = 0;
65817     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65818     lldb::SBTypeEnumMemberList result;
65819 
65820     SWIG_check_num_args("lldb::SBType::GetEnumMembers",1,1)
65821     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetEnumMembers",1,"lldb::SBType *");
65822 
65823     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65824       SWIG_fail_ptr("SBType_GetEnumMembers",1,SWIGTYPE_p_lldb__SBType);
65825     }
65826 
65827     result = (arg1)->GetEnumMembers();
65828     {
65829       lldb::SBTypeEnumMemberList * resultptr = new lldb::SBTypeEnumMemberList(result);
65830       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++;
65831     }
65832     return SWIG_arg;
65833 
65834     fail: SWIGUNUSED;
65835   }
65836   lua_error(L);
65837   return 0;
65838 }
65839 
65840 
_wrap_SBType_GetNumberOfTemplateArguments(lua_State * L)65841 static int _wrap_SBType_GetNumberOfTemplateArguments(lua_State* L) {
65842   {
65843     int SWIG_arg = 0;
65844     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65845     uint32_t result;
65846 
65847     SWIG_check_num_args("lldb::SBType::GetNumberOfTemplateArguments",1,1)
65848     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfTemplateArguments",1,"lldb::SBType *");
65849 
65850     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65851       SWIG_fail_ptr("SBType_GetNumberOfTemplateArguments",1,SWIGTYPE_p_lldb__SBType);
65852     }
65853 
65854     result = (uint32_t)(arg1)->GetNumberOfTemplateArguments();
65855     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65856     return SWIG_arg;
65857 
65858     fail: SWIGUNUSED;
65859   }
65860   lua_error(L);
65861   return 0;
65862 }
65863 
65864 
_wrap_SBType_GetTemplateArgumentType(lua_State * L)65865 static int _wrap_SBType_GetTemplateArgumentType(lua_State* L) {
65866   {
65867     int SWIG_arg = 0;
65868     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65869     uint32_t arg2 ;
65870     lldb::SBType result;
65871 
65872     SWIG_check_num_args("lldb::SBType::GetTemplateArgumentType",2,2)
65873     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",1,"lldb::SBType *");
65874     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentType",2,"uint32_t");
65875 
65876     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65877       SWIG_fail_ptr("SBType_GetTemplateArgumentType",1,SWIGTYPE_p_lldb__SBType);
65878     }
65879 
65880     arg2 = (uint32_t)lua_tointeger(L, 2);
65881     result = (arg1)->GetTemplateArgumentType(arg2);
65882     {
65883       lldb::SBType * resultptr = new lldb::SBType(result);
65884       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65885     }
65886     return SWIG_arg;
65887 
65888     fail: SWIGUNUSED;
65889   }
65890   lua_error(L);
65891   return 0;
65892 }
65893 
65894 
_wrap_SBType_GetTemplateArgumentKind(lua_State * L)65895 static int _wrap_SBType_GetTemplateArgumentKind(lua_State* L) {
65896   {
65897     int SWIG_arg = 0;
65898     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65899     uint32_t arg2 ;
65900     lldb::TemplateArgumentKind result;
65901 
65902     SWIG_check_num_args("lldb::SBType::GetTemplateArgumentKind",2,2)
65903     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",1,"lldb::SBType *");
65904     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetTemplateArgumentKind",2,"uint32_t");
65905 
65906     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65907       SWIG_fail_ptr("SBType_GetTemplateArgumentKind",1,SWIGTYPE_p_lldb__SBType);
65908     }
65909 
65910     arg2 = (uint32_t)lua_tointeger(L, 2);
65911     result = (lldb::TemplateArgumentKind)(arg1)->GetTemplateArgumentKind(arg2);
65912     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65913     return SWIG_arg;
65914 
65915     fail: SWIGUNUSED;
65916   }
65917   lua_error(L);
65918   return 0;
65919 }
65920 
65921 
_wrap_SBType_GetFunctionReturnType(lua_State * L)65922 static int _wrap_SBType_GetFunctionReturnType(lua_State* L) {
65923   {
65924     int SWIG_arg = 0;
65925     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65926     lldb::SBType result;
65927 
65928     SWIG_check_num_args("lldb::SBType::GetFunctionReturnType",1,1)
65929     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionReturnType",1,"lldb::SBType *");
65930 
65931     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65932       SWIG_fail_ptr("SBType_GetFunctionReturnType",1,SWIGTYPE_p_lldb__SBType);
65933     }
65934 
65935     result = (arg1)->GetFunctionReturnType();
65936     {
65937       lldb::SBType * resultptr = new lldb::SBType(result);
65938       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
65939     }
65940     return SWIG_arg;
65941 
65942     fail: SWIGUNUSED;
65943   }
65944   lua_error(L);
65945   return 0;
65946 }
65947 
65948 
_wrap_SBType_GetFunctionArgumentTypes(lua_State * L)65949 static int _wrap_SBType_GetFunctionArgumentTypes(lua_State* L) {
65950   {
65951     int SWIG_arg = 0;
65952     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65953     lldb::SBTypeList result;
65954 
65955     SWIG_check_num_args("lldb::SBType::GetFunctionArgumentTypes",1,1)
65956     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetFunctionArgumentTypes",1,"lldb::SBType *");
65957 
65958     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65959       SWIG_fail_ptr("SBType_GetFunctionArgumentTypes",1,SWIGTYPE_p_lldb__SBType);
65960     }
65961 
65962     result = (arg1)->GetFunctionArgumentTypes();
65963     {
65964       lldb::SBTypeList * resultptr = new lldb::SBTypeList(result);
65965       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
65966     }
65967     return SWIG_arg;
65968 
65969     fail: SWIGUNUSED;
65970   }
65971   lua_error(L);
65972   return 0;
65973 }
65974 
65975 
_wrap_SBType_GetNumberOfMemberFunctions(lua_State * L)65976 static int _wrap_SBType_GetNumberOfMemberFunctions(lua_State* L) {
65977   {
65978     int SWIG_arg = 0;
65979     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
65980     uint32_t result;
65981 
65982     SWIG_check_num_args("lldb::SBType::GetNumberOfMemberFunctions",1,1)
65983     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetNumberOfMemberFunctions",1,"lldb::SBType *");
65984 
65985     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
65986       SWIG_fail_ptr("SBType_GetNumberOfMemberFunctions",1,SWIGTYPE_p_lldb__SBType);
65987     }
65988 
65989     result = (uint32_t)(arg1)->GetNumberOfMemberFunctions();
65990     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
65991     return SWIG_arg;
65992 
65993     fail: SWIGUNUSED;
65994   }
65995   lua_error(L);
65996   return 0;
65997 }
65998 
65999 
_wrap_SBType_GetMemberFunctionAtIndex(lua_State * L)66000 static int _wrap_SBType_GetMemberFunctionAtIndex(lua_State* L) {
66001   {
66002     int SWIG_arg = 0;
66003     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66004     uint32_t arg2 ;
66005     lldb::SBTypeMemberFunction result;
66006 
66007     SWIG_check_num_args("lldb::SBType::GetMemberFunctionAtIndex",2,2)
66008     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",1,"lldb::SBType *");
66009     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBType::GetMemberFunctionAtIndex",2,"uint32_t");
66010 
66011     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66012       SWIG_fail_ptr("SBType_GetMemberFunctionAtIndex",1,SWIGTYPE_p_lldb__SBType);
66013     }
66014 
66015     arg2 = (uint32_t)lua_tointeger(L, 2);
66016     result = (arg1)->GetMemberFunctionAtIndex(arg2);
66017     {
66018       lldb::SBTypeMemberFunction * resultptr = new lldb::SBTypeMemberFunction(result);
66019       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeMemberFunction,1); SWIG_arg++;
66020     }
66021     return SWIG_arg;
66022 
66023     fail: SWIGUNUSED;
66024   }
66025   lua_error(L);
66026   return 0;
66027 }
66028 
66029 
_wrap_SBType_GetModule(lua_State * L)66030 static int _wrap_SBType_GetModule(lua_State* L) {
66031   {
66032     int SWIG_arg = 0;
66033     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66034     lldb::SBModule result;
66035 
66036     SWIG_check_num_args("lldb::SBType::GetModule",1,1)
66037     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetModule",1,"lldb::SBType *");
66038 
66039     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66040       SWIG_fail_ptr("SBType_GetModule",1,SWIGTYPE_p_lldb__SBType);
66041     }
66042 
66043     result = (arg1)->GetModule();
66044     {
66045       lldb::SBModule * resultptr = new lldb::SBModule(result);
66046       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBModule,1); SWIG_arg++;
66047     }
66048     return SWIG_arg;
66049 
66050     fail: SWIGUNUSED;
66051   }
66052   lua_error(L);
66053   return 0;
66054 }
66055 
66056 
_wrap_SBType_GetName(lua_State * L)66057 static int _wrap_SBType_GetName(lua_State* L) {
66058   {
66059     int SWIG_arg = 0;
66060     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66061     char *result = 0 ;
66062 
66063     SWIG_check_num_args("lldb::SBType::GetName",1,1)
66064     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetName",1,"lldb::SBType *");
66065 
66066     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66067       SWIG_fail_ptr("SBType_GetName",1,SWIGTYPE_p_lldb__SBType);
66068     }
66069 
66070     result = (char *)(arg1)->GetName();
66071     lua_pushstring(L,(const char *)result); SWIG_arg++;
66072     return SWIG_arg;
66073 
66074     fail: SWIGUNUSED;
66075   }
66076   lua_error(L);
66077   return 0;
66078 }
66079 
66080 
_wrap_SBType_GetDisplayTypeName(lua_State * L)66081 static int _wrap_SBType_GetDisplayTypeName(lua_State* L) {
66082   {
66083     int SWIG_arg = 0;
66084     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66085     char *result = 0 ;
66086 
66087     SWIG_check_num_args("lldb::SBType::GetDisplayTypeName",1,1)
66088     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDisplayTypeName",1,"lldb::SBType *");
66089 
66090     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66091       SWIG_fail_ptr("SBType_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBType);
66092     }
66093 
66094     result = (char *)(arg1)->GetDisplayTypeName();
66095     lua_pushstring(L,(const char *)result); SWIG_arg++;
66096     return SWIG_arg;
66097 
66098     fail: SWIGUNUSED;
66099   }
66100   lua_error(L);
66101   return 0;
66102 }
66103 
66104 
_wrap_SBType_GetTypeClass(lua_State * L)66105 static int _wrap_SBType_GetTypeClass(lua_State* L) {
66106   {
66107     int SWIG_arg = 0;
66108     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66109     lldb::TypeClass result;
66110 
66111     SWIG_check_num_args("lldb::SBType::GetTypeClass",1,1)
66112     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeClass",1,"lldb::SBType *");
66113 
66114     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66115       SWIG_fail_ptr("SBType_GetTypeClass",1,SWIGTYPE_p_lldb__SBType);
66116     }
66117 
66118     result = (lldb::TypeClass)(arg1)->GetTypeClass();
66119     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66120     return SWIG_arg;
66121 
66122     fail: SWIGUNUSED;
66123   }
66124   lua_error(L);
66125   return 0;
66126 }
66127 
66128 
_wrap_SBType_IsTypeComplete(lua_State * L)66129 static int _wrap_SBType_IsTypeComplete(lua_State* L) {
66130   {
66131     int SWIG_arg = 0;
66132     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66133     bool result;
66134 
66135     SWIG_check_num_args("lldb::SBType::IsTypeComplete",1,1)
66136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::IsTypeComplete",1,"lldb::SBType *");
66137 
66138     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66139       SWIG_fail_ptr("SBType_IsTypeComplete",1,SWIGTYPE_p_lldb__SBType);
66140     }
66141 
66142     result = (bool)(arg1)->IsTypeComplete();
66143     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66144     return SWIG_arg;
66145 
66146     fail: SWIGUNUSED;
66147   }
66148   lua_error(L);
66149   return 0;
66150 }
66151 
66152 
_wrap_SBType_GetTypeFlags(lua_State * L)66153 static int _wrap_SBType_GetTypeFlags(lua_State* L) {
66154   {
66155     int SWIG_arg = 0;
66156     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66157     uint32_t result;
66158 
66159     SWIG_check_num_args("lldb::SBType::GetTypeFlags",1,1)
66160     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetTypeFlags",1,"lldb::SBType *");
66161 
66162     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66163       SWIG_fail_ptr("SBType_GetTypeFlags",1,SWIGTYPE_p_lldb__SBType);
66164     }
66165 
66166     result = (uint32_t)(arg1)->GetTypeFlags();
66167     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66168     return SWIG_arg;
66169 
66170     fail: SWIGUNUSED;
66171   }
66172   lua_error(L);
66173   return 0;
66174 }
66175 
66176 
_wrap_SBType_GetDescription(lua_State * L)66177 static int _wrap_SBType_GetDescription(lua_State* L) {
66178   {
66179     int SWIG_arg = 0;
66180     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66181     lldb::SBStream *arg2 = 0 ;
66182     lldb::DescriptionLevel arg3 ;
66183     bool result;
66184 
66185     SWIG_check_num_args("lldb::SBType::GetDescription",3,3)
66186     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::GetDescription",1,"lldb::SBType *");
66187     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBType::GetDescription",2,"lldb::SBStream &");
66188     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBType::GetDescription",3,"lldb::DescriptionLevel");
66189 
66190     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66191       SWIG_fail_ptr("SBType_GetDescription",1,SWIGTYPE_p_lldb__SBType);
66192     }
66193 
66194 
66195     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
66196       SWIG_fail_ptr("SBType_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
66197     }
66198 
66199     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
66200     result = (bool)(arg1)->GetDescription(*arg2,arg3);
66201     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66202     return SWIG_arg;
66203 
66204     fail: SWIGUNUSED;
66205   }
66206   lua_error(L);
66207   return 0;
66208 }
66209 
66210 
_wrap_SBType_FindDirectNestedType(lua_State * L)66211 static int _wrap_SBType_FindDirectNestedType(lua_State* L) {
66212   {
66213     int SWIG_arg = 0;
66214     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66215     char *arg2 = (char *) 0 ;
66216     lldb::SBType result;
66217 
66218     SWIG_check_num_args("lldb::SBType::FindDirectNestedType",2,2)
66219     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::FindDirectNestedType",1,"lldb::SBType *");
66220     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBType::FindDirectNestedType",2,"char const *");
66221 
66222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66223       SWIG_fail_ptr("SBType_FindDirectNestedType",1,SWIGTYPE_p_lldb__SBType);
66224     }
66225 
66226     arg2 = (char *)lua_tostring(L, 2);
66227     result = (arg1)->FindDirectNestedType((char const *)arg2);
66228     {
66229       lldb::SBType * resultptr = new lldb::SBType(result);
66230       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
66231     }
66232     return SWIG_arg;
66233 
66234     fail: SWIGUNUSED;
66235   }
66236   lua_error(L);
66237   return 0;
66238 }
66239 
66240 
_wrap_SBType___eq(lua_State * L)66241 static int _wrap_SBType___eq(lua_State* L) {
66242   {
66243     int SWIG_arg = 0;
66244     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66245     lldb::SBType *arg2 = 0 ;
66246     bool result;
66247 
66248     SWIG_check_num_args("lldb::SBType::operator ==",2,2)
66249     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::operator ==",1,"lldb::SBType *");
66250     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBType::operator ==",2,"lldb::SBType &");
66251 
66252     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66253       SWIG_fail_ptr("SBType___eq",1,SWIGTYPE_p_lldb__SBType);
66254     }
66255 
66256 
66257     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBType,0))){
66258       SWIG_fail_ptr("SBType___eq",2,SWIGTYPE_p_lldb__SBType);
66259     }
66260 
66261     result = (bool)(arg1)->operator ==(*arg2);
66262     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66263     return SWIG_arg;
66264 
66265     fail: SWIGUNUSED;
66266   }
66267   lua_error(L);
66268   return 0;
66269 }
66270 
66271 
_wrap_SBType___tostring(lua_State * L)66272 static int _wrap_SBType___tostring(lua_State* L) {
66273   {
66274     int SWIG_arg = 0;
66275     lldb::SBType *arg1 = (lldb::SBType *) 0 ;
66276     std::string result;
66277 
66278     SWIG_check_num_args("lldb::SBType::__repr__",1,1)
66279     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::__repr__",1,"lldb::SBType *");
66280 
66281     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){
66282       SWIG_fail_ptr("SBType___tostring",1,SWIGTYPE_p_lldb__SBType);
66283     }
66284 
66285     result = lldb_SBType___repr__(arg1);
66286     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
66287     return SWIG_arg;
66288 
66289     fail: SWIGUNUSED;
66290   }
66291   lua_error(L);
66292   return 0;
66293 }
66294 
66295 
swig_delete_SBType(void * obj)66296 static void swig_delete_SBType(void *obj) {
66297 lldb::SBType *arg1 = (lldb::SBType *) obj;
66298 delete arg1;
66299 }
_proxy__wrap_new_SBType(lua_State * L)66300 static int _proxy__wrap_new_SBType(lua_State *L) {
66301     assert(lua_istable(L,1));
66302     lua_pushcfunction(L,_wrap_new_SBType);
66303     assert(!lua_isnil(L,-1));
66304     lua_replace(L,1); /* replace our table with real constructor */
66305     lua_call(L,lua_gettop(L)-1,1);
66306     return 1;
66307 }
66308 static swig_lua_attribute swig_SBType_attributes[] = {
66309     {0,0,0}
66310 };
66311 static swig_lua_method swig_SBType_methods[]= {
66312     { "IsValid", _wrap_SBType_IsValid},
66313     { "GetByteSize", _wrap_SBType_GetByteSize},
66314     { "IsPointerType", _wrap_SBType_IsPointerType},
66315     { "IsReferenceType", _wrap_SBType_IsReferenceType},
66316     { "IsFunctionType", _wrap_SBType_IsFunctionType},
66317     { "IsPolymorphicClass", _wrap_SBType_IsPolymorphicClass},
66318     { "IsArrayType", _wrap_SBType_IsArrayType},
66319     { "IsVectorType", _wrap_SBType_IsVectorType},
66320     { "IsTypedefType", _wrap_SBType_IsTypedefType},
66321     { "IsAnonymousType", _wrap_SBType_IsAnonymousType},
66322     { "IsScopedEnumerationType", _wrap_SBType_IsScopedEnumerationType},
66323     { "IsAggregateType", _wrap_SBType_IsAggregateType},
66324     { "GetPointerType", _wrap_SBType_GetPointerType},
66325     { "GetPointeeType", _wrap_SBType_GetPointeeType},
66326     { "GetReferenceType", _wrap_SBType_GetReferenceType},
66327     { "GetTypedefedType", _wrap_SBType_GetTypedefedType},
66328     { "GetDereferencedType", _wrap_SBType_GetDereferencedType},
66329     { "GetUnqualifiedType", _wrap_SBType_GetUnqualifiedType},
66330     { "GetArrayElementType", _wrap_SBType_GetArrayElementType},
66331     { "GetArrayType", _wrap_SBType_GetArrayType},
66332     { "GetVectorElementType", _wrap_SBType_GetVectorElementType},
66333     { "GetCanonicalType", _wrap_SBType_GetCanonicalType},
66334     { "GetEnumerationIntegerType", _wrap_SBType_GetEnumerationIntegerType},
66335     { "GetBasicType", _wrap_SBType_GetBasicType},
66336     { "GetNumberOfFields", _wrap_SBType_GetNumberOfFields},
66337     { "GetNumberOfDirectBaseClasses", _wrap_SBType_GetNumberOfDirectBaseClasses},
66338     { "GetNumberOfVirtualBaseClasses", _wrap_SBType_GetNumberOfVirtualBaseClasses},
66339     { "GetFieldAtIndex", _wrap_SBType_GetFieldAtIndex},
66340     { "GetDirectBaseClassAtIndex", _wrap_SBType_GetDirectBaseClassAtIndex},
66341     { "GetVirtualBaseClassAtIndex", _wrap_SBType_GetVirtualBaseClassAtIndex},
66342     { "GetEnumMembers", _wrap_SBType_GetEnumMembers},
66343     { "GetNumberOfTemplateArguments", _wrap_SBType_GetNumberOfTemplateArguments},
66344     { "GetTemplateArgumentType", _wrap_SBType_GetTemplateArgumentType},
66345     { "GetTemplateArgumentKind", _wrap_SBType_GetTemplateArgumentKind},
66346     { "GetFunctionReturnType", _wrap_SBType_GetFunctionReturnType},
66347     { "GetFunctionArgumentTypes", _wrap_SBType_GetFunctionArgumentTypes},
66348     { "GetNumberOfMemberFunctions", _wrap_SBType_GetNumberOfMemberFunctions},
66349     { "GetMemberFunctionAtIndex", _wrap_SBType_GetMemberFunctionAtIndex},
66350     { "GetModule", _wrap_SBType_GetModule},
66351     { "GetName", _wrap_SBType_GetName},
66352     { "GetDisplayTypeName", _wrap_SBType_GetDisplayTypeName},
66353     { "GetTypeClass", _wrap_SBType_GetTypeClass},
66354     { "IsTypeComplete", _wrap_SBType_IsTypeComplete},
66355     { "GetTypeFlags", _wrap_SBType_GetTypeFlags},
66356     { "GetDescription", _wrap_SBType_GetDescription},
66357     { "FindDirectNestedType", _wrap_SBType_FindDirectNestedType},
66358     { "__eq", _wrap_SBType___eq},
66359     { "__tostring", _wrap_SBType___tostring},
66360     {0,0}
66361 };
66362 static swig_lua_method swig_SBType_meta[] = {
66363     { "__eq", _wrap_SBType___eq},
66364     { "__tostring", _wrap_SBType___tostring},
66365     {0,0}
66366 };
66367 
66368 static swig_lua_attribute swig_SBType_Sf_SwigStatic_attributes[] = {
66369     {0,0,0}
66370 };
66371 static swig_lua_const_info swig_SBType_Sf_SwigStatic_constants[]= {
66372     {0,0,0,0,0,0}
66373 };
66374 static swig_lua_method swig_SBType_Sf_SwigStatic_methods[]= {
66375     {0,0}
66376 };
66377 static swig_lua_class* swig_SBType_Sf_SwigStatic_classes[]= {
66378     0
66379 };
66380 
66381 static swig_lua_namespace swig_SBType_Sf_SwigStatic = {
66382     "SBType",
66383     swig_SBType_Sf_SwigStatic_methods,
66384     swig_SBType_Sf_SwigStatic_attributes,
66385     swig_SBType_Sf_SwigStatic_constants,
66386     swig_SBType_Sf_SwigStatic_classes,
66387     0
66388 };
66389 static swig_lua_class *swig_SBType_bases[] = {0};
66390 static const char *swig_SBType_base_names[] = {0};
66391 static swig_lua_class _wrap_class_SBType = { "SBType", "SBType", &SWIGTYPE_p_lldb__SBType,_proxy__wrap_new_SBType, swig_delete_SBType, swig_SBType_methods, swig_SBType_attributes, &swig_SBType_Sf_SwigStatic, swig_SBType_meta, swig_SBType_bases, swig_SBType_base_names };
66392 
_wrap_new_SBTypeList__SWIG_0(lua_State * L)66393 static int _wrap_new_SBTypeList__SWIG_0(lua_State* L) {
66394   {
66395     int SWIG_arg = 0;
66396     lldb::SBTypeList *result = 0 ;
66397 
66398     SWIG_check_num_args("lldb::SBTypeList::SBTypeList",0,0)
66399     result = (lldb::SBTypeList *)new lldb::SBTypeList();
66400     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
66401     return SWIG_arg;
66402 
66403     fail: SWIGUNUSED;
66404   }
66405   lua_error(L);
66406   return 0;
66407 }
66408 
66409 
_wrap_new_SBTypeList__SWIG_1(lua_State * L)66410 static int _wrap_new_SBTypeList__SWIG_1(lua_State* L) {
66411   {
66412     int SWIG_arg = 0;
66413     lldb::SBTypeList *arg1 = 0 ;
66414     lldb::SBTypeList *result = 0 ;
66415 
66416     SWIG_check_num_args("lldb::SBTypeList::SBTypeList",1,1)
66417     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeList::SBTypeList",1,"lldb::SBTypeList const &");
66418 
66419     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){
66420       SWIG_fail_ptr("new_SBTypeList",1,SWIGTYPE_p_lldb__SBTypeList);
66421     }
66422 
66423     result = (lldb::SBTypeList *)new lldb::SBTypeList((lldb::SBTypeList const &)*arg1);
66424     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeList,1); SWIG_arg++;
66425     return SWIG_arg;
66426 
66427     fail: SWIGUNUSED;
66428   }
66429   lua_error(L);
66430   return 0;
66431 }
66432 
66433 
_wrap_new_SBTypeList(lua_State * L)66434 static int _wrap_new_SBTypeList(lua_State* L) {
66435   int argc;
66436   int argv[2]={
66437     1,2
66438   };
66439 
66440   argc = lua_gettop(L);
66441   if (argc == 0) {
66442     return _wrap_new_SBTypeList__SWIG_0(L);
66443   }
66444   if (argc == 1) {
66445     int _v = 0;
66446     {
66447       void *ptr;
66448       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeList, SWIG_POINTER_NO_NULL)) {
66449         _v = 0;
66450       } else {
66451         _v = 1;
66452       }
66453     }
66454     if (_v) {
66455       return _wrap_new_SBTypeList__SWIG_1(L);
66456     }
66457   }
66458 
66459   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeList'\n"
66460     "  Possible C/C++ prototypes are:\n"
66461     "    lldb::SBTypeList::SBTypeList()\n"
66462     "    lldb::SBTypeList::SBTypeList(lldb::SBTypeList const &)\n");
66463   lua_error(L);return 0;
66464 }
66465 
66466 
_wrap_SBTypeList_IsValid(lua_State * L)66467 static int _wrap_SBTypeList_IsValid(lua_State* L) {
66468   {
66469     int SWIG_arg = 0;
66470     lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ;
66471     bool result;
66472 
66473     SWIG_check_num_args("lldb::SBTypeList::IsValid",1,1)
66474     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::IsValid",1,"lldb::SBTypeList *");
66475 
66476     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){
66477       SWIG_fail_ptr("SBTypeList_IsValid",1,SWIGTYPE_p_lldb__SBTypeList);
66478     }
66479 
66480     result = (bool)(arg1)->IsValid();
66481     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66482     return SWIG_arg;
66483 
66484     fail: SWIGUNUSED;
66485   }
66486   lua_error(L);
66487   return 0;
66488 }
66489 
66490 
_wrap_SBTypeList_Append(lua_State * L)66491 static int _wrap_SBTypeList_Append(lua_State* L) {
66492   {
66493     int SWIG_arg = 0;
66494     lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ;
66495     lldb::SBType arg2 ;
66496     lldb::SBType *argp2 ;
66497 
66498     SWIG_check_num_args("lldb::SBTypeList::Append",2,2)
66499     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::Append",1,"lldb::SBTypeList *");
66500     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeList::Append",2,"lldb::SBType");
66501 
66502     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){
66503       SWIG_fail_ptr("SBTypeList_Append",1,SWIGTYPE_p_lldb__SBTypeList);
66504     }
66505 
66506 
66507     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){
66508       SWIG_fail_ptr("SBTypeList_Append",2,SWIGTYPE_p_lldb__SBType);
66509     }
66510     arg2 = *argp2;
66511 
66512     (arg1)->Append(arg2);
66513 
66514     return SWIG_arg;
66515 
66516     fail: SWIGUNUSED;
66517   }
66518   lua_error(L);
66519   return 0;
66520 }
66521 
66522 
_wrap_SBTypeList_GetTypeAtIndex(lua_State * L)66523 static int _wrap_SBTypeList_GetTypeAtIndex(lua_State* L) {
66524   {
66525     int SWIG_arg = 0;
66526     lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ;
66527     uint32_t arg2 ;
66528     lldb::SBType result;
66529 
66530     SWIG_check_num_args("lldb::SBTypeList::GetTypeAtIndex",2,2)
66531     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",1,"lldb::SBTypeList *");
66532     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeList::GetTypeAtIndex",2,"uint32_t");
66533 
66534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){
66535       SWIG_fail_ptr("SBTypeList_GetTypeAtIndex",1,SWIGTYPE_p_lldb__SBTypeList);
66536     }
66537 
66538     arg2 = (uint32_t)lua_tointeger(L, 2);
66539     result = (arg1)->GetTypeAtIndex(arg2);
66540     {
66541       lldb::SBType * resultptr = new lldb::SBType(result);
66542       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
66543     }
66544     return SWIG_arg;
66545 
66546     fail: SWIGUNUSED;
66547   }
66548   lua_error(L);
66549   return 0;
66550 }
66551 
66552 
_wrap_SBTypeList_GetSize(lua_State * L)66553 static int _wrap_SBTypeList_GetSize(lua_State* L) {
66554   {
66555     int SWIG_arg = 0;
66556     lldb::SBTypeList *arg1 = (lldb::SBTypeList *) 0 ;
66557     uint32_t result;
66558 
66559     SWIG_check_num_args("lldb::SBTypeList::GetSize",1,1)
66560     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeList::GetSize",1,"lldb::SBTypeList *");
66561 
66562     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeList,0))){
66563       SWIG_fail_ptr("SBTypeList_GetSize",1,SWIGTYPE_p_lldb__SBTypeList);
66564     }
66565 
66566     result = (uint32_t)(arg1)->GetSize();
66567     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66568     return SWIG_arg;
66569 
66570     fail: SWIGUNUSED;
66571   }
66572   lua_error(L);
66573   return 0;
66574 }
66575 
66576 
swig_delete_SBTypeList(void * obj)66577 static void swig_delete_SBTypeList(void *obj) {
66578 lldb::SBTypeList *arg1 = (lldb::SBTypeList *) obj;
66579 delete arg1;
66580 }
_proxy__wrap_new_SBTypeList(lua_State * L)66581 static int _proxy__wrap_new_SBTypeList(lua_State *L) {
66582     assert(lua_istable(L,1));
66583     lua_pushcfunction(L,_wrap_new_SBTypeList);
66584     assert(!lua_isnil(L,-1));
66585     lua_replace(L,1); /* replace our table with real constructor */
66586     lua_call(L,lua_gettop(L)-1,1);
66587     return 1;
66588 }
66589 static swig_lua_attribute swig_SBTypeList_attributes[] = {
66590     {0,0,0}
66591 };
66592 static swig_lua_method swig_SBTypeList_methods[]= {
66593     { "IsValid", _wrap_SBTypeList_IsValid},
66594     { "Append", _wrap_SBTypeList_Append},
66595     { "GetTypeAtIndex", _wrap_SBTypeList_GetTypeAtIndex},
66596     { "GetSize", _wrap_SBTypeList_GetSize},
66597     {0,0}
66598 };
66599 static swig_lua_method swig_SBTypeList_meta[] = {
66600     {0,0}
66601 };
66602 
66603 static swig_lua_attribute swig_SBTypeList_Sf_SwigStatic_attributes[] = {
66604     {0,0,0}
66605 };
66606 static swig_lua_const_info swig_SBTypeList_Sf_SwigStatic_constants[]= {
66607     {0,0,0,0,0,0}
66608 };
66609 static swig_lua_method swig_SBTypeList_Sf_SwigStatic_methods[]= {
66610     {0,0}
66611 };
66612 static swig_lua_class* swig_SBTypeList_Sf_SwigStatic_classes[]= {
66613     0
66614 };
66615 
66616 static swig_lua_namespace swig_SBTypeList_Sf_SwigStatic = {
66617     "SBTypeList",
66618     swig_SBTypeList_Sf_SwigStatic_methods,
66619     swig_SBTypeList_Sf_SwigStatic_attributes,
66620     swig_SBTypeList_Sf_SwigStatic_constants,
66621     swig_SBTypeList_Sf_SwigStatic_classes,
66622     0
66623 };
66624 static swig_lua_class *swig_SBTypeList_bases[] = {0};
66625 static const char *swig_SBTypeList_base_names[] = {0};
66626 static swig_lua_class _wrap_class_SBTypeList = { "SBTypeList", "SBTypeList", &SWIGTYPE_p_lldb__SBTypeList,_proxy__wrap_new_SBTypeList, swig_delete_SBTypeList, swig_SBTypeList_methods, swig_SBTypeList_attributes, &swig_SBTypeList_Sf_SwigStatic, swig_SBTypeList_meta, swig_SBTypeList_bases, swig_SBTypeList_base_names };
66627 
_wrap_new_SBTypeCategory__SWIG_0(lua_State * L)66628 static int _wrap_new_SBTypeCategory__SWIG_0(lua_State* L) {
66629   {
66630     int SWIG_arg = 0;
66631     lldb::SBTypeCategory *result = 0 ;
66632 
66633     SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",0,0)
66634     result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory();
66635     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
66636     return SWIG_arg;
66637 
66638     fail: SWIGUNUSED;
66639   }
66640   lua_error(L);
66641   return 0;
66642 }
66643 
66644 
_wrap_new_SBTypeCategory__SWIG_1(lua_State * L)66645 static int _wrap_new_SBTypeCategory__SWIG_1(lua_State* L) {
66646   {
66647     int SWIG_arg = 0;
66648     lldb::SBTypeCategory *arg1 = 0 ;
66649     lldb::SBTypeCategory *result = 0 ;
66650 
66651     SWIG_check_num_args("lldb::SBTypeCategory::SBTypeCategory",1,1)
66652     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SBTypeCategory",1,"lldb::SBTypeCategory const &");
66653 
66654     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66655       SWIG_fail_ptr("new_SBTypeCategory",1,SWIGTYPE_p_lldb__SBTypeCategory);
66656     }
66657 
66658     result = (lldb::SBTypeCategory *)new lldb::SBTypeCategory((lldb::SBTypeCategory const &)*arg1);
66659     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeCategory,1); SWIG_arg++;
66660     return SWIG_arg;
66661 
66662     fail: SWIGUNUSED;
66663   }
66664   lua_error(L);
66665   return 0;
66666 }
66667 
66668 
_wrap_new_SBTypeCategory(lua_State * L)66669 static int _wrap_new_SBTypeCategory(lua_State* L) {
66670   int argc;
66671   int argv[2]={
66672     1,2
66673   };
66674 
66675   argc = lua_gettop(L);
66676   if (argc == 0) {
66677     return _wrap_new_SBTypeCategory__SWIG_0(L);
66678   }
66679   if (argc == 1) {
66680     int _v = 0;
66681     {
66682       void *ptr;
66683       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeCategory, SWIG_POINTER_NO_NULL)) {
66684         _v = 0;
66685       } else {
66686         _v = 1;
66687       }
66688     }
66689     if (_v) {
66690       return _wrap_new_SBTypeCategory__SWIG_1(L);
66691     }
66692   }
66693 
66694   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeCategory'\n"
66695     "  Possible C/C++ prototypes are:\n"
66696     "    lldb::SBTypeCategory::SBTypeCategory()\n"
66697     "    lldb::SBTypeCategory::SBTypeCategory(lldb::SBTypeCategory const &)\n");
66698   lua_error(L);return 0;
66699 }
66700 
66701 
_wrap_SBTypeCategory_IsValid(lua_State * L)66702 static int _wrap_SBTypeCategory_IsValid(lua_State* L) {
66703   {
66704     int SWIG_arg = 0;
66705     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66706     bool result;
66707 
66708     SWIG_check_num_args("lldb::SBTypeCategory::IsValid",1,1)
66709     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::IsValid",1,"lldb::SBTypeCategory const *");
66710 
66711     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66712       SWIG_fail_ptr("SBTypeCategory_IsValid",1,SWIGTYPE_p_lldb__SBTypeCategory);
66713     }
66714 
66715     result = (bool)((lldb::SBTypeCategory const *)arg1)->IsValid();
66716     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66717     return SWIG_arg;
66718 
66719     fail: SWIGUNUSED;
66720   }
66721   lua_error(L);
66722   return 0;
66723 }
66724 
66725 
_wrap_SBTypeCategory_GetEnabled(lua_State * L)66726 static int _wrap_SBTypeCategory_GetEnabled(lua_State* L) {
66727   {
66728     int SWIG_arg = 0;
66729     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66730     bool result;
66731 
66732     SWIG_check_num_args("lldb::SBTypeCategory::GetEnabled",1,1)
66733     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetEnabled",1,"lldb::SBTypeCategory *");
66734 
66735     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66736       SWIG_fail_ptr("SBTypeCategory_GetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory);
66737     }
66738 
66739     result = (bool)(arg1)->GetEnabled();
66740     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66741     return SWIG_arg;
66742 
66743     fail: SWIGUNUSED;
66744   }
66745   lua_error(L);
66746   return 0;
66747 }
66748 
66749 
_wrap_SBTypeCategory_SetEnabled(lua_State * L)66750 static int _wrap_SBTypeCategory_SetEnabled(lua_State* L) {
66751   {
66752     int SWIG_arg = 0;
66753     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66754     bool arg2 ;
66755 
66756     SWIG_check_num_args("lldb::SBTypeCategory::SetEnabled",2,2)
66757     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",1,"lldb::SBTypeCategory *");
66758     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::SetEnabled",2,"bool");
66759 
66760     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66761       SWIG_fail_ptr("SBTypeCategory_SetEnabled",1,SWIGTYPE_p_lldb__SBTypeCategory);
66762     }
66763 
66764     arg2 = (lua_toboolean(L, 2)!=0);
66765     (arg1)->SetEnabled(arg2);
66766 
66767     return SWIG_arg;
66768 
66769     fail: SWIGUNUSED;
66770   }
66771   lua_error(L);
66772   return 0;
66773 }
66774 
66775 
_wrap_SBTypeCategory_GetName(lua_State * L)66776 static int _wrap_SBTypeCategory_GetName(lua_State* L) {
66777   {
66778     int SWIG_arg = 0;
66779     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66780     char *result = 0 ;
66781 
66782     SWIG_check_num_args("lldb::SBTypeCategory::GetName",1,1)
66783     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetName",1,"lldb::SBTypeCategory *");
66784 
66785     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66786       SWIG_fail_ptr("SBTypeCategory_GetName",1,SWIGTYPE_p_lldb__SBTypeCategory);
66787     }
66788 
66789     result = (char *)(arg1)->GetName();
66790     lua_pushstring(L,(const char *)result); SWIG_arg++;
66791     return SWIG_arg;
66792 
66793     fail: SWIGUNUSED;
66794   }
66795   lua_error(L);
66796   return 0;
66797 }
66798 
66799 
_wrap_SBTypeCategory_GetLanguageAtIndex(lua_State * L)66800 static int _wrap_SBTypeCategory_GetLanguageAtIndex(lua_State* L) {
66801   {
66802     int SWIG_arg = 0;
66803     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66804     uint32_t arg2 ;
66805     lldb::LanguageType result;
66806 
66807     SWIG_check_num_args("lldb::SBTypeCategory::GetLanguageAtIndex",2,2)
66808     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",1,"lldb::SBTypeCategory *");
66809     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetLanguageAtIndex",2,"uint32_t");
66810 
66811     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66812       SWIG_fail_ptr("SBTypeCategory_GetLanguageAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
66813     }
66814 
66815     arg2 = (uint32_t)lua_tointeger(L, 2);
66816     result = (lldb::LanguageType)(arg1)->GetLanguageAtIndex(arg2);
66817     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66818     return SWIG_arg;
66819 
66820     fail: SWIGUNUSED;
66821   }
66822   lua_error(L);
66823   return 0;
66824 }
66825 
66826 
_wrap_SBTypeCategory_GetNumLanguages(lua_State * L)66827 static int _wrap_SBTypeCategory_GetNumLanguages(lua_State* L) {
66828   {
66829     int SWIG_arg = 0;
66830     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66831     uint32_t result;
66832 
66833     SWIG_check_num_args("lldb::SBTypeCategory::GetNumLanguages",1,1)
66834     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumLanguages",1,"lldb::SBTypeCategory *");
66835 
66836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66837       SWIG_fail_ptr("SBTypeCategory_GetNumLanguages",1,SWIGTYPE_p_lldb__SBTypeCategory);
66838     }
66839 
66840     result = (uint32_t)(arg1)->GetNumLanguages();
66841     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66842     return SWIG_arg;
66843 
66844     fail: SWIGUNUSED;
66845   }
66846   lua_error(L);
66847   return 0;
66848 }
66849 
66850 
_wrap_SBTypeCategory_AddLanguage(lua_State * L)66851 static int _wrap_SBTypeCategory_AddLanguage(lua_State* L) {
66852   {
66853     int SWIG_arg = 0;
66854     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66855     lldb::LanguageType arg2 ;
66856 
66857     SWIG_check_num_args("lldb::SBTypeCategory::AddLanguage",2,2)
66858     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",1,"lldb::SBTypeCategory *");
66859     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddLanguage",2,"lldb::LanguageType");
66860 
66861     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66862       SWIG_fail_ptr("SBTypeCategory_AddLanguage",1,SWIGTYPE_p_lldb__SBTypeCategory);
66863     }
66864 
66865     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
66866     (arg1)->AddLanguage(arg2);
66867 
66868     return SWIG_arg;
66869 
66870     fail: SWIGUNUSED;
66871   }
66872   lua_error(L);
66873   return 0;
66874 }
66875 
66876 
_wrap_SBTypeCategory_GetDescription(lua_State * L)66877 static int _wrap_SBTypeCategory_GetDescription(lua_State* L) {
66878   {
66879     int SWIG_arg = 0;
66880     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66881     lldb::SBStream *arg2 = 0 ;
66882     lldb::DescriptionLevel arg3 ;
66883     bool result;
66884 
66885     SWIG_check_num_args("lldb::SBTypeCategory::GetDescription",3,3)
66886     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",1,"lldb::SBTypeCategory *");
66887     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",2,"lldb::SBStream &");
66888     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::GetDescription",3,"lldb::DescriptionLevel");
66889 
66890     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66891       SWIG_fail_ptr("SBTypeCategory_GetDescription",1,SWIGTYPE_p_lldb__SBTypeCategory);
66892     }
66893 
66894 
66895     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
66896       SWIG_fail_ptr("SBTypeCategory_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
66897     }
66898 
66899     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
66900     result = (bool)(arg1)->GetDescription(*arg2,arg3);
66901     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
66902     return SWIG_arg;
66903 
66904     fail: SWIGUNUSED;
66905   }
66906   lua_error(L);
66907   return 0;
66908 }
66909 
66910 
_wrap_SBTypeCategory_GetNumFormats(lua_State * L)66911 static int _wrap_SBTypeCategory_GetNumFormats(lua_State* L) {
66912   {
66913     int SWIG_arg = 0;
66914     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66915     uint32_t result;
66916 
66917     SWIG_check_num_args("lldb::SBTypeCategory::GetNumFormats",1,1)
66918     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFormats",1,"lldb::SBTypeCategory *");
66919 
66920     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66921       SWIG_fail_ptr("SBTypeCategory_GetNumFormats",1,SWIGTYPE_p_lldb__SBTypeCategory);
66922     }
66923 
66924     result = (uint32_t)(arg1)->GetNumFormats();
66925     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66926     return SWIG_arg;
66927 
66928     fail: SWIGUNUSED;
66929   }
66930   lua_error(L);
66931   return 0;
66932 }
66933 
66934 
_wrap_SBTypeCategory_GetNumSummaries(lua_State * L)66935 static int _wrap_SBTypeCategory_GetNumSummaries(lua_State* L) {
66936   {
66937     int SWIG_arg = 0;
66938     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66939     uint32_t result;
66940 
66941     SWIG_check_num_args("lldb::SBTypeCategory::GetNumSummaries",1,1)
66942     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSummaries",1,"lldb::SBTypeCategory *");
66943 
66944     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66945       SWIG_fail_ptr("SBTypeCategory_GetNumSummaries",1,SWIGTYPE_p_lldb__SBTypeCategory);
66946     }
66947 
66948     result = (uint32_t)(arg1)->GetNumSummaries();
66949     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66950     return SWIG_arg;
66951 
66952     fail: SWIGUNUSED;
66953   }
66954   lua_error(L);
66955   return 0;
66956 }
66957 
66958 
_wrap_SBTypeCategory_GetNumFilters(lua_State * L)66959 static int _wrap_SBTypeCategory_GetNumFilters(lua_State* L) {
66960   {
66961     int SWIG_arg = 0;
66962     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66963     uint32_t result;
66964 
66965     SWIG_check_num_args("lldb::SBTypeCategory::GetNumFilters",1,1)
66966     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumFilters",1,"lldb::SBTypeCategory *");
66967 
66968     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66969       SWIG_fail_ptr("SBTypeCategory_GetNumFilters",1,SWIGTYPE_p_lldb__SBTypeCategory);
66970     }
66971 
66972     result = (uint32_t)(arg1)->GetNumFilters();
66973     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66974     return SWIG_arg;
66975 
66976     fail: SWIGUNUSED;
66977   }
66978   lua_error(L);
66979   return 0;
66980 }
66981 
66982 
_wrap_SBTypeCategory_GetNumSynthetics(lua_State * L)66983 static int _wrap_SBTypeCategory_GetNumSynthetics(lua_State* L) {
66984   {
66985     int SWIG_arg = 0;
66986     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
66987     uint32_t result;
66988 
66989     SWIG_check_num_args("lldb::SBTypeCategory::GetNumSynthetics",1,1)
66990     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetNumSynthetics",1,"lldb::SBTypeCategory *");
66991 
66992     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
66993       SWIG_fail_ptr("SBTypeCategory_GetNumSynthetics",1,SWIGTYPE_p_lldb__SBTypeCategory);
66994     }
66995 
66996     result = (uint32_t)(arg1)->GetNumSynthetics();
66997     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
66998     return SWIG_arg;
66999 
67000     fail: SWIGUNUSED;
67001   }
67002   lua_error(L);
67003   return 0;
67004 }
67005 
67006 
_wrap_SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex(lua_State * L)67007 static int _wrap_SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex(lua_State* L) {
67008   {
67009     int SWIG_arg = 0;
67010     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67011     uint32_t arg2 ;
67012     lldb::SBTypeNameSpecifier result;
67013 
67014     SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,2)
67015     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",1,"lldb::SBTypeCategory *");
67016     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex",2,"uint32_t");
67017 
67018     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67019       SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67020     }
67021 
67022     arg2 = (uint32_t)lua_tointeger(L, 2);
67023     result = (arg1)->GetTypeNameSpecifierForFilterAtIndex(arg2);
67024     {
67025       lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result);
67026       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
67027     }
67028     return SWIG_arg;
67029 
67030     fail: SWIGUNUSED;
67031   }
67032   lua_error(L);
67033   return 0;
67034 }
67035 
67036 
_wrap_SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex(lua_State * L)67037 static int _wrap_SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex(lua_State* L) {
67038   {
67039     int SWIG_arg = 0;
67040     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67041     uint32_t arg2 ;
67042     lldb::SBTypeNameSpecifier result;
67043 
67044     SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,2)
67045     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",1,"lldb::SBTypeCategory *");
67046     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex",2,"uint32_t");
67047 
67048     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67049       SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67050     }
67051 
67052     arg2 = (uint32_t)lua_tointeger(L, 2);
67053     result = (arg1)->GetTypeNameSpecifierForFormatAtIndex(arg2);
67054     {
67055       lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result);
67056       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
67057     }
67058     return SWIG_arg;
67059 
67060     fail: SWIGUNUSED;
67061   }
67062   lua_error(L);
67063   return 0;
67064 }
67065 
67066 
_wrap_SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex(lua_State * L)67067 static int _wrap_SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex(lua_State* L) {
67068   {
67069     int SWIG_arg = 0;
67070     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67071     uint32_t arg2 ;
67072     lldb::SBTypeNameSpecifier result;
67073 
67074     SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,2)
67075     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",1,"lldb::SBTypeCategory *");
67076     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex",2,"uint32_t");
67077 
67078     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67079       SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67080     }
67081 
67082     arg2 = (uint32_t)lua_tointeger(L, 2);
67083     result = (arg1)->GetTypeNameSpecifierForSummaryAtIndex(arg2);
67084     {
67085       lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result);
67086       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
67087     }
67088     return SWIG_arg;
67089 
67090     fail: SWIGUNUSED;
67091   }
67092   lua_error(L);
67093   return 0;
67094 }
67095 
67096 
_wrap_SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex(lua_State * L)67097 static int _wrap_SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex(lua_State* L) {
67098   {
67099     int SWIG_arg = 0;
67100     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67101     uint32_t arg2 ;
67102     lldb::SBTypeNameSpecifier result;
67103 
67104     SWIG_check_num_args("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,2)
67105     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",1,"lldb::SBTypeCategory *");
67106     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex",2,"uint32_t");
67107 
67108     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67109       SWIG_fail_ptr("SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67110     }
67111 
67112     arg2 = (uint32_t)lua_tointeger(L, 2);
67113     result = (arg1)->GetTypeNameSpecifierForSyntheticAtIndex(arg2);
67114     {
67115       lldb::SBTypeNameSpecifier * resultptr = new lldb::SBTypeNameSpecifier(result);
67116       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
67117     }
67118     return SWIG_arg;
67119 
67120     fail: SWIGUNUSED;
67121   }
67122   lua_error(L);
67123   return 0;
67124 }
67125 
67126 
_wrap_SBTypeCategory_GetFilterForType(lua_State * L)67127 static int _wrap_SBTypeCategory_GetFilterForType(lua_State* L) {
67128   {
67129     int SWIG_arg = 0;
67130     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67131     lldb::SBTypeNameSpecifier arg2 ;
67132     lldb::SBTypeNameSpecifier *argp2 ;
67133     lldb::SBTypeFilter result;
67134 
67135     SWIG_check_num_args("lldb::SBTypeCategory::GetFilterForType",2,2)
67136     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",1,"lldb::SBTypeCategory *");
67137     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterForType",2,"lldb::SBTypeNameSpecifier");
67138 
67139     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67140       SWIG_fail_ptr("SBTypeCategory_GetFilterForType",1,SWIGTYPE_p_lldb__SBTypeCategory);
67141     }
67142 
67143 
67144     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67145       SWIG_fail_ptr("SBTypeCategory_GetFilterForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67146     }
67147     arg2 = *argp2;
67148 
67149     result = (arg1)->GetFilterForType(arg2);
67150     {
67151       lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result);
67152       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
67153     }
67154     return SWIG_arg;
67155 
67156     fail: SWIGUNUSED;
67157   }
67158   lua_error(L);
67159   return 0;
67160 }
67161 
67162 
_wrap_SBTypeCategory_GetFormatForType(lua_State * L)67163 static int _wrap_SBTypeCategory_GetFormatForType(lua_State* L) {
67164   {
67165     int SWIG_arg = 0;
67166     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67167     lldb::SBTypeNameSpecifier arg2 ;
67168     lldb::SBTypeNameSpecifier *argp2 ;
67169     lldb::SBTypeFormat result;
67170 
67171     SWIG_check_num_args("lldb::SBTypeCategory::GetFormatForType",2,2)
67172     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",1,"lldb::SBTypeCategory *");
67173     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatForType",2,"lldb::SBTypeNameSpecifier");
67174 
67175     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67176       SWIG_fail_ptr("SBTypeCategory_GetFormatForType",1,SWIGTYPE_p_lldb__SBTypeCategory);
67177     }
67178 
67179 
67180     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67181       SWIG_fail_ptr("SBTypeCategory_GetFormatForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67182     }
67183     arg2 = *argp2;
67184 
67185     result = (arg1)->GetFormatForType(arg2);
67186     {
67187       lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result);
67188       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
67189     }
67190     return SWIG_arg;
67191 
67192     fail: SWIGUNUSED;
67193   }
67194   lua_error(L);
67195   return 0;
67196 }
67197 
67198 
_wrap_SBTypeCategory_GetSummaryForType(lua_State * L)67199 static int _wrap_SBTypeCategory_GetSummaryForType(lua_State* L) {
67200   {
67201     int SWIG_arg = 0;
67202     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67203     lldb::SBTypeNameSpecifier arg2 ;
67204     lldb::SBTypeNameSpecifier *argp2 ;
67205     lldb::SBTypeSummary result;
67206 
67207     SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryForType",2,2)
67208     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",1,"lldb::SBTypeCategory *");
67209     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryForType",2,"lldb::SBTypeNameSpecifier");
67210 
67211     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67212       SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",1,SWIGTYPE_p_lldb__SBTypeCategory);
67213     }
67214 
67215 
67216     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67217       SWIG_fail_ptr("SBTypeCategory_GetSummaryForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67218     }
67219     arg2 = *argp2;
67220 
67221     result = (arg1)->GetSummaryForType(arg2);
67222     {
67223       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
67224       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
67225     }
67226     return SWIG_arg;
67227 
67228     fail: SWIGUNUSED;
67229   }
67230   lua_error(L);
67231   return 0;
67232 }
67233 
67234 
_wrap_SBTypeCategory_GetSyntheticForType(lua_State * L)67235 static int _wrap_SBTypeCategory_GetSyntheticForType(lua_State* L) {
67236   {
67237     int SWIG_arg = 0;
67238     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67239     lldb::SBTypeNameSpecifier arg2 ;
67240     lldb::SBTypeNameSpecifier *argp2 ;
67241     lldb::SBTypeSynthetic result;
67242 
67243     SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticForType",2,2)
67244     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",1,"lldb::SBTypeCategory *");
67245     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticForType",2,"lldb::SBTypeNameSpecifier");
67246 
67247     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67248       SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",1,SWIGTYPE_p_lldb__SBTypeCategory);
67249     }
67250 
67251 
67252     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67253       SWIG_fail_ptr("SBTypeCategory_GetSyntheticForType",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67254     }
67255     arg2 = *argp2;
67256 
67257     result = (arg1)->GetSyntheticForType(arg2);
67258     {
67259       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
67260       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
67261     }
67262     return SWIG_arg;
67263 
67264     fail: SWIGUNUSED;
67265   }
67266   lua_error(L);
67267   return 0;
67268 }
67269 
67270 
_wrap_SBTypeCategory_GetFilterAtIndex(lua_State * L)67271 static int _wrap_SBTypeCategory_GetFilterAtIndex(lua_State* L) {
67272   {
67273     int SWIG_arg = 0;
67274     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67275     uint32_t arg2 ;
67276     lldb::SBTypeFilter result;
67277 
67278     SWIG_check_num_args("lldb::SBTypeCategory::GetFilterAtIndex",2,2)
67279     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",1,"lldb::SBTypeCategory *");
67280     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFilterAtIndex",2,"uint32_t");
67281 
67282     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67283       SWIG_fail_ptr("SBTypeCategory_GetFilterAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67284     }
67285 
67286     arg2 = (uint32_t)lua_tointeger(L, 2);
67287     result = (arg1)->GetFilterAtIndex(arg2);
67288     {
67289       lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result);
67290       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
67291     }
67292     return SWIG_arg;
67293 
67294     fail: SWIGUNUSED;
67295   }
67296   lua_error(L);
67297   return 0;
67298 }
67299 
67300 
_wrap_SBTypeCategory_GetFormatAtIndex(lua_State * L)67301 static int _wrap_SBTypeCategory_GetFormatAtIndex(lua_State* L) {
67302   {
67303     int SWIG_arg = 0;
67304     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67305     uint32_t arg2 ;
67306     lldb::SBTypeFormat result;
67307 
67308     SWIG_check_num_args("lldb::SBTypeCategory::GetFormatAtIndex",2,2)
67309     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",1,"lldb::SBTypeCategory *");
67310     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetFormatAtIndex",2,"uint32_t");
67311 
67312     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67313       SWIG_fail_ptr("SBTypeCategory_GetFormatAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67314     }
67315 
67316     arg2 = (uint32_t)lua_tointeger(L, 2);
67317     result = (arg1)->GetFormatAtIndex(arg2);
67318     {
67319       lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result);
67320       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
67321     }
67322     return SWIG_arg;
67323 
67324     fail: SWIGUNUSED;
67325   }
67326   lua_error(L);
67327   return 0;
67328 }
67329 
67330 
_wrap_SBTypeCategory_GetSummaryAtIndex(lua_State * L)67331 static int _wrap_SBTypeCategory_GetSummaryAtIndex(lua_State* L) {
67332   {
67333     int SWIG_arg = 0;
67334     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67335     uint32_t arg2 ;
67336     lldb::SBTypeSummary result;
67337 
67338     SWIG_check_num_args("lldb::SBTypeCategory::GetSummaryAtIndex",2,2)
67339     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",1,"lldb::SBTypeCategory *");
67340     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSummaryAtIndex",2,"uint32_t");
67341 
67342     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67343       SWIG_fail_ptr("SBTypeCategory_GetSummaryAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67344     }
67345 
67346     arg2 = (uint32_t)lua_tointeger(L, 2);
67347     result = (arg1)->GetSummaryAtIndex(arg2);
67348     {
67349       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
67350       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
67351     }
67352     return SWIG_arg;
67353 
67354     fail: SWIGUNUSED;
67355   }
67356   lua_error(L);
67357   return 0;
67358 }
67359 
67360 
_wrap_SBTypeCategory_GetSyntheticAtIndex(lua_State * L)67361 static int _wrap_SBTypeCategory_GetSyntheticAtIndex(lua_State* L) {
67362   {
67363     int SWIG_arg = 0;
67364     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67365     uint32_t arg2 ;
67366     lldb::SBTypeSynthetic result;
67367 
67368     SWIG_check_num_args("lldb::SBTypeCategory::GetSyntheticAtIndex",2,2)
67369     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",1,"lldb::SBTypeCategory *");
67370     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::GetSyntheticAtIndex",2,"uint32_t");
67371 
67372     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67373       SWIG_fail_ptr("SBTypeCategory_GetSyntheticAtIndex",1,SWIGTYPE_p_lldb__SBTypeCategory);
67374     }
67375 
67376     arg2 = (uint32_t)lua_tointeger(L, 2);
67377     result = (arg1)->GetSyntheticAtIndex(arg2);
67378     {
67379       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
67380       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
67381     }
67382     return SWIG_arg;
67383 
67384     fail: SWIGUNUSED;
67385   }
67386   lua_error(L);
67387   return 0;
67388 }
67389 
67390 
_wrap_SBTypeCategory_AddTypeFormat(lua_State * L)67391 static int _wrap_SBTypeCategory_AddTypeFormat(lua_State* L) {
67392   {
67393     int SWIG_arg = 0;
67394     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67395     lldb::SBTypeNameSpecifier arg2 ;
67396     lldb::SBTypeFormat arg3 ;
67397     lldb::SBTypeNameSpecifier *argp2 ;
67398     lldb::SBTypeFormat *argp3 ;
67399     bool result;
67400 
67401     SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFormat",3,3)
67402     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",1,"lldb::SBTypeCategory *");
67403     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",2,"lldb::SBTypeNameSpecifier");
67404     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFormat",3,"lldb::SBTypeFormat");
67405 
67406     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67407       SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory);
67408     }
67409 
67410 
67411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67412       SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67413     }
67414     arg2 = *argp2;
67415 
67416 
67417     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFormat,0))){
67418       SWIG_fail_ptr("SBTypeCategory_AddTypeFormat",3,SWIGTYPE_p_lldb__SBTypeFormat);
67419     }
67420     arg3 = *argp3;
67421 
67422     result = (bool)(arg1)->AddTypeFormat(arg2,arg3);
67423     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67424     return SWIG_arg;
67425 
67426     fail: SWIGUNUSED;
67427   }
67428   lua_error(L);
67429   return 0;
67430 }
67431 
67432 
_wrap_SBTypeCategory_DeleteTypeFormat(lua_State * L)67433 static int _wrap_SBTypeCategory_DeleteTypeFormat(lua_State* L) {
67434   {
67435     int SWIG_arg = 0;
67436     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67437     lldb::SBTypeNameSpecifier arg2 ;
67438     lldb::SBTypeNameSpecifier *argp2 ;
67439     bool result;
67440 
67441     SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFormat",2,2)
67442     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",1,"lldb::SBTypeCategory *");
67443     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFormat",2,"lldb::SBTypeNameSpecifier");
67444 
67445     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67446       SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",1,SWIGTYPE_p_lldb__SBTypeCategory);
67447     }
67448 
67449 
67450     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67451       SWIG_fail_ptr("SBTypeCategory_DeleteTypeFormat",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67452     }
67453     arg2 = *argp2;
67454 
67455     result = (bool)(arg1)->DeleteTypeFormat(arg2);
67456     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67457     return SWIG_arg;
67458 
67459     fail: SWIGUNUSED;
67460   }
67461   lua_error(L);
67462   return 0;
67463 }
67464 
67465 
_wrap_SBTypeCategory_AddTypeSummary(lua_State * L)67466 static int _wrap_SBTypeCategory_AddTypeSummary(lua_State* L) {
67467   {
67468     int SWIG_arg = 0;
67469     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67470     lldb::SBTypeNameSpecifier arg2 ;
67471     lldb::SBTypeSummary arg3 ;
67472     lldb::SBTypeNameSpecifier *argp2 ;
67473     lldb::SBTypeSummary *argp3 ;
67474     bool result;
67475 
67476     SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSummary",3,3)
67477     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",1,"lldb::SBTypeCategory *");
67478     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",2,"lldb::SBTypeNameSpecifier");
67479     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSummary",3,"lldb::SBTypeSummary");
67480 
67481     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67482       SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory);
67483     }
67484 
67485 
67486     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67487       SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67488     }
67489     arg2 = *argp2;
67490 
67491 
67492     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSummary,0))){
67493       SWIG_fail_ptr("SBTypeCategory_AddTypeSummary",3,SWIGTYPE_p_lldb__SBTypeSummary);
67494     }
67495     arg3 = *argp3;
67496 
67497     result = (bool)(arg1)->AddTypeSummary(arg2,arg3);
67498     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67499     return SWIG_arg;
67500 
67501     fail: SWIGUNUSED;
67502   }
67503   lua_error(L);
67504   return 0;
67505 }
67506 
67507 
_wrap_SBTypeCategory_DeleteTypeSummary(lua_State * L)67508 static int _wrap_SBTypeCategory_DeleteTypeSummary(lua_State* L) {
67509   {
67510     int SWIG_arg = 0;
67511     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67512     lldb::SBTypeNameSpecifier arg2 ;
67513     lldb::SBTypeNameSpecifier *argp2 ;
67514     bool result;
67515 
67516     SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSummary",2,2)
67517     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",1,"lldb::SBTypeCategory *");
67518     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSummary",2,"lldb::SBTypeNameSpecifier");
67519 
67520     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67521       SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",1,SWIGTYPE_p_lldb__SBTypeCategory);
67522     }
67523 
67524 
67525     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67526       SWIG_fail_ptr("SBTypeCategory_DeleteTypeSummary",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67527     }
67528     arg2 = *argp2;
67529 
67530     result = (bool)(arg1)->DeleteTypeSummary(arg2);
67531     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67532     return SWIG_arg;
67533 
67534     fail: SWIGUNUSED;
67535   }
67536   lua_error(L);
67537   return 0;
67538 }
67539 
67540 
_wrap_SBTypeCategory_AddTypeFilter(lua_State * L)67541 static int _wrap_SBTypeCategory_AddTypeFilter(lua_State* L) {
67542   {
67543     int SWIG_arg = 0;
67544     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67545     lldb::SBTypeNameSpecifier arg2 ;
67546     lldb::SBTypeFilter arg3 ;
67547     lldb::SBTypeNameSpecifier *argp2 ;
67548     lldb::SBTypeFilter *argp3 ;
67549     bool result;
67550 
67551     SWIG_check_num_args("lldb::SBTypeCategory::AddTypeFilter",3,3)
67552     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",1,"lldb::SBTypeCategory *");
67553     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",2,"lldb::SBTypeNameSpecifier");
67554     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeFilter",3,"lldb::SBTypeFilter");
67555 
67556     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67557       SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory);
67558     }
67559 
67560 
67561     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67562       SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67563     }
67564     arg2 = *argp2;
67565 
67566 
67567     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeFilter,0))){
67568       SWIG_fail_ptr("SBTypeCategory_AddTypeFilter",3,SWIGTYPE_p_lldb__SBTypeFilter);
67569     }
67570     arg3 = *argp3;
67571 
67572     result = (bool)(arg1)->AddTypeFilter(arg2,arg3);
67573     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67574     return SWIG_arg;
67575 
67576     fail: SWIGUNUSED;
67577   }
67578   lua_error(L);
67579   return 0;
67580 }
67581 
67582 
_wrap_SBTypeCategory_DeleteTypeFilter(lua_State * L)67583 static int _wrap_SBTypeCategory_DeleteTypeFilter(lua_State* L) {
67584   {
67585     int SWIG_arg = 0;
67586     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67587     lldb::SBTypeNameSpecifier arg2 ;
67588     lldb::SBTypeNameSpecifier *argp2 ;
67589     bool result;
67590 
67591     SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeFilter",2,2)
67592     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",1,"lldb::SBTypeCategory *");
67593     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeFilter",2,"lldb::SBTypeNameSpecifier");
67594 
67595     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67596       SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",1,SWIGTYPE_p_lldb__SBTypeCategory);
67597     }
67598 
67599 
67600     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67601       SWIG_fail_ptr("SBTypeCategory_DeleteTypeFilter",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67602     }
67603     arg2 = *argp2;
67604 
67605     result = (bool)(arg1)->DeleteTypeFilter(arg2);
67606     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67607     return SWIG_arg;
67608 
67609     fail: SWIGUNUSED;
67610   }
67611   lua_error(L);
67612   return 0;
67613 }
67614 
67615 
_wrap_SBTypeCategory_AddTypeSynthetic(lua_State * L)67616 static int _wrap_SBTypeCategory_AddTypeSynthetic(lua_State* L) {
67617   {
67618     int SWIG_arg = 0;
67619     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67620     lldb::SBTypeNameSpecifier arg2 ;
67621     lldb::SBTypeSynthetic arg3 ;
67622     lldb::SBTypeNameSpecifier *argp2 ;
67623     lldb::SBTypeSynthetic *argp3 ;
67624     bool result;
67625 
67626     SWIG_check_num_args("lldb::SBTypeCategory::AddTypeSynthetic",3,3)
67627     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",1,"lldb::SBTypeCategory *");
67628     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",2,"lldb::SBTypeNameSpecifier");
67629     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBTypeCategory::AddTypeSynthetic",3,"lldb::SBTypeSynthetic");
67630 
67631     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67632       SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory);
67633     }
67634 
67635 
67636     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67637       SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67638     }
67639     arg2 = *argp2;
67640 
67641 
67642     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
67643       SWIG_fail_ptr("SBTypeCategory_AddTypeSynthetic",3,SWIGTYPE_p_lldb__SBTypeSynthetic);
67644     }
67645     arg3 = *argp3;
67646 
67647     result = (bool)(arg1)->AddTypeSynthetic(arg2,arg3);
67648     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67649     return SWIG_arg;
67650 
67651     fail: SWIGUNUSED;
67652   }
67653   lua_error(L);
67654   return 0;
67655 }
67656 
67657 
_wrap_SBTypeCategory_DeleteTypeSynthetic(lua_State * L)67658 static int _wrap_SBTypeCategory_DeleteTypeSynthetic(lua_State* L) {
67659   {
67660     int SWIG_arg = 0;
67661     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67662     lldb::SBTypeNameSpecifier arg2 ;
67663     lldb::SBTypeNameSpecifier *argp2 ;
67664     bool result;
67665 
67666     SWIG_check_num_args("lldb::SBTypeCategory::DeleteTypeSynthetic",2,2)
67667     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",1,"lldb::SBTypeCategory *");
67668     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::DeleteTypeSynthetic",2,"lldb::SBTypeNameSpecifier");
67669 
67670     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67671       SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeCategory);
67672     }
67673 
67674 
67675     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
67676       SWIG_fail_ptr("SBTypeCategory_DeleteTypeSynthetic",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
67677     }
67678     arg2 = *argp2;
67679 
67680     result = (bool)(arg1)->DeleteTypeSynthetic(arg2);
67681     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67682     return SWIG_arg;
67683 
67684     fail: SWIGUNUSED;
67685   }
67686   lua_error(L);
67687   return 0;
67688 }
67689 
67690 
_wrap_SBTypeCategory___eq(lua_State * L)67691 static int _wrap_SBTypeCategory___eq(lua_State* L) {
67692   {
67693     int SWIG_arg = 0;
67694     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67695     lldb::SBTypeCategory *arg2 = 0 ;
67696     bool result;
67697 
67698     SWIG_check_num_args("lldb::SBTypeCategory::operator ==",2,2)
67699     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::operator ==",1,"lldb::SBTypeCategory *");
67700     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeCategory::operator ==",2,"lldb::SBTypeCategory &");
67701 
67702     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67703       SWIG_fail_ptr("SBTypeCategory___eq",1,SWIGTYPE_p_lldb__SBTypeCategory);
67704     }
67705 
67706 
67707     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67708       SWIG_fail_ptr("SBTypeCategory___eq",2,SWIGTYPE_p_lldb__SBTypeCategory);
67709     }
67710 
67711     result = (bool)(arg1)->operator ==(*arg2);
67712     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67713     return SWIG_arg;
67714 
67715     fail: SWIGUNUSED;
67716   }
67717   lua_error(L);
67718   return 0;
67719 }
67720 
67721 
_wrap_SBTypeCategory___tostring(lua_State * L)67722 static int _wrap_SBTypeCategory___tostring(lua_State* L) {
67723   {
67724     int SWIG_arg = 0;
67725     lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) 0 ;
67726     std::string result;
67727 
67728     SWIG_check_num_args("lldb::SBTypeCategory::__repr__",1,1)
67729     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeCategory::__repr__",1,"lldb::SBTypeCategory *");
67730 
67731     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeCategory,0))){
67732       SWIG_fail_ptr("SBTypeCategory___tostring",1,SWIGTYPE_p_lldb__SBTypeCategory);
67733     }
67734 
67735     result = lldb_SBTypeCategory___repr__(arg1);
67736     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
67737     return SWIG_arg;
67738 
67739     fail: SWIGUNUSED;
67740   }
67741   lua_error(L);
67742   return 0;
67743 }
67744 
67745 
swig_delete_SBTypeCategory(void * obj)67746 static void swig_delete_SBTypeCategory(void *obj) {
67747 lldb::SBTypeCategory *arg1 = (lldb::SBTypeCategory *) obj;
67748 delete arg1;
67749 }
_proxy__wrap_new_SBTypeCategory(lua_State * L)67750 static int _proxy__wrap_new_SBTypeCategory(lua_State *L) {
67751     assert(lua_istable(L,1));
67752     lua_pushcfunction(L,_wrap_new_SBTypeCategory);
67753     assert(!lua_isnil(L,-1));
67754     lua_replace(L,1); /* replace our table with real constructor */
67755     lua_call(L,lua_gettop(L)-1,1);
67756     return 1;
67757 }
67758 static swig_lua_attribute swig_SBTypeCategory_attributes[] = {
67759     {0,0,0}
67760 };
67761 static swig_lua_method swig_SBTypeCategory_methods[]= {
67762     { "IsValid", _wrap_SBTypeCategory_IsValid},
67763     { "GetEnabled", _wrap_SBTypeCategory_GetEnabled},
67764     { "SetEnabled", _wrap_SBTypeCategory_SetEnabled},
67765     { "GetName", _wrap_SBTypeCategory_GetName},
67766     { "GetLanguageAtIndex", _wrap_SBTypeCategory_GetLanguageAtIndex},
67767     { "GetNumLanguages", _wrap_SBTypeCategory_GetNumLanguages},
67768     { "AddLanguage", _wrap_SBTypeCategory_AddLanguage},
67769     { "GetDescription", _wrap_SBTypeCategory_GetDescription},
67770     { "GetNumFormats", _wrap_SBTypeCategory_GetNumFormats},
67771     { "GetNumSummaries", _wrap_SBTypeCategory_GetNumSummaries},
67772     { "GetNumFilters", _wrap_SBTypeCategory_GetNumFilters},
67773     { "GetNumSynthetics", _wrap_SBTypeCategory_GetNumSynthetics},
67774     { "GetTypeNameSpecifierForFilterAtIndex", _wrap_SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex},
67775     { "GetTypeNameSpecifierForFormatAtIndex", _wrap_SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex},
67776     { "GetTypeNameSpecifierForSummaryAtIndex", _wrap_SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex},
67777     { "GetTypeNameSpecifierForSyntheticAtIndex", _wrap_SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex},
67778     { "GetFilterForType", _wrap_SBTypeCategory_GetFilterForType},
67779     { "GetFormatForType", _wrap_SBTypeCategory_GetFormatForType},
67780     { "GetSummaryForType", _wrap_SBTypeCategory_GetSummaryForType},
67781     { "GetSyntheticForType", _wrap_SBTypeCategory_GetSyntheticForType},
67782     { "GetFilterAtIndex", _wrap_SBTypeCategory_GetFilterAtIndex},
67783     { "GetFormatAtIndex", _wrap_SBTypeCategory_GetFormatAtIndex},
67784     { "GetSummaryAtIndex", _wrap_SBTypeCategory_GetSummaryAtIndex},
67785     { "GetSyntheticAtIndex", _wrap_SBTypeCategory_GetSyntheticAtIndex},
67786     { "AddTypeFormat", _wrap_SBTypeCategory_AddTypeFormat},
67787     { "DeleteTypeFormat", _wrap_SBTypeCategory_DeleteTypeFormat},
67788     { "AddTypeSummary", _wrap_SBTypeCategory_AddTypeSummary},
67789     { "DeleteTypeSummary", _wrap_SBTypeCategory_DeleteTypeSummary},
67790     { "AddTypeFilter", _wrap_SBTypeCategory_AddTypeFilter},
67791     { "DeleteTypeFilter", _wrap_SBTypeCategory_DeleteTypeFilter},
67792     { "AddTypeSynthetic", _wrap_SBTypeCategory_AddTypeSynthetic},
67793     { "DeleteTypeSynthetic", _wrap_SBTypeCategory_DeleteTypeSynthetic},
67794     { "__eq", _wrap_SBTypeCategory___eq},
67795     { "__tostring", _wrap_SBTypeCategory___tostring},
67796     {0,0}
67797 };
67798 static swig_lua_method swig_SBTypeCategory_meta[] = {
67799     { "__eq", _wrap_SBTypeCategory___eq},
67800     { "__tostring", _wrap_SBTypeCategory___tostring},
67801     {0,0}
67802 };
67803 
67804 static swig_lua_attribute swig_SBTypeCategory_Sf_SwigStatic_attributes[] = {
67805     {0,0,0}
67806 };
67807 static swig_lua_const_info swig_SBTypeCategory_Sf_SwigStatic_constants[]= {
67808     {0,0,0,0,0,0}
67809 };
67810 static swig_lua_method swig_SBTypeCategory_Sf_SwigStatic_methods[]= {
67811     {0,0}
67812 };
67813 static swig_lua_class* swig_SBTypeCategory_Sf_SwigStatic_classes[]= {
67814     0
67815 };
67816 
67817 static swig_lua_namespace swig_SBTypeCategory_Sf_SwigStatic = {
67818     "SBTypeCategory",
67819     swig_SBTypeCategory_Sf_SwigStatic_methods,
67820     swig_SBTypeCategory_Sf_SwigStatic_attributes,
67821     swig_SBTypeCategory_Sf_SwigStatic_constants,
67822     swig_SBTypeCategory_Sf_SwigStatic_classes,
67823     0
67824 };
67825 static swig_lua_class *swig_SBTypeCategory_bases[] = {0};
67826 static const char *swig_SBTypeCategory_base_names[] = {0};
67827 static swig_lua_class _wrap_class_SBTypeCategory = { "SBTypeCategory", "SBTypeCategory", &SWIGTYPE_p_lldb__SBTypeCategory,_proxy__wrap_new_SBTypeCategory, swig_delete_SBTypeCategory, swig_SBTypeCategory_methods, swig_SBTypeCategory_attributes, &swig_SBTypeCategory_Sf_SwigStatic, swig_SBTypeCategory_meta, swig_SBTypeCategory_bases, swig_SBTypeCategory_base_names };
67828 
_wrap_new_SBTypeEnumMember__SWIG_0(lua_State * L)67829 static int _wrap_new_SBTypeEnumMember__SWIG_0(lua_State* L) {
67830   {
67831     int SWIG_arg = 0;
67832     lldb::SBTypeEnumMember *result = 0 ;
67833 
67834     SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",0,0)
67835     result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember();
67836     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++;
67837     return SWIG_arg;
67838 
67839     fail: SWIGUNUSED;
67840   }
67841   lua_error(L);
67842   return 0;
67843 }
67844 
67845 
_wrap_new_SBTypeEnumMember__SWIG_1(lua_State * L)67846 static int _wrap_new_SBTypeEnumMember__SWIG_1(lua_State* L) {
67847   {
67848     int SWIG_arg = 0;
67849     lldb::SBTypeEnumMember *arg1 = 0 ;
67850     lldb::SBTypeEnumMember *result = 0 ;
67851 
67852     SWIG_check_num_args("lldb::SBTypeEnumMember::SBTypeEnumMember",1,1)
67853     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::SBTypeEnumMember",1,"lldb::SBTypeEnumMember const &");
67854 
67855     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
67856       SWIG_fail_ptr("new_SBTypeEnumMember",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
67857     }
67858 
67859     result = (lldb::SBTypeEnumMember *)new lldb::SBTypeEnumMember((lldb::SBTypeEnumMember const &)*arg1);
67860     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++;
67861     return SWIG_arg;
67862 
67863     fail: SWIGUNUSED;
67864   }
67865   lua_error(L);
67866   return 0;
67867 }
67868 
67869 
_wrap_new_SBTypeEnumMember(lua_State * L)67870 static int _wrap_new_SBTypeEnumMember(lua_State* L) {
67871   int argc;
67872   int argv[2]={
67873     1,2
67874   };
67875 
67876   argc = lua_gettop(L);
67877   if (argc == 0) {
67878     return _wrap_new_SBTypeEnumMember__SWIG_0(L);
67879   }
67880   if (argc == 1) {
67881     int _v = 0;
67882     {
67883       void *ptr;
67884       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeEnumMember, SWIG_POINTER_NO_NULL)) {
67885         _v = 0;
67886       } else {
67887         _v = 1;
67888       }
67889     }
67890     if (_v) {
67891       return _wrap_new_SBTypeEnumMember__SWIG_1(L);
67892     }
67893   }
67894 
67895   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeEnumMember'\n"
67896     "  Possible C/C++ prototypes are:\n"
67897     "    lldb::SBTypeEnumMember::SBTypeEnumMember()\n"
67898     "    lldb::SBTypeEnumMember::SBTypeEnumMember(lldb::SBTypeEnumMember const &)\n");
67899   lua_error(L);return 0;
67900 }
67901 
67902 
_wrap_SBTypeEnumMember_IsValid(lua_State * L)67903 static int _wrap_SBTypeEnumMember_IsValid(lua_State* L) {
67904   {
67905     int SWIG_arg = 0;
67906     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
67907     bool result;
67908 
67909     SWIG_check_num_args("lldb::SBTypeEnumMember::IsValid",1,1)
67910     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::IsValid",1,"lldb::SBTypeEnumMember const *");
67911 
67912     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
67913       SWIG_fail_ptr("SBTypeEnumMember_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
67914     }
67915 
67916     result = (bool)((lldb::SBTypeEnumMember const *)arg1)->IsValid();
67917     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
67918     return SWIG_arg;
67919 
67920     fail: SWIGUNUSED;
67921   }
67922   lua_error(L);
67923   return 0;
67924 }
67925 
67926 
_wrap_SBTypeEnumMember_GetValueAsSigned(lua_State * L)67927 static int _wrap_SBTypeEnumMember_GetValueAsSigned(lua_State* L) {
67928   {
67929     int SWIG_arg = 0;
67930     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
67931     int64_t result;
67932 
67933     SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsSigned",1,1)
67934     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsSigned",1,"lldb::SBTypeEnumMember *");
67935 
67936     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
67937       SWIG_fail_ptr("SBTypeEnumMember_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
67938     }
67939 
67940     result = (int64_t)(arg1)->GetValueAsSigned();
67941     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
67942     return SWIG_arg;
67943 
67944     fail: SWIGUNUSED;
67945   }
67946   lua_error(L);
67947   return 0;
67948 }
67949 
67950 
_wrap_SBTypeEnumMember_GetValueAsUnsigned(lua_State * L)67951 static int _wrap_SBTypeEnumMember_GetValueAsUnsigned(lua_State* L) {
67952   {
67953     int SWIG_arg = 0;
67954     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
67955     uint64_t result;
67956 
67957     SWIG_check_num_args("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,1)
67958     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetValueAsUnsigned",1,"lldb::SBTypeEnumMember *");
67959 
67960     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
67961       SWIG_fail_ptr("SBTypeEnumMember_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
67962     }
67963 
67964     result = (uint64_t)(arg1)->GetValueAsUnsigned();
67965     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
67966     return SWIG_arg;
67967 
67968     fail: SWIGUNUSED;
67969   }
67970   lua_error(L);
67971   return 0;
67972 }
67973 
67974 
_wrap_SBTypeEnumMember_GetName(lua_State * L)67975 static int _wrap_SBTypeEnumMember_GetName(lua_State* L) {
67976   {
67977     int SWIG_arg = 0;
67978     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
67979     char *result = 0 ;
67980 
67981     SWIG_check_num_args("lldb::SBTypeEnumMember::GetName",1,1)
67982     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetName",1,"lldb::SBTypeEnumMember *");
67983 
67984     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
67985       SWIG_fail_ptr("SBTypeEnumMember_GetName",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
67986     }
67987 
67988     result = (char *)(arg1)->GetName();
67989     lua_pushstring(L,(const char *)result); SWIG_arg++;
67990     return SWIG_arg;
67991 
67992     fail: SWIGUNUSED;
67993   }
67994   lua_error(L);
67995   return 0;
67996 }
67997 
67998 
_wrap_SBTypeEnumMember_GetType(lua_State * L)67999 static int _wrap_SBTypeEnumMember_GetType(lua_State* L) {
68000   {
68001     int SWIG_arg = 0;
68002     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
68003     lldb::SBType result;
68004 
68005     SWIG_check_num_args("lldb::SBTypeEnumMember::GetType",1,1)
68006     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetType",1,"lldb::SBTypeEnumMember *");
68007 
68008     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
68009       SWIG_fail_ptr("SBTypeEnumMember_GetType",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
68010     }
68011 
68012     result = (arg1)->GetType();
68013     {
68014       lldb::SBType * resultptr = new lldb::SBType(result);
68015       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
68016     }
68017     return SWIG_arg;
68018 
68019     fail: SWIGUNUSED;
68020   }
68021   lua_error(L);
68022   return 0;
68023 }
68024 
68025 
_wrap_SBTypeEnumMember_GetDescription(lua_State * L)68026 static int _wrap_SBTypeEnumMember_GetDescription(lua_State* L) {
68027   {
68028     int SWIG_arg = 0;
68029     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
68030     lldb::SBStream *arg2 = 0 ;
68031     lldb::DescriptionLevel arg3 ;
68032     bool result;
68033 
68034     SWIG_check_num_args("lldb::SBTypeEnumMember::GetDescription",3,3)
68035     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",1,"lldb::SBTypeEnumMember *");
68036     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",2,"lldb::SBStream &");
68037     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeEnumMember::GetDescription",3,"lldb::DescriptionLevel");
68038 
68039     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
68040       SWIG_fail_ptr("SBTypeEnumMember_GetDescription",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
68041     }
68042 
68043 
68044     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
68045       SWIG_fail_ptr("SBTypeEnumMember_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
68046     }
68047 
68048     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
68049     result = (bool)(arg1)->GetDescription(*arg2,arg3);
68050     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68051     return SWIG_arg;
68052 
68053     fail: SWIGUNUSED;
68054   }
68055   lua_error(L);
68056   return 0;
68057 }
68058 
68059 
_wrap_SBTypeEnumMember___tostring(lua_State * L)68060 static int _wrap_SBTypeEnumMember___tostring(lua_State* L) {
68061   {
68062     int SWIG_arg = 0;
68063     lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) 0 ;
68064     std::string result;
68065 
68066     SWIG_check_num_args("lldb::SBTypeEnumMember::__repr__",1,1)
68067     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMember::__repr__",1,"lldb::SBTypeEnumMember *");
68068 
68069     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
68070       SWIG_fail_ptr("SBTypeEnumMember___tostring",1,SWIGTYPE_p_lldb__SBTypeEnumMember);
68071     }
68072 
68073     result = lldb_SBTypeEnumMember___repr__(arg1);
68074     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
68075     return SWIG_arg;
68076 
68077     fail: SWIGUNUSED;
68078   }
68079   lua_error(L);
68080   return 0;
68081 }
68082 
68083 
swig_delete_SBTypeEnumMember(void * obj)68084 static void swig_delete_SBTypeEnumMember(void *obj) {
68085 lldb::SBTypeEnumMember *arg1 = (lldb::SBTypeEnumMember *) obj;
68086 delete arg1;
68087 }
_proxy__wrap_new_SBTypeEnumMember(lua_State * L)68088 static int _proxy__wrap_new_SBTypeEnumMember(lua_State *L) {
68089     assert(lua_istable(L,1));
68090     lua_pushcfunction(L,_wrap_new_SBTypeEnumMember);
68091     assert(!lua_isnil(L,-1));
68092     lua_replace(L,1); /* replace our table with real constructor */
68093     lua_call(L,lua_gettop(L)-1,1);
68094     return 1;
68095 }
68096 static swig_lua_attribute swig_SBTypeEnumMember_attributes[] = {
68097     {0,0,0}
68098 };
68099 static swig_lua_method swig_SBTypeEnumMember_methods[]= {
68100     { "IsValid", _wrap_SBTypeEnumMember_IsValid},
68101     { "GetValueAsSigned", _wrap_SBTypeEnumMember_GetValueAsSigned},
68102     { "GetValueAsUnsigned", _wrap_SBTypeEnumMember_GetValueAsUnsigned},
68103     { "GetName", _wrap_SBTypeEnumMember_GetName},
68104     { "GetType", _wrap_SBTypeEnumMember_GetType},
68105     { "GetDescription", _wrap_SBTypeEnumMember_GetDescription},
68106     { "__tostring", _wrap_SBTypeEnumMember___tostring},
68107     {0,0}
68108 };
68109 static swig_lua_method swig_SBTypeEnumMember_meta[] = {
68110     { "__tostring", _wrap_SBTypeEnumMember___tostring},
68111     {0,0}
68112 };
68113 
68114 static swig_lua_attribute swig_SBTypeEnumMember_Sf_SwigStatic_attributes[] = {
68115     {0,0,0}
68116 };
68117 static swig_lua_const_info swig_SBTypeEnumMember_Sf_SwigStatic_constants[]= {
68118     {0,0,0,0,0,0}
68119 };
68120 static swig_lua_method swig_SBTypeEnumMember_Sf_SwigStatic_methods[]= {
68121     {0,0}
68122 };
68123 static swig_lua_class* swig_SBTypeEnumMember_Sf_SwigStatic_classes[]= {
68124     0
68125 };
68126 
68127 static swig_lua_namespace swig_SBTypeEnumMember_Sf_SwigStatic = {
68128     "SBTypeEnumMember",
68129     swig_SBTypeEnumMember_Sf_SwigStatic_methods,
68130     swig_SBTypeEnumMember_Sf_SwigStatic_attributes,
68131     swig_SBTypeEnumMember_Sf_SwigStatic_constants,
68132     swig_SBTypeEnumMember_Sf_SwigStatic_classes,
68133     0
68134 };
68135 static swig_lua_class *swig_SBTypeEnumMember_bases[] = {0};
68136 static const char *swig_SBTypeEnumMember_base_names[] = {0};
68137 static swig_lua_class _wrap_class_SBTypeEnumMember = { "SBTypeEnumMember", "SBTypeEnumMember", &SWIGTYPE_p_lldb__SBTypeEnumMember,_proxy__wrap_new_SBTypeEnumMember, swig_delete_SBTypeEnumMember, swig_SBTypeEnumMember_methods, swig_SBTypeEnumMember_attributes, &swig_SBTypeEnumMember_Sf_SwigStatic, swig_SBTypeEnumMember_meta, swig_SBTypeEnumMember_bases, swig_SBTypeEnumMember_base_names };
68138 
_wrap_new_SBTypeEnumMemberList__SWIG_0(lua_State * L)68139 static int _wrap_new_SBTypeEnumMemberList__SWIG_0(lua_State* L) {
68140   {
68141     int SWIG_arg = 0;
68142     lldb::SBTypeEnumMemberList *result = 0 ;
68143 
68144     SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",0,0)
68145     result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList();
68146     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++;
68147     return SWIG_arg;
68148 
68149     fail: SWIGUNUSED;
68150   }
68151   lua_error(L);
68152   return 0;
68153 }
68154 
68155 
_wrap_new_SBTypeEnumMemberList__SWIG_1(lua_State * L)68156 static int _wrap_new_SBTypeEnumMemberList__SWIG_1(lua_State* L) {
68157   {
68158     int SWIG_arg = 0;
68159     lldb::SBTypeEnumMemberList *arg1 = 0 ;
68160     lldb::SBTypeEnumMemberList *result = 0 ;
68161 
68162     SWIG_check_num_args("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,1)
68163     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::SBTypeEnumMemberList",1,"lldb::SBTypeEnumMemberList const &");
68164 
68165     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){
68166       SWIG_fail_ptr("new_SBTypeEnumMemberList",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList);
68167     }
68168 
68169     result = (lldb::SBTypeEnumMemberList *)new lldb::SBTypeEnumMemberList((lldb::SBTypeEnumMemberList const &)*arg1);
68170     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeEnumMemberList,1); SWIG_arg++;
68171     return SWIG_arg;
68172 
68173     fail: SWIGUNUSED;
68174   }
68175   lua_error(L);
68176   return 0;
68177 }
68178 
68179 
_wrap_new_SBTypeEnumMemberList(lua_State * L)68180 static int _wrap_new_SBTypeEnumMemberList(lua_State* L) {
68181   int argc;
68182   int argv[2]={
68183     1,2
68184   };
68185 
68186   argc = lua_gettop(L);
68187   if (argc == 0) {
68188     return _wrap_new_SBTypeEnumMemberList__SWIG_0(L);
68189   }
68190   if (argc == 1) {
68191     int _v = 0;
68192     {
68193       void *ptr;
68194       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeEnumMemberList, SWIG_POINTER_NO_NULL)) {
68195         _v = 0;
68196       } else {
68197         _v = 1;
68198       }
68199     }
68200     if (_v) {
68201       return _wrap_new_SBTypeEnumMemberList__SWIG_1(L);
68202     }
68203   }
68204 
68205   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeEnumMemberList'\n"
68206     "  Possible C/C++ prototypes are:\n"
68207     "    lldb::SBTypeEnumMemberList::SBTypeEnumMemberList()\n"
68208     "    lldb::SBTypeEnumMemberList::SBTypeEnumMemberList(lldb::SBTypeEnumMemberList const &)\n");
68209   lua_error(L);return 0;
68210 }
68211 
68212 
_wrap_SBTypeEnumMemberList_IsValid(lua_State * L)68213 static int _wrap_SBTypeEnumMemberList_IsValid(lua_State* L) {
68214   {
68215     int SWIG_arg = 0;
68216     lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ;
68217     bool result;
68218 
68219     SWIG_check_num_args("lldb::SBTypeEnumMemberList::IsValid",1,1)
68220     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::IsValid",1,"lldb::SBTypeEnumMemberList *");
68221 
68222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){
68223       SWIG_fail_ptr("SBTypeEnumMemberList_IsValid",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList);
68224     }
68225 
68226     result = (bool)(arg1)->IsValid();
68227     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68228     return SWIG_arg;
68229 
68230     fail: SWIGUNUSED;
68231   }
68232   lua_error(L);
68233   return 0;
68234 }
68235 
68236 
_wrap_SBTypeEnumMemberList_Append(lua_State * L)68237 static int _wrap_SBTypeEnumMemberList_Append(lua_State* L) {
68238   {
68239     int SWIG_arg = 0;
68240     lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ;
68241     lldb::SBTypeEnumMember arg2 ;
68242     lldb::SBTypeEnumMember *argp2 ;
68243 
68244     SWIG_check_num_args("lldb::SBTypeEnumMemberList::Append",2,2)
68245     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",1,"lldb::SBTypeEnumMemberList *");
68246     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::Append",2,"lldb::SBTypeEnumMember");
68247 
68248     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){
68249       SWIG_fail_ptr("SBTypeEnumMemberList_Append",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList);
68250     }
68251 
68252 
68253     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBTypeEnumMember,0))){
68254       SWIG_fail_ptr("SBTypeEnumMemberList_Append",2,SWIGTYPE_p_lldb__SBTypeEnumMember);
68255     }
68256     arg2 = *argp2;
68257 
68258     (arg1)->Append(arg2);
68259 
68260     return SWIG_arg;
68261 
68262     fail: SWIGUNUSED;
68263   }
68264   lua_error(L);
68265   return 0;
68266 }
68267 
68268 
_wrap_SBTypeEnumMemberList_GetTypeEnumMemberAtIndex(lua_State * L)68269 static int _wrap_SBTypeEnumMemberList_GetTypeEnumMemberAtIndex(lua_State* L) {
68270   {
68271     int SWIG_arg = 0;
68272     lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ;
68273     uint32_t arg2 ;
68274     lldb::SBTypeEnumMember result;
68275 
68276     SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,2)
68277     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",1,"lldb::SBTypeEnumMemberList *");
68278     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex",2,"uint32_t");
68279 
68280     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){
68281       SWIG_fail_ptr("SBTypeEnumMemberList_GetTypeEnumMemberAtIndex",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList);
68282     }
68283 
68284     arg2 = (uint32_t)lua_tointeger(L, 2);
68285     result = (arg1)->GetTypeEnumMemberAtIndex(arg2);
68286     {
68287       lldb::SBTypeEnumMember * resultptr = new lldb::SBTypeEnumMember(result);
68288       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeEnumMember,1); SWIG_arg++;
68289     }
68290     return SWIG_arg;
68291 
68292     fail: SWIGUNUSED;
68293   }
68294   lua_error(L);
68295   return 0;
68296 }
68297 
68298 
_wrap_SBTypeEnumMemberList_GetSize(lua_State * L)68299 static int _wrap_SBTypeEnumMemberList_GetSize(lua_State* L) {
68300   {
68301     int SWIG_arg = 0;
68302     lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) 0 ;
68303     uint32_t result;
68304 
68305     SWIG_check_num_args("lldb::SBTypeEnumMemberList::GetSize",1,1)
68306     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeEnumMemberList::GetSize",1,"lldb::SBTypeEnumMemberList *");
68307 
68308     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeEnumMemberList,0))){
68309       SWIG_fail_ptr("SBTypeEnumMemberList_GetSize",1,SWIGTYPE_p_lldb__SBTypeEnumMemberList);
68310     }
68311 
68312     result = (uint32_t)(arg1)->GetSize();
68313     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
68314     return SWIG_arg;
68315 
68316     fail: SWIGUNUSED;
68317   }
68318   lua_error(L);
68319   return 0;
68320 }
68321 
68322 
swig_delete_SBTypeEnumMemberList(void * obj)68323 static void swig_delete_SBTypeEnumMemberList(void *obj) {
68324 lldb::SBTypeEnumMemberList *arg1 = (lldb::SBTypeEnumMemberList *) obj;
68325 delete arg1;
68326 }
_proxy__wrap_new_SBTypeEnumMemberList(lua_State * L)68327 static int _proxy__wrap_new_SBTypeEnumMemberList(lua_State *L) {
68328     assert(lua_istable(L,1));
68329     lua_pushcfunction(L,_wrap_new_SBTypeEnumMemberList);
68330     assert(!lua_isnil(L,-1));
68331     lua_replace(L,1); /* replace our table with real constructor */
68332     lua_call(L,lua_gettop(L)-1,1);
68333     return 1;
68334 }
68335 static swig_lua_attribute swig_SBTypeEnumMemberList_attributes[] = {
68336     {0,0,0}
68337 };
68338 static swig_lua_method swig_SBTypeEnumMemberList_methods[]= {
68339     { "IsValid", _wrap_SBTypeEnumMemberList_IsValid},
68340     { "Append", _wrap_SBTypeEnumMemberList_Append},
68341     { "GetTypeEnumMemberAtIndex", _wrap_SBTypeEnumMemberList_GetTypeEnumMemberAtIndex},
68342     { "GetSize", _wrap_SBTypeEnumMemberList_GetSize},
68343     {0,0}
68344 };
68345 static swig_lua_method swig_SBTypeEnumMemberList_meta[] = {
68346     {0,0}
68347 };
68348 
68349 static swig_lua_attribute swig_SBTypeEnumMemberList_Sf_SwigStatic_attributes[] = {
68350     {0,0,0}
68351 };
68352 static swig_lua_const_info swig_SBTypeEnumMemberList_Sf_SwigStatic_constants[]= {
68353     {0,0,0,0,0,0}
68354 };
68355 static swig_lua_method swig_SBTypeEnumMemberList_Sf_SwigStatic_methods[]= {
68356     {0,0}
68357 };
68358 static swig_lua_class* swig_SBTypeEnumMemberList_Sf_SwigStatic_classes[]= {
68359     0
68360 };
68361 
68362 static swig_lua_namespace swig_SBTypeEnumMemberList_Sf_SwigStatic = {
68363     "SBTypeEnumMemberList",
68364     swig_SBTypeEnumMemberList_Sf_SwigStatic_methods,
68365     swig_SBTypeEnumMemberList_Sf_SwigStatic_attributes,
68366     swig_SBTypeEnumMemberList_Sf_SwigStatic_constants,
68367     swig_SBTypeEnumMemberList_Sf_SwigStatic_classes,
68368     0
68369 };
68370 static swig_lua_class *swig_SBTypeEnumMemberList_bases[] = {0};
68371 static const char *swig_SBTypeEnumMemberList_base_names[] = {0};
68372 static swig_lua_class _wrap_class_SBTypeEnumMemberList = { "SBTypeEnumMemberList", "SBTypeEnumMemberList", &SWIGTYPE_p_lldb__SBTypeEnumMemberList,_proxy__wrap_new_SBTypeEnumMemberList, swig_delete_SBTypeEnumMemberList, swig_SBTypeEnumMemberList_methods, swig_SBTypeEnumMemberList_attributes, &swig_SBTypeEnumMemberList_Sf_SwigStatic, swig_SBTypeEnumMemberList_meta, swig_SBTypeEnumMemberList_bases, swig_SBTypeEnumMemberList_base_names };
68373 
_wrap_new_SBTypeFilter__SWIG_0(lua_State * L)68374 static int _wrap_new_SBTypeFilter__SWIG_0(lua_State* L) {
68375   {
68376     int SWIG_arg = 0;
68377     lldb::SBTypeFilter *result = 0 ;
68378 
68379     SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",0,0)
68380     result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter();
68381     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
68382     return SWIG_arg;
68383 
68384     fail: SWIGUNUSED;
68385   }
68386   lua_error(L);
68387   return 0;
68388 }
68389 
68390 
_wrap_new_SBTypeFilter__SWIG_1(lua_State * L)68391 static int _wrap_new_SBTypeFilter__SWIG_1(lua_State* L) {
68392   {
68393     int SWIG_arg = 0;
68394     uint32_t arg1 ;
68395     lldb::SBTypeFilter *result = 0 ;
68396 
68397     SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1)
68398     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"uint32_t");
68399     arg1 = (uint32_t)lua_tointeger(L, 1);
68400     result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter(arg1);
68401     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
68402     return SWIG_arg;
68403 
68404     fail: SWIGUNUSED;
68405   }
68406   lua_error(L);
68407   return 0;
68408 }
68409 
68410 
_wrap_new_SBTypeFilter__SWIG_2(lua_State * L)68411 static int _wrap_new_SBTypeFilter__SWIG_2(lua_State* L) {
68412   {
68413     int SWIG_arg = 0;
68414     lldb::SBTypeFilter *arg1 = 0 ;
68415     lldb::SBTypeFilter *result = 0 ;
68416 
68417     SWIG_check_num_args("lldb::SBTypeFilter::SBTypeFilter",1,1)
68418     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SBTypeFilter",1,"lldb::SBTypeFilter const &");
68419 
68420     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68421       SWIG_fail_ptr("new_SBTypeFilter",1,SWIGTYPE_p_lldb__SBTypeFilter);
68422     }
68423 
68424     result = (lldb::SBTypeFilter *)new lldb::SBTypeFilter((lldb::SBTypeFilter const &)*arg1);
68425     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
68426     return SWIG_arg;
68427 
68428     fail: SWIGUNUSED;
68429   }
68430   lua_error(L);
68431   return 0;
68432 }
68433 
68434 
_wrap_new_SBTypeFilter(lua_State * L)68435 static int _wrap_new_SBTypeFilter(lua_State* L) {
68436   int argc;
68437   int argv[2]={
68438     1,2
68439   };
68440 
68441   argc = lua_gettop(L);
68442   if (argc == 0) {
68443     return _wrap_new_SBTypeFilter__SWIG_0(L);
68444   }
68445   if (argc == 1) {
68446     int _v = 0;
68447     {
68448       void *ptr;
68449       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeFilter, SWIG_POINTER_NO_NULL)) {
68450         _v = 0;
68451       } else {
68452         _v = 1;
68453       }
68454     }
68455     if (_v) {
68456       return _wrap_new_SBTypeFilter__SWIG_2(L);
68457     }
68458   }
68459   if (argc == 1) {
68460     int _v = 0;
68461     {
68462       _v = lua_isnumber(L,argv[0]);
68463     }
68464     if (_v) {
68465       return _wrap_new_SBTypeFilter__SWIG_1(L);
68466     }
68467   }
68468 
68469   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeFilter'\n"
68470     "  Possible C/C++ prototypes are:\n"
68471     "    lldb::SBTypeFilter::SBTypeFilter()\n"
68472     "    lldb::SBTypeFilter::SBTypeFilter(uint32_t)\n"
68473     "    lldb::SBTypeFilter::SBTypeFilter(lldb::SBTypeFilter const &)\n");
68474   lua_error(L);return 0;
68475 }
68476 
68477 
_wrap_SBTypeFilter_IsValid(lua_State * L)68478 static int _wrap_SBTypeFilter_IsValid(lua_State* L) {
68479   {
68480     int SWIG_arg = 0;
68481     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68482     bool result;
68483 
68484     SWIG_check_num_args("lldb::SBTypeFilter::IsValid",1,1)
68485     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsValid",1,"lldb::SBTypeFilter const *");
68486 
68487     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68488       SWIG_fail_ptr("SBTypeFilter_IsValid",1,SWIGTYPE_p_lldb__SBTypeFilter);
68489     }
68490 
68491     result = (bool)((lldb::SBTypeFilter const *)arg1)->IsValid();
68492     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68493     return SWIG_arg;
68494 
68495     fail: SWIGUNUSED;
68496   }
68497   lua_error(L);
68498   return 0;
68499 }
68500 
68501 
_wrap_SBTypeFilter_GetNumberOfExpressionPaths(lua_State * L)68502 static int _wrap_SBTypeFilter_GetNumberOfExpressionPaths(lua_State* L) {
68503   {
68504     int SWIG_arg = 0;
68505     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68506     uint32_t result;
68507 
68508     SWIG_check_num_args("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,1)
68509     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetNumberOfExpressionPaths",1,"lldb::SBTypeFilter *");
68510 
68511     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68512       SWIG_fail_ptr("SBTypeFilter_GetNumberOfExpressionPaths",1,SWIGTYPE_p_lldb__SBTypeFilter);
68513     }
68514 
68515     result = (uint32_t)(arg1)->GetNumberOfExpressionPaths();
68516     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
68517     return SWIG_arg;
68518 
68519     fail: SWIGUNUSED;
68520   }
68521   lua_error(L);
68522   return 0;
68523 }
68524 
68525 
_wrap_SBTypeFilter_GetExpressionPathAtIndex(lua_State * L)68526 static int _wrap_SBTypeFilter_GetExpressionPathAtIndex(lua_State* L) {
68527   {
68528     int SWIG_arg = 0;
68529     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68530     uint32_t arg2 ;
68531     char *result = 0 ;
68532 
68533     SWIG_check_num_args("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,2)
68534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",1,"lldb::SBTypeFilter *");
68535     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetExpressionPathAtIndex",2,"uint32_t");
68536 
68537     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68538       SWIG_fail_ptr("SBTypeFilter_GetExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter);
68539     }
68540 
68541     arg2 = (uint32_t)lua_tointeger(L, 2);
68542     result = (char *)(arg1)->GetExpressionPathAtIndex(arg2);
68543     lua_pushstring(L,(const char *)result); SWIG_arg++;
68544     return SWIG_arg;
68545 
68546     fail: SWIGUNUSED;
68547   }
68548   lua_error(L);
68549   return 0;
68550 }
68551 
68552 
_wrap_SBTypeFilter_ReplaceExpressionPathAtIndex(lua_State * L)68553 static int _wrap_SBTypeFilter_ReplaceExpressionPathAtIndex(lua_State* L) {
68554   {
68555     int SWIG_arg = 0;
68556     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68557     uint32_t arg2 ;
68558     char *arg3 = (char *) 0 ;
68559     bool result;
68560 
68561     SWIG_check_num_args("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,3)
68562     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",1,"lldb::SBTypeFilter *");
68563     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",2,"uint32_t");
68564     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::ReplaceExpressionPathAtIndex",3,"char const *");
68565 
68566     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68567       SWIG_fail_ptr("SBTypeFilter_ReplaceExpressionPathAtIndex",1,SWIGTYPE_p_lldb__SBTypeFilter);
68568     }
68569 
68570     arg2 = (uint32_t)lua_tointeger(L, 2);
68571     arg3 = (char *)lua_tostring(L, 3);
68572     result = (bool)(arg1)->ReplaceExpressionPathAtIndex(arg2,(char const *)arg3);
68573     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68574     return SWIG_arg;
68575 
68576     fail: SWIGUNUSED;
68577   }
68578   lua_error(L);
68579   return 0;
68580 }
68581 
68582 
_wrap_SBTypeFilter_AppendExpressionPath(lua_State * L)68583 static int _wrap_SBTypeFilter_AppendExpressionPath(lua_State* L) {
68584   {
68585     int SWIG_arg = 0;
68586     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68587     char *arg2 = (char *) 0 ;
68588 
68589     SWIG_check_num_args("lldb::SBTypeFilter::AppendExpressionPath",2,2)
68590     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",1,"lldb::SBTypeFilter *");
68591     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::AppendExpressionPath",2,"char const *");
68592 
68593     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68594       SWIG_fail_ptr("SBTypeFilter_AppendExpressionPath",1,SWIGTYPE_p_lldb__SBTypeFilter);
68595     }
68596 
68597     arg2 = (char *)lua_tostring(L, 2);
68598     (arg1)->AppendExpressionPath((char const *)arg2);
68599 
68600     return SWIG_arg;
68601 
68602     fail: SWIGUNUSED;
68603   }
68604   lua_error(L);
68605   return 0;
68606 }
68607 
68608 
_wrap_SBTypeFilter_Clear(lua_State * L)68609 static int _wrap_SBTypeFilter_Clear(lua_State* L) {
68610   {
68611     int SWIG_arg = 0;
68612     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68613 
68614     SWIG_check_num_args("lldb::SBTypeFilter::Clear",1,1)
68615     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::Clear",1,"lldb::SBTypeFilter *");
68616 
68617     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68618       SWIG_fail_ptr("SBTypeFilter_Clear",1,SWIGTYPE_p_lldb__SBTypeFilter);
68619     }
68620 
68621     (arg1)->Clear();
68622 
68623     return SWIG_arg;
68624 
68625     fail: SWIGUNUSED;
68626   }
68627   lua_error(L);
68628   return 0;
68629 }
68630 
68631 
_wrap_SBTypeFilter_GetOptions(lua_State * L)68632 static int _wrap_SBTypeFilter_GetOptions(lua_State* L) {
68633   {
68634     int SWIG_arg = 0;
68635     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68636     uint32_t result;
68637 
68638     SWIG_check_num_args("lldb::SBTypeFilter::GetOptions",1,1)
68639     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetOptions",1,"lldb::SBTypeFilter *");
68640 
68641     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68642       SWIG_fail_ptr("SBTypeFilter_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter);
68643     }
68644 
68645     result = (uint32_t)(arg1)->GetOptions();
68646     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
68647     return SWIG_arg;
68648 
68649     fail: SWIGUNUSED;
68650   }
68651   lua_error(L);
68652   return 0;
68653 }
68654 
68655 
_wrap_SBTypeFilter_SetOptions(lua_State * L)68656 static int _wrap_SBTypeFilter_SetOptions(lua_State* L) {
68657   {
68658     int SWIG_arg = 0;
68659     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68660     uint32_t arg2 ;
68661 
68662     SWIG_check_num_args("lldb::SBTypeFilter::SetOptions",2,2)
68663     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",1,"lldb::SBTypeFilter *");
68664     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::SetOptions",2,"uint32_t");
68665 
68666     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68667       SWIG_fail_ptr("SBTypeFilter_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFilter);
68668     }
68669 
68670     arg2 = (uint32_t)lua_tointeger(L, 2);
68671     (arg1)->SetOptions(arg2);
68672 
68673     return SWIG_arg;
68674 
68675     fail: SWIGUNUSED;
68676   }
68677   lua_error(L);
68678   return 0;
68679 }
68680 
68681 
_wrap_SBTypeFilter_GetDescription(lua_State * L)68682 static int _wrap_SBTypeFilter_GetDescription(lua_State* L) {
68683   {
68684     int SWIG_arg = 0;
68685     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68686     lldb::SBStream *arg2 = 0 ;
68687     lldb::DescriptionLevel arg3 ;
68688     bool result;
68689 
68690     SWIG_check_num_args("lldb::SBTypeFilter::GetDescription",3,3)
68691     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",1,"lldb::SBTypeFilter *");
68692     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",2,"lldb::SBStream &");
68693     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFilter::GetDescription",3,"lldb::DescriptionLevel");
68694 
68695     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68696       SWIG_fail_ptr("SBTypeFilter_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFilter);
68697     }
68698 
68699 
68700     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
68701       SWIG_fail_ptr("SBTypeFilter_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
68702     }
68703 
68704     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
68705     result = (bool)(arg1)->GetDescription(*arg2,arg3);
68706     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68707     return SWIG_arg;
68708 
68709     fail: SWIGUNUSED;
68710   }
68711   lua_error(L);
68712   return 0;
68713 }
68714 
68715 
_wrap_SBTypeFilter_IsEqualTo(lua_State * L)68716 static int _wrap_SBTypeFilter_IsEqualTo(lua_State* L) {
68717   {
68718     int SWIG_arg = 0;
68719     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68720     lldb::SBTypeFilter *arg2 = 0 ;
68721     bool result;
68722 
68723     SWIG_check_num_args("lldb::SBTypeFilter::IsEqualTo",2,2)
68724     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",1,"lldb::SBTypeFilter *");
68725     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::IsEqualTo",2,"lldb::SBTypeFilter &");
68726 
68727     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68728       SWIG_fail_ptr("SBTypeFilter_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFilter);
68729     }
68730 
68731 
68732     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68733       SWIG_fail_ptr("SBTypeFilter_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFilter);
68734     }
68735 
68736     result = (bool)(arg1)->IsEqualTo(*arg2);
68737     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68738     return SWIG_arg;
68739 
68740     fail: SWIGUNUSED;
68741   }
68742   lua_error(L);
68743   return 0;
68744 }
68745 
68746 
_wrap_SBTypeFilter___eq(lua_State * L)68747 static int _wrap_SBTypeFilter___eq(lua_State* L) {
68748   {
68749     int SWIG_arg = 0;
68750     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68751     lldb::SBTypeFilter *arg2 = 0 ;
68752     bool result;
68753 
68754     SWIG_check_num_args("lldb::SBTypeFilter::operator ==",2,2)
68755     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",1,"lldb::SBTypeFilter *");
68756     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFilter::operator ==",2,"lldb::SBTypeFilter &");
68757 
68758     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68759       SWIG_fail_ptr("SBTypeFilter___eq",1,SWIGTYPE_p_lldb__SBTypeFilter);
68760     }
68761 
68762 
68763     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68764       SWIG_fail_ptr("SBTypeFilter___eq",2,SWIGTYPE_p_lldb__SBTypeFilter);
68765     }
68766 
68767     result = (bool)(arg1)->operator ==(*arg2);
68768     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
68769     return SWIG_arg;
68770 
68771     fail: SWIGUNUSED;
68772   }
68773   lua_error(L);
68774   return 0;
68775 }
68776 
68777 
_wrap_SBTypeFilter___tostring(lua_State * L)68778 static int _wrap_SBTypeFilter___tostring(lua_State* L) {
68779   {
68780     int SWIG_arg = 0;
68781     lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) 0 ;
68782     std::string result;
68783 
68784     SWIG_check_num_args("lldb::SBTypeFilter::__repr__",1,1)
68785     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFilter::__repr__",1,"lldb::SBTypeFilter *");
68786 
68787     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFilter,0))){
68788       SWIG_fail_ptr("SBTypeFilter___tostring",1,SWIGTYPE_p_lldb__SBTypeFilter);
68789     }
68790 
68791     result = lldb_SBTypeFilter___repr__(arg1);
68792     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
68793     return SWIG_arg;
68794 
68795     fail: SWIGUNUSED;
68796   }
68797   lua_error(L);
68798   return 0;
68799 }
68800 
68801 
swig_delete_SBTypeFilter(void * obj)68802 static void swig_delete_SBTypeFilter(void *obj) {
68803 lldb::SBTypeFilter *arg1 = (lldb::SBTypeFilter *) obj;
68804 delete arg1;
68805 }
_proxy__wrap_new_SBTypeFilter(lua_State * L)68806 static int _proxy__wrap_new_SBTypeFilter(lua_State *L) {
68807     assert(lua_istable(L,1));
68808     lua_pushcfunction(L,_wrap_new_SBTypeFilter);
68809     assert(!lua_isnil(L,-1));
68810     lua_replace(L,1); /* replace our table with real constructor */
68811     lua_call(L,lua_gettop(L)-1,1);
68812     return 1;
68813 }
68814 static swig_lua_attribute swig_SBTypeFilter_attributes[] = {
68815     {0,0,0}
68816 };
68817 static swig_lua_method swig_SBTypeFilter_methods[]= {
68818     { "IsValid", _wrap_SBTypeFilter_IsValid},
68819     { "GetNumberOfExpressionPaths", _wrap_SBTypeFilter_GetNumberOfExpressionPaths},
68820     { "GetExpressionPathAtIndex", _wrap_SBTypeFilter_GetExpressionPathAtIndex},
68821     { "ReplaceExpressionPathAtIndex", _wrap_SBTypeFilter_ReplaceExpressionPathAtIndex},
68822     { "AppendExpressionPath", _wrap_SBTypeFilter_AppendExpressionPath},
68823     { "Clear", _wrap_SBTypeFilter_Clear},
68824     { "GetOptions", _wrap_SBTypeFilter_GetOptions},
68825     { "SetOptions", _wrap_SBTypeFilter_SetOptions},
68826     { "GetDescription", _wrap_SBTypeFilter_GetDescription},
68827     { "IsEqualTo", _wrap_SBTypeFilter_IsEqualTo},
68828     { "__eq", _wrap_SBTypeFilter___eq},
68829     { "__tostring", _wrap_SBTypeFilter___tostring},
68830     {0,0}
68831 };
68832 static swig_lua_method swig_SBTypeFilter_meta[] = {
68833     { "__eq", _wrap_SBTypeFilter___eq},
68834     { "__tostring", _wrap_SBTypeFilter___tostring},
68835     {0,0}
68836 };
68837 
68838 static swig_lua_attribute swig_SBTypeFilter_Sf_SwigStatic_attributes[] = {
68839     {0,0,0}
68840 };
68841 static swig_lua_const_info swig_SBTypeFilter_Sf_SwigStatic_constants[]= {
68842     {0,0,0,0,0,0}
68843 };
68844 static swig_lua_method swig_SBTypeFilter_Sf_SwigStatic_methods[]= {
68845     {0,0}
68846 };
68847 static swig_lua_class* swig_SBTypeFilter_Sf_SwigStatic_classes[]= {
68848     0
68849 };
68850 
68851 static swig_lua_namespace swig_SBTypeFilter_Sf_SwigStatic = {
68852     "SBTypeFilter",
68853     swig_SBTypeFilter_Sf_SwigStatic_methods,
68854     swig_SBTypeFilter_Sf_SwigStatic_attributes,
68855     swig_SBTypeFilter_Sf_SwigStatic_constants,
68856     swig_SBTypeFilter_Sf_SwigStatic_classes,
68857     0
68858 };
68859 static swig_lua_class *swig_SBTypeFilter_bases[] = {0};
68860 static const char *swig_SBTypeFilter_base_names[] = {0};
68861 static swig_lua_class _wrap_class_SBTypeFilter = { "SBTypeFilter", "SBTypeFilter", &SWIGTYPE_p_lldb__SBTypeFilter,_proxy__wrap_new_SBTypeFilter, swig_delete_SBTypeFilter, swig_SBTypeFilter_methods, swig_SBTypeFilter_attributes, &swig_SBTypeFilter_Sf_SwigStatic, swig_SBTypeFilter_meta, swig_SBTypeFilter_bases, swig_SBTypeFilter_base_names };
68862 
_wrap_new_SBTypeFormat__SWIG_0(lua_State * L)68863 static int _wrap_new_SBTypeFormat__SWIG_0(lua_State* L) {
68864   {
68865     int SWIG_arg = 0;
68866     lldb::SBTypeFormat *result = 0 ;
68867 
68868     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",0,0)
68869     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat();
68870     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68871     return SWIG_arg;
68872 
68873     fail: SWIGUNUSED;
68874   }
68875   lua_error(L);
68876   return 0;
68877 }
68878 
68879 
_wrap_new_SBTypeFormat__SWIG_1(lua_State * L)68880 static int _wrap_new_SBTypeFormat__SWIG_1(lua_State* L) {
68881   {
68882     int SWIG_arg = 0;
68883     lldb::Format arg1 ;
68884     uint32_t arg2 ;
68885     lldb::SBTypeFormat *result = 0 ;
68886 
68887     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2)
68888     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format");
68889     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t");
68890     arg1 = (lldb::Format)lua_tointeger(L, 1);
68891     arg2 = (uint32_t)lua_tointeger(L, 2);
68892     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1,arg2);
68893     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68894     return SWIG_arg;
68895 
68896     fail: SWIGUNUSED;
68897   }
68898   lua_error(L);
68899   return 0;
68900 }
68901 
68902 
_wrap_new_SBTypeFormat__SWIG_2(lua_State * L)68903 static int _wrap_new_SBTypeFormat__SWIG_2(lua_State* L) {
68904   {
68905     int SWIG_arg = 0;
68906     lldb::Format arg1 ;
68907     lldb::SBTypeFormat *result = 0 ;
68908 
68909     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1)
68910     if(!lua_isinteger(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::Format");
68911     arg1 = (lldb::Format)lua_tointeger(L, 1);
68912     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat(arg1);
68913     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68914     return SWIG_arg;
68915 
68916     fail: SWIGUNUSED;
68917   }
68918   lua_error(L);
68919   return 0;
68920 }
68921 
68922 
_wrap_new_SBTypeFormat__SWIG_3(lua_State * L)68923 static int _wrap_new_SBTypeFormat__SWIG_3(lua_State* L) {
68924   {
68925     int SWIG_arg = 0;
68926     char *arg1 = (char *) 0 ;
68927     uint32_t arg2 ;
68928     lldb::SBTypeFormat *result = 0 ;
68929 
68930     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",2,2)
68931     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *");
68932     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",2,"uint32_t");
68933     arg1 = (char *)lua_tostring(L, 1);
68934     arg2 = (uint32_t)lua_tointeger(L, 2);
68935     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1,arg2);
68936     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68937     return SWIG_arg;
68938 
68939     fail: SWIGUNUSED;
68940   }
68941   lua_error(L);
68942   return 0;
68943 }
68944 
68945 
_wrap_new_SBTypeFormat__SWIG_4(lua_State * L)68946 static int _wrap_new_SBTypeFormat__SWIG_4(lua_State* L) {
68947   {
68948     int SWIG_arg = 0;
68949     char *arg1 = (char *) 0 ;
68950     lldb::SBTypeFormat *result = 0 ;
68951 
68952     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1)
68953     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"char const *");
68954     arg1 = (char *)lua_tostring(L, 1);
68955     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((char const *)arg1);
68956     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68957     return SWIG_arg;
68958 
68959     fail: SWIGUNUSED;
68960   }
68961   lua_error(L);
68962   return 0;
68963 }
68964 
68965 
_wrap_new_SBTypeFormat__SWIG_5(lua_State * L)68966 static int _wrap_new_SBTypeFormat__SWIG_5(lua_State* L) {
68967   {
68968     int SWIG_arg = 0;
68969     lldb::SBTypeFormat *arg1 = 0 ;
68970     lldb::SBTypeFormat *result = 0 ;
68971 
68972     SWIG_check_num_args("lldb::SBTypeFormat::SBTypeFormat",1,1)
68973     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SBTypeFormat",1,"lldb::SBTypeFormat const &");
68974 
68975     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
68976       SWIG_fail_ptr("new_SBTypeFormat",1,SWIGTYPE_p_lldb__SBTypeFormat);
68977     }
68978 
68979     result = (lldb::SBTypeFormat *)new lldb::SBTypeFormat((lldb::SBTypeFormat const &)*arg1);
68980     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
68981     return SWIG_arg;
68982 
68983     fail: SWIGUNUSED;
68984   }
68985   lua_error(L);
68986   return 0;
68987 }
68988 
68989 
_wrap_new_SBTypeFormat(lua_State * L)68990 static int _wrap_new_SBTypeFormat(lua_State* L) {
68991   int argc;
68992   int argv[3]={
68993     1,2,3
68994   };
68995 
68996   argc = lua_gettop(L);
68997   if (argc == 0) {
68998     return _wrap_new_SBTypeFormat__SWIG_0(L);
68999   }
69000   if (argc == 1) {
69001     int _v = 0;
69002     {
69003       void *ptr;
69004       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeFormat, SWIG_POINTER_NO_NULL)) {
69005         _v = 0;
69006       } else {
69007         _v = 1;
69008       }
69009     }
69010     if (_v) {
69011       return _wrap_new_SBTypeFormat__SWIG_5(L);
69012     }
69013   }
69014   if (argc == 1) {
69015     int _v = 0;
69016     {
69017       _v = lua_isnumber(L,argv[0]);
69018     }
69019     if (_v) {
69020       return _wrap_new_SBTypeFormat__SWIG_2(L);
69021     }
69022   }
69023   if (argc == 1) {
69024     int _v = 0;
69025     {
69026       _v = SWIG_lua_isnilstring(L,argv[0]);
69027     }
69028     if (_v) {
69029       return _wrap_new_SBTypeFormat__SWIG_4(L);
69030     }
69031   }
69032   if (argc == 2) {
69033     int _v = 0;
69034     {
69035       _v = lua_isnumber(L,argv[0]);
69036     }
69037     if (_v) {
69038       {
69039         _v = lua_isnumber(L,argv[1]);
69040       }
69041       if (_v) {
69042         return _wrap_new_SBTypeFormat__SWIG_1(L);
69043       }
69044     }
69045   }
69046   if (argc == 2) {
69047     int _v = 0;
69048     {
69049       _v = SWIG_lua_isnilstring(L,argv[0]);
69050     }
69051     if (_v) {
69052       {
69053         _v = lua_isnumber(L,argv[1]);
69054       }
69055       if (_v) {
69056         return _wrap_new_SBTypeFormat__SWIG_3(L);
69057       }
69058     }
69059   }
69060 
69061   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeFormat'\n"
69062     "  Possible C/C++ prototypes are:\n"
69063     "    lldb::SBTypeFormat::SBTypeFormat()\n"
69064     "    lldb::SBTypeFormat::SBTypeFormat(lldb::Format,uint32_t)\n"
69065     "    lldb::SBTypeFormat::SBTypeFormat(lldb::Format)\n"
69066     "    lldb::SBTypeFormat::SBTypeFormat(char const *,uint32_t)\n"
69067     "    lldb::SBTypeFormat::SBTypeFormat(char const *)\n"
69068     "    lldb::SBTypeFormat::SBTypeFormat(lldb::SBTypeFormat const &)\n");
69069   lua_error(L);return 0;
69070 }
69071 
69072 
_wrap_SBTypeFormat_IsValid(lua_State * L)69073 static int _wrap_SBTypeFormat_IsValid(lua_State* L) {
69074   {
69075     int SWIG_arg = 0;
69076     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69077     bool result;
69078 
69079     SWIG_check_num_args("lldb::SBTypeFormat::IsValid",1,1)
69080     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsValid",1,"lldb::SBTypeFormat const *");
69081 
69082     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69083       SWIG_fail_ptr("SBTypeFormat_IsValid",1,SWIGTYPE_p_lldb__SBTypeFormat);
69084     }
69085 
69086     result = (bool)((lldb::SBTypeFormat const *)arg1)->IsValid();
69087     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69088     return SWIG_arg;
69089 
69090     fail: SWIGUNUSED;
69091   }
69092   lua_error(L);
69093   return 0;
69094 }
69095 
69096 
_wrap_SBTypeFormat_GetFormat(lua_State * L)69097 static int _wrap_SBTypeFormat_GetFormat(lua_State* L) {
69098   {
69099     int SWIG_arg = 0;
69100     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69101     lldb::Format result;
69102 
69103     SWIG_check_num_args("lldb::SBTypeFormat::GetFormat",1,1)
69104     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetFormat",1,"lldb::SBTypeFormat *");
69105 
69106     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69107       SWIG_fail_ptr("SBTypeFormat_GetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat);
69108     }
69109 
69110     result = (lldb::Format)(arg1)->GetFormat();
69111     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
69112     return SWIG_arg;
69113 
69114     fail: SWIGUNUSED;
69115   }
69116   lua_error(L);
69117   return 0;
69118 }
69119 
69120 
_wrap_SBTypeFormat_GetTypeName(lua_State * L)69121 static int _wrap_SBTypeFormat_GetTypeName(lua_State* L) {
69122   {
69123     int SWIG_arg = 0;
69124     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69125     char *result = 0 ;
69126 
69127     SWIG_check_num_args("lldb::SBTypeFormat::GetTypeName",1,1)
69128     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetTypeName",1,"lldb::SBTypeFormat *");
69129 
69130     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69131       SWIG_fail_ptr("SBTypeFormat_GetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat);
69132     }
69133 
69134     result = (char *)(arg1)->GetTypeName();
69135     lua_pushstring(L,(const char *)result); SWIG_arg++;
69136     return SWIG_arg;
69137 
69138     fail: SWIGUNUSED;
69139   }
69140   lua_error(L);
69141   return 0;
69142 }
69143 
69144 
_wrap_SBTypeFormat_GetOptions(lua_State * L)69145 static int _wrap_SBTypeFormat_GetOptions(lua_State* L) {
69146   {
69147     int SWIG_arg = 0;
69148     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69149     uint32_t result;
69150 
69151     SWIG_check_num_args("lldb::SBTypeFormat::GetOptions",1,1)
69152     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetOptions",1,"lldb::SBTypeFormat *");
69153 
69154     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69155       SWIG_fail_ptr("SBTypeFormat_GetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat);
69156     }
69157 
69158     result = (uint32_t)(arg1)->GetOptions();
69159     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
69160     return SWIG_arg;
69161 
69162     fail: SWIGUNUSED;
69163   }
69164   lua_error(L);
69165   return 0;
69166 }
69167 
69168 
_wrap_SBTypeFormat_SetFormat(lua_State * L)69169 static int _wrap_SBTypeFormat_SetFormat(lua_State* L) {
69170   {
69171     int SWIG_arg = 0;
69172     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69173     lldb::Format arg2 ;
69174 
69175     SWIG_check_num_args("lldb::SBTypeFormat::SetFormat",2,2)
69176     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",1,"lldb::SBTypeFormat *");
69177     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetFormat",2,"lldb::Format");
69178 
69179     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69180       SWIG_fail_ptr("SBTypeFormat_SetFormat",1,SWIGTYPE_p_lldb__SBTypeFormat);
69181     }
69182 
69183     arg2 = (lldb::Format)lua_tointeger(L, 2);
69184     (arg1)->SetFormat(arg2);
69185 
69186     return SWIG_arg;
69187 
69188     fail: SWIGUNUSED;
69189   }
69190   lua_error(L);
69191   return 0;
69192 }
69193 
69194 
_wrap_SBTypeFormat_SetTypeName(lua_State * L)69195 static int _wrap_SBTypeFormat_SetTypeName(lua_State* L) {
69196   {
69197     int SWIG_arg = 0;
69198     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69199     char *arg2 = (char *) 0 ;
69200 
69201     SWIG_check_num_args("lldb::SBTypeFormat::SetTypeName",2,2)
69202     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",1,"lldb::SBTypeFormat *");
69203     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetTypeName",2,"char const *");
69204 
69205     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69206       SWIG_fail_ptr("SBTypeFormat_SetTypeName",1,SWIGTYPE_p_lldb__SBTypeFormat);
69207     }
69208 
69209     arg2 = (char *)lua_tostring(L, 2);
69210     (arg1)->SetTypeName((char const *)arg2);
69211 
69212     return SWIG_arg;
69213 
69214     fail: SWIGUNUSED;
69215   }
69216   lua_error(L);
69217   return 0;
69218 }
69219 
69220 
_wrap_SBTypeFormat_SetOptions(lua_State * L)69221 static int _wrap_SBTypeFormat_SetOptions(lua_State* L) {
69222   {
69223     int SWIG_arg = 0;
69224     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69225     uint32_t arg2 ;
69226 
69227     SWIG_check_num_args("lldb::SBTypeFormat::SetOptions",2,2)
69228     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",1,"lldb::SBTypeFormat *");
69229     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::SetOptions",2,"uint32_t");
69230 
69231     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69232       SWIG_fail_ptr("SBTypeFormat_SetOptions",1,SWIGTYPE_p_lldb__SBTypeFormat);
69233     }
69234 
69235     arg2 = (uint32_t)lua_tointeger(L, 2);
69236     (arg1)->SetOptions(arg2);
69237 
69238     return SWIG_arg;
69239 
69240     fail: SWIGUNUSED;
69241   }
69242   lua_error(L);
69243   return 0;
69244 }
69245 
69246 
_wrap_SBTypeFormat_GetDescription(lua_State * L)69247 static int _wrap_SBTypeFormat_GetDescription(lua_State* L) {
69248   {
69249     int SWIG_arg = 0;
69250     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69251     lldb::SBStream *arg2 = 0 ;
69252     lldb::DescriptionLevel arg3 ;
69253     bool result;
69254 
69255     SWIG_check_num_args("lldb::SBTypeFormat::GetDescription",3,3)
69256     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",1,"lldb::SBTypeFormat *");
69257     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",2,"lldb::SBStream &");
69258     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeFormat::GetDescription",3,"lldb::DescriptionLevel");
69259 
69260     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69261       SWIG_fail_ptr("SBTypeFormat_GetDescription",1,SWIGTYPE_p_lldb__SBTypeFormat);
69262     }
69263 
69264 
69265     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
69266       SWIG_fail_ptr("SBTypeFormat_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
69267     }
69268 
69269     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
69270     result = (bool)(arg1)->GetDescription(*arg2,arg3);
69271     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69272     return SWIG_arg;
69273 
69274     fail: SWIGUNUSED;
69275   }
69276   lua_error(L);
69277   return 0;
69278 }
69279 
69280 
_wrap_SBTypeFormat_IsEqualTo(lua_State * L)69281 static int _wrap_SBTypeFormat_IsEqualTo(lua_State* L) {
69282   {
69283     int SWIG_arg = 0;
69284     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69285     lldb::SBTypeFormat *arg2 = 0 ;
69286     bool result;
69287 
69288     SWIG_check_num_args("lldb::SBTypeFormat::IsEqualTo",2,2)
69289     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",1,"lldb::SBTypeFormat *");
69290     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::IsEqualTo",2,"lldb::SBTypeFormat &");
69291 
69292     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69293       SWIG_fail_ptr("SBTypeFormat_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeFormat);
69294     }
69295 
69296 
69297     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69298       SWIG_fail_ptr("SBTypeFormat_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeFormat);
69299     }
69300 
69301     result = (bool)(arg1)->IsEqualTo(*arg2);
69302     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69303     return SWIG_arg;
69304 
69305     fail: SWIGUNUSED;
69306   }
69307   lua_error(L);
69308   return 0;
69309 }
69310 
69311 
_wrap_SBTypeFormat___eq(lua_State * L)69312 static int _wrap_SBTypeFormat___eq(lua_State* L) {
69313   {
69314     int SWIG_arg = 0;
69315     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69316     lldb::SBTypeFormat *arg2 = 0 ;
69317     bool result;
69318 
69319     SWIG_check_num_args("lldb::SBTypeFormat::operator ==",2,2)
69320     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",1,"lldb::SBTypeFormat *");
69321     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeFormat::operator ==",2,"lldb::SBTypeFormat &");
69322 
69323     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69324       SWIG_fail_ptr("SBTypeFormat___eq",1,SWIGTYPE_p_lldb__SBTypeFormat);
69325     }
69326 
69327 
69328     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69329       SWIG_fail_ptr("SBTypeFormat___eq",2,SWIGTYPE_p_lldb__SBTypeFormat);
69330     }
69331 
69332     result = (bool)(arg1)->operator ==(*arg2);
69333     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69334     return SWIG_arg;
69335 
69336     fail: SWIGUNUSED;
69337   }
69338   lua_error(L);
69339   return 0;
69340 }
69341 
69342 
_wrap_SBTypeFormat___tostring(lua_State * L)69343 static int _wrap_SBTypeFormat___tostring(lua_State* L) {
69344   {
69345     int SWIG_arg = 0;
69346     lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) 0 ;
69347     std::string result;
69348 
69349     SWIG_check_num_args("lldb::SBTypeFormat::__repr__",1,1)
69350     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeFormat::__repr__",1,"lldb::SBTypeFormat *");
69351 
69352     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeFormat,0))){
69353       SWIG_fail_ptr("SBTypeFormat___tostring",1,SWIGTYPE_p_lldb__SBTypeFormat);
69354     }
69355 
69356     result = lldb_SBTypeFormat___repr__(arg1);
69357     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
69358     return SWIG_arg;
69359 
69360     fail: SWIGUNUSED;
69361   }
69362   lua_error(L);
69363   return 0;
69364 }
69365 
69366 
swig_delete_SBTypeFormat(void * obj)69367 static void swig_delete_SBTypeFormat(void *obj) {
69368 lldb::SBTypeFormat *arg1 = (lldb::SBTypeFormat *) obj;
69369 delete arg1;
69370 }
_proxy__wrap_new_SBTypeFormat(lua_State * L)69371 static int _proxy__wrap_new_SBTypeFormat(lua_State *L) {
69372     assert(lua_istable(L,1));
69373     lua_pushcfunction(L,_wrap_new_SBTypeFormat);
69374     assert(!lua_isnil(L,-1));
69375     lua_replace(L,1); /* replace our table with real constructor */
69376     lua_call(L,lua_gettop(L)-1,1);
69377     return 1;
69378 }
69379 static swig_lua_attribute swig_SBTypeFormat_attributes[] = {
69380     {0,0,0}
69381 };
69382 static swig_lua_method swig_SBTypeFormat_methods[]= {
69383     { "IsValid", _wrap_SBTypeFormat_IsValid},
69384     { "GetFormat", _wrap_SBTypeFormat_GetFormat},
69385     { "GetTypeName", _wrap_SBTypeFormat_GetTypeName},
69386     { "GetOptions", _wrap_SBTypeFormat_GetOptions},
69387     { "SetFormat", _wrap_SBTypeFormat_SetFormat},
69388     { "SetTypeName", _wrap_SBTypeFormat_SetTypeName},
69389     { "SetOptions", _wrap_SBTypeFormat_SetOptions},
69390     { "GetDescription", _wrap_SBTypeFormat_GetDescription},
69391     { "IsEqualTo", _wrap_SBTypeFormat_IsEqualTo},
69392     { "__eq", _wrap_SBTypeFormat___eq},
69393     { "__tostring", _wrap_SBTypeFormat___tostring},
69394     {0,0}
69395 };
69396 static swig_lua_method swig_SBTypeFormat_meta[] = {
69397     { "__eq", _wrap_SBTypeFormat___eq},
69398     { "__tostring", _wrap_SBTypeFormat___tostring},
69399     {0,0}
69400 };
69401 
69402 static swig_lua_attribute swig_SBTypeFormat_Sf_SwigStatic_attributes[] = {
69403     {0,0,0}
69404 };
69405 static swig_lua_const_info swig_SBTypeFormat_Sf_SwigStatic_constants[]= {
69406     {0,0,0,0,0,0}
69407 };
69408 static swig_lua_method swig_SBTypeFormat_Sf_SwigStatic_methods[]= {
69409     {0,0}
69410 };
69411 static swig_lua_class* swig_SBTypeFormat_Sf_SwigStatic_classes[]= {
69412     0
69413 };
69414 
69415 static swig_lua_namespace swig_SBTypeFormat_Sf_SwigStatic = {
69416     "SBTypeFormat",
69417     swig_SBTypeFormat_Sf_SwigStatic_methods,
69418     swig_SBTypeFormat_Sf_SwigStatic_attributes,
69419     swig_SBTypeFormat_Sf_SwigStatic_constants,
69420     swig_SBTypeFormat_Sf_SwigStatic_classes,
69421     0
69422 };
69423 static swig_lua_class *swig_SBTypeFormat_bases[] = {0};
69424 static const char *swig_SBTypeFormat_base_names[] = {0};
69425 static swig_lua_class _wrap_class_SBTypeFormat = { "SBTypeFormat", "SBTypeFormat", &SWIGTYPE_p_lldb__SBTypeFormat,_proxy__wrap_new_SBTypeFormat, swig_delete_SBTypeFormat, swig_SBTypeFormat_methods, swig_SBTypeFormat_attributes, &swig_SBTypeFormat_Sf_SwigStatic, swig_SBTypeFormat_meta, swig_SBTypeFormat_bases, swig_SBTypeFormat_base_names };
69426 
_wrap_new_SBTypeNameSpecifier__SWIG_0(lua_State * L)69427 static int _wrap_new_SBTypeNameSpecifier__SWIG_0(lua_State* L) {
69428   {
69429     int SWIG_arg = 0;
69430     lldb::SBTypeNameSpecifier *result = 0 ;
69431 
69432     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",0,0)
69433     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier();
69434     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69435     return SWIG_arg;
69436 
69437     fail: SWIGUNUSED;
69438   }
69439   lua_error(L);
69440   return 0;
69441 }
69442 
69443 
_wrap_new_SBTypeNameSpecifier__SWIG_1(lua_State * L)69444 static int _wrap_new_SBTypeNameSpecifier__SWIG_1(lua_State* L) {
69445   {
69446     int SWIG_arg = 0;
69447     char *arg1 = (char *) 0 ;
69448     bool arg2 ;
69449     lldb::SBTypeNameSpecifier *result = 0 ;
69450 
69451     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2)
69452     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *");
69453     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"bool");
69454     arg1 = (char *)lua_tostring(L, 1);
69455     arg2 = (lua_toboolean(L, 2)!=0);
69456     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2);
69457     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69458     return SWIG_arg;
69459 
69460     fail: SWIGUNUSED;
69461   }
69462   lua_error(L);
69463   return 0;
69464 }
69465 
69466 
_wrap_new_SBTypeNameSpecifier__SWIG_2(lua_State * L)69467 static int _wrap_new_SBTypeNameSpecifier__SWIG_2(lua_State* L) {
69468   {
69469     int SWIG_arg = 0;
69470     char *arg1 = (char *) 0 ;
69471     lldb::SBTypeNameSpecifier *result = 0 ;
69472 
69473     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1)
69474     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *");
69475     arg1 = (char *)lua_tostring(L, 1);
69476     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1);
69477     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69478     return SWIG_arg;
69479 
69480     fail: SWIGUNUSED;
69481   }
69482   lua_error(L);
69483   return 0;
69484 }
69485 
69486 
_wrap_new_SBTypeNameSpecifier__SWIG_3(lua_State * L)69487 static int _wrap_new_SBTypeNameSpecifier__SWIG_3(lua_State* L) {
69488   {
69489     int SWIG_arg = 0;
69490     char *arg1 = (char *) 0 ;
69491     lldb::FormatterMatchType arg2 ;
69492     lldb::SBTypeNameSpecifier *result = 0 ;
69493 
69494     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,2)
69495     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"char const *");
69496     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",2,"lldb::FormatterMatchType");
69497     arg1 = (char *)lua_tostring(L, 1);
69498     arg2 = (lldb::FormatterMatchType)lua_tointeger(L, 2);
69499     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((char const *)arg1,arg2);
69500     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69501     return SWIG_arg;
69502 
69503     fail: SWIGUNUSED;
69504   }
69505   lua_error(L);
69506   return 0;
69507 }
69508 
69509 
_wrap_new_SBTypeNameSpecifier__SWIG_4(lua_State * L)69510 static int _wrap_new_SBTypeNameSpecifier__SWIG_4(lua_State* L) {
69511   {
69512     int SWIG_arg = 0;
69513     lldb::SBType arg1 ;
69514     lldb::SBType *argp1 ;
69515     lldb::SBTypeNameSpecifier *result = 0 ;
69516 
69517     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1)
69518     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBType");
69519 
69520     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_lldb__SBType,0))){
69521       SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBType);
69522     }
69523     arg1 = *argp1;
69524 
69525     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(arg1);
69526     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69527     return SWIG_arg;
69528 
69529     fail: SWIGUNUSED;
69530   }
69531   lua_error(L);
69532   return 0;
69533 }
69534 
69535 
_wrap_new_SBTypeNameSpecifier__SWIG_5(lua_State * L)69536 static int _wrap_new_SBTypeNameSpecifier__SWIG_5(lua_State* L) {
69537   {
69538     int SWIG_arg = 0;
69539     lldb::SBTypeNameSpecifier *arg1 = 0 ;
69540     lldb::SBTypeNameSpecifier *result = 0 ;
69541 
69542     SWIG_check_num_args("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,1)
69543     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::SBTypeNameSpecifier",1,"lldb::SBTypeNameSpecifier const &");
69544 
69545     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69546       SWIG_fail_ptr("new_SBTypeNameSpecifier",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69547     }
69548 
69549     result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier((lldb::SBTypeNameSpecifier const &)*arg1);
69550     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeNameSpecifier,1); SWIG_arg++;
69551     return SWIG_arg;
69552 
69553     fail: SWIGUNUSED;
69554   }
69555   lua_error(L);
69556   return 0;
69557 }
69558 
69559 
_wrap_new_SBTypeNameSpecifier(lua_State * L)69560 static int _wrap_new_SBTypeNameSpecifier(lua_State* L) {
69561   int argc;
69562   int argv[3]={
69563     1,2,3
69564   };
69565 
69566   argc = lua_gettop(L);
69567   if (argc == 0) {
69568     return _wrap_new_SBTypeNameSpecifier__SWIG_0(L);
69569   }
69570   if (argc == 1) {
69571     int _v = 0;
69572     {
69573       void *ptr;
69574       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBType, SWIG_POINTER_NO_NULL)) {
69575         _v = 0;
69576       } else {
69577         _v = 1;
69578       }
69579     }
69580     if (_v) {
69581       return _wrap_new_SBTypeNameSpecifier__SWIG_4(L);
69582     }
69583   }
69584   if (argc == 1) {
69585     int _v = 0;
69586     {
69587       void *ptr;
69588       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeNameSpecifier, SWIG_POINTER_NO_NULL)) {
69589         _v = 0;
69590       } else {
69591         _v = 1;
69592       }
69593     }
69594     if (_v) {
69595       return _wrap_new_SBTypeNameSpecifier__SWIG_5(L);
69596     }
69597   }
69598   if (argc == 1) {
69599     int _v = 0;
69600     {
69601       _v = SWIG_lua_isnilstring(L,argv[0]);
69602     }
69603     if (_v) {
69604       return _wrap_new_SBTypeNameSpecifier__SWIG_2(L);
69605     }
69606   }
69607   if (argc == 2) {
69608     int _v = 0;
69609     {
69610       _v = SWIG_lua_isnilstring(L,argv[0]);
69611     }
69612     if (_v) {
69613       {
69614         _v = lua_isboolean(L,argv[1]);
69615       }
69616       if (_v) {
69617         return _wrap_new_SBTypeNameSpecifier__SWIG_1(L);
69618       }
69619     }
69620   }
69621   if (argc == 2) {
69622     int _v = 0;
69623     {
69624       _v = SWIG_lua_isnilstring(L,argv[0]);
69625     }
69626     if (_v) {
69627       {
69628         _v = lua_isnumber(L,argv[1]);
69629       }
69630       if (_v) {
69631         return _wrap_new_SBTypeNameSpecifier__SWIG_3(L);
69632       }
69633     }
69634   }
69635 
69636   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeNameSpecifier'\n"
69637     "  Possible C/C++ prototypes are:\n"
69638     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier()\n"
69639     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(char const *,bool)\n"
69640     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(char const *)\n"
69641     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(char const *,lldb::FormatterMatchType)\n"
69642     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(lldb::SBType)\n"
69643     "    lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(lldb::SBTypeNameSpecifier const &)\n");
69644   lua_error(L);return 0;
69645 }
69646 
69647 
_wrap_SBTypeNameSpecifier_IsValid(lua_State * L)69648 static int _wrap_SBTypeNameSpecifier_IsValid(lua_State* L) {
69649   {
69650     int SWIG_arg = 0;
69651     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69652     bool result;
69653 
69654     SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsValid",1,1)
69655     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsValid",1,"lldb::SBTypeNameSpecifier const *");
69656 
69657     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69658       SWIG_fail_ptr("SBTypeNameSpecifier_IsValid",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69659     }
69660 
69661     result = (bool)((lldb::SBTypeNameSpecifier const *)arg1)->IsValid();
69662     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69663     return SWIG_arg;
69664 
69665     fail: SWIGUNUSED;
69666   }
69667   lua_error(L);
69668   return 0;
69669 }
69670 
69671 
_wrap_SBTypeNameSpecifier_GetName(lua_State * L)69672 static int _wrap_SBTypeNameSpecifier_GetName(lua_State* L) {
69673   {
69674     int SWIG_arg = 0;
69675     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69676     char *result = 0 ;
69677 
69678     SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetName",1,1)
69679     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetName",1,"lldb::SBTypeNameSpecifier *");
69680 
69681     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69682       SWIG_fail_ptr("SBTypeNameSpecifier_GetName",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69683     }
69684 
69685     result = (char *)(arg1)->GetName();
69686     lua_pushstring(L,(const char *)result); SWIG_arg++;
69687     return SWIG_arg;
69688 
69689     fail: SWIGUNUSED;
69690   }
69691   lua_error(L);
69692   return 0;
69693 }
69694 
69695 
_wrap_SBTypeNameSpecifier_GetType(lua_State * L)69696 static int _wrap_SBTypeNameSpecifier_GetType(lua_State* L) {
69697   {
69698     int SWIG_arg = 0;
69699     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69700     lldb::SBType result;
69701 
69702     SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetType",1,1)
69703     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetType",1,"lldb::SBTypeNameSpecifier *");
69704 
69705     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69706       SWIG_fail_ptr("SBTypeNameSpecifier_GetType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69707     }
69708 
69709     result = (arg1)->GetType();
69710     {
69711       lldb::SBType * resultptr = new lldb::SBType(result);
69712       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
69713     }
69714     return SWIG_arg;
69715 
69716     fail: SWIGUNUSED;
69717   }
69718   lua_error(L);
69719   return 0;
69720 }
69721 
69722 
_wrap_SBTypeNameSpecifier_GetMatchType(lua_State * L)69723 static int _wrap_SBTypeNameSpecifier_GetMatchType(lua_State* L) {
69724   {
69725     int SWIG_arg = 0;
69726     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69727     lldb::FormatterMatchType result;
69728 
69729     SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetMatchType",1,1)
69730     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetMatchType",1,"lldb::SBTypeNameSpecifier *");
69731 
69732     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69733       SWIG_fail_ptr("SBTypeNameSpecifier_GetMatchType",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69734     }
69735 
69736     result = (lldb::FormatterMatchType)(arg1)->GetMatchType();
69737     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
69738     return SWIG_arg;
69739 
69740     fail: SWIGUNUSED;
69741   }
69742   lua_error(L);
69743   return 0;
69744 }
69745 
69746 
_wrap_SBTypeNameSpecifier_IsRegex(lua_State * L)69747 static int _wrap_SBTypeNameSpecifier_IsRegex(lua_State* L) {
69748   {
69749     int SWIG_arg = 0;
69750     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69751     bool result;
69752 
69753     SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsRegex",1,1)
69754     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsRegex",1,"lldb::SBTypeNameSpecifier *");
69755 
69756     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69757       SWIG_fail_ptr("SBTypeNameSpecifier_IsRegex",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69758     }
69759 
69760     result = (bool)(arg1)->IsRegex();
69761     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69762     return SWIG_arg;
69763 
69764     fail: SWIGUNUSED;
69765   }
69766   lua_error(L);
69767   return 0;
69768 }
69769 
69770 
_wrap_SBTypeNameSpecifier_GetDescription(lua_State * L)69771 static int _wrap_SBTypeNameSpecifier_GetDescription(lua_State* L) {
69772   {
69773     int SWIG_arg = 0;
69774     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69775     lldb::SBStream *arg2 = 0 ;
69776     lldb::DescriptionLevel arg3 ;
69777     bool result;
69778 
69779     SWIG_check_num_args("lldb::SBTypeNameSpecifier::GetDescription",3,3)
69780     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",1,"lldb::SBTypeNameSpecifier *");
69781     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",2,"lldb::SBStream &");
69782     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::GetDescription",3,"lldb::DescriptionLevel");
69783 
69784     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69785       SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69786     }
69787 
69788 
69789     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
69790       SWIG_fail_ptr("SBTypeNameSpecifier_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
69791     }
69792 
69793     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
69794     result = (bool)(arg1)->GetDescription(*arg2,arg3);
69795     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69796     return SWIG_arg;
69797 
69798     fail: SWIGUNUSED;
69799   }
69800   lua_error(L);
69801   return 0;
69802 }
69803 
69804 
_wrap_SBTypeNameSpecifier_IsEqualTo(lua_State * L)69805 static int _wrap_SBTypeNameSpecifier_IsEqualTo(lua_State* L) {
69806   {
69807     int SWIG_arg = 0;
69808     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69809     lldb::SBTypeNameSpecifier *arg2 = 0 ;
69810     bool result;
69811 
69812     SWIG_check_num_args("lldb::SBTypeNameSpecifier::IsEqualTo",2,2)
69813     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",1,"lldb::SBTypeNameSpecifier *");
69814     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::IsEqualTo",2,"lldb::SBTypeNameSpecifier &");
69815 
69816     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69817       SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69818     }
69819 
69820 
69821     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69822       SWIG_fail_ptr("SBTypeNameSpecifier_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69823     }
69824 
69825     result = (bool)(arg1)->IsEqualTo(*arg2);
69826     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69827     return SWIG_arg;
69828 
69829     fail: SWIGUNUSED;
69830   }
69831   lua_error(L);
69832   return 0;
69833 }
69834 
69835 
_wrap_SBTypeNameSpecifier___eq(lua_State * L)69836 static int _wrap_SBTypeNameSpecifier___eq(lua_State* L) {
69837   {
69838     int SWIG_arg = 0;
69839     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69840     lldb::SBTypeNameSpecifier *arg2 = 0 ;
69841     bool result;
69842 
69843     SWIG_check_num_args("lldb::SBTypeNameSpecifier::operator ==",2,2)
69844     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",1,"lldb::SBTypeNameSpecifier *");
69845     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::operator ==",2,"lldb::SBTypeNameSpecifier &");
69846 
69847     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69848       SWIG_fail_ptr("SBTypeNameSpecifier___eq",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69849     }
69850 
69851 
69852     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69853       SWIG_fail_ptr("SBTypeNameSpecifier___eq",2,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69854     }
69855 
69856     result = (bool)(arg1)->operator ==(*arg2);
69857     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
69858     return SWIG_arg;
69859 
69860     fail: SWIGUNUSED;
69861   }
69862   lua_error(L);
69863   return 0;
69864 }
69865 
69866 
_wrap_SBTypeNameSpecifier___tostring(lua_State * L)69867 static int _wrap_SBTypeNameSpecifier___tostring(lua_State* L) {
69868   {
69869     int SWIG_arg = 0;
69870     lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) 0 ;
69871     std::string result;
69872 
69873     SWIG_check_num_args("lldb::SBTypeNameSpecifier::__repr__",1,1)
69874     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeNameSpecifier::__repr__",1,"lldb::SBTypeNameSpecifier *");
69875 
69876     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeNameSpecifier,0))){
69877       SWIG_fail_ptr("SBTypeNameSpecifier___tostring",1,SWIGTYPE_p_lldb__SBTypeNameSpecifier);
69878     }
69879 
69880     result = lldb_SBTypeNameSpecifier___repr__(arg1);
69881     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
69882     return SWIG_arg;
69883 
69884     fail: SWIGUNUSED;
69885   }
69886   lua_error(L);
69887   return 0;
69888 }
69889 
69890 
swig_delete_SBTypeNameSpecifier(void * obj)69891 static void swig_delete_SBTypeNameSpecifier(void *obj) {
69892 lldb::SBTypeNameSpecifier *arg1 = (lldb::SBTypeNameSpecifier *) obj;
69893 delete arg1;
69894 }
_proxy__wrap_new_SBTypeNameSpecifier(lua_State * L)69895 static int _proxy__wrap_new_SBTypeNameSpecifier(lua_State *L) {
69896     assert(lua_istable(L,1));
69897     lua_pushcfunction(L,_wrap_new_SBTypeNameSpecifier);
69898     assert(!lua_isnil(L,-1));
69899     lua_replace(L,1); /* replace our table with real constructor */
69900     lua_call(L,lua_gettop(L)-1,1);
69901     return 1;
69902 }
69903 static swig_lua_attribute swig_SBTypeNameSpecifier_attributes[] = {
69904     {0,0,0}
69905 };
69906 static swig_lua_method swig_SBTypeNameSpecifier_methods[]= {
69907     { "IsValid", _wrap_SBTypeNameSpecifier_IsValid},
69908     { "GetName", _wrap_SBTypeNameSpecifier_GetName},
69909     { "GetType", _wrap_SBTypeNameSpecifier_GetType},
69910     { "GetMatchType", _wrap_SBTypeNameSpecifier_GetMatchType},
69911     { "IsRegex", _wrap_SBTypeNameSpecifier_IsRegex},
69912     { "GetDescription", _wrap_SBTypeNameSpecifier_GetDescription},
69913     { "IsEqualTo", _wrap_SBTypeNameSpecifier_IsEqualTo},
69914     { "__eq", _wrap_SBTypeNameSpecifier___eq},
69915     { "__tostring", _wrap_SBTypeNameSpecifier___tostring},
69916     {0,0}
69917 };
69918 static swig_lua_method swig_SBTypeNameSpecifier_meta[] = {
69919     { "__eq", _wrap_SBTypeNameSpecifier___eq},
69920     { "__tostring", _wrap_SBTypeNameSpecifier___tostring},
69921     {0,0}
69922 };
69923 
69924 static swig_lua_attribute swig_SBTypeNameSpecifier_Sf_SwigStatic_attributes[] = {
69925     {0,0,0}
69926 };
69927 static swig_lua_const_info swig_SBTypeNameSpecifier_Sf_SwigStatic_constants[]= {
69928     {0,0,0,0,0,0}
69929 };
69930 static swig_lua_method swig_SBTypeNameSpecifier_Sf_SwigStatic_methods[]= {
69931     {0,0}
69932 };
69933 static swig_lua_class* swig_SBTypeNameSpecifier_Sf_SwigStatic_classes[]= {
69934     0
69935 };
69936 
69937 static swig_lua_namespace swig_SBTypeNameSpecifier_Sf_SwigStatic = {
69938     "SBTypeNameSpecifier",
69939     swig_SBTypeNameSpecifier_Sf_SwigStatic_methods,
69940     swig_SBTypeNameSpecifier_Sf_SwigStatic_attributes,
69941     swig_SBTypeNameSpecifier_Sf_SwigStatic_constants,
69942     swig_SBTypeNameSpecifier_Sf_SwigStatic_classes,
69943     0
69944 };
69945 static swig_lua_class *swig_SBTypeNameSpecifier_bases[] = {0};
69946 static const char *swig_SBTypeNameSpecifier_base_names[] = {0};
69947 static swig_lua_class _wrap_class_SBTypeNameSpecifier = { "SBTypeNameSpecifier", "SBTypeNameSpecifier", &SWIGTYPE_p_lldb__SBTypeNameSpecifier,_proxy__wrap_new_SBTypeNameSpecifier, swig_delete_SBTypeNameSpecifier, swig_SBTypeNameSpecifier_methods, swig_SBTypeNameSpecifier_attributes, &swig_SBTypeNameSpecifier_Sf_SwigStatic, swig_SBTypeNameSpecifier_meta, swig_SBTypeNameSpecifier_bases, swig_SBTypeNameSpecifier_base_names };
69948 
_wrap_new_SBTypeSummaryOptions__SWIG_0(lua_State * L)69949 static int _wrap_new_SBTypeSummaryOptions__SWIG_0(lua_State* L) {
69950   {
69951     int SWIG_arg = 0;
69952     lldb::SBTypeSummaryOptions *result = 0 ;
69953 
69954     SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",0,0)
69955     result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions();
69956     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++;
69957     return SWIG_arg;
69958 
69959     fail: SWIGUNUSED;
69960   }
69961   lua_error(L);
69962   return 0;
69963 }
69964 
69965 
_wrap_new_SBTypeSummaryOptions__SWIG_1(lua_State * L)69966 static int _wrap_new_SBTypeSummaryOptions__SWIG_1(lua_State* L) {
69967   {
69968     int SWIG_arg = 0;
69969     lldb::SBTypeSummaryOptions *arg1 = 0 ;
69970     lldb::SBTypeSummaryOptions *result = 0 ;
69971 
69972     SWIG_check_num_args("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,1)
69973     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SBTypeSummaryOptions",1,"lldb::SBTypeSummaryOptions const &");
69974 
69975     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
69976       SWIG_fail_ptr("new_SBTypeSummaryOptions",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
69977     }
69978 
69979     result = (lldb::SBTypeSummaryOptions *)new lldb::SBTypeSummaryOptions((lldb::SBTypeSummaryOptions const &)*arg1);
69980     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummaryOptions,1); SWIG_arg++;
69981     return SWIG_arg;
69982 
69983     fail: SWIGUNUSED;
69984   }
69985   lua_error(L);
69986   return 0;
69987 }
69988 
69989 
_wrap_new_SBTypeSummaryOptions(lua_State * L)69990 static int _wrap_new_SBTypeSummaryOptions(lua_State* L) {
69991   int argc;
69992   int argv[2]={
69993     1,2
69994   };
69995 
69996   argc = lua_gettop(L);
69997   if (argc == 0) {
69998     return _wrap_new_SBTypeSummaryOptions__SWIG_0(L);
69999   }
70000   if (argc == 1) {
70001     int _v = 0;
70002     {
70003       void *ptr;
70004       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSummaryOptions, SWIG_POINTER_NO_NULL)) {
70005         _v = 0;
70006       } else {
70007         _v = 1;
70008       }
70009     }
70010     if (_v) {
70011       return _wrap_new_SBTypeSummaryOptions__SWIG_1(L);
70012     }
70013   }
70014 
70015   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeSummaryOptions'\n"
70016     "  Possible C/C++ prototypes are:\n"
70017     "    lldb::SBTypeSummaryOptions::SBTypeSummaryOptions()\n"
70018     "    lldb::SBTypeSummaryOptions::SBTypeSummaryOptions(lldb::SBTypeSummaryOptions const &)\n");
70019   lua_error(L);return 0;
70020 }
70021 
70022 
_wrap_SBTypeSummaryOptions_IsValid(lua_State * L)70023 static int _wrap_SBTypeSummaryOptions_IsValid(lua_State* L) {
70024   {
70025     int SWIG_arg = 0;
70026     lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ;
70027     bool result;
70028 
70029     SWIG_check_num_args("lldb::SBTypeSummaryOptions::IsValid",1,1)
70030     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::IsValid",1,"lldb::SBTypeSummaryOptions *");
70031 
70032     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
70033       SWIG_fail_ptr("SBTypeSummaryOptions_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
70034     }
70035 
70036     result = (bool)(arg1)->IsValid();
70037     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70038     return SWIG_arg;
70039 
70040     fail: SWIGUNUSED;
70041   }
70042   lua_error(L);
70043   return 0;
70044 }
70045 
70046 
_wrap_SBTypeSummaryOptions_GetLanguage(lua_State * L)70047 static int _wrap_SBTypeSummaryOptions_GetLanguage(lua_State* L) {
70048   {
70049     int SWIG_arg = 0;
70050     lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ;
70051     lldb::LanguageType result;
70052 
70053     SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetLanguage",1,1)
70054     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetLanguage",1,"lldb::SBTypeSummaryOptions *");
70055 
70056     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
70057       SWIG_fail_ptr("SBTypeSummaryOptions_GetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
70058     }
70059 
70060     result = (lldb::LanguageType)(arg1)->GetLanguage();
70061     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
70062     return SWIG_arg;
70063 
70064     fail: SWIGUNUSED;
70065   }
70066   lua_error(L);
70067   return 0;
70068 }
70069 
70070 
_wrap_SBTypeSummaryOptions_GetCapping(lua_State * L)70071 static int _wrap_SBTypeSummaryOptions_GetCapping(lua_State* L) {
70072   {
70073     int SWIG_arg = 0;
70074     lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ;
70075     lldb::TypeSummaryCapping result;
70076 
70077     SWIG_check_num_args("lldb::SBTypeSummaryOptions::GetCapping",1,1)
70078     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::GetCapping",1,"lldb::SBTypeSummaryOptions *");
70079 
70080     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
70081       SWIG_fail_ptr("SBTypeSummaryOptions_GetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
70082     }
70083 
70084     result = (lldb::TypeSummaryCapping)(arg1)->GetCapping();
70085     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
70086     return SWIG_arg;
70087 
70088     fail: SWIGUNUSED;
70089   }
70090   lua_error(L);
70091   return 0;
70092 }
70093 
70094 
_wrap_SBTypeSummaryOptions_SetLanguage(lua_State * L)70095 static int _wrap_SBTypeSummaryOptions_SetLanguage(lua_State* L) {
70096   {
70097     int SWIG_arg = 0;
70098     lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ;
70099     lldb::LanguageType arg2 ;
70100 
70101     SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetLanguage",2,2)
70102     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",1,"lldb::SBTypeSummaryOptions *");
70103     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetLanguage",2,"lldb::LanguageType");
70104 
70105     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
70106       SWIG_fail_ptr("SBTypeSummaryOptions_SetLanguage",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
70107     }
70108 
70109     arg2 = (lldb::LanguageType)lua_tointeger(L, 2);
70110     (arg1)->SetLanguage(arg2);
70111 
70112     return SWIG_arg;
70113 
70114     fail: SWIGUNUSED;
70115   }
70116   lua_error(L);
70117   return 0;
70118 }
70119 
70120 
_wrap_SBTypeSummaryOptions_SetCapping(lua_State * L)70121 static int _wrap_SBTypeSummaryOptions_SetCapping(lua_State* L) {
70122   {
70123     int SWIG_arg = 0;
70124     lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) 0 ;
70125     lldb::TypeSummaryCapping arg2 ;
70126 
70127     SWIG_check_num_args("lldb::SBTypeSummaryOptions::SetCapping",2,2)
70128     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",1,"lldb::SBTypeSummaryOptions *");
70129     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummaryOptions::SetCapping",2,"lldb::TypeSummaryCapping");
70130 
70131     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
70132       SWIG_fail_ptr("SBTypeSummaryOptions_SetCapping",1,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
70133     }
70134 
70135     arg2 = (lldb::TypeSummaryCapping)lua_tointeger(L, 2);
70136     (arg1)->SetCapping(arg2);
70137 
70138     return SWIG_arg;
70139 
70140     fail: SWIGUNUSED;
70141   }
70142   lua_error(L);
70143   return 0;
70144 }
70145 
70146 
swig_delete_SBTypeSummaryOptions(void * obj)70147 static void swig_delete_SBTypeSummaryOptions(void *obj) {
70148 lldb::SBTypeSummaryOptions *arg1 = (lldb::SBTypeSummaryOptions *) obj;
70149 delete arg1;
70150 }
_proxy__wrap_new_SBTypeSummaryOptions(lua_State * L)70151 static int _proxy__wrap_new_SBTypeSummaryOptions(lua_State *L) {
70152     assert(lua_istable(L,1));
70153     lua_pushcfunction(L,_wrap_new_SBTypeSummaryOptions);
70154     assert(!lua_isnil(L,-1));
70155     lua_replace(L,1); /* replace our table with real constructor */
70156     lua_call(L,lua_gettop(L)-1,1);
70157     return 1;
70158 }
70159 static swig_lua_attribute swig_SBTypeSummaryOptions_attributes[] = {
70160     {0,0,0}
70161 };
70162 static swig_lua_method swig_SBTypeSummaryOptions_methods[]= {
70163     { "IsValid", _wrap_SBTypeSummaryOptions_IsValid},
70164     { "GetLanguage", _wrap_SBTypeSummaryOptions_GetLanguage},
70165     { "GetCapping", _wrap_SBTypeSummaryOptions_GetCapping},
70166     { "SetLanguage", _wrap_SBTypeSummaryOptions_SetLanguage},
70167     { "SetCapping", _wrap_SBTypeSummaryOptions_SetCapping},
70168     {0,0}
70169 };
70170 static swig_lua_method swig_SBTypeSummaryOptions_meta[] = {
70171     {0,0}
70172 };
70173 
70174 static swig_lua_attribute swig_SBTypeSummaryOptions_Sf_SwigStatic_attributes[] = {
70175     {0,0,0}
70176 };
70177 static swig_lua_const_info swig_SBTypeSummaryOptions_Sf_SwigStatic_constants[]= {
70178     {0,0,0,0,0,0}
70179 };
70180 static swig_lua_method swig_SBTypeSummaryOptions_Sf_SwigStatic_methods[]= {
70181     {0,0}
70182 };
70183 static swig_lua_class* swig_SBTypeSummaryOptions_Sf_SwigStatic_classes[]= {
70184     0
70185 };
70186 
70187 static swig_lua_namespace swig_SBTypeSummaryOptions_Sf_SwigStatic = {
70188     "SBTypeSummaryOptions",
70189     swig_SBTypeSummaryOptions_Sf_SwigStatic_methods,
70190     swig_SBTypeSummaryOptions_Sf_SwigStatic_attributes,
70191     swig_SBTypeSummaryOptions_Sf_SwigStatic_constants,
70192     swig_SBTypeSummaryOptions_Sf_SwigStatic_classes,
70193     0
70194 };
70195 static swig_lua_class *swig_SBTypeSummaryOptions_bases[] = {0};
70196 static const char *swig_SBTypeSummaryOptions_base_names[] = {0};
70197 static swig_lua_class _wrap_class_SBTypeSummaryOptions = { "SBTypeSummaryOptions", "SBTypeSummaryOptions", &SWIGTYPE_p_lldb__SBTypeSummaryOptions,_proxy__wrap_new_SBTypeSummaryOptions, swig_delete_SBTypeSummaryOptions, swig_SBTypeSummaryOptions_methods, swig_SBTypeSummaryOptions_attributes, &swig_SBTypeSummaryOptions_Sf_SwigStatic, swig_SBTypeSummaryOptions_meta, swig_SBTypeSummaryOptions_bases, swig_SBTypeSummaryOptions_base_names };
70198 
_wrap_new_SBTypeSummary__SWIG_0(lua_State * L)70199 static int _wrap_new_SBTypeSummary__SWIG_0(lua_State* L) {
70200   {
70201     int SWIG_arg = 0;
70202     lldb::SBTypeSummary *result = 0 ;
70203 
70204     SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",0,0)
70205     result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary();
70206     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70207     return SWIG_arg;
70208 
70209     fail: SWIGUNUSED;
70210   }
70211   lua_error(L);
70212   return 0;
70213 }
70214 
70215 
_wrap_SBTypeSummary_CreateWithSummaryString__SWIG_0(lua_State * L)70216 static int _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_0(lua_State* L) {
70217   {
70218     int SWIG_arg = 0;
70219     char *arg1 = (char *) 0 ;
70220     uint32_t arg2 ;
70221     lldb::SBTypeSummary result;
70222 
70223     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",2,2)
70224     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *");
70225     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",2,"uint32_t");
70226     arg1 = (char *)lua_tostring(L, 1);
70227     arg2 = (uint32_t)lua_tointeger(L, 2);
70228     result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1,arg2);
70229     {
70230       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70231       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70232     }
70233     return SWIG_arg;
70234 
70235     fail: SWIGUNUSED;
70236   }
70237   lua_error(L);
70238   return 0;
70239 }
70240 
70241 
_wrap_SBTypeSummary_CreateWithSummaryString__SWIG_1(lua_State * L)70242 static int _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_1(lua_State* L) {
70243   {
70244     int SWIG_arg = 0;
70245     char *arg1 = (char *) 0 ;
70246     lldb::SBTypeSummary result;
70247 
70248     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithSummaryString",1,1)
70249     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithSummaryString",1,"char const *");
70250     arg1 = (char *)lua_tostring(L, 1);
70251     result = lldb::SBTypeSummary::CreateWithSummaryString((char const *)arg1);
70252     {
70253       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70254       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70255     }
70256     return SWIG_arg;
70257 
70258     fail: SWIGUNUSED;
70259   }
70260   lua_error(L);
70261   return 0;
70262 }
70263 
70264 
_wrap_SBTypeSummary_CreateWithSummaryString(lua_State * L)70265 static int _wrap_SBTypeSummary_CreateWithSummaryString(lua_State* L) {
70266   int argc;
70267   int argv[3]={
70268     1,2,3
70269   };
70270 
70271   argc = lua_gettop(L);
70272   if (argc == 1) {
70273     int _v = 0;
70274     {
70275       _v = SWIG_lua_isnilstring(L,argv[0]);
70276     }
70277     if (_v) {
70278       return _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_1(L);
70279     }
70280   }
70281   if (argc == 2) {
70282     int _v = 0;
70283     {
70284       _v = SWIG_lua_isnilstring(L,argv[0]);
70285     }
70286     if (_v) {
70287       {
70288         _v = lua_isnumber(L,argv[1]);
70289       }
70290       if (_v) {
70291         return _wrap_SBTypeSummary_CreateWithSummaryString__SWIG_0(L);
70292       }
70293     }
70294   }
70295 
70296   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTypeSummary_CreateWithSummaryString'\n"
70297     "  Possible C/C++ prototypes are:\n"
70298     "    lldb::SBTypeSummary::CreateWithSummaryString(char const *,uint32_t)\n"
70299     "    lldb::SBTypeSummary::CreateWithSummaryString(char const *)\n");
70300   lua_error(L);return 0;
70301 }
70302 
70303 
_wrap_SBTypeSummary_CreateWithFunctionName__SWIG_0(lua_State * L)70304 static int _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_0(lua_State* L) {
70305   {
70306     int SWIG_arg = 0;
70307     char *arg1 = (char *) 0 ;
70308     uint32_t arg2 ;
70309     lldb::SBTypeSummary result;
70310 
70311     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",2,2)
70312     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *");
70313     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",2,"uint32_t");
70314     arg1 = (char *)lua_tostring(L, 1);
70315     arg2 = (uint32_t)lua_tointeger(L, 2);
70316     result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1,arg2);
70317     {
70318       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70319       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70320     }
70321     return SWIG_arg;
70322 
70323     fail: SWIGUNUSED;
70324   }
70325   lua_error(L);
70326   return 0;
70327 }
70328 
70329 
_wrap_SBTypeSummary_CreateWithFunctionName__SWIG_1(lua_State * L)70330 static int _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_1(lua_State* L) {
70331   {
70332     int SWIG_arg = 0;
70333     char *arg1 = (char *) 0 ;
70334     lldb::SBTypeSummary result;
70335 
70336     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithFunctionName",1,1)
70337     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithFunctionName",1,"char const *");
70338     arg1 = (char *)lua_tostring(L, 1);
70339     result = lldb::SBTypeSummary::CreateWithFunctionName((char const *)arg1);
70340     {
70341       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70342       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70343     }
70344     return SWIG_arg;
70345 
70346     fail: SWIGUNUSED;
70347   }
70348   lua_error(L);
70349   return 0;
70350 }
70351 
70352 
_wrap_SBTypeSummary_CreateWithFunctionName(lua_State * L)70353 static int _wrap_SBTypeSummary_CreateWithFunctionName(lua_State* L) {
70354   int argc;
70355   int argv[3]={
70356     1,2,3
70357   };
70358 
70359   argc = lua_gettop(L);
70360   if (argc == 1) {
70361     int _v = 0;
70362     {
70363       _v = SWIG_lua_isnilstring(L,argv[0]);
70364     }
70365     if (_v) {
70366       return _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_1(L);
70367     }
70368   }
70369   if (argc == 2) {
70370     int _v = 0;
70371     {
70372       _v = SWIG_lua_isnilstring(L,argv[0]);
70373     }
70374     if (_v) {
70375       {
70376         _v = lua_isnumber(L,argv[1]);
70377       }
70378       if (_v) {
70379         return _wrap_SBTypeSummary_CreateWithFunctionName__SWIG_0(L);
70380       }
70381     }
70382   }
70383 
70384   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTypeSummary_CreateWithFunctionName'\n"
70385     "  Possible C/C++ prototypes are:\n"
70386     "    lldb::SBTypeSummary::CreateWithFunctionName(char const *,uint32_t)\n"
70387     "    lldb::SBTypeSummary::CreateWithFunctionName(char const *)\n");
70388   lua_error(L);return 0;
70389 }
70390 
70391 
_wrap_SBTypeSummary_CreateWithScriptCode__SWIG_0(lua_State * L)70392 static int _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_0(lua_State* L) {
70393   {
70394     int SWIG_arg = 0;
70395     char *arg1 = (char *) 0 ;
70396     uint32_t arg2 ;
70397     lldb::SBTypeSummary result;
70398 
70399     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",2,2)
70400     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *");
70401     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",2,"uint32_t");
70402     arg1 = (char *)lua_tostring(L, 1);
70403     arg2 = (uint32_t)lua_tointeger(L, 2);
70404     result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1,arg2);
70405     {
70406       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70407       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70408     }
70409     return SWIG_arg;
70410 
70411     fail: SWIGUNUSED;
70412   }
70413   lua_error(L);
70414   return 0;
70415 }
70416 
70417 
_wrap_SBTypeSummary_CreateWithScriptCode__SWIG_1(lua_State * L)70418 static int _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_1(lua_State* L) {
70419   {
70420     int SWIG_arg = 0;
70421     char *arg1 = (char *) 0 ;
70422     lldb::SBTypeSummary result;
70423 
70424     SWIG_check_num_args("lldb::SBTypeSummary::CreateWithScriptCode",1,1)
70425     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::CreateWithScriptCode",1,"char const *");
70426     arg1 = (char *)lua_tostring(L, 1);
70427     result = lldb::SBTypeSummary::CreateWithScriptCode((char const *)arg1);
70428     {
70429       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
70430       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70431     }
70432     return SWIG_arg;
70433 
70434     fail: SWIGUNUSED;
70435   }
70436   lua_error(L);
70437   return 0;
70438 }
70439 
70440 
_wrap_SBTypeSummary_CreateWithScriptCode(lua_State * L)70441 static int _wrap_SBTypeSummary_CreateWithScriptCode(lua_State* L) {
70442   int argc;
70443   int argv[3]={
70444     1,2,3
70445   };
70446 
70447   argc = lua_gettop(L);
70448   if (argc == 1) {
70449     int _v = 0;
70450     {
70451       _v = SWIG_lua_isnilstring(L,argv[0]);
70452     }
70453     if (_v) {
70454       return _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_1(L);
70455     }
70456   }
70457   if (argc == 2) {
70458     int _v = 0;
70459     {
70460       _v = SWIG_lua_isnilstring(L,argv[0]);
70461     }
70462     if (_v) {
70463       {
70464         _v = lua_isnumber(L,argv[1]);
70465       }
70466       if (_v) {
70467         return _wrap_SBTypeSummary_CreateWithScriptCode__SWIG_0(L);
70468       }
70469     }
70470   }
70471 
70472   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTypeSummary_CreateWithScriptCode'\n"
70473     "  Possible C/C++ prototypes are:\n"
70474     "    lldb::SBTypeSummary::CreateWithScriptCode(char const *,uint32_t)\n"
70475     "    lldb::SBTypeSummary::CreateWithScriptCode(char const *)\n");
70476   lua_error(L);return 0;
70477 }
70478 
70479 
_wrap_new_SBTypeSummary__SWIG_1(lua_State * L)70480 static int _wrap_new_SBTypeSummary__SWIG_1(lua_State* L) {
70481   {
70482     int SWIG_arg = 0;
70483     lldb::SBTypeSummary *arg1 = 0 ;
70484     lldb::SBTypeSummary *result = 0 ;
70485 
70486     SWIG_check_num_args("lldb::SBTypeSummary::SBTypeSummary",1,1)
70487     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SBTypeSummary",1,"lldb::SBTypeSummary const &");
70488 
70489     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70490       SWIG_fail_ptr("new_SBTypeSummary",1,SWIGTYPE_p_lldb__SBTypeSummary);
70491     }
70492 
70493     result = (lldb::SBTypeSummary *)new lldb::SBTypeSummary((lldb::SBTypeSummary const &)*arg1);
70494     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
70495     return SWIG_arg;
70496 
70497     fail: SWIGUNUSED;
70498   }
70499   lua_error(L);
70500   return 0;
70501 }
70502 
70503 
_wrap_new_SBTypeSummary(lua_State * L)70504 static int _wrap_new_SBTypeSummary(lua_State* L) {
70505   int argc;
70506   int argv[2]={
70507     1,2
70508   };
70509 
70510   argc = lua_gettop(L);
70511   if (argc == 0) {
70512     return _wrap_new_SBTypeSummary__SWIG_0(L);
70513   }
70514   if (argc == 1) {
70515     int _v = 0;
70516     {
70517       void *ptr;
70518       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSummary, SWIG_POINTER_NO_NULL)) {
70519         _v = 0;
70520       } else {
70521         _v = 1;
70522       }
70523     }
70524     if (_v) {
70525       return _wrap_new_SBTypeSummary__SWIG_1(L);
70526     }
70527   }
70528 
70529   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeSummary'\n"
70530     "  Possible C/C++ prototypes are:\n"
70531     "    lldb::SBTypeSummary::SBTypeSummary()\n"
70532     "    lldb::SBTypeSummary::SBTypeSummary(lldb::SBTypeSummary const &)\n");
70533   lua_error(L);return 0;
70534 }
70535 
70536 
_wrap_SBTypeSummary_IsValid(lua_State * L)70537 static int _wrap_SBTypeSummary_IsValid(lua_State* L) {
70538   {
70539     int SWIG_arg = 0;
70540     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70541     bool result;
70542 
70543     SWIG_check_num_args("lldb::SBTypeSummary::IsValid",1,1)
70544     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsValid",1,"lldb::SBTypeSummary const *");
70545 
70546     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70547       SWIG_fail_ptr("SBTypeSummary_IsValid",1,SWIGTYPE_p_lldb__SBTypeSummary);
70548     }
70549 
70550     result = (bool)((lldb::SBTypeSummary const *)arg1)->IsValid();
70551     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70552     return SWIG_arg;
70553 
70554     fail: SWIGUNUSED;
70555   }
70556   lua_error(L);
70557   return 0;
70558 }
70559 
70560 
_wrap_SBTypeSummary_IsFunctionCode(lua_State * L)70561 static int _wrap_SBTypeSummary_IsFunctionCode(lua_State* L) {
70562   {
70563     int SWIG_arg = 0;
70564     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70565     bool result;
70566 
70567     SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionCode",1,1)
70568     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionCode",1,"lldb::SBTypeSummary *");
70569 
70570     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70571       SWIG_fail_ptr("SBTypeSummary_IsFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary);
70572     }
70573 
70574     result = (bool)(arg1)->IsFunctionCode();
70575     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70576     return SWIG_arg;
70577 
70578     fail: SWIGUNUSED;
70579   }
70580   lua_error(L);
70581   return 0;
70582 }
70583 
70584 
_wrap_SBTypeSummary_IsFunctionName(lua_State * L)70585 static int _wrap_SBTypeSummary_IsFunctionName(lua_State* L) {
70586   {
70587     int SWIG_arg = 0;
70588     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70589     bool result;
70590 
70591     SWIG_check_num_args("lldb::SBTypeSummary::IsFunctionName",1,1)
70592     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsFunctionName",1,"lldb::SBTypeSummary *");
70593 
70594     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70595       SWIG_fail_ptr("SBTypeSummary_IsFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary);
70596     }
70597 
70598     result = (bool)(arg1)->IsFunctionName();
70599     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70600     return SWIG_arg;
70601 
70602     fail: SWIGUNUSED;
70603   }
70604   lua_error(L);
70605   return 0;
70606 }
70607 
70608 
_wrap_SBTypeSummary_IsSummaryString(lua_State * L)70609 static int _wrap_SBTypeSummary_IsSummaryString(lua_State* L) {
70610   {
70611     int SWIG_arg = 0;
70612     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70613     bool result;
70614 
70615     SWIG_check_num_args("lldb::SBTypeSummary::IsSummaryString",1,1)
70616     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsSummaryString",1,"lldb::SBTypeSummary *");
70617 
70618     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70619       SWIG_fail_ptr("SBTypeSummary_IsSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary);
70620     }
70621 
70622     result = (bool)(arg1)->IsSummaryString();
70623     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70624     return SWIG_arg;
70625 
70626     fail: SWIGUNUSED;
70627   }
70628   lua_error(L);
70629   return 0;
70630 }
70631 
70632 
_wrap_SBTypeSummary_GetData(lua_State * L)70633 static int _wrap_SBTypeSummary_GetData(lua_State* L) {
70634   {
70635     int SWIG_arg = 0;
70636     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70637     char *result = 0 ;
70638 
70639     SWIG_check_num_args("lldb::SBTypeSummary::GetData",1,1)
70640     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetData",1,"lldb::SBTypeSummary *");
70641 
70642     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70643       SWIG_fail_ptr("SBTypeSummary_GetData",1,SWIGTYPE_p_lldb__SBTypeSummary);
70644     }
70645 
70646     result = (char *)(arg1)->GetData();
70647     lua_pushstring(L,(const char *)result); SWIG_arg++;
70648     return SWIG_arg;
70649 
70650     fail: SWIGUNUSED;
70651   }
70652   lua_error(L);
70653   return 0;
70654 }
70655 
70656 
_wrap_SBTypeSummary_SetSummaryString(lua_State * L)70657 static int _wrap_SBTypeSummary_SetSummaryString(lua_State* L) {
70658   {
70659     int SWIG_arg = 0;
70660     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70661     char *arg2 = (char *) 0 ;
70662 
70663     SWIG_check_num_args("lldb::SBTypeSummary::SetSummaryString",2,2)
70664     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",1,"lldb::SBTypeSummary *");
70665     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetSummaryString",2,"char const *");
70666 
70667     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70668       SWIG_fail_ptr("SBTypeSummary_SetSummaryString",1,SWIGTYPE_p_lldb__SBTypeSummary);
70669     }
70670 
70671     arg2 = (char *)lua_tostring(L, 2);
70672     (arg1)->SetSummaryString((char const *)arg2);
70673 
70674     return SWIG_arg;
70675 
70676     fail: SWIGUNUSED;
70677   }
70678   lua_error(L);
70679   return 0;
70680 }
70681 
70682 
_wrap_SBTypeSummary_SetFunctionName(lua_State * L)70683 static int _wrap_SBTypeSummary_SetFunctionName(lua_State* L) {
70684   {
70685     int SWIG_arg = 0;
70686     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70687     char *arg2 = (char *) 0 ;
70688 
70689     SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionName",2,2)
70690     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",1,"lldb::SBTypeSummary *");
70691     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionName",2,"char const *");
70692 
70693     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70694       SWIG_fail_ptr("SBTypeSummary_SetFunctionName",1,SWIGTYPE_p_lldb__SBTypeSummary);
70695     }
70696 
70697     arg2 = (char *)lua_tostring(L, 2);
70698     (arg1)->SetFunctionName((char const *)arg2);
70699 
70700     return SWIG_arg;
70701 
70702     fail: SWIGUNUSED;
70703   }
70704   lua_error(L);
70705   return 0;
70706 }
70707 
70708 
_wrap_SBTypeSummary_SetFunctionCode(lua_State * L)70709 static int _wrap_SBTypeSummary_SetFunctionCode(lua_State* L) {
70710   {
70711     int SWIG_arg = 0;
70712     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70713     char *arg2 = (char *) 0 ;
70714 
70715     SWIG_check_num_args("lldb::SBTypeSummary::SetFunctionCode",2,2)
70716     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",1,"lldb::SBTypeSummary *");
70717     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetFunctionCode",2,"char const *");
70718 
70719     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70720       SWIG_fail_ptr("SBTypeSummary_SetFunctionCode",1,SWIGTYPE_p_lldb__SBTypeSummary);
70721     }
70722 
70723     arg2 = (char *)lua_tostring(L, 2);
70724     (arg1)->SetFunctionCode((char const *)arg2);
70725 
70726     return SWIG_arg;
70727 
70728     fail: SWIGUNUSED;
70729   }
70730   lua_error(L);
70731   return 0;
70732 }
70733 
70734 
_wrap_SBTypeSummary_GetOptions(lua_State * L)70735 static int _wrap_SBTypeSummary_GetOptions(lua_State* L) {
70736   {
70737     int SWIG_arg = 0;
70738     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70739     uint32_t result;
70740 
70741     SWIG_check_num_args("lldb::SBTypeSummary::GetOptions",1,1)
70742     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetOptions",1,"lldb::SBTypeSummary *");
70743 
70744     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70745       SWIG_fail_ptr("SBTypeSummary_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary);
70746     }
70747 
70748     result = (uint32_t)(arg1)->GetOptions();
70749     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
70750     return SWIG_arg;
70751 
70752     fail: SWIGUNUSED;
70753   }
70754   lua_error(L);
70755   return 0;
70756 }
70757 
70758 
_wrap_SBTypeSummary_SetOptions(lua_State * L)70759 static int _wrap_SBTypeSummary_SetOptions(lua_State* L) {
70760   {
70761     int SWIG_arg = 0;
70762     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70763     uint32_t arg2 ;
70764 
70765     SWIG_check_num_args("lldb::SBTypeSummary::SetOptions",2,2)
70766     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",1,"lldb::SBTypeSummary *");
70767     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::SetOptions",2,"uint32_t");
70768 
70769     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70770       SWIG_fail_ptr("SBTypeSummary_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSummary);
70771     }
70772 
70773     arg2 = (uint32_t)lua_tointeger(L, 2);
70774     (arg1)->SetOptions(arg2);
70775 
70776     return SWIG_arg;
70777 
70778     fail: SWIGUNUSED;
70779   }
70780   lua_error(L);
70781   return 0;
70782 }
70783 
70784 
_wrap_SBTypeSummary_GetDescription(lua_State * L)70785 static int _wrap_SBTypeSummary_GetDescription(lua_State* L) {
70786   {
70787     int SWIG_arg = 0;
70788     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70789     lldb::SBStream *arg2 = 0 ;
70790     lldb::DescriptionLevel arg3 ;
70791     bool result;
70792 
70793     SWIG_check_num_args("lldb::SBTypeSummary::GetDescription",3,3)
70794     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",1,"lldb::SBTypeSummary *");
70795     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",2,"lldb::SBStream &");
70796     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSummary::GetDescription",3,"lldb::DescriptionLevel");
70797 
70798     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70799       SWIG_fail_ptr("SBTypeSummary_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSummary);
70800     }
70801 
70802 
70803     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
70804       SWIG_fail_ptr("SBTypeSummary_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
70805     }
70806 
70807     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
70808     result = (bool)(arg1)->GetDescription(*arg2,arg3);
70809     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70810     return SWIG_arg;
70811 
70812     fail: SWIGUNUSED;
70813   }
70814   lua_error(L);
70815   return 0;
70816 }
70817 
70818 
_wrap_SBTypeSummary_DoesPrintValue(lua_State * L)70819 static int _wrap_SBTypeSummary_DoesPrintValue(lua_State* L) {
70820   {
70821     int SWIG_arg = 0;
70822     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70823     lldb::SBValue arg2 ;
70824     lldb::SBValue *argp2 ;
70825     bool result;
70826 
70827     SWIG_check_num_args("lldb::SBTypeSummary::DoesPrintValue",2,2)
70828     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::DoesPrintValue",1,"lldb::SBTypeSummary *");
70829     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::DoesPrintValue",2,"lldb::SBValue");
70830 
70831     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70832       SWIG_fail_ptr("SBTypeSummary_DoesPrintValue",1,SWIGTYPE_p_lldb__SBTypeSummary);
70833     }
70834 
70835 
70836     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBValue,0))){
70837       SWIG_fail_ptr("SBTypeSummary_DoesPrintValue",2,SWIGTYPE_p_lldb__SBValue);
70838     }
70839     arg2 = *argp2;
70840 
70841     result = (bool)(arg1)->DoesPrintValue(arg2);
70842     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70843     return SWIG_arg;
70844 
70845     fail: SWIGUNUSED;
70846   }
70847   lua_error(L);
70848   return 0;
70849 }
70850 
70851 
_wrap_SBTypeSummary_IsEqualTo(lua_State * L)70852 static int _wrap_SBTypeSummary_IsEqualTo(lua_State* L) {
70853   {
70854     int SWIG_arg = 0;
70855     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70856     lldb::SBTypeSummary *arg2 = 0 ;
70857     bool result;
70858 
70859     SWIG_check_num_args("lldb::SBTypeSummary::IsEqualTo",2,2)
70860     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",1,"lldb::SBTypeSummary *");
70861     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::IsEqualTo",2,"lldb::SBTypeSummary &");
70862 
70863     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70864       SWIG_fail_ptr("SBTypeSummary_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSummary);
70865     }
70866 
70867 
70868     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70869       SWIG_fail_ptr("SBTypeSummary_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSummary);
70870     }
70871 
70872     result = (bool)(arg1)->IsEqualTo(*arg2);
70873     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70874     return SWIG_arg;
70875 
70876     fail: SWIGUNUSED;
70877   }
70878   lua_error(L);
70879   return 0;
70880 }
70881 
70882 
_wrap_SBTypeSummary___eq(lua_State * L)70883 static int _wrap_SBTypeSummary___eq(lua_State* L) {
70884   {
70885     int SWIG_arg = 0;
70886     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70887     lldb::SBTypeSummary *arg2 = 0 ;
70888     bool result;
70889 
70890     SWIG_check_num_args("lldb::SBTypeSummary::operator ==",2,2)
70891     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",1,"lldb::SBTypeSummary *");
70892     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSummary::operator ==",2,"lldb::SBTypeSummary &");
70893 
70894     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70895       SWIG_fail_ptr("SBTypeSummary___eq",1,SWIGTYPE_p_lldb__SBTypeSummary);
70896     }
70897 
70898 
70899     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70900       SWIG_fail_ptr("SBTypeSummary___eq",2,SWIGTYPE_p_lldb__SBTypeSummary);
70901     }
70902 
70903     result = (bool)(arg1)->operator ==(*arg2);
70904     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
70905     return SWIG_arg;
70906 
70907     fail: SWIGUNUSED;
70908   }
70909   lua_error(L);
70910   return 0;
70911 }
70912 
70913 
_wrap_SBTypeSummary___tostring(lua_State * L)70914 static int _wrap_SBTypeSummary___tostring(lua_State* L) {
70915   {
70916     int SWIG_arg = 0;
70917     lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) 0 ;
70918     std::string result;
70919 
70920     SWIG_check_num_args("lldb::SBTypeSummary::__repr__",1,1)
70921     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSummary::__repr__",1,"lldb::SBTypeSummary *");
70922 
70923     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSummary,0))){
70924       SWIG_fail_ptr("SBTypeSummary___tostring",1,SWIGTYPE_p_lldb__SBTypeSummary);
70925     }
70926 
70927     result = lldb_SBTypeSummary___repr__(arg1);
70928     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
70929     return SWIG_arg;
70930 
70931     fail: SWIGUNUSED;
70932   }
70933   lua_error(L);
70934   return 0;
70935 }
70936 
70937 
swig_delete_SBTypeSummary(void * obj)70938 static void swig_delete_SBTypeSummary(void *obj) {
70939 lldb::SBTypeSummary *arg1 = (lldb::SBTypeSummary *) obj;
70940 delete arg1;
70941 }
_proxy__wrap_new_SBTypeSummary(lua_State * L)70942 static int _proxy__wrap_new_SBTypeSummary(lua_State *L) {
70943     assert(lua_istable(L,1));
70944     lua_pushcfunction(L,_wrap_new_SBTypeSummary);
70945     assert(!lua_isnil(L,-1));
70946     lua_replace(L,1); /* replace our table with real constructor */
70947     lua_call(L,lua_gettop(L)-1,1);
70948     return 1;
70949 }
70950 static swig_lua_attribute swig_SBTypeSummary_attributes[] = {
70951     {0,0,0}
70952 };
70953 static swig_lua_method swig_SBTypeSummary_methods[]= {
70954     { "IsValid", _wrap_SBTypeSummary_IsValid},
70955     { "IsFunctionCode", _wrap_SBTypeSummary_IsFunctionCode},
70956     { "IsFunctionName", _wrap_SBTypeSummary_IsFunctionName},
70957     { "IsSummaryString", _wrap_SBTypeSummary_IsSummaryString},
70958     { "GetData", _wrap_SBTypeSummary_GetData},
70959     { "SetSummaryString", _wrap_SBTypeSummary_SetSummaryString},
70960     { "SetFunctionName", _wrap_SBTypeSummary_SetFunctionName},
70961     { "SetFunctionCode", _wrap_SBTypeSummary_SetFunctionCode},
70962     { "GetOptions", _wrap_SBTypeSummary_GetOptions},
70963     { "SetOptions", _wrap_SBTypeSummary_SetOptions},
70964     { "GetDescription", _wrap_SBTypeSummary_GetDescription},
70965     { "DoesPrintValue", _wrap_SBTypeSummary_DoesPrintValue},
70966     { "IsEqualTo", _wrap_SBTypeSummary_IsEqualTo},
70967     { "__eq", _wrap_SBTypeSummary___eq},
70968     { "__tostring", _wrap_SBTypeSummary___tostring},
70969     {0,0}
70970 };
70971 static swig_lua_method swig_SBTypeSummary_meta[] = {
70972     { "__eq", _wrap_SBTypeSummary___eq},
70973     { "__tostring", _wrap_SBTypeSummary___tostring},
70974     {0,0}
70975 };
70976 
70977 static swig_lua_attribute swig_SBTypeSummary_Sf_SwigStatic_attributes[] = {
70978     {0,0,0}
70979 };
70980 static swig_lua_const_info swig_SBTypeSummary_Sf_SwigStatic_constants[]= {
70981     {0,0,0,0,0,0}
70982 };
70983 static swig_lua_method swig_SBTypeSummary_Sf_SwigStatic_methods[]= {
70984     { "CreateWithSummaryString", _wrap_SBTypeSummary_CreateWithSummaryString},
70985     { "CreateWithFunctionName", _wrap_SBTypeSummary_CreateWithFunctionName},
70986     { "CreateWithScriptCode", _wrap_SBTypeSummary_CreateWithScriptCode},
70987     {0,0}
70988 };
70989 static swig_lua_class* swig_SBTypeSummary_Sf_SwigStatic_classes[]= {
70990     0
70991 };
70992 
70993 static swig_lua_namespace swig_SBTypeSummary_Sf_SwigStatic = {
70994     "SBTypeSummary",
70995     swig_SBTypeSummary_Sf_SwigStatic_methods,
70996     swig_SBTypeSummary_Sf_SwigStatic_attributes,
70997     swig_SBTypeSummary_Sf_SwigStatic_constants,
70998     swig_SBTypeSummary_Sf_SwigStatic_classes,
70999     0
71000 };
71001 static swig_lua_class *swig_SBTypeSummary_bases[] = {0};
71002 static const char *swig_SBTypeSummary_base_names[] = {0};
71003 static swig_lua_class _wrap_class_SBTypeSummary = { "SBTypeSummary", "SBTypeSummary", &SWIGTYPE_p_lldb__SBTypeSummary,_proxy__wrap_new_SBTypeSummary, swig_delete_SBTypeSummary, swig_SBTypeSummary_methods, swig_SBTypeSummary_attributes, &swig_SBTypeSummary_Sf_SwigStatic, swig_SBTypeSummary_meta, swig_SBTypeSummary_bases, swig_SBTypeSummary_base_names };
71004 
_wrap_new_SBTypeSynthetic__SWIG_0(lua_State * L)71005 static int _wrap_new_SBTypeSynthetic__SWIG_0(lua_State* L) {
71006   {
71007     int SWIG_arg = 0;
71008     lldb::SBTypeSynthetic *result = 0 ;
71009 
71010     SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",0,0)
71011     result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic();
71012     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71013     return SWIG_arg;
71014 
71015     fail: SWIGUNUSED;
71016   }
71017   lua_error(L);
71018   return 0;
71019 }
71020 
71021 
_wrap_SBTypeSynthetic_CreateWithClassName__SWIG_0(lua_State * L)71022 static int _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_0(lua_State* L) {
71023   {
71024     int SWIG_arg = 0;
71025     char *arg1 = (char *) 0 ;
71026     uint32_t arg2 ;
71027     lldb::SBTypeSynthetic result;
71028 
71029     SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",2,2)
71030     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *");
71031     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",2,"uint32_t");
71032     arg1 = (char *)lua_tostring(L, 1);
71033     arg2 = (uint32_t)lua_tointeger(L, 2);
71034     result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1,arg2);
71035     {
71036       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
71037       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71038     }
71039     return SWIG_arg;
71040 
71041     fail: SWIGUNUSED;
71042   }
71043   lua_error(L);
71044   return 0;
71045 }
71046 
71047 
_wrap_SBTypeSynthetic_CreateWithClassName__SWIG_1(lua_State * L)71048 static int _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_1(lua_State* L) {
71049   {
71050     int SWIG_arg = 0;
71051     char *arg1 = (char *) 0 ;
71052     lldb::SBTypeSynthetic result;
71053 
71054     SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithClassName",1,1)
71055     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithClassName",1,"char const *");
71056     arg1 = (char *)lua_tostring(L, 1);
71057     result = lldb::SBTypeSynthetic::CreateWithClassName((char const *)arg1);
71058     {
71059       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
71060       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71061     }
71062     return SWIG_arg;
71063 
71064     fail: SWIGUNUSED;
71065   }
71066   lua_error(L);
71067   return 0;
71068 }
71069 
71070 
_wrap_SBTypeSynthetic_CreateWithClassName(lua_State * L)71071 static int _wrap_SBTypeSynthetic_CreateWithClassName(lua_State* L) {
71072   int argc;
71073   int argv[3]={
71074     1,2,3
71075   };
71076 
71077   argc = lua_gettop(L);
71078   if (argc == 1) {
71079     int _v = 0;
71080     {
71081       _v = SWIG_lua_isnilstring(L,argv[0]);
71082     }
71083     if (_v) {
71084       return _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_1(L);
71085     }
71086   }
71087   if (argc == 2) {
71088     int _v = 0;
71089     {
71090       _v = SWIG_lua_isnilstring(L,argv[0]);
71091     }
71092     if (_v) {
71093       {
71094         _v = lua_isnumber(L,argv[1]);
71095       }
71096       if (_v) {
71097         return _wrap_SBTypeSynthetic_CreateWithClassName__SWIG_0(L);
71098       }
71099     }
71100   }
71101 
71102   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTypeSynthetic_CreateWithClassName'\n"
71103     "  Possible C/C++ prototypes are:\n"
71104     "    lldb::SBTypeSynthetic::CreateWithClassName(char const *,uint32_t)\n"
71105     "    lldb::SBTypeSynthetic::CreateWithClassName(char const *)\n");
71106   lua_error(L);return 0;
71107 }
71108 
71109 
_wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_0(lua_State * L)71110 static int _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_0(lua_State* L) {
71111   {
71112     int SWIG_arg = 0;
71113     char *arg1 = (char *) 0 ;
71114     uint32_t arg2 ;
71115     lldb::SBTypeSynthetic result;
71116 
71117     SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",2,2)
71118     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *");
71119     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",2,"uint32_t");
71120     arg1 = (char *)lua_tostring(L, 1);
71121     arg2 = (uint32_t)lua_tointeger(L, 2);
71122     result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1,arg2);
71123     {
71124       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
71125       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71126     }
71127     return SWIG_arg;
71128 
71129     fail: SWIGUNUSED;
71130   }
71131   lua_error(L);
71132   return 0;
71133 }
71134 
71135 
_wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_1(lua_State * L)71136 static int _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_1(lua_State* L) {
71137   {
71138     int SWIG_arg = 0;
71139     char *arg1 = (char *) 0 ;
71140     lldb::SBTypeSynthetic result;
71141 
71142     SWIG_check_num_args("lldb::SBTypeSynthetic::CreateWithScriptCode",1,1)
71143     if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::CreateWithScriptCode",1,"char const *");
71144     arg1 = (char *)lua_tostring(L, 1);
71145     result = lldb::SBTypeSynthetic::CreateWithScriptCode((char const *)arg1);
71146     {
71147       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
71148       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71149     }
71150     return SWIG_arg;
71151 
71152     fail: SWIGUNUSED;
71153   }
71154   lua_error(L);
71155   return 0;
71156 }
71157 
71158 
_wrap_SBTypeSynthetic_CreateWithScriptCode(lua_State * L)71159 static int _wrap_SBTypeSynthetic_CreateWithScriptCode(lua_State* L) {
71160   int argc;
71161   int argv[3]={
71162     1,2,3
71163   };
71164 
71165   argc = lua_gettop(L);
71166   if (argc == 1) {
71167     int _v = 0;
71168     {
71169       _v = SWIG_lua_isnilstring(L,argv[0]);
71170     }
71171     if (_v) {
71172       return _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_1(L);
71173     }
71174   }
71175   if (argc == 2) {
71176     int _v = 0;
71177     {
71178       _v = SWIG_lua_isnilstring(L,argv[0]);
71179     }
71180     if (_v) {
71181       {
71182         _v = lua_isnumber(L,argv[1]);
71183       }
71184       if (_v) {
71185         return _wrap_SBTypeSynthetic_CreateWithScriptCode__SWIG_0(L);
71186       }
71187     }
71188   }
71189 
71190   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBTypeSynthetic_CreateWithScriptCode'\n"
71191     "  Possible C/C++ prototypes are:\n"
71192     "    lldb::SBTypeSynthetic::CreateWithScriptCode(char const *,uint32_t)\n"
71193     "    lldb::SBTypeSynthetic::CreateWithScriptCode(char const *)\n");
71194   lua_error(L);return 0;
71195 }
71196 
71197 
_wrap_new_SBTypeSynthetic__SWIG_1(lua_State * L)71198 static int _wrap_new_SBTypeSynthetic__SWIG_1(lua_State* L) {
71199   {
71200     int SWIG_arg = 0;
71201     lldb::SBTypeSynthetic *arg1 = 0 ;
71202     lldb::SBTypeSynthetic *result = 0 ;
71203 
71204     SWIG_check_num_args("lldb::SBTypeSynthetic::SBTypeSynthetic",1,1)
71205     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SBTypeSynthetic",1,"lldb::SBTypeSynthetic const &");
71206 
71207     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71208       SWIG_fail_ptr("new_SBTypeSynthetic",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71209     }
71210 
71211     result = (lldb::SBTypeSynthetic *)new lldb::SBTypeSynthetic((lldb::SBTypeSynthetic const &)*arg1);
71212     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
71213     return SWIG_arg;
71214 
71215     fail: SWIGUNUSED;
71216   }
71217   lua_error(L);
71218   return 0;
71219 }
71220 
71221 
_wrap_new_SBTypeSynthetic(lua_State * L)71222 static int _wrap_new_SBTypeSynthetic(lua_State* L) {
71223   int argc;
71224   int argv[2]={
71225     1,2
71226   };
71227 
71228   argc = lua_gettop(L);
71229   if (argc == 0) {
71230     return _wrap_new_SBTypeSynthetic__SWIG_0(L);
71231   }
71232   if (argc == 1) {
71233     int _v = 0;
71234     {
71235       void *ptr;
71236       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSynthetic, SWIG_POINTER_NO_NULL)) {
71237         _v = 0;
71238       } else {
71239         _v = 1;
71240       }
71241     }
71242     if (_v) {
71243       return _wrap_new_SBTypeSynthetic__SWIG_1(L);
71244     }
71245   }
71246 
71247   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBTypeSynthetic'\n"
71248     "  Possible C/C++ prototypes are:\n"
71249     "    lldb::SBTypeSynthetic::SBTypeSynthetic()\n"
71250     "    lldb::SBTypeSynthetic::SBTypeSynthetic(lldb::SBTypeSynthetic const &)\n");
71251   lua_error(L);return 0;
71252 }
71253 
71254 
_wrap_SBTypeSynthetic_IsValid(lua_State * L)71255 static int _wrap_SBTypeSynthetic_IsValid(lua_State* L) {
71256   {
71257     int SWIG_arg = 0;
71258     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71259     bool result;
71260 
71261     SWIG_check_num_args("lldb::SBTypeSynthetic::IsValid",1,1)
71262     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsValid",1,"lldb::SBTypeSynthetic const *");
71263 
71264     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71265       SWIG_fail_ptr("SBTypeSynthetic_IsValid",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71266     }
71267 
71268     result = (bool)((lldb::SBTypeSynthetic const *)arg1)->IsValid();
71269     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71270     return SWIG_arg;
71271 
71272     fail: SWIGUNUSED;
71273   }
71274   lua_error(L);
71275   return 0;
71276 }
71277 
71278 
_wrap_SBTypeSynthetic_IsClassCode(lua_State * L)71279 static int _wrap_SBTypeSynthetic_IsClassCode(lua_State* L) {
71280   {
71281     int SWIG_arg = 0;
71282     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71283     bool result;
71284 
71285     SWIG_check_num_args("lldb::SBTypeSynthetic::IsClassCode",1,1)
71286     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsClassCode",1,"lldb::SBTypeSynthetic *");
71287 
71288     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71289       SWIG_fail_ptr("SBTypeSynthetic_IsClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71290     }
71291 
71292     result = (bool)(arg1)->IsClassCode();
71293     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71294     return SWIG_arg;
71295 
71296     fail: SWIGUNUSED;
71297   }
71298   lua_error(L);
71299   return 0;
71300 }
71301 
71302 
_wrap_SBTypeSynthetic_IsClassName(lua_State * L)71303 static int _wrap_SBTypeSynthetic_IsClassName(lua_State* L) {
71304   {
71305     int SWIG_arg = 0;
71306     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71307     bool result;
71308 
71309     SWIG_check_num_args("lldb::SBTypeSynthetic::IsClassName",1,1)
71310     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsClassName",1,"lldb::SBTypeSynthetic *");
71311 
71312     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71313       SWIG_fail_ptr("SBTypeSynthetic_IsClassName",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71314     }
71315 
71316     result = (bool)(arg1)->IsClassName();
71317     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71318     return SWIG_arg;
71319 
71320     fail: SWIGUNUSED;
71321   }
71322   lua_error(L);
71323   return 0;
71324 }
71325 
71326 
_wrap_SBTypeSynthetic_GetData(lua_State * L)71327 static int _wrap_SBTypeSynthetic_GetData(lua_State* L) {
71328   {
71329     int SWIG_arg = 0;
71330     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71331     char *result = 0 ;
71332 
71333     SWIG_check_num_args("lldb::SBTypeSynthetic::GetData",1,1)
71334     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetData",1,"lldb::SBTypeSynthetic *");
71335 
71336     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71337       SWIG_fail_ptr("SBTypeSynthetic_GetData",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71338     }
71339 
71340     result = (char *)(arg1)->GetData();
71341     lua_pushstring(L,(const char *)result); SWIG_arg++;
71342     return SWIG_arg;
71343 
71344     fail: SWIGUNUSED;
71345   }
71346   lua_error(L);
71347   return 0;
71348 }
71349 
71350 
_wrap_SBTypeSynthetic_SetClassName(lua_State * L)71351 static int _wrap_SBTypeSynthetic_SetClassName(lua_State* L) {
71352   {
71353     int SWIG_arg = 0;
71354     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71355     char *arg2 = (char *) 0 ;
71356 
71357     SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassName",2,2)
71358     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",1,"lldb::SBTypeSynthetic *");
71359     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassName",2,"char const *");
71360 
71361     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71362       SWIG_fail_ptr("SBTypeSynthetic_SetClassName",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71363     }
71364 
71365     arg2 = (char *)lua_tostring(L, 2);
71366     (arg1)->SetClassName((char const *)arg2);
71367 
71368     return SWIG_arg;
71369 
71370     fail: SWIGUNUSED;
71371   }
71372   lua_error(L);
71373   return 0;
71374 }
71375 
71376 
_wrap_SBTypeSynthetic_SetClassCode(lua_State * L)71377 static int _wrap_SBTypeSynthetic_SetClassCode(lua_State* L) {
71378   {
71379     int SWIG_arg = 0;
71380     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71381     char *arg2 = (char *) 0 ;
71382 
71383     SWIG_check_num_args("lldb::SBTypeSynthetic::SetClassCode",2,2)
71384     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",1,"lldb::SBTypeSynthetic *");
71385     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetClassCode",2,"char const *");
71386 
71387     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71388       SWIG_fail_ptr("SBTypeSynthetic_SetClassCode",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71389     }
71390 
71391     arg2 = (char *)lua_tostring(L, 2);
71392     (arg1)->SetClassCode((char const *)arg2);
71393 
71394     return SWIG_arg;
71395 
71396     fail: SWIGUNUSED;
71397   }
71398   lua_error(L);
71399   return 0;
71400 }
71401 
71402 
_wrap_SBTypeSynthetic_GetOptions(lua_State * L)71403 static int _wrap_SBTypeSynthetic_GetOptions(lua_State* L) {
71404   {
71405     int SWIG_arg = 0;
71406     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71407     uint32_t result;
71408 
71409     SWIG_check_num_args("lldb::SBTypeSynthetic::GetOptions",1,1)
71410     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetOptions",1,"lldb::SBTypeSynthetic *");
71411 
71412     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71413       SWIG_fail_ptr("SBTypeSynthetic_GetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71414     }
71415 
71416     result = (uint32_t)(arg1)->GetOptions();
71417     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
71418     return SWIG_arg;
71419 
71420     fail: SWIGUNUSED;
71421   }
71422   lua_error(L);
71423   return 0;
71424 }
71425 
71426 
_wrap_SBTypeSynthetic_SetOptions(lua_State * L)71427 static int _wrap_SBTypeSynthetic_SetOptions(lua_State* L) {
71428   {
71429     int SWIG_arg = 0;
71430     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71431     uint32_t arg2 ;
71432 
71433     SWIG_check_num_args("lldb::SBTypeSynthetic::SetOptions",2,2)
71434     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",1,"lldb::SBTypeSynthetic *");
71435     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::SetOptions",2,"uint32_t");
71436 
71437     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71438       SWIG_fail_ptr("SBTypeSynthetic_SetOptions",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71439     }
71440 
71441     arg2 = (uint32_t)lua_tointeger(L, 2);
71442     (arg1)->SetOptions(arg2);
71443 
71444     return SWIG_arg;
71445 
71446     fail: SWIGUNUSED;
71447   }
71448   lua_error(L);
71449   return 0;
71450 }
71451 
71452 
_wrap_SBTypeSynthetic_GetDescription(lua_State * L)71453 static int _wrap_SBTypeSynthetic_GetDescription(lua_State* L) {
71454   {
71455     int SWIG_arg = 0;
71456     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71457     lldb::SBStream *arg2 = 0 ;
71458     lldb::DescriptionLevel arg3 ;
71459     bool result;
71460 
71461     SWIG_check_num_args("lldb::SBTypeSynthetic::GetDescription",3,3)
71462     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",1,"lldb::SBTypeSynthetic *");
71463     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",2,"lldb::SBStream &");
71464     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTypeSynthetic::GetDescription",3,"lldb::DescriptionLevel");
71465 
71466     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71467       SWIG_fail_ptr("SBTypeSynthetic_GetDescription",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71468     }
71469 
71470 
71471     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
71472       SWIG_fail_ptr("SBTypeSynthetic_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
71473     }
71474 
71475     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
71476     result = (bool)(arg1)->GetDescription(*arg2,arg3);
71477     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71478     return SWIG_arg;
71479 
71480     fail: SWIGUNUSED;
71481   }
71482   lua_error(L);
71483   return 0;
71484 }
71485 
71486 
_wrap_SBTypeSynthetic_IsEqualTo(lua_State * L)71487 static int _wrap_SBTypeSynthetic_IsEqualTo(lua_State* L) {
71488   {
71489     int SWIG_arg = 0;
71490     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71491     lldb::SBTypeSynthetic *arg2 = 0 ;
71492     bool result;
71493 
71494     SWIG_check_num_args("lldb::SBTypeSynthetic::IsEqualTo",2,2)
71495     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",1,"lldb::SBTypeSynthetic *");
71496     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::IsEqualTo",2,"lldb::SBTypeSynthetic &");
71497 
71498     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71499       SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71500     }
71501 
71502 
71503     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71504       SWIG_fail_ptr("SBTypeSynthetic_IsEqualTo",2,SWIGTYPE_p_lldb__SBTypeSynthetic);
71505     }
71506 
71507     result = (bool)(arg1)->IsEqualTo(*arg2);
71508     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71509     return SWIG_arg;
71510 
71511     fail: SWIGUNUSED;
71512   }
71513   lua_error(L);
71514   return 0;
71515 }
71516 
71517 
_wrap_SBTypeSynthetic___eq(lua_State * L)71518 static int _wrap_SBTypeSynthetic___eq(lua_State* L) {
71519   {
71520     int SWIG_arg = 0;
71521     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71522     lldb::SBTypeSynthetic *arg2 = 0 ;
71523     bool result;
71524 
71525     SWIG_check_num_args("lldb::SBTypeSynthetic::operator ==",2,2)
71526     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",1,"lldb::SBTypeSynthetic *");
71527     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBTypeSynthetic::operator ==",2,"lldb::SBTypeSynthetic &");
71528 
71529     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71530       SWIG_fail_ptr("SBTypeSynthetic___eq",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71531     }
71532 
71533 
71534     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71535       SWIG_fail_ptr("SBTypeSynthetic___eq",2,SWIGTYPE_p_lldb__SBTypeSynthetic);
71536     }
71537 
71538     result = (bool)(arg1)->operator ==(*arg2);
71539     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71540     return SWIG_arg;
71541 
71542     fail: SWIGUNUSED;
71543   }
71544   lua_error(L);
71545   return 0;
71546 }
71547 
71548 
_wrap_SBTypeSynthetic___tostring(lua_State * L)71549 static int _wrap_SBTypeSynthetic___tostring(lua_State* L) {
71550   {
71551     int SWIG_arg = 0;
71552     lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) 0 ;
71553     std::string result;
71554 
71555     SWIG_check_num_args("lldb::SBTypeSynthetic::__repr__",1,1)
71556     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTypeSynthetic::__repr__",1,"lldb::SBTypeSynthetic *");
71557 
71558     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTypeSynthetic,0))){
71559       SWIG_fail_ptr("SBTypeSynthetic___tostring",1,SWIGTYPE_p_lldb__SBTypeSynthetic);
71560     }
71561 
71562     result = lldb_SBTypeSynthetic___repr__(arg1);
71563     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
71564     return SWIG_arg;
71565 
71566     fail: SWIGUNUSED;
71567   }
71568   lua_error(L);
71569   return 0;
71570 }
71571 
71572 
swig_delete_SBTypeSynthetic(void * obj)71573 static void swig_delete_SBTypeSynthetic(void *obj) {
71574 lldb::SBTypeSynthetic *arg1 = (lldb::SBTypeSynthetic *) obj;
71575 delete arg1;
71576 }
_proxy__wrap_new_SBTypeSynthetic(lua_State * L)71577 static int _proxy__wrap_new_SBTypeSynthetic(lua_State *L) {
71578     assert(lua_istable(L,1));
71579     lua_pushcfunction(L,_wrap_new_SBTypeSynthetic);
71580     assert(!lua_isnil(L,-1));
71581     lua_replace(L,1); /* replace our table with real constructor */
71582     lua_call(L,lua_gettop(L)-1,1);
71583     return 1;
71584 }
71585 static swig_lua_attribute swig_SBTypeSynthetic_attributes[] = {
71586     {0,0,0}
71587 };
71588 static swig_lua_method swig_SBTypeSynthetic_methods[]= {
71589     { "IsValid", _wrap_SBTypeSynthetic_IsValid},
71590     { "IsClassCode", _wrap_SBTypeSynthetic_IsClassCode},
71591     { "IsClassName", _wrap_SBTypeSynthetic_IsClassName},
71592     { "GetData", _wrap_SBTypeSynthetic_GetData},
71593     { "SetClassName", _wrap_SBTypeSynthetic_SetClassName},
71594     { "SetClassCode", _wrap_SBTypeSynthetic_SetClassCode},
71595     { "GetOptions", _wrap_SBTypeSynthetic_GetOptions},
71596     { "SetOptions", _wrap_SBTypeSynthetic_SetOptions},
71597     { "GetDescription", _wrap_SBTypeSynthetic_GetDescription},
71598     { "IsEqualTo", _wrap_SBTypeSynthetic_IsEqualTo},
71599     { "__eq", _wrap_SBTypeSynthetic___eq},
71600     { "__tostring", _wrap_SBTypeSynthetic___tostring},
71601     {0,0}
71602 };
71603 static swig_lua_method swig_SBTypeSynthetic_meta[] = {
71604     { "__eq", _wrap_SBTypeSynthetic___eq},
71605     { "__tostring", _wrap_SBTypeSynthetic___tostring},
71606     {0,0}
71607 };
71608 
71609 static swig_lua_attribute swig_SBTypeSynthetic_Sf_SwigStatic_attributes[] = {
71610     {0,0,0}
71611 };
71612 static swig_lua_const_info swig_SBTypeSynthetic_Sf_SwigStatic_constants[]= {
71613     {0,0,0,0,0,0}
71614 };
71615 static swig_lua_method swig_SBTypeSynthetic_Sf_SwigStatic_methods[]= {
71616     { "CreateWithClassName", _wrap_SBTypeSynthetic_CreateWithClassName},
71617     { "CreateWithScriptCode", _wrap_SBTypeSynthetic_CreateWithScriptCode},
71618     {0,0}
71619 };
71620 static swig_lua_class* swig_SBTypeSynthetic_Sf_SwigStatic_classes[]= {
71621     0
71622 };
71623 
71624 static swig_lua_namespace swig_SBTypeSynthetic_Sf_SwigStatic = {
71625     "SBTypeSynthetic",
71626     swig_SBTypeSynthetic_Sf_SwigStatic_methods,
71627     swig_SBTypeSynthetic_Sf_SwigStatic_attributes,
71628     swig_SBTypeSynthetic_Sf_SwigStatic_constants,
71629     swig_SBTypeSynthetic_Sf_SwigStatic_classes,
71630     0
71631 };
71632 static swig_lua_class *swig_SBTypeSynthetic_bases[] = {0};
71633 static const char *swig_SBTypeSynthetic_base_names[] = {0};
71634 static swig_lua_class _wrap_class_SBTypeSynthetic = { "SBTypeSynthetic", "SBTypeSynthetic", &SWIGTYPE_p_lldb__SBTypeSynthetic,_proxy__wrap_new_SBTypeSynthetic, swig_delete_SBTypeSynthetic, swig_SBTypeSynthetic_methods, swig_SBTypeSynthetic_attributes, &swig_SBTypeSynthetic_Sf_SwigStatic, swig_SBTypeSynthetic_meta, swig_SBTypeSynthetic_bases, swig_SBTypeSynthetic_base_names };
71635 
_wrap_new_SBUnixSignals__SWIG_0(lua_State * L)71636 static int _wrap_new_SBUnixSignals__SWIG_0(lua_State* L) {
71637   {
71638     int SWIG_arg = 0;
71639     lldb::SBUnixSignals *result = 0 ;
71640 
71641     SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",0,0)
71642     result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals();
71643     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++;
71644     return SWIG_arg;
71645 
71646     fail: SWIGUNUSED;
71647   }
71648   lua_error(L);
71649   return 0;
71650 }
71651 
71652 
_wrap_new_SBUnixSignals__SWIG_1(lua_State * L)71653 static int _wrap_new_SBUnixSignals__SWIG_1(lua_State* L) {
71654   {
71655     int SWIG_arg = 0;
71656     lldb::SBUnixSignals *arg1 = 0 ;
71657     lldb::SBUnixSignals *result = 0 ;
71658 
71659     SWIG_check_num_args("lldb::SBUnixSignals::SBUnixSignals",1,1)
71660     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SBUnixSignals",1,"lldb::SBUnixSignals const &");
71661 
71662     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71663       SWIG_fail_ptr("new_SBUnixSignals",1,SWIGTYPE_p_lldb__SBUnixSignals);
71664     }
71665 
71666     result = (lldb::SBUnixSignals *)new lldb::SBUnixSignals((lldb::SBUnixSignals const &)*arg1);
71667     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBUnixSignals,1); SWIG_arg++;
71668     return SWIG_arg;
71669 
71670     fail: SWIGUNUSED;
71671   }
71672   lua_error(L);
71673   return 0;
71674 }
71675 
71676 
_wrap_new_SBUnixSignals(lua_State * L)71677 static int _wrap_new_SBUnixSignals(lua_State* L) {
71678   int argc;
71679   int argv[2]={
71680     1,2
71681   };
71682 
71683   argc = lua_gettop(L);
71684   if (argc == 0) {
71685     return _wrap_new_SBUnixSignals__SWIG_0(L);
71686   }
71687   if (argc == 1) {
71688     int _v = 0;
71689     {
71690       void *ptr;
71691       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBUnixSignals, SWIG_POINTER_NO_NULL)) {
71692         _v = 0;
71693       } else {
71694         _v = 1;
71695       }
71696     }
71697     if (_v) {
71698       return _wrap_new_SBUnixSignals__SWIG_1(L);
71699     }
71700   }
71701 
71702   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBUnixSignals'\n"
71703     "  Possible C/C++ prototypes are:\n"
71704     "    lldb::SBUnixSignals::SBUnixSignals()\n"
71705     "    lldb::SBUnixSignals::SBUnixSignals(lldb::SBUnixSignals const &)\n");
71706   lua_error(L);return 0;
71707 }
71708 
71709 
_wrap_SBUnixSignals_Clear(lua_State * L)71710 static int _wrap_SBUnixSignals_Clear(lua_State* L) {
71711   {
71712     int SWIG_arg = 0;
71713     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71714 
71715     SWIG_check_num_args("lldb::SBUnixSignals::Clear",1,1)
71716     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::Clear",1,"lldb::SBUnixSignals *");
71717 
71718     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71719       SWIG_fail_ptr("SBUnixSignals_Clear",1,SWIGTYPE_p_lldb__SBUnixSignals);
71720     }
71721 
71722     (arg1)->Clear();
71723 
71724     return SWIG_arg;
71725 
71726     fail: SWIGUNUSED;
71727   }
71728   lua_error(L);
71729   return 0;
71730 }
71731 
71732 
_wrap_SBUnixSignals_IsValid(lua_State * L)71733 static int _wrap_SBUnixSignals_IsValid(lua_State* L) {
71734   {
71735     int SWIG_arg = 0;
71736     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71737     bool result;
71738 
71739     SWIG_check_num_args("lldb::SBUnixSignals::IsValid",1,1)
71740     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::IsValid",1,"lldb::SBUnixSignals const *");
71741 
71742     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71743       SWIG_fail_ptr("SBUnixSignals_IsValid",1,SWIGTYPE_p_lldb__SBUnixSignals);
71744     }
71745 
71746     result = (bool)((lldb::SBUnixSignals const *)arg1)->IsValid();
71747     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71748     return SWIG_arg;
71749 
71750     fail: SWIGUNUSED;
71751   }
71752   lua_error(L);
71753   return 0;
71754 }
71755 
71756 
_wrap_SBUnixSignals_GetSignalAsCString(lua_State * L)71757 static int _wrap_SBUnixSignals_GetSignalAsCString(lua_State* L) {
71758   {
71759     int SWIG_arg = 0;
71760     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71761     int32_t arg2 ;
71762     char *result = 0 ;
71763 
71764     SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAsCString",2,2)
71765     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",1,"lldb::SBUnixSignals const *");
71766     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAsCString",2,"int32_t");
71767 
71768     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71769       SWIG_fail_ptr("SBUnixSignals_GetSignalAsCString",1,SWIGTYPE_p_lldb__SBUnixSignals);
71770     }
71771 
71772     arg2 = (int32_t)lua_tointeger(L, 2);
71773     result = (char *)((lldb::SBUnixSignals const *)arg1)->GetSignalAsCString(arg2);
71774     lua_pushstring(L,(const char *)result); SWIG_arg++;
71775     return SWIG_arg;
71776 
71777     fail: SWIGUNUSED;
71778   }
71779   lua_error(L);
71780   return 0;
71781 }
71782 
71783 
_wrap_SBUnixSignals_GetSignalNumberFromName(lua_State * L)71784 static int _wrap_SBUnixSignals_GetSignalNumberFromName(lua_State* L) {
71785   {
71786     int SWIG_arg = 0;
71787     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71788     char *arg2 = (char *) 0 ;
71789     int32_t result;
71790 
71791     SWIG_check_num_args("lldb::SBUnixSignals::GetSignalNumberFromName",2,2)
71792     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",1,"lldb::SBUnixSignals const *");
71793     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalNumberFromName",2,"char const *");
71794 
71795     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71796       SWIG_fail_ptr("SBUnixSignals_GetSignalNumberFromName",1,SWIGTYPE_p_lldb__SBUnixSignals);
71797     }
71798 
71799     arg2 = (char *)lua_tostring(L, 2);
71800     result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalNumberFromName((char const *)arg2);
71801     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
71802     return SWIG_arg;
71803 
71804     fail: SWIGUNUSED;
71805   }
71806   lua_error(L);
71807   return 0;
71808 }
71809 
71810 
_wrap_SBUnixSignals_GetShouldSuppress(lua_State * L)71811 static int _wrap_SBUnixSignals_GetShouldSuppress(lua_State* L) {
71812   {
71813     int SWIG_arg = 0;
71814     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71815     int32_t arg2 ;
71816     bool result;
71817 
71818     SWIG_check_num_args("lldb::SBUnixSignals::GetShouldSuppress",2,2)
71819     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",1,"lldb::SBUnixSignals const *");
71820     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldSuppress",2,"int32_t");
71821 
71822     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71823       SWIG_fail_ptr("SBUnixSignals_GetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals);
71824     }
71825 
71826     arg2 = (int32_t)lua_tointeger(L, 2);
71827     result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldSuppress(arg2);
71828     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71829     return SWIG_arg;
71830 
71831     fail: SWIGUNUSED;
71832   }
71833   lua_error(L);
71834   return 0;
71835 }
71836 
71837 
_wrap_SBUnixSignals_SetShouldSuppress(lua_State * L)71838 static int _wrap_SBUnixSignals_SetShouldSuppress(lua_State* L) {
71839   {
71840     int SWIG_arg = 0;
71841     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71842     int32_t arg2 ;
71843     bool arg3 ;
71844     bool result;
71845 
71846     SWIG_check_num_args("lldb::SBUnixSignals::SetShouldSuppress",3,3)
71847     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",1,"lldb::SBUnixSignals *");
71848     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",2,"int32_t");
71849     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldSuppress",3,"bool");
71850 
71851     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71852       SWIG_fail_ptr("SBUnixSignals_SetShouldSuppress",1,SWIGTYPE_p_lldb__SBUnixSignals);
71853     }
71854 
71855     arg2 = (int32_t)lua_tointeger(L, 2);
71856     arg3 = (lua_toboolean(L, 3)!=0);
71857     result = (bool)(arg1)->SetShouldSuppress(arg2,arg3);
71858     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71859     return SWIG_arg;
71860 
71861     fail: SWIGUNUSED;
71862   }
71863   lua_error(L);
71864   return 0;
71865 }
71866 
71867 
_wrap_SBUnixSignals_GetShouldStop(lua_State * L)71868 static int _wrap_SBUnixSignals_GetShouldStop(lua_State* L) {
71869   {
71870     int SWIG_arg = 0;
71871     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71872     int32_t arg2 ;
71873     bool result;
71874 
71875     SWIG_check_num_args("lldb::SBUnixSignals::GetShouldStop",2,2)
71876     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",1,"lldb::SBUnixSignals const *");
71877     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldStop",2,"int32_t");
71878 
71879     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71880       SWIG_fail_ptr("SBUnixSignals_GetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals);
71881     }
71882 
71883     arg2 = (int32_t)lua_tointeger(L, 2);
71884     result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldStop(arg2);
71885     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71886     return SWIG_arg;
71887 
71888     fail: SWIGUNUSED;
71889   }
71890   lua_error(L);
71891   return 0;
71892 }
71893 
71894 
_wrap_SBUnixSignals_SetShouldStop(lua_State * L)71895 static int _wrap_SBUnixSignals_SetShouldStop(lua_State* L) {
71896   {
71897     int SWIG_arg = 0;
71898     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71899     int32_t arg2 ;
71900     bool arg3 ;
71901     bool result;
71902 
71903     SWIG_check_num_args("lldb::SBUnixSignals::SetShouldStop",3,3)
71904     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",1,"lldb::SBUnixSignals *");
71905     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",2,"int32_t");
71906     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldStop",3,"bool");
71907 
71908     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71909       SWIG_fail_ptr("SBUnixSignals_SetShouldStop",1,SWIGTYPE_p_lldb__SBUnixSignals);
71910     }
71911 
71912     arg2 = (int32_t)lua_tointeger(L, 2);
71913     arg3 = (lua_toboolean(L, 3)!=0);
71914     result = (bool)(arg1)->SetShouldStop(arg2,arg3);
71915     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71916     return SWIG_arg;
71917 
71918     fail: SWIGUNUSED;
71919   }
71920   lua_error(L);
71921   return 0;
71922 }
71923 
71924 
_wrap_SBUnixSignals_GetShouldNotify(lua_State * L)71925 static int _wrap_SBUnixSignals_GetShouldNotify(lua_State* L) {
71926   {
71927     int SWIG_arg = 0;
71928     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71929     int32_t arg2 ;
71930     bool result;
71931 
71932     SWIG_check_num_args("lldb::SBUnixSignals::GetShouldNotify",2,2)
71933     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",1,"lldb::SBUnixSignals const *");
71934     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetShouldNotify",2,"int32_t");
71935 
71936     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71937       SWIG_fail_ptr("SBUnixSignals_GetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals);
71938     }
71939 
71940     arg2 = (int32_t)lua_tointeger(L, 2);
71941     result = (bool)((lldb::SBUnixSignals const *)arg1)->GetShouldNotify(arg2);
71942     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71943     return SWIG_arg;
71944 
71945     fail: SWIGUNUSED;
71946   }
71947   lua_error(L);
71948   return 0;
71949 }
71950 
71951 
_wrap_SBUnixSignals_SetShouldNotify(lua_State * L)71952 static int _wrap_SBUnixSignals_SetShouldNotify(lua_State* L) {
71953   {
71954     int SWIG_arg = 0;
71955     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71956     int32_t arg2 ;
71957     bool arg3 ;
71958     bool result;
71959 
71960     SWIG_check_num_args("lldb::SBUnixSignals::SetShouldNotify",3,3)
71961     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",1,"lldb::SBUnixSignals *");
71962     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",2,"int32_t");
71963     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBUnixSignals::SetShouldNotify",3,"bool");
71964 
71965     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71966       SWIG_fail_ptr("SBUnixSignals_SetShouldNotify",1,SWIGTYPE_p_lldb__SBUnixSignals);
71967     }
71968 
71969     arg2 = (int32_t)lua_tointeger(L, 2);
71970     arg3 = (lua_toboolean(L, 3)!=0);
71971     result = (bool)(arg1)->SetShouldNotify(arg2,arg3);
71972     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
71973     return SWIG_arg;
71974 
71975     fail: SWIGUNUSED;
71976   }
71977   lua_error(L);
71978   return 0;
71979 }
71980 
71981 
_wrap_SBUnixSignals_GetNumSignals(lua_State * L)71982 static int _wrap_SBUnixSignals_GetNumSignals(lua_State* L) {
71983   {
71984     int SWIG_arg = 0;
71985     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
71986     int32_t result;
71987 
71988     SWIG_check_num_args("lldb::SBUnixSignals::GetNumSignals",1,1)
71989     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetNumSignals",1,"lldb::SBUnixSignals const *");
71990 
71991     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
71992       SWIG_fail_ptr("SBUnixSignals_GetNumSignals",1,SWIGTYPE_p_lldb__SBUnixSignals);
71993     }
71994 
71995     result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetNumSignals();
71996     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
71997     return SWIG_arg;
71998 
71999     fail: SWIGUNUSED;
72000   }
72001   lua_error(L);
72002   return 0;
72003 }
72004 
72005 
_wrap_SBUnixSignals_GetSignalAtIndex(lua_State * L)72006 static int _wrap_SBUnixSignals_GetSignalAtIndex(lua_State* L) {
72007   {
72008     int SWIG_arg = 0;
72009     lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) 0 ;
72010     int32_t arg2 ;
72011     int32_t result;
72012 
72013     SWIG_check_num_args("lldb::SBUnixSignals::GetSignalAtIndex",2,2)
72014     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",1,"lldb::SBUnixSignals const *");
72015     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBUnixSignals::GetSignalAtIndex",2,"int32_t");
72016 
72017     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBUnixSignals,0))){
72018       SWIG_fail_ptr("SBUnixSignals_GetSignalAtIndex",1,SWIGTYPE_p_lldb__SBUnixSignals);
72019     }
72020 
72021     arg2 = (int32_t)lua_tointeger(L, 2);
72022     result = (int32_t)((lldb::SBUnixSignals const *)arg1)->GetSignalAtIndex(arg2);
72023     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72024     return SWIG_arg;
72025 
72026     fail: SWIGUNUSED;
72027   }
72028   lua_error(L);
72029   return 0;
72030 }
72031 
72032 
swig_delete_SBUnixSignals(void * obj)72033 static void swig_delete_SBUnixSignals(void *obj) {
72034 lldb::SBUnixSignals *arg1 = (lldb::SBUnixSignals *) obj;
72035 delete arg1;
72036 }
_proxy__wrap_new_SBUnixSignals(lua_State * L)72037 static int _proxy__wrap_new_SBUnixSignals(lua_State *L) {
72038     assert(lua_istable(L,1));
72039     lua_pushcfunction(L,_wrap_new_SBUnixSignals);
72040     assert(!lua_isnil(L,-1));
72041     lua_replace(L,1); /* replace our table with real constructor */
72042     lua_call(L,lua_gettop(L)-1,1);
72043     return 1;
72044 }
72045 static swig_lua_attribute swig_SBUnixSignals_attributes[] = {
72046     {0,0,0}
72047 };
72048 static swig_lua_method swig_SBUnixSignals_methods[]= {
72049     { "Clear", _wrap_SBUnixSignals_Clear},
72050     { "IsValid", _wrap_SBUnixSignals_IsValid},
72051     { "GetSignalAsCString", _wrap_SBUnixSignals_GetSignalAsCString},
72052     { "GetSignalNumberFromName", _wrap_SBUnixSignals_GetSignalNumberFromName},
72053     { "GetShouldSuppress", _wrap_SBUnixSignals_GetShouldSuppress},
72054     { "SetShouldSuppress", _wrap_SBUnixSignals_SetShouldSuppress},
72055     { "GetShouldStop", _wrap_SBUnixSignals_GetShouldStop},
72056     { "SetShouldStop", _wrap_SBUnixSignals_SetShouldStop},
72057     { "GetShouldNotify", _wrap_SBUnixSignals_GetShouldNotify},
72058     { "SetShouldNotify", _wrap_SBUnixSignals_SetShouldNotify},
72059     { "GetNumSignals", _wrap_SBUnixSignals_GetNumSignals},
72060     { "GetSignalAtIndex", _wrap_SBUnixSignals_GetSignalAtIndex},
72061     {0,0}
72062 };
72063 static swig_lua_method swig_SBUnixSignals_meta[] = {
72064     {0,0}
72065 };
72066 
72067 static swig_lua_attribute swig_SBUnixSignals_Sf_SwigStatic_attributes[] = {
72068     {0,0,0}
72069 };
72070 static swig_lua_const_info swig_SBUnixSignals_Sf_SwigStatic_constants[]= {
72071     {0,0,0,0,0,0}
72072 };
72073 static swig_lua_method swig_SBUnixSignals_Sf_SwigStatic_methods[]= {
72074     {0,0}
72075 };
72076 static swig_lua_class* swig_SBUnixSignals_Sf_SwigStatic_classes[]= {
72077     0
72078 };
72079 
72080 static swig_lua_namespace swig_SBUnixSignals_Sf_SwigStatic = {
72081     "SBUnixSignals",
72082     swig_SBUnixSignals_Sf_SwigStatic_methods,
72083     swig_SBUnixSignals_Sf_SwigStatic_attributes,
72084     swig_SBUnixSignals_Sf_SwigStatic_constants,
72085     swig_SBUnixSignals_Sf_SwigStatic_classes,
72086     0
72087 };
72088 static swig_lua_class *swig_SBUnixSignals_bases[] = {0};
72089 static const char *swig_SBUnixSignals_base_names[] = {0};
72090 static swig_lua_class _wrap_class_SBUnixSignals = { "SBUnixSignals", "SBUnixSignals", &SWIGTYPE_p_lldb__SBUnixSignals,_proxy__wrap_new_SBUnixSignals, swig_delete_SBUnixSignals, swig_SBUnixSignals_methods, swig_SBUnixSignals_attributes, &swig_SBUnixSignals_Sf_SwigStatic, swig_SBUnixSignals_meta, swig_SBUnixSignals_bases, swig_SBUnixSignals_base_names };
72091 
_wrap_new_SBValue__SWIG_0(lua_State * L)72092 static int _wrap_new_SBValue__SWIG_0(lua_State* L) {
72093   {
72094     int SWIG_arg = 0;
72095     lldb::SBValue *result = 0 ;
72096 
72097     SWIG_check_num_args("lldb::SBValue::SBValue",0,0)
72098     result = (lldb::SBValue *)new lldb::SBValue();
72099     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
72100     return SWIG_arg;
72101 
72102     fail: SWIGUNUSED;
72103   }
72104   lua_error(L);
72105   return 0;
72106 }
72107 
72108 
_wrap_new_SBValue__SWIG_1(lua_State * L)72109 static int _wrap_new_SBValue__SWIG_1(lua_State* L) {
72110   {
72111     int SWIG_arg = 0;
72112     lldb::SBValue *arg1 = 0 ;
72113     lldb::SBValue *result = 0 ;
72114 
72115     SWIG_check_num_args("lldb::SBValue::SBValue",1,1)
72116     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValue::SBValue",1,"lldb::SBValue const &");
72117 
72118     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72119       SWIG_fail_ptr("new_SBValue",1,SWIGTYPE_p_lldb__SBValue);
72120     }
72121 
72122     result = (lldb::SBValue *)new lldb::SBValue((lldb::SBValue const &)*arg1);
72123     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
72124     return SWIG_arg;
72125 
72126     fail: SWIGUNUSED;
72127   }
72128   lua_error(L);
72129   return 0;
72130 }
72131 
72132 
_wrap_new_SBValue(lua_State * L)72133 static int _wrap_new_SBValue(lua_State* L) {
72134   int argc;
72135   int argv[2]={
72136     1,2
72137   };
72138 
72139   argc = lua_gettop(L);
72140   if (argc == 0) {
72141     return _wrap_new_SBValue__SWIG_0(L);
72142   }
72143   if (argc == 1) {
72144     int _v = 0;
72145     {
72146       void *ptr;
72147       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_NO_NULL)) {
72148         _v = 0;
72149       } else {
72150         _v = 1;
72151       }
72152     }
72153     if (_v) {
72154       return _wrap_new_SBValue__SWIG_1(L);
72155     }
72156   }
72157 
72158   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBValue'\n"
72159     "  Possible C/C++ prototypes are:\n"
72160     "    lldb::SBValue::SBValue()\n"
72161     "    lldb::SBValue::SBValue(lldb::SBValue const &)\n");
72162   lua_error(L);return 0;
72163 }
72164 
72165 
_wrap_SBValue_IsValid(lua_State * L)72166 static int _wrap_SBValue_IsValid(lua_State* L) {
72167   {
72168     int SWIG_arg = 0;
72169     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72170     bool result;
72171 
72172     SWIG_check_num_args("lldb::SBValue::IsValid",1,1)
72173     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsValid",1,"lldb::SBValue *");
72174 
72175     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72176       SWIG_fail_ptr("SBValue_IsValid",1,SWIGTYPE_p_lldb__SBValue);
72177     }
72178 
72179     result = (bool)(arg1)->IsValid();
72180     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
72181     return SWIG_arg;
72182 
72183     fail: SWIGUNUSED;
72184   }
72185   lua_error(L);
72186   return 0;
72187 }
72188 
72189 
_wrap_SBValue_Clear(lua_State * L)72190 static int _wrap_SBValue_Clear(lua_State* L) {
72191   {
72192     int SWIG_arg = 0;
72193     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72194 
72195     SWIG_check_num_args("lldb::SBValue::Clear",1,1)
72196     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clear",1,"lldb::SBValue *");
72197 
72198     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72199       SWIG_fail_ptr("SBValue_Clear",1,SWIGTYPE_p_lldb__SBValue);
72200     }
72201 
72202     (arg1)->Clear();
72203 
72204     return SWIG_arg;
72205 
72206     fail: SWIGUNUSED;
72207   }
72208   lua_error(L);
72209   return 0;
72210 }
72211 
72212 
_wrap_SBValue_GetError(lua_State * L)72213 static int _wrap_SBValue_GetError(lua_State* L) {
72214   {
72215     int SWIG_arg = 0;
72216     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72217     lldb::SBError result;
72218 
72219     SWIG_check_num_args("lldb::SBValue::GetError",1,1)
72220     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetError",1,"lldb::SBValue *");
72221 
72222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72223       SWIG_fail_ptr("SBValue_GetError",1,SWIGTYPE_p_lldb__SBValue);
72224     }
72225 
72226     result = (arg1)->GetError();
72227     {
72228       lldb::SBError * resultptr = new lldb::SBError(result);
72229       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
72230     }
72231     return SWIG_arg;
72232 
72233     fail: SWIGUNUSED;
72234   }
72235   lua_error(L);
72236   return 0;
72237 }
72238 
72239 
_wrap_SBValue_GetID(lua_State * L)72240 static int _wrap_SBValue_GetID(lua_State* L) {
72241   {
72242     int SWIG_arg = 0;
72243     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72244     lldb::user_id_t result;
72245 
72246     SWIG_check_num_args("lldb::SBValue::GetID",1,1)
72247     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetID",1,"lldb::SBValue *");
72248 
72249     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72250       SWIG_fail_ptr("SBValue_GetID",1,SWIGTYPE_p_lldb__SBValue);
72251     }
72252 
72253     result = (lldb::user_id_t)(arg1)->GetID();
72254     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72255     return SWIG_arg;
72256 
72257     fail: SWIGUNUSED;
72258   }
72259   lua_error(L);
72260   return 0;
72261 }
72262 
72263 
_wrap_SBValue_GetName(lua_State * L)72264 static int _wrap_SBValue_GetName(lua_State* L) {
72265   {
72266     int SWIG_arg = 0;
72267     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72268     char *result = 0 ;
72269 
72270     SWIG_check_num_args("lldb::SBValue::GetName",1,1)
72271     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetName",1,"lldb::SBValue *");
72272 
72273     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72274       SWIG_fail_ptr("SBValue_GetName",1,SWIGTYPE_p_lldb__SBValue);
72275     }
72276 
72277     result = (char *)(arg1)->GetName();
72278     lua_pushstring(L,(const char *)result); SWIG_arg++;
72279     return SWIG_arg;
72280 
72281     fail: SWIGUNUSED;
72282   }
72283   lua_error(L);
72284   return 0;
72285 }
72286 
72287 
_wrap_SBValue_GetTypeName(lua_State * L)72288 static int _wrap_SBValue_GetTypeName(lua_State* L) {
72289   {
72290     int SWIG_arg = 0;
72291     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72292     char *result = 0 ;
72293 
72294     SWIG_check_num_args("lldb::SBValue::GetTypeName",1,1)
72295     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeName",1,"lldb::SBValue *");
72296 
72297     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72298       SWIG_fail_ptr("SBValue_GetTypeName",1,SWIGTYPE_p_lldb__SBValue);
72299     }
72300 
72301     result = (char *)(arg1)->GetTypeName();
72302     lua_pushstring(L,(const char *)result); SWIG_arg++;
72303     return SWIG_arg;
72304 
72305     fail: SWIGUNUSED;
72306   }
72307   lua_error(L);
72308   return 0;
72309 }
72310 
72311 
_wrap_SBValue_GetDisplayTypeName(lua_State * L)72312 static int _wrap_SBValue_GetDisplayTypeName(lua_State* L) {
72313   {
72314     int SWIG_arg = 0;
72315     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72316     char *result = 0 ;
72317 
72318     SWIG_check_num_args("lldb::SBValue::GetDisplayTypeName",1,1)
72319     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDisplayTypeName",1,"lldb::SBValue *");
72320 
72321     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72322       SWIG_fail_ptr("SBValue_GetDisplayTypeName",1,SWIGTYPE_p_lldb__SBValue);
72323     }
72324 
72325     result = (char *)(arg1)->GetDisplayTypeName();
72326     lua_pushstring(L,(const char *)result); SWIG_arg++;
72327     return SWIG_arg;
72328 
72329     fail: SWIGUNUSED;
72330   }
72331   lua_error(L);
72332   return 0;
72333 }
72334 
72335 
_wrap_SBValue_GetByteSize(lua_State * L)72336 static int _wrap_SBValue_GetByteSize(lua_State* L) {
72337   {
72338     int SWIG_arg = 0;
72339     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72340     size_t result;
72341 
72342     SWIG_check_num_args("lldb::SBValue::GetByteSize",1,1)
72343     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetByteSize",1,"lldb::SBValue *");
72344 
72345     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72346       SWIG_fail_ptr("SBValue_GetByteSize",1,SWIGTYPE_p_lldb__SBValue);
72347     }
72348 
72349     result = (arg1)->GetByteSize();
72350     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72351     return SWIG_arg;
72352 
72353     fail: SWIGUNUSED;
72354   }
72355   lua_error(L);
72356   return 0;
72357 }
72358 
72359 
_wrap_SBValue_IsInScope(lua_State * L)72360 static int _wrap_SBValue_IsInScope(lua_State* L) {
72361   {
72362     int SWIG_arg = 0;
72363     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72364     bool result;
72365 
72366     SWIG_check_num_args("lldb::SBValue::IsInScope",1,1)
72367     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsInScope",1,"lldb::SBValue *");
72368 
72369     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72370       SWIG_fail_ptr("SBValue_IsInScope",1,SWIGTYPE_p_lldb__SBValue);
72371     }
72372 
72373     result = (bool)(arg1)->IsInScope();
72374     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
72375     return SWIG_arg;
72376 
72377     fail: SWIGUNUSED;
72378   }
72379   lua_error(L);
72380   return 0;
72381 }
72382 
72383 
_wrap_SBValue_GetFormat(lua_State * L)72384 static int _wrap_SBValue_GetFormat(lua_State* L) {
72385   {
72386     int SWIG_arg = 0;
72387     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72388     lldb::Format result;
72389 
72390     SWIG_check_num_args("lldb::SBValue::GetFormat",1,1)
72391     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFormat",1,"lldb::SBValue *");
72392 
72393     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72394       SWIG_fail_ptr("SBValue_GetFormat",1,SWIGTYPE_p_lldb__SBValue);
72395     }
72396 
72397     result = (lldb::Format)(arg1)->GetFormat();
72398     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72399     return SWIG_arg;
72400 
72401     fail: SWIGUNUSED;
72402   }
72403   lua_error(L);
72404   return 0;
72405 }
72406 
72407 
_wrap_SBValue_SetFormat(lua_State * L)72408 static int _wrap_SBValue_SetFormat(lua_State* L) {
72409   {
72410     int SWIG_arg = 0;
72411     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72412     lldb::Format arg2 ;
72413 
72414     SWIG_check_num_args("lldb::SBValue::SetFormat",2,2)
72415     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetFormat",1,"lldb::SBValue *");
72416     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetFormat",2,"lldb::Format");
72417 
72418     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72419       SWIG_fail_ptr("SBValue_SetFormat",1,SWIGTYPE_p_lldb__SBValue);
72420     }
72421 
72422     arg2 = (lldb::Format)lua_tointeger(L, 2);
72423     (arg1)->SetFormat(arg2);
72424 
72425     return SWIG_arg;
72426 
72427     fail: SWIGUNUSED;
72428   }
72429   lua_error(L);
72430   return 0;
72431 }
72432 
72433 
_wrap_SBValue_GetValue(lua_State * L)72434 static int _wrap_SBValue_GetValue(lua_State* L) {
72435   {
72436     int SWIG_arg = 0;
72437     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72438     char *result = 0 ;
72439 
72440     SWIG_check_num_args("lldb::SBValue::GetValue",1,1)
72441     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValue",1,"lldb::SBValue *");
72442 
72443     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72444       SWIG_fail_ptr("SBValue_GetValue",1,SWIGTYPE_p_lldb__SBValue);
72445     }
72446 
72447     result = (char *)(arg1)->GetValue();
72448     lua_pushstring(L,(const char *)result); SWIG_arg++;
72449     return SWIG_arg;
72450 
72451     fail: SWIGUNUSED;
72452   }
72453   lua_error(L);
72454   return 0;
72455 }
72456 
72457 
_wrap_SBValue_GetValueAsSigned__SWIG_0(lua_State * L)72458 static int _wrap_SBValue_GetValueAsSigned__SWIG_0(lua_State* L) {
72459   {
72460     int SWIG_arg = 0;
72461     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72462     lldb::SBError *arg2 = 0 ;
72463     int64_t arg3 ;
72464     int64_t result;
72465 
72466     SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",3,3)
72467     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *");
72468     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &");
72469     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",3,"int64_t");
72470 
72471     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72472       SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue);
72473     }
72474 
72475 
72476     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
72477       SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError);
72478     }
72479 
72480     arg3 = (int64_t)lua_tointeger(L, 3);
72481     result = (int64_t)(arg1)->GetValueAsSigned(*arg2,arg3);
72482     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72483     return SWIG_arg;
72484 
72485     fail: SWIGUNUSED;
72486   }
72487   lua_error(L);
72488   return 0;
72489 }
72490 
72491 
_wrap_SBValue_GetValueAsSigned__SWIG_1(lua_State * L)72492 static int _wrap_SBValue_GetValueAsSigned__SWIG_1(lua_State* L) {
72493   {
72494     int SWIG_arg = 0;
72495     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72496     lldb::SBError *arg2 = 0 ;
72497     int64_t result;
72498 
72499     SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2)
72500     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *");
72501     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"lldb::SBError &");
72502 
72503     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72504       SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue);
72505     }
72506 
72507 
72508     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
72509       SWIG_fail_ptr("SBValue_GetValueAsSigned",2,SWIGTYPE_p_lldb__SBError);
72510     }
72511 
72512     result = (int64_t)(arg1)->GetValueAsSigned(*arg2);
72513     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72514     return SWIG_arg;
72515 
72516     fail: SWIGUNUSED;
72517   }
72518   lua_error(L);
72519   return 0;
72520 }
72521 
72522 
_wrap_SBValue_GetValueAsUnsigned__SWIG_0(lua_State * L)72523 static int _wrap_SBValue_GetValueAsUnsigned__SWIG_0(lua_State* L) {
72524   {
72525     int SWIG_arg = 0;
72526     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72527     lldb::SBError *arg2 = 0 ;
72528     uint64_t arg3 ;
72529     uint64_t result;
72530 
72531     SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",3,3)
72532     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *");
72533     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &");
72534     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",3,"uint64_t");
72535 
72536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72537       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue);
72538     }
72539 
72540 
72541     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
72542       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError);
72543     }
72544 
72545     arg3 = (uint64_t)lua_tointeger(L, 3);
72546     result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2,arg3);
72547     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72548     return SWIG_arg;
72549 
72550     fail: SWIGUNUSED;
72551   }
72552   lua_error(L);
72553   return 0;
72554 }
72555 
72556 
_wrap_SBValue_GetValueAsUnsigned__SWIG_1(lua_State * L)72557 static int _wrap_SBValue_GetValueAsUnsigned__SWIG_1(lua_State* L) {
72558   {
72559     int SWIG_arg = 0;
72560     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72561     lldb::SBError *arg2 = 0 ;
72562     uint64_t result;
72563 
72564     SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2)
72565     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *");
72566     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"lldb::SBError &");
72567 
72568     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72569       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue);
72570     }
72571 
72572 
72573     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){
72574       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",2,SWIGTYPE_p_lldb__SBError);
72575     }
72576 
72577     result = (uint64_t)(arg1)->GetValueAsUnsigned(*arg2);
72578     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72579     return SWIG_arg;
72580 
72581     fail: SWIGUNUSED;
72582   }
72583   lua_error(L);
72584   return 0;
72585 }
72586 
72587 
_wrap_SBValue_GetValueAsSigned__SWIG_2(lua_State * L)72588 static int _wrap_SBValue_GetValueAsSigned__SWIG_2(lua_State* L) {
72589   {
72590     int SWIG_arg = 0;
72591     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72592     int64_t arg2 ;
72593     int64_t result;
72594 
72595     SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",2,2)
72596     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *");
72597     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",2,"int64_t");
72598 
72599     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72600       SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue);
72601     }
72602 
72603     arg2 = (int64_t)lua_tointeger(L, 2);
72604     result = (int64_t)(arg1)->GetValueAsSigned(arg2);
72605     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72606     return SWIG_arg;
72607 
72608     fail: SWIGUNUSED;
72609   }
72610   lua_error(L);
72611   return 0;
72612 }
72613 
72614 
_wrap_SBValue_GetValueAsSigned__SWIG_3(lua_State * L)72615 static int _wrap_SBValue_GetValueAsSigned__SWIG_3(lua_State* L) {
72616   {
72617     int SWIG_arg = 0;
72618     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72619     int64_t result;
72620 
72621     SWIG_check_num_args("lldb::SBValue::GetValueAsSigned",1,1)
72622     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsSigned",1,"lldb::SBValue *");
72623 
72624     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72625       SWIG_fail_ptr("SBValue_GetValueAsSigned",1,SWIGTYPE_p_lldb__SBValue);
72626     }
72627 
72628     result = (int64_t)(arg1)->GetValueAsSigned();
72629     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72630     return SWIG_arg;
72631 
72632     fail: SWIGUNUSED;
72633   }
72634   lua_error(L);
72635   return 0;
72636 }
72637 
72638 
_wrap_SBValue_GetValueAsSigned(lua_State * L)72639 static int _wrap_SBValue_GetValueAsSigned(lua_State* L) {
72640   int argc;
72641   int argv[4]={
72642     1,2,3,4
72643   };
72644 
72645   argc = lua_gettop(L);
72646   if (argc == 1) {
72647     int _v = 0;
72648     {
72649       void *ptr;
72650       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72651         _v = 0;
72652       } else {
72653         _v = 1;
72654       }
72655     }
72656     if (_v) {
72657       return _wrap_SBValue_GetValueAsSigned__SWIG_3(L);
72658     }
72659   }
72660   if (argc == 2) {
72661     int _v = 0;
72662     {
72663       void *ptr;
72664       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72665         _v = 0;
72666       } else {
72667         _v = 1;
72668       }
72669     }
72670     if (_v) {
72671       {
72672         void *ptr;
72673         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
72674           _v = 0;
72675         } else {
72676           _v = 1;
72677         }
72678       }
72679       if (_v) {
72680         return _wrap_SBValue_GetValueAsSigned__SWIG_1(L);
72681       }
72682     }
72683   }
72684   if (argc == 2) {
72685     int _v = 0;
72686     {
72687       void *ptr;
72688       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72689         _v = 0;
72690       } else {
72691         _v = 1;
72692       }
72693     }
72694     if (_v) {
72695       {
72696         _v = lua_isnumber(L,argv[1]);
72697       }
72698       if (_v) {
72699         return _wrap_SBValue_GetValueAsSigned__SWIG_2(L);
72700       }
72701     }
72702   }
72703   if (argc == 3) {
72704     int _v = 0;
72705     {
72706       void *ptr;
72707       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72708         _v = 0;
72709       } else {
72710         _v = 1;
72711       }
72712     }
72713     if (_v) {
72714       {
72715         void *ptr;
72716         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
72717           _v = 0;
72718         } else {
72719           _v = 1;
72720         }
72721       }
72722       if (_v) {
72723         {
72724           _v = lua_isnumber(L,argv[2]);
72725         }
72726         if (_v) {
72727           return _wrap_SBValue_GetValueAsSigned__SWIG_0(L);
72728         }
72729       }
72730     }
72731   }
72732 
72733   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetValueAsSigned'\n"
72734     "  Possible C/C++ prototypes are:\n"
72735     "    lldb::SBValue::GetValueAsSigned(lldb::SBError &,int64_t)\n"
72736     "    lldb::SBValue::GetValueAsSigned(lldb::SBError &)\n"
72737     "    lldb::SBValue::GetValueAsSigned(int64_t)\n"
72738     "    lldb::SBValue::GetValueAsSigned()\n");
72739   lua_error(L);return 0;
72740 }
72741 
72742 
_wrap_SBValue_GetValueAsUnsigned__SWIG_2(lua_State * L)72743 static int _wrap_SBValue_GetValueAsUnsigned__SWIG_2(lua_State* L) {
72744   {
72745     int SWIG_arg = 0;
72746     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72747     uint64_t arg2 ;
72748     uint64_t result;
72749 
72750     SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",2,2)
72751     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *");
72752     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",2,"uint64_t");
72753 
72754     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72755       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue);
72756     }
72757 
72758     arg2 = (uint64_t)lua_tointeger(L, 2);
72759     result = (uint64_t)(arg1)->GetValueAsUnsigned(arg2);
72760     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72761     return SWIG_arg;
72762 
72763     fail: SWIGUNUSED;
72764   }
72765   lua_error(L);
72766   return 0;
72767 }
72768 
72769 
_wrap_SBValue_GetValueAsUnsigned__SWIG_3(lua_State * L)72770 static int _wrap_SBValue_GetValueAsUnsigned__SWIG_3(lua_State* L) {
72771   {
72772     int SWIG_arg = 0;
72773     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72774     uint64_t result;
72775 
72776     SWIG_check_num_args("lldb::SBValue::GetValueAsUnsigned",1,1)
72777     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueAsUnsigned",1,"lldb::SBValue *");
72778 
72779     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72780       SWIG_fail_ptr("SBValue_GetValueAsUnsigned",1,SWIGTYPE_p_lldb__SBValue);
72781     }
72782 
72783     result = (uint64_t)(arg1)->GetValueAsUnsigned();
72784     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72785     return SWIG_arg;
72786 
72787     fail: SWIGUNUSED;
72788   }
72789   lua_error(L);
72790   return 0;
72791 }
72792 
72793 
_wrap_SBValue_GetValueAsUnsigned(lua_State * L)72794 static int _wrap_SBValue_GetValueAsUnsigned(lua_State* L) {
72795   int argc;
72796   int argv[4]={
72797     1,2,3,4
72798   };
72799 
72800   argc = lua_gettop(L);
72801   if (argc == 1) {
72802     int _v = 0;
72803     {
72804       void *ptr;
72805       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72806         _v = 0;
72807       } else {
72808         _v = 1;
72809       }
72810     }
72811     if (_v) {
72812       return _wrap_SBValue_GetValueAsUnsigned__SWIG_3(L);
72813     }
72814   }
72815   if (argc == 2) {
72816     int _v = 0;
72817     {
72818       void *ptr;
72819       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72820         _v = 0;
72821       } else {
72822         _v = 1;
72823       }
72824     }
72825     if (_v) {
72826       {
72827         void *ptr;
72828         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
72829           _v = 0;
72830         } else {
72831           _v = 1;
72832         }
72833       }
72834       if (_v) {
72835         return _wrap_SBValue_GetValueAsUnsigned__SWIG_1(L);
72836       }
72837     }
72838   }
72839   if (argc == 2) {
72840     int _v = 0;
72841     {
72842       void *ptr;
72843       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72844         _v = 0;
72845       } else {
72846         _v = 1;
72847       }
72848     }
72849     if (_v) {
72850       {
72851         _v = lua_isnumber(L,argv[1]);
72852       }
72853       if (_v) {
72854         return _wrap_SBValue_GetValueAsUnsigned__SWIG_2(L);
72855       }
72856     }
72857   }
72858   if (argc == 3) {
72859     int _v = 0;
72860     {
72861       void *ptr;
72862       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
72863         _v = 0;
72864       } else {
72865         _v = 1;
72866       }
72867     }
72868     if (_v) {
72869       {
72870         void *ptr;
72871         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
72872           _v = 0;
72873         } else {
72874           _v = 1;
72875         }
72876       }
72877       if (_v) {
72878         {
72879           _v = lua_isnumber(L,argv[2]);
72880         }
72881         if (_v) {
72882           return _wrap_SBValue_GetValueAsUnsigned__SWIG_0(L);
72883         }
72884       }
72885     }
72886   }
72887 
72888   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetValueAsUnsigned'\n"
72889     "  Possible C/C++ prototypes are:\n"
72890     "    lldb::SBValue::GetValueAsUnsigned(lldb::SBError &,uint64_t)\n"
72891     "    lldb::SBValue::GetValueAsUnsigned(lldb::SBError &)\n"
72892     "    lldb::SBValue::GetValueAsUnsigned(uint64_t)\n"
72893     "    lldb::SBValue::GetValueAsUnsigned()\n");
72894   lua_error(L);return 0;
72895 }
72896 
72897 
_wrap_SBValue_GetValueType(lua_State * L)72898 static int _wrap_SBValue_GetValueType(lua_State* L) {
72899   {
72900     int SWIG_arg = 0;
72901     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72902     lldb::ValueType result;
72903 
72904     SWIG_check_num_args("lldb::SBValue::GetValueType",1,1)
72905     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueType",1,"lldb::SBValue *");
72906 
72907     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72908       SWIG_fail_ptr("SBValue_GetValueType",1,SWIGTYPE_p_lldb__SBValue);
72909     }
72910 
72911     result = (lldb::ValueType)(arg1)->GetValueType();
72912     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
72913     return SWIG_arg;
72914 
72915     fail: SWIGUNUSED;
72916   }
72917   lua_error(L);
72918   return 0;
72919 }
72920 
72921 
_wrap_SBValue_GetValueDidChange(lua_State * L)72922 static int _wrap_SBValue_GetValueDidChange(lua_State* L) {
72923   {
72924     int SWIG_arg = 0;
72925     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72926     bool result;
72927 
72928     SWIG_check_num_args("lldb::SBValue::GetValueDidChange",1,1)
72929     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueDidChange",1,"lldb::SBValue *");
72930 
72931     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72932       SWIG_fail_ptr("SBValue_GetValueDidChange",1,SWIGTYPE_p_lldb__SBValue);
72933     }
72934 
72935     result = (bool)(arg1)->GetValueDidChange();
72936     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
72937     return SWIG_arg;
72938 
72939     fail: SWIGUNUSED;
72940   }
72941   lua_error(L);
72942   return 0;
72943 }
72944 
72945 
_wrap_SBValue_GetSummary__SWIG_0(lua_State * L)72946 static int _wrap_SBValue_GetSummary__SWIG_0(lua_State* L) {
72947   {
72948     int SWIG_arg = 0;
72949     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72950     char *result = 0 ;
72951 
72952     SWIG_check_num_args("lldb::SBValue::GetSummary",1,1)
72953     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *");
72954 
72955     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72956       SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue);
72957     }
72958 
72959     result = (char *)(arg1)->GetSummary();
72960     lua_pushstring(L,(const char *)result); SWIG_arg++;
72961     return SWIG_arg;
72962 
72963     fail: SWIGUNUSED;
72964   }
72965   lua_error(L);
72966   return 0;
72967 }
72968 
72969 
_wrap_SBValue_GetSummary__SWIG_1(lua_State * L)72970 static int _wrap_SBValue_GetSummary__SWIG_1(lua_State* L) {
72971   {
72972     int SWIG_arg = 0;
72973     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
72974     lldb::SBStream *arg2 = 0 ;
72975     lldb::SBTypeSummaryOptions *arg3 = 0 ;
72976     char *result = 0 ;
72977 
72978     SWIG_check_num_args("lldb::SBValue::GetSummary",3,3)
72979     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetSummary",1,"lldb::SBValue *");
72980     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetSummary",2,"lldb::SBStream &");
72981     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::GetSummary",3,"lldb::SBTypeSummaryOptions &");
72982 
72983     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
72984       SWIG_fail_ptr("SBValue_GetSummary",1,SWIGTYPE_p_lldb__SBValue);
72985     }
72986 
72987 
72988     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
72989       SWIG_fail_ptr("SBValue_GetSummary",2,SWIGTYPE_p_lldb__SBStream);
72990     }
72991 
72992 
72993     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBTypeSummaryOptions,0))){
72994       SWIG_fail_ptr("SBValue_GetSummary",3,SWIGTYPE_p_lldb__SBTypeSummaryOptions);
72995     }
72996 
72997     result = (char *)(arg1)->GetSummary(*arg2,*arg3);
72998     lua_pushstring(L,(const char *)result); SWIG_arg++;
72999     return SWIG_arg;
73000 
73001     fail: SWIGUNUSED;
73002   }
73003   lua_error(L);
73004   return 0;
73005 }
73006 
73007 
_wrap_SBValue_GetSummary(lua_State * L)73008 static int _wrap_SBValue_GetSummary(lua_State* L) {
73009   int argc;
73010   int argv[4]={
73011     1,2,3,4
73012   };
73013 
73014   argc = lua_gettop(L);
73015   if (argc == 1) {
73016     int _v = 0;
73017     {
73018       void *ptr;
73019       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73020         _v = 0;
73021       } else {
73022         _v = 1;
73023       }
73024     }
73025     if (_v) {
73026       return _wrap_SBValue_GetSummary__SWIG_0(L);
73027     }
73028   }
73029   if (argc == 3) {
73030     int _v = 0;
73031     {
73032       void *ptr;
73033       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73034         _v = 0;
73035       } else {
73036         _v = 1;
73037       }
73038     }
73039     if (_v) {
73040       {
73041         void *ptr;
73042         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
73043           _v = 0;
73044         } else {
73045           _v = 1;
73046         }
73047       }
73048       if (_v) {
73049         {
73050           void *ptr;
73051           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBTypeSummaryOptions, SWIG_POINTER_NO_NULL)) {
73052             _v = 0;
73053           } else {
73054             _v = 1;
73055           }
73056         }
73057         if (_v) {
73058           return _wrap_SBValue_GetSummary__SWIG_1(L);
73059         }
73060       }
73061     }
73062   }
73063 
73064   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetSummary'\n"
73065     "  Possible C/C++ prototypes are:\n"
73066     "    lldb::SBValue::GetSummary()\n"
73067     "    lldb::SBValue::GetSummary(lldb::SBStream &,lldb::SBTypeSummaryOptions &)\n");
73068   lua_error(L);return 0;
73069 }
73070 
73071 
_wrap_SBValue_GetObjectDescription(lua_State * L)73072 static int _wrap_SBValue_GetObjectDescription(lua_State* L) {
73073   {
73074     int SWIG_arg = 0;
73075     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73076     char *result = 0 ;
73077 
73078     SWIG_check_num_args("lldb::SBValue::GetObjectDescription",1,1)
73079     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetObjectDescription",1,"lldb::SBValue *");
73080 
73081     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73082       SWIG_fail_ptr("SBValue_GetObjectDescription",1,SWIGTYPE_p_lldb__SBValue);
73083     }
73084 
73085     result = (char *)(arg1)->GetObjectDescription();
73086     lua_pushstring(L,(const char *)result); SWIG_arg++;
73087     return SWIG_arg;
73088 
73089     fail: SWIGUNUSED;
73090   }
73091   lua_error(L);
73092   return 0;
73093 }
73094 
73095 
_wrap_SBValue_GetDynamicValue(lua_State * L)73096 static int _wrap_SBValue_GetDynamicValue(lua_State* L) {
73097   {
73098     int SWIG_arg = 0;
73099     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73100     lldb::DynamicValueType arg2 ;
73101     lldb::SBValue result;
73102 
73103     SWIG_check_num_args("lldb::SBValue::GetDynamicValue",2,2)
73104     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",1,"lldb::SBValue *");
73105     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetDynamicValue",2,"lldb::DynamicValueType");
73106 
73107     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73108       SWIG_fail_ptr("SBValue_GetDynamicValue",1,SWIGTYPE_p_lldb__SBValue);
73109     }
73110 
73111     arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2);
73112     result = (arg1)->GetDynamicValue(arg2);
73113     {
73114       lldb::SBValue * resultptr = new lldb::SBValue(result);
73115       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73116     }
73117     return SWIG_arg;
73118 
73119     fail: SWIGUNUSED;
73120   }
73121   lua_error(L);
73122   return 0;
73123 }
73124 
73125 
_wrap_SBValue_GetStaticValue(lua_State * L)73126 static int _wrap_SBValue_GetStaticValue(lua_State* L) {
73127   {
73128     int SWIG_arg = 0;
73129     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73130     lldb::SBValue result;
73131 
73132     SWIG_check_num_args("lldb::SBValue::GetStaticValue",1,1)
73133     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetStaticValue",1,"lldb::SBValue *");
73134 
73135     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73136       SWIG_fail_ptr("SBValue_GetStaticValue",1,SWIGTYPE_p_lldb__SBValue);
73137     }
73138 
73139     result = (arg1)->GetStaticValue();
73140     {
73141       lldb::SBValue * resultptr = new lldb::SBValue(result);
73142       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73143     }
73144     return SWIG_arg;
73145 
73146     fail: SWIGUNUSED;
73147   }
73148   lua_error(L);
73149   return 0;
73150 }
73151 
73152 
_wrap_SBValue_GetNonSyntheticValue(lua_State * L)73153 static int _wrap_SBValue_GetNonSyntheticValue(lua_State* L) {
73154   {
73155     int SWIG_arg = 0;
73156     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73157     lldb::SBValue result;
73158 
73159     SWIG_check_num_args("lldb::SBValue::GetNonSyntheticValue",1,1)
73160     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNonSyntheticValue",1,"lldb::SBValue *");
73161 
73162     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73163       SWIG_fail_ptr("SBValue_GetNonSyntheticValue",1,SWIGTYPE_p_lldb__SBValue);
73164     }
73165 
73166     result = (arg1)->GetNonSyntheticValue();
73167     {
73168       lldb::SBValue * resultptr = new lldb::SBValue(result);
73169       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73170     }
73171     return SWIG_arg;
73172 
73173     fail: SWIGUNUSED;
73174   }
73175   lua_error(L);
73176   return 0;
73177 }
73178 
73179 
_wrap_SBValue_GetPreferDynamicValue(lua_State * L)73180 static int _wrap_SBValue_GetPreferDynamicValue(lua_State* L) {
73181   {
73182     int SWIG_arg = 0;
73183     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73184     lldb::DynamicValueType result;
73185 
73186     SWIG_check_num_args("lldb::SBValue::GetPreferDynamicValue",1,1)
73187     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferDynamicValue",1,"lldb::SBValue *");
73188 
73189     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73190       SWIG_fail_ptr("SBValue_GetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue);
73191     }
73192 
73193     result = (lldb::DynamicValueType)(arg1)->GetPreferDynamicValue();
73194     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
73195     return SWIG_arg;
73196 
73197     fail: SWIGUNUSED;
73198   }
73199   lua_error(L);
73200   return 0;
73201 }
73202 
73203 
_wrap_SBValue_SetPreferDynamicValue(lua_State * L)73204 static int _wrap_SBValue_SetPreferDynamicValue(lua_State* L) {
73205   {
73206     int SWIG_arg = 0;
73207     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73208     lldb::DynamicValueType arg2 ;
73209 
73210     SWIG_check_num_args("lldb::SBValue::SetPreferDynamicValue",2,2)
73211     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",1,"lldb::SBValue *");
73212     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferDynamicValue",2,"lldb::DynamicValueType");
73213 
73214     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73215       SWIG_fail_ptr("SBValue_SetPreferDynamicValue",1,SWIGTYPE_p_lldb__SBValue);
73216     }
73217 
73218     arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2);
73219     (arg1)->SetPreferDynamicValue(arg2);
73220 
73221     return SWIG_arg;
73222 
73223     fail: SWIGUNUSED;
73224   }
73225   lua_error(L);
73226   return 0;
73227 }
73228 
73229 
_wrap_SBValue_GetPreferSyntheticValue(lua_State * L)73230 static int _wrap_SBValue_GetPreferSyntheticValue(lua_State* L) {
73231   {
73232     int SWIG_arg = 0;
73233     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73234     bool result;
73235 
73236     SWIG_check_num_args("lldb::SBValue::GetPreferSyntheticValue",1,1)
73237     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPreferSyntheticValue",1,"lldb::SBValue *");
73238 
73239     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73240       SWIG_fail_ptr("SBValue_GetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue);
73241     }
73242 
73243     result = (bool)(arg1)->GetPreferSyntheticValue();
73244     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73245     return SWIG_arg;
73246 
73247     fail: SWIGUNUSED;
73248   }
73249   lua_error(L);
73250   return 0;
73251 }
73252 
73253 
_wrap_SBValue_SetPreferSyntheticValue(lua_State * L)73254 static int _wrap_SBValue_SetPreferSyntheticValue(lua_State* L) {
73255   {
73256     int SWIG_arg = 0;
73257     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73258     bool arg2 ;
73259 
73260     SWIG_check_num_args("lldb::SBValue::SetPreferSyntheticValue",2,2)
73261     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",1,"lldb::SBValue *");
73262     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetPreferSyntheticValue",2,"bool");
73263 
73264     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73265       SWIG_fail_ptr("SBValue_SetPreferSyntheticValue",1,SWIGTYPE_p_lldb__SBValue);
73266     }
73267 
73268     arg2 = (lua_toboolean(L, 2)!=0);
73269     (arg1)->SetPreferSyntheticValue(arg2);
73270 
73271     return SWIG_arg;
73272 
73273     fail: SWIGUNUSED;
73274   }
73275   lua_error(L);
73276   return 0;
73277 }
73278 
73279 
_wrap_SBValue_IsDynamic(lua_State * L)73280 static int _wrap_SBValue_IsDynamic(lua_State* L) {
73281   {
73282     int SWIG_arg = 0;
73283     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73284     bool result;
73285 
73286     SWIG_check_num_args("lldb::SBValue::IsDynamic",1,1)
73287     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsDynamic",1,"lldb::SBValue *");
73288 
73289     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73290       SWIG_fail_ptr("SBValue_IsDynamic",1,SWIGTYPE_p_lldb__SBValue);
73291     }
73292 
73293     result = (bool)(arg1)->IsDynamic();
73294     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73295     return SWIG_arg;
73296 
73297     fail: SWIGUNUSED;
73298   }
73299   lua_error(L);
73300   return 0;
73301 }
73302 
73303 
_wrap_SBValue_IsSynthetic(lua_State * L)73304 static int _wrap_SBValue_IsSynthetic(lua_State* L) {
73305   {
73306     int SWIG_arg = 0;
73307     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73308     bool result;
73309 
73310     SWIG_check_num_args("lldb::SBValue::IsSynthetic",1,1)
73311     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSynthetic",1,"lldb::SBValue *");
73312 
73313     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73314       SWIG_fail_ptr("SBValue_IsSynthetic",1,SWIGTYPE_p_lldb__SBValue);
73315     }
73316 
73317     result = (bool)(arg1)->IsSynthetic();
73318     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73319     return SWIG_arg;
73320 
73321     fail: SWIGUNUSED;
73322   }
73323   lua_error(L);
73324   return 0;
73325 }
73326 
73327 
_wrap_SBValue_IsSyntheticChildrenGenerated(lua_State * L)73328 static int _wrap_SBValue_IsSyntheticChildrenGenerated(lua_State* L) {
73329   {
73330     int SWIG_arg = 0;
73331     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73332     bool result;
73333 
73334     SWIG_check_num_args("lldb::SBValue::IsSyntheticChildrenGenerated",1,1)
73335     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsSyntheticChildrenGenerated",1,"lldb::SBValue *");
73336 
73337     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73338       SWIG_fail_ptr("SBValue_IsSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue);
73339     }
73340 
73341     result = (bool)(arg1)->IsSyntheticChildrenGenerated();
73342     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73343     return SWIG_arg;
73344 
73345     fail: SWIGUNUSED;
73346   }
73347   lua_error(L);
73348   return 0;
73349 }
73350 
73351 
_wrap_SBValue_SetSyntheticChildrenGenerated(lua_State * L)73352 static int _wrap_SBValue_SetSyntheticChildrenGenerated(lua_State* L) {
73353   {
73354     int SWIG_arg = 0;
73355     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73356     bool arg2 ;
73357 
73358     SWIG_check_num_args("lldb::SBValue::SetSyntheticChildrenGenerated",2,2)
73359     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",1,"lldb::SBValue *");
73360     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::SetSyntheticChildrenGenerated",2,"bool");
73361 
73362     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73363       SWIG_fail_ptr("SBValue_SetSyntheticChildrenGenerated",1,SWIGTYPE_p_lldb__SBValue);
73364     }
73365 
73366     arg2 = (lua_toboolean(L, 2)!=0);
73367     (arg1)->SetSyntheticChildrenGenerated(arg2);
73368 
73369     return SWIG_arg;
73370 
73371     fail: SWIGUNUSED;
73372   }
73373   lua_error(L);
73374   return 0;
73375 }
73376 
73377 
_wrap_SBValue_GetLocation(lua_State * L)73378 static int _wrap_SBValue_GetLocation(lua_State* L) {
73379   {
73380     int SWIG_arg = 0;
73381     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73382     char *result = 0 ;
73383 
73384     SWIG_check_num_args("lldb::SBValue::GetLocation",1,1)
73385     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLocation",1,"lldb::SBValue *");
73386 
73387     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73388       SWIG_fail_ptr("SBValue_GetLocation",1,SWIGTYPE_p_lldb__SBValue);
73389     }
73390 
73391     result = (char *)(arg1)->GetLocation();
73392     lua_pushstring(L,(const char *)result); SWIG_arg++;
73393     return SWIG_arg;
73394 
73395     fail: SWIGUNUSED;
73396   }
73397   lua_error(L);
73398   return 0;
73399 }
73400 
73401 
_wrap_SBValue_SetValueFromCString__SWIG_0(lua_State * L)73402 static int _wrap_SBValue_SetValueFromCString__SWIG_0(lua_State* L) {
73403   {
73404     int SWIG_arg = 0;
73405     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73406     char *arg2 = (char *) 0 ;
73407     bool result;
73408 
73409     SWIG_check_num_args("lldb::SBValue::SetValueFromCString",2,2)
73410     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *");
73411     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *");
73412 
73413     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73414       SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue);
73415     }
73416 
73417     arg2 = (char *)lua_tostring(L, 2);
73418     result = (bool)(arg1)->SetValueFromCString((char const *)arg2);
73419     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73420     return SWIG_arg;
73421 
73422     fail: SWIGUNUSED;
73423   }
73424   lua_error(L);
73425   return 0;
73426 }
73427 
73428 
_wrap_SBValue_SetValueFromCString__SWIG_1(lua_State * L)73429 static int _wrap_SBValue_SetValueFromCString__SWIG_1(lua_State* L) {
73430   {
73431     int SWIG_arg = 0;
73432     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73433     char *arg2 = (char *) 0 ;
73434     lldb::SBError *arg3 = 0 ;
73435     bool result;
73436 
73437     SWIG_check_num_args("lldb::SBValue::SetValueFromCString",3,3)
73438     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",1,"lldb::SBValue *");
73439     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",2,"char const *");
73440     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetValueFromCString",3,"lldb::SBError &");
73441 
73442     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73443       SWIG_fail_ptr("SBValue_SetValueFromCString",1,SWIGTYPE_p_lldb__SBValue);
73444     }
73445 
73446     arg2 = (char *)lua_tostring(L, 2);
73447 
73448     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
73449       SWIG_fail_ptr("SBValue_SetValueFromCString",3,SWIGTYPE_p_lldb__SBError);
73450     }
73451 
73452     result = (bool)(arg1)->SetValueFromCString((char const *)arg2,*arg3);
73453     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
73454     return SWIG_arg;
73455 
73456     fail: SWIGUNUSED;
73457   }
73458   lua_error(L);
73459   return 0;
73460 }
73461 
73462 
_wrap_SBValue_SetValueFromCString(lua_State * L)73463 static int _wrap_SBValue_SetValueFromCString(lua_State* L) {
73464   int argc;
73465   int argv[4]={
73466     1,2,3,4
73467   };
73468 
73469   argc = lua_gettop(L);
73470   if (argc == 2) {
73471     int _v = 0;
73472     {
73473       void *ptr;
73474       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73475         _v = 0;
73476       } else {
73477         _v = 1;
73478       }
73479     }
73480     if (_v) {
73481       {
73482         _v = SWIG_lua_isnilstring(L,argv[1]);
73483       }
73484       if (_v) {
73485         return _wrap_SBValue_SetValueFromCString__SWIG_0(L);
73486       }
73487     }
73488   }
73489   if (argc == 3) {
73490     int _v = 0;
73491     {
73492       void *ptr;
73493       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73494         _v = 0;
73495       } else {
73496         _v = 1;
73497       }
73498     }
73499     if (_v) {
73500       {
73501         _v = SWIG_lua_isnilstring(L,argv[1]);
73502       }
73503       if (_v) {
73504         {
73505           void *ptr;
73506           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
73507             _v = 0;
73508           } else {
73509             _v = 1;
73510           }
73511         }
73512         if (_v) {
73513           return _wrap_SBValue_SetValueFromCString__SWIG_1(L);
73514         }
73515       }
73516     }
73517   }
73518 
73519   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_SetValueFromCString'\n"
73520     "  Possible C/C++ prototypes are:\n"
73521     "    lldb::SBValue::SetValueFromCString(char const *)\n"
73522     "    lldb::SBValue::SetValueFromCString(char const *,lldb::SBError &)\n");
73523   lua_error(L);return 0;
73524 }
73525 
73526 
_wrap_SBValue_GetTypeFormat(lua_State * L)73527 static int _wrap_SBValue_GetTypeFormat(lua_State* L) {
73528   {
73529     int SWIG_arg = 0;
73530     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73531     lldb::SBTypeFormat result;
73532 
73533     SWIG_check_num_args("lldb::SBValue::GetTypeFormat",1,1)
73534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFormat",1,"lldb::SBValue *");
73535 
73536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73537       SWIG_fail_ptr("SBValue_GetTypeFormat",1,SWIGTYPE_p_lldb__SBValue);
73538     }
73539 
73540     result = (arg1)->GetTypeFormat();
73541     {
73542       lldb::SBTypeFormat * resultptr = new lldb::SBTypeFormat(result);
73543       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFormat,1); SWIG_arg++;
73544     }
73545     return SWIG_arg;
73546 
73547     fail: SWIGUNUSED;
73548   }
73549   lua_error(L);
73550   return 0;
73551 }
73552 
73553 
_wrap_SBValue_GetTypeSummary(lua_State * L)73554 static int _wrap_SBValue_GetTypeSummary(lua_State* L) {
73555   {
73556     int SWIG_arg = 0;
73557     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73558     lldb::SBTypeSummary result;
73559 
73560     SWIG_check_num_args("lldb::SBValue::GetTypeSummary",1,1)
73561     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSummary",1,"lldb::SBValue *");
73562 
73563     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73564       SWIG_fail_ptr("SBValue_GetTypeSummary",1,SWIGTYPE_p_lldb__SBValue);
73565     }
73566 
73567     result = (arg1)->GetTypeSummary();
73568     {
73569       lldb::SBTypeSummary * resultptr = new lldb::SBTypeSummary(result);
73570       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSummary,1); SWIG_arg++;
73571     }
73572     return SWIG_arg;
73573 
73574     fail: SWIGUNUSED;
73575   }
73576   lua_error(L);
73577   return 0;
73578 }
73579 
73580 
_wrap_SBValue_GetTypeFilter(lua_State * L)73581 static int _wrap_SBValue_GetTypeFilter(lua_State* L) {
73582   {
73583     int SWIG_arg = 0;
73584     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73585     lldb::SBTypeFilter result;
73586 
73587     SWIG_check_num_args("lldb::SBValue::GetTypeFilter",1,1)
73588     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeFilter",1,"lldb::SBValue *");
73589 
73590     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73591       SWIG_fail_ptr("SBValue_GetTypeFilter",1,SWIGTYPE_p_lldb__SBValue);
73592     }
73593 
73594     result = (arg1)->GetTypeFilter();
73595     {
73596       lldb::SBTypeFilter * resultptr = new lldb::SBTypeFilter(result);
73597       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeFilter,1); SWIG_arg++;
73598     }
73599     return SWIG_arg;
73600 
73601     fail: SWIGUNUSED;
73602   }
73603   lua_error(L);
73604   return 0;
73605 }
73606 
73607 
_wrap_SBValue_GetTypeSynthetic(lua_State * L)73608 static int _wrap_SBValue_GetTypeSynthetic(lua_State* L) {
73609   {
73610     int SWIG_arg = 0;
73611     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73612     lldb::SBTypeSynthetic result;
73613 
73614     SWIG_check_num_args("lldb::SBValue::GetTypeSynthetic",1,1)
73615     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTypeSynthetic",1,"lldb::SBValue *");
73616 
73617     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73618       SWIG_fail_ptr("SBValue_GetTypeSynthetic",1,SWIGTYPE_p_lldb__SBValue);
73619     }
73620 
73621     result = (arg1)->GetTypeSynthetic();
73622     {
73623       lldb::SBTypeSynthetic * resultptr = new lldb::SBTypeSynthetic(result);
73624       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTypeSynthetic,1); SWIG_arg++;
73625     }
73626     return SWIG_arg;
73627 
73628     fail: SWIGUNUSED;
73629   }
73630   lua_error(L);
73631   return 0;
73632 }
73633 
73634 
_wrap_SBValue_GetChildAtIndex__SWIG_0(lua_State * L)73635 static int _wrap_SBValue_GetChildAtIndex__SWIG_0(lua_State* L) {
73636   {
73637     int SWIG_arg = 0;
73638     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73639     uint32_t arg2 ;
73640     lldb::SBValue result;
73641 
73642     SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",2,2)
73643     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *");
73644     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t");
73645 
73646     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73647       SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue);
73648     }
73649 
73650     arg2 = (uint32_t)lua_tointeger(L, 2);
73651     result = (arg1)->GetChildAtIndex(arg2);
73652     {
73653       lldb::SBValue * resultptr = new lldb::SBValue(result);
73654       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73655     }
73656     return SWIG_arg;
73657 
73658     fail: SWIGUNUSED;
73659   }
73660   lua_error(L);
73661   return 0;
73662 }
73663 
73664 
_wrap_SBValue_CreateChildAtOffset(lua_State * L)73665 static int _wrap_SBValue_CreateChildAtOffset(lua_State* L) {
73666   {
73667     int SWIG_arg = 0;
73668     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73669     char *arg2 = (char *) 0 ;
73670     uint32_t arg3 ;
73671     lldb::SBType arg4 ;
73672     lldb::SBType *argp4 ;
73673     lldb::SBValue result;
73674 
73675     SWIG_check_num_args("lldb::SBValue::CreateChildAtOffset",4,4)
73676     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",1,"lldb::SBValue *");
73677     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",2,"char const *");
73678     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",3,"uint32_t");
73679     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateChildAtOffset",4,"lldb::SBType");
73680 
73681     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73682       SWIG_fail_ptr("SBValue_CreateChildAtOffset",1,SWIGTYPE_p_lldb__SBValue);
73683     }
73684 
73685     arg2 = (char *)lua_tostring(L, 2);
73686     arg3 = (uint32_t)lua_tointeger(L, 3);
73687 
73688     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){
73689       SWIG_fail_ptr("SBValue_CreateChildAtOffset",4,SWIGTYPE_p_lldb__SBType);
73690     }
73691     arg4 = *argp4;
73692 
73693     result = (arg1)->CreateChildAtOffset((char const *)arg2,arg3,arg4);
73694     {
73695       lldb::SBValue * resultptr = new lldb::SBValue(result);
73696       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73697     }
73698     return SWIG_arg;
73699 
73700     fail: SWIGUNUSED;
73701   }
73702   lua_error(L);
73703   return 0;
73704 }
73705 
73706 
_wrap_SBValue_Cast(lua_State * L)73707 static int _wrap_SBValue_Cast(lua_State* L) {
73708   {
73709     int SWIG_arg = 0;
73710     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73711     lldb::SBType arg2 ;
73712     lldb::SBType *argp2 ;
73713     lldb::SBValue result;
73714 
73715     SWIG_check_num_args("lldb::SBValue::Cast",2,2)
73716     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Cast",1,"lldb::SBValue *");
73717     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::Cast",2,"lldb::SBType");
73718 
73719     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73720       SWIG_fail_ptr("SBValue_Cast",1,SWIGTYPE_p_lldb__SBValue);
73721     }
73722 
73723 
73724     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_lldb__SBType,0))){
73725       SWIG_fail_ptr("SBValue_Cast",2,SWIGTYPE_p_lldb__SBType);
73726     }
73727     arg2 = *argp2;
73728 
73729     result = (arg1)->Cast(arg2);
73730     {
73731       lldb::SBValue * resultptr = new lldb::SBValue(result);
73732       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73733     }
73734     return SWIG_arg;
73735 
73736     fail: SWIGUNUSED;
73737   }
73738   lua_error(L);
73739   return 0;
73740 }
73741 
73742 
_wrap_SBValue_CreateValueFromExpression__SWIG_0(lua_State * L)73743 static int _wrap_SBValue_CreateValueFromExpression__SWIG_0(lua_State* L) {
73744   {
73745     int SWIG_arg = 0;
73746     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73747     char *arg2 = (char *) 0 ;
73748     char *arg3 = (char *) 0 ;
73749     lldb::SBValue result;
73750 
73751     SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",3,3)
73752     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *");
73753     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *");
73754     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *");
73755 
73756     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73757       SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue);
73758     }
73759 
73760     arg2 = (char *)lua_tostring(L, 2);
73761     arg3 = (char *)lua_tostring(L, 3);
73762     result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3);
73763     {
73764       lldb::SBValue * resultptr = new lldb::SBValue(result);
73765       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73766     }
73767     return SWIG_arg;
73768 
73769     fail: SWIGUNUSED;
73770   }
73771   lua_error(L);
73772   return 0;
73773 }
73774 
73775 
_wrap_SBValue_CreateValueFromExpression__SWIG_1(lua_State * L)73776 static int _wrap_SBValue_CreateValueFromExpression__SWIG_1(lua_State* L) {
73777   {
73778     int SWIG_arg = 0;
73779     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73780     char *arg2 = (char *) 0 ;
73781     char *arg3 = (char *) 0 ;
73782     lldb::SBExpressionOptions *arg4 = 0 ;
73783     lldb::SBValue result;
73784 
73785     SWIG_check_num_args("lldb::SBValue::CreateValueFromExpression",4,4)
73786     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",1,"lldb::SBValue *");
73787     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",2,"char const *");
73788     if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",3,"char const *");
73789     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromExpression",4,"lldb::SBExpressionOptions &");
73790 
73791     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73792       SWIG_fail_ptr("SBValue_CreateValueFromExpression",1,SWIGTYPE_p_lldb__SBValue);
73793     }
73794 
73795     arg2 = (char *)lua_tostring(L, 2);
73796     arg3 = (char *)lua_tostring(L, 3);
73797 
73798     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
73799       SWIG_fail_ptr("SBValue_CreateValueFromExpression",4,SWIGTYPE_p_lldb__SBExpressionOptions);
73800     }
73801 
73802     result = (arg1)->CreateValueFromExpression((char const *)arg2,(char const *)arg3,*arg4);
73803     {
73804       lldb::SBValue * resultptr = new lldb::SBValue(result);
73805       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73806     }
73807     return SWIG_arg;
73808 
73809     fail: SWIGUNUSED;
73810   }
73811   lua_error(L);
73812   return 0;
73813 }
73814 
73815 
_wrap_SBValue_CreateValueFromExpression(lua_State * L)73816 static int _wrap_SBValue_CreateValueFromExpression(lua_State* L) {
73817   int argc;
73818   int argv[5]={
73819     1,2,3,4,5
73820   };
73821 
73822   argc = lua_gettop(L);
73823   if (argc == 3) {
73824     int _v = 0;
73825     {
73826       void *ptr;
73827       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73828         _v = 0;
73829       } else {
73830         _v = 1;
73831       }
73832     }
73833     if (_v) {
73834       {
73835         _v = SWIG_lua_isnilstring(L,argv[1]);
73836       }
73837       if (_v) {
73838         {
73839           _v = SWIG_lua_isnilstring(L,argv[2]);
73840         }
73841         if (_v) {
73842           return _wrap_SBValue_CreateValueFromExpression__SWIG_0(L);
73843         }
73844       }
73845     }
73846   }
73847   if (argc == 4) {
73848     int _v = 0;
73849     {
73850       void *ptr;
73851       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
73852         _v = 0;
73853       } else {
73854         _v = 1;
73855       }
73856     }
73857     if (_v) {
73858       {
73859         _v = SWIG_lua_isnilstring(L,argv[1]);
73860       }
73861       if (_v) {
73862         {
73863           _v = SWIG_lua_isnilstring(L,argv[2]);
73864         }
73865         if (_v) {
73866           {
73867             void *ptr;
73868             if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
73869               _v = 0;
73870             } else {
73871               _v = 1;
73872             }
73873           }
73874           if (_v) {
73875             return _wrap_SBValue_CreateValueFromExpression__SWIG_1(L);
73876           }
73877         }
73878       }
73879     }
73880   }
73881 
73882   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_CreateValueFromExpression'\n"
73883     "  Possible C/C++ prototypes are:\n"
73884     "    lldb::SBValue::CreateValueFromExpression(char const *,char const *)\n"
73885     "    lldb::SBValue::CreateValueFromExpression(char const *,char const *,lldb::SBExpressionOptions &)\n");
73886   lua_error(L);return 0;
73887 }
73888 
73889 
_wrap_SBValue_CreateValueFromAddress(lua_State * L)73890 static int _wrap_SBValue_CreateValueFromAddress(lua_State* L) {
73891   {
73892     int SWIG_arg = 0;
73893     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73894     char *arg2 = (char *) 0 ;
73895     lldb::addr_t arg3 ;
73896     lldb::SBType arg4 ;
73897     lldb::SBType *argp4 ;
73898     lldb::SBValue result;
73899 
73900     SWIG_check_num_args("lldb::SBValue::CreateValueFromAddress",4,4)
73901     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",1,"lldb::SBValue *");
73902     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",2,"char const *");
73903     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",3,"lldb::addr_t");
73904     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromAddress",4,"lldb::SBType");
73905 
73906     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73907       SWIG_fail_ptr("SBValue_CreateValueFromAddress",1,SWIGTYPE_p_lldb__SBValue);
73908     }
73909 
73910     arg2 = (char *)lua_tostring(L, 2);
73911     arg3 = (lldb::addr_t)lua_tointeger(L, 3);
73912 
73913     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){
73914       SWIG_fail_ptr("SBValue_CreateValueFromAddress",4,SWIGTYPE_p_lldb__SBType);
73915     }
73916     arg4 = *argp4;
73917 
73918     result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4);
73919     {
73920       lldb::SBValue * resultptr = new lldb::SBValue(result);
73921       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73922     }
73923     return SWIG_arg;
73924 
73925     fail: SWIGUNUSED;
73926   }
73927   lua_error(L);
73928   return 0;
73929 }
73930 
73931 
_wrap_SBValue_CreateValueFromData(lua_State * L)73932 static int _wrap_SBValue_CreateValueFromData(lua_State* L) {
73933   {
73934     int SWIG_arg = 0;
73935     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73936     char *arg2 = (char *) 0 ;
73937     lldb::SBData arg3 ;
73938     lldb::SBType arg4 ;
73939     lldb::SBData *argp3 ;
73940     lldb::SBType *argp4 ;
73941     lldb::SBValue result;
73942 
73943     SWIG_check_num_args("lldb::SBValue::CreateValueFromData",4,4)
73944     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",1,"lldb::SBValue *");
73945     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",2,"char const *");
73946     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",3,"lldb::SBData");
73947     if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBValue::CreateValueFromData",4,"lldb::SBType");
73948 
73949     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73950       SWIG_fail_ptr("SBValue_CreateValueFromData",1,SWIGTYPE_p_lldb__SBValue);
73951     }
73952 
73953     arg2 = (char *)lua_tostring(L, 2);
73954 
73955     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_lldb__SBData,0))){
73956       SWIG_fail_ptr("SBValue_CreateValueFromData",3,SWIGTYPE_p_lldb__SBData);
73957     }
73958     arg3 = *argp3;
73959 
73960 
73961     if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBType,0))){
73962       SWIG_fail_ptr("SBValue_CreateValueFromData",4,SWIGTYPE_p_lldb__SBType);
73963     }
73964     arg4 = *argp4;
73965 
73966     result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4);
73967     {
73968       lldb::SBValue * resultptr = new lldb::SBValue(result);
73969       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
73970     }
73971     return SWIG_arg;
73972 
73973     fail: SWIGUNUSED;
73974   }
73975   lua_error(L);
73976   return 0;
73977 }
73978 
73979 
_wrap_SBValue_GetChildAtIndex__SWIG_1(lua_State * L)73980 static int _wrap_SBValue_GetChildAtIndex__SWIG_1(lua_State* L) {
73981   {
73982     int SWIG_arg = 0;
73983     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
73984     uint32_t arg2 ;
73985     lldb::DynamicValueType arg3 ;
73986     bool arg4 ;
73987     lldb::SBValue result;
73988 
73989     SWIG_check_num_args("lldb::SBValue::GetChildAtIndex",4,4)
73990     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",1,"lldb::SBValue *");
73991     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",2,"uint32_t");
73992     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",3,"lldb::DynamicValueType");
73993     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::GetChildAtIndex",4,"bool");
73994 
73995     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
73996       SWIG_fail_ptr("SBValue_GetChildAtIndex",1,SWIGTYPE_p_lldb__SBValue);
73997     }
73998 
73999     arg2 = (uint32_t)lua_tointeger(L, 2);
74000     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
74001     arg4 = (lua_toboolean(L, 4)!=0);
74002     result = (arg1)->GetChildAtIndex(arg2,arg3,arg4);
74003     {
74004       lldb::SBValue * resultptr = new lldb::SBValue(result);
74005       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74006     }
74007     return SWIG_arg;
74008 
74009     fail: SWIGUNUSED;
74010   }
74011   lua_error(L);
74012   return 0;
74013 }
74014 
74015 
_wrap_SBValue_GetChildAtIndex(lua_State * L)74016 static int _wrap_SBValue_GetChildAtIndex(lua_State* L) {
74017   int argc;
74018   int argv[5]={
74019     1,2,3,4,5
74020   };
74021 
74022   argc = lua_gettop(L);
74023   if (argc == 2) {
74024     int _v = 0;
74025     {
74026       void *ptr;
74027       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74028         _v = 0;
74029       } else {
74030         _v = 1;
74031       }
74032     }
74033     if (_v) {
74034       {
74035         _v = lua_isnumber(L,argv[1]);
74036       }
74037       if (_v) {
74038         return _wrap_SBValue_GetChildAtIndex__SWIG_0(L);
74039       }
74040     }
74041   }
74042   if (argc == 4) {
74043     int _v = 0;
74044     {
74045       void *ptr;
74046       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74047         _v = 0;
74048       } else {
74049         _v = 1;
74050       }
74051     }
74052     if (_v) {
74053       {
74054         _v = lua_isnumber(L,argv[1]);
74055       }
74056       if (_v) {
74057         {
74058           _v = lua_isnumber(L,argv[2]);
74059         }
74060         if (_v) {
74061           {
74062             _v = lua_isboolean(L,argv[3]);
74063           }
74064           if (_v) {
74065             return _wrap_SBValue_GetChildAtIndex__SWIG_1(L);
74066           }
74067         }
74068       }
74069     }
74070   }
74071 
74072   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetChildAtIndex'\n"
74073     "  Possible C/C++ prototypes are:\n"
74074     "    lldb::SBValue::GetChildAtIndex(uint32_t)\n"
74075     "    lldb::SBValue::GetChildAtIndex(uint32_t,lldb::DynamicValueType,bool)\n");
74076   lua_error(L);return 0;
74077 }
74078 
74079 
_wrap_SBValue_GetIndexOfChildWithName(lua_State * L)74080 static int _wrap_SBValue_GetIndexOfChildWithName(lua_State* L) {
74081   {
74082     int SWIG_arg = 0;
74083     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74084     char *arg2 = (char *) 0 ;
74085     uint32_t result;
74086 
74087     SWIG_check_num_args("lldb::SBValue::GetIndexOfChildWithName",2,2)
74088     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",1,"lldb::SBValue *");
74089     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetIndexOfChildWithName",2,"char const *");
74090 
74091     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74092       SWIG_fail_ptr("SBValue_GetIndexOfChildWithName",1,SWIGTYPE_p_lldb__SBValue);
74093     }
74094 
74095     arg2 = (char *)lua_tostring(L, 2);
74096     result = (uint32_t)(arg1)->GetIndexOfChildWithName((char const *)arg2);
74097     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
74098     return SWIG_arg;
74099 
74100     fail: SWIGUNUSED;
74101   }
74102   lua_error(L);
74103   return 0;
74104 }
74105 
74106 
_wrap_SBValue_GetChildMemberWithName__SWIG_0(lua_State * L)74107 static int _wrap_SBValue_GetChildMemberWithName__SWIG_0(lua_State* L) {
74108   {
74109     int SWIG_arg = 0;
74110     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74111     char *arg2 = (char *) 0 ;
74112     lldb::SBValue result;
74113 
74114     SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",2,2)
74115     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *");
74116     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *");
74117 
74118     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74119       SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue);
74120     }
74121 
74122     arg2 = (char *)lua_tostring(L, 2);
74123     result = (arg1)->GetChildMemberWithName((char const *)arg2);
74124     {
74125       lldb::SBValue * resultptr = new lldb::SBValue(result);
74126       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74127     }
74128     return SWIG_arg;
74129 
74130     fail: SWIGUNUSED;
74131   }
74132   lua_error(L);
74133   return 0;
74134 }
74135 
74136 
_wrap_SBValue_GetChildMemberWithName__SWIG_1(lua_State * L)74137 static int _wrap_SBValue_GetChildMemberWithName__SWIG_1(lua_State* L) {
74138   {
74139     int SWIG_arg = 0;
74140     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74141     char *arg2 = (char *) 0 ;
74142     lldb::DynamicValueType arg3 ;
74143     lldb::SBValue result;
74144 
74145     SWIG_check_num_args("lldb::SBValue::GetChildMemberWithName",3,3)
74146     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",1,"lldb::SBValue *");
74147     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",2,"char const *");
74148     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetChildMemberWithName",3,"lldb::DynamicValueType");
74149 
74150     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74151       SWIG_fail_ptr("SBValue_GetChildMemberWithName",1,SWIGTYPE_p_lldb__SBValue);
74152     }
74153 
74154     arg2 = (char *)lua_tostring(L, 2);
74155     arg3 = (lldb::DynamicValueType)lua_tointeger(L, 3);
74156     result = (arg1)->GetChildMemberWithName((char const *)arg2,arg3);
74157     {
74158       lldb::SBValue * resultptr = new lldb::SBValue(result);
74159       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74160     }
74161     return SWIG_arg;
74162 
74163     fail: SWIGUNUSED;
74164   }
74165   lua_error(L);
74166   return 0;
74167 }
74168 
74169 
_wrap_SBValue_GetChildMemberWithName(lua_State * L)74170 static int _wrap_SBValue_GetChildMemberWithName(lua_State* L) {
74171   int argc;
74172   int argv[4]={
74173     1,2,3,4
74174   };
74175 
74176   argc = lua_gettop(L);
74177   if (argc == 2) {
74178     int _v = 0;
74179     {
74180       void *ptr;
74181       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74182         _v = 0;
74183       } else {
74184         _v = 1;
74185       }
74186     }
74187     if (_v) {
74188       {
74189         _v = SWIG_lua_isnilstring(L,argv[1]);
74190       }
74191       if (_v) {
74192         return _wrap_SBValue_GetChildMemberWithName__SWIG_0(L);
74193       }
74194     }
74195   }
74196   if (argc == 3) {
74197     int _v = 0;
74198     {
74199       void *ptr;
74200       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74201         _v = 0;
74202       } else {
74203         _v = 1;
74204       }
74205     }
74206     if (_v) {
74207       {
74208         _v = SWIG_lua_isnilstring(L,argv[1]);
74209       }
74210       if (_v) {
74211         {
74212           _v = lua_isnumber(L,argv[2]);
74213         }
74214         if (_v) {
74215           return _wrap_SBValue_GetChildMemberWithName__SWIG_1(L);
74216         }
74217       }
74218     }
74219   }
74220 
74221   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetChildMemberWithName'\n"
74222     "  Possible C/C++ prototypes are:\n"
74223     "    lldb::SBValue::GetChildMemberWithName(char const *)\n"
74224     "    lldb::SBValue::GetChildMemberWithName(char const *,lldb::DynamicValueType)\n");
74225   lua_error(L);return 0;
74226 }
74227 
74228 
_wrap_SBValue_GetValueForExpressionPath(lua_State * L)74229 static int _wrap_SBValue_GetValueForExpressionPath(lua_State* L) {
74230   {
74231     int SWIG_arg = 0;
74232     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74233     char *arg2 = (char *) 0 ;
74234     lldb::SBValue result;
74235 
74236     SWIG_check_num_args("lldb::SBValue::GetValueForExpressionPath",2,2)
74237     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",1,"lldb::SBValue *");
74238     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::GetValueForExpressionPath",2,"char const *");
74239 
74240     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74241       SWIG_fail_ptr("SBValue_GetValueForExpressionPath",1,SWIGTYPE_p_lldb__SBValue);
74242     }
74243 
74244     arg2 = (char *)lua_tostring(L, 2);
74245     result = (arg1)->GetValueForExpressionPath((char const *)arg2);
74246     {
74247       lldb::SBValue * resultptr = new lldb::SBValue(result);
74248       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74249     }
74250     return SWIG_arg;
74251 
74252     fail: SWIGUNUSED;
74253   }
74254   lua_error(L);
74255   return 0;
74256 }
74257 
74258 
_wrap_SBValue_AddressOf(lua_State * L)74259 static int _wrap_SBValue_AddressOf(lua_State* L) {
74260   {
74261     int SWIG_arg = 0;
74262     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74263     lldb::SBValue result;
74264 
74265     SWIG_check_num_args("lldb::SBValue::AddressOf",1,1)
74266     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::AddressOf",1,"lldb::SBValue *");
74267 
74268     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74269       SWIG_fail_ptr("SBValue_AddressOf",1,SWIGTYPE_p_lldb__SBValue);
74270     }
74271 
74272     result = (arg1)->AddressOf();
74273     {
74274       lldb::SBValue * resultptr = new lldb::SBValue(result);
74275       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74276     }
74277     return SWIG_arg;
74278 
74279     fail: SWIGUNUSED;
74280   }
74281   lua_error(L);
74282   return 0;
74283 }
74284 
74285 
_wrap_SBValue_GetLoadAddress(lua_State * L)74286 static int _wrap_SBValue_GetLoadAddress(lua_State* L) {
74287   {
74288     int SWIG_arg = 0;
74289     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74290     lldb::addr_t result;
74291 
74292     SWIG_check_num_args("lldb::SBValue::GetLoadAddress",1,1)
74293     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetLoadAddress",1,"lldb::SBValue *");
74294 
74295     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74296       SWIG_fail_ptr("SBValue_GetLoadAddress",1,SWIGTYPE_p_lldb__SBValue);
74297     }
74298 
74299     result = (lldb::addr_t)(arg1)->GetLoadAddress();
74300     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
74301     return SWIG_arg;
74302 
74303     fail: SWIGUNUSED;
74304   }
74305   lua_error(L);
74306   return 0;
74307 }
74308 
74309 
_wrap_SBValue_GetAddress(lua_State * L)74310 static int _wrap_SBValue_GetAddress(lua_State* L) {
74311   {
74312     int SWIG_arg = 0;
74313     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74314     lldb::SBAddress result;
74315 
74316     SWIG_check_num_args("lldb::SBValue::GetAddress",1,1)
74317     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetAddress",1,"lldb::SBValue *");
74318 
74319     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74320       SWIG_fail_ptr("SBValue_GetAddress",1,SWIGTYPE_p_lldb__SBValue);
74321     }
74322 
74323     result = (arg1)->GetAddress();
74324     {
74325       lldb::SBAddress * resultptr = new lldb::SBAddress(result);
74326       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBAddress,1); SWIG_arg++;
74327     }
74328     return SWIG_arg;
74329 
74330     fail: SWIGUNUSED;
74331   }
74332   lua_error(L);
74333   return 0;
74334 }
74335 
74336 
_wrap_SBValue_GetPointeeData__SWIG_0(lua_State * L)74337 static int _wrap_SBValue_GetPointeeData__SWIG_0(lua_State* L) {
74338   {
74339     int SWIG_arg = 0;
74340     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74341     uint32_t arg2 ;
74342     uint32_t arg3 ;
74343     lldb::SBData result;
74344 
74345     SWIG_check_num_args("lldb::SBValue::GetPointeeData",3,3)
74346     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *");
74347     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t");
74348     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",3,"uint32_t");
74349 
74350     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74351       SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue);
74352     }
74353 
74354     arg2 = (uint32_t)lua_tointeger(L, 2);
74355     arg3 = (uint32_t)lua_tointeger(L, 3);
74356     result = (arg1)->GetPointeeData(arg2,arg3);
74357     {
74358       lldb::SBData * resultptr = new lldb::SBData(result);
74359       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
74360     }
74361     return SWIG_arg;
74362 
74363     fail: SWIGUNUSED;
74364   }
74365   lua_error(L);
74366   return 0;
74367 }
74368 
74369 
_wrap_SBValue_GetPointeeData__SWIG_1(lua_State * L)74370 static int _wrap_SBValue_GetPointeeData__SWIG_1(lua_State* L) {
74371   {
74372     int SWIG_arg = 0;
74373     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74374     uint32_t arg2 ;
74375     lldb::SBData result;
74376 
74377     SWIG_check_num_args("lldb::SBValue::GetPointeeData",2,2)
74378     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *");
74379     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",2,"uint32_t");
74380 
74381     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74382       SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue);
74383     }
74384 
74385     arg2 = (uint32_t)lua_tointeger(L, 2);
74386     result = (arg1)->GetPointeeData(arg2);
74387     {
74388       lldb::SBData * resultptr = new lldb::SBData(result);
74389       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
74390     }
74391     return SWIG_arg;
74392 
74393     fail: SWIGUNUSED;
74394   }
74395   lua_error(L);
74396   return 0;
74397 }
74398 
74399 
_wrap_SBValue_GetPointeeData__SWIG_2(lua_State * L)74400 static int _wrap_SBValue_GetPointeeData__SWIG_2(lua_State* L) {
74401   {
74402     int SWIG_arg = 0;
74403     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74404     lldb::SBData result;
74405 
74406     SWIG_check_num_args("lldb::SBValue::GetPointeeData",1,1)
74407     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetPointeeData",1,"lldb::SBValue *");
74408 
74409     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74410       SWIG_fail_ptr("SBValue_GetPointeeData",1,SWIGTYPE_p_lldb__SBValue);
74411     }
74412 
74413     result = (arg1)->GetPointeeData();
74414     {
74415       lldb::SBData * resultptr = new lldb::SBData(result);
74416       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
74417     }
74418     return SWIG_arg;
74419 
74420     fail: SWIGUNUSED;
74421   }
74422   lua_error(L);
74423   return 0;
74424 }
74425 
74426 
_wrap_SBValue_GetPointeeData(lua_State * L)74427 static int _wrap_SBValue_GetPointeeData(lua_State* L) {
74428   int argc;
74429   int argv[4]={
74430     1,2,3,4
74431   };
74432 
74433   argc = lua_gettop(L);
74434   if (argc == 1) {
74435     int _v = 0;
74436     {
74437       void *ptr;
74438       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74439         _v = 0;
74440       } else {
74441         _v = 1;
74442       }
74443     }
74444     if (_v) {
74445       return _wrap_SBValue_GetPointeeData__SWIG_2(L);
74446     }
74447   }
74448   if (argc == 2) {
74449     int _v = 0;
74450     {
74451       void *ptr;
74452       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74453         _v = 0;
74454       } else {
74455         _v = 1;
74456       }
74457     }
74458     if (_v) {
74459       {
74460         _v = lua_isnumber(L,argv[1]);
74461       }
74462       if (_v) {
74463         return _wrap_SBValue_GetPointeeData__SWIG_1(L);
74464       }
74465     }
74466   }
74467   if (argc == 3) {
74468     int _v = 0;
74469     {
74470       void *ptr;
74471       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74472         _v = 0;
74473       } else {
74474         _v = 1;
74475       }
74476     }
74477     if (_v) {
74478       {
74479         _v = lua_isnumber(L,argv[1]);
74480       }
74481       if (_v) {
74482         {
74483           _v = lua_isnumber(L,argv[2]);
74484         }
74485         if (_v) {
74486           return _wrap_SBValue_GetPointeeData__SWIG_0(L);
74487         }
74488       }
74489     }
74490   }
74491 
74492   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetPointeeData'\n"
74493     "  Possible C/C++ prototypes are:\n"
74494     "    lldb::SBValue::GetPointeeData(uint32_t,uint32_t)\n"
74495     "    lldb::SBValue::GetPointeeData(uint32_t)\n"
74496     "    lldb::SBValue::GetPointeeData()\n");
74497   lua_error(L);return 0;
74498 }
74499 
74500 
_wrap_SBValue_GetData(lua_State * L)74501 static int _wrap_SBValue_GetData(lua_State* L) {
74502   {
74503     int SWIG_arg = 0;
74504     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74505     lldb::SBData result;
74506 
74507     SWIG_check_num_args("lldb::SBValue::GetData",1,1)
74508     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetData",1,"lldb::SBValue *");
74509 
74510     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74511       SWIG_fail_ptr("SBValue_GetData",1,SWIGTYPE_p_lldb__SBValue);
74512     }
74513 
74514     result = (arg1)->GetData();
74515     {
74516       lldb::SBData * resultptr = new lldb::SBData(result);
74517       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBData,1); SWIG_arg++;
74518     }
74519     return SWIG_arg;
74520 
74521     fail: SWIGUNUSED;
74522   }
74523   lua_error(L);
74524   return 0;
74525 }
74526 
74527 
_wrap_SBValue_SetData(lua_State * L)74528 static int _wrap_SBValue_SetData(lua_State* L) {
74529   {
74530     int SWIG_arg = 0;
74531     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74532     lldb::SBData *arg2 = 0 ;
74533     lldb::SBError *arg3 = 0 ;
74534     bool result;
74535 
74536     SWIG_check_num_args("lldb::SBValue::SetData",3,3)
74537     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::SetData",1,"lldb::SBValue *");
74538     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::SetData",2,"lldb::SBData &");
74539     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::SetData",3,"lldb::SBError &");
74540 
74541     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74542       SWIG_fail_ptr("SBValue_SetData",1,SWIGTYPE_p_lldb__SBValue);
74543     }
74544 
74545 
74546     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBData,0))){
74547       SWIG_fail_ptr("SBValue_SetData",2,SWIGTYPE_p_lldb__SBData);
74548     }
74549 
74550 
74551     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBError,0))){
74552       SWIG_fail_ptr("SBValue_SetData",3,SWIGTYPE_p_lldb__SBError);
74553     }
74554 
74555     result = (bool)(arg1)->SetData(*arg2,*arg3);
74556     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
74557     return SWIG_arg;
74558 
74559     fail: SWIGUNUSED;
74560   }
74561   lua_error(L);
74562   return 0;
74563 }
74564 
74565 
_wrap_SBValue_Clone(lua_State * L)74566 static int _wrap_SBValue_Clone(lua_State* L) {
74567   {
74568     int SWIG_arg = 0;
74569     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74570     char *arg2 = (char *) 0 ;
74571     lldb::SBValue result;
74572 
74573     SWIG_check_num_args("lldb::SBValue::Clone",2,2)
74574     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Clone",1,"lldb::SBValue *");
74575     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::Clone",2,"char const *");
74576 
74577     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74578       SWIG_fail_ptr("SBValue_Clone",1,SWIGTYPE_p_lldb__SBValue);
74579     }
74580 
74581     arg2 = (char *)lua_tostring(L, 2);
74582     result = (arg1)->Clone((char const *)arg2);
74583     {
74584       lldb::SBValue * resultptr = new lldb::SBValue(result);
74585       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74586     }
74587     return SWIG_arg;
74588 
74589     fail: SWIGUNUSED;
74590   }
74591   lua_error(L);
74592   return 0;
74593 }
74594 
74595 
_wrap_SBValue_GetDeclaration(lua_State * L)74596 static int _wrap_SBValue_GetDeclaration(lua_State* L) {
74597   {
74598     int SWIG_arg = 0;
74599     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74600     lldb::SBDeclaration result;
74601 
74602     SWIG_check_num_args("lldb::SBValue::GetDeclaration",1,1)
74603     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDeclaration",1,"lldb::SBValue *");
74604 
74605     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74606       SWIG_fail_ptr("SBValue_GetDeclaration",1,SWIGTYPE_p_lldb__SBValue);
74607     }
74608 
74609     result = (arg1)->GetDeclaration();
74610     {
74611       lldb::SBDeclaration * resultptr = new lldb::SBDeclaration(result);
74612       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBDeclaration,1); SWIG_arg++;
74613     }
74614     return SWIG_arg;
74615 
74616     fail: SWIGUNUSED;
74617   }
74618   lua_error(L);
74619   return 0;
74620 }
74621 
74622 
_wrap_SBValue_MightHaveChildren(lua_State * L)74623 static int _wrap_SBValue_MightHaveChildren(lua_State* L) {
74624   {
74625     int SWIG_arg = 0;
74626     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74627     bool result;
74628 
74629     SWIG_check_num_args("lldb::SBValue::MightHaveChildren",1,1)
74630     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::MightHaveChildren",1,"lldb::SBValue *");
74631 
74632     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74633       SWIG_fail_ptr("SBValue_MightHaveChildren",1,SWIGTYPE_p_lldb__SBValue);
74634     }
74635 
74636     result = (bool)(arg1)->MightHaveChildren();
74637     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
74638     return SWIG_arg;
74639 
74640     fail: SWIGUNUSED;
74641   }
74642   lua_error(L);
74643   return 0;
74644 }
74645 
74646 
_wrap_SBValue_IsRuntimeSupportValue(lua_State * L)74647 static int _wrap_SBValue_IsRuntimeSupportValue(lua_State* L) {
74648   {
74649     int SWIG_arg = 0;
74650     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74651     bool result;
74652 
74653     SWIG_check_num_args("lldb::SBValue::IsRuntimeSupportValue",1,1)
74654     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::IsRuntimeSupportValue",1,"lldb::SBValue *");
74655 
74656     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74657       SWIG_fail_ptr("SBValue_IsRuntimeSupportValue",1,SWIGTYPE_p_lldb__SBValue);
74658     }
74659 
74660     result = (bool)(arg1)->IsRuntimeSupportValue();
74661     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
74662     return SWIG_arg;
74663 
74664     fail: SWIGUNUSED;
74665   }
74666   lua_error(L);
74667   return 0;
74668 }
74669 
74670 
_wrap_SBValue_GetNumChildren__SWIG_0(lua_State * L)74671 static int _wrap_SBValue_GetNumChildren__SWIG_0(lua_State* L) {
74672   {
74673     int SWIG_arg = 0;
74674     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74675     uint32_t result;
74676 
74677     SWIG_check_num_args("lldb::SBValue::GetNumChildren",1,1)
74678     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *");
74679 
74680     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74681       SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue);
74682     }
74683 
74684     result = (uint32_t)(arg1)->GetNumChildren();
74685     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
74686     return SWIG_arg;
74687 
74688     fail: SWIGUNUSED;
74689   }
74690   lua_error(L);
74691   return 0;
74692 }
74693 
74694 
_wrap_SBValue_GetNumChildren__SWIG_1(lua_State * L)74695 static int _wrap_SBValue_GetNumChildren__SWIG_1(lua_State* L) {
74696   {
74697     int SWIG_arg = 0;
74698     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74699     uint32_t arg2 ;
74700     uint32_t result;
74701 
74702     SWIG_check_num_args("lldb::SBValue::GetNumChildren",2,2)
74703     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",1,"lldb::SBValue *");
74704     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValue::GetNumChildren",2,"uint32_t");
74705 
74706     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74707       SWIG_fail_ptr("SBValue_GetNumChildren",1,SWIGTYPE_p_lldb__SBValue);
74708     }
74709 
74710     arg2 = (uint32_t)lua_tointeger(L, 2);
74711     result = (uint32_t)(arg1)->GetNumChildren(arg2);
74712     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
74713     return SWIG_arg;
74714 
74715     fail: SWIGUNUSED;
74716   }
74717   lua_error(L);
74718   return 0;
74719 }
74720 
74721 
_wrap_SBValue_GetNumChildren(lua_State * L)74722 static int _wrap_SBValue_GetNumChildren(lua_State* L) {
74723   int argc;
74724   int argv[3]={
74725     1,2,3
74726   };
74727 
74728   argc = lua_gettop(L);
74729   if (argc == 1) {
74730     int _v = 0;
74731     {
74732       void *ptr;
74733       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74734         _v = 0;
74735       } else {
74736         _v = 1;
74737       }
74738     }
74739     if (_v) {
74740       return _wrap_SBValue_GetNumChildren__SWIG_0(L);
74741     }
74742   }
74743   if (argc == 2) {
74744     int _v = 0;
74745     {
74746       void *ptr;
74747       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
74748         _v = 0;
74749       } else {
74750         _v = 1;
74751       }
74752     }
74753     if (_v) {
74754       {
74755         _v = lua_isnumber(L,argv[1]);
74756       }
74757       if (_v) {
74758         return _wrap_SBValue_GetNumChildren__SWIG_1(L);
74759       }
74760     }
74761   }
74762 
74763   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetNumChildren'\n"
74764     "  Possible C/C++ prototypes are:\n"
74765     "    lldb::SBValue::GetNumChildren()\n"
74766     "    lldb::SBValue::GetNumChildren(uint32_t)\n");
74767   lua_error(L);return 0;
74768 }
74769 
74770 
_wrap_SBValue_GetOpaqueType(lua_State * L)74771 static int _wrap_SBValue_GetOpaqueType(lua_State* L) {
74772   {
74773     int SWIG_arg = 0;
74774     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74775     void *result = 0 ;
74776 
74777     SWIG_check_num_args("lldb::SBValue::GetOpaqueType",1,1)
74778     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetOpaqueType",1,"lldb::SBValue *");
74779 
74780     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74781       SWIG_fail_ptr("SBValue_GetOpaqueType",1,SWIGTYPE_p_lldb__SBValue);
74782     }
74783 
74784     result = (void *)(arg1)->GetOpaqueType();
74785     SWIG_NewPointerObj(L,result,SWIGTYPE_p_void,0); SWIG_arg++;
74786     return SWIG_arg;
74787 
74788     fail: SWIGUNUSED;
74789   }
74790   lua_error(L);
74791   return 0;
74792 }
74793 
74794 
_wrap_SBValue_GetTarget(lua_State * L)74795 static int _wrap_SBValue_GetTarget(lua_State* L) {
74796   {
74797     int SWIG_arg = 0;
74798     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74799     lldb::SBTarget result;
74800 
74801     SWIG_check_num_args("lldb::SBValue::GetTarget",1,1)
74802     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetTarget",1,"lldb::SBValue *");
74803 
74804     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74805       SWIG_fail_ptr("SBValue_GetTarget",1,SWIGTYPE_p_lldb__SBValue);
74806     }
74807 
74808     result = (arg1)->GetTarget();
74809     {
74810       lldb::SBTarget * resultptr = new lldb::SBTarget(result);
74811       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBTarget,1); SWIG_arg++;
74812     }
74813     return SWIG_arg;
74814 
74815     fail: SWIGUNUSED;
74816   }
74817   lua_error(L);
74818   return 0;
74819 }
74820 
74821 
_wrap_SBValue_GetProcess(lua_State * L)74822 static int _wrap_SBValue_GetProcess(lua_State* L) {
74823   {
74824     int SWIG_arg = 0;
74825     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74826     lldb::SBProcess result;
74827 
74828     SWIG_check_num_args("lldb::SBValue::GetProcess",1,1)
74829     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetProcess",1,"lldb::SBValue *");
74830 
74831     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74832       SWIG_fail_ptr("SBValue_GetProcess",1,SWIGTYPE_p_lldb__SBValue);
74833     }
74834 
74835     result = (arg1)->GetProcess();
74836     {
74837       lldb::SBProcess * resultptr = new lldb::SBProcess(result);
74838       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++;
74839     }
74840     return SWIG_arg;
74841 
74842     fail: SWIGUNUSED;
74843   }
74844   lua_error(L);
74845   return 0;
74846 }
74847 
74848 
_wrap_SBValue_GetThread(lua_State * L)74849 static int _wrap_SBValue_GetThread(lua_State* L) {
74850   {
74851     int SWIG_arg = 0;
74852     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74853     lldb::SBThread result;
74854 
74855     SWIG_check_num_args("lldb::SBValue::GetThread",1,1)
74856     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetThread",1,"lldb::SBValue *");
74857 
74858     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74859       SWIG_fail_ptr("SBValue_GetThread",1,SWIGTYPE_p_lldb__SBValue);
74860     }
74861 
74862     result = (arg1)->GetThread();
74863     {
74864       lldb::SBThread * resultptr = new lldb::SBThread(result);
74865       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBThread,1); SWIG_arg++;
74866     }
74867     return SWIG_arg;
74868 
74869     fail: SWIGUNUSED;
74870   }
74871   lua_error(L);
74872   return 0;
74873 }
74874 
74875 
_wrap_SBValue_GetFrame(lua_State * L)74876 static int _wrap_SBValue_GetFrame(lua_State* L) {
74877   {
74878     int SWIG_arg = 0;
74879     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74880     lldb::SBFrame result;
74881 
74882     SWIG_check_num_args("lldb::SBValue::GetFrame",1,1)
74883     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetFrame",1,"lldb::SBValue *");
74884 
74885     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74886       SWIG_fail_ptr("SBValue_GetFrame",1,SWIGTYPE_p_lldb__SBValue);
74887     }
74888 
74889     result = (arg1)->GetFrame();
74890     {
74891       lldb::SBFrame * resultptr = new lldb::SBFrame(result);
74892       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBFrame,1); SWIG_arg++;
74893     }
74894     return SWIG_arg;
74895 
74896     fail: SWIGUNUSED;
74897   }
74898   lua_error(L);
74899   return 0;
74900 }
74901 
74902 
_wrap_SBValue_Dereference(lua_State * L)74903 static int _wrap_SBValue_Dereference(lua_State* L) {
74904   {
74905     int SWIG_arg = 0;
74906     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74907     lldb::SBValue result;
74908 
74909     SWIG_check_num_args("lldb::SBValue::Dereference",1,1)
74910     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Dereference",1,"lldb::SBValue *");
74911 
74912     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74913       SWIG_fail_ptr("SBValue_Dereference",1,SWIGTYPE_p_lldb__SBValue);
74914     }
74915 
74916     result = (arg1)->Dereference();
74917     {
74918       lldb::SBValue * resultptr = new lldb::SBValue(result);
74919       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74920     }
74921     return SWIG_arg;
74922 
74923     fail: SWIGUNUSED;
74924   }
74925   lua_error(L);
74926   return 0;
74927 }
74928 
74929 
_wrap_SBValue_TypeIsPointerType(lua_State * L)74930 static int _wrap_SBValue_TypeIsPointerType(lua_State* L) {
74931   {
74932     int SWIG_arg = 0;
74933     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74934     bool result;
74935 
74936     SWIG_check_num_args("lldb::SBValue::TypeIsPointerType",1,1)
74937     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::TypeIsPointerType",1,"lldb::SBValue *");
74938 
74939     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74940       SWIG_fail_ptr("SBValue_TypeIsPointerType",1,SWIGTYPE_p_lldb__SBValue);
74941     }
74942 
74943     result = (bool)(arg1)->TypeIsPointerType();
74944     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
74945     return SWIG_arg;
74946 
74947     fail: SWIGUNUSED;
74948   }
74949   lua_error(L);
74950   return 0;
74951 }
74952 
74953 
_wrap_SBValue_GetType(lua_State * L)74954 static int _wrap_SBValue_GetType(lua_State* L) {
74955   {
74956     int SWIG_arg = 0;
74957     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74958     lldb::SBType result;
74959 
74960     SWIG_check_num_args("lldb::SBValue::GetType",1,1)
74961     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetType",1,"lldb::SBValue *");
74962 
74963     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74964       SWIG_fail_ptr("SBValue_GetType",1,SWIGTYPE_p_lldb__SBValue);
74965     }
74966 
74967     result = (arg1)->GetType();
74968     {
74969       lldb::SBType * resultptr = new lldb::SBType(result);
74970       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
74971     }
74972     return SWIG_arg;
74973 
74974     fail: SWIGUNUSED;
74975   }
74976   lua_error(L);
74977   return 0;
74978 }
74979 
74980 
_wrap_SBValue_Persist(lua_State * L)74981 static int _wrap_SBValue_Persist(lua_State* L) {
74982   {
74983     int SWIG_arg = 0;
74984     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
74985     lldb::SBValue result;
74986 
74987     SWIG_check_num_args("lldb::SBValue::Persist",1,1)
74988     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Persist",1,"lldb::SBValue *");
74989 
74990     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
74991       SWIG_fail_ptr("SBValue_Persist",1,SWIGTYPE_p_lldb__SBValue);
74992     }
74993 
74994     result = (arg1)->Persist();
74995     {
74996       lldb::SBValue * resultptr = new lldb::SBValue(result);
74997       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
74998     }
74999     return SWIG_arg;
75000 
75001     fail: SWIGUNUSED;
75002   }
75003   lua_error(L);
75004   return 0;
75005 }
75006 
75007 
_wrap_SBValue_GetDescription(lua_State * L)75008 static int _wrap_SBValue_GetDescription(lua_State* L) {
75009   {
75010     int SWIG_arg = 0;
75011     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75012     lldb::SBStream *arg2 = 0 ;
75013     bool result;
75014 
75015     SWIG_check_num_args("lldb::SBValue::GetDescription",2,2)
75016     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetDescription",1,"lldb::SBValue *");
75017     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetDescription",2,"lldb::SBStream &");
75018 
75019     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75020       SWIG_fail_ptr("SBValue_GetDescription",1,SWIGTYPE_p_lldb__SBValue);
75021     }
75022 
75023 
75024     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
75025       SWIG_fail_ptr("SBValue_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
75026     }
75027 
75028     result = (bool)(arg1)->GetDescription(*arg2);
75029     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
75030     return SWIG_arg;
75031 
75032     fail: SWIGUNUSED;
75033   }
75034   lua_error(L);
75035   return 0;
75036 }
75037 
75038 
_wrap_SBValue_GetExpressionPath__SWIG_0(lua_State * L)75039 static int _wrap_SBValue_GetExpressionPath__SWIG_0(lua_State* L) {
75040   {
75041     int SWIG_arg = 0;
75042     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75043     lldb::SBStream *arg2 = 0 ;
75044     bool result;
75045 
75046     SWIG_check_num_args("lldb::SBValue::GetExpressionPath",2,2)
75047     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *");
75048     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &");
75049 
75050     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75051       SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue);
75052     }
75053 
75054 
75055     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
75056       SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream);
75057     }
75058 
75059     result = (bool)(arg1)->GetExpressionPath(*arg2);
75060     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
75061     return SWIG_arg;
75062 
75063     fail: SWIGUNUSED;
75064   }
75065   lua_error(L);
75066   return 0;
75067 }
75068 
75069 
_wrap_SBValue_GetExpressionPath__SWIG_1(lua_State * L)75070 static int _wrap_SBValue_GetExpressionPath__SWIG_1(lua_State* L) {
75071   {
75072     int SWIG_arg = 0;
75073     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75074     lldb::SBStream *arg2 = 0 ;
75075     bool arg3 ;
75076     bool result;
75077 
75078     SWIG_check_num_args("lldb::SBValue::GetExpressionPath",3,3)
75079     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",1,"lldb::SBValue *");
75080     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",2,"lldb::SBStream &");
75081     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::GetExpressionPath",3,"bool");
75082 
75083     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75084       SWIG_fail_ptr("SBValue_GetExpressionPath",1,SWIGTYPE_p_lldb__SBValue);
75085     }
75086 
75087 
75088     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
75089       SWIG_fail_ptr("SBValue_GetExpressionPath",2,SWIGTYPE_p_lldb__SBStream);
75090     }
75091 
75092     arg3 = (lua_toboolean(L, 3)!=0);
75093     result = (bool)(arg1)->GetExpressionPath(*arg2,arg3);
75094     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
75095     return SWIG_arg;
75096 
75097     fail: SWIGUNUSED;
75098   }
75099   lua_error(L);
75100   return 0;
75101 }
75102 
75103 
_wrap_SBValue_GetExpressionPath(lua_State * L)75104 static int _wrap_SBValue_GetExpressionPath(lua_State* L) {
75105   int argc;
75106   int argv[4]={
75107     1,2,3,4
75108   };
75109 
75110   argc = lua_gettop(L);
75111   if (argc == 2) {
75112     int _v = 0;
75113     {
75114       void *ptr;
75115       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75116         _v = 0;
75117       } else {
75118         _v = 1;
75119       }
75120     }
75121     if (_v) {
75122       {
75123         void *ptr;
75124         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
75125           _v = 0;
75126         } else {
75127           _v = 1;
75128         }
75129       }
75130       if (_v) {
75131         return _wrap_SBValue_GetExpressionPath__SWIG_0(L);
75132       }
75133     }
75134   }
75135   if (argc == 3) {
75136     int _v = 0;
75137     {
75138       void *ptr;
75139       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75140         _v = 0;
75141       } else {
75142         _v = 1;
75143       }
75144     }
75145     if (_v) {
75146       {
75147         void *ptr;
75148         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
75149           _v = 0;
75150         } else {
75151           _v = 1;
75152         }
75153       }
75154       if (_v) {
75155         {
75156           _v = lua_isboolean(L,argv[2]);
75157         }
75158         if (_v) {
75159           return _wrap_SBValue_GetExpressionPath__SWIG_1(L);
75160         }
75161       }
75162     }
75163   }
75164 
75165   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_GetExpressionPath'\n"
75166     "  Possible C/C++ prototypes are:\n"
75167     "    lldb::SBValue::GetExpressionPath(lldb::SBStream &)\n"
75168     "    lldb::SBValue::GetExpressionPath(lldb::SBStream &,bool)\n");
75169   lua_error(L);return 0;
75170 }
75171 
75172 
_wrap_SBValue_EvaluateExpression__SWIG_0(lua_State * L)75173 static int _wrap_SBValue_EvaluateExpression__SWIG_0(lua_State* L) {
75174   {
75175     int SWIG_arg = 0;
75176     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75177     char *arg2 = (char *) 0 ;
75178     lldb::SBValue result;
75179 
75180     SWIG_check_num_args("lldb::SBValue::EvaluateExpression",2,2)
75181     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *");
75182     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *");
75183 
75184     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75185       SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue);
75186     }
75187 
75188     arg2 = (char *)lua_tostring(L, 2);
75189     result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2);
75190     {
75191       lldb::SBValue * resultptr = new lldb::SBValue(result);
75192       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
75193     }
75194     return SWIG_arg;
75195 
75196     fail: SWIGUNUSED;
75197   }
75198   lua_error(L);
75199   return 0;
75200 }
75201 
75202 
_wrap_SBValue_EvaluateExpression__SWIG_1(lua_State * L)75203 static int _wrap_SBValue_EvaluateExpression__SWIG_1(lua_State* L) {
75204   {
75205     int SWIG_arg = 0;
75206     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75207     char *arg2 = (char *) 0 ;
75208     lldb::SBExpressionOptions *arg3 = 0 ;
75209     lldb::SBValue result;
75210 
75211     SWIG_check_num_args("lldb::SBValue::EvaluateExpression",3,3)
75212     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *");
75213     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *");
75214     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &");
75215 
75216     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75217       SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue);
75218     }
75219 
75220     arg2 = (char *)lua_tostring(L, 2);
75221 
75222     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
75223       SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions);
75224     }
75225 
75226     result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3);
75227     {
75228       lldb::SBValue * resultptr = new lldb::SBValue(result);
75229       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
75230     }
75231     return SWIG_arg;
75232 
75233     fail: SWIGUNUSED;
75234   }
75235   lua_error(L);
75236   return 0;
75237 }
75238 
75239 
_wrap_SBValue_EvaluateExpression__SWIG_2(lua_State * L)75240 static int _wrap_SBValue_EvaluateExpression__SWIG_2(lua_State* L) {
75241   {
75242     int SWIG_arg = 0;
75243     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75244     char *arg2 = (char *) 0 ;
75245     lldb::SBExpressionOptions *arg3 = 0 ;
75246     char *arg4 = (char *) 0 ;
75247     lldb::SBValue result;
75248 
75249     SWIG_check_num_args("lldb::SBValue::EvaluateExpression",4,4)
75250     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",1,"lldb::SBValue const *");
75251     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",2,"char const *");
75252     if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",3,"lldb::SBExpressionOptions const &");
75253     if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("lldb::SBValue::EvaluateExpression",4,"char const *");
75254 
75255     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75256       SWIG_fail_ptr("SBValue_EvaluateExpression",1,SWIGTYPE_p_lldb__SBValue);
75257     }
75258 
75259     arg2 = (char *)lua_tostring(L, 2);
75260 
75261     if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBExpressionOptions,0))){
75262       SWIG_fail_ptr("SBValue_EvaluateExpression",3,SWIGTYPE_p_lldb__SBExpressionOptions);
75263     }
75264 
75265     arg4 = (char *)lua_tostring(L, 4);
75266     result = ((lldb::SBValue const *)arg1)->EvaluateExpression((char const *)arg2,(lldb::SBExpressionOptions const &)*arg3,(char const *)arg4);
75267     {
75268       lldb::SBValue * resultptr = new lldb::SBValue(result);
75269       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
75270     }
75271     return SWIG_arg;
75272 
75273     fail: SWIGUNUSED;
75274   }
75275   lua_error(L);
75276   return 0;
75277 }
75278 
75279 
_wrap_SBValue_EvaluateExpression(lua_State * L)75280 static int _wrap_SBValue_EvaluateExpression(lua_State* L) {
75281   int argc;
75282   int argv[5]={
75283     1,2,3,4,5
75284   };
75285 
75286   argc = lua_gettop(L);
75287   if (argc == 2) {
75288     int _v = 0;
75289     {
75290       void *ptr;
75291       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75292         _v = 0;
75293       } else {
75294         _v = 1;
75295       }
75296     }
75297     if (_v) {
75298       {
75299         _v = SWIG_lua_isnilstring(L,argv[1]);
75300       }
75301       if (_v) {
75302         return _wrap_SBValue_EvaluateExpression__SWIG_0(L);
75303       }
75304     }
75305   }
75306   if (argc == 3) {
75307     int _v = 0;
75308     {
75309       void *ptr;
75310       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75311         _v = 0;
75312       } else {
75313         _v = 1;
75314       }
75315     }
75316     if (_v) {
75317       {
75318         _v = SWIG_lua_isnilstring(L,argv[1]);
75319       }
75320       if (_v) {
75321         {
75322           void *ptr;
75323           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
75324             _v = 0;
75325           } else {
75326             _v = 1;
75327           }
75328         }
75329         if (_v) {
75330           return _wrap_SBValue_EvaluateExpression__SWIG_1(L);
75331         }
75332       }
75333     }
75334   }
75335   if (argc == 4) {
75336     int _v = 0;
75337     {
75338       void *ptr;
75339       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75340         _v = 0;
75341       } else {
75342         _v = 1;
75343       }
75344     }
75345     if (_v) {
75346       {
75347         _v = SWIG_lua_isnilstring(L,argv[1]);
75348       }
75349       if (_v) {
75350         {
75351           void *ptr;
75352           if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_POINTER_NO_NULL)) {
75353             _v = 0;
75354           } else {
75355             _v = 1;
75356           }
75357         }
75358         if (_v) {
75359           {
75360             _v = SWIG_lua_isnilstring(L,argv[3]);
75361           }
75362           if (_v) {
75363             return _wrap_SBValue_EvaluateExpression__SWIG_2(L);
75364           }
75365         }
75366       }
75367     }
75368   }
75369 
75370   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_EvaluateExpression'\n"
75371     "  Possible C/C++ prototypes are:\n"
75372     "    lldb::SBValue::EvaluateExpression(char const *) const\n"
75373     "    lldb::SBValue::EvaluateExpression(char const *,lldb::SBExpressionOptions const &) const\n"
75374     "    lldb::SBValue::EvaluateExpression(char const *,lldb::SBExpressionOptions const &,char const *) const\n");
75375   lua_error(L);return 0;
75376 }
75377 
75378 
_wrap_SBValue_Watch__SWIG_0(lua_State * L)75379 static int _wrap_SBValue_Watch__SWIG_0(lua_State* L) {
75380   {
75381     int SWIG_arg = 0;
75382     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75383     bool arg2 ;
75384     bool arg3 ;
75385     bool arg4 ;
75386     lldb::SBError *arg5 = 0 ;
75387     lldb::SBWatchpoint result;
75388 
75389     SWIG_check_num_args("lldb::SBValue::Watch",5,5)
75390     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Watch",1,"lldb::SBValue *");
75391     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::Watch",2,"bool");
75392     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::Watch",3,"bool");
75393     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::Watch",4,"bool");
75394     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::Watch",5,"lldb::SBError &");
75395 
75396     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75397       SWIG_fail_ptr("SBValue_Watch",1,SWIGTYPE_p_lldb__SBValue);
75398     }
75399 
75400     arg2 = (lua_toboolean(L, 2)!=0);
75401     arg3 = (lua_toboolean(L, 3)!=0);
75402     arg4 = (lua_toboolean(L, 4)!=0);
75403 
75404     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
75405       SWIG_fail_ptr("SBValue_Watch",5,SWIGTYPE_p_lldb__SBError);
75406     }
75407 
75408     result = (arg1)->Watch(arg2,arg3,arg4,*arg5);
75409     {
75410       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
75411       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
75412     }
75413     return SWIG_arg;
75414 
75415     fail: SWIGUNUSED;
75416   }
75417   lua_error(L);
75418   return 0;
75419 }
75420 
75421 
_wrap_SBValue_Watch__SWIG_1(lua_State * L)75422 static int _wrap_SBValue_Watch__SWIG_1(lua_State* L) {
75423   {
75424     int SWIG_arg = 0;
75425     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75426     bool arg2 ;
75427     bool arg3 ;
75428     bool arg4 ;
75429     lldb::SBWatchpoint result;
75430 
75431     SWIG_check_num_args("lldb::SBValue::Watch",4,4)
75432     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::Watch",1,"lldb::SBValue *");
75433     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::Watch",2,"bool");
75434     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::Watch",3,"bool");
75435     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::Watch",4,"bool");
75436 
75437     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75438       SWIG_fail_ptr("SBValue_Watch",1,SWIGTYPE_p_lldb__SBValue);
75439     }
75440 
75441     arg2 = (lua_toboolean(L, 2)!=0);
75442     arg3 = (lua_toboolean(L, 3)!=0);
75443     arg4 = (lua_toboolean(L, 4)!=0);
75444     result = (arg1)->Watch(arg2,arg3,arg4);
75445     {
75446       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
75447       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
75448     }
75449     return SWIG_arg;
75450 
75451     fail: SWIGUNUSED;
75452   }
75453   lua_error(L);
75454   return 0;
75455 }
75456 
75457 
_wrap_SBValue_Watch(lua_State * L)75458 static int _wrap_SBValue_Watch(lua_State* L) {
75459   int argc;
75460   int argv[6]={
75461     1,2,3,4,5,6
75462   };
75463 
75464   argc = lua_gettop(L);
75465   if (argc == 4) {
75466     int _v = 0;
75467     {
75468       void *ptr;
75469       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75470         _v = 0;
75471       } else {
75472         _v = 1;
75473       }
75474     }
75475     if (_v) {
75476       {
75477         _v = lua_isboolean(L,argv[1]);
75478       }
75479       if (_v) {
75480         {
75481           _v = lua_isboolean(L,argv[2]);
75482         }
75483         if (_v) {
75484           {
75485             _v = lua_isboolean(L,argv[3]);
75486           }
75487           if (_v) {
75488             return _wrap_SBValue_Watch__SWIG_1(L);
75489           }
75490         }
75491       }
75492     }
75493   }
75494   if (argc == 5) {
75495     int _v = 0;
75496     {
75497       void *ptr;
75498       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, 0)) {
75499         _v = 0;
75500       } else {
75501         _v = 1;
75502       }
75503     }
75504     if (_v) {
75505       {
75506         _v = lua_isboolean(L,argv[1]);
75507       }
75508       if (_v) {
75509         {
75510           _v = lua_isboolean(L,argv[2]);
75511         }
75512         if (_v) {
75513           {
75514             _v = lua_isboolean(L,argv[3]);
75515           }
75516           if (_v) {
75517             {
75518               void *ptr;
75519               if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) {
75520                 _v = 0;
75521               } else {
75522                 _v = 1;
75523               }
75524             }
75525             if (_v) {
75526               return _wrap_SBValue_Watch__SWIG_0(L);
75527             }
75528           }
75529         }
75530       }
75531     }
75532   }
75533 
75534   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValue_Watch'\n"
75535     "  Possible C/C++ prototypes are:\n"
75536     "    lldb::SBValue::Watch(bool,bool,bool,lldb::SBError &)\n"
75537     "    lldb::SBValue::Watch(bool,bool,bool)\n");
75538   lua_error(L);return 0;
75539 }
75540 
75541 
_wrap_SBValue_WatchPointee(lua_State * L)75542 static int _wrap_SBValue_WatchPointee(lua_State* L) {
75543   {
75544     int SWIG_arg = 0;
75545     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75546     bool arg2 ;
75547     bool arg3 ;
75548     bool arg4 ;
75549     lldb::SBError *arg5 = 0 ;
75550     lldb::SBWatchpoint result;
75551 
75552     SWIG_check_num_args("lldb::SBValue::WatchPointee",5,5)
75553     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::WatchPointee",1,"lldb::SBValue *");
75554     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBValue::WatchPointee",2,"bool");
75555     if(!lua_isboolean(L,3)) SWIG_fail_arg("lldb::SBValue::WatchPointee",3,"bool");
75556     if(!lua_isboolean(L,4)) SWIG_fail_arg("lldb::SBValue::WatchPointee",4,"bool");
75557     if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBValue::WatchPointee",5,"lldb::SBError &");
75558 
75559     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75560       SWIG_fail_ptr("SBValue_WatchPointee",1,SWIGTYPE_p_lldb__SBValue);
75561     }
75562 
75563     arg2 = (lua_toboolean(L, 2)!=0);
75564     arg3 = (lua_toboolean(L, 3)!=0);
75565     arg4 = (lua_toboolean(L, 4)!=0);
75566 
75567     if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){
75568       SWIG_fail_ptr("SBValue_WatchPointee",5,SWIGTYPE_p_lldb__SBError);
75569     }
75570 
75571     result = (arg1)->WatchPointee(arg2,arg3,arg4,*arg5);
75572     {
75573       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
75574       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
75575     }
75576     return SWIG_arg;
75577 
75578     fail: SWIGUNUSED;
75579   }
75580   lua_error(L);
75581   return 0;
75582 }
75583 
75584 
_wrap_SBValue_GetVTable(lua_State * L)75585 static int _wrap_SBValue_GetVTable(lua_State* L) {
75586   {
75587     int SWIG_arg = 0;
75588     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75589     lldb::SBValue result;
75590 
75591     SWIG_check_num_args("lldb::SBValue::GetVTable",1,1)
75592     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetVTable",1,"lldb::SBValue *");
75593 
75594     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75595       SWIG_fail_ptr("SBValue_GetVTable",1,SWIGTYPE_p_lldb__SBValue);
75596     }
75597 
75598     result = (arg1)->GetVTable();
75599     {
75600       lldb::SBValue * resultptr = new lldb::SBValue(result);
75601       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
75602     }
75603     return SWIG_arg;
75604 
75605     fail: SWIGUNUSED;
75606   }
75607   lua_error(L);
75608   return 0;
75609 }
75610 
75611 
_wrap_SBValue___tostring(lua_State * L)75612 static int _wrap_SBValue___tostring(lua_State* L) {
75613   {
75614     int SWIG_arg = 0;
75615     lldb::SBValue *arg1 = (lldb::SBValue *) 0 ;
75616     std::string result;
75617 
75618     SWIG_check_num_args("lldb::SBValue::__repr__",1,1)
75619     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::__repr__",1,"lldb::SBValue *");
75620 
75621     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){
75622       SWIG_fail_ptr("SBValue___tostring",1,SWIGTYPE_p_lldb__SBValue);
75623     }
75624 
75625     result = lldb_SBValue___repr__(arg1);
75626     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
75627     return SWIG_arg;
75628 
75629     fail: SWIGUNUSED;
75630   }
75631   lua_error(L);
75632   return 0;
75633 }
75634 
75635 
swig_delete_SBValue(void * obj)75636 static void swig_delete_SBValue(void *obj) {
75637 lldb::SBValue *arg1 = (lldb::SBValue *) obj;
75638 delete arg1;
75639 }
_proxy__wrap_new_SBValue(lua_State * L)75640 static int _proxy__wrap_new_SBValue(lua_State *L) {
75641     assert(lua_istable(L,1));
75642     lua_pushcfunction(L,_wrap_new_SBValue);
75643     assert(!lua_isnil(L,-1));
75644     lua_replace(L,1); /* replace our table with real constructor */
75645     lua_call(L,lua_gettop(L)-1,1);
75646     return 1;
75647 }
75648 static swig_lua_attribute swig_SBValue_attributes[] = {
75649     {0,0,0}
75650 };
75651 static swig_lua_method swig_SBValue_methods[]= {
75652     { "IsValid", _wrap_SBValue_IsValid},
75653     { "Clear", _wrap_SBValue_Clear},
75654     { "GetError", _wrap_SBValue_GetError},
75655     { "GetID", _wrap_SBValue_GetID},
75656     { "GetName", _wrap_SBValue_GetName},
75657     { "GetTypeName", _wrap_SBValue_GetTypeName},
75658     { "GetDisplayTypeName", _wrap_SBValue_GetDisplayTypeName},
75659     { "GetByteSize", _wrap_SBValue_GetByteSize},
75660     { "IsInScope", _wrap_SBValue_IsInScope},
75661     { "GetFormat", _wrap_SBValue_GetFormat},
75662     { "SetFormat", _wrap_SBValue_SetFormat},
75663     { "GetValue", _wrap_SBValue_GetValue},
75664     { "GetValueAsSigned", _wrap_SBValue_GetValueAsSigned},
75665     { "GetValueAsUnsigned", _wrap_SBValue_GetValueAsUnsigned},
75666     { "GetValueType", _wrap_SBValue_GetValueType},
75667     { "GetValueDidChange", _wrap_SBValue_GetValueDidChange},
75668     { "GetSummary", _wrap_SBValue_GetSummary},
75669     { "GetObjectDescription", _wrap_SBValue_GetObjectDescription},
75670     { "GetDynamicValue", _wrap_SBValue_GetDynamicValue},
75671     { "GetStaticValue", _wrap_SBValue_GetStaticValue},
75672     { "GetNonSyntheticValue", _wrap_SBValue_GetNonSyntheticValue},
75673     { "GetPreferDynamicValue", _wrap_SBValue_GetPreferDynamicValue},
75674     { "SetPreferDynamicValue", _wrap_SBValue_SetPreferDynamicValue},
75675     { "GetPreferSyntheticValue", _wrap_SBValue_GetPreferSyntheticValue},
75676     { "SetPreferSyntheticValue", _wrap_SBValue_SetPreferSyntheticValue},
75677     { "IsDynamic", _wrap_SBValue_IsDynamic},
75678     { "IsSynthetic", _wrap_SBValue_IsSynthetic},
75679     { "IsSyntheticChildrenGenerated", _wrap_SBValue_IsSyntheticChildrenGenerated},
75680     { "SetSyntheticChildrenGenerated", _wrap_SBValue_SetSyntheticChildrenGenerated},
75681     { "GetLocation", _wrap_SBValue_GetLocation},
75682     { "SetValueFromCString", _wrap_SBValue_SetValueFromCString},
75683     { "GetTypeFormat", _wrap_SBValue_GetTypeFormat},
75684     { "GetTypeSummary", _wrap_SBValue_GetTypeSummary},
75685     { "GetTypeFilter", _wrap_SBValue_GetTypeFilter},
75686     { "GetTypeSynthetic", _wrap_SBValue_GetTypeSynthetic},
75687     { "CreateChildAtOffset", _wrap_SBValue_CreateChildAtOffset},
75688     { "Cast", _wrap_SBValue_Cast},
75689     { "CreateValueFromExpression", _wrap_SBValue_CreateValueFromExpression},
75690     { "CreateValueFromAddress", _wrap_SBValue_CreateValueFromAddress},
75691     { "CreateValueFromData", _wrap_SBValue_CreateValueFromData},
75692     { "GetChildAtIndex", _wrap_SBValue_GetChildAtIndex},
75693     { "GetIndexOfChildWithName", _wrap_SBValue_GetIndexOfChildWithName},
75694     { "GetChildMemberWithName", _wrap_SBValue_GetChildMemberWithName},
75695     { "GetValueForExpressionPath", _wrap_SBValue_GetValueForExpressionPath},
75696     { "AddressOf", _wrap_SBValue_AddressOf},
75697     { "GetLoadAddress", _wrap_SBValue_GetLoadAddress},
75698     { "GetAddress", _wrap_SBValue_GetAddress},
75699     { "GetPointeeData", _wrap_SBValue_GetPointeeData},
75700     { "GetData", _wrap_SBValue_GetData},
75701     { "SetData", _wrap_SBValue_SetData},
75702     { "Clone", _wrap_SBValue_Clone},
75703     { "GetDeclaration", _wrap_SBValue_GetDeclaration},
75704     { "MightHaveChildren", _wrap_SBValue_MightHaveChildren},
75705     { "IsRuntimeSupportValue", _wrap_SBValue_IsRuntimeSupportValue},
75706     { "GetNumChildren", _wrap_SBValue_GetNumChildren},
75707     { "GetOpaqueType", _wrap_SBValue_GetOpaqueType},
75708     { "GetTarget", _wrap_SBValue_GetTarget},
75709     { "GetProcess", _wrap_SBValue_GetProcess},
75710     { "GetThread", _wrap_SBValue_GetThread},
75711     { "GetFrame", _wrap_SBValue_GetFrame},
75712     { "Dereference", _wrap_SBValue_Dereference},
75713     { "TypeIsPointerType", _wrap_SBValue_TypeIsPointerType},
75714     { "GetType", _wrap_SBValue_GetType},
75715     { "Persist", _wrap_SBValue_Persist},
75716     { "GetDescription", _wrap_SBValue_GetDescription},
75717     { "GetExpressionPath", _wrap_SBValue_GetExpressionPath},
75718     { "EvaluateExpression", _wrap_SBValue_EvaluateExpression},
75719     { "Watch", _wrap_SBValue_Watch},
75720     { "WatchPointee", _wrap_SBValue_WatchPointee},
75721     { "GetVTable", _wrap_SBValue_GetVTable},
75722     { "__tostring", _wrap_SBValue___tostring},
75723     {0,0}
75724 };
75725 static swig_lua_method swig_SBValue_meta[] = {
75726     { "__tostring", _wrap_SBValue___tostring},
75727     {0,0}
75728 };
75729 
75730 static swig_lua_attribute swig_SBValue_Sf_SwigStatic_attributes[] = {
75731     {0,0,0}
75732 };
75733 static swig_lua_const_info swig_SBValue_Sf_SwigStatic_constants[]= {
75734     {0,0,0,0,0,0}
75735 };
75736 static swig_lua_method swig_SBValue_Sf_SwigStatic_methods[]= {
75737     {0,0}
75738 };
75739 static swig_lua_class* swig_SBValue_Sf_SwigStatic_classes[]= {
75740     0
75741 };
75742 
75743 static swig_lua_namespace swig_SBValue_Sf_SwigStatic = {
75744     "SBValue",
75745     swig_SBValue_Sf_SwigStatic_methods,
75746     swig_SBValue_Sf_SwigStatic_attributes,
75747     swig_SBValue_Sf_SwigStatic_constants,
75748     swig_SBValue_Sf_SwigStatic_classes,
75749     0
75750 };
75751 static swig_lua_class *swig_SBValue_bases[] = {0};
75752 static const char *swig_SBValue_base_names[] = {0};
75753 static swig_lua_class _wrap_class_SBValue = { "SBValue", "SBValue", &SWIGTYPE_p_lldb__SBValue,_proxy__wrap_new_SBValue, swig_delete_SBValue, swig_SBValue_methods, swig_SBValue_attributes, &swig_SBValue_Sf_SwigStatic, swig_SBValue_meta, swig_SBValue_bases, swig_SBValue_base_names };
75754 
_wrap_new_SBValueList__SWIG_0(lua_State * L)75755 static int _wrap_new_SBValueList__SWIG_0(lua_State* L) {
75756   {
75757     int SWIG_arg = 0;
75758     lldb::SBValueList *result = 0 ;
75759 
75760     SWIG_check_num_args("lldb::SBValueList::SBValueList",0,0)
75761     result = (lldb::SBValueList *)new lldb::SBValueList();
75762     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
75763     return SWIG_arg;
75764 
75765     fail: SWIGUNUSED;
75766   }
75767   lua_error(L);
75768   return 0;
75769 }
75770 
75771 
_wrap_new_SBValueList__SWIG_1(lua_State * L)75772 static int _wrap_new_SBValueList__SWIG_1(lua_State* L) {
75773   {
75774     int SWIG_arg = 0;
75775     lldb::SBValueList *arg1 = 0 ;
75776     lldb::SBValueList *result = 0 ;
75777 
75778     SWIG_check_num_args("lldb::SBValueList::SBValueList",1,1)
75779     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBValueList::SBValueList",1,"lldb::SBValueList const &");
75780 
75781     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
75782       SWIG_fail_ptr("new_SBValueList",1,SWIGTYPE_p_lldb__SBValueList);
75783     }
75784 
75785     result = (lldb::SBValueList *)new lldb::SBValueList((lldb::SBValueList const &)*arg1);
75786     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBValueList,1); SWIG_arg++;
75787     return SWIG_arg;
75788 
75789     fail: SWIGUNUSED;
75790   }
75791   lua_error(L);
75792   return 0;
75793 }
75794 
75795 
_wrap_new_SBValueList(lua_State * L)75796 static int _wrap_new_SBValueList(lua_State* L) {
75797   int argc;
75798   int argv[2]={
75799     1,2
75800   };
75801 
75802   argc = lua_gettop(L);
75803   if (argc == 0) {
75804     return _wrap_new_SBValueList__SWIG_0(L);
75805   }
75806   if (argc == 1) {
75807     int _v = 0;
75808     {
75809       void *ptr;
75810       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, SWIG_POINTER_NO_NULL)) {
75811         _v = 0;
75812       } else {
75813         _v = 1;
75814       }
75815     }
75816     if (_v) {
75817       return _wrap_new_SBValueList__SWIG_1(L);
75818     }
75819   }
75820 
75821   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBValueList'\n"
75822     "  Possible C/C++ prototypes are:\n"
75823     "    lldb::SBValueList::SBValueList()\n"
75824     "    lldb::SBValueList::SBValueList(lldb::SBValueList const &)\n");
75825   lua_error(L);return 0;
75826 }
75827 
75828 
_wrap_SBValueList_IsValid(lua_State * L)75829 static int _wrap_SBValueList_IsValid(lua_State* L) {
75830   {
75831     int SWIG_arg = 0;
75832     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
75833     bool result;
75834 
75835     SWIG_check_num_args("lldb::SBValueList::IsValid",1,1)
75836     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::IsValid",1,"lldb::SBValueList const *");
75837 
75838     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
75839       SWIG_fail_ptr("SBValueList_IsValid",1,SWIGTYPE_p_lldb__SBValueList);
75840     }
75841 
75842     result = (bool)((lldb::SBValueList const *)arg1)->IsValid();
75843     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
75844     return SWIG_arg;
75845 
75846     fail: SWIGUNUSED;
75847   }
75848   lua_error(L);
75849   return 0;
75850 }
75851 
75852 
_wrap_SBValueList_Clear(lua_State * L)75853 static int _wrap_SBValueList_Clear(lua_State* L) {
75854   {
75855     int SWIG_arg = 0;
75856     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
75857 
75858     SWIG_check_num_args("lldb::SBValueList::Clear",1,1)
75859     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Clear",1,"lldb::SBValueList *");
75860 
75861     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
75862       SWIG_fail_ptr("SBValueList_Clear",1,SWIGTYPE_p_lldb__SBValueList);
75863     }
75864 
75865     (arg1)->Clear();
75866 
75867     return SWIG_arg;
75868 
75869     fail: SWIGUNUSED;
75870   }
75871   lua_error(L);
75872   return 0;
75873 }
75874 
75875 
_wrap_SBValueList_Append__SWIG_0(lua_State * L)75876 static int _wrap_SBValueList_Append__SWIG_0(lua_State* L) {
75877   {
75878     int SWIG_arg = 0;
75879     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
75880     lldb::SBValue *arg2 = 0 ;
75881 
75882     SWIG_check_num_args("lldb::SBValueList::Append",2,2)
75883     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *");
75884     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValue const &");
75885 
75886     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
75887       SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList);
75888     }
75889 
75890 
75891     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValue,0))){
75892       SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValue);
75893     }
75894 
75895     (arg1)->Append((lldb::SBValue const &)*arg2);
75896 
75897     return SWIG_arg;
75898 
75899     fail: SWIGUNUSED;
75900   }
75901   lua_error(L);
75902   return 0;
75903 }
75904 
75905 
_wrap_SBValueList_Append__SWIG_1(lua_State * L)75906 static int _wrap_SBValueList_Append__SWIG_1(lua_State* L) {
75907   {
75908     int SWIG_arg = 0;
75909     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
75910     lldb::SBValueList *arg2 = 0 ;
75911 
75912     SWIG_check_num_args("lldb::SBValueList::Append",2,2)
75913     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::Append",1,"lldb::SBValueList *");
75914     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBValueList::Append",2,"lldb::SBValueList const &");
75915 
75916     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
75917       SWIG_fail_ptr("SBValueList_Append",1,SWIGTYPE_p_lldb__SBValueList);
75918     }
75919 
75920 
75921     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBValueList,0))){
75922       SWIG_fail_ptr("SBValueList_Append",2,SWIGTYPE_p_lldb__SBValueList);
75923     }
75924 
75925     (arg1)->Append((lldb::SBValueList const &)*arg2);
75926 
75927     return SWIG_arg;
75928 
75929     fail: SWIGUNUSED;
75930   }
75931   lua_error(L);
75932   return 0;
75933 }
75934 
75935 
_wrap_SBValueList_Append(lua_State * L)75936 static int _wrap_SBValueList_Append(lua_State* L) {
75937   int argc;
75938   int argv[3]={
75939     1,2,3
75940   };
75941 
75942   argc = lua_gettop(L);
75943   if (argc == 2) {
75944     int _v = 0;
75945     {
75946       void *ptr;
75947       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, 0)) {
75948         _v = 0;
75949       } else {
75950         _v = 1;
75951       }
75952     }
75953     if (_v) {
75954       {
75955         void *ptr;
75956         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_NO_NULL)) {
75957           _v = 0;
75958         } else {
75959           _v = 1;
75960         }
75961       }
75962       if (_v) {
75963         return _wrap_SBValueList_Append__SWIG_0(L);
75964       }
75965     }
75966   }
75967   if (argc == 2) {
75968     int _v = 0;
75969     {
75970       void *ptr;
75971       if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, 0)) {
75972         _v = 0;
75973       } else {
75974         _v = 1;
75975       }
75976     }
75977     if (_v) {
75978       {
75979         void *ptr;
75980         if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBValueList, SWIG_POINTER_NO_NULL)) {
75981           _v = 0;
75982         } else {
75983           _v = 1;
75984         }
75985       }
75986       if (_v) {
75987         return _wrap_SBValueList_Append__SWIG_1(L);
75988       }
75989     }
75990   }
75991 
75992   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'SBValueList_Append'\n"
75993     "  Possible C/C++ prototypes are:\n"
75994     "    lldb::SBValueList::Append(lldb::SBValue const &)\n"
75995     "    lldb::SBValueList::Append(lldb::SBValueList const &)\n");
75996   lua_error(L);return 0;
75997 }
75998 
75999 
_wrap_SBValueList_GetSize(lua_State * L)76000 static int _wrap_SBValueList_GetSize(lua_State* L) {
76001   {
76002     int SWIG_arg = 0;
76003     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76004     uint32_t result;
76005 
76006     SWIG_check_num_args("lldb::SBValueList::GetSize",1,1)
76007     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetSize",1,"lldb::SBValueList const *");
76008 
76009     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76010       SWIG_fail_ptr("SBValueList_GetSize",1,SWIGTYPE_p_lldb__SBValueList);
76011     }
76012 
76013     result = (uint32_t)((lldb::SBValueList const *)arg1)->GetSize();
76014     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76015     return SWIG_arg;
76016 
76017     fail: SWIGUNUSED;
76018   }
76019   lua_error(L);
76020   return 0;
76021 }
76022 
76023 
_wrap_SBValueList_GetValueAtIndex(lua_State * L)76024 static int _wrap_SBValueList_GetValueAtIndex(lua_State* L) {
76025   {
76026     int SWIG_arg = 0;
76027     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76028     uint32_t arg2 ;
76029     lldb::SBValue result;
76030 
76031     SWIG_check_num_args("lldb::SBValueList::GetValueAtIndex",2,2)
76032     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",1,"lldb::SBValueList const *");
76033     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::GetValueAtIndex",2,"uint32_t");
76034 
76035     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76036       SWIG_fail_ptr("SBValueList_GetValueAtIndex",1,SWIGTYPE_p_lldb__SBValueList);
76037     }
76038 
76039     arg2 = (uint32_t)lua_tointeger(L, 2);
76040     result = ((lldb::SBValueList const *)arg1)->GetValueAtIndex(arg2);
76041     {
76042       lldb::SBValue * resultptr = new lldb::SBValue(result);
76043       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
76044     }
76045     return SWIG_arg;
76046 
76047     fail: SWIGUNUSED;
76048   }
76049   lua_error(L);
76050   return 0;
76051 }
76052 
76053 
_wrap_SBValueList_GetFirstValueByName(lua_State * L)76054 static int _wrap_SBValueList_GetFirstValueByName(lua_State* L) {
76055   {
76056     int SWIG_arg = 0;
76057     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76058     char *arg2 = (char *) 0 ;
76059     lldb::SBValue result;
76060 
76061     SWIG_check_num_args("lldb::SBValueList::GetFirstValueByName",2,2)
76062     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",1,"lldb::SBValueList const *");
76063     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBValueList::GetFirstValueByName",2,"char const *");
76064 
76065     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76066       SWIG_fail_ptr("SBValueList_GetFirstValueByName",1,SWIGTYPE_p_lldb__SBValueList);
76067     }
76068 
76069     arg2 = (char *)lua_tostring(L, 2);
76070     result = ((lldb::SBValueList const *)arg1)->GetFirstValueByName((char const *)arg2);
76071     {
76072       lldb::SBValue * resultptr = new lldb::SBValue(result);
76073       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
76074     }
76075     return SWIG_arg;
76076 
76077     fail: SWIGUNUSED;
76078   }
76079   lua_error(L);
76080   return 0;
76081 }
76082 
76083 
_wrap_SBValueList_FindValueObjectByUID(lua_State * L)76084 static int _wrap_SBValueList_FindValueObjectByUID(lua_State* L) {
76085   {
76086     int SWIG_arg = 0;
76087     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76088     lldb::user_id_t arg2 ;
76089     lldb::SBValue result;
76090 
76091     SWIG_check_num_args("lldb::SBValueList::FindValueObjectByUID",2,2)
76092     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",1,"lldb::SBValueList *");
76093     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBValueList::FindValueObjectByUID",2,"lldb::user_id_t");
76094 
76095     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76096       SWIG_fail_ptr("SBValueList_FindValueObjectByUID",1,SWIGTYPE_p_lldb__SBValueList);
76097     }
76098 
76099     arg2 = (lldb::user_id_t)lua_tointeger(L, 2);
76100     result = (arg1)->FindValueObjectByUID(arg2);
76101     {
76102       lldb::SBValue * resultptr = new lldb::SBValue(result);
76103       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++;
76104     }
76105     return SWIG_arg;
76106 
76107     fail: SWIGUNUSED;
76108   }
76109   lua_error(L);
76110   return 0;
76111 }
76112 
76113 
_wrap_SBValueList_GetError(lua_State * L)76114 static int _wrap_SBValueList_GetError(lua_State* L) {
76115   {
76116     int SWIG_arg = 0;
76117     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76118     lldb::SBError result;
76119 
76120     SWIG_check_num_args("lldb::SBValueList::GetError",1,1)
76121     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::GetError",1,"lldb::SBValueList *");
76122 
76123     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76124       SWIG_fail_ptr("SBValueList_GetError",1,SWIGTYPE_p_lldb__SBValueList);
76125     }
76126 
76127     result = (arg1)->GetError();
76128     {
76129       lldb::SBError * resultptr = new lldb::SBError(result);
76130       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
76131     }
76132     return SWIG_arg;
76133 
76134     fail: SWIGUNUSED;
76135   }
76136   lua_error(L);
76137   return 0;
76138 }
76139 
76140 
_wrap_SBValueList___tostring(lua_State * L)76141 static int _wrap_SBValueList___tostring(lua_State* L) {
76142   {
76143     int SWIG_arg = 0;
76144     lldb::SBValueList *arg1 = (lldb::SBValueList *) 0 ;
76145     std::string result;
76146 
76147     SWIG_check_num_args("lldb::SBValueList::__str__",1,1)
76148     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValueList::__str__",1,"lldb::SBValueList *");
76149 
76150     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValueList,0))){
76151       SWIG_fail_ptr("SBValueList___tostring",1,SWIGTYPE_p_lldb__SBValueList);
76152     }
76153 
76154     result = lldb_SBValueList___str__(arg1);
76155     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
76156     return SWIG_arg;
76157 
76158     fail: SWIGUNUSED;
76159   }
76160   lua_error(L);
76161   return 0;
76162 }
76163 
76164 
swig_delete_SBValueList(void * obj)76165 static void swig_delete_SBValueList(void *obj) {
76166 lldb::SBValueList *arg1 = (lldb::SBValueList *) obj;
76167 delete arg1;
76168 }
_proxy__wrap_new_SBValueList(lua_State * L)76169 static int _proxy__wrap_new_SBValueList(lua_State *L) {
76170     assert(lua_istable(L,1));
76171     lua_pushcfunction(L,_wrap_new_SBValueList);
76172     assert(!lua_isnil(L,-1));
76173     lua_replace(L,1); /* replace our table with real constructor */
76174     lua_call(L,lua_gettop(L)-1,1);
76175     return 1;
76176 }
76177 static swig_lua_attribute swig_SBValueList_attributes[] = {
76178     {0,0,0}
76179 };
76180 static swig_lua_method swig_SBValueList_methods[]= {
76181     { "IsValid", _wrap_SBValueList_IsValid},
76182     { "Clear", _wrap_SBValueList_Clear},
76183     { "Append", _wrap_SBValueList_Append},
76184     { "GetSize", _wrap_SBValueList_GetSize},
76185     { "GetValueAtIndex", _wrap_SBValueList_GetValueAtIndex},
76186     { "GetFirstValueByName", _wrap_SBValueList_GetFirstValueByName},
76187     { "FindValueObjectByUID", _wrap_SBValueList_FindValueObjectByUID},
76188     { "GetError", _wrap_SBValueList_GetError},
76189     { "__tostring", _wrap_SBValueList___tostring},
76190     {0,0}
76191 };
76192 static swig_lua_method swig_SBValueList_meta[] = {
76193     { "__tostring", _wrap_SBValueList___tostring},
76194     {0,0}
76195 };
76196 
76197 static swig_lua_attribute swig_SBValueList_Sf_SwigStatic_attributes[] = {
76198     {0,0,0}
76199 };
76200 static swig_lua_const_info swig_SBValueList_Sf_SwigStatic_constants[]= {
76201     {0,0,0,0,0,0}
76202 };
76203 static swig_lua_method swig_SBValueList_Sf_SwigStatic_methods[]= {
76204     {0,0}
76205 };
76206 static swig_lua_class* swig_SBValueList_Sf_SwigStatic_classes[]= {
76207     0
76208 };
76209 
76210 static swig_lua_namespace swig_SBValueList_Sf_SwigStatic = {
76211     "SBValueList",
76212     swig_SBValueList_Sf_SwigStatic_methods,
76213     swig_SBValueList_Sf_SwigStatic_attributes,
76214     swig_SBValueList_Sf_SwigStatic_constants,
76215     swig_SBValueList_Sf_SwigStatic_classes,
76216     0
76217 };
76218 static swig_lua_class *swig_SBValueList_bases[] = {0};
76219 static const char *swig_SBValueList_base_names[] = {0};
76220 static swig_lua_class _wrap_class_SBValueList = { "SBValueList", "SBValueList", &SWIGTYPE_p_lldb__SBValueList,_proxy__wrap_new_SBValueList, swig_delete_SBValueList, swig_SBValueList_methods, swig_SBValueList_attributes, &swig_SBValueList_Sf_SwigStatic, swig_SBValueList_meta, swig_SBValueList_bases, swig_SBValueList_base_names };
76221 
_wrap_new_SBVariablesOptions__SWIG_0(lua_State * L)76222 static int _wrap_new_SBVariablesOptions__SWIG_0(lua_State* L) {
76223   {
76224     int SWIG_arg = 0;
76225     lldb::SBVariablesOptions *result = 0 ;
76226 
76227     SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",0,0)
76228     result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions();
76229     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++;
76230     return SWIG_arg;
76231 
76232     fail: SWIGUNUSED;
76233   }
76234   lua_error(L);
76235   return 0;
76236 }
76237 
76238 
_wrap_new_SBVariablesOptions__SWIG_1(lua_State * L)76239 static int _wrap_new_SBVariablesOptions__SWIG_1(lua_State* L) {
76240   {
76241     int SWIG_arg = 0;
76242     lldb::SBVariablesOptions *arg1 = 0 ;
76243     lldb::SBVariablesOptions *result = 0 ;
76244 
76245     SWIG_check_num_args("lldb::SBVariablesOptions::SBVariablesOptions",1,1)
76246     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SBVariablesOptions",1,"lldb::SBVariablesOptions const &");
76247 
76248     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76249       SWIG_fail_ptr("new_SBVariablesOptions",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76250     }
76251 
76252     result = (lldb::SBVariablesOptions *)new lldb::SBVariablesOptions((lldb::SBVariablesOptions const &)*arg1);
76253     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBVariablesOptions,1); SWIG_arg++;
76254     return SWIG_arg;
76255 
76256     fail: SWIGUNUSED;
76257   }
76258   lua_error(L);
76259   return 0;
76260 }
76261 
76262 
_wrap_new_SBVariablesOptions(lua_State * L)76263 static int _wrap_new_SBVariablesOptions(lua_State* L) {
76264   int argc;
76265   int argv[2]={
76266     1,2
76267   };
76268 
76269   argc = lua_gettop(L);
76270   if (argc == 0) {
76271     return _wrap_new_SBVariablesOptions__SWIG_0(L);
76272   }
76273   if (argc == 1) {
76274     int _v = 0;
76275     {
76276       void *ptr;
76277       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBVariablesOptions, SWIG_POINTER_NO_NULL)) {
76278         _v = 0;
76279       } else {
76280         _v = 1;
76281       }
76282     }
76283     if (_v) {
76284       return _wrap_new_SBVariablesOptions__SWIG_1(L);
76285     }
76286   }
76287 
76288   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBVariablesOptions'\n"
76289     "  Possible C/C++ prototypes are:\n"
76290     "    lldb::SBVariablesOptions::SBVariablesOptions()\n"
76291     "    lldb::SBVariablesOptions::SBVariablesOptions(lldb::SBVariablesOptions const &)\n");
76292   lua_error(L);return 0;
76293 }
76294 
76295 
_wrap_SBVariablesOptions_IsValid(lua_State * L)76296 static int _wrap_SBVariablesOptions_IsValid(lua_State* L) {
76297   {
76298     int SWIG_arg = 0;
76299     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76300     bool result;
76301 
76302     SWIG_check_num_args("lldb::SBVariablesOptions::IsValid",1,1)
76303     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::IsValid",1,"lldb::SBVariablesOptions const *");
76304 
76305     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76306       SWIG_fail_ptr("SBVariablesOptions_IsValid",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76307     }
76308 
76309     result = (bool)((lldb::SBVariablesOptions const *)arg1)->IsValid();
76310     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76311     return SWIG_arg;
76312 
76313     fail: SWIGUNUSED;
76314   }
76315   lua_error(L);
76316   return 0;
76317 }
76318 
76319 
_wrap_SBVariablesOptions_GetIncludeArguments(lua_State * L)76320 static int _wrap_SBVariablesOptions_GetIncludeArguments(lua_State* L) {
76321   {
76322     int SWIG_arg = 0;
76323     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76324     bool result;
76325 
76326     SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeArguments",1,1)
76327     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeArguments",1,"lldb::SBVariablesOptions const *");
76328 
76329     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76330       SWIG_fail_ptr("SBVariablesOptions_GetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76331     }
76332 
76333     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeArguments();
76334     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76335     return SWIG_arg;
76336 
76337     fail: SWIGUNUSED;
76338   }
76339   lua_error(L);
76340   return 0;
76341 }
76342 
76343 
_wrap_SBVariablesOptions_SetIncludeArguments(lua_State * L)76344 static int _wrap_SBVariablesOptions_SetIncludeArguments(lua_State* L) {
76345   {
76346     int SWIG_arg = 0;
76347     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76348     bool arg2 ;
76349 
76350     SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeArguments",2,2)
76351     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",1,"lldb::SBVariablesOptions *");
76352     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeArguments",2,"bool");
76353 
76354     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76355       SWIG_fail_ptr("SBVariablesOptions_SetIncludeArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76356     }
76357 
76358     arg2 = (lua_toboolean(L, 2)!=0);
76359     (arg1)->SetIncludeArguments(arg2);
76360 
76361     return SWIG_arg;
76362 
76363     fail: SWIGUNUSED;
76364   }
76365   lua_error(L);
76366   return 0;
76367 }
76368 
76369 
_wrap_SBVariablesOptions_GetIncludeRecognizedArguments(lua_State * L)76370 static int _wrap_SBVariablesOptions_GetIncludeRecognizedArguments(lua_State* L) {
76371   {
76372     int SWIG_arg = 0;
76373     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76374     lldb::SBTarget *arg2 = 0 ;
76375     bool result;
76376 
76377     SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,2)
76378     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions const *");
76379     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRecognizedArguments",2,"lldb::SBTarget const &");
76380 
76381     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76382       SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76383     }
76384 
76385 
76386     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBTarget,0))){
76387       SWIG_fail_ptr("SBVariablesOptions_GetIncludeRecognizedArguments",2,SWIGTYPE_p_lldb__SBTarget);
76388     }
76389 
76390     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRecognizedArguments((lldb::SBTarget const &)*arg2);
76391     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76392     return SWIG_arg;
76393 
76394     fail: SWIGUNUSED;
76395   }
76396   lua_error(L);
76397   return 0;
76398 }
76399 
76400 
_wrap_SBVariablesOptions_SetIncludeRecognizedArguments(lua_State * L)76401 static int _wrap_SBVariablesOptions_SetIncludeRecognizedArguments(lua_State* L) {
76402   {
76403     int SWIG_arg = 0;
76404     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76405     bool arg2 ;
76406 
76407     SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,2)
76408     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",1,"lldb::SBVariablesOptions *");
76409     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRecognizedArguments",2,"bool");
76410 
76411     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76412       SWIG_fail_ptr("SBVariablesOptions_SetIncludeRecognizedArguments",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76413     }
76414 
76415     arg2 = (lua_toboolean(L, 2)!=0);
76416     (arg1)->SetIncludeRecognizedArguments(arg2);
76417 
76418     return SWIG_arg;
76419 
76420     fail: SWIGUNUSED;
76421   }
76422   lua_error(L);
76423   return 0;
76424 }
76425 
76426 
_wrap_SBVariablesOptions_GetIncludeLocals(lua_State * L)76427 static int _wrap_SBVariablesOptions_GetIncludeLocals(lua_State* L) {
76428   {
76429     int SWIG_arg = 0;
76430     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76431     bool result;
76432 
76433     SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeLocals",1,1)
76434     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeLocals",1,"lldb::SBVariablesOptions const *");
76435 
76436     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76437       SWIG_fail_ptr("SBVariablesOptions_GetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76438     }
76439 
76440     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeLocals();
76441     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76442     return SWIG_arg;
76443 
76444     fail: SWIGUNUSED;
76445   }
76446   lua_error(L);
76447   return 0;
76448 }
76449 
76450 
_wrap_SBVariablesOptions_SetIncludeLocals(lua_State * L)76451 static int _wrap_SBVariablesOptions_SetIncludeLocals(lua_State* L) {
76452   {
76453     int SWIG_arg = 0;
76454     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76455     bool arg2 ;
76456 
76457     SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeLocals",2,2)
76458     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",1,"lldb::SBVariablesOptions *");
76459     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeLocals",2,"bool");
76460 
76461     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76462       SWIG_fail_ptr("SBVariablesOptions_SetIncludeLocals",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76463     }
76464 
76465     arg2 = (lua_toboolean(L, 2)!=0);
76466     (arg1)->SetIncludeLocals(arg2);
76467 
76468     return SWIG_arg;
76469 
76470     fail: SWIGUNUSED;
76471   }
76472   lua_error(L);
76473   return 0;
76474 }
76475 
76476 
_wrap_SBVariablesOptions_GetIncludeStatics(lua_State * L)76477 static int _wrap_SBVariablesOptions_GetIncludeStatics(lua_State* L) {
76478   {
76479     int SWIG_arg = 0;
76480     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76481     bool result;
76482 
76483     SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeStatics",1,1)
76484     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeStatics",1,"lldb::SBVariablesOptions const *");
76485 
76486     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76487       SWIG_fail_ptr("SBVariablesOptions_GetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76488     }
76489 
76490     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeStatics();
76491     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76492     return SWIG_arg;
76493 
76494     fail: SWIGUNUSED;
76495   }
76496   lua_error(L);
76497   return 0;
76498 }
76499 
76500 
_wrap_SBVariablesOptions_SetIncludeStatics(lua_State * L)76501 static int _wrap_SBVariablesOptions_SetIncludeStatics(lua_State* L) {
76502   {
76503     int SWIG_arg = 0;
76504     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76505     bool arg2 ;
76506 
76507     SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeStatics",2,2)
76508     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",1,"lldb::SBVariablesOptions *");
76509     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeStatics",2,"bool");
76510 
76511     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76512       SWIG_fail_ptr("SBVariablesOptions_SetIncludeStatics",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76513     }
76514 
76515     arg2 = (lua_toboolean(L, 2)!=0);
76516     (arg1)->SetIncludeStatics(arg2);
76517 
76518     return SWIG_arg;
76519 
76520     fail: SWIGUNUSED;
76521   }
76522   lua_error(L);
76523   return 0;
76524 }
76525 
76526 
_wrap_SBVariablesOptions_GetInScopeOnly(lua_State * L)76527 static int _wrap_SBVariablesOptions_GetInScopeOnly(lua_State* L) {
76528   {
76529     int SWIG_arg = 0;
76530     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76531     bool result;
76532 
76533     SWIG_check_num_args("lldb::SBVariablesOptions::GetInScopeOnly",1,1)
76534     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetInScopeOnly",1,"lldb::SBVariablesOptions const *");
76535 
76536     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76537       SWIG_fail_ptr("SBVariablesOptions_GetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76538     }
76539 
76540     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetInScopeOnly();
76541     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76542     return SWIG_arg;
76543 
76544     fail: SWIGUNUSED;
76545   }
76546   lua_error(L);
76547   return 0;
76548 }
76549 
76550 
_wrap_SBVariablesOptions_SetInScopeOnly(lua_State * L)76551 static int _wrap_SBVariablesOptions_SetInScopeOnly(lua_State* L) {
76552   {
76553     int SWIG_arg = 0;
76554     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76555     bool arg2 ;
76556 
76557     SWIG_check_num_args("lldb::SBVariablesOptions::SetInScopeOnly",2,2)
76558     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",1,"lldb::SBVariablesOptions *");
76559     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetInScopeOnly",2,"bool");
76560 
76561     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76562       SWIG_fail_ptr("SBVariablesOptions_SetInScopeOnly",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76563     }
76564 
76565     arg2 = (lua_toboolean(L, 2)!=0);
76566     (arg1)->SetInScopeOnly(arg2);
76567 
76568     return SWIG_arg;
76569 
76570     fail: SWIGUNUSED;
76571   }
76572   lua_error(L);
76573   return 0;
76574 }
76575 
76576 
_wrap_SBVariablesOptions_GetIncludeRuntimeSupportValues(lua_State * L)76577 static int _wrap_SBVariablesOptions_GetIncludeRuntimeSupportValues(lua_State* L) {
76578   {
76579     int SWIG_arg = 0;
76580     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76581     bool result;
76582 
76583     SWIG_check_num_args("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,1)
76584     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions const *");
76585 
76586     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76587       SWIG_fail_ptr("SBVariablesOptions_GetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76588     }
76589 
76590     result = (bool)((lldb::SBVariablesOptions const *)arg1)->GetIncludeRuntimeSupportValues();
76591     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76592     return SWIG_arg;
76593 
76594     fail: SWIGUNUSED;
76595   }
76596   lua_error(L);
76597   return 0;
76598 }
76599 
76600 
_wrap_SBVariablesOptions_SetIncludeRuntimeSupportValues(lua_State * L)76601 static int _wrap_SBVariablesOptions_SetIncludeRuntimeSupportValues(lua_State* L) {
76602   {
76603     int SWIG_arg = 0;
76604     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76605     bool arg2 ;
76606 
76607     SWIG_check_num_args("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,2)
76608     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",1,"lldb::SBVariablesOptions *");
76609     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues",2,"bool");
76610 
76611     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76612       SWIG_fail_ptr("SBVariablesOptions_SetIncludeRuntimeSupportValues",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76613     }
76614 
76615     arg2 = (lua_toboolean(L, 2)!=0);
76616     (arg1)->SetIncludeRuntimeSupportValues(arg2);
76617 
76618     return SWIG_arg;
76619 
76620     fail: SWIGUNUSED;
76621   }
76622   lua_error(L);
76623   return 0;
76624 }
76625 
76626 
_wrap_SBVariablesOptions_GetUseDynamic(lua_State * L)76627 static int _wrap_SBVariablesOptions_GetUseDynamic(lua_State* L) {
76628   {
76629     int SWIG_arg = 0;
76630     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76631     lldb::DynamicValueType result;
76632 
76633     SWIG_check_num_args("lldb::SBVariablesOptions::GetUseDynamic",1,1)
76634     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::GetUseDynamic",1,"lldb::SBVariablesOptions const *");
76635 
76636     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76637       SWIG_fail_ptr("SBVariablesOptions_GetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76638     }
76639 
76640     result = (lldb::DynamicValueType)((lldb::SBVariablesOptions const *)arg1)->GetUseDynamic();
76641     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76642     return SWIG_arg;
76643 
76644     fail: SWIGUNUSED;
76645   }
76646   lua_error(L);
76647   return 0;
76648 }
76649 
76650 
_wrap_SBVariablesOptions_SetUseDynamic(lua_State * L)76651 static int _wrap_SBVariablesOptions_SetUseDynamic(lua_State* L) {
76652   {
76653     int SWIG_arg = 0;
76654     lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) 0 ;
76655     lldb::DynamicValueType arg2 ;
76656 
76657     SWIG_check_num_args("lldb::SBVariablesOptions::SetUseDynamic",2,2)
76658     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",1,"lldb::SBVariablesOptions *");
76659     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBVariablesOptions::SetUseDynamic",2,"lldb::DynamicValueType");
76660 
76661     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBVariablesOptions,0))){
76662       SWIG_fail_ptr("SBVariablesOptions_SetUseDynamic",1,SWIGTYPE_p_lldb__SBVariablesOptions);
76663     }
76664 
76665     arg2 = (lldb::DynamicValueType)lua_tointeger(L, 2);
76666     (arg1)->SetUseDynamic(arg2);
76667 
76668     return SWIG_arg;
76669 
76670     fail: SWIGUNUSED;
76671   }
76672   lua_error(L);
76673   return 0;
76674 }
76675 
76676 
swig_delete_SBVariablesOptions(void * obj)76677 static void swig_delete_SBVariablesOptions(void *obj) {
76678 lldb::SBVariablesOptions *arg1 = (lldb::SBVariablesOptions *) obj;
76679 delete arg1;
76680 }
_proxy__wrap_new_SBVariablesOptions(lua_State * L)76681 static int _proxy__wrap_new_SBVariablesOptions(lua_State *L) {
76682     assert(lua_istable(L,1));
76683     lua_pushcfunction(L,_wrap_new_SBVariablesOptions);
76684     assert(!lua_isnil(L,-1));
76685     lua_replace(L,1); /* replace our table with real constructor */
76686     lua_call(L,lua_gettop(L)-1,1);
76687     return 1;
76688 }
76689 static swig_lua_attribute swig_SBVariablesOptions_attributes[] = {
76690     {0,0,0}
76691 };
76692 static swig_lua_method swig_SBVariablesOptions_methods[]= {
76693     { "IsValid", _wrap_SBVariablesOptions_IsValid},
76694     { "GetIncludeArguments", _wrap_SBVariablesOptions_GetIncludeArguments},
76695     { "SetIncludeArguments", _wrap_SBVariablesOptions_SetIncludeArguments},
76696     { "GetIncludeRecognizedArguments", _wrap_SBVariablesOptions_GetIncludeRecognizedArguments},
76697     { "SetIncludeRecognizedArguments", _wrap_SBVariablesOptions_SetIncludeRecognizedArguments},
76698     { "GetIncludeLocals", _wrap_SBVariablesOptions_GetIncludeLocals},
76699     { "SetIncludeLocals", _wrap_SBVariablesOptions_SetIncludeLocals},
76700     { "GetIncludeStatics", _wrap_SBVariablesOptions_GetIncludeStatics},
76701     { "SetIncludeStatics", _wrap_SBVariablesOptions_SetIncludeStatics},
76702     { "GetInScopeOnly", _wrap_SBVariablesOptions_GetInScopeOnly},
76703     { "SetInScopeOnly", _wrap_SBVariablesOptions_SetInScopeOnly},
76704     { "GetIncludeRuntimeSupportValues", _wrap_SBVariablesOptions_GetIncludeRuntimeSupportValues},
76705     { "SetIncludeRuntimeSupportValues", _wrap_SBVariablesOptions_SetIncludeRuntimeSupportValues},
76706     { "GetUseDynamic", _wrap_SBVariablesOptions_GetUseDynamic},
76707     { "SetUseDynamic", _wrap_SBVariablesOptions_SetUseDynamic},
76708     {0,0}
76709 };
76710 static swig_lua_method swig_SBVariablesOptions_meta[] = {
76711     {0,0}
76712 };
76713 
76714 static swig_lua_attribute swig_SBVariablesOptions_Sf_SwigStatic_attributes[] = {
76715     {0,0,0}
76716 };
76717 static swig_lua_const_info swig_SBVariablesOptions_Sf_SwigStatic_constants[]= {
76718     {0,0,0,0,0,0}
76719 };
76720 static swig_lua_method swig_SBVariablesOptions_Sf_SwigStatic_methods[]= {
76721     {0,0}
76722 };
76723 static swig_lua_class* swig_SBVariablesOptions_Sf_SwigStatic_classes[]= {
76724     0
76725 };
76726 
76727 static swig_lua_namespace swig_SBVariablesOptions_Sf_SwigStatic = {
76728     "SBVariablesOptions",
76729     swig_SBVariablesOptions_Sf_SwigStatic_methods,
76730     swig_SBVariablesOptions_Sf_SwigStatic_attributes,
76731     swig_SBVariablesOptions_Sf_SwigStatic_constants,
76732     swig_SBVariablesOptions_Sf_SwigStatic_classes,
76733     0
76734 };
76735 static swig_lua_class *swig_SBVariablesOptions_bases[] = {0};
76736 static const char *swig_SBVariablesOptions_base_names[] = {0};
76737 static swig_lua_class _wrap_class_SBVariablesOptions = { "SBVariablesOptions", "SBVariablesOptions", &SWIGTYPE_p_lldb__SBVariablesOptions,_proxy__wrap_new_SBVariablesOptions, swig_delete_SBVariablesOptions, swig_SBVariablesOptions_methods, swig_SBVariablesOptions_attributes, &swig_SBVariablesOptions_Sf_SwigStatic, swig_SBVariablesOptions_meta, swig_SBVariablesOptions_bases, swig_SBVariablesOptions_base_names };
76738 
_wrap_new_SBWatchpoint__SWIG_0(lua_State * L)76739 static int _wrap_new_SBWatchpoint__SWIG_0(lua_State* L) {
76740   {
76741     int SWIG_arg = 0;
76742     lldb::SBWatchpoint *result = 0 ;
76743 
76744     SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",0,0)
76745     result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint();
76746     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
76747     return SWIG_arg;
76748 
76749     fail: SWIGUNUSED;
76750   }
76751   lua_error(L);
76752   return 0;
76753 }
76754 
76755 
_wrap_new_SBWatchpoint__SWIG_1(lua_State * L)76756 static int _wrap_new_SBWatchpoint__SWIG_1(lua_State* L) {
76757   {
76758     int SWIG_arg = 0;
76759     lldb::SBWatchpoint *arg1 = 0 ;
76760     lldb::SBWatchpoint *result = 0 ;
76761 
76762     SWIG_check_num_args("lldb::SBWatchpoint::SBWatchpoint",1,1)
76763     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SBWatchpoint",1,"lldb::SBWatchpoint const &");
76764 
76765     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76766       SWIG_fail_ptr("new_SBWatchpoint",1,SWIGTYPE_p_lldb__SBWatchpoint);
76767     }
76768 
76769     result = (lldb::SBWatchpoint *)new lldb::SBWatchpoint((lldb::SBWatchpoint const &)*arg1);
76770     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
76771     return SWIG_arg;
76772 
76773     fail: SWIGUNUSED;
76774   }
76775   lua_error(L);
76776   return 0;
76777 }
76778 
76779 
_wrap_new_SBWatchpoint(lua_State * L)76780 static int _wrap_new_SBWatchpoint(lua_State* L) {
76781   int argc;
76782   int argv[2]={
76783     1,2
76784   };
76785 
76786   argc = lua_gettop(L);
76787   if (argc == 0) {
76788     return _wrap_new_SBWatchpoint__SWIG_0(L);
76789   }
76790   if (argc == 1) {
76791     int _v = 0;
76792     {
76793       void *ptr;
76794       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBWatchpoint, SWIG_POINTER_NO_NULL)) {
76795         _v = 0;
76796       } else {
76797         _v = 1;
76798       }
76799     }
76800     if (_v) {
76801       return _wrap_new_SBWatchpoint__SWIG_1(L);
76802     }
76803   }
76804 
76805   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBWatchpoint'\n"
76806     "  Possible C/C++ prototypes are:\n"
76807     "    lldb::SBWatchpoint::SBWatchpoint()\n"
76808     "    lldb::SBWatchpoint::SBWatchpoint(lldb::SBWatchpoint const &)\n");
76809   lua_error(L);return 0;
76810 }
76811 
76812 
_wrap_SBWatchpoint___eq(lua_State * L)76813 static int _wrap_SBWatchpoint___eq(lua_State* L) {
76814   {
76815     int SWIG_arg = 0;
76816     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76817     lldb::SBWatchpoint *arg2 = 0 ;
76818     bool result;
76819 
76820     SWIG_check_num_args("lldb::SBWatchpoint::operator ==",2,2)
76821     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",1,"lldb::SBWatchpoint const *");
76822     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::operator ==",2,"lldb::SBWatchpoint const &");
76823 
76824     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76825       SWIG_fail_ptr("SBWatchpoint___eq",1,SWIGTYPE_p_lldb__SBWatchpoint);
76826     }
76827 
76828 
76829     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76830       SWIG_fail_ptr("SBWatchpoint___eq",2,SWIGTYPE_p_lldb__SBWatchpoint);
76831     }
76832 
76833     result = (bool)((lldb::SBWatchpoint const *)arg1)->operator ==((lldb::SBWatchpoint const &)*arg2);
76834     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76835     return SWIG_arg;
76836 
76837     fail: SWIGUNUSED;
76838   }
76839   lua_error(L);
76840   return 0;
76841 }
76842 
76843 
_wrap_SBWatchpoint_IsValid(lua_State * L)76844 static int _wrap_SBWatchpoint_IsValid(lua_State* L) {
76845   {
76846     int SWIG_arg = 0;
76847     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76848     bool result;
76849 
76850     SWIG_check_num_args("lldb::SBWatchpoint::IsValid",1,1)
76851     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsValid",1,"lldb::SBWatchpoint const *");
76852 
76853     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76854       SWIG_fail_ptr("SBWatchpoint_IsValid",1,SWIGTYPE_p_lldb__SBWatchpoint);
76855     }
76856 
76857     result = (bool)((lldb::SBWatchpoint const *)arg1)->IsValid();
76858     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
76859     return SWIG_arg;
76860 
76861     fail: SWIGUNUSED;
76862   }
76863   lua_error(L);
76864   return 0;
76865 }
76866 
76867 
_wrap_SBWatchpoint_GetError(lua_State * L)76868 static int _wrap_SBWatchpoint_GetError(lua_State* L) {
76869   {
76870     int SWIG_arg = 0;
76871     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76872     lldb::SBError result;
76873 
76874     SWIG_check_num_args("lldb::SBWatchpoint::GetError",1,1)
76875     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetError",1,"lldb::SBWatchpoint *");
76876 
76877     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76878       SWIG_fail_ptr("SBWatchpoint_GetError",1,SWIGTYPE_p_lldb__SBWatchpoint);
76879     }
76880 
76881     result = (arg1)->GetError();
76882     {
76883       lldb::SBError * resultptr = new lldb::SBError(result);
76884       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
76885     }
76886     return SWIG_arg;
76887 
76888     fail: SWIGUNUSED;
76889   }
76890   lua_error(L);
76891   return 0;
76892 }
76893 
76894 
_wrap_SBWatchpoint_GetID(lua_State * L)76895 static int _wrap_SBWatchpoint_GetID(lua_State* L) {
76896   {
76897     int SWIG_arg = 0;
76898     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76899     lldb::watch_id_t result;
76900 
76901     SWIG_check_num_args("lldb::SBWatchpoint::GetID",1,1)
76902     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetID",1,"lldb::SBWatchpoint *");
76903 
76904     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76905       SWIG_fail_ptr("SBWatchpoint_GetID",1,SWIGTYPE_p_lldb__SBWatchpoint);
76906     }
76907 
76908     result = (lldb::watch_id_t)(arg1)->GetID();
76909     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76910     return SWIG_arg;
76911 
76912     fail: SWIGUNUSED;
76913   }
76914   lua_error(L);
76915   return 0;
76916 }
76917 
76918 
_wrap_SBWatchpoint_GetHardwareIndex(lua_State * L)76919 static int _wrap_SBWatchpoint_GetHardwareIndex(lua_State* L) {
76920   {
76921     int SWIG_arg = 0;
76922     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76923     int32_t result;
76924 
76925     SWIG_check_num_args("lldb::SBWatchpoint::GetHardwareIndex",1,1)
76926     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHardwareIndex",1,"lldb::SBWatchpoint *");
76927 
76928     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76929       SWIG_fail_ptr("SBWatchpoint_GetHardwareIndex",1,SWIGTYPE_p_lldb__SBWatchpoint);
76930     }
76931 
76932     result = (int32_t)(arg1)->GetHardwareIndex();
76933     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76934     return SWIG_arg;
76935 
76936     fail: SWIGUNUSED;
76937   }
76938   lua_error(L);
76939   return 0;
76940 }
76941 
76942 
_wrap_SBWatchpoint_GetWatchAddress(lua_State * L)76943 static int _wrap_SBWatchpoint_GetWatchAddress(lua_State* L) {
76944   {
76945     int SWIG_arg = 0;
76946     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76947     lldb::addr_t result;
76948 
76949     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchAddress",1,1)
76950     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchAddress",1,"lldb::SBWatchpoint *");
76951 
76952     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76953       SWIG_fail_ptr("SBWatchpoint_GetWatchAddress",1,SWIGTYPE_p_lldb__SBWatchpoint);
76954     }
76955 
76956     result = (lldb::addr_t)(arg1)->GetWatchAddress();
76957     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76958     return SWIG_arg;
76959 
76960     fail: SWIGUNUSED;
76961   }
76962   lua_error(L);
76963   return 0;
76964 }
76965 
76966 
_wrap_SBWatchpoint_GetWatchSize(lua_State * L)76967 static int _wrap_SBWatchpoint_GetWatchSize(lua_State* L) {
76968   {
76969     int SWIG_arg = 0;
76970     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76971     size_t result;
76972 
76973     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchSize",1,1)
76974     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchSize",1,"lldb::SBWatchpoint *");
76975 
76976     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
76977       SWIG_fail_ptr("SBWatchpoint_GetWatchSize",1,SWIGTYPE_p_lldb__SBWatchpoint);
76978     }
76979 
76980     result = (arg1)->GetWatchSize();
76981     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
76982     return SWIG_arg;
76983 
76984     fail: SWIGUNUSED;
76985   }
76986   lua_error(L);
76987   return 0;
76988 }
76989 
76990 
_wrap_SBWatchpoint_SetEnabled(lua_State * L)76991 static int _wrap_SBWatchpoint_SetEnabled(lua_State* L) {
76992   {
76993     int SWIG_arg = 0;
76994     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
76995     bool arg2 ;
76996 
76997     SWIG_check_num_args("lldb::SBWatchpoint::SetEnabled",2,2)
76998     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",1,"lldb::SBWatchpoint *");
76999     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetEnabled",2,"bool");
77000 
77001     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77002       SWIG_fail_ptr("SBWatchpoint_SetEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint);
77003     }
77004 
77005     arg2 = (lua_toboolean(L, 2)!=0);
77006     (arg1)->SetEnabled(arg2);
77007 
77008     return SWIG_arg;
77009 
77010     fail: SWIGUNUSED;
77011   }
77012   lua_error(L);
77013   return 0;
77014 }
77015 
77016 
_wrap_SBWatchpoint_IsEnabled(lua_State * L)77017 static int _wrap_SBWatchpoint_IsEnabled(lua_State* L) {
77018   {
77019     int SWIG_arg = 0;
77020     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77021     bool result;
77022 
77023     SWIG_check_num_args("lldb::SBWatchpoint::IsEnabled",1,1)
77024     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsEnabled",1,"lldb::SBWatchpoint *");
77025 
77026     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77027       SWIG_fail_ptr("SBWatchpoint_IsEnabled",1,SWIGTYPE_p_lldb__SBWatchpoint);
77028     }
77029 
77030     result = (bool)(arg1)->IsEnabled();
77031     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77032     return SWIG_arg;
77033 
77034     fail: SWIGUNUSED;
77035   }
77036   lua_error(L);
77037   return 0;
77038 }
77039 
77040 
_wrap_SBWatchpoint_GetHitCount(lua_State * L)77041 static int _wrap_SBWatchpoint_GetHitCount(lua_State* L) {
77042   {
77043     int SWIG_arg = 0;
77044     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77045     uint32_t result;
77046 
77047     SWIG_check_num_args("lldb::SBWatchpoint::GetHitCount",1,1)
77048     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetHitCount",1,"lldb::SBWatchpoint *");
77049 
77050     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77051       SWIG_fail_ptr("SBWatchpoint_GetHitCount",1,SWIGTYPE_p_lldb__SBWatchpoint);
77052     }
77053 
77054     result = (uint32_t)(arg1)->GetHitCount();
77055     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
77056     return SWIG_arg;
77057 
77058     fail: SWIGUNUSED;
77059   }
77060   lua_error(L);
77061   return 0;
77062 }
77063 
77064 
_wrap_SBWatchpoint_GetIgnoreCount(lua_State * L)77065 static int _wrap_SBWatchpoint_GetIgnoreCount(lua_State* L) {
77066   {
77067     int SWIG_arg = 0;
77068     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77069     uint32_t result;
77070 
77071     SWIG_check_num_args("lldb::SBWatchpoint::GetIgnoreCount",1,1)
77072     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetIgnoreCount",1,"lldb::SBWatchpoint *");
77073 
77074     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77075       SWIG_fail_ptr("SBWatchpoint_GetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint);
77076     }
77077 
77078     result = (uint32_t)(arg1)->GetIgnoreCount();
77079     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
77080     return SWIG_arg;
77081 
77082     fail: SWIGUNUSED;
77083   }
77084   lua_error(L);
77085   return 0;
77086 }
77087 
77088 
_wrap_SBWatchpoint_SetIgnoreCount(lua_State * L)77089 static int _wrap_SBWatchpoint_SetIgnoreCount(lua_State* L) {
77090   {
77091     int SWIG_arg = 0;
77092     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77093     uint32_t arg2 ;
77094 
77095     SWIG_check_num_args("lldb::SBWatchpoint::SetIgnoreCount",2,2)
77096     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",1,"lldb::SBWatchpoint *");
77097     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetIgnoreCount",2,"uint32_t");
77098 
77099     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77100       SWIG_fail_ptr("SBWatchpoint_SetIgnoreCount",1,SWIGTYPE_p_lldb__SBWatchpoint);
77101     }
77102 
77103     arg2 = (uint32_t)lua_tointeger(L, 2);
77104     (arg1)->SetIgnoreCount(arg2);
77105 
77106     return SWIG_arg;
77107 
77108     fail: SWIGUNUSED;
77109   }
77110   lua_error(L);
77111   return 0;
77112 }
77113 
77114 
_wrap_SBWatchpoint_GetCondition(lua_State * L)77115 static int _wrap_SBWatchpoint_GetCondition(lua_State* L) {
77116   {
77117     int SWIG_arg = 0;
77118     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77119     char *result = 0 ;
77120 
77121     SWIG_check_num_args("lldb::SBWatchpoint::GetCondition",1,1)
77122     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetCondition",1,"lldb::SBWatchpoint *");
77123 
77124     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77125       SWIG_fail_ptr("SBWatchpoint_GetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint);
77126     }
77127 
77128     result = (char *)(arg1)->GetCondition();
77129     lua_pushstring(L,(const char *)result); SWIG_arg++;
77130     return SWIG_arg;
77131 
77132     fail: SWIGUNUSED;
77133   }
77134   lua_error(L);
77135   return 0;
77136 }
77137 
77138 
_wrap_SBWatchpoint_SetCondition(lua_State * L)77139 static int _wrap_SBWatchpoint_SetCondition(lua_State* L) {
77140   {
77141     int SWIG_arg = 0;
77142     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77143     char *arg2 = (char *) 0 ;
77144 
77145     SWIG_check_num_args("lldb::SBWatchpoint::SetCondition",2,2)
77146     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",1,"lldb::SBWatchpoint *");
77147     if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::SetCondition",2,"char const *");
77148 
77149     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77150       SWIG_fail_ptr("SBWatchpoint_SetCondition",1,SWIGTYPE_p_lldb__SBWatchpoint);
77151     }
77152 
77153     arg2 = (char *)lua_tostring(L, 2);
77154     (arg1)->SetCondition((char const *)arg2);
77155 
77156     return SWIG_arg;
77157 
77158     fail: SWIGUNUSED;
77159   }
77160   lua_error(L);
77161   return 0;
77162 }
77163 
77164 
_wrap_SBWatchpoint_GetDescription(lua_State * L)77165 static int _wrap_SBWatchpoint_GetDescription(lua_State* L) {
77166   {
77167     int SWIG_arg = 0;
77168     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77169     lldb::SBStream *arg2 = 0 ;
77170     lldb::DescriptionLevel arg3 ;
77171     bool result;
77172 
77173     SWIG_check_num_args("lldb::SBWatchpoint::GetDescription",3,3)
77174     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",1,"lldb::SBWatchpoint *");
77175     if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",2,"lldb::SBStream &");
77176     if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBWatchpoint::GetDescription",3,"lldb::DescriptionLevel");
77177 
77178     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77179       SWIG_fail_ptr("SBWatchpoint_GetDescription",1,SWIGTYPE_p_lldb__SBWatchpoint);
77180     }
77181 
77182 
77183     if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBStream,0))){
77184       SWIG_fail_ptr("SBWatchpoint_GetDescription",2,SWIGTYPE_p_lldb__SBStream);
77185     }
77186 
77187     arg3 = (lldb::DescriptionLevel)lua_tointeger(L, 3);
77188     result = (bool)(arg1)->GetDescription(*arg2,arg3);
77189     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77190     return SWIG_arg;
77191 
77192     fail: SWIGUNUSED;
77193   }
77194   lua_error(L);
77195   return 0;
77196 }
77197 
77198 
_wrap_SBWatchpoint_Clear(lua_State * L)77199 static int _wrap_SBWatchpoint_Clear(lua_State* L) {
77200   {
77201     int SWIG_arg = 0;
77202     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77203 
77204     SWIG_check_num_args("lldb::SBWatchpoint::Clear",1,1)
77205     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::Clear",1,"lldb::SBWatchpoint *");
77206 
77207     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77208       SWIG_fail_ptr("SBWatchpoint_Clear",1,SWIGTYPE_p_lldb__SBWatchpoint);
77209     }
77210 
77211     (arg1)->Clear();
77212 
77213     return SWIG_arg;
77214 
77215     fail: SWIGUNUSED;
77216   }
77217   lua_error(L);
77218   return 0;
77219 }
77220 
77221 
_wrap_SBWatchpoint_EventIsWatchpointEvent(lua_State * L)77222 static int _wrap_SBWatchpoint_EventIsWatchpointEvent(lua_State* L) {
77223   {
77224     int SWIG_arg = 0;
77225     lldb::SBEvent *arg1 = 0 ;
77226     bool result;
77227 
77228     SWIG_check_num_args("lldb::SBWatchpoint::EventIsWatchpointEvent",1,1)
77229     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::EventIsWatchpointEvent",1,"lldb::SBEvent const &");
77230 
77231     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
77232       SWIG_fail_ptr("SBWatchpoint_EventIsWatchpointEvent",1,SWIGTYPE_p_lldb__SBEvent);
77233     }
77234 
77235     result = (bool)lldb::SBWatchpoint::EventIsWatchpointEvent((lldb::SBEvent const &)*arg1);
77236     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77237     return SWIG_arg;
77238 
77239     fail: SWIGUNUSED;
77240   }
77241   lua_error(L);
77242   return 0;
77243 }
77244 
77245 
_wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent(lua_State * L)77246 static int _wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent(lua_State* L) {
77247   {
77248     int SWIG_arg = 0;
77249     lldb::SBEvent *arg1 = 0 ;
77250     lldb::WatchpointEventType result;
77251 
77252     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,1)
77253     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent",1,"lldb::SBEvent const &");
77254 
77255     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
77256       SWIG_fail_ptr("SBWatchpoint_GetWatchpointEventTypeFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
77257     }
77258 
77259     result = (lldb::WatchpointEventType)lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent((lldb::SBEvent const &)*arg1);
77260     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
77261     return SWIG_arg;
77262 
77263     fail: SWIGUNUSED;
77264   }
77265   lua_error(L);
77266   return 0;
77267 }
77268 
77269 
_wrap_SBWatchpoint_GetWatchpointFromEvent(lua_State * L)77270 static int _wrap_SBWatchpoint_GetWatchpointFromEvent(lua_State* L) {
77271   {
77272     int SWIG_arg = 0;
77273     lldb::SBEvent *arg1 = 0 ;
77274     lldb::SBWatchpoint result;
77275 
77276     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchpointFromEvent",1,1)
77277     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchpointFromEvent",1,"lldb::SBEvent const &");
77278 
77279     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBEvent,0))){
77280       SWIG_fail_ptr("SBWatchpoint_GetWatchpointFromEvent",1,SWIGTYPE_p_lldb__SBEvent);
77281     }
77282 
77283     result = lldb::SBWatchpoint::GetWatchpointFromEvent((lldb::SBEvent const &)*arg1);
77284     {
77285       lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result);
77286       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++;
77287     }
77288     return SWIG_arg;
77289 
77290     fail: SWIGUNUSED;
77291   }
77292   lua_error(L);
77293   return 0;
77294 }
77295 
77296 
_wrap_SBWatchpoint_GetType(lua_State * L)77297 static int _wrap_SBWatchpoint_GetType(lua_State* L) {
77298   {
77299     int SWIG_arg = 0;
77300     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77301     lldb::SBType result;
77302 
77303     SWIG_check_num_args("lldb::SBWatchpoint::GetType",1,1)
77304     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetType",1,"lldb::SBWatchpoint *");
77305 
77306     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77307       SWIG_fail_ptr("SBWatchpoint_GetType",1,SWIGTYPE_p_lldb__SBWatchpoint);
77308     }
77309 
77310     result = (arg1)->GetType();
77311     {
77312       lldb::SBType * resultptr = new lldb::SBType(result);
77313       SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++;
77314     }
77315     return SWIG_arg;
77316 
77317     fail: SWIGUNUSED;
77318   }
77319   lua_error(L);
77320   return 0;
77321 }
77322 
77323 
_wrap_SBWatchpoint_GetWatchValueKind(lua_State * L)77324 static int _wrap_SBWatchpoint_GetWatchValueKind(lua_State* L) {
77325   {
77326     int SWIG_arg = 0;
77327     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77328     lldb::WatchpointValueKind result;
77329 
77330     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchValueKind",1,1)
77331     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchValueKind",1,"lldb::SBWatchpoint *");
77332 
77333     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77334       SWIG_fail_ptr("SBWatchpoint_GetWatchValueKind",1,SWIGTYPE_p_lldb__SBWatchpoint);
77335     }
77336 
77337     result = (lldb::WatchpointValueKind)(arg1)->GetWatchValueKind();
77338     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
77339     return SWIG_arg;
77340 
77341     fail: SWIGUNUSED;
77342   }
77343   lua_error(L);
77344   return 0;
77345 }
77346 
77347 
_wrap_SBWatchpoint_GetWatchSpec(lua_State * L)77348 static int _wrap_SBWatchpoint_GetWatchSpec(lua_State* L) {
77349   {
77350     int SWIG_arg = 0;
77351     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77352     char *result = 0 ;
77353 
77354     SWIG_check_num_args("lldb::SBWatchpoint::GetWatchSpec",1,1)
77355     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::GetWatchSpec",1,"lldb::SBWatchpoint *");
77356 
77357     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77358       SWIG_fail_ptr("SBWatchpoint_GetWatchSpec",1,SWIGTYPE_p_lldb__SBWatchpoint);
77359     }
77360 
77361     result = (char *)(arg1)->GetWatchSpec();
77362     lua_pushstring(L,(const char *)result); SWIG_arg++;
77363     return SWIG_arg;
77364 
77365     fail: SWIGUNUSED;
77366   }
77367   lua_error(L);
77368   return 0;
77369 }
77370 
77371 
_wrap_SBWatchpoint_IsWatchingReads(lua_State * L)77372 static int _wrap_SBWatchpoint_IsWatchingReads(lua_State* L) {
77373   {
77374     int SWIG_arg = 0;
77375     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77376     bool result;
77377 
77378     SWIG_check_num_args("lldb::SBWatchpoint::IsWatchingReads",1,1)
77379     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsWatchingReads",1,"lldb::SBWatchpoint *");
77380 
77381     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77382       SWIG_fail_ptr("SBWatchpoint_IsWatchingReads",1,SWIGTYPE_p_lldb__SBWatchpoint);
77383     }
77384 
77385     result = (bool)(arg1)->IsWatchingReads();
77386     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77387     return SWIG_arg;
77388 
77389     fail: SWIGUNUSED;
77390   }
77391   lua_error(L);
77392   return 0;
77393 }
77394 
77395 
_wrap_SBWatchpoint_IsWatchingWrites(lua_State * L)77396 static int _wrap_SBWatchpoint_IsWatchingWrites(lua_State* L) {
77397   {
77398     int SWIG_arg = 0;
77399     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77400     bool result;
77401 
77402     SWIG_check_num_args("lldb::SBWatchpoint::IsWatchingWrites",1,1)
77403     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::IsWatchingWrites",1,"lldb::SBWatchpoint *");
77404 
77405     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77406       SWIG_fail_ptr("SBWatchpoint_IsWatchingWrites",1,SWIGTYPE_p_lldb__SBWatchpoint);
77407     }
77408 
77409     result = (bool)(arg1)->IsWatchingWrites();
77410     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77411     return SWIG_arg;
77412 
77413     fail: SWIGUNUSED;
77414   }
77415   lua_error(L);
77416   return 0;
77417 }
77418 
77419 
_wrap_SBWatchpoint___tostring(lua_State * L)77420 static int _wrap_SBWatchpoint___tostring(lua_State* L) {
77421   {
77422     int SWIG_arg = 0;
77423     lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) 0 ;
77424     std::string result;
77425 
77426     SWIG_check_num_args("lldb::SBWatchpoint::__repr__",1,1)
77427     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpoint::__repr__",1,"lldb::SBWatchpoint *");
77428 
77429     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpoint,0))){
77430       SWIG_fail_ptr("SBWatchpoint___tostring",1,SWIGTYPE_p_lldb__SBWatchpoint);
77431     }
77432 
77433     result = lldb_SBWatchpoint___repr__(arg1);
77434     lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
77435     return SWIG_arg;
77436 
77437     fail: SWIGUNUSED;
77438   }
77439   lua_error(L);
77440   return 0;
77441 }
77442 
77443 
swig_delete_SBWatchpoint(void * obj)77444 static void swig_delete_SBWatchpoint(void *obj) {
77445 lldb::SBWatchpoint *arg1 = (lldb::SBWatchpoint *) obj;
77446 delete arg1;
77447 }
_proxy__wrap_new_SBWatchpoint(lua_State * L)77448 static int _proxy__wrap_new_SBWatchpoint(lua_State *L) {
77449     assert(lua_istable(L,1));
77450     lua_pushcfunction(L,_wrap_new_SBWatchpoint);
77451     assert(!lua_isnil(L,-1));
77452     lua_replace(L,1); /* replace our table with real constructor */
77453     lua_call(L,lua_gettop(L)-1,1);
77454     return 1;
77455 }
77456 static swig_lua_attribute swig_SBWatchpoint_attributes[] = {
77457     {0,0,0}
77458 };
77459 static swig_lua_method swig_SBWatchpoint_methods[]= {
77460     { "__eq", _wrap_SBWatchpoint___eq},
77461     { "IsValid", _wrap_SBWatchpoint_IsValid},
77462     { "GetError", _wrap_SBWatchpoint_GetError},
77463     { "GetID", _wrap_SBWatchpoint_GetID},
77464     { "GetHardwareIndex", _wrap_SBWatchpoint_GetHardwareIndex},
77465     { "GetWatchAddress", _wrap_SBWatchpoint_GetWatchAddress},
77466     { "GetWatchSize", _wrap_SBWatchpoint_GetWatchSize},
77467     { "SetEnabled", _wrap_SBWatchpoint_SetEnabled},
77468     { "IsEnabled", _wrap_SBWatchpoint_IsEnabled},
77469     { "GetHitCount", _wrap_SBWatchpoint_GetHitCount},
77470     { "GetIgnoreCount", _wrap_SBWatchpoint_GetIgnoreCount},
77471     { "SetIgnoreCount", _wrap_SBWatchpoint_SetIgnoreCount},
77472     { "GetCondition", _wrap_SBWatchpoint_GetCondition},
77473     { "SetCondition", _wrap_SBWatchpoint_SetCondition},
77474     { "GetDescription", _wrap_SBWatchpoint_GetDescription},
77475     { "Clear", _wrap_SBWatchpoint_Clear},
77476     { "GetType", _wrap_SBWatchpoint_GetType},
77477     { "GetWatchValueKind", _wrap_SBWatchpoint_GetWatchValueKind},
77478     { "GetWatchSpec", _wrap_SBWatchpoint_GetWatchSpec},
77479     { "IsWatchingReads", _wrap_SBWatchpoint_IsWatchingReads},
77480     { "IsWatchingWrites", _wrap_SBWatchpoint_IsWatchingWrites},
77481     { "__tostring", _wrap_SBWatchpoint___tostring},
77482     {0,0}
77483 };
77484 static swig_lua_method swig_SBWatchpoint_meta[] = {
77485     { "__eq", _wrap_SBWatchpoint___eq},
77486     { "__tostring", _wrap_SBWatchpoint___tostring},
77487     {0,0}
77488 };
77489 
77490 static swig_lua_attribute swig_SBWatchpoint_Sf_SwigStatic_attributes[] = {
77491     {0,0,0}
77492 };
77493 static swig_lua_const_info swig_SBWatchpoint_Sf_SwigStatic_constants[]= {
77494     {0,0,0,0,0,0}
77495 };
77496 static swig_lua_method swig_SBWatchpoint_Sf_SwigStatic_methods[]= {
77497     { "EventIsWatchpointEvent", _wrap_SBWatchpoint_EventIsWatchpointEvent},
77498     { "GetWatchpointEventTypeFromEvent", _wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent},
77499     { "GetWatchpointFromEvent", _wrap_SBWatchpoint_GetWatchpointFromEvent},
77500     {0,0}
77501 };
77502 static swig_lua_class* swig_SBWatchpoint_Sf_SwigStatic_classes[]= {
77503     0
77504 };
77505 
77506 static swig_lua_namespace swig_SBWatchpoint_Sf_SwigStatic = {
77507     "SBWatchpoint",
77508     swig_SBWatchpoint_Sf_SwigStatic_methods,
77509     swig_SBWatchpoint_Sf_SwigStatic_attributes,
77510     swig_SBWatchpoint_Sf_SwigStatic_constants,
77511     swig_SBWatchpoint_Sf_SwigStatic_classes,
77512     0
77513 };
77514 static swig_lua_class *swig_SBWatchpoint_bases[] = {0};
77515 static const char *swig_SBWatchpoint_base_names[] = {0};
77516 static swig_lua_class _wrap_class_SBWatchpoint = { "SBWatchpoint", "SBWatchpoint", &SWIGTYPE_p_lldb__SBWatchpoint,_proxy__wrap_new_SBWatchpoint, swig_delete_SBWatchpoint, swig_SBWatchpoint_methods, swig_SBWatchpoint_attributes, &swig_SBWatchpoint_Sf_SwigStatic, swig_SBWatchpoint_meta, swig_SBWatchpoint_bases, swig_SBWatchpoint_base_names };
77517 
_wrap_new_SBWatchpointOptions__SWIG_0(lua_State * L)77518 static int _wrap_new_SBWatchpointOptions__SWIG_0(lua_State* L) {
77519   {
77520     int SWIG_arg = 0;
77521     lldb::SBWatchpointOptions *result = 0 ;
77522 
77523     SWIG_check_num_args("lldb::SBWatchpointOptions::SBWatchpointOptions",0,0)
77524     result = (lldb::SBWatchpointOptions *)new lldb::SBWatchpointOptions();
77525     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpointOptions,1); SWIG_arg++;
77526     return SWIG_arg;
77527 
77528     fail: SWIGUNUSED;
77529   }
77530   lua_error(L);
77531   return 0;
77532 }
77533 
77534 
_wrap_new_SBWatchpointOptions__SWIG_1(lua_State * L)77535 static int _wrap_new_SBWatchpointOptions__SWIG_1(lua_State* L) {
77536   {
77537     int SWIG_arg = 0;
77538     lldb::SBWatchpointOptions *arg1 = 0 ;
77539     lldb::SBWatchpointOptions *result = 0 ;
77540 
77541     SWIG_check_num_args("lldb::SBWatchpointOptions::SBWatchpointOptions",1,1)
77542     if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SBWatchpointOptions",1,"lldb::SBWatchpointOptions const &");
77543 
77544     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
77545       SWIG_fail_ptr("new_SBWatchpointOptions",1,SWIGTYPE_p_lldb__SBWatchpointOptions);
77546     }
77547 
77548     result = (lldb::SBWatchpointOptions *)new lldb::SBWatchpointOptions((lldb::SBWatchpointOptions const &)*arg1);
77549     SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpointOptions,1); SWIG_arg++;
77550     return SWIG_arg;
77551 
77552     fail: SWIGUNUSED;
77553   }
77554   lua_error(L);
77555   return 0;
77556 }
77557 
77558 
_wrap_new_SBWatchpointOptions(lua_State * L)77559 static int _wrap_new_SBWatchpointOptions(lua_State* L) {
77560   int argc;
77561   int argv[2]={
77562     1,2
77563   };
77564 
77565   argc = lua_gettop(L);
77566   if (argc == 0) {
77567     return _wrap_new_SBWatchpointOptions__SWIG_0(L);
77568   }
77569   if (argc == 1) {
77570     int _v = 0;
77571     {
77572       void *ptr;
77573       if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBWatchpointOptions, SWIG_POINTER_NO_NULL)) {
77574         _v = 0;
77575       } else {
77576         _v = 1;
77577       }
77578     }
77579     if (_v) {
77580       return _wrap_new_SBWatchpointOptions__SWIG_1(L);
77581     }
77582   }
77583 
77584   SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBWatchpointOptions'\n"
77585     "  Possible C/C++ prototypes are:\n"
77586     "    lldb::SBWatchpointOptions::SBWatchpointOptions()\n"
77587     "    lldb::SBWatchpointOptions::SBWatchpointOptions(lldb::SBWatchpointOptions const &)\n");
77588   lua_error(L);return 0;
77589 }
77590 
77591 
_wrap_SBWatchpointOptions_SetWatchpointTypeRead(lua_State * L)77592 static int _wrap_SBWatchpointOptions_SetWatchpointTypeRead(lua_State* L) {
77593   {
77594     int SWIG_arg = 0;
77595     lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ;
77596     bool arg2 ;
77597 
77598     SWIG_check_num_args("lldb::SBWatchpointOptions::SetWatchpointTypeRead",2,2)
77599     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeRead",1,"lldb::SBWatchpointOptions *");
77600     if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeRead",2,"bool");
77601 
77602     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
77603       SWIG_fail_ptr("SBWatchpointOptions_SetWatchpointTypeRead",1,SWIGTYPE_p_lldb__SBWatchpointOptions);
77604     }
77605 
77606     arg2 = (lua_toboolean(L, 2)!=0);
77607     (arg1)->SetWatchpointTypeRead(arg2);
77608 
77609     return SWIG_arg;
77610 
77611     fail: SWIGUNUSED;
77612   }
77613   lua_error(L);
77614   return 0;
77615 }
77616 
77617 
_wrap_SBWatchpointOptions_GetWatchpointTypeRead(lua_State * L)77618 static int _wrap_SBWatchpointOptions_GetWatchpointTypeRead(lua_State* L) {
77619   {
77620     int SWIG_arg = 0;
77621     lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ;
77622     bool result;
77623 
77624     SWIG_check_num_args("lldb::SBWatchpointOptions::GetWatchpointTypeRead",1,1)
77625     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::GetWatchpointTypeRead",1,"lldb::SBWatchpointOptions const *");
77626 
77627     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
77628       SWIG_fail_ptr("SBWatchpointOptions_GetWatchpointTypeRead",1,SWIGTYPE_p_lldb__SBWatchpointOptions);
77629     }
77630 
77631     result = (bool)((lldb::SBWatchpointOptions const *)arg1)->GetWatchpointTypeRead();
77632     lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
77633     return SWIG_arg;
77634 
77635     fail: SWIGUNUSED;
77636   }
77637   lua_error(L);
77638   return 0;
77639 }
77640 
77641 
_wrap_SBWatchpointOptions_SetWatchpointTypeWrite(lua_State * L)77642 static int _wrap_SBWatchpointOptions_SetWatchpointTypeWrite(lua_State* L) {
77643   {
77644     int SWIG_arg = 0;
77645     lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ;
77646     lldb::WatchpointWriteType arg2 ;
77647 
77648     SWIG_check_num_args("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",2,2)
77649     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",1,"lldb::SBWatchpointOptions *");
77650     if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",2,"lldb::WatchpointWriteType");
77651 
77652     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
77653       SWIG_fail_ptr("SBWatchpointOptions_SetWatchpointTypeWrite",1,SWIGTYPE_p_lldb__SBWatchpointOptions);
77654     }
77655 
77656     arg2 = (lldb::WatchpointWriteType)lua_tointeger(L, 2);
77657     (arg1)->SetWatchpointTypeWrite(arg2);
77658 
77659     return SWIG_arg;
77660 
77661     fail: SWIGUNUSED;
77662   }
77663   lua_error(L);
77664   return 0;
77665 }
77666 
77667 
_wrap_SBWatchpointOptions_GetWatchpointTypeWrite(lua_State * L)77668 static int _wrap_SBWatchpointOptions_GetWatchpointTypeWrite(lua_State* L) {
77669   {
77670     int SWIG_arg = 0;
77671     lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ;
77672     lldb::WatchpointWriteType result;
77673 
77674     SWIG_check_num_args("lldb::SBWatchpointOptions::GetWatchpointTypeWrite",1,1)
77675     if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::GetWatchpointTypeWrite",1,"lldb::SBWatchpointOptions const *");
77676 
77677     if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){
77678       SWIG_fail_ptr("SBWatchpointOptions_GetWatchpointTypeWrite",1,SWIGTYPE_p_lldb__SBWatchpointOptions);
77679     }
77680 
77681     result = (lldb::WatchpointWriteType)((lldb::SBWatchpointOptions const *)arg1)->GetWatchpointTypeWrite();
77682     lua_pushinteger(L, (lua_Integer) result); SWIG_arg++;
77683     return SWIG_arg;
77684 
77685     fail: SWIGUNUSED;
77686   }
77687   lua_error(L);
77688   return 0;
77689 }
77690 
77691 
swig_delete_SBWatchpointOptions(void * obj)77692 static void swig_delete_SBWatchpointOptions(void *obj) {
77693 lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) obj;
77694 delete arg1;
77695 }
_proxy__wrap_new_SBWatchpointOptions(lua_State * L)77696 static int _proxy__wrap_new_SBWatchpointOptions(lua_State *L) {
77697     assert(lua_istable(L,1));
77698     lua_pushcfunction(L,_wrap_new_SBWatchpointOptions);
77699     assert(!lua_isnil(L,-1));
77700     lua_replace(L,1); /* replace our table with real constructor */
77701     lua_call(L,lua_gettop(L)-1,1);
77702     return 1;
77703 }
77704 static swig_lua_attribute swig_SBWatchpointOptions_attributes[] = {
77705     {0,0,0}
77706 };
77707 static swig_lua_method swig_SBWatchpointOptions_methods[]= {
77708     { "SetWatchpointTypeRead", _wrap_SBWatchpointOptions_SetWatchpointTypeRead},
77709     { "GetWatchpointTypeRead", _wrap_SBWatchpointOptions_GetWatchpointTypeRead},
77710     { "SetWatchpointTypeWrite", _wrap_SBWatchpointOptions_SetWatchpointTypeWrite},
77711     { "GetWatchpointTypeWrite", _wrap_SBWatchpointOptions_GetWatchpointTypeWrite},
77712     {0,0}
77713 };
77714 static swig_lua_method swig_SBWatchpointOptions_meta[] = {
77715     {0,0}
77716 };
77717 
77718 static swig_lua_attribute swig_SBWatchpointOptions_Sf_SwigStatic_attributes[] = {
77719     {0,0,0}
77720 };
77721 static swig_lua_const_info swig_SBWatchpointOptions_Sf_SwigStatic_constants[]= {
77722     {0,0,0,0,0,0}
77723 };
77724 static swig_lua_method swig_SBWatchpointOptions_Sf_SwigStatic_methods[]= {
77725     {0,0}
77726 };
77727 static swig_lua_class* swig_SBWatchpointOptions_Sf_SwigStatic_classes[]= {
77728     0
77729 };
77730 
77731 static swig_lua_namespace swig_SBWatchpointOptions_Sf_SwigStatic = {
77732     "SBWatchpointOptions",
77733     swig_SBWatchpointOptions_Sf_SwigStatic_methods,
77734     swig_SBWatchpointOptions_Sf_SwigStatic_attributes,
77735     swig_SBWatchpointOptions_Sf_SwigStatic_constants,
77736     swig_SBWatchpointOptions_Sf_SwigStatic_classes,
77737     0
77738 };
77739 static swig_lua_class *swig_SBWatchpointOptions_bases[] = {0};
77740 static const char *swig_SBWatchpointOptions_base_names[] = {0};
77741 static swig_lua_class _wrap_class_SBWatchpointOptions = { "SBWatchpointOptions", "SBWatchpointOptions", &SWIGTYPE_p_lldb__SBWatchpointOptions,_proxy__wrap_new_SBWatchpointOptions, swig_delete_SBWatchpointOptions, swig_SBWatchpointOptions_methods, swig_SBWatchpointOptions_attributes, &swig_SBWatchpointOptions_Sf_SwigStatic, swig_SBWatchpointOptions_meta, swig_SBWatchpointOptions_bases, swig_SBWatchpointOptions_base_names };
77742 
77743 static swig_lua_attribute swig_SwigModule_attributes[] = {
77744     {0,0,0}
77745 };
77746 static swig_lua_const_info swig_SwigModule_constants[]= {
77747     {SWIG_LUA_CONSTTAB_INT("INT32_MAX", 2147483647)},
77748     {SWIG_LUA_CONSTTAB_INT("UINT32_MAX", 4294967295U)},
77749     {SWIG_LUA_CONSTTAB_STRING("UINT64_MAX", "18446744073709551615ULL")},
77750     {SWIG_LUA_CONSTTAB_INT("LLDB_GENERIC_ERROR", 4294967295U)},
77751     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_BREAK_ID", 0)},
77752     {SWIG_LUA_CONSTTAB_INT("LLDB_DEFAULT_BREAK_SIZE", 0)},
77753     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_WATCH_ID", 0)},
77754     {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_READ", (1u << 0))},
77755     {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_WRITE", (1u << 1))},
77756     {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_MODIFY", (1u << 2))},
77757     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_SITE_ID", 4294967295U)},
77758     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_PC", 0)},
77759     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_SP", 1)},
77760     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_FP", 2)},
77761     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_RA", 3)},
77762     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_FLAGS", 4)},
77763     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG1", 5)},
77764     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG2", 6)},
77765     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG3", 7)},
77766     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG4", 8)},
77767     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG5", 9)},
77768     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG6", 10)},
77769     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG7", 11)},
77770     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG8", 12)},
77771     {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_TP", 13)},
77772     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_STOP_ID", 0)},
77773     {SWIG_LUA_CONSTTAB_STRING("LLDB_INVALID_ADDRESS", "18446744073709551615ULL")},
77774     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_INDEX32", 4294967295U)},
77775     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_IVAR_OFFSET", 4294967295U)},
77776     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_IMAGE_TOKEN", 4294967295U)},
77777     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_MODULE_VERSION", 4294967295U)},
77778     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_REGNUM", 4294967295U)},
77779     {SWIG_LUA_CONSTTAB_STRING("LLDB_INVALID_UID", "18446744073709551615ULL")},
77780     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_PROCESS_ID", 0)},
77781     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_THREAD_ID", 0)},
77782     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_FRAME_ID", 4294967295U)},
77783     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_SIGNAL_NUMBER", 2147483647)},
77784     {SWIG_LUA_CONSTTAB_STRING("LLDB_INVALID_OFFSET", "18446744073709551615ULL")},
77785     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_LINE_NUMBER", 4294967295U)},
77786     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_COLUMN_NUMBER", 0)},
77787     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_QUEUE_ID", 0)},
77788     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_CPU_ID", 4294967295U)},
77789     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_WATCHPOINT_RESOURCE_ID", 4294967295U)},
77790     {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT", "systemArch")},
77791     {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT_32BIT", "systemArch32")},
77792     {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT_64BIT", "systemArch64")},
77793     {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_CPUTYPE", (0xFFFFFFFEu))},
77794     {SWIG_LUA_CONSTTAB_INT("LLDB_MAX_NUM_OPTION_SETS", 32)},
77795     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_ALL", 0xFFFFFFFFU)},
77796     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_1", (1U << 0))},
77797     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_2", (1U << 1))},
77798     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_3", (1U << 2))},
77799     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_4", (1U << 3))},
77800     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_5", (1U << 4))},
77801     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_6", (1U << 5))},
77802     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_7", (1U << 6))},
77803     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_8", (1U << 7))},
77804     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_9", (1U << 8))},
77805     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_10", (1U << 9))},
77806     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_11", (1U << 10))},
77807     {SWIG_LUA_CONSTTAB_INT("LLDB_OPT_SET_12", (1U << 11))},
77808     {SWIG_LUA_CONSTTAB_INT("eStateInvalid", lldb::eStateInvalid)},
77809     {SWIG_LUA_CONSTTAB_INT("eStateUnloaded", lldb::eStateUnloaded)},
77810     {SWIG_LUA_CONSTTAB_INT("eStateConnected", lldb::eStateConnected)},
77811     {SWIG_LUA_CONSTTAB_INT("eStateAttaching", lldb::eStateAttaching)},
77812     {SWIG_LUA_CONSTTAB_INT("eStateLaunching", lldb::eStateLaunching)},
77813     {SWIG_LUA_CONSTTAB_INT("eStateStopped", lldb::eStateStopped)},
77814     {SWIG_LUA_CONSTTAB_INT("eStateRunning", lldb::eStateRunning)},
77815     {SWIG_LUA_CONSTTAB_INT("eStateStepping", lldb::eStateStepping)},
77816     {SWIG_LUA_CONSTTAB_INT("eStateCrashed", lldb::eStateCrashed)},
77817     {SWIG_LUA_CONSTTAB_INT("eStateDetached", lldb::eStateDetached)},
77818     {SWIG_LUA_CONSTTAB_INT("eStateExited", lldb::eStateExited)},
77819     {SWIG_LUA_CONSTTAB_INT("eStateSuspended", lldb::eStateSuspended)},
77820     {SWIG_LUA_CONSTTAB_INT("kLastStateType", lldb::kLastStateType)},
77821     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagNone", lldb::eLaunchFlagNone)},
77822     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagExec", lldb::eLaunchFlagExec)},
77823     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagDebug", lldb::eLaunchFlagDebug)},
77824     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagStopAtEntry", lldb::eLaunchFlagStopAtEntry)},
77825     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagDisableASLR", lldb::eLaunchFlagDisableASLR)},
77826     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagDisableSTDIO", lldb::eLaunchFlagDisableSTDIO)},
77827     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagLaunchInTTY", lldb::eLaunchFlagLaunchInTTY)},
77828     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagLaunchInShell", lldb::eLaunchFlagLaunchInShell)},
77829     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagLaunchInSeparateProcessGroup", lldb::eLaunchFlagLaunchInSeparateProcessGroup)},
77830     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagDontSetExitStatus", lldb::eLaunchFlagDontSetExitStatus)},
77831     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagDetachOnError", lldb::eLaunchFlagDetachOnError)},
77832     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagShellExpandArguments", lldb::eLaunchFlagShellExpandArguments)},
77833     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagCloseTTYOnExit", lldb::eLaunchFlagCloseTTYOnExit)},
77834     {SWIG_LUA_CONSTTAB_INT("eLaunchFlagInheritTCCFromParent", lldb::eLaunchFlagInheritTCCFromParent)},
77835     {SWIG_LUA_CONSTTAB_INT("eOnlyThisThread", lldb::eOnlyThisThread)},
77836     {SWIG_LUA_CONSTTAB_INT("eAllThreads", lldb::eAllThreads)},
77837     {SWIG_LUA_CONSTTAB_INT("eOnlyDuringStepping", lldb::eOnlyDuringStepping)},
77838     {SWIG_LUA_CONSTTAB_INT("eByteOrderInvalid", lldb::eByteOrderInvalid)},
77839     {SWIG_LUA_CONSTTAB_INT("eByteOrderBig", lldb::eByteOrderBig)},
77840     {SWIG_LUA_CONSTTAB_INT("eByteOrderPDP", lldb::eByteOrderPDP)},
77841     {SWIG_LUA_CONSTTAB_INT("eByteOrderLittle", lldb::eByteOrderLittle)},
77842     {SWIG_LUA_CONSTTAB_INT("eEncodingInvalid", lldb::eEncodingInvalid)},
77843     {SWIG_LUA_CONSTTAB_INT("eEncodingUint", lldb::eEncodingUint)},
77844     {SWIG_LUA_CONSTTAB_INT("eEncodingSint", lldb::eEncodingSint)},
77845     {SWIG_LUA_CONSTTAB_INT("eEncodingIEEE754", lldb::eEncodingIEEE754)},
77846     {SWIG_LUA_CONSTTAB_INT("eEncodingVector", lldb::eEncodingVector)},
77847     {SWIG_LUA_CONSTTAB_INT("eFormatDefault", lldb::eFormatDefault)},
77848     {SWIG_LUA_CONSTTAB_INT("eFormatInvalid", lldb::eFormatInvalid)},
77849     {SWIG_LUA_CONSTTAB_INT("eFormatBoolean", lldb::eFormatBoolean)},
77850     {SWIG_LUA_CONSTTAB_INT("eFormatBinary", lldb::eFormatBinary)},
77851     {SWIG_LUA_CONSTTAB_INT("eFormatBytes", lldb::eFormatBytes)},
77852     {SWIG_LUA_CONSTTAB_INT("eFormatBytesWithASCII", lldb::eFormatBytesWithASCII)},
77853     {SWIG_LUA_CONSTTAB_INT("eFormatChar", lldb::eFormatChar)},
77854     {SWIG_LUA_CONSTTAB_INT("eFormatCharPrintable", lldb::eFormatCharPrintable)},
77855     {SWIG_LUA_CONSTTAB_INT("eFormatComplex", lldb::eFormatComplex)},
77856     {SWIG_LUA_CONSTTAB_INT("eFormatComplexFloat", lldb::eFormatComplexFloat)},
77857     {SWIG_LUA_CONSTTAB_INT("eFormatCString", lldb::eFormatCString)},
77858     {SWIG_LUA_CONSTTAB_INT("eFormatDecimal", lldb::eFormatDecimal)},
77859     {SWIG_LUA_CONSTTAB_INT("eFormatEnum", lldb::eFormatEnum)},
77860     {SWIG_LUA_CONSTTAB_INT("eFormatHex", lldb::eFormatHex)},
77861     {SWIG_LUA_CONSTTAB_INT("eFormatHexUppercase", lldb::eFormatHexUppercase)},
77862     {SWIG_LUA_CONSTTAB_INT("eFormatFloat", lldb::eFormatFloat)},
77863     {SWIG_LUA_CONSTTAB_INT("eFormatOctal", lldb::eFormatOctal)},
77864     {SWIG_LUA_CONSTTAB_INT("eFormatOSType", lldb::eFormatOSType)},
77865     {SWIG_LUA_CONSTTAB_INT("eFormatUnicode16", lldb::eFormatUnicode16)},
77866     {SWIG_LUA_CONSTTAB_INT("eFormatUnicode32", lldb::eFormatUnicode32)},
77867     {SWIG_LUA_CONSTTAB_INT("eFormatUnsigned", lldb::eFormatUnsigned)},
77868     {SWIG_LUA_CONSTTAB_INT("eFormatPointer", lldb::eFormatPointer)},
77869     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfChar", lldb::eFormatVectorOfChar)},
77870     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfSInt8", lldb::eFormatVectorOfSInt8)},
77871     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfUInt8", lldb::eFormatVectorOfUInt8)},
77872     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfSInt16", lldb::eFormatVectorOfSInt16)},
77873     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfUInt16", lldb::eFormatVectorOfUInt16)},
77874     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfSInt32", lldb::eFormatVectorOfSInt32)},
77875     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfUInt32", lldb::eFormatVectorOfUInt32)},
77876     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfSInt64", lldb::eFormatVectorOfSInt64)},
77877     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfUInt64", lldb::eFormatVectorOfUInt64)},
77878     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfFloat16", lldb::eFormatVectorOfFloat16)},
77879     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfFloat32", lldb::eFormatVectorOfFloat32)},
77880     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfFloat64", lldb::eFormatVectorOfFloat64)},
77881     {SWIG_LUA_CONSTTAB_INT("eFormatVectorOfUInt128", lldb::eFormatVectorOfUInt128)},
77882     {SWIG_LUA_CONSTTAB_INT("eFormatComplexInteger", lldb::eFormatComplexInteger)},
77883     {SWIG_LUA_CONSTTAB_INT("eFormatCharArray", lldb::eFormatCharArray)},
77884     {SWIG_LUA_CONSTTAB_INT("eFormatAddressInfo", lldb::eFormatAddressInfo)},
77885     {SWIG_LUA_CONSTTAB_INT("eFormatHexFloat", lldb::eFormatHexFloat)},
77886     {SWIG_LUA_CONSTTAB_INT("eFormatInstruction", lldb::eFormatInstruction)},
77887     {SWIG_LUA_CONSTTAB_INT("eFormatVoid", lldb::eFormatVoid)},
77888     {SWIG_LUA_CONSTTAB_INT("eFormatUnicode8", lldb::eFormatUnicode8)},
77889     {SWIG_LUA_CONSTTAB_INT("kNumFormats", lldb::kNumFormats)},
77890     {SWIG_LUA_CONSTTAB_INT("eDescriptionLevelBrief", lldb::eDescriptionLevelBrief)},
77891     {SWIG_LUA_CONSTTAB_INT("eDescriptionLevelFull", lldb::eDescriptionLevelFull)},
77892     {SWIG_LUA_CONSTTAB_INT("eDescriptionLevelVerbose", lldb::eDescriptionLevelVerbose)},
77893     {SWIG_LUA_CONSTTAB_INT("eDescriptionLevelInitial", lldb::eDescriptionLevelInitial)},
77894     {SWIG_LUA_CONSTTAB_INT("kNumDescriptionLevels", lldb::kNumDescriptionLevels)},
77895     {SWIG_LUA_CONSTTAB_INT("eScriptLanguageNone", lldb::eScriptLanguageNone)},
77896     {SWIG_LUA_CONSTTAB_INT("eScriptLanguagePython", lldb::eScriptLanguagePython)},
77897     {SWIG_LUA_CONSTTAB_INT("eScriptLanguageLua", lldb::eScriptLanguageLua)},
77898     {SWIG_LUA_CONSTTAB_INT("eScriptLanguageUnknown", lldb::eScriptLanguageUnknown)},
77899     {SWIG_LUA_CONSTTAB_INT("eScriptLanguageDefault", lldb::eScriptLanguageDefault)},
77900     {SWIG_LUA_CONSTTAB_INT("eRegisterKindEHFrame", lldb::eRegisterKindEHFrame)},
77901     {SWIG_LUA_CONSTTAB_INT("eRegisterKindDWARF", lldb::eRegisterKindDWARF)},
77902     {SWIG_LUA_CONSTTAB_INT("eRegisterKindGeneric", lldb::eRegisterKindGeneric)},
77903     {SWIG_LUA_CONSTTAB_INT("eRegisterKindProcessPlugin", lldb::eRegisterKindProcessPlugin)},
77904     {SWIG_LUA_CONSTTAB_INT("eRegisterKindLLDB", lldb::eRegisterKindLLDB)},
77905     {SWIG_LUA_CONSTTAB_INT("kNumRegisterKinds", lldb::kNumRegisterKinds)},
77906     {SWIG_LUA_CONSTTAB_INT("eStopReasonInvalid", lldb::eStopReasonInvalid)},
77907     {SWIG_LUA_CONSTTAB_INT("eStopReasonNone", lldb::eStopReasonNone)},
77908     {SWIG_LUA_CONSTTAB_INT("eStopReasonTrace", lldb::eStopReasonTrace)},
77909     {SWIG_LUA_CONSTTAB_INT("eStopReasonBreakpoint", lldb::eStopReasonBreakpoint)},
77910     {SWIG_LUA_CONSTTAB_INT("eStopReasonWatchpoint", lldb::eStopReasonWatchpoint)},
77911     {SWIG_LUA_CONSTTAB_INT("eStopReasonSignal", lldb::eStopReasonSignal)},
77912     {SWIG_LUA_CONSTTAB_INT("eStopReasonException", lldb::eStopReasonException)},
77913     {SWIG_LUA_CONSTTAB_INT("eStopReasonExec", lldb::eStopReasonExec)},
77914     {SWIG_LUA_CONSTTAB_INT("eStopReasonPlanComplete", lldb::eStopReasonPlanComplete)},
77915     {SWIG_LUA_CONSTTAB_INT("eStopReasonThreadExiting", lldb::eStopReasonThreadExiting)},
77916     {SWIG_LUA_CONSTTAB_INT("eStopReasonInstrumentation", lldb::eStopReasonInstrumentation)},
77917     {SWIG_LUA_CONSTTAB_INT("eStopReasonProcessorTrace", lldb::eStopReasonProcessorTrace)},
77918     {SWIG_LUA_CONSTTAB_INT("eStopReasonFork", lldb::eStopReasonFork)},
77919     {SWIG_LUA_CONSTTAB_INT("eStopReasonVFork", lldb::eStopReasonVFork)},
77920     {SWIG_LUA_CONSTTAB_INT("eStopReasonVForkDone", lldb::eStopReasonVForkDone)},
77921     {SWIG_LUA_CONSTTAB_INT("eReturnStatusInvalid", lldb::eReturnStatusInvalid)},
77922     {SWIG_LUA_CONSTTAB_INT("eReturnStatusSuccessFinishNoResult", lldb::eReturnStatusSuccessFinishNoResult)},
77923     {SWIG_LUA_CONSTTAB_INT("eReturnStatusSuccessFinishResult", lldb::eReturnStatusSuccessFinishResult)},
77924     {SWIG_LUA_CONSTTAB_INT("eReturnStatusSuccessContinuingNoResult", lldb::eReturnStatusSuccessContinuingNoResult)},
77925     {SWIG_LUA_CONSTTAB_INT("eReturnStatusSuccessContinuingResult", lldb::eReturnStatusSuccessContinuingResult)},
77926     {SWIG_LUA_CONSTTAB_INT("eReturnStatusStarted", lldb::eReturnStatusStarted)},
77927     {SWIG_LUA_CONSTTAB_INT("eReturnStatusFailed", lldb::eReturnStatusFailed)},
77928     {SWIG_LUA_CONSTTAB_INT("eReturnStatusQuit", lldb::eReturnStatusQuit)},
77929     {SWIG_LUA_CONSTTAB_INT("eExpressionCompleted", lldb::eExpressionCompleted)},
77930     {SWIG_LUA_CONSTTAB_INT("eExpressionSetupError", lldb::eExpressionSetupError)},
77931     {SWIG_LUA_CONSTTAB_INT("eExpressionParseError", lldb::eExpressionParseError)},
77932     {SWIG_LUA_CONSTTAB_INT("eExpressionDiscarded", lldb::eExpressionDiscarded)},
77933     {SWIG_LUA_CONSTTAB_INT("eExpressionInterrupted", lldb::eExpressionInterrupted)},
77934     {SWIG_LUA_CONSTTAB_INT("eExpressionHitBreakpoint", lldb::eExpressionHitBreakpoint)},
77935     {SWIG_LUA_CONSTTAB_INT("eExpressionTimedOut", lldb::eExpressionTimedOut)},
77936     {SWIG_LUA_CONSTTAB_INT("eExpressionResultUnavailable", lldb::eExpressionResultUnavailable)},
77937     {SWIG_LUA_CONSTTAB_INT("eExpressionStoppedForDebug", lldb::eExpressionStoppedForDebug)},
77938     {SWIG_LUA_CONSTTAB_INT("eExpressionThreadVanished", lldb::eExpressionThreadVanished)},
77939     {SWIG_LUA_CONSTTAB_INT("eSearchDepthInvalid", lldb::eSearchDepthInvalid)},
77940     {SWIG_LUA_CONSTTAB_INT("eSearchDepthTarget", lldb::eSearchDepthTarget)},
77941     {SWIG_LUA_CONSTTAB_INT("eSearchDepthModule", lldb::eSearchDepthModule)},
77942     {SWIG_LUA_CONSTTAB_INT("eSearchDepthCompUnit", lldb::eSearchDepthCompUnit)},
77943     {SWIG_LUA_CONSTTAB_INT("eSearchDepthFunction", lldb::eSearchDepthFunction)},
77944     {SWIG_LUA_CONSTTAB_INT("eSearchDepthBlock", lldb::eSearchDepthBlock)},
77945     {SWIG_LUA_CONSTTAB_INT("eSearchDepthAddress", lldb::eSearchDepthAddress)},
77946     {SWIG_LUA_CONSTTAB_INT("kLastSearchDepthKind", lldb::kLastSearchDepthKind)},
77947     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusSuccess", lldb::eConnectionStatusSuccess)},
77948     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusEndOfFile", lldb::eConnectionStatusEndOfFile)},
77949     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusError", lldb::eConnectionStatusError)},
77950     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusTimedOut", lldb::eConnectionStatusTimedOut)},
77951     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusNoConnection", lldb::eConnectionStatusNoConnection)},
77952     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusLostConnection", lldb::eConnectionStatusLostConnection)},
77953     {SWIG_LUA_CONSTTAB_INT("eConnectionStatusInterrupted", lldb::eConnectionStatusInterrupted)},
77954     {SWIG_LUA_CONSTTAB_INT("eErrorTypeInvalid", lldb::eErrorTypeInvalid)},
77955     {SWIG_LUA_CONSTTAB_INT("eErrorTypeGeneric", lldb::eErrorTypeGeneric)},
77956     {SWIG_LUA_CONSTTAB_INT("eErrorTypeMachKernel", lldb::eErrorTypeMachKernel)},
77957     {SWIG_LUA_CONSTTAB_INT("eErrorTypePOSIX", lldb::eErrorTypePOSIX)},
77958     {SWIG_LUA_CONSTTAB_INT("eErrorTypeExpression", lldb::eErrorTypeExpression)},
77959     {SWIG_LUA_CONSTTAB_INT("eErrorTypeWin32", lldb::eErrorTypeWin32)},
77960     {SWIG_LUA_CONSTTAB_INT("eValueTypeInvalid", lldb::eValueTypeInvalid)},
77961     {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableGlobal", lldb::eValueTypeVariableGlobal)},
77962     {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableStatic", lldb::eValueTypeVariableStatic)},
77963     {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableArgument", lldb::eValueTypeVariableArgument)},
77964     {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableLocal", lldb::eValueTypeVariableLocal)},
77965     {SWIG_LUA_CONSTTAB_INT("eValueTypeRegister", lldb::eValueTypeRegister)},
77966     {SWIG_LUA_CONSTTAB_INT("eValueTypeRegisterSet", lldb::eValueTypeRegisterSet)},
77967     {SWIG_LUA_CONSTTAB_INT("eValueTypeConstResult", lldb::eValueTypeConstResult)},
77968     {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableThreadLocal", lldb::eValueTypeVariableThreadLocal)},
77969     {SWIG_LUA_CONSTTAB_INT("eValueTypeVTable", lldb::eValueTypeVTable)},
77970     {SWIG_LUA_CONSTTAB_INT("eValueTypeVTableEntry", lldb::eValueTypeVTableEntry)},
77971     {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityInvalid", lldb::eInputReaderGranularityInvalid)},
77972     {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityByte", lldb::eInputReaderGranularityByte)},
77973     {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityWord", lldb::eInputReaderGranularityWord)},
77974     {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityLine", lldb::eInputReaderGranularityLine)},
77975     {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityAll", lldb::eInputReaderGranularityAll)},
77976     {SWIG_LUA_CONSTTAB_INT("eSymbolContextTarget", lldb::eSymbolContextTarget)},
77977     {SWIG_LUA_CONSTTAB_INT("eSymbolContextModule", lldb::eSymbolContextModule)},
77978     {SWIG_LUA_CONSTTAB_INT("eSymbolContextCompUnit", lldb::eSymbolContextCompUnit)},
77979     {SWIG_LUA_CONSTTAB_INT("eSymbolContextFunction", lldb::eSymbolContextFunction)},
77980     {SWIG_LUA_CONSTTAB_INT("eSymbolContextBlock", lldb::eSymbolContextBlock)},
77981     {SWIG_LUA_CONSTTAB_INT("eSymbolContextLineEntry", lldb::eSymbolContextLineEntry)},
77982     {SWIG_LUA_CONSTTAB_INT("eSymbolContextSymbol", lldb::eSymbolContextSymbol)},
77983     {SWIG_LUA_CONSTTAB_INT("eSymbolContextEverything", lldb::eSymbolContextEverything)},
77984     {SWIG_LUA_CONSTTAB_INT("eSymbolContextVariable", lldb::eSymbolContextVariable)},
77985     {SWIG_LUA_CONSTTAB_INT("eSymbolContextLastItem", lldb::eSymbolContextLastItem)},
77986     {SWIG_LUA_CONSTTAB_INT("ePermissionsWritable", lldb::ePermissionsWritable)},
77987     {SWIG_LUA_CONSTTAB_INT("ePermissionsReadable", lldb::ePermissionsReadable)},
77988     {SWIG_LUA_CONSTTAB_INT("ePermissionsExecutable", lldb::ePermissionsExecutable)},
77989     {SWIG_LUA_CONSTTAB_INT("eInputReaderActivate", lldb::eInputReaderActivate)},
77990     {SWIG_LUA_CONSTTAB_INT("eInputReaderAsynchronousOutputWritten", lldb::eInputReaderAsynchronousOutputWritten)},
77991     {SWIG_LUA_CONSTTAB_INT("eInputReaderReactivate", lldb::eInputReaderReactivate)},
77992     {SWIG_LUA_CONSTTAB_INT("eInputReaderDeactivate", lldb::eInputReaderDeactivate)},
77993     {SWIG_LUA_CONSTTAB_INT("eInputReaderGotToken", lldb::eInputReaderGotToken)},
77994     {SWIG_LUA_CONSTTAB_INT("eInputReaderInterrupt", lldb::eInputReaderInterrupt)},
77995     {SWIG_LUA_CONSTTAB_INT("eInputReaderEndOfFile", lldb::eInputReaderEndOfFile)},
77996     {SWIG_LUA_CONSTTAB_INT("eInputReaderDone", lldb::eInputReaderDone)},
77997     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeInvalidType", lldb::eBreakpointEventTypeInvalidType)},
77998     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeAdded", lldb::eBreakpointEventTypeAdded)},
77999     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeRemoved", lldb::eBreakpointEventTypeRemoved)},
78000     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeLocationsAdded", lldb::eBreakpointEventTypeLocationsAdded)},
78001     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeLocationsRemoved", lldb::eBreakpointEventTypeLocationsRemoved)},
78002     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeLocationsResolved", lldb::eBreakpointEventTypeLocationsResolved)},
78003     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeEnabled", lldb::eBreakpointEventTypeEnabled)},
78004     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeDisabled", lldb::eBreakpointEventTypeDisabled)},
78005     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeCommandChanged", lldb::eBreakpointEventTypeCommandChanged)},
78006     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeConditionChanged", lldb::eBreakpointEventTypeConditionChanged)},
78007     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeIgnoreChanged", lldb::eBreakpointEventTypeIgnoreChanged)},
78008     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeThreadChanged", lldb::eBreakpointEventTypeThreadChanged)},
78009     {SWIG_LUA_CONSTTAB_INT("eBreakpointEventTypeAutoContinueChanged", lldb::eBreakpointEventTypeAutoContinueChanged)},
78010     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeInvalidType", lldb::eWatchpointEventTypeInvalidType)},
78011     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeAdded", lldb::eWatchpointEventTypeAdded)},
78012     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeRemoved", lldb::eWatchpointEventTypeRemoved)},
78013     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeEnabled", lldb::eWatchpointEventTypeEnabled)},
78014     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeDisabled", lldb::eWatchpointEventTypeDisabled)},
78015     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeCommandChanged", lldb::eWatchpointEventTypeCommandChanged)},
78016     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeConditionChanged", lldb::eWatchpointEventTypeConditionChanged)},
78017     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeIgnoreChanged", lldb::eWatchpointEventTypeIgnoreChanged)},
78018     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeThreadChanged", lldb::eWatchpointEventTypeThreadChanged)},
78019     {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeTypeChanged", lldb::eWatchpointEventTypeTypeChanged)},
78020     {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeDisabled", lldb::eWatchpointWriteTypeDisabled)},
78021     {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeAlways", lldb::eWatchpointWriteTypeAlways)},
78022     {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeOnModify", lldb::eWatchpointWriteTypeOnModify)},
78023     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeUnknown", lldb::eLanguageTypeUnknown)},
78024     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC89", lldb::eLanguageTypeC89)},
78025     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC", lldb::eLanguageTypeC)},
78026     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeAda83", lldb::eLanguageTypeAda83)},
78027     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus", lldb::eLanguageTypeC_plus_plus)},
78028     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeCobol74", lldb::eLanguageTypeCobol74)},
78029     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeCobol85", lldb::eLanguageTypeCobol85)},
78030     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran77", lldb::eLanguageTypeFortran77)},
78031     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran90", lldb::eLanguageTypeFortran90)},
78032     {SWIG_LUA_CONSTTAB_INT("eLanguageTypePascal83", lldb::eLanguageTypePascal83)},
78033     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeModula2", lldb::eLanguageTypeModula2)},
78034     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeJava", lldb::eLanguageTypeJava)},
78035     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC99", lldb::eLanguageTypeC99)},
78036     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeAda95", lldb::eLanguageTypeAda95)},
78037     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran95", lldb::eLanguageTypeFortran95)},
78038     {SWIG_LUA_CONSTTAB_INT("eLanguageTypePLI", lldb::eLanguageTypePLI)},
78039     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeObjC", lldb::eLanguageTypeObjC)},
78040     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeObjC_plus_plus", lldb::eLanguageTypeObjC_plus_plus)},
78041     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeUPC", lldb::eLanguageTypeUPC)},
78042     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeD", lldb::eLanguageTypeD)},
78043     {SWIG_LUA_CONSTTAB_INT("eLanguageTypePython", lldb::eLanguageTypePython)},
78044     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeOpenCL", lldb::eLanguageTypeOpenCL)},
78045     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeGo", lldb::eLanguageTypeGo)},
78046     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeModula3", lldb::eLanguageTypeModula3)},
78047     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeHaskell", lldb::eLanguageTypeHaskell)},
78048     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus_03", lldb::eLanguageTypeC_plus_plus_03)},
78049     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus_11", lldb::eLanguageTypeC_plus_plus_11)},
78050     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeOCaml", lldb::eLanguageTypeOCaml)},
78051     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeRust", lldb::eLanguageTypeRust)},
78052     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC11", lldb::eLanguageTypeC11)},
78053     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeSwift", lldb::eLanguageTypeSwift)},
78054     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeJulia", lldb::eLanguageTypeJulia)},
78055     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeDylan", lldb::eLanguageTypeDylan)},
78056     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus_14", lldb::eLanguageTypeC_plus_plus_14)},
78057     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran03", lldb::eLanguageTypeFortran03)},
78058     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran08", lldb::eLanguageTypeFortran08)},
78059     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeRenderScript", lldb::eLanguageTypeRenderScript)},
78060     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeBLISS", lldb::eLanguageTypeBLISS)},
78061     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeKotlin", lldb::eLanguageTypeKotlin)},
78062     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeZig", lldb::eLanguageTypeZig)},
78063     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeCrystal", lldb::eLanguageTypeCrystal)},
78064     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus_17", lldb::eLanguageTypeC_plus_plus_17)},
78065     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_plus_plus_20", lldb::eLanguageTypeC_plus_plus_20)},
78066     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC17", lldb::eLanguageTypeC17)},
78067     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeFortran18", lldb::eLanguageTypeFortran18)},
78068     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeAda2005", lldb::eLanguageTypeAda2005)},
78069     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeAda2012", lldb::eLanguageTypeAda2012)},
78070     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeHIP", lldb::eLanguageTypeHIP)},
78071     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeAssembly", lldb::eLanguageTypeAssembly)},
78072     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC_sharp", lldb::eLanguageTypeC_sharp)},
78073     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeMojo", lldb::eLanguageTypeMojo)},
78074     {SWIG_LUA_CONSTTAB_INT("eLanguageTypeMipsAssembler", lldb::eLanguageTypeMipsAssembler)},
78075     {SWIG_LUA_CONSTTAB_INT("eNumLanguageTypes", lldb::eNumLanguageTypes)},
78076     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeAddressSanitizer", lldb::eInstrumentationRuntimeTypeAddressSanitizer)},
78077     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeThreadSanitizer", lldb::eInstrumentationRuntimeTypeThreadSanitizer)},
78078     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer", lldb::eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer)},
78079     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeMainThreadChecker", lldb::eInstrumentationRuntimeTypeMainThreadChecker)},
78080     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeSwiftRuntimeReporting", lldb::eInstrumentationRuntimeTypeSwiftRuntimeReporting)},
78081     {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeLibsanitizersAsan", lldb::eInstrumentationRuntimeTypeLibsanitizersAsan)},
78082     {SWIG_LUA_CONSTTAB_INT("eNumInstrumentationRuntimeTypes", lldb::eNumInstrumentationRuntimeTypes)},
78083     {SWIG_LUA_CONSTTAB_INT("eNoDynamicValues", lldb::eNoDynamicValues)},
78084     {SWIG_LUA_CONSTTAB_INT("eDynamicCanRunTarget", lldb::eDynamicCanRunTarget)},
78085     {SWIG_LUA_CONSTTAB_INT("eDynamicDontRunTarget", lldb::eDynamicDontRunTarget)},
78086     {SWIG_LUA_CONSTTAB_INT("eStopShowColumnAnsiOrCaret", lldb::eStopShowColumnAnsiOrCaret)},
78087     {SWIG_LUA_CONSTTAB_INT("eStopShowColumnAnsi", lldb::eStopShowColumnAnsi)},
78088     {SWIG_LUA_CONSTTAB_INT("eStopShowColumnCaret", lldb::eStopShowColumnCaret)},
78089     {SWIG_LUA_CONSTTAB_INT("eStopShowColumnNone", lldb::eStopShowColumnNone)},
78090     {SWIG_LUA_CONSTTAB_INT("eAccessNone", lldb::eAccessNone)},
78091     {SWIG_LUA_CONSTTAB_INT("eAccessPublic", lldb::eAccessPublic)},
78092     {SWIG_LUA_CONSTTAB_INT("eAccessPrivate", lldb::eAccessPrivate)},
78093     {SWIG_LUA_CONSTTAB_INT("eAccessProtected", lldb::eAccessProtected)},
78094     {SWIG_LUA_CONSTTAB_INT("eAccessPackage", lldb::eAccessPackage)},
78095     {SWIG_LUA_CONSTTAB_INT("eArgTypeAddress", lldb::eArgTypeAddress)},
78096     {SWIG_LUA_CONSTTAB_INT("eArgTypeAddressOrExpression", lldb::eArgTypeAddressOrExpression)},
78097     {SWIG_LUA_CONSTTAB_INT("eArgTypeAliasName", lldb::eArgTypeAliasName)},
78098     {SWIG_LUA_CONSTTAB_INT("eArgTypeAliasOptions", lldb::eArgTypeAliasOptions)},
78099     {SWIG_LUA_CONSTTAB_INT("eArgTypeArchitecture", lldb::eArgTypeArchitecture)},
78100     {SWIG_LUA_CONSTTAB_INT("eArgTypeBoolean", lldb::eArgTypeBoolean)},
78101     {SWIG_LUA_CONSTTAB_INT("eArgTypeBreakpointID", lldb::eArgTypeBreakpointID)},
78102     {SWIG_LUA_CONSTTAB_INT("eArgTypeBreakpointIDRange", lldb::eArgTypeBreakpointIDRange)},
78103     {SWIG_LUA_CONSTTAB_INT("eArgTypeBreakpointName", lldb::eArgTypeBreakpointName)},
78104     {SWIG_LUA_CONSTTAB_INT("eArgTypeByteSize", lldb::eArgTypeByteSize)},
78105     {SWIG_LUA_CONSTTAB_INT("eArgTypeClassName", lldb::eArgTypeClassName)},
78106     {SWIG_LUA_CONSTTAB_INT("eArgTypeCommandName", lldb::eArgTypeCommandName)},
78107     {SWIG_LUA_CONSTTAB_INT("eArgTypeCount", lldb::eArgTypeCount)},
78108     {SWIG_LUA_CONSTTAB_INT("eArgTypeDescriptionVerbosity", lldb::eArgTypeDescriptionVerbosity)},
78109     {SWIG_LUA_CONSTTAB_INT("eArgTypeDirectoryName", lldb::eArgTypeDirectoryName)},
78110     {SWIG_LUA_CONSTTAB_INT("eArgTypeDisassemblyFlavor", lldb::eArgTypeDisassemblyFlavor)},
78111     {SWIG_LUA_CONSTTAB_INT("eArgTypeEndAddress", lldb::eArgTypeEndAddress)},
78112     {SWIG_LUA_CONSTTAB_INT("eArgTypeExpression", lldb::eArgTypeExpression)},
78113     {SWIG_LUA_CONSTTAB_INT("eArgTypeExpressionPath", lldb::eArgTypeExpressionPath)},
78114     {SWIG_LUA_CONSTTAB_INT("eArgTypeExprFormat", lldb::eArgTypeExprFormat)},
78115     {SWIG_LUA_CONSTTAB_INT("eArgTypeFileLineColumn", lldb::eArgTypeFileLineColumn)},
78116     {SWIG_LUA_CONSTTAB_INT("eArgTypeFilename", lldb::eArgTypeFilename)},
78117     {SWIG_LUA_CONSTTAB_INT("eArgTypeFormat", lldb::eArgTypeFormat)},
78118     {SWIG_LUA_CONSTTAB_INT("eArgTypeFrameIndex", lldb::eArgTypeFrameIndex)},
78119     {SWIG_LUA_CONSTTAB_INT("eArgTypeFullName", lldb::eArgTypeFullName)},
78120     {SWIG_LUA_CONSTTAB_INT("eArgTypeFunctionName", lldb::eArgTypeFunctionName)},
78121     {SWIG_LUA_CONSTTAB_INT("eArgTypeFunctionOrSymbol", lldb::eArgTypeFunctionOrSymbol)},
78122     {SWIG_LUA_CONSTTAB_INT("eArgTypeGDBFormat", lldb::eArgTypeGDBFormat)},
78123     {SWIG_LUA_CONSTTAB_INT("eArgTypeHelpText", lldb::eArgTypeHelpText)},
78124     {SWIG_LUA_CONSTTAB_INT("eArgTypeIndex", lldb::eArgTypeIndex)},
78125     {SWIG_LUA_CONSTTAB_INT("eArgTypeLanguage", lldb::eArgTypeLanguage)},
78126     {SWIG_LUA_CONSTTAB_INT("eArgTypeLineNum", lldb::eArgTypeLineNum)},
78127     {SWIG_LUA_CONSTTAB_INT("eArgTypeLogCategory", lldb::eArgTypeLogCategory)},
78128     {SWIG_LUA_CONSTTAB_INT("eArgTypeLogChannel", lldb::eArgTypeLogChannel)},
78129     {SWIG_LUA_CONSTTAB_INT("eArgTypeMethod", lldb::eArgTypeMethod)},
78130     {SWIG_LUA_CONSTTAB_INT("eArgTypeName", lldb::eArgTypeName)},
78131     {SWIG_LUA_CONSTTAB_INT("eArgTypeNewPathPrefix", lldb::eArgTypeNewPathPrefix)},
78132     {SWIG_LUA_CONSTTAB_INT("eArgTypeNumLines", lldb::eArgTypeNumLines)},
78133     {SWIG_LUA_CONSTTAB_INT("eArgTypeNumberPerLine", lldb::eArgTypeNumberPerLine)},
78134     {SWIG_LUA_CONSTTAB_INT("eArgTypeOffset", lldb::eArgTypeOffset)},
78135     {SWIG_LUA_CONSTTAB_INT("eArgTypeOldPathPrefix", lldb::eArgTypeOldPathPrefix)},
78136     {SWIG_LUA_CONSTTAB_INT("eArgTypeOneLiner", lldb::eArgTypeOneLiner)},
78137     {SWIG_LUA_CONSTTAB_INT("eArgTypePath", lldb::eArgTypePath)},
78138     {SWIG_LUA_CONSTTAB_INT("eArgTypePermissionsNumber", lldb::eArgTypePermissionsNumber)},
78139     {SWIG_LUA_CONSTTAB_INT("eArgTypePermissionsString", lldb::eArgTypePermissionsString)},
78140     {SWIG_LUA_CONSTTAB_INT("eArgTypePid", lldb::eArgTypePid)},
78141     {SWIG_LUA_CONSTTAB_INT("eArgTypePlugin", lldb::eArgTypePlugin)},
78142     {SWIG_LUA_CONSTTAB_INT("eArgTypeProcessName", lldb::eArgTypeProcessName)},
78143     {SWIG_LUA_CONSTTAB_INT("eArgTypePythonClass", lldb::eArgTypePythonClass)},
78144     {SWIG_LUA_CONSTTAB_INT("eArgTypePythonFunction", lldb::eArgTypePythonFunction)},
78145     {SWIG_LUA_CONSTTAB_INT("eArgTypePythonScript", lldb::eArgTypePythonScript)},
78146     {SWIG_LUA_CONSTTAB_INT("eArgTypeQueueName", lldb::eArgTypeQueueName)},
78147     {SWIG_LUA_CONSTTAB_INT("eArgTypeRegisterName", lldb::eArgTypeRegisterName)},
78148     {SWIG_LUA_CONSTTAB_INT("eArgTypeRegularExpression", lldb::eArgTypeRegularExpression)},
78149     {SWIG_LUA_CONSTTAB_INT("eArgTypeRunArgs", lldb::eArgTypeRunArgs)},
78150     {SWIG_LUA_CONSTTAB_INT("eArgTypeRunMode", lldb::eArgTypeRunMode)},
78151     {SWIG_LUA_CONSTTAB_INT("eArgTypeScriptedCommandSynchronicity", lldb::eArgTypeScriptedCommandSynchronicity)},
78152     {SWIG_LUA_CONSTTAB_INT("eArgTypeScriptLang", lldb::eArgTypeScriptLang)},
78153     {SWIG_LUA_CONSTTAB_INT("eArgTypeSearchWord", lldb::eArgTypeSearchWord)},
78154     {SWIG_LUA_CONSTTAB_INT("eArgTypeSelector", lldb::eArgTypeSelector)},
78155     {SWIG_LUA_CONSTTAB_INT("eArgTypeSettingIndex", lldb::eArgTypeSettingIndex)},
78156     {SWIG_LUA_CONSTTAB_INT("eArgTypeSettingKey", lldb::eArgTypeSettingKey)},
78157     {SWIG_LUA_CONSTTAB_INT("eArgTypeSettingPrefix", lldb::eArgTypeSettingPrefix)},
78158     {SWIG_LUA_CONSTTAB_INT("eArgTypeSettingVariableName", lldb::eArgTypeSettingVariableName)},
78159     {SWIG_LUA_CONSTTAB_INT("eArgTypeShlibName", lldb::eArgTypeShlibName)},
78160     {SWIG_LUA_CONSTTAB_INT("eArgTypeSourceFile", lldb::eArgTypeSourceFile)},
78161     {SWIG_LUA_CONSTTAB_INT("eArgTypeSortOrder", lldb::eArgTypeSortOrder)},
78162     {SWIG_LUA_CONSTTAB_INT("eArgTypeStartAddress", lldb::eArgTypeStartAddress)},
78163     {SWIG_LUA_CONSTTAB_INT("eArgTypeSummaryString", lldb::eArgTypeSummaryString)},
78164     {SWIG_LUA_CONSTTAB_INT("eArgTypeSymbol", lldb::eArgTypeSymbol)},
78165     {SWIG_LUA_CONSTTAB_INT("eArgTypeThreadID", lldb::eArgTypeThreadID)},
78166     {SWIG_LUA_CONSTTAB_INT("eArgTypeThreadIndex", lldb::eArgTypeThreadIndex)},
78167     {SWIG_LUA_CONSTTAB_INT("eArgTypeThreadName", lldb::eArgTypeThreadName)},
78168     {SWIG_LUA_CONSTTAB_INT("eArgTypeTypeName", lldb::eArgTypeTypeName)},
78169     {SWIG_LUA_CONSTTAB_INT("eArgTypeUnsignedInteger", lldb::eArgTypeUnsignedInteger)},
78170     {SWIG_LUA_CONSTTAB_INT("eArgTypeUnixSignal", lldb::eArgTypeUnixSignal)},
78171     {SWIG_LUA_CONSTTAB_INT("eArgTypeVarName", lldb::eArgTypeVarName)},
78172     {SWIG_LUA_CONSTTAB_INT("eArgTypeValue", lldb::eArgTypeValue)},
78173     {SWIG_LUA_CONSTTAB_INT("eArgTypeWidth", lldb::eArgTypeWidth)},
78174     {SWIG_LUA_CONSTTAB_INT("eArgTypeNone", lldb::eArgTypeNone)},
78175     {SWIG_LUA_CONSTTAB_INT("eArgTypePlatform", lldb::eArgTypePlatform)},
78176     {SWIG_LUA_CONSTTAB_INT("eArgTypeWatchpointID", lldb::eArgTypeWatchpointID)},
78177     {SWIG_LUA_CONSTTAB_INT("eArgTypeWatchpointIDRange", lldb::eArgTypeWatchpointIDRange)},
78178     {SWIG_LUA_CONSTTAB_INT("eArgTypeWatchType", lldb::eArgTypeWatchType)},
78179     {SWIG_LUA_CONSTTAB_INT("eArgRawInput", lldb::eArgRawInput)},
78180     {SWIG_LUA_CONSTTAB_INT("eArgTypeCommand", lldb::eArgTypeCommand)},
78181     {SWIG_LUA_CONSTTAB_INT("eArgTypeColumnNum", lldb::eArgTypeColumnNum)},
78182     {SWIG_LUA_CONSTTAB_INT("eArgTypeModuleUUID", lldb::eArgTypeModuleUUID)},
78183     {SWIG_LUA_CONSTTAB_INT("eArgTypeSaveCoreStyle", lldb::eArgTypeSaveCoreStyle)},
78184     {SWIG_LUA_CONSTTAB_INT("eArgTypeLogHandler", lldb::eArgTypeLogHandler)},
78185     {SWIG_LUA_CONSTTAB_INT("eArgTypeSEDStylePair", lldb::eArgTypeSEDStylePair)},
78186     {SWIG_LUA_CONSTTAB_INT("eArgTypeRecognizerID", lldb::eArgTypeRecognizerID)},
78187     {SWIG_LUA_CONSTTAB_INT("eArgTypeConnectURL", lldb::eArgTypeConnectURL)},
78188     {SWIG_LUA_CONSTTAB_INT("eArgTypeTargetID", lldb::eArgTypeTargetID)},
78189     {SWIG_LUA_CONSTTAB_INT("eArgTypeStopHookID", lldb::eArgTypeStopHookID)},
78190     {SWIG_LUA_CONSTTAB_INT("eArgTypeCompletionType", lldb::eArgTypeCompletionType)},
78191     {SWIG_LUA_CONSTTAB_INT("eArgTypeLastArg", lldb::eArgTypeLastArg)},
78192     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeAny", lldb::eSymbolTypeAny)},
78193     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeInvalid", lldb::eSymbolTypeInvalid)},
78194     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeAbsolute", lldb::eSymbolTypeAbsolute)},
78195     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeCode", lldb::eSymbolTypeCode)},
78196     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeResolver", lldb::eSymbolTypeResolver)},
78197     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeData", lldb::eSymbolTypeData)},
78198     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeTrampoline", lldb::eSymbolTypeTrampoline)},
78199     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeRuntime", lldb::eSymbolTypeRuntime)},
78200     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeException", lldb::eSymbolTypeException)},
78201     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeSourceFile", lldb::eSymbolTypeSourceFile)},
78202     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeHeaderFile", lldb::eSymbolTypeHeaderFile)},
78203     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeObjectFile", lldb::eSymbolTypeObjectFile)},
78204     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeCommonBlock", lldb::eSymbolTypeCommonBlock)},
78205     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeBlock", lldb::eSymbolTypeBlock)},
78206     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeLocal", lldb::eSymbolTypeLocal)},
78207     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeParam", lldb::eSymbolTypeParam)},
78208     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeVariable", lldb::eSymbolTypeVariable)},
78209     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeVariableType", lldb::eSymbolTypeVariableType)},
78210     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeLineEntry", lldb::eSymbolTypeLineEntry)},
78211     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeLineHeader", lldb::eSymbolTypeLineHeader)},
78212     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeScopeBegin", lldb::eSymbolTypeScopeBegin)},
78213     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeScopeEnd", lldb::eSymbolTypeScopeEnd)},
78214     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeAdditional", lldb::eSymbolTypeAdditional)},
78215     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeCompiler", lldb::eSymbolTypeCompiler)},
78216     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeInstrumentation", lldb::eSymbolTypeInstrumentation)},
78217     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeUndefined", lldb::eSymbolTypeUndefined)},
78218     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeObjCClass", lldb::eSymbolTypeObjCClass)},
78219     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeObjCMetaClass", lldb::eSymbolTypeObjCMetaClass)},
78220     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeObjCIVar", lldb::eSymbolTypeObjCIVar)},
78221     {SWIG_LUA_CONSTTAB_INT("eSymbolTypeReExported", lldb::eSymbolTypeReExported)},
78222     {SWIG_LUA_CONSTTAB_INT("eSectionTypeInvalid", lldb::eSectionTypeInvalid)},
78223     {SWIG_LUA_CONSTTAB_INT("eSectionTypeCode", lldb::eSectionTypeCode)},
78224     {SWIG_LUA_CONSTTAB_INT("eSectionTypeContainer", lldb::eSectionTypeContainer)},
78225     {SWIG_LUA_CONSTTAB_INT("eSectionTypeData", lldb::eSectionTypeData)},
78226     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataCString", lldb::eSectionTypeDataCString)},
78227     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataCStringPointers", lldb::eSectionTypeDataCStringPointers)},
78228     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataSymbolAddress", lldb::eSectionTypeDataSymbolAddress)},
78229     {SWIG_LUA_CONSTTAB_INT("eSectionTypeData4", lldb::eSectionTypeData4)},
78230     {SWIG_LUA_CONSTTAB_INT("eSectionTypeData8", lldb::eSectionTypeData8)},
78231     {SWIG_LUA_CONSTTAB_INT("eSectionTypeData16", lldb::eSectionTypeData16)},
78232     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataPointers", lldb::eSectionTypeDataPointers)},
78233     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDebug", lldb::eSectionTypeDebug)},
78234     {SWIG_LUA_CONSTTAB_INT("eSectionTypeZeroFill", lldb::eSectionTypeZeroFill)},
78235     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataObjCMessageRefs", lldb::eSectionTypeDataObjCMessageRefs)},
78236     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDataObjCCFStrings", lldb::eSectionTypeDataObjCCFStrings)},
78237     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugAbbrev", lldb::eSectionTypeDWARFDebugAbbrev)},
78238     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugAddr", lldb::eSectionTypeDWARFDebugAddr)},
78239     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugAranges", lldb::eSectionTypeDWARFDebugAranges)},
78240     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugCuIndex", lldb::eSectionTypeDWARFDebugCuIndex)},
78241     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugFrame", lldb::eSectionTypeDWARFDebugFrame)},
78242     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugInfo", lldb::eSectionTypeDWARFDebugInfo)},
78243     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLine", lldb::eSectionTypeDWARFDebugLine)},
78244     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLoc", lldb::eSectionTypeDWARFDebugLoc)},
78245     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugMacInfo", lldb::eSectionTypeDWARFDebugMacInfo)},
78246     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugMacro", lldb::eSectionTypeDWARFDebugMacro)},
78247     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugPubNames", lldb::eSectionTypeDWARFDebugPubNames)},
78248     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugPubTypes", lldb::eSectionTypeDWARFDebugPubTypes)},
78249     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugRanges", lldb::eSectionTypeDWARFDebugRanges)},
78250     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugStr", lldb::eSectionTypeDWARFDebugStr)},
78251     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugStrOffsets", lldb::eSectionTypeDWARFDebugStrOffsets)},
78252     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFAppleNames", lldb::eSectionTypeDWARFAppleNames)},
78253     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFAppleTypes", lldb::eSectionTypeDWARFAppleTypes)},
78254     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFAppleNamespaces", lldb::eSectionTypeDWARFAppleNamespaces)},
78255     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFAppleObjC", lldb::eSectionTypeDWARFAppleObjC)},
78256     {SWIG_LUA_CONSTTAB_INT("eSectionTypeELFSymbolTable", lldb::eSectionTypeELFSymbolTable)},
78257     {SWIG_LUA_CONSTTAB_INT("eSectionTypeELFDynamicSymbols", lldb::eSectionTypeELFDynamicSymbols)},
78258     {SWIG_LUA_CONSTTAB_INT("eSectionTypeELFRelocationEntries", lldb::eSectionTypeELFRelocationEntries)},
78259     {SWIG_LUA_CONSTTAB_INT("eSectionTypeELFDynamicLinkInfo", lldb::eSectionTypeELFDynamicLinkInfo)},
78260     {SWIG_LUA_CONSTTAB_INT("eSectionTypeEHFrame", lldb::eSectionTypeEHFrame)},
78261     {SWIG_LUA_CONSTTAB_INT("eSectionTypeARMexidx", lldb::eSectionTypeARMexidx)},
78262     {SWIG_LUA_CONSTTAB_INT("eSectionTypeARMextab", lldb::eSectionTypeARMextab)},
78263     {SWIG_LUA_CONSTTAB_INT("eSectionTypeCompactUnwind", lldb::eSectionTypeCompactUnwind)},
78264     {SWIG_LUA_CONSTTAB_INT("eSectionTypeGoSymtab", lldb::eSectionTypeGoSymtab)},
78265     {SWIG_LUA_CONSTTAB_INT("eSectionTypeAbsoluteAddress", lldb::eSectionTypeAbsoluteAddress)},
78266     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFGNUDebugAltLink", lldb::eSectionTypeDWARFGNUDebugAltLink)},
78267     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugTypes", lldb::eSectionTypeDWARFDebugTypes)},
78268     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugNames", lldb::eSectionTypeDWARFDebugNames)},
78269     {SWIG_LUA_CONSTTAB_INT("eSectionTypeOther", lldb::eSectionTypeOther)},
78270     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLineStr", lldb::eSectionTypeDWARFDebugLineStr)},
78271     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugRngLists", lldb::eSectionTypeDWARFDebugRngLists)},
78272     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLocLists", lldb::eSectionTypeDWARFDebugLocLists)},
78273     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugAbbrevDwo", lldb::eSectionTypeDWARFDebugAbbrevDwo)},
78274     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugInfoDwo", lldb::eSectionTypeDWARFDebugInfoDwo)},
78275     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugStrDwo", lldb::eSectionTypeDWARFDebugStrDwo)},
78276     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugStrOffsetsDwo", lldb::eSectionTypeDWARFDebugStrOffsetsDwo)},
78277     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugTypesDwo", lldb::eSectionTypeDWARFDebugTypesDwo)},
78278     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugRngListsDwo", lldb::eSectionTypeDWARFDebugRngListsDwo)},
78279     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLocDwo", lldb::eSectionTypeDWARFDebugLocDwo)},
78280     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLocListsDwo", lldb::eSectionTypeDWARFDebugLocListsDwo)},
78281     {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugTuIndex", lldb::eSectionTypeDWARFDebugTuIndex)},
78282     {SWIG_LUA_CONSTTAB_INT("eSectionTypeCTF", lldb::eSectionTypeCTF)},
78283     {SWIG_LUA_CONSTTAB_INT("eSectionTypeSwiftModules", lldb::eSectionTypeSwiftModules)},
78284     {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionNone", lldb::eEmulateInstructionOptionNone)},
78285     {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionAutoAdvancePC", lldb::eEmulateInstructionOptionAutoAdvancePC)},
78286     {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionIgnoreConditions", lldb::eEmulateInstructionOptionIgnoreConditions)},
78287     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeNone", lldb::eFunctionNameTypeNone)},
78288     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeAuto", lldb::eFunctionNameTypeAuto)},
78289     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeFull", lldb::eFunctionNameTypeFull)},
78290     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeBase", lldb::eFunctionNameTypeBase)},
78291     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeMethod", lldb::eFunctionNameTypeMethod)},
78292     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeSelector", lldb::eFunctionNameTypeSelector)},
78293     {SWIG_LUA_CONSTTAB_INT("eFunctionNameTypeAny", lldb::eFunctionNameTypeAny)},
78294     {SWIG_LUA_CONSTTAB_INT("eBasicTypeInvalid", lldb::eBasicTypeInvalid)},
78295     {SWIG_LUA_CONSTTAB_INT("eBasicTypeVoid", lldb::eBasicTypeVoid)},
78296     {SWIG_LUA_CONSTTAB_INT("eBasicTypeChar", lldb::eBasicTypeChar)},
78297     {SWIG_LUA_CONSTTAB_INT("eBasicTypeSignedChar", lldb::eBasicTypeSignedChar)},
78298     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedChar", lldb::eBasicTypeUnsignedChar)},
78299     {SWIG_LUA_CONSTTAB_INT("eBasicTypeWChar", lldb::eBasicTypeWChar)},
78300     {SWIG_LUA_CONSTTAB_INT("eBasicTypeSignedWChar", lldb::eBasicTypeSignedWChar)},
78301     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedWChar", lldb::eBasicTypeUnsignedWChar)},
78302     {SWIG_LUA_CONSTTAB_INT("eBasicTypeChar16", lldb::eBasicTypeChar16)},
78303     {SWIG_LUA_CONSTTAB_INT("eBasicTypeChar32", lldb::eBasicTypeChar32)},
78304     {SWIG_LUA_CONSTTAB_INT("eBasicTypeChar8", lldb::eBasicTypeChar8)},
78305     {SWIG_LUA_CONSTTAB_INT("eBasicTypeShort", lldb::eBasicTypeShort)},
78306     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedShort", lldb::eBasicTypeUnsignedShort)},
78307     {SWIG_LUA_CONSTTAB_INT("eBasicTypeInt", lldb::eBasicTypeInt)},
78308     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedInt", lldb::eBasicTypeUnsignedInt)},
78309     {SWIG_LUA_CONSTTAB_INT("eBasicTypeLong", lldb::eBasicTypeLong)},
78310     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedLong", lldb::eBasicTypeUnsignedLong)},
78311     {SWIG_LUA_CONSTTAB_INT("eBasicTypeLongLong", lldb::eBasicTypeLongLong)},
78312     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedLongLong", lldb::eBasicTypeUnsignedLongLong)},
78313     {SWIG_LUA_CONSTTAB_INT("eBasicTypeInt128", lldb::eBasicTypeInt128)},
78314     {SWIG_LUA_CONSTTAB_INT("eBasicTypeUnsignedInt128", lldb::eBasicTypeUnsignedInt128)},
78315     {SWIG_LUA_CONSTTAB_INT("eBasicTypeBool", lldb::eBasicTypeBool)},
78316     {SWIG_LUA_CONSTTAB_INT("eBasicTypeHalf", lldb::eBasicTypeHalf)},
78317     {SWIG_LUA_CONSTTAB_INT("eBasicTypeFloat", lldb::eBasicTypeFloat)},
78318     {SWIG_LUA_CONSTTAB_INT("eBasicTypeDouble", lldb::eBasicTypeDouble)},
78319     {SWIG_LUA_CONSTTAB_INT("eBasicTypeLongDouble", lldb::eBasicTypeLongDouble)},
78320     {SWIG_LUA_CONSTTAB_INT("eBasicTypeFloatComplex", lldb::eBasicTypeFloatComplex)},
78321     {SWIG_LUA_CONSTTAB_INT("eBasicTypeDoubleComplex", lldb::eBasicTypeDoubleComplex)},
78322     {SWIG_LUA_CONSTTAB_INT("eBasicTypeLongDoubleComplex", lldb::eBasicTypeLongDoubleComplex)},
78323     {SWIG_LUA_CONSTTAB_INT("eBasicTypeObjCID", lldb::eBasicTypeObjCID)},
78324     {SWIG_LUA_CONSTTAB_INT("eBasicTypeObjCClass", lldb::eBasicTypeObjCClass)},
78325     {SWIG_LUA_CONSTTAB_INT("eBasicTypeObjCSel", lldb::eBasicTypeObjCSel)},
78326     {SWIG_LUA_CONSTTAB_INT("eBasicTypeNullPtr", lldb::eBasicTypeNullPtr)},
78327     {SWIG_LUA_CONSTTAB_INT("eBasicTypeOther", lldb::eBasicTypeOther)},
78328     {SWIG_LUA_CONSTTAB_INT("eTraceTypeNone", lldb::eTraceTypeNone)},
78329     {SWIG_LUA_CONSTTAB_INT("eTraceTypeProcessorTrace", lldb::eTraceTypeProcessorTrace)},
78330     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeInvalid", lldb::eStructuredDataTypeInvalid)},
78331     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeNull", lldb::eStructuredDataTypeNull)},
78332     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeGeneric", lldb::eStructuredDataTypeGeneric)},
78333     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeArray", lldb::eStructuredDataTypeArray)},
78334     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeInteger", lldb::eStructuredDataTypeInteger)},
78335     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeFloat", lldb::eStructuredDataTypeFloat)},
78336     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeBoolean", lldb::eStructuredDataTypeBoolean)},
78337     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeString", lldb::eStructuredDataTypeString)},
78338     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeDictionary", lldb::eStructuredDataTypeDictionary)},
78339     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeSignedInteger", lldb::eStructuredDataTypeSignedInteger)},
78340     {SWIG_LUA_CONSTTAB_INT("eStructuredDataTypeUnsignedInteger", lldb::eStructuredDataTypeUnsignedInteger)},
78341     {SWIG_LUA_CONSTTAB_INT("eTypeClassInvalid", lldb::eTypeClassInvalid)},
78342     {SWIG_LUA_CONSTTAB_INT("eTypeClassArray", lldb::eTypeClassArray)},
78343     {SWIG_LUA_CONSTTAB_INT("eTypeClassBlockPointer", lldb::eTypeClassBlockPointer)},
78344     {SWIG_LUA_CONSTTAB_INT("eTypeClassBuiltin", lldb::eTypeClassBuiltin)},
78345     {SWIG_LUA_CONSTTAB_INT("eTypeClassClass", lldb::eTypeClassClass)},
78346     {SWIG_LUA_CONSTTAB_INT("eTypeClassComplexFloat", lldb::eTypeClassComplexFloat)},
78347     {SWIG_LUA_CONSTTAB_INT("eTypeClassComplexInteger", lldb::eTypeClassComplexInteger)},
78348     {SWIG_LUA_CONSTTAB_INT("eTypeClassEnumeration", lldb::eTypeClassEnumeration)},
78349     {SWIG_LUA_CONSTTAB_INT("eTypeClassFunction", lldb::eTypeClassFunction)},
78350     {SWIG_LUA_CONSTTAB_INT("eTypeClassMemberPointer", lldb::eTypeClassMemberPointer)},
78351     {SWIG_LUA_CONSTTAB_INT("eTypeClassObjCObject", lldb::eTypeClassObjCObject)},
78352     {SWIG_LUA_CONSTTAB_INT("eTypeClassObjCInterface", lldb::eTypeClassObjCInterface)},
78353     {SWIG_LUA_CONSTTAB_INT("eTypeClassObjCObjectPointer", lldb::eTypeClassObjCObjectPointer)},
78354     {SWIG_LUA_CONSTTAB_INT("eTypeClassPointer", lldb::eTypeClassPointer)},
78355     {SWIG_LUA_CONSTTAB_INT("eTypeClassReference", lldb::eTypeClassReference)},
78356     {SWIG_LUA_CONSTTAB_INT("eTypeClassStruct", lldb::eTypeClassStruct)},
78357     {SWIG_LUA_CONSTTAB_INT("eTypeClassTypedef", lldb::eTypeClassTypedef)},
78358     {SWIG_LUA_CONSTTAB_INT("eTypeClassUnion", lldb::eTypeClassUnion)},
78359     {SWIG_LUA_CONSTTAB_INT("eTypeClassVector", lldb::eTypeClassVector)},
78360     {SWIG_LUA_CONSTTAB_INT("eTypeClassOther", lldb::eTypeClassOther)},
78361     {SWIG_LUA_CONSTTAB_INT("eTypeClassAny", lldb::eTypeClassAny)},
78362     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindNull", lldb::eTemplateArgumentKindNull)},
78363     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindType", lldb::eTemplateArgumentKindType)},
78364     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindDeclaration", lldb::eTemplateArgumentKindDeclaration)},
78365     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindIntegral", lldb::eTemplateArgumentKindIntegral)},
78366     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindTemplate", lldb::eTemplateArgumentKindTemplate)},
78367     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindTemplateExpansion", lldb::eTemplateArgumentKindTemplateExpansion)},
78368     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindExpression", lldb::eTemplateArgumentKindExpression)},
78369     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindPack", lldb::eTemplateArgumentKindPack)},
78370     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindNullPtr", lldb::eTemplateArgumentKindNullPtr)},
78371     {SWIG_LUA_CONSTTAB_INT("eTemplateArgumentKindStructuralValue", lldb::eTemplateArgumentKindStructuralValue)},
78372     {SWIG_LUA_CONSTTAB_INT("eFormatterMatchExact", lldb::eFormatterMatchExact)},
78373     {SWIG_LUA_CONSTTAB_INT("eFormatterMatchRegex", lldb::eFormatterMatchRegex)},
78374     {SWIG_LUA_CONSTTAB_INT("eFormatterMatchCallback", lldb::eFormatterMatchCallback)},
78375     {SWIG_LUA_CONSTTAB_INT("eLastFormatterMatchType", lldb::eLastFormatterMatchType)},
78376     {SWIG_LUA_CONSTTAB_INT("eTypeOptionNone", lldb::eTypeOptionNone)},
78377     {SWIG_LUA_CONSTTAB_INT("eTypeOptionCascade", lldb::eTypeOptionCascade)},
78378     {SWIG_LUA_CONSTTAB_INT("eTypeOptionSkipPointers", lldb::eTypeOptionSkipPointers)},
78379     {SWIG_LUA_CONSTTAB_INT("eTypeOptionSkipReferences", lldb::eTypeOptionSkipReferences)},
78380     {SWIG_LUA_CONSTTAB_INT("eTypeOptionHideChildren", lldb::eTypeOptionHideChildren)},
78381     {SWIG_LUA_CONSTTAB_INT("eTypeOptionHideValue", lldb::eTypeOptionHideValue)},
78382     {SWIG_LUA_CONSTTAB_INT("eTypeOptionShowOneLiner", lldb::eTypeOptionShowOneLiner)},
78383     {SWIG_LUA_CONSTTAB_INT("eTypeOptionHideNames", lldb::eTypeOptionHideNames)},
78384     {SWIG_LUA_CONSTTAB_INT("eTypeOptionNonCacheable", lldb::eTypeOptionNonCacheable)},
78385     {SWIG_LUA_CONSTTAB_INT("eTypeOptionHideEmptyAggregates", lldb::eTypeOptionHideEmptyAggregates)},
78386     {SWIG_LUA_CONSTTAB_INT("eTypeOptionFrontEndWantsDereference", lldb::eTypeOptionFrontEndWantsDereference)},
78387     {SWIG_LUA_CONSTTAB_INT("eFrameCompareInvalid", lldb::eFrameCompareInvalid)},
78388     {SWIG_LUA_CONSTTAB_INT("eFrameCompareUnknown", lldb::eFrameCompareUnknown)},
78389     {SWIG_LUA_CONSTTAB_INT("eFrameCompareEqual", lldb::eFrameCompareEqual)},
78390     {SWIG_LUA_CONSTTAB_INT("eFrameCompareSameParent", lldb::eFrameCompareSameParent)},
78391     {SWIG_LUA_CONSTTAB_INT("eFrameCompareYounger", lldb::eFrameCompareYounger)},
78392     {SWIG_LUA_CONSTTAB_INT("eFrameCompareOlder", lldb::eFrameCompareOlder)},
78393     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsUserRead", lldb::eFilePermissionsUserRead)},
78394     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsUserWrite", lldb::eFilePermissionsUserWrite)},
78395     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsUserExecute", lldb::eFilePermissionsUserExecute)},
78396     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupRead", lldb::eFilePermissionsGroupRead)},
78397     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupWrite", lldb::eFilePermissionsGroupWrite)},
78398     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupExecute", lldb::eFilePermissionsGroupExecute)},
78399     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldRead", lldb::eFilePermissionsWorldRead)},
78400     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldWrite", lldb::eFilePermissionsWorldWrite)},
78401     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldExecute", lldb::eFilePermissionsWorldExecute)},
78402     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsUserRW", lldb::eFilePermissionsUserRW)},
78403     {SWIG_LUA_CONSTTAB_INT("eFileFilePermissionsUserRX", lldb::eFileFilePermissionsUserRX)},
78404     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsUserRWX", lldb::eFilePermissionsUserRWX)},
78405     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupRW", lldb::eFilePermissionsGroupRW)},
78406     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupRX", lldb::eFilePermissionsGroupRX)},
78407     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsGroupRWX", lldb::eFilePermissionsGroupRWX)},
78408     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldRW", lldb::eFilePermissionsWorldRW)},
78409     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldRX", lldb::eFilePermissionsWorldRX)},
78410     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsWorldRWX", lldb::eFilePermissionsWorldRWX)},
78411     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneR", lldb::eFilePermissionsEveryoneR)},
78412     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneW", lldb::eFilePermissionsEveryoneW)},
78413     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneX", lldb::eFilePermissionsEveryoneX)},
78414     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneRW", lldb::eFilePermissionsEveryoneRW)},
78415     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneRX", lldb::eFilePermissionsEveryoneRX)},
78416     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsEveryoneRWX", lldb::eFilePermissionsEveryoneRWX)},
78417     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsFileDefault", lldb::eFilePermissionsFileDefault)},
78418     {SWIG_LUA_CONSTTAB_INT("eFilePermissionsDirectoryDefault", lldb::eFilePermissionsDirectoryDefault)},
78419     {SWIG_LUA_CONSTTAB_INT("eQueueItemKindUnknown", lldb::eQueueItemKindUnknown)},
78420     {SWIG_LUA_CONSTTAB_INT("eQueueItemKindFunction", lldb::eQueueItemKindFunction)},
78421     {SWIG_LUA_CONSTTAB_INT("eQueueItemKindBlock", lldb::eQueueItemKindBlock)},
78422     {SWIG_LUA_CONSTTAB_INT("eQueueKindUnknown", lldb::eQueueKindUnknown)},
78423     {SWIG_LUA_CONSTTAB_INT("eQueueKindSerial", lldb::eQueueKindSerial)},
78424     {SWIG_LUA_CONSTTAB_INT("eQueueKindConcurrent", lldb::eQueueKindConcurrent)},
78425     {SWIG_LUA_CONSTTAB_INT("eExpressionEvaluationParse", lldb::eExpressionEvaluationParse)},
78426     {SWIG_LUA_CONSTTAB_INT("eExpressionEvaluationIRGen", lldb::eExpressionEvaluationIRGen)},
78427     {SWIG_LUA_CONSTTAB_INT("eExpressionEvaluationExecution", lldb::eExpressionEvaluationExecution)},
78428     {SWIG_LUA_CONSTTAB_INT("eExpressionEvaluationComplete", lldb::eExpressionEvaluationComplete)},
78429     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindUnknown", lldb::eInstructionControlFlowKindUnknown)},
78430     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindOther", lldb::eInstructionControlFlowKindOther)},
78431     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindCall", lldb::eInstructionControlFlowKindCall)},
78432     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindReturn", lldb::eInstructionControlFlowKindReturn)},
78433     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindJump", lldb::eInstructionControlFlowKindJump)},
78434     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindCondJump", lldb::eInstructionControlFlowKindCondJump)},
78435     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindFarCall", lldb::eInstructionControlFlowKindFarCall)},
78436     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindFarReturn", lldb::eInstructionControlFlowKindFarReturn)},
78437     {SWIG_LUA_CONSTTAB_INT("eInstructionControlFlowKindFarJump", lldb::eInstructionControlFlowKindFarJump)},
78438     {SWIG_LUA_CONSTTAB_INT("eWatchpointKindWrite", lldb::eWatchpointKindWrite)},
78439     {SWIG_LUA_CONSTTAB_INT("eWatchpointKindRead", lldb::eWatchpointKindRead)},
78440     {SWIG_LUA_CONSTTAB_INT("eGdbSignalBadAccess", lldb::eGdbSignalBadAccess)},
78441     {SWIG_LUA_CONSTTAB_INT("eGdbSignalBadInstruction", lldb::eGdbSignalBadInstruction)},
78442     {SWIG_LUA_CONSTTAB_INT("eGdbSignalArithmetic", lldb::eGdbSignalArithmetic)},
78443     {SWIG_LUA_CONSTTAB_INT("eGdbSignalEmulation", lldb::eGdbSignalEmulation)},
78444     {SWIG_LUA_CONSTTAB_INT("eGdbSignalSoftware", lldb::eGdbSignalSoftware)},
78445     {SWIG_LUA_CONSTTAB_INT("eGdbSignalBreakpoint", lldb::eGdbSignalBreakpoint)},
78446     {SWIG_LUA_CONSTTAB_INT("ePathTypeLLDBShlibDir", lldb::ePathTypeLLDBShlibDir)},
78447     {SWIG_LUA_CONSTTAB_INT("ePathTypeSupportExecutableDir", lldb::ePathTypeSupportExecutableDir)},
78448     {SWIG_LUA_CONSTTAB_INT("ePathTypeHeaderDir", lldb::ePathTypeHeaderDir)},
78449     {SWIG_LUA_CONSTTAB_INT("ePathTypePythonDir", lldb::ePathTypePythonDir)},
78450     {SWIG_LUA_CONSTTAB_INT("ePathTypeLLDBSystemPlugins", lldb::ePathTypeLLDBSystemPlugins)},
78451     {SWIG_LUA_CONSTTAB_INT("ePathTypeLLDBUserPlugins", lldb::ePathTypeLLDBUserPlugins)},
78452     {SWIG_LUA_CONSTTAB_INT("ePathTypeLLDBTempSystemDir", lldb::ePathTypeLLDBTempSystemDir)},
78453     {SWIG_LUA_CONSTTAB_INT("ePathTypeGlobalLLDBTempSystemDir", lldb::ePathTypeGlobalLLDBTempSystemDir)},
78454     {SWIG_LUA_CONSTTAB_INT("ePathTypeClangDir", lldb::ePathTypeClangDir)},
78455     {SWIG_LUA_CONSTTAB_INT("eMemberFunctionKindUnknown", lldb::eMemberFunctionKindUnknown)},
78456     {SWIG_LUA_CONSTTAB_INT("eMemberFunctionKindConstructor", lldb::eMemberFunctionKindConstructor)},
78457     {SWIG_LUA_CONSTTAB_INT("eMemberFunctionKindDestructor", lldb::eMemberFunctionKindDestructor)},
78458     {SWIG_LUA_CONSTTAB_INT("eMemberFunctionKindInstanceMethod", lldb::eMemberFunctionKindInstanceMethod)},
78459     {SWIG_LUA_CONSTTAB_INT("eMemberFunctionKindStaticMethod", lldb::eMemberFunctionKindStaticMethod)},
78460     {SWIG_LUA_CONSTTAB_INT("eMatchTypeNormal", lldb::eMatchTypeNormal)},
78461     {SWIG_LUA_CONSTTAB_INT("eMatchTypeRegex", lldb::eMatchTypeRegex)},
78462     {SWIG_LUA_CONSTTAB_INT("eMatchTypeStartsWith", lldb::eMatchTypeStartsWith)},
78463     {SWIG_LUA_CONSTTAB_INT("eTypeHasChildren", lldb::eTypeHasChildren)},
78464     {SWIG_LUA_CONSTTAB_INT("eTypeHasValue", lldb::eTypeHasValue)},
78465     {SWIG_LUA_CONSTTAB_INT("eTypeIsArray", lldb::eTypeIsArray)},
78466     {SWIG_LUA_CONSTTAB_INT("eTypeIsBlock", lldb::eTypeIsBlock)},
78467     {SWIG_LUA_CONSTTAB_INT("eTypeIsBuiltIn", lldb::eTypeIsBuiltIn)},
78468     {SWIG_LUA_CONSTTAB_INT("eTypeIsClass", lldb::eTypeIsClass)},
78469     {SWIG_LUA_CONSTTAB_INT("eTypeIsCPlusPlus", lldb::eTypeIsCPlusPlus)},
78470     {SWIG_LUA_CONSTTAB_INT("eTypeIsEnumeration", lldb::eTypeIsEnumeration)},
78471     {SWIG_LUA_CONSTTAB_INT("eTypeIsFuncPrototype", lldb::eTypeIsFuncPrototype)},
78472     {SWIG_LUA_CONSTTAB_INT("eTypeIsMember", lldb::eTypeIsMember)},
78473     {SWIG_LUA_CONSTTAB_INT("eTypeIsObjC", lldb::eTypeIsObjC)},
78474     {SWIG_LUA_CONSTTAB_INT("eTypeIsPointer", lldb::eTypeIsPointer)},
78475     {SWIG_LUA_CONSTTAB_INT("eTypeIsReference", lldb::eTypeIsReference)},
78476     {SWIG_LUA_CONSTTAB_INT("eTypeIsStructUnion", lldb::eTypeIsStructUnion)},
78477     {SWIG_LUA_CONSTTAB_INT("eTypeIsTemplate", lldb::eTypeIsTemplate)},
78478     {SWIG_LUA_CONSTTAB_INT("eTypeIsTypedef", lldb::eTypeIsTypedef)},
78479     {SWIG_LUA_CONSTTAB_INT("eTypeIsVector", lldb::eTypeIsVector)},
78480     {SWIG_LUA_CONSTTAB_INT("eTypeIsScalar", lldb::eTypeIsScalar)},
78481     {SWIG_LUA_CONSTTAB_INT("eTypeIsInteger", lldb::eTypeIsInteger)},
78482     {SWIG_LUA_CONSTTAB_INT("eTypeIsFloat", lldb::eTypeIsFloat)},
78483     {SWIG_LUA_CONSTTAB_INT("eTypeIsComplex", lldb::eTypeIsComplex)},
78484     {SWIG_LUA_CONSTTAB_INT("eTypeIsSigned", lldb::eTypeIsSigned)},
78485     {SWIG_LUA_CONSTTAB_INT("eTypeInstanceIsPointer", lldb::eTypeInstanceIsPointer)},
78486     {SWIG_LUA_CONSTTAB_INT("eCommandRequiresTarget", lldb::eCommandRequiresTarget)},
78487     {SWIG_LUA_CONSTTAB_INT("eCommandRequiresProcess", lldb::eCommandRequiresProcess)},
78488     {SWIG_LUA_CONSTTAB_INT("eCommandRequiresThread", lldb::eCommandRequiresThread)},
78489     {SWIG_LUA_CONSTTAB_INT("eCommandRequiresFrame", lldb::eCommandRequiresFrame)},
78490     {SWIG_LUA_CONSTTAB_INT("eCommandRequiresRegContext", lldb::eCommandRequiresRegContext)},
78491     {SWIG_LUA_CONSTTAB_INT("eCommandTryTargetAPILock", lldb::eCommandTryTargetAPILock)},
78492     {SWIG_LUA_CONSTTAB_INT("eCommandProcessMustBeLaunched", lldb::eCommandProcessMustBeLaunched)},
78493     {SWIG_LUA_CONSTTAB_INT("eCommandProcessMustBePaused", lldb::eCommandProcessMustBePaused)},
78494     {SWIG_LUA_CONSTTAB_INT("eCommandProcessMustBeTraced", lldb::eCommandProcessMustBeTraced)},
78495     {SWIG_LUA_CONSTTAB_INT("eTypeSummaryCapped", lldb::eTypeSummaryCapped)},
78496     {SWIG_LUA_CONSTTAB_INT("eTypeSummaryUncapped", lldb::eTypeSummaryUncapped)},
78497     {SWIG_LUA_CONSTTAB_INT("eCommandInterpreterResultSuccess", lldb::eCommandInterpreterResultSuccess)},
78498     {SWIG_LUA_CONSTTAB_INT("eCommandInterpreterResultInferiorCrash", lldb::eCommandInterpreterResultInferiorCrash)},
78499     {SWIG_LUA_CONSTTAB_INT("eCommandInterpreterResultCommandError", lldb::eCommandInterpreterResultCommandError)},
78500     {SWIG_LUA_CONSTTAB_INT("eCommandInterpreterResultQuitRequested", lldb::eCommandInterpreterResultQuitRequested)},
78501     {SWIG_LUA_CONSTTAB_INT("eSaveCoreUnspecified", lldb::eSaveCoreUnspecified)},
78502     {SWIG_LUA_CONSTTAB_INT("eSaveCoreFull", lldb::eSaveCoreFull)},
78503     {SWIG_LUA_CONSTTAB_INT("eSaveCoreDirtyOnly", lldb::eSaveCoreDirtyOnly)},
78504     {SWIG_LUA_CONSTTAB_INT("eSaveCoreStackOnly", lldb::eSaveCoreStackOnly)},
78505     {SWIG_LUA_CONSTTAB_INT("eTraceEventDisabledSW", lldb::eTraceEventDisabledSW)},
78506     {SWIG_LUA_CONSTTAB_INT("eTraceEventDisabledHW", lldb::eTraceEventDisabledHW)},
78507     {SWIG_LUA_CONSTTAB_INT("eTraceEventCPUChanged", lldb::eTraceEventCPUChanged)},
78508     {SWIG_LUA_CONSTTAB_INT("eTraceEventHWClockTick", lldb::eTraceEventHWClockTick)},
78509     {SWIG_LUA_CONSTTAB_INT("eTraceEventSyncPoint", lldb::eTraceEventSyncPoint)},
78510     {SWIG_LUA_CONSTTAB_INT("eTraceItemKindError", lldb::eTraceItemKindError)},
78511     {SWIG_LUA_CONSTTAB_INT("eTraceItemKindEvent", lldb::eTraceItemKindEvent)},
78512     {SWIG_LUA_CONSTTAB_INT("eTraceItemKindInstruction", lldb::eTraceItemKindInstruction)},
78513     {SWIG_LUA_CONSTTAB_INT("eTraceCursorSeekTypeBeginning", lldb::eTraceCursorSeekTypeBeginning)},
78514     {SWIG_LUA_CONSTTAB_INT("eTraceCursorSeekTypeCurrent", lldb::eTraceCursorSeekTypeCurrent)},
78515     {SWIG_LUA_CONSTTAB_INT("eTraceCursorSeekTypeEnd", lldb::eTraceCursorSeekTypeEnd)},
78516     {SWIG_LUA_CONSTTAB_INT("eDWIMPrintVerbosityNone", lldb::eDWIMPrintVerbosityNone)},
78517     {SWIG_LUA_CONSTTAB_INT("eDWIMPrintVerbosityExpression", lldb::eDWIMPrintVerbosityExpression)},
78518     {SWIG_LUA_CONSTTAB_INT("eDWIMPrintVerbosityFull", lldb::eDWIMPrintVerbosityFull)},
78519     {SWIG_LUA_CONSTTAB_INT("eWatchPointValueKindInvalid", lldb::eWatchPointValueKindInvalid)},
78520     {SWIG_LUA_CONSTTAB_INT("eWatchPointValueKindVariable", lldb::eWatchPointValueKindVariable)},
78521     {SWIG_LUA_CONSTTAB_INT("eWatchPointValueKindExpression", lldb::eWatchPointValueKindExpression)},
78522     {SWIG_LUA_CONSTTAB_INT("eNoCompletion", lldb::eNoCompletion)},
78523     {SWIG_LUA_CONSTTAB_INT("eSourceFileCompletion", lldb::eSourceFileCompletion)},
78524     {SWIG_LUA_CONSTTAB_INT("eDiskFileCompletion", lldb::eDiskFileCompletion)},
78525     {SWIG_LUA_CONSTTAB_INT("eDiskDirectoryCompletion", lldb::eDiskDirectoryCompletion)},
78526     {SWIG_LUA_CONSTTAB_INT("eSymbolCompletion", lldb::eSymbolCompletion)},
78527     {SWIG_LUA_CONSTTAB_INT("eModuleCompletion", lldb::eModuleCompletion)},
78528     {SWIG_LUA_CONSTTAB_INT("eSettingsNameCompletion", lldb::eSettingsNameCompletion)},
78529     {SWIG_LUA_CONSTTAB_INT("ePlatformPluginCompletion", lldb::ePlatformPluginCompletion)},
78530     {SWIG_LUA_CONSTTAB_INT("eArchitectureCompletion", lldb::eArchitectureCompletion)},
78531     {SWIG_LUA_CONSTTAB_INT("eVariablePathCompletion", lldb::eVariablePathCompletion)},
78532     {SWIG_LUA_CONSTTAB_INT("eRegisterCompletion", lldb::eRegisterCompletion)},
78533     {SWIG_LUA_CONSTTAB_INT("eBreakpointCompletion", lldb::eBreakpointCompletion)},
78534     {SWIG_LUA_CONSTTAB_INT("eProcessPluginCompletion", lldb::eProcessPluginCompletion)},
78535     {SWIG_LUA_CONSTTAB_INT("eDisassemblyFlavorCompletion", lldb::eDisassemblyFlavorCompletion)},
78536     {SWIG_LUA_CONSTTAB_INT("eTypeLanguageCompletion", lldb::eTypeLanguageCompletion)},
78537     {SWIG_LUA_CONSTTAB_INT("eFrameIndexCompletion", lldb::eFrameIndexCompletion)},
78538     {SWIG_LUA_CONSTTAB_INT("eModuleUUIDCompletion", lldb::eModuleUUIDCompletion)},
78539     {SWIG_LUA_CONSTTAB_INT("eStopHookIDCompletion", lldb::eStopHookIDCompletion)},
78540     {SWIG_LUA_CONSTTAB_INT("eThreadIndexCompletion", lldb::eThreadIndexCompletion)},
78541     {SWIG_LUA_CONSTTAB_INT("eWatchpointIDCompletion", lldb::eWatchpointIDCompletion)},
78542     {SWIG_LUA_CONSTTAB_INT("eBreakpointNameCompletion", lldb::eBreakpointNameCompletion)},
78543     {SWIG_LUA_CONSTTAB_INT("eProcessIDCompletion", lldb::eProcessIDCompletion)},
78544     {SWIG_LUA_CONSTTAB_INT("eProcessNameCompletion", lldb::eProcessNameCompletion)},
78545     {SWIG_LUA_CONSTTAB_INT("eRemoteDiskFileCompletion", lldb::eRemoteDiskFileCompletion)},
78546     {SWIG_LUA_CONSTTAB_INT("eRemoteDiskDirectoryCompletion", lldb::eRemoteDiskDirectoryCompletion)},
78547     {SWIG_LUA_CONSTTAB_INT("eTypeCategoryNameCompletion", lldb::eTypeCategoryNameCompletion)},
78548     {SWIG_LUA_CONSTTAB_INT("eCustomCompletion", lldb::eCustomCompletion)},
78549     {SWIG_LUA_CONSTTAB_INT("eThreadIDCompletion", lldb::eThreadIDCompletion)},
78550     {SWIG_LUA_CONSTTAB_INT("eTerminatorCompletion", lldb::eTerminatorCompletion)},
78551     {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitThreadShouldExit", lldb::SBCommandInterpreter::eBroadcastBitThreadShouldExit)},
78552     {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitResetPrompt", lldb::SBCommandInterpreter::eBroadcastBitResetPrompt)},
78553     {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitQuitCommandReceived", lldb::SBCommandInterpreter::eBroadcastBitQuitCommandReceived)},
78554     {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitAsynchronousOutputData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousOutputData)},
78555     {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitAsynchronousErrorData", lldb::SBCommandInterpreter::eBroadcastBitAsynchronousErrorData)},
78556     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eBroadcastBitDisconnected", lldb::SBCommunication::eBroadcastBitDisconnected)},
78557     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eBroadcastBitReadThreadGotBytes", lldb::SBCommunication::eBroadcastBitReadThreadGotBytes)},
78558     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eBroadcastBitReadThreadDidExit", lldb::SBCommunication::eBroadcastBitReadThreadDidExit)},
78559     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eBroadcastBitReadThreadShouldExit", lldb::SBCommunication::eBroadcastBitReadThreadShouldExit)},
78560     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eBroadcastBitPacketAvailable", lldb::SBCommunication::eBroadcastBitPacketAvailable)},
78561     {SWIG_LUA_CONSTTAB_INT("SBCommunication_eAllEventBits", lldb::SBCommunication::eAllEventBits)},
78562     {SWIG_LUA_CONSTTAB_INT("SBDebugger_eBroadcastBitProgress", lldb::SBDebugger::eBroadcastBitProgress)},
78563     {SWIG_LUA_CONSTTAB_INT("SBDebugger_eBroadcastBitWarning", lldb::SBDebugger::eBroadcastBitWarning)},
78564     {SWIG_LUA_CONSTTAB_INT("SBDebugger_eBroadcastBitError", lldb::SBDebugger::eBroadcastBitError)},
78565     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitStateChanged", lldb::SBProcess::eBroadcastBitStateChanged)},
78566     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitInterrupt", lldb::SBProcess::eBroadcastBitInterrupt)},
78567     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitSTDOUT", lldb::SBProcess::eBroadcastBitSTDOUT)},
78568     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitSTDERR", lldb::SBProcess::eBroadcastBitSTDERR)},
78569     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitProfileData", lldb::SBProcess::eBroadcastBitProfileData)},
78570     {SWIG_LUA_CONSTTAB_INT("SBProcess_eBroadcastBitStructuredData", lldb::SBProcess::eBroadcastBitStructuredData)},
78571     {SWIG_LUA_CONSTTAB_INT("SBTarget_eBroadcastBitBreakpointChanged", lldb::SBTarget::eBroadcastBitBreakpointChanged)},
78572     {SWIG_LUA_CONSTTAB_INT("SBTarget_eBroadcastBitModulesLoaded", lldb::SBTarget::eBroadcastBitModulesLoaded)},
78573     {SWIG_LUA_CONSTTAB_INT("SBTarget_eBroadcastBitModulesUnloaded", lldb::SBTarget::eBroadcastBitModulesUnloaded)},
78574     {SWIG_LUA_CONSTTAB_INT("SBTarget_eBroadcastBitWatchpointChanged", lldb::SBTarget::eBroadcastBitWatchpointChanged)},
78575     {SWIG_LUA_CONSTTAB_INT("SBTarget_eBroadcastBitSymbolsLoaded", lldb::SBTarget::eBroadcastBitSymbolsLoaded)},
78576     {SWIG_LUA_CONSTTAB_INT("SBThread_eBroadcastBitStackChanged", lldb::SBThread::eBroadcastBitStackChanged)},
78577     {SWIG_LUA_CONSTTAB_INT("SBThread_eBroadcastBitThreadSuspended", lldb::SBThread::eBroadcastBitThreadSuspended)},
78578     {SWIG_LUA_CONSTTAB_INT("SBThread_eBroadcastBitThreadResumed", lldb::SBThread::eBroadcastBitThreadResumed)},
78579     {SWIG_LUA_CONSTTAB_INT("SBThread_eBroadcastBitSelectedFrameChanged", lldb::SBThread::eBroadcastBitSelectedFrameChanged)},
78580     {SWIG_LUA_CONSTTAB_INT("SBThread_eBroadcastBitThreadSelected", lldb::SBThread::eBroadcastBitThreadSelected)},
78581     {0,0,0,0,0,0}
78582 };
78583 static swig_lua_method swig_SwigModule_methods[]= {
78584     { "SBBreakpoint_EventIsBreakpointEvent", _wrap_SBBreakpoint_EventIsBreakpointEvent},
78585     { "SBBreakpoint_GetBreakpointEventTypeFromEvent", _wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent},
78586     { "SBBreakpoint_GetBreakpointFromEvent", _wrap_SBBreakpoint_GetBreakpointFromEvent},
78587     { "SBBreakpoint_GetBreakpointLocationAtIndexFromEvent", _wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent},
78588     { "SBBreakpoint_GetNumBreakpointLocationsFromEvent", _wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent},
78589     { "SBCommandInterpreter_GetArgumentTypeAsCString", _wrap_SBCommandInterpreter_GetArgumentTypeAsCString},
78590     { "SBCommandInterpreter_GetArgumentDescriptionAsCString", _wrap_SBCommandInterpreter_GetArgumentDescriptionAsCString},
78591     { "SBCommandInterpreter_EventIsCommandInterpreterEvent", _wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent},
78592     { "SBCommandInterpreter_GetBroadcasterClass", _wrap_SBCommandInterpreter_GetBroadcasterClass},
78593     { "SBCommunication_GetBroadcasterClass", _wrap_SBCommunication_GetBroadcasterClass},
78594     { "SBData_CreateDataFromCString", _wrap_SBData_CreateDataFromCString},
78595     { "SBData_CreateDataFromUInt64Array", _wrap_SBData_CreateDataFromUInt64Array},
78596     { "SBData_CreateDataFromUInt32Array", _wrap_SBData_CreateDataFromUInt32Array},
78597     { "SBData_CreateDataFromSInt64Array", _wrap_SBData_CreateDataFromSInt64Array},
78598     { "SBData_CreateDataFromSInt32Array", _wrap_SBData_CreateDataFromSInt32Array},
78599     { "SBData_CreateDataFromDoubleArray", _wrap_SBData_CreateDataFromDoubleArray},
78600     { "SBDebugger_GetBroadcasterClass", _wrap_SBDebugger_GetBroadcasterClass},
78601     { "SBDebugger_GetProgressFromEvent", _wrap_SBDebugger_GetProgressFromEvent},
78602     { "SBDebugger_GetProgressDataFromEvent", _wrap_SBDebugger_GetProgressDataFromEvent},
78603     { "SBDebugger_GetDiagnosticFromEvent", _wrap_SBDebugger_GetDiagnosticFromEvent},
78604     { "SBDebugger_Initialize", _wrap_SBDebugger_Initialize},
78605     { "SBDebugger_InitializeWithErrorHandling", _wrap_SBDebugger_InitializeWithErrorHandling},
78606     { "SBDebugger_PrintStackTraceOnError", _wrap_SBDebugger_PrintStackTraceOnError},
78607     { "SBDebugger_PrintDiagnosticsOnError", _wrap_SBDebugger_PrintDiagnosticsOnError},
78608     { "SBDebugger_Terminate", _wrap_SBDebugger_Terminate},
78609     { "SBDebugger_Create", _wrap_SBDebugger_Create},
78610     { "SBDebugger_Destroy", _wrap_SBDebugger_Destroy},
78611     { "SBDebugger_MemoryPressureDetected", _wrap_SBDebugger_MemoryPressureDetected},
78612     { "SBDebugger_GetDefaultArchitecture", _wrap_SBDebugger_GetDefaultArchitecture},
78613     { "SBDebugger_SetDefaultArchitecture", _wrap_SBDebugger_SetDefaultArchitecture},
78614     { "SBDebugger_GetVersionString", _wrap_SBDebugger_GetVersionString},
78615     { "SBDebugger_StateAsCString", _wrap_SBDebugger_StateAsCString},
78616     { "SBDebugger_GetBuildConfiguration", _wrap_SBDebugger_GetBuildConfiguration},
78617     { "SBDebugger_StateIsRunningState", _wrap_SBDebugger_StateIsRunningState},
78618     { "SBDebugger_StateIsStoppedState", _wrap_SBDebugger_StateIsStoppedState},
78619     { "SBDebugger_FindDebuggerWithID", _wrap_SBDebugger_FindDebuggerWithID},
78620     { "SBDebugger_SetInternalVariable", _wrap_SBDebugger_SetInternalVariable},
78621     { "SBDebugger_GetInternalVariableValue", _wrap_SBDebugger_GetInternalVariableValue},
78622     { "SBEvent_GetCStringFromEvent", _wrap_SBEvent_GetCStringFromEvent},
78623     { "SBFile_MakeBorrowed", _wrap_SBFile_MakeBorrowed},
78624     { "SBFile_MakeForcingIOMethods", _wrap_SBFile_MakeForcingIOMethods},
78625     { "SBFile_MakeBorrowedForcingIOMethods", _wrap_SBFile_MakeBorrowedForcingIOMethods},
78626     { "SBFileSpec_ResolvePath", _wrap_SBFileSpec_ResolvePath},
78627     { "SBHostOS_GetProgramFileSpec", _wrap_SBHostOS_GetProgramFileSpec},
78628     { "SBHostOS_GetLLDBPythonPath", _wrap_SBHostOS_GetLLDBPythonPath},
78629     { "SBHostOS_GetLLDBPath", _wrap_SBHostOS_GetLLDBPath},
78630     { "SBHostOS_GetUserHomeDirectory", _wrap_SBHostOS_GetUserHomeDirectory},
78631     { "SBHostOS_ThreadCreated", _wrap_SBHostOS_ThreadCreated},
78632     { "SBHostOS_ThreadCreate", _wrap_SBHostOS_ThreadCreate},
78633     { "SBHostOS_ThreadCancel", _wrap_SBHostOS_ThreadCancel},
78634     { "SBHostOS_ThreadDetach", _wrap_SBHostOS_ThreadDetach},
78635     { "SBHostOS_ThreadJoin", _wrap_SBHostOS_ThreadJoin},
78636     { "SBLanguageRuntime_GetLanguageTypeFromString", _wrap_SBLanguageRuntime_GetLanguageTypeFromString},
78637     { "SBLanguageRuntime_GetNameForLanguageType", _wrap_SBLanguageRuntime_GetNameForLanguageType},
78638     { "SBModule_GetNumberAllocatedModules", _wrap_SBModule_GetNumberAllocatedModules},
78639     { "SBModule_GarbageCollectAllocatedModules", _wrap_SBModule_GarbageCollectAllocatedModules},
78640     { "SBModuleSpecList_GetModuleSpecifications", _wrap_SBModuleSpecList_GetModuleSpecifications},
78641     { "SBPlatform_GetHostPlatform", _wrap_SBPlatform_GetHostPlatform},
78642     { "SBProcess_GetBroadcasterClassName", _wrap_SBProcess_GetBroadcasterClassName},
78643     { "SBProcess_GetStateFromEvent", _wrap_SBProcess_GetStateFromEvent},
78644     { "SBProcess_GetRestartedFromEvent", _wrap_SBProcess_GetRestartedFromEvent},
78645     { "SBProcess_GetNumRestartedReasonsFromEvent", _wrap_SBProcess_GetNumRestartedReasonsFromEvent},
78646     { "SBProcess_GetRestartedReasonAtIndexFromEvent", _wrap_SBProcess_GetRestartedReasonAtIndexFromEvent},
78647     { "SBProcess_GetProcessFromEvent", _wrap_SBProcess_GetProcessFromEvent},
78648     { "SBProcess_GetInterruptedFromEvent", _wrap_SBProcess_GetInterruptedFromEvent},
78649     { "SBProcess_GetStructuredDataFromEvent", _wrap_SBProcess_GetStructuredDataFromEvent},
78650     { "SBProcess_EventIsProcessEvent", _wrap_SBProcess_EventIsProcessEvent},
78651     { "SBProcess_EventIsStructuredDataEvent", _wrap_SBProcess_EventIsStructuredDataEvent},
78652     { "SBProcess_GetBroadcasterClass", _wrap_SBProcess_GetBroadcasterClass},
78653     { "SBReproducer_Capture", _wrap_SBReproducer_Capture},
78654     { "SBReproducer_PassiveReplay", _wrap_SBReproducer_PassiveReplay},
78655     { "SBReproducer_SetAutoGenerate", _wrap_SBReproducer_SetAutoGenerate},
78656     { "SBReproducer_SetWorkingDirectory", _wrap_SBReproducer_SetWorkingDirectory},
78657     { "SBTarget_EventIsTargetEvent", _wrap_SBTarget_EventIsTargetEvent},
78658     { "SBTarget_GetTargetFromEvent", _wrap_SBTarget_GetTargetFromEvent},
78659     { "SBTarget_GetNumModulesFromEvent", _wrap_SBTarget_GetNumModulesFromEvent},
78660     { "SBTarget_GetModuleAtIndexFromEvent", _wrap_SBTarget_GetModuleAtIndexFromEvent},
78661     { "SBTarget_GetBroadcasterClassName", _wrap_SBTarget_GetBroadcasterClassName},
78662     { "SBThread_GetBroadcasterClassName", _wrap_SBThread_GetBroadcasterClassName},
78663     { "SBThread_EventIsThreadEvent", _wrap_SBThread_EventIsThreadEvent},
78664     { "SBThread_GetStackFrameFromEvent", _wrap_SBThread_GetStackFrameFromEvent},
78665     { "SBThread_GetThreadFromEvent", _wrap_SBThread_GetThreadFromEvent},
78666     { "SBTrace_LoadTraceFromFile", _wrap_SBTrace_LoadTraceFromFile},
78667     { "SBTypeSummary_CreateWithSummaryString", _wrap_SBTypeSummary_CreateWithSummaryString},
78668     { "SBTypeSummary_CreateWithFunctionName", _wrap_SBTypeSummary_CreateWithFunctionName},
78669     { "SBTypeSummary_CreateWithScriptCode", _wrap_SBTypeSummary_CreateWithScriptCode},
78670     { "SBTypeSynthetic_CreateWithClassName", _wrap_SBTypeSynthetic_CreateWithClassName},
78671     { "SBTypeSynthetic_CreateWithScriptCode", _wrap_SBTypeSynthetic_CreateWithScriptCode},
78672     { "SBWatchpoint_EventIsWatchpointEvent", _wrap_SBWatchpoint_EventIsWatchpointEvent},
78673     { "SBWatchpoint_GetWatchpointEventTypeFromEvent", _wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent},
78674     { "SBWatchpoint_GetWatchpointFromEvent", _wrap_SBWatchpoint_GetWatchpointFromEvent},
78675     {0,0}
78676 };
78677 static swig_lua_class* swig_SwigModule_classes[]= {
78678 &_wrap_class_string,
78679 &_wrap_class_SBAddress,
78680 &_wrap_class_SBAttachInfo,
78681 &_wrap_class_SBBlock,
78682 &_wrap_class_SBBreakpoint,
78683 &_wrap_class_SBBreakpointList,
78684 &_wrap_class_SBBreakpointLocation,
78685 &_wrap_class_SBBreakpointName,
78686 &_wrap_class_SBBroadcaster,
78687 &_wrap_class_SBCommandInterpreter,
78688 &_wrap_class_SBCommandInterpreterRunOptions,
78689 &_wrap_class_SBCommandReturnObject,
78690 &_wrap_class_SBCommunication,
78691 &_wrap_class_SBCompileUnit,
78692 &_wrap_class_SBData,
78693 &_wrap_class_SBDebugger,
78694 &_wrap_class_SBDeclaration,
78695 &_wrap_class_SBError,
78696 &_wrap_class_SBEnvironment,
78697 &_wrap_class_SBEvent,
78698 &_wrap_class_SBExecutionContext,
78699 &_wrap_class_SBExpressionOptions,
78700 &_wrap_class_SBFile,
78701 &_wrap_class_SBFileSpec,
78702 &_wrap_class_SBFileSpecList,
78703 &_wrap_class_SBFormat,
78704 &_wrap_class_SBFrame,
78705 &_wrap_class_SBFunction,
78706 &_wrap_class_SBHostOS,
78707 &_wrap_class_SBInstruction,
78708 &_wrap_class_SBInstructionList,
78709 &_wrap_class_SBLanguageRuntime,
78710 &_wrap_class_SBLaunchInfo,
78711 &_wrap_class_SBLineEntry,
78712 &_wrap_class_SBListener,
78713 &_wrap_class_SBMemoryRegionInfo,
78714 &_wrap_class_SBMemoryRegionInfoList,
78715 &_wrap_class_SBModule,
78716 &_wrap_class_SBModuleSpec,
78717 &_wrap_class_SBModuleSpecList,
78718 &_wrap_class_SBPlatformConnectOptions,
78719 &_wrap_class_SBPlatformShellCommand,
78720 &_wrap_class_SBPlatform,
78721 &_wrap_class_SBProcess,
78722 &_wrap_class_SBProcessInfo,
78723 &_wrap_class_SBProcessInfoList,
78724 &_wrap_class_SBQueue,
78725 &_wrap_class_SBQueueItem,
78726 &_wrap_class_SBReproducer,
78727 &_wrap_class_SBScriptObject,
78728 &_wrap_class_SBSection,
78729 &_wrap_class_SBSourceManager,
78730 &_wrap_class_SBStream,
78731 &_wrap_class_SBStringList,
78732 &_wrap_class_SBStructuredData,
78733 &_wrap_class_SBSymbol,
78734 &_wrap_class_SBSymbolContext,
78735 &_wrap_class_SBSymbolContextList,
78736 &_wrap_class_SBTarget,
78737 &_wrap_class_SBThread,
78738 &_wrap_class_SBThreadCollection,
78739 &_wrap_class_SBThreadPlan,
78740 &_wrap_class_SBTrace,
78741 &_wrap_class_SBTraceCursor,
78742 &_wrap_class_SBTypeMember,
78743 &_wrap_class_SBTypeMemberFunction,
78744 &_wrap_class_SBType,
78745 &_wrap_class_SBTypeList,
78746 &_wrap_class_SBTypeCategory,
78747 &_wrap_class_SBTypeEnumMember,
78748 &_wrap_class_SBTypeEnumMemberList,
78749 &_wrap_class_SBTypeFilter,
78750 &_wrap_class_SBTypeFormat,
78751 &_wrap_class_SBTypeNameSpecifier,
78752 &_wrap_class_SBTypeSummaryOptions,
78753 &_wrap_class_SBTypeSummary,
78754 &_wrap_class_SBTypeSynthetic,
78755 &_wrap_class_SBUnixSignals,
78756 &_wrap_class_SBValue,
78757 &_wrap_class_SBValueList,
78758 &_wrap_class_SBVariablesOptions,
78759 &_wrap_class_SBWatchpoint,
78760 &_wrap_class_SBWatchpointOptions,
78761     0
78762 };
78763 static swig_lua_namespace* swig_SwigModule_namespaces[] = {
78764     0
78765 };
78766 
78767 static swig_lua_namespace swig_SwigModule = {
78768     "lldb",
78769     swig_SwigModule_methods,
78770     swig_SwigModule_attributes,
78771     swig_SwigModule_constants,
78772     swig_SwigModule_classes,
78773     swig_SwigModule_namespaces
78774 };
78775 #ifdef __cplusplus
78776 }
78777 #endif
78778 
78779 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
78780 
78781 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
78782 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
78783 static swig_type_info _swigt__p_f_p_q_const__char_p_void__void = {"_p_f_p_q_const__char_p_void__void", "lldb::LogOutputCallback|void (*)(char const *,void *)", 0, 0, (void*)0, 0};
78784 static swig_type_info _swigt__p_f_p_void__p_void = {"_p_f_p_void__p_void", "lldb::thread_func_t|void *(*)(void *)", 0, 0, (void*)0, 0};
78785 static swig_type_info _swigt__p_f_p_void_p_q_const__void_size_t__void = {"_p_f_p_void_p_q_const__void_size_t__void", "lldb::SBCommunication::ReadThreadBytesReceived|void (*)(void *,void const *,size_t)", 0, 0, (void*)0, 0};
78786 static swig_type_info _swigt__p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError = {"_p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError", "lldb::SBPlatformLocateModuleCallback|lldb::SBError (*)(void *,lldb::SBModuleSpec const &,lldb::SBFileSpec &,lldb::SBFileSpec &)", 0, 0, (void*)0, 0};
78787 static swig_type_info _swigt__p_f_unsigned_long_long_p_void__void = {"_p_f_unsigned_long_long_p_void__void", "lldb::SBDebuggerDestroyCallback|void (*)(unsigned long long,void *)", 0, 0, (void*)0, 0};
78788 static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|lldb::break_id_t *|lldb::file_t *|lldb::pipe_t *|lldb::socket_t *|lldb::watch_id_t *|int *", 0, 0, (void*)0, 0};
78789 static swig_type_info _swigt__p_lldb__ConnectionStatus = {"_p_lldb__ConnectionStatus", "lldb::ConnectionStatus *|enum lldb::ConnectionStatus *", 0, 0, (void*)0, 0};
78790 static swig_type_info _swigt__p_lldb__SBAddress = {"_p_lldb__SBAddress", "lldb::SBAddress *", 0, 0, (void*)&_wrap_class_SBAddress, 0};
78791 static swig_type_info _swigt__p_lldb__SBAttachInfo = {"_p_lldb__SBAttachInfo", "lldb::SBAttachInfo *", 0, 0, (void*)&_wrap_class_SBAttachInfo, 0};
78792 static swig_type_info _swigt__p_lldb__SBBlock = {"_p_lldb__SBBlock", "lldb::SBBlock *", 0, 0, (void*)&_wrap_class_SBBlock, 0};
78793 static swig_type_info _swigt__p_lldb__SBBreakpoint = {"_p_lldb__SBBreakpoint", "lldb::SBBreakpoint *", 0, 0, (void*)&_wrap_class_SBBreakpoint, 0};
78794 static swig_type_info _swigt__p_lldb__SBBreakpointList = {"_p_lldb__SBBreakpointList", "lldb::SBBreakpointList *", 0, 0, (void*)&_wrap_class_SBBreakpointList, 0};
78795 static swig_type_info _swigt__p_lldb__SBBreakpointLocation = {"_p_lldb__SBBreakpointLocation", "lldb::SBBreakpointLocation *", 0, 0, (void*)&_wrap_class_SBBreakpointLocation, 0};
78796 static swig_type_info _swigt__p_lldb__SBBreakpointName = {"_p_lldb__SBBreakpointName", "lldb::SBBreakpointName *", 0, 0, (void*)&_wrap_class_SBBreakpointName, 0};
78797 static swig_type_info _swigt__p_lldb__SBBroadcaster = {"_p_lldb__SBBroadcaster", "lldb::SBBroadcaster *", 0, 0, (void*)&_wrap_class_SBBroadcaster, 0};
78798 static swig_type_info _swigt__p_lldb__SBCommandInterpreter = {"_p_lldb__SBCommandInterpreter", "lldb::SBCommandInterpreter *", 0, 0, (void*)&_wrap_class_SBCommandInterpreter, 0};
78799 static swig_type_info _swigt__p_lldb__SBCommandInterpreterRunOptions = {"_p_lldb__SBCommandInterpreterRunOptions", "lldb::SBCommandInterpreterRunOptions *", 0, 0, (void*)&_wrap_class_SBCommandInterpreterRunOptions, 0};
78800 static swig_type_info _swigt__p_lldb__SBCommandReturnObject = {"_p_lldb__SBCommandReturnObject", "lldb::SBCommandReturnObject *", 0, 0, (void*)&_wrap_class_SBCommandReturnObject, 0};
78801 static swig_type_info _swigt__p_lldb__SBCommunication = {"_p_lldb__SBCommunication", "lldb::SBCommunication *", 0, 0, (void*)&_wrap_class_SBCommunication, 0};
78802 static swig_type_info _swigt__p_lldb__SBCompileUnit = {"_p_lldb__SBCompileUnit", "lldb::SBCompileUnit *", 0, 0, (void*)&_wrap_class_SBCompileUnit, 0};
78803 static swig_type_info _swigt__p_lldb__SBData = {"_p_lldb__SBData", "lldb::SBData *", 0, 0, (void*)&_wrap_class_SBData, 0};
78804 static swig_type_info _swigt__p_lldb__SBDebugger = {"_p_lldb__SBDebugger", "lldb::SBDebugger *", 0, 0, (void*)&_wrap_class_SBDebugger, 0};
78805 static swig_type_info _swigt__p_lldb__SBDeclaration = {"_p_lldb__SBDeclaration", "lldb::SBDeclaration *", 0, 0, (void*)&_wrap_class_SBDeclaration, 0};
78806 static swig_type_info _swigt__p_lldb__SBEnvironment = {"_p_lldb__SBEnvironment", "lldb::SBEnvironment *", 0, 0, (void*)&_wrap_class_SBEnvironment, 0};
78807 static swig_type_info _swigt__p_lldb__SBError = {"_p_lldb__SBError", "lldb::SBError *", 0, 0, (void*)&_wrap_class_SBError, 0};
78808 static swig_type_info _swigt__p_lldb__SBEvent = {"_p_lldb__SBEvent", "lldb::SBEvent *", 0, 0, (void*)&_wrap_class_SBEvent, 0};
78809 static swig_type_info _swigt__p_lldb__SBExecutionContext = {"_p_lldb__SBExecutionContext", "lldb::SBExecutionContext *", 0, 0, (void*)&_wrap_class_SBExecutionContext, 0};
78810 static swig_type_info _swigt__p_lldb__SBExpressionOptions = {"_p_lldb__SBExpressionOptions", "lldb::SBExpressionOptions *", 0, 0, (void*)&_wrap_class_SBExpressionOptions, 0};
78811 static swig_type_info _swigt__p_lldb__SBFile = {"_p_lldb__SBFile", "lldb::SBFile *", 0, 0, (void*)&_wrap_class_SBFile, 0};
78812 static swig_type_info _swigt__p_lldb__SBFileSpec = {"_p_lldb__SBFileSpec", "lldb::SBFileSpec *", 0, 0, (void*)&_wrap_class_SBFileSpec, 0};
78813 static swig_type_info _swigt__p_lldb__SBFileSpecList = {"_p_lldb__SBFileSpecList", "lldb::SBFileSpecList *", 0, 0, (void*)&_wrap_class_SBFileSpecList, 0};
78814 static swig_type_info _swigt__p_lldb__SBFormat = {"_p_lldb__SBFormat", "lldb::SBFormat *", 0, 0, (void*)&_wrap_class_SBFormat, 0};
78815 static swig_type_info _swigt__p_lldb__SBFrame = {"_p_lldb__SBFrame", "lldb::SBFrame *", 0, 0, (void*)&_wrap_class_SBFrame, 0};
78816 static swig_type_info _swigt__p_lldb__SBFunction = {"_p_lldb__SBFunction", "lldb::SBFunction *", 0, 0, (void*)&_wrap_class_SBFunction, 0};
78817 static swig_type_info _swigt__p_lldb__SBHostOS = {"_p_lldb__SBHostOS", "lldb::SBHostOS *", 0, 0, (void*)&_wrap_class_SBHostOS, 0};
78818 static swig_type_info _swigt__p_lldb__SBInstruction = {"_p_lldb__SBInstruction", "lldb::SBInstruction *", 0, 0, (void*)&_wrap_class_SBInstruction, 0};
78819 static swig_type_info _swigt__p_lldb__SBInstructionList = {"_p_lldb__SBInstructionList", "lldb::SBInstructionList *", 0, 0, (void*)&_wrap_class_SBInstructionList, 0};
78820 static swig_type_info _swigt__p_lldb__SBLanguageRuntime = {"_p_lldb__SBLanguageRuntime", "lldb::SBLanguageRuntime *", 0, 0, (void*)&_wrap_class_SBLanguageRuntime, 0};
78821 static swig_type_info _swigt__p_lldb__SBLaunchInfo = {"_p_lldb__SBLaunchInfo", "lldb::SBLaunchInfo *", 0, 0, (void*)&_wrap_class_SBLaunchInfo, 0};
78822 static swig_type_info _swigt__p_lldb__SBLineEntry = {"_p_lldb__SBLineEntry", "lldb::SBLineEntry *", 0, 0, (void*)&_wrap_class_SBLineEntry, 0};
78823 static swig_type_info _swigt__p_lldb__SBListener = {"_p_lldb__SBListener", "lldb::SBListener *", 0, 0, (void*)&_wrap_class_SBListener, 0};
78824 static swig_type_info _swigt__p_lldb__SBMemoryRegionInfo = {"_p_lldb__SBMemoryRegionInfo", "lldb::SBMemoryRegionInfo *", 0, 0, (void*)&_wrap_class_SBMemoryRegionInfo, 0};
78825 static swig_type_info _swigt__p_lldb__SBMemoryRegionInfoList = {"_p_lldb__SBMemoryRegionInfoList", "lldb::SBMemoryRegionInfoList *", 0, 0, (void*)&_wrap_class_SBMemoryRegionInfoList, 0};
78826 static swig_type_info _swigt__p_lldb__SBModule = {"_p_lldb__SBModule", "lldb::SBModule *", 0, 0, (void*)&_wrap_class_SBModule, 0};
78827 static swig_type_info _swigt__p_lldb__SBModuleSpec = {"_p_lldb__SBModuleSpec", "lldb::SBModuleSpec *", 0, 0, (void*)&_wrap_class_SBModuleSpec, 0};
78828 static swig_type_info _swigt__p_lldb__SBModuleSpecList = {"_p_lldb__SBModuleSpecList", "lldb::SBModuleSpecList *", 0, 0, (void*)&_wrap_class_SBModuleSpecList, 0};
78829 static swig_type_info _swigt__p_lldb__SBPlatform = {"_p_lldb__SBPlatform", "lldb::SBPlatform *", 0, 0, (void*)&_wrap_class_SBPlatform, 0};
78830 static swig_type_info _swigt__p_lldb__SBPlatformConnectOptions = {"_p_lldb__SBPlatformConnectOptions", "lldb::SBPlatformConnectOptions *", 0, 0, (void*)&_wrap_class_SBPlatformConnectOptions, 0};
78831 static swig_type_info _swigt__p_lldb__SBPlatformShellCommand = {"_p_lldb__SBPlatformShellCommand", "lldb::SBPlatformShellCommand *", 0, 0, (void*)&_wrap_class_SBPlatformShellCommand, 0};
78832 static swig_type_info _swigt__p_lldb__SBProcess = {"_p_lldb__SBProcess", "lldb::SBProcess *", 0, 0, (void*)&_wrap_class_SBProcess, 0};
78833 static swig_type_info _swigt__p_lldb__SBProcessInfo = {"_p_lldb__SBProcessInfo", "lldb::SBProcessInfo *", 0, 0, (void*)&_wrap_class_SBProcessInfo, 0};
78834 static swig_type_info _swigt__p_lldb__SBProcessInfoList = {"_p_lldb__SBProcessInfoList", "lldb::SBProcessInfoList *", 0, 0, (void*)&_wrap_class_SBProcessInfoList, 0};
78835 static swig_type_info _swigt__p_lldb__SBQueue = {"_p_lldb__SBQueue", "lldb::SBQueue *", 0, 0, (void*)&_wrap_class_SBQueue, 0};
78836 static swig_type_info _swigt__p_lldb__SBQueueItem = {"_p_lldb__SBQueueItem", "lldb::SBQueueItem *", 0, 0, (void*)&_wrap_class_SBQueueItem, 0};
78837 static swig_type_info _swigt__p_lldb__SBReproducer = {"_p_lldb__SBReproducer", "lldb::SBReproducer *", 0, 0, (void*)&_wrap_class_SBReproducer, 0};
78838 static swig_type_info _swigt__p_lldb__SBScriptObject = {"_p_lldb__SBScriptObject", "lldb::SBScriptObject *", 0, 0, (void*)&_wrap_class_SBScriptObject, 0};
78839 static swig_type_info _swigt__p_lldb__SBSection = {"_p_lldb__SBSection", "lldb::SBSection *", 0, 0, (void*)&_wrap_class_SBSection, 0};
78840 static swig_type_info _swigt__p_lldb__SBSourceManager = {"_p_lldb__SBSourceManager", "lldb::SBSourceManager *", 0, 0, (void*)&_wrap_class_SBSourceManager, 0};
78841 static swig_type_info _swigt__p_lldb__SBStream = {"_p_lldb__SBStream", "lldb::SBStream *", 0, 0, (void*)&_wrap_class_SBStream, 0};
78842 static swig_type_info _swigt__p_lldb__SBStringList = {"_p_lldb__SBStringList", "lldb::SBStringList *", 0, 0, (void*)&_wrap_class_SBStringList, 0};
78843 static swig_type_info _swigt__p_lldb__SBStructuredData = {"_p_lldb__SBStructuredData", "lldb::SBStructuredData *", 0, 0, (void*)&_wrap_class_SBStructuredData, 0};
78844 static swig_type_info _swigt__p_lldb__SBSymbol = {"_p_lldb__SBSymbol", "lldb::SBSymbol *", 0, 0, (void*)&_wrap_class_SBSymbol, 0};
78845 static swig_type_info _swigt__p_lldb__SBSymbolContext = {"_p_lldb__SBSymbolContext", "lldb::SBSymbolContext *", 0, 0, (void*)&_wrap_class_SBSymbolContext, 0};
78846 static swig_type_info _swigt__p_lldb__SBSymbolContextList = {"_p_lldb__SBSymbolContextList", "lldb::SBSymbolContextList *", 0, 0, (void*)&_wrap_class_SBSymbolContextList, 0};
78847 static swig_type_info _swigt__p_lldb__SBTarget = {"_p_lldb__SBTarget", "lldb::SBTarget *", 0, 0, (void*)&_wrap_class_SBTarget, 0};
78848 static swig_type_info _swigt__p_lldb__SBThread = {"_p_lldb__SBThread", "lldb::SBThread *", 0, 0, (void*)&_wrap_class_SBThread, 0};
78849 static swig_type_info _swigt__p_lldb__SBThreadCollection = {"_p_lldb__SBThreadCollection", "lldb::SBThreadCollection *", 0, 0, (void*)&_wrap_class_SBThreadCollection, 0};
78850 static swig_type_info _swigt__p_lldb__SBThreadPlan = {"_p_lldb__SBThreadPlan", "lldb::SBThreadPlan *", 0, 0, (void*)&_wrap_class_SBThreadPlan, 0};
78851 static swig_type_info _swigt__p_lldb__SBTrace = {"_p_lldb__SBTrace", "lldb::SBTrace *", 0, 0, (void*)&_wrap_class_SBTrace, 0};
78852 static swig_type_info _swigt__p_lldb__SBTraceCursor = {"_p_lldb__SBTraceCursor", "lldb::SBTraceCursor *", 0, 0, (void*)&_wrap_class_SBTraceCursor, 0};
78853 static swig_type_info _swigt__p_lldb__SBType = {"_p_lldb__SBType", "lldb::SBType *", 0, 0, (void*)&_wrap_class_SBType, 0};
78854 static swig_type_info _swigt__p_lldb__SBTypeCategory = {"_p_lldb__SBTypeCategory", "lldb::SBTypeCategory *", 0, 0, (void*)&_wrap_class_SBTypeCategory, 0};
78855 static swig_type_info _swigt__p_lldb__SBTypeEnumMember = {"_p_lldb__SBTypeEnumMember", "lldb::SBTypeEnumMember *", 0, 0, (void*)&_wrap_class_SBTypeEnumMember, 0};
78856 static swig_type_info _swigt__p_lldb__SBTypeEnumMemberList = {"_p_lldb__SBTypeEnumMemberList", "lldb::SBTypeEnumMemberList *", 0, 0, (void*)&_wrap_class_SBTypeEnumMemberList, 0};
78857 static swig_type_info _swigt__p_lldb__SBTypeFilter = {"_p_lldb__SBTypeFilter", "lldb::SBTypeFilter *", 0, 0, (void*)&_wrap_class_SBTypeFilter, 0};
78858 static swig_type_info _swigt__p_lldb__SBTypeFormat = {"_p_lldb__SBTypeFormat", "lldb::SBTypeFormat *", 0, 0, (void*)&_wrap_class_SBTypeFormat, 0};
78859 static swig_type_info _swigt__p_lldb__SBTypeList = {"_p_lldb__SBTypeList", "lldb::SBTypeList *", 0, 0, (void*)&_wrap_class_SBTypeList, 0};
78860 static swig_type_info _swigt__p_lldb__SBTypeMember = {"_p_lldb__SBTypeMember", "lldb::SBTypeMember *", 0, 0, (void*)&_wrap_class_SBTypeMember, 0};
78861 static swig_type_info _swigt__p_lldb__SBTypeMemberFunction = {"_p_lldb__SBTypeMemberFunction", "lldb::SBTypeMemberFunction *", 0, 0, (void*)&_wrap_class_SBTypeMemberFunction, 0};
78862 static swig_type_info _swigt__p_lldb__SBTypeNameSpecifier = {"_p_lldb__SBTypeNameSpecifier", "lldb::SBTypeNameSpecifier *", 0, 0, (void*)&_wrap_class_SBTypeNameSpecifier, 0};
78863 static swig_type_info _swigt__p_lldb__SBTypeSummary = {"_p_lldb__SBTypeSummary", "lldb::SBTypeSummary *", 0, 0, (void*)&_wrap_class_SBTypeSummary, 0};
78864 static swig_type_info _swigt__p_lldb__SBTypeSummaryOptions = {"_p_lldb__SBTypeSummaryOptions", "lldb::SBTypeSummaryOptions *", 0, 0, (void*)&_wrap_class_SBTypeSummaryOptions, 0};
78865 static swig_type_info _swigt__p_lldb__SBTypeSynthetic = {"_p_lldb__SBTypeSynthetic", "lldb::SBTypeSynthetic *", 0, 0, (void*)&_wrap_class_SBTypeSynthetic, 0};
78866 static swig_type_info _swigt__p_lldb__SBUnixSignals = {"_p_lldb__SBUnixSignals", "lldb::SBUnixSignals *", 0, 0, (void*)&_wrap_class_SBUnixSignals, 0};
78867 static swig_type_info _swigt__p_lldb__SBValue = {"_p_lldb__SBValue", "lldb::SBValue *", 0, 0, (void*)&_wrap_class_SBValue, 0};
78868 static swig_type_info _swigt__p_lldb__SBValueList = {"_p_lldb__SBValueList", "lldb::SBValueList *", 0, 0, (void*)&_wrap_class_SBValueList, 0};
78869 static swig_type_info _swigt__p_lldb__SBVariablesOptions = {"_p_lldb__SBVariablesOptions", "lldb::SBVariablesOptions *", 0, 0, (void*)&_wrap_class_SBVariablesOptions, 0};
78870 static swig_type_info _swigt__p_lldb__SBWatchpoint = {"_p_lldb__SBWatchpoint", "lldb::SBWatchpoint *", 0, 0, (void*)&_wrap_class_SBWatchpoint, 0};
78871 static swig_type_info _swigt__p_lldb__SBWatchpointOptions = {"_p_lldb__SBWatchpointOptions", "lldb::SBWatchpointOptions *", 0, 0, (void*)&_wrap_class_SBWatchpointOptions, 0};
78872 static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0};
78873 static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0};
78874 static swig_type_info _swigt__p_p_void = {"_p_p_void", "lldb::thread_result_t *|void **", 0, 0, (void*)0, 0};
78875 static swig_type_info _swigt__p_pthread_rwlock_t = {"_p_pthread_rwlock_t", "lldb::rwlock_t *|pthread_rwlock_t *", 0, 0, (void*)0, 0};
78876 static swig_type_info _swigt__p_pthread_t = {"_p_pthread_t", "lldb::thread_t *|pthread_t *", 0, 0, (void*)0, 0};
78877 static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0};
78878 static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0};
78879 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
78880 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ABI_t = {"_p_std__shared_ptrT_lldb_private__ABI_t", "lldb::ABISP *|std::shared_ptr< lldb_private::ABI > *", 0, 0, (void*)0, 0};
78881 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Baton_t = {"_p_std__shared_ptrT_lldb_private__Baton_t", "lldb::BatonSP *|std::shared_ptr< lldb_private::Baton > *", 0, 0, (void*)0, 0};
78882 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Block_t = {"_p_std__shared_ptrT_lldb_private__Block_t", "lldb::BlockSP *|std::shared_ptr< lldb_private::Block > *", 0, 0, (void*)0, 0};
78883 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointLocation_t = {"_p_std__shared_ptrT_lldb_private__BreakpointLocation_t", "lldb::BreakpointLocationSP *|std::shared_ptr< lldb_private::BreakpointLocation > *", 0, 0, (void*)0, 0};
78884 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t = {"_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t", "lldb::BreakpointPreconditionSP *|std::shared_ptr< lldb_private::BreakpointPrecondition > *", 0, 0, (void*)0, 0};
78885 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointResolver_t = {"_p_std__shared_ptrT_lldb_private__BreakpointResolver_t", "lldb::BreakpointResolverSP *|std::shared_ptr< lldb_private::BreakpointResolver > *", 0, 0, (void*)0, 0};
78886 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BreakpointSite_t = {"_p_std__shared_ptrT_lldb_private__BreakpointSite_t", "lldb::BreakpointSiteSP *|std::shared_ptr< lldb_private::BreakpointSite > *", 0, 0, (void*)0, 0};
78887 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Breakpoint_t = {"_p_std__shared_ptrT_lldb_private__Breakpoint_t", "lldb::BreakpointSP *|std::shared_ptr< lldb_private::Breakpoint > *", 0, 0, (void*)0, 0};
78888 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__BroadcasterManager_t = {"_p_std__shared_ptrT_lldb_private__BroadcasterManager_t", "lldb::BroadcasterManagerSP *|std::shared_ptr< lldb_private::BroadcasterManager > *", 0, 0, (void*)0, 0};
78889 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Broadcaster_t = {"_p_std__shared_ptrT_lldb_private__Broadcaster_t", "lldb::BroadcasterSP *|std::shared_ptr< lldb_private::Broadcaster > *", 0, 0, (void*)0, 0};
78890 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__CommandObject_t = {"_p_std__shared_ptrT_lldb_private__CommandObject_t", "lldb::CommandObjectSP *|std::shared_ptr< lldb_private::CommandObject > *", 0, 0, (void*)0, 0};
78891 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__CompileUnit_t = {"_p_std__shared_ptrT_lldb_private__CompileUnit_t", "lldb::CompUnitSP *|std::shared_ptr< lldb_private::CompileUnit > *", 0, 0, (void*)0, 0};
78892 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Connection_t = {"_p_std__shared_ptrT_lldb_private__Connection_t", "lldb::ConnectionSP *|std::shared_ptr< lldb_private::Connection > *", 0, 0, (void*)0, 0};
78893 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataBuffer_t = {"_p_std__shared_ptrT_lldb_private__DataBuffer_t", "lldb::DataBufferSP *|std::shared_ptr< lldb_private::DataBuffer > *", 0, 0, (void*)0, 0};
78894 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__DataExtractor_t = {"_p_std__shared_ptrT_lldb_private__DataExtractor_t", "lldb::DataExtractorSP *|std::shared_ptr< lldb_private::DataExtractor > *", 0, 0, (void*)0, 0};
78895 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Debugger_t = {"_p_std__shared_ptrT_lldb_private__Debugger_t", "lldb::DebuggerSP *|std::shared_ptr< lldb_private::Debugger > *", 0, 0, (void*)0, 0};
78896 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Disassembler_t = {"_p_std__shared_ptrT_lldb_private__Disassembler_t", "lldb::DisassemblerSP *|std::shared_ptr< lldb_private::Disassembler > *", 0, 0, (void*)0, 0};
78897 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t = {"_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t", "lldb::EventDataStructuredDataSP *|std::shared_ptr< lldb_private::EventDataStructuredData > *", 0, 0, (void*)0, 0};
78898 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__EventData_t = {"_p_std__shared_ptrT_lldb_private__EventData_t", "lldb::EventDataSP *|std::shared_ptr< lldb_private::EventData > *", 0, 0, (void*)0, 0};
78899 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Event_t = {"_p_std__shared_ptrT_lldb_private__Event_t", "lldb::EventSP *|std::shared_ptr< lldb_private::Event > *", 0, 0, (void*)0, 0};
78900 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t = {"_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t", "lldb::ExecutionContextRefSP *|std::shared_ptr< lldb_private::ExecutionContextRef > *", 0, 0, (void*)0, 0};
78901 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t = {"_p_std__shared_ptrT_lldb_private__ExpressionVariable_t", "lldb::ExpressionVariableSP *|std::shared_ptr< lldb_private::ExpressionVariable > *", 0, 0, (void*)0, 0};
78902 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__File_t = {"_p_std__shared_ptrT_lldb_private__File_t", "lldb::FileSP *|std::shared_ptr< lldb_private::File > *", 0, 0, (void*)0, 0};
78903 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t = {"_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t", "lldb::FormatEntrySP *|std::shared_ptr< lldb_private::FormatEntity::Entry > *", 0, 0, (void*)0, 0};
78904 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t = {"_p_std__shared_ptrT_lldb_private__FuncUnwinders_t", "lldb::FuncUnwindersSP *|std::shared_ptr< lldb_private::FuncUnwinders > *", 0, 0, (void*)0, 0};
78905 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Function_t = {"_p_std__shared_ptrT_lldb_private__Function_t", "lldb::FunctionSP *|std::shared_ptr< lldb_private::Function > *", 0, 0, (void*)0, 0};
78906 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOHandler_t = {"_p_std__shared_ptrT_lldb_private__IOHandler_t", "lldb::IOHandlerSP *|std::shared_ptr< lldb_private::IOHandler > *", 0, 0, (void*)0, 0};
78907 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOObject_t = {"_p_std__shared_ptrT_lldb_private__IOObject_t", "lldb::IOObjectSP *|std::shared_ptr< lldb_private::IOObject > *", 0, 0, (void*)0, 0};
78908 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t = {"_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t", "lldb::IRExecutionUnitSP *|std::shared_ptr< lldb_private::IRExecutionUnit > *", 0, 0, (void*)0, 0};
78909 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t = {"_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t", "lldb::InlineFunctionInfoSP *|std::shared_ptr< lldb_private::InlineFunctionInfo > *", 0, 0, (void*)0, 0};
78910 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Instruction_t = {"_p_std__shared_ptrT_lldb_private__Instruction_t", "lldb::InstructionSP *|std::shared_ptr< lldb_private::Instruction > *", 0, 0, (void*)0, 0};
78911 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t = {"_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t", "lldb::InstrumentationRuntimeSP *|std::shared_ptr< lldb_private::InstrumentationRuntime > *", 0, 0, (void*)0, 0};
78912 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__JITLoader_t = {"_p_std__shared_ptrT_lldb_private__JITLoader_t", "lldb::JITLoaderSP *|std::shared_ptr< lldb_private::JITLoader > *", 0, 0, (void*)0, 0};
78913 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t = {"_p_std__shared_ptrT_lldb_private__LanguageRuntime_t", "lldb::LanguageRuntimeSP *|std::shared_ptr< lldb_private::LanguageRuntime > *", 0, 0, (void*)0, 0};
78914 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Listener_t = {"_p_std__shared_ptrT_lldb_private__Listener_t", "lldb::ListenerSP *|std::shared_ptr< lldb_private::Listener > *", 0, 0, (void*)0, 0};
78915 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t = {"_p_std__shared_ptrT_lldb_private__MemoryHistory_t", "lldb::MemoryHistorySP *|std::shared_ptr< lldb_private::MemoryHistory > *", 0, 0, (void*)0, 0};
78916 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t", "lldb::MemoryRegionInfoSP *|std::shared_ptr< lldb_private::MemoryRegionInfo > *", 0, 0, (void*)0, 0};
78917 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Module_t = {"_p_std__shared_ptrT_lldb_private__Module_t", "lldb::ModuleSP *|std::shared_ptr< lldb_private::Module > *", 0, 0, (void*)0, 0};
78918 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t = {"_p_std__shared_ptrT_lldb_private__ObjectContainer_t", "lldb::ObjectContainerSP *|std::shared_ptr< lldb_private::ObjectContainer > *", 0, 0, (void*)0, 0};
78919 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t = {"_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t", "lldb::ObjectFileJITDelegateSP *|std::shared_ptr< lldb_private::ObjectFileJITDelegate > *", 0, 0, (void*)0, 0};
78920 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t = {"_p_std__shared_ptrT_lldb_private__ObjectFile_t", "lldb::ObjectFileSP *|std::shared_ptr< lldb_private::ObjectFile > *", 0, 0, (void*)0, 0};
78921 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t = {"_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t", "lldb::OperatingSystemInterfaceSP *|std::shared_ptr< lldb_private::OperatingSystemInterface > *", 0, 0, (void*)0, 0};
78922 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t = {"_p_std__shared_ptrT_lldb_private__OptionValueProperties_t", "lldb::OptionValuePropertiesSP *|std::shared_ptr< lldb_private::OptionValueProperties > *", 0, 0, (void*)0, 0};
78923 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValue_t = {"_p_std__shared_ptrT_lldb_private__OptionValue_t", "lldb::OptionValueSP *|std::shared_ptr< lldb_private::OptionValue > *", 0, 0, (void*)0, 0};
78924 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Platform_t = {"_p_std__shared_ptrT_lldb_private__Platform_t", "lldb::PlatformSP *|std::shared_ptr< lldb_private::Platform > *", 0, 0, (void*)0, 0};
78925 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t = {"_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t", "lldb::ProcessAttachInfoSP *|std::shared_ptr< lldb_private::ProcessAttachInfo > *", 0, 0, (void*)0, 0};
78926 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t = {"_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t", "lldb::ProcessLaunchInfoSP *|std::shared_ptr< lldb_private::ProcessLaunchInfo > *", 0, 0, (void*)0, 0};
78927 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Process_t = {"_p_std__shared_ptrT_lldb_private__Process_t", "lldb::ProcessSP *|std::shared_ptr< lldb_private::Process > *", 0, 0, (void*)0, 0};
78928 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__QueueItem_t = {"_p_std__shared_ptrT_lldb_private__QueueItem_t", "lldb::QueueItemSP *|std::shared_ptr< lldb_private::QueueItem > *", 0, 0, (void*)0, 0};
78929 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Queue_t = {"_p_std__shared_ptrT_lldb_private__Queue_t", "lldb::QueueSP *|std::shared_ptr< lldb_private::Queue > *", 0, 0, (void*)0, 0};
78930 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__REPL_t = {"_p_std__shared_ptrT_lldb_private__REPL_t", "lldb::REPLSP *|std::shared_ptr< lldb_private::REPL > *", 0, 0, (void*)0, 0};
78931 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t = {"_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t", "lldb::RecognizedStackFrameSP *|std::shared_ptr< lldb_private::RecognizedStackFrame > *", 0, 0, (void*)0, 0};
78932 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t = {"_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t", "lldb::RegisterCheckpointSP *|std::shared_ptr< lldb_private::RegisterCheckpoint > *", 0, 0, (void*)0, 0};
78933 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterContext_t = {"_p_std__shared_ptrT_lldb_private__RegisterContext_t", "lldb::RegisterContextSP *|std::shared_ptr< lldb_private::RegisterContext > *", 0, 0, (void*)0, 0};
78934 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t = {"_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t", "lldb::RegisterTypeBuilderSP *|std::shared_ptr< lldb_private::RegisterTypeBuilder > *", 0, 0, (void*)0, 0};
78935 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegularExpression_t = {"_p_std__shared_ptrT_lldb_private__RegularExpression_t", "lldb::RegularExpressionSP *|std::shared_ptr< lldb_private::RegularExpression > *", 0, 0, (void*)0, 0};
78936 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t = {"_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t", "lldb::ScriptInterpreterSP *|std::shared_ptr< lldb_private::ScriptInterpreter > *", 0, 0, (void*)0, 0};
78937 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t = {"_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t", "lldb::ScriptSummaryFormatSP *|std::shared_ptr< lldb_private::ScriptSummaryFormat > *", 0, 0, (void*)0, 0};
78938 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t = {"_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t", "lldb::ScriptedMetadataSP *|std::shared_ptr< lldb_private::ScriptedMetadata > *", 0, 0, (void*)0, 0};
78939 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t", "lldb::ScriptedSyntheticChildrenSP *|std::shared_ptr< lldb_private::ScriptedSyntheticChildren > *", 0, 0, (void*)0, 0};
78940 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t = {"_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t", "lldb::ScriptedThreadInterfaceSP *|std::shared_ptr< lldb_private::ScriptedThreadInterface > *", 0, 0, (void*)0, 0};
78941 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t = {"_p_std__shared_ptrT_lldb_private__SearchFilter_t", "lldb::SearchFilterSP *|std::shared_ptr< lldb_private::SearchFilter > *", 0, 0, (void*)0, 0};
78942 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t = {"_p_std__shared_ptrT_lldb_private__SectionLoadList_t", "lldb::SectionLoadListSP *|std::shared_ptr< lldb_private::SectionLoadList > *", 0, 0, (void*)0, 0};
78943 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Section_t = {"_p_std__shared_ptrT_lldb_private__Section_t", "lldb::SectionSP *|std::shared_ptr< lldb_private::Section > *", 0, 0, (void*)0, 0};
78944 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameList_t = {"_p_std__shared_ptrT_lldb_private__StackFrameList_t", "lldb::StackFrameListSP *|std::shared_ptr< lldb_private::StackFrameList > *", 0, 0, (void*)0, 0};
78945 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t = {"_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t", "lldb::StackFrameRecognizerSP *|std::shared_ptr< lldb_private::StackFrameRecognizer > *", 0, 0, (void*)0, 0};
78946 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StackFrame_t = {"_p_std__shared_ptrT_lldb_private__StackFrame_t", "lldb::StackFrameSP *|std::shared_ptr< lldb_private::StackFrame > *", 0, 0, (void*)0, 0};
78947 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StopInfo_t = {"_p_std__shared_ptrT_lldb_private__StopInfo_t", "lldb::StopInfoSP *|std::shared_ptr< lldb_private::StopInfo > *", 0, 0, (void*)0, 0};
78948 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StreamFile_t = {"_p_std__shared_ptrT_lldb_private__StreamFile_t", "lldb::StreamFileSP *|std::shared_ptr< lldb_private::StreamFile > *", 0, 0, (void*)0, 0};
78949 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Stream_t = {"_p_std__shared_ptrT_lldb_private__Stream_t", "lldb::StreamSP *|std::shared_ptr< lldb_private::Stream > *", 0, 0, (void*)0, 0};
78950 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t = {"_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t", "lldb::StringTypeSummaryImplSP *|std::shared_ptr< lldb_private::StringSummaryFormat > *", 0, 0, (void*)0, 0};
78951 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t = {"_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t", "lldb::StructuredDataPluginSP *|std::shared_ptr< lldb_private::StructuredDataPlugin > *", 0, 0, (void*)0, 0};
78952 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SupportFile_t = {"_p_std__shared_ptrT_lldb_private__SupportFile_t", "lldb::SupportFileSP *|std::shared_ptr< lldb_private::SupportFile > *", 0, 0, (void*)0, 0};
78953 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t = {"_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t", "lldb::SymbolContextSpecifierSP *|std::shared_ptr< lldb_private::SymbolContextSpecifier > *", 0, 0, (void*)0, 0};
78954 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SymbolFileType_t = {"_p_std__shared_ptrT_lldb_private__SymbolFileType_t", "lldb::SymbolFileTypeSP *|std::shared_ptr< lldb_private::SymbolFileType > *", 0, 0, (void*)0, 0};
78955 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t = {"_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t", "lldb::SyntheticChildrenFrontEndSP *|std::shared_ptr< lldb_private::SyntheticChildrenFrontEnd > *", 0, 0, (void*)0, 0};
78956 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__SyntheticChildren_t", "lldb::SyntheticChildrenSP *|std::shared_ptr< lldb_private::SyntheticChildren > *", 0, 0, (void*)0, 0};
78957 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Target_t = {"_p_std__shared_ptrT_lldb_private__Target_t", "lldb::TargetSP *|std::shared_ptr< lldb_private::Target > *", 0, 0, (void*)0, 0};
78958 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadCollection_t = {"_p_std__shared_ptrT_lldb_private__ThreadCollection_t", "lldb::ThreadCollectionSP *|std::shared_ptr< lldb_private::ThreadCollection > *", 0, 0, (void*)0, 0};
78959 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t = {"_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t", "lldb::ThreadPlanTracerSP *|std::shared_ptr< lldb_private::ThreadPlanTracer > *", 0, 0, (void*)0, 0};
78960 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPlan_t = {"_p_std__shared_ptrT_lldb_private__ThreadPlan_t", "lldb::ThreadPlanSP *|std::shared_ptr< lldb_private::ThreadPlan > *", 0, 0, (void*)0, 0};
78961 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t = {"_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t", "lldb::ThreadPostMortemTraceSP *|std::shared_ptr< lldb_private::ThreadPostMortemTrace > *", 0, 0, (void*)0, 0};
78962 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Thread_t = {"_p_std__shared_ptrT_lldb_private__Thread_t", "lldb::ThreadSP *|std::shared_ptr< lldb_private::Thread > *", 0, 0, (void*)0, 0};
78963 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TraceCursor_t = {"_p_std__shared_ptrT_lldb_private__TraceCursor_t", "lldb::TraceCursorSP *|std::shared_ptr< lldb_private::TraceCursor > *", 0, 0, (void*)0, 0};
78964 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Trace_t = {"_p_std__shared_ptrT_lldb_private__Trace_t", "lldb::TraceSP *|std::shared_ptr< lldb_private::Trace > *", 0, 0, (void*)0, 0};
78965 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t", "lldb::TypeCategoryImplSP *|std::shared_ptr< lldb_private::TypeCategoryImpl > *", 0, 0, (void*)0, 0};
78966 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t", "lldb::TypeEnumMemberImplSP *|std::shared_ptr< lldb_private::TypeEnumMemberImpl > *", 0, 0, (void*)0, 0};
78967 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t", "lldb::TypeFilterImplSP *|std::shared_ptr< lldb_private::TypeFilterImpl > *", 0, 0, (void*)0, 0};
78968 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t", "lldb::TypeFormatImplSP *|std::shared_ptr< lldb_private::TypeFormatImpl > *", 0, 0, (void*)0, 0};
78969 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeImpl_t", "lldb::TypeImplSP *|std::shared_ptr< lldb_private::TypeImpl > *", 0, 0, (void*)0, 0};
78970 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t", "lldb::TypeMemberFunctionImplSP *|std::shared_ptr< lldb_private::TypeMemberFunctionImpl > *", 0, 0, (void*)0, 0};
78971 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t", "lldb::TypeNameSpecifierImplSP *|std::shared_ptr< lldb_private::TypeNameSpecifierImpl > *", 0, 0, (void*)0, 0};
78972 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t = {"_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t", "lldb::TypeSummaryImplSP *|std::shared_ptr< lldb_private::TypeSummaryImpl > *", 0, 0, (void*)0, 0};
78973 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t = {"_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t", "lldb::TypeSummaryOptionsSP *|std::shared_ptr< lldb_private::TypeSummaryOptions > *", 0, 0, (void*)0, 0};
78974 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystemClang_t = {"_p_std__shared_ptrT_lldb_private__TypeSystemClang_t", "lldb::TypeSystemClangSP *|std::shared_ptr< lldb_private::TypeSystemClang > *", 0, 0, (void*)0, 0};
78975 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__TypeSystem_t = {"_p_std__shared_ptrT_lldb_private__TypeSystem_t", "lldb::TypeSystemSP *|std::shared_ptr< lldb_private::TypeSystem > *", 0, 0, (void*)0, 0};
78976 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Type_t = {"_p_std__shared_ptrT_lldb_private__Type_t", "lldb::TypeSP *|std::shared_ptr< lldb_private::Type > *", 0, 0, (void*)0, 0};
78977 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnixSignals_t = {"_p_std__shared_ptrT_lldb_private__UnixSignals_t", "lldb::UnixSignalsSP *|std::shared_ptr< lldb_private::UnixSignals > *", 0, 0, (void*)0, 0};
78978 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnwindAssembly_t = {"_p_std__shared_ptrT_lldb_private__UnwindAssembly_t", "lldb::UnwindAssemblySP *|std::shared_ptr< lldb_private::UnwindAssembly > *", 0, 0, (void*)0, 0};
78979 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UnwindPlan_t = {"_p_std__shared_ptrT_lldb_private__UnwindPlan_t", "lldb::UnwindPlanSP *|std::shared_ptr< lldb_private::UnwindPlan > *", 0, 0, (void*)0, 0};
78980 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__UserExpression_t = {"_p_std__shared_ptrT_lldb_private__UserExpression_t", "lldb::UserExpressionSP *|std::shared_ptr< lldb_private::UserExpression > *", 0, 0, (void*)0, 0};
78981 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObjectList_t = {"_p_std__shared_ptrT_lldb_private__ValueObjectList_t", "lldb::ValueObjectListSP *|std::shared_ptr< lldb_private::ValueObjectList > *", 0, 0, (void*)0, 0};
78982 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObject_t = {"_p_std__shared_ptrT_lldb_private__ValueObject_t", "lldb::ValueObjectSP *|std::shared_ptr< lldb_private::ValueObject > *", 0, 0, (void*)0, 0};
78983 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Value_t = {"_p_std__shared_ptrT_lldb_private__Value_t", "lldb::ValueSP *|std::shared_ptr< lldb_private::Value > *", 0, 0, (void*)0, 0};
78984 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__VariableList_t = {"_p_std__shared_ptrT_lldb_private__VariableList_t", "lldb::VariableListSP *|std::shared_ptr< lldb_private::VariableList > *", 0, 0, (void*)0, 0};
78985 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Variable_t = {"_p_std__shared_ptrT_lldb_private__Variable_t", "lldb::VariableSP *|std::shared_ptr< lldb_private::Variable > *", 0, 0, (void*)0, 0};
78986 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t = {"_p_std__shared_ptrT_lldb_private__WatchpointResource_t", "lldb::WatchpointResourceSP *|std::shared_ptr< lldb_private::WatchpointResource > *", 0, 0, (void*)0, 0};
78987 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t = {"_p_std__shared_ptrT_lldb_private__Watchpoint_t", "lldb::WatchpointSP *|std::shared_ptr< lldb_private::Watchpoint > *", 0, 0, (void*)0, 0};
78988 static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t = {"_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t", "lldb::WritableDataBufferSP *|std::shared_ptr< lldb_private::WritableDataBuffer > *", 0, 0, (void*)0, 0};
78989 static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)&_wrap_class_string, 0};
78990 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t = {"_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t", "lldb::DynamicCheckerFunctionsUP *|std::unique_ptr< lldb_private::DynamicCheckerFunctions > *", 0, 0, (void*)0, 0};
78991 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__DynamicLoader_t = {"_p_std__unique_ptrT_lldb_private__DynamicLoader_t", "lldb::DynamicLoaderUP *|std::unique_ptr< lldb_private::DynamicLoader > *", 0, 0, (void*)0, 0};
78992 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__File_t = {"_p_std__unique_ptrT_lldb_private__File_t", "lldb::FileUP *|std::unique_ptr< lldb_private::File > *", 0, 0, (void*)0, 0};
78993 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__JITLoaderList_t = {"_p_std__unique_ptrT_lldb_private__JITLoaderList_t", "lldb::JITLoaderListUP *|std::unique_ptr< lldb_private::JITLoaderList > *", 0, 0, (void*)0, 0};
78994 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t", "lldb::MemoryRegionInfoUP *|std::unique_ptr< lldb_private::MemoryRegionInfo > *", 0, 0, (void*)0, 0};
78995 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__OperatingSystem_t = {"_p_std__unique_ptrT_lldb_private__OperatingSystem_t", "lldb::OperatingSystemUP *|std::unique_ptr< lldb_private::OperatingSystem > *", 0, 0, (void*)0, 0};
78996 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t", "lldb::ScriptedPlatformInterfaceUP *|std::unique_ptr< lldb_private::ScriptedPlatformInterface > *", 0, 0, (void*)0, 0};
78997 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t = {"_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t", "lldb::ScriptedProcessInterfaceUP *|std::unique_ptr< lldb_private::ScriptedProcessInterface > *", 0, 0, (void*)0, 0};
78998 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SectionList_t = {"_p_std__unique_ptrT_lldb_private__SectionList_t", "lldb::SectionListUP *|std::unique_ptr< lldb_private::SectionList > *", 0, 0, (void*)0, 0};
78999 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SourceManager_t = {"_p_std__unique_ptrT_lldb_private__SourceManager_t", "lldb::SourceManagerUP *|std::unique_ptr< lldb_private::SourceManager > *", 0, 0, (void*)0, 0};
79000 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t = {"_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t", "lldb::StackFrameRecognizerManagerUP *|std::unique_ptr< lldb_private::StackFrameRecognizerManager > *", 0, 0, (void*)0, 0};
79001 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t = {"_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t", "lldb::StructuredDataImplUP *|std::unique_ptr< lldb_private::StructuredDataImpl > *", 0, 0, (void*)0, 0};
79002 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t = {"_p_std__unique_ptrT_lldb_private__SymbolVendor_t", "lldb::SymbolVendorUP *|std::unique_ptr< lldb_private::SymbolVendor > *", 0, 0, (void*)0, 0};
79003 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t = {"_p_std__unique_ptrT_lldb_private__SystemRuntime_t", "lldb::SystemRuntimeUP *|std::unique_ptr< lldb_private::SystemRuntime > *", 0, 0, (void*)0, 0};
79004 static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__TraceExporter_t = {"_p_std__unique_ptrT_lldb_private__TraceExporter_t", "lldb::TraceExporterUP *|std::unique_ptr< lldb_private::TraceExporter > *", 0, 0, (void*)0, 0};
79005 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BreakpointLocation_t = {"_p_std__weak_ptrT_lldb_private__BreakpointLocation_t", "lldb::BreakpointLocationWP *|std::weak_ptr< lldb_private::BreakpointLocation > *", 0, 0, (void*)0, 0};
79006 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Breakpoint_t = {"_p_std__weak_ptrT_lldb_private__Breakpoint_t", "lldb::BreakpointWP *|std::weak_ptr< lldb_private::Breakpoint > *", 0, 0, (void*)0, 0};
79007 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__BroadcasterManager_t = {"_p_std__weak_ptrT_lldb_private__BroadcasterManager_t", "lldb::BroadcasterManagerWP *|std::weak_ptr< lldb_private::BroadcasterManager > *", 0, 0, (void*)0, 0};
79008 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Debugger_t = {"_p_std__weak_ptrT_lldb_private__Debugger_t", "lldb::DebuggerWP *|std::weak_ptr< lldb_private::Debugger > *", 0, 0, (void*)0, 0};
79009 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Listener_t = {"_p_std__weak_ptrT_lldb_private__Listener_t", "lldb::ListenerWP *|std::weak_ptr< lldb_private::Listener > *", 0, 0, (void*)0, 0};
79010 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Module_t = {"_p_std__weak_ptrT_lldb_private__Module_t", "lldb::ModuleWP *|std::weak_ptr< lldb_private::Module > *", 0, 0, (void*)0, 0};
79011 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t = {"_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t", "lldb::ObjectFileJITDelegateWP *|std::weak_ptr< lldb_private::ObjectFileJITDelegate > *", 0, 0, (void*)0, 0};
79012 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__OptionValue_t = {"_p_std__weak_ptrT_lldb_private__OptionValue_t", "lldb::OptionValueWP *|std::weak_ptr< lldb_private::OptionValue > *", 0, 0, (void*)0, 0};
79013 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Process_t = {"_p_std__weak_ptrT_lldb_private__Process_t", "lldb::ProcessWP *|std::weak_ptr< lldb_private::Process > *", 0, 0, (void*)0, 0};
79014 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Queue_t = {"_p_std__weak_ptrT_lldb_private__Queue_t", "lldb::QueueWP *|std::weak_ptr< lldb_private::Queue > *", 0, 0, (void*)0, 0};
79015 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Section_t = {"_p_std__weak_ptrT_lldb_private__Section_t", "lldb::SectionWP *|std::weak_ptr< lldb_private::Section > *", 0, 0, (void*)0, 0};
79016 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__StackFrame_t = {"_p_std__weak_ptrT_lldb_private__StackFrame_t", "lldb::StackFrameWP *|std::weak_ptr< lldb_private::StackFrame > *", 0, 0, (void*)0, 0};
79017 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t = {"_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t", "lldb::StructuredDataPluginWP *|std::weak_ptr< lldb_private::StructuredDataPlugin > *", 0, 0, (void*)0, 0};
79018 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Target_t = {"_p_std__weak_ptrT_lldb_private__Target_t", "lldb::TargetWP *|std::weak_ptr< lldb_private::Target > *", 0, 0, (void*)0, 0};
79019 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__ThreadPlan_t = {"_p_std__weak_ptrT_lldb_private__ThreadPlan_t", "lldb::ThreadPlanWP *|std::weak_ptr< lldb_private::ThreadPlan > *", 0, 0, (void*)0, 0};
79020 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Thread_t = {"_p_std__weak_ptrT_lldb_private__Thread_t", "lldb::ThreadWP *|std::weak_ptr< lldb_private::Thread > *", 0, 0, (void*)0, 0};
79021 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t = {"_p_std__weak_ptrT_lldb_private__TypeSystem_t", "lldb::TypeSystemWP *|std::weak_ptr< lldb_private::TypeSystem > *", 0, 0, (void*)0, 0};
79022 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Type_t = {"_p_std__weak_ptrT_lldb_private__Type_t", "lldb::TypeWP *|std::weak_ptr< lldb_private::Type > *", 0, 0, (void*)0, 0};
79023 static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t = {"_p_std__weak_ptrT_lldb_private__UnixSignals_t", "lldb::UnixSignalsWP *|std::weak_ptr< lldb_private::UnixSignals > *", 0, 0, (void*)0, 0};
79024 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0};
79025 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "lldb::cpu_id_t *|lldb::wp_resource_id_t *|uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0};
79026 static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "lldb::addr_t *|lldb::offset_t *|lldb::pid_t *|lldb::process_t *|lldb::queue_id_t *|lldb::tid_t *|lldb::user_id_t *|uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|unsigned long long *", 0, 0, (void*)0, 0};
79027 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0};
79028 static swig_type_info _swigt__p_void = {"_p_void", "lldb::ScriptObjectPtr|void *", 0, 0, (void*)0, 0};
79029 
79030 static swig_type_info *swig_type_initial[] = {
79031   &_swigt__p_bool,
79032   &_swigt__p_double,
79033   &_swigt__p_f_p_q_const__char_p_void__void,
79034   &_swigt__p_f_p_void__p_void,
79035   &_swigt__p_f_p_void_p_q_const__void_size_t__void,
79036   &_swigt__p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError,
79037   &_swigt__p_f_unsigned_long_long_p_void__void,
79038   &_swigt__p_int,
79039   &_swigt__p_lldb__ConnectionStatus,
79040   &_swigt__p_lldb__SBAddress,
79041   &_swigt__p_lldb__SBAttachInfo,
79042   &_swigt__p_lldb__SBBlock,
79043   &_swigt__p_lldb__SBBreakpoint,
79044   &_swigt__p_lldb__SBBreakpointList,
79045   &_swigt__p_lldb__SBBreakpointLocation,
79046   &_swigt__p_lldb__SBBreakpointName,
79047   &_swigt__p_lldb__SBBroadcaster,
79048   &_swigt__p_lldb__SBCommandInterpreter,
79049   &_swigt__p_lldb__SBCommandInterpreterRunOptions,
79050   &_swigt__p_lldb__SBCommandReturnObject,
79051   &_swigt__p_lldb__SBCommunication,
79052   &_swigt__p_lldb__SBCompileUnit,
79053   &_swigt__p_lldb__SBData,
79054   &_swigt__p_lldb__SBDebugger,
79055   &_swigt__p_lldb__SBDeclaration,
79056   &_swigt__p_lldb__SBEnvironment,
79057   &_swigt__p_lldb__SBError,
79058   &_swigt__p_lldb__SBEvent,
79059   &_swigt__p_lldb__SBExecutionContext,
79060   &_swigt__p_lldb__SBExpressionOptions,
79061   &_swigt__p_lldb__SBFile,
79062   &_swigt__p_lldb__SBFileSpec,
79063   &_swigt__p_lldb__SBFileSpecList,
79064   &_swigt__p_lldb__SBFormat,
79065   &_swigt__p_lldb__SBFrame,
79066   &_swigt__p_lldb__SBFunction,
79067   &_swigt__p_lldb__SBHostOS,
79068   &_swigt__p_lldb__SBInstruction,
79069   &_swigt__p_lldb__SBInstructionList,
79070   &_swigt__p_lldb__SBLanguageRuntime,
79071   &_swigt__p_lldb__SBLaunchInfo,
79072   &_swigt__p_lldb__SBLineEntry,
79073   &_swigt__p_lldb__SBListener,
79074   &_swigt__p_lldb__SBMemoryRegionInfo,
79075   &_swigt__p_lldb__SBMemoryRegionInfoList,
79076   &_swigt__p_lldb__SBModule,
79077   &_swigt__p_lldb__SBModuleSpec,
79078   &_swigt__p_lldb__SBModuleSpecList,
79079   &_swigt__p_lldb__SBPlatform,
79080   &_swigt__p_lldb__SBPlatformConnectOptions,
79081   &_swigt__p_lldb__SBPlatformShellCommand,
79082   &_swigt__p_lldb__SBProcess,
79083   &_swigt__p_lldb__SBProcessInfo,
79084   &_swigt__p_lldb__SBProcessInfoList,
79085   &_swigt__p_lldb__SBQueue,
79086   &_swigt__p_lldb__SBQueueItem,
79087   &_swigt__p_lldb__SBReproducer,
79088   &_swigt__p_lldb__SBScriptObject,
79089   &_swigt__p_lldb__SBSection,
79090   &_swigt__p_lldb__SBSourceManager,
79091   &_swigt__p_lldb__SBStream,
79092   &_swigt__p_lldb__SBStringList,
79093   &_swigt__p_lldb__SBStructuredData,
79094   &_swigt__p_lldb__SBSymbol,
79095   &_swigt__p_lldb__SBSymbolContext,
79096   &_swigt__p_lldb__SBSymbolContextList,
79097   &_swigt__p_lldb__SBTarget,
79098   &_swigt__p_lldb__SBThread,
79099   &_swigt__p_lldb__SBThreadCollection,
79100   &_swigt__p_lldb__SBThreadPlan,
79101   &_swigt__p_lldb__SBTrace,
79102   &_swigt__p_lldb__SBTraceCursor,
79103   &_swigt__p_lldb__SBType,
79104   &_swigt__p_lldb__SBTypeCategory,
79105   &_swigt__p_lldb__SBTypeEnumMember,
79106   &_swigt__p_lldb__SBTypeEnumMemberList,
79107   &_swigt__p_lldb__SBTypeFilter,
79108   &_swigt__p_lldb__SBTypeFormat,
79109   &_swigt__p_lldb__SBTypeList,
79110   &_swigt__p_lldb__SBTypeMember,
79111   &_swigt__p_lldb__SBTypeMemberFunction,
79112   &_swigt__p_lldb__SBTypeNameSpecifier,
79113   &_swigt__p_lldb__SBTypeSummary,
79114   &_swigt__p_lldb__SBTypeSummaryOptions,
79115   &_swigt__p_lldb__SBTypeSynthetic,
79116   &_swigt__p_lldb__SBUnixSignals,
79117   &_swigt__p_lldb__SBValue,
79118   &_swigt__p_lldb__SBValueList,
79119   &_swigt__p_lldb__SBVariablesOptions,
79120   &_swigt__p_lldb__SBWatchpoint,
79121   &_swigt__p_lldb__SBWatchpointOptions,
79122   &_swigt__p_long_double,
79123   &_swigt__p_long_long,
79124   &_swigt__p_p_void,
79125   &_swigt__p_pthread_rwlock_t,
79126   &_swigt__p_pthread_t,
79127   &_swigt__p_short,
79128   &_swigt__p_signed_char,
79129   &_swigt__p_size_t,
79130   &_swigt__p_std__shared_ptrT_lldb_private__ABI_t,
79131   &_swigt__p_std__shared_ptrT_lldb_private__Baton_t,
79132   &_swigt__p_std__shared_ptrT_lldb_private__Block_t,
79133   &_swigt__p_std__shared_ptrT_lldb_private__BreakpointLocation_t,
79134   &_swigt__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t,
79135   &_swigt__p_std__shared_ptrT_lldb_private__BreakpointResolver_t,
79136   &_swigt__p_std__shared_ptrT_lldb_private__BreakpointSite_t,
79137   &_swigt__p_std__shared_ptrT_lldb_private__Breakpoint_t,
79138   &_swigt__p_std__shared_ptrT_lldb_private__BroadcasterManager_t,
79139   &_swigt__p_std__shared_ptrT_lldb_private__Broadcaster_t,
79140   &_swigt__p_std__shared_ptrT_lldb_private__CommandObject_t,
79141   &_swigt__p_std__shared_ptrT_lldb_private__CompileUnit_t,
79142   &_swigt__p_std__shared_ptrT_lldb_private__Connection_t,
79143   &_swigt__p_std__shared_ptrT_lldb_private__DataBuffer_t,
79144   &_swigt__p_std__shared_ptrT_lldb_private__DataExtractor_t,
79145   &_swigt__p_std__shared_ptrT_lldb_private__Debugger_t,
79146   &_swigt__p_std__shared_ptrT_lldb_private__Disassembler_t,
79147   &_swigt__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t,
79148   &_swigt__p_std__shared_ptrT_lldb_private__EventData_t,
79149   &_swigt__p_std__shared_ptrT_lldb_private__Event_t,
79150   &_swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t,
79151   &_swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t,
79152   &_swigt__p_std__shared_ptrT_lldb_private__File_t,
79153   &_swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t,
79154   &_swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t,
79155   &_swigt__p_std__shared_ptrT_lldb_private__Function_t,
79156   &_swigt__p_std__shared_ptrT_lldb_private__IOHandler_t,
79157   &_swigt__p_std__shared_ptrT_lldb_private__IOObject_t,
79158   &_swigt__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t,
79159   &_swigt__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t,
79160   &_swigt__p_std__shared_ptrT_lldb_private__Instruction_t,
79161   &_swigt__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t,
79162   &_swigt__p_std__shared_ptrT_lldb_private__JITLoader_t,
79163   &_swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t,
79164   &_swigt__p_std__shared_ptrT_lldb_private__Listener_t,
79165   &_swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t,
79166   &_swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t,
79167   &_swigt__p_std__shared_ptrT_lldb_private__Module_t,
79168   &_swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t,
79169   &_swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t,
79170   &_swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t,
79171   &_swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t,
79172   &_swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t,
79173   &_swigt__p_std__shared_ptrT_lldb_private__OptionValue_t,
79174   &_swigt__p_std__shared_ptrT_lldb_private__Platform_t,
79175   &_swigt__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t,
79176   &_swigt__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t,
79177   &_swigt__p_std__shared_ptrT_lldb_private__Process_t,
79178   &_swigt__p_std__shared_ptrT_lldb_private__QueueItem_t,
79179   &_swigt__p_std__shared_ptrT_lldb_private__Queue_t,
79180   &_swigt__p_std__shared_ptrT_lldb_private__REPL_t,
79181   &_swigt__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t,
79182   &_swigt__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t,
79183   &_swigt__p_std__shared_ptrT_lldb_private__RegisterContext_t,
79184   &_swigt__p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t,
79185   &_swigt__p_std__shared_ptrT_lldb_private__RegularExpression_t,
79186   &_swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t,
79187   &_swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t,
79188   &_swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t,
79189   &_swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t,
79190   &_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t,
79191   &_swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t,
79192   &_swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t,
79193   &_swigt__p_std__shared_ptrT_lldb_private__Section_t,
79194   &_swigt__p_std__shared_ptrT_lldb_private__StackFrameList_t,
79195   &_swigt__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t,
79196   &_swigt__p_std__shared_ptrT_lldb_private__StackFrame_t,
79197   &_swigt__p_std__shared_ptrT_lldb_private__StopInfo_t,
79198   &_swigt__p_std__shared_ptrT_lldb_private__StreamFile_t,
79199   &_swigt__p_std__shared_ptrT_lldb_private__Stream_t,
79200   &_swigt__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t,
79201   &_swigt__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t,
79202   &_swigt__p_std__shared_ptrT_lldb_private__SupportFile_t,
79203   &_swigt__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t,
79204   &_swigt__p_std__shared_ptrT_lldb_private__SymbolFileType_t,
79205   &_swigt__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t,
79206   &_swigt__p_std__shared_ptrT_lldb_private__SyntheticChildren_t,
79207   &_swigt__p_std__shared_ptrT_lldb_private__Target_t,
79208   &_swigt__p_std__shared_ptrT_lldb_private__ThreadCollection_t,
79209   &_swigt__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t,
79210   &_swigt__p_std__shared_ptrT_lldb_private__ThreadPlan_t,
79211   &_swigt__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t,
79212   &_swigt__p_std__shared_ptrT_lldb_private__Thread_t,
79213   &_swigt__p_std__shared_ptrT_lldb_private__TraceCursor_t,
79214   &_swigt__p_std__shared_ptrT_lldb_private__Trace_t,
79215   &_swigt__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t,
79216   &_swigt__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t,
79217   &_swigt__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t,
79218   &_swigt__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t,
79219   &_swigt__p_std__shared_ptrT_lldb_private__TypeImpl_t,
79220   &_swigt__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t,
79221   &_swigt__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t,
79222   &_swigt__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t,
79223   &_swigt__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t,
79224   &_swigt__p_std__shared_ptrT_lldb_private__TypeSystemClang_t,
79225   &_swigt__p_std__shared_ptrT_lldb_private__TypeSystem_t,
79226   &_swigt__p_std__shared_ptrT_lldb_private__Type_t,
79227   &_swigt__p_std__shared_ptrT_lldb_private__UnixSignals_t,
79228   &_swigt__p_std__shared_ptrT_lldb_private__UnwindAssembly_t,
79229   &_swigt__p_std__shared_ptrT_lldb_private__UnwindPlan_t,
79230   &_swigt__p_std__shared_ptrT_lldb_private__UserExpression_t,
79231   &_swigt__p_std__shared_ptrT_lldb_private__ValueObjectList_t,
79232   &_swigt__p_std__shared_ptrT_lldb_private__ValueObject_t,
79233   &_swigt__p_std__shared_ptrT_lldb_private__Value_t,
79234   &_swigt__p_std__shared_ptrT_lldb_private__VariableList_t,
79235   &_swigt__p_std__shared_ptrT_lldb_private__Variable_t,
79236   &_swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t,
79237   &_swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t,
79238   &_swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t,
79239   &_swigt__p_std__string,
79240   &_swigt__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t,
79241   &_swigt__p_std__unique_ptrT_lldb_private__DynamicLoader_t,
79242   &_swigt__p_std__unique_ptrT_lldb_private__File_t,
79243   &_swigt__p_std__unique_ptrT_lldb_private__JITLoaderList_t,
79244   &_swigt__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t,
79245   &_swigt__p_std__unique_ptrT_lldb_private__OperatingSystem_t,
79246   &_swigt__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t,
79247   &_swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t,
79248   &_swigt__p_std__unique_ptrT_lldb_private__SectionList_t,
79249   &_swigt__p_std__unique_ptrT_lldb_private__SourceManager_t,
79250   &_swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t,
79251   &_swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t,
79252   &_swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t,
79253   &_swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t,
79254   &_swigt__p_std__unique_ptrT_lldb_private__TraceExporter_t,
79255   &_swigt__p_std__weak_ptrT_lldb_private__BreakpointLocation_t,
79256   &_swigt__p_std__weak_ptrT_lldb_private__Breakpoint_t,
79257   &_swigt__p_std__weak_ptrT_lldb_private__BroadcasterManager_t,
79258   &_swigt__p_std__weak_ptrT_lldb_private__Debugger_t,
79259   &_swigt__p_std__weak_ptrT_lldb_private__Listener_t,
79260   &_swigt__p_std__weak_ptrT_lldb_private__Module_t,
79261   &_swigt__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t,
79262   &_swigt__p_std__weak_ptrT_lldb_private__OptionValue_t,
79263   &_swigt__p_std__weak_ptrT_lldb_private__Process_t,
79264   &_swigt__p_std__weak_ptrT_lldb_private__Queue_t,
79265   &_swigt__p_std__weak_ptrT_lldb_private__Section_t,
79266   &_swigt__p_std__weak_ptrT_lldb_private__StackFrame_t,
79267   &_swigt__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t,
79268   &_swigt__p_std__weak_ptrT_lldb_private__Target_t,
79269   &_swigt__p_std__weak_ptrT_lldb_private__ThreadPlan_t,
79270   &_swigt__p_std__weak_ptrT_lldb_private__Thread_t,
79271   &_swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t,
79272   &_swigt__p_std__weak_ptrT_lldb_private__Type_t,
79273   &_swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t,
79274   &_swigt__p_unsigned_char,
79275   &_swigt__p_unsigned_int,
79276   &_swigt__p_unsigned_long_long,
79277   &_swigt__p_unsigned_short,
79278   &_swigt__p_void,
79279 };
79280 
79281 static swig_cast_info _swigc__p_bool[] = {  {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
79282 static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
79283 static swig_cast_info _swigc__p_f_p_q_const__char_p_void__void[] = {  {&_swigt__p_f_p_q_const__char_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
79284 static swig_cast_info _swigc__p_f_p_void__p_void[] = {  {&_swigt__p_f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}};
79285 static swig_cast_info _swigc__p_f_p_void_p_q_const__void_size_t__void[] = {  {&_swigt__p_f_p_void_p_q_const__void_size_t__void, 0, 0, 0},{0, 0, 0, 0}};
79286 static swig_cast_info _swigc__p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError[] = {  {&_swigt__p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError, 0, 0, 0},{0, 0, 0, 0}};
79287 static swig_cast_info _swigc__p_f_unsigned_long_long_p_void__void[] = {  {&_swigt__p_f_unsigned_long_long_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
79288 static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
79289 static swig_cast_info _swigc__p_lldb__ConnectionStatus[] = {  {&_swigt__p_lldb__ConnectionStatus, 0, 0, 0},{0, 0, 0, 0}};
79290 static swig_cast_info _swigc__p_lldb__SBAddress[] = {  {&_swigt__p_lldb__SBAddress, 0, 0, 0},{0, 0, 0, 0}};
79291 static swig_cast_info _swigc__p_lldb__SBAttachInfo[] = {  {&_swigt__p_lldb__SBAttachInfo, 0, 0, 0},{0, 0, 0, 0}};
79292 static swig_cast_info _swigc__p_lldb__SBBlock[] = {  {&_swigt__p_lldb__SBBlock, 0, 0, 0},{0, 0, 0, 0}};
79293 static swig_cast_info _swigc__p_lldb__SBBreakpoint[] = {  {&_swigt__p_lldb__SBBreakpoint, 0, 0, 0},{0, 0, 0, 0}};
79294 static swig_cast_info _swigc__p_lldb__SBBreakpointList[] = {  {&_swigt__p_lldb__SBBreakpointList, 0, 0, 0},{0, 0, 0, 0}};
79295 static swig_cast_info _swigc__p_lldb__SBBreakpointLocation[] = {  {&_swigt__p_lldb__SBBreakpointLocation, 0, 0, 0},{0, 0, 0, 0}};
79296 static swig_cast_info _swigc__p_lldb__SBBreakpointName[] = {  {&_swigt__p_lldb__SBBreakpointName, 0, 0, 0},{0, 0, 0, 0}};
79297 static swig_cast_info _swigc__p_lldb__SBBroadcaster[] = {  {&_swigt__p_lldb__SBBroadcaster, 0, 0, 0},{0, 0, 0, 0}};
79298 static swig_cast_info _swigc__p_lldb__SBCommandInterpreter[] = {  {&_swigt__p_lldb__SBCommandInterpreter, 0, 0, 0},{0, 0, 0, 0}};
79299 static swig_cast_info _swigc__p_lldb__SBCommandInterpreterRunOptions[] = {  {&_swigt__p_lldb__SBCommandInterpreterRunOptions, 0, 0, 0},{0, 0, 0, 0}};
79300 static swig_cast_info _swigc__p_lldb__SBCommandReturnObject[] = {  {&_swigt__p_lldb__SBCommandReturnObject, 0, 0, 0},{0, 0, 0, 0}};
79301 static swig_cast_info _swigc__p_lldb__SBCommunication[] = {  {&_swigt__p_lldb__SBCommunication, 0, 0, 0},{0, 0, 0, 0}};
79302 static swig_cast_info _swigc__p_lldb__SBCompileUnit[] = {  {&_swigt__p_lldb__SBCompileUnit, 0, 0, 0},{0, 0, 0, 0}};
79303 static swig_cast_info _swigc__p_lldb__SBData[] = {  {&_swigt__p_lldb__SBData, 0, 0, 0},{0, 0, 0, 0}};
79304 static swig_cast_info _swigc__p_lldb__SBDebugger[] = {  {&_swigt__p_lldb__SBDebugger, 0, 0, 0},{0, 0, 0, 0}};
79305 static swig_cast_info _swigc__p_lldb__SBDeclaration[] = {  {&_swigt__p_lldb__SBDeclaration, 0, 0, 0},{0, 0, 0, 0}};
79306 static swig_cast_info _swigc__p_lldb__SBEnvironment[] = {  {&_swigt__p_lldb__SBEnvironment, 0, 0, 0},{0, 0, 0, 0}};
79307 static swig_cast_info _swigc__p_lldb__SBError[] = {  {&_swigt__p_lldb__SBError, 0, 0, 0},{0, 0, 0, 0}};
79308 static swig_cast_info _swigc__p_lldb__SBEvent[] = {  {&_swigt__p_lldb__SBEvent, 0, 0, 0},{0, 0, 0, 0}};
79309 static swig_cast_info _swigc__p_lldb__SBExecutionContext[] = {  {&_swigt__p_lldb__SBExecutionContext, 0, 0, 0},{0, 0, 0, 0}};
79310 static swig_cast_info _swigc__p_lldb__SBExpressionOptions[] = {  {&_swigt__p_lldb__SBExpressionOptions, 0, 0, 0},{0, 0, 0, 0}};
79311 static swig_cast_info _swigc__p_lldb__SBFile[] = {  {&_swigt__p_lldb__SBFile, 0, 0, 0},{0, 0, 0, 0}};
79312 static swig_cast_info _swigc__p_lldb__SBFileSpec[] = {  {&_swigt__p_lldb__SBFileSpec, 0, 0, 0},{0, 0, 0, 0}};
79313 static swig_cast_info _swigc__p_lldb__SBFileSpecList[] = {  {&_swigt__p_lldb__SBFileSpecList, 0, 0, 0},{0, 0, 0, 0}};
79314 static swig_cast_info _swigc__p_lldb__SBFormat[] = {  {&_swigt__p_lldb__SBFormat, 0, 0, 0},{0, 0, 0, 0}};
79315 static swig_cast_info _swigc__p_lldb__SBFrame[] = {  {&_swigt__p_lldb__SBFrame, 0, 0, 0},{0, 0, 0, 0}};
79316 static swig_cast_info _swigc__p_lldb__SBFunction[] = {  {&_swigt__p_lldb__SBFunction, 0, 0, 0},{0, 0, 0, 0}};
79317 static swig_cast_info _swigc__p_lldb__SBHostOS[] = {  {&_swigt__p_lldb__SBHostOS, 0, 0, 0},{0, 0, 0, 0}};
79318 static swig_cast_info _swigc__p_lldb__SBInstruction[] = {  {&_swigt__p_lldb__SBInstruction, 0, 0, 0},{0, 0, 0, 0}};
79319 static swig_cast_info _swigc__p_lldb__SBInstructionList[] = {  {&_swigt__p_lldb__SBInstructionList, 0, 0, 0},{0, 0, 0, 0}};
79320 static swig_cast_info _swigc__p_lldb__SBLanguageRuntime[] = {  {&_swigt__p_lldb__SBLanguageRuntime, 0, 0, 0},{0, 0, 0, 0}};
79321 static swig_cast_info _swigc__p_lldb__SBLaunchInfo[] = {  {&_swigt__p_lldb__SBLaunchInfo, 0, 0, 0},{0, 0, 0, 0}};
79322 static swig_cast_info _swigc__p_lldb__SBLineEntry[] = {  {&_swigt__p_lldb__SBLineEntry, 0, 0, 0},{0, 0, 0, 0}};
79323 static swig_cast_info _swigc__p_lldb__SBListener[] = {  {&_swigt__p_lldb__SBListener, 0, 0, 0},{0, 0, 0, 0}};
79324 static swig_cast_info _swigc__p_lldb__SBMemoryRegionInfo[] = {  {&_swigt__p_lldb__SBMemoryRegionInfo, 0, 0, 0},{0, 0, 0, 0}};
79325 static swig_cast_info _swigc__p_lldb__SBMemoryRegionInfoList[] = {  {&_swigt__p_lldb__SBMemoryRegionInfoList, 0, 0, 0},{0, 0, 0, 0}};
79326 static swig_cast_info _swigc__p_lldb__SBModule[] = {  {&_swigt__p_lldb__SBModule, 0, 0, 0},{0, 0, 0, 0}};
79327 static swig_cast_info _swigc__p_lldb__SBModuleSpec[] = {  {&_swigt__p_lldb__SBModuleSpec, 0, 0, 0},{0, 0, 0, 0}};
79328 static swig_cast_info _swigc__p_lldb__SBModuleSpecList[] = {  {&_swigt__p_lldb__SBModuleSpecList, 0, 0, 0},{0, 0, 0, 0}};
79329 static swig_cast_info _swigc__p_lldb__SBPlatform[] = {  {&_swigt__p_lldb__SBPlatform, 0, 0, 0},{0, 0, 0, 0}};
79330 static swig_cast_info _swigc__p_lldb__SBPlatformConnectOptions[] = {  {&_swigt__p_lldb__SBPlatformConnectOptions, 0, 0, 0},{0, 0, 0, 0}};
79331 static swig_cast_info _swigc__p_lldb__SBPlatformShellCommand[] = {  {&_swigt__p_lldb__SBPlatformShellCommand, 0, 0, 0},{0, 0, 0, 0}};
79332 static swig_cast_info _swigc__p_lldb__SBProcess[] = {  {&_swigt__p_lldb__SBProcess, 0, 0, 0},{0, 0, 0, 0}};
79333 static swig_cast_info _swigc__p_lldb__SBProcessInfo[] = {  {&_swigt__p_lldb__SBProcessInfo, 0, 0, 0},{0, 0, 0, 0}};
79334 static swig_cast_info _swigc__p_lldb__SBProcessInfoList[] = {  {&_swigt__p_lldb__SBProcessInfoList, 0, 0, 0},{0, 0, 0, 0}};
79335 static swig_cast_info _swigc__p_lldb__SBQueue[] = {  {&_swigt__p_lldb__SBQueue, 0, 0, 0},{0, 0, 0, 0}};
79336 static swig_cast_info _swigc__p_lldb__SBQueueItem[] = {  {&_swigt__p_lldb__SBQueueItem, 0, 0, 0},{0, 0, 0, 0}};
79337 static swig_cast_info _swigc__p_lldb__SBReproducer[] = {  {&_swigt__p_lldb__SBReproducer, 0, 0, 0},{0, 0, 0, 0}};
79338 static swig_cast_info _swigc__p_lldb__SBScriptObject[] = {  {&_swigt__p_lldb__SBScriptObject, 0, 0, 0},{0, 0, 0, 0}};
79339 static swig_cast_info _swigc__p_lldb__SBSection[] = {  {&_swigt__p_lldb__SBSection, 0, 0, 0},{0, 0, 0, 0}};
79340 static swig_cast_info _swigc__p_lldb__SBSourceManager[] = {  {&_swigt__p_lldb__SBSourceManager, 0, 0, 0},{0, 0, 0, 0}};
79341 static swig_cast_info _swigc__p_lldb__SBStream[] = {  {&_swigt__p_lldb__SBStream, 0, 0, 0},{0, 0, 0, 0}};
79342 static swig_cast_info _swigc__p_lldb__SBStringList[] = {  {&_swigt__p_lldb__SBStringList, 0, 0, 0},{0, 0, 0, 0}};
79343 static swig_cast_info _swigc__p_lldb__SBStructuredData[] = {  {&_swigt__p_lldb__SBStructuredData, 0, 0, 0},{0, 0, 0, 0}};
79344 static swig_cast_info _swigc__p_lldb__SBSymbol[] = {  {&_swigt__p_lldb__SBSymbol, 0, 0, 0},{0, 0, 0, 0}};
79345 static swig_cast_info _swigc__p_lldb__SBSymbolContext[] = {  {&_swigt__p_lldb__SBSymbolContext, 0, 0, 0},{0, 0, 0, 0}};
79346 static swig_cast_info _swigc__p_lldb__SBSymbolContextList[] = {  {&_swigt__p_lldb__SBSymbolContextList, 0, 0, 0},{0, 0, 0, 0}};
79347 static swig_cast_info _swigc__p_lldb__SBTarget[] = {  {&_swigt__p_lldb__SBTarget, 0, 0, 0},{0, 0, 0, 0}};
79348 static swig_cast_info _swigc__p_lldb__SBThread[] = {  {&_swigt__p_lldb__SBThread, 0, 0, 0},{0, 0, 0, 0}};
79349 static swig_cast_info _swigc__p_lldb__SBThreadCollection[] = {  {&_swigt__p_lldb__SBThreadCollection, 0, 0, 0},{0, 0, 0, 0}};
79350 static swig_cast_info _swigc__p_lldb__SBThreadPlan[] = {  {&_swigt__p_lldb__SBThreadPlan, 0, 0, 0},{0, 0, 0, 0}};
79351 static swig_cast_info _swigc__p_lldb__SBTrace[] = {  {&_swigt__p_lldb__SBTrace, 0, 0, 0},{0, 0, 0, 0}};
79352 static swig_cast_info _swigc__p_lldb__SBTraceCursor[] = {  {&_swigt__p_lldb__SBTraceCursor, 0, 0, 0},{0, 0, 0, 0}};
79353 static swig_cast_info _swigc__p_lldb__SBType[] = {  {&_swigt__p_lldb__SBType, 0, 0, 0},{0, 0, 0, 0}};
79354 static swig_cast_info _swigc__p_lldb__SBTypeCategory[] = {  {&_swigt__p_lldb__SBTypeCategory, 0, 0, 0},{0, 0, 0, 0}};
79355 static swig_cast_info _swigc__p_lldb__SBTypeEnumMember[] = {  {&_swigt__p_lldb__SBTypeEnumMember, 0, 0, 0},{0, 0, 0, 0}};
79356 static swig_cast_info _swigc__p_lldb__SBTypeEnumMemberList[] = {  {&_swigt__p_lldb__SBTypeEnumMemberList, 0, 0, 0},{0, 0, 0, 0}};
79357 static swig_cast_info _swigc__p_lldb__SBTypeFilter[] = {  {&_swigt__p_lldb__SBTypeFilter, 0, 0, 0},{0, 0, 0, 0}};
79358 static swig_cast_info _swigc__p_lldb__SBTypeFormat[] = {  {&_swigt__p_lldb__SBTypeFormat, 0, 0, 0},{0, 0, 0, 0}};
79359 static swig_cast_info _swigc__p_lldb__SBTypeList[] = {  {&_swigt__p_lldb__SBTypeList, 0, 0, 0},{0, 0, 0, 0}};
79360 static swig_cast_info _swigc__p_lldb__SBTypeMember[] = {  {&_swigt__p_lldb__SBTypeMember, 0, 0, 0},{0, 0, 0, 0}};
79361 static swig_cast_info _swigc__p_lldb__SBTypeMemberFunction[] = {  {&_swigt__p_lldb__SBTypeMemberFunction, 0, 0, 0},{0, 0, 0, 0}};
79362 static swig_cast_info _swigc__p_lldb__SBTypeNameSpecifier[] = {  {&_swigt__p_lldb__SBTypeNameSpecifier, 0, 0, 0},{0, 0, 0, 0}};
79363 static swig_cast_info _swigc__p_lldb__SBTypeSummary[] = {  {&_swigt__p_lldb__SBTypeSummary, 0, 0, 0},{0, 0, 0, 0}};
79364 static swig_cast_info _swigc__p_lldb__SBTypeSummaryOptions[] = {  {&_swigt__p_lldb__SBTypeSummaryOptions, 0, 0, 0},{0, 0, 0, 0}};
79365 static swig_cast_info _swigc__p_lldb__SBTypeSynthetic[] = {  {&_swigt__p_lldb__SBTypeSynthetic, 0, 0, 0},{0, 0, 0, 0}};
79366 static swig_cast_info _swigc__p_lldb__SBUnixSignals[] = {  {&_swigt__p_lldb__SBUnixSignals, 0, 0, 0},{0, 0, 0, 0}};
79367 static swig_cast_info _swigc__p_lldb__SBValue[] = {  {&_swigt__p_lldb__SBValue, 0, 0, 0},{0, 0, 0, 0}};
79368 static swig_cast_info _swigc__p_lldb__SBValueList[] = {  {&_swigt__p_lldb__SBValueList, 0, 0, 0},{0, 0, 0, 0}};
79369 static swig_cast_info _swigc__p_lldb__SBVariablesOptions[] = {  {&_swigt__p_lldb__SBVariablesOptions, 0, 0, 0},{0, 0, 0, 0}};
79370 static swig_cast_info _swigc__p_lldb__SBWatchpoint[] = {  {&_swigt__p_lldb__SBWatchpoint, 0, 0, 0},{0, 0, 0, 0}};
79371 static swig_cast_info _swigc__p_lldb__SBWatchpointOptions[] = {  {&_swigt__p_lldb__SBWatchpointOptions, 0, 0, 0},{0, 0, 0, 0}};
79372 static swig_cast_info _swigc__p_long_double[] = {  {&_swigt__p_long_double, 0, 0, 0},{0, 0, 0, 0}};
79373 static swig_cast_info _swigc__p_long_long[] = {  {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
79374 static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
79375 static swig_cast_info _swigc__p_pthread_rwlock_t[] = {  {&_swigt__p_pthread_rwlock_t, 0, 0, 0},{0, 0, 0, 0}};
79376 static swig_cast_info _swigc__p_pthread_t[] = {  {&_swigt__p_pthread_t, 0, 0, 0},{0, 0, 0, 0}};
79377 static swig_cast_info _swigc__p_short[] = {  {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
79378 static swig_cast_info _swigc__p_signed_char[] = {  {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
79379 static swig_cast_info _swigc__p_size_t[] = {  {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
79380 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ABI_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ABI_t, 0, 0, 0},{0, 0, 0, 0}};
79381 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Baton_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Baton_t, 0, 0, 0},{0, 0, 0, 0}};
79382 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Block_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Block_t, 0, 0, 0},{0, 0, 0, 0}};
79383 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__BreakpointLocation_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__BreakpointLocation_t, 0, 0, 0},{0, 0, 0, 0}};
79384 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t, 0, 0, 0},{0, 0, 0, 0}};
79385 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__BreakpointResolver_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__BreakpointResolver_t, 0, 0, 0},{0, 0, 0, 0}};
79386 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__BreakpointSite_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__BreakpointSite_t, 0, 0, 0},{0, 0, 0, 0}};
79387 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Breakpoint_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Breakpoint_t, 0, 0, 0},{0, 0, 0, 0}};
79388 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__BroadcasterManager_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__BroadcasterManager_t, 0, 0, 0},{0, 0, 0, 0}};
79389 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Broadcaster_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Broadcaster_t, 0, 0, 0},{0, 0, 0, 0}};
79390 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__CommandObject_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__CommandObject_t, 0, 0, 0},{0, 0, 0, 0}};
79391 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__CompileUnit_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__CompileUnit_t, 0, 0, 0},{0, 0, 0, 0}};
79392 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Connection_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Connection_t, 0, 0, 0},{0, 0, 0, 0}};
79393 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__DataBuffer_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__DataBuffer_t, 0, 0, 0},{0, 0, 0, 0}};
79394 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__DataExtractor_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__DataExtractor_t, 0, 0, 0},{0, 0, 0, 0}};
79395 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Debugger_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Debugger_t, 0, 0, 0},{0, 0, 0, 0}};
79396 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Disassembler_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Disassembler_t, 0, 0, 0},{0, 0, 0, 0}};
79397 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t, 0, 0, 0},{0, 0, 0, 0}};
79398 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__EventData_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__EventData_t, 0, 0, 0},{0, 0, 0, 0}};
79399 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Event_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Event_t, 0, 0, 0},{0, 0, 0, 0}};
79400 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t, 0, 0, 0},{0, 0, 0, 0}};
79401 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ExpressionVariable_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t, 0, 0, 0},{0, 0, 0, 0}};
79402 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__File_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__File_t, 0, 0, 0},{0, 0, 0, 0}};
79403 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t, 0, 0, 0},{0, 0, 0, 0}};
79404 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__FuncUnwinders_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t, 0, 0, 0},{0, 0, 0, 0}};
79405 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Function_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Function_t, 0, 0, 0},{0, 0, 0, 0}};
79406 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__IOHandler_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__IOHandler_t, 0, 0, 0},{0, 0, 0, 0}};
79407 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__IOObject_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__IOObject_t, 0, 0, 0},{0, 0, 0, 0}};
79408 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t, 0, 0, 0},{0, 0, 0, 0}};
79409 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79410 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Instruction_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Instruction_t, 0, 0, 0},{0, 0, 0, 0}};
79411 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t, 0, 0, 0},{0, 0, 0, 0}};
79412 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__JITLoader_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__JITLoader_t, 0, 0, 0},{0, 0, 0, 0}};
79413 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__LanguageRuntime_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t, 0, 0, 0},{0, 0, 0, 0}};
79414 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Listener_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Listener_t, 0, 0, 0},{0, 0, 0, 0}};
79415 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__MemoryHistory_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t, 0, 0, 0},{0, 0, 0, 0}};
79416 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79417 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Module_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Module_t, 0, 0, 0},{0, 0, 0, 0}};
79418 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectContainer_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t, 0, 0, 0},{0, 0, 0, 0}};
79419 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t, 0, 0, 0},{0, 0, 0, 0}};
79420 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectFile_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t, 0, 0, 0},{0, 0, 0, 0}};
79421 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t, 0, 0, 0},{0, 0, 0, 0}};
79422 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OptionValueProperties_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t, 0, 0, 0},{0, 0, 0, 0}};
79423 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OptionValue_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__OptionValue_t, 0, 0, 0},{0, 0, 0, 0}};
79424 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Platform_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Platform_t, 0, 0, 0},{0, 0, 0, 0}};
79425 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79426 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79427 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Process_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Process_t, 0, 0, 0},{0, 0, 0, 0}};
79428 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__QueueItem_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__QueueItem_t, 0, 0, 0},{0, 0, 0, 0}};
79429 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Queue_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Queue_t, 0, 0, 0},{0, 0, 0, 0}};
79430 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__REPL_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__REPL_t, 0, 0, 0},{0, 0, 0, 0}};
79431 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t, 0, 0, 0},{0, 0, 0, 0}};
79432 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t, 0, 0, 0},{0, 0, 0, 0}};
79433 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RegisterContext_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__RegisterContext_t, 0, 0, 0},{0, 0, 0, 0}};
79434 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t, 0, 0, 0},{0, 0, 0, 0}};
79435 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RegularExpression_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__RegularExpression_t, 0, 0, 0},{0, 0, 0, 0}};
79436 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t, 0, 0, 0},{0, 0, 0, 0}};
79437 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t, 0, 0, 0},{0, 0, 0, 0}};
79438 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t, 0, 0, 0},{0, 0, 0, 0}};
79439 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t, 0, 0, 0},{0, 0, 0, 0}};
79440 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t, 0, 0, 0},{0, 0, 0, 0}};
79441 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SearchFilter_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t, 0, 0, 0},{0, 0, 0, 0}};
79442 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SectionLoadList_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t, 0, 0, 0},{0, 0, 0, 0}};
79443 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Section_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Section_t, 0, 0, 0},{0, 0, 0, 0}};
79444 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StackFrameList_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StackFrameList_t, 0, 0, 0},{0, 0, 0, 0}};
79445 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t, 0, 0, 0},{0, 0, 0, 0}};
79446 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StackFrame_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StackFrame_t, 0, 0, 0},{0, 0, 0, 0}};
79447 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StopInfo_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StopInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79448 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StreamFile_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StreamFile_t, 0, 0, 0},{0, 0, 0, 0}};
79449 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Stream_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Stream_t, 0, 0, 0},{0, 0, 0, 0}};
79450 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t, 0, 0, 0},{0, 0, 0, 0}};
79451 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t, 0, 0, 0},{0, 0, 0, 0}};
79452 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SupportFile_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SupportFile_t, 0, 0, 0},{0, 0, 0, 0}};
79453 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t, 0, 0, 0},{0, 0, 0, 0}};
79454 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SymbolFileType_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SymbolFileType_t, 0, 0, 0},{0, 0, 0, 0}};
79455 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t, 0, 0, 0},{0, 0, 0, 0}};
79456 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SyntheticChildren_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__SyntheticChildren_t, 0, 0, 0},{0, 0, 0, 0}};
79457 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Target_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Target_t, 0, 0, 0},{0, 0, 0, 0}};
79458 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ThreadCollection_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ThreadCollection_t, 0, 0, 0},{0, 0, 0, 0}};
79459 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t, 0, 0, 0},{0, 0, 0, 0}};
79460 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ThreadPlan_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ThreadPlan_t, 0, 0, 0},{0, 0, 0, 0}};
79461 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t, 0, 0, 0},{0, 0, 0, 0}};
79462 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Thread_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Thread_t, 0, 0, 0},{0, 0, 0, 0}};
79463 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TraceCursor_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TraceCursor_t, 0, 0, 0},{0, 0, 0, 0}};
79464 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Trace_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Trace_t, 0, 0, 0},{0, 0, 0, 0}};
79465 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79466 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79467 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79468 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79469 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79470 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79471 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79472 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79473 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t, 0, 0, 0},{0, 0, 0, 0}};
79474 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeSystemClang_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeSystemClang_t, 0, 0, 0},{0, 0, 0, 0}};
79475 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__TypeSystem_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__TypeSystem_t, 0, 0, 0},{0, 0, 0, 0}};
79476 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Type_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Type_t, 0, 0, 0},{0, 0, 0, 0}};
79477 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__UnixSignals_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__UnixSignals_t, 0, 0, 0},{0, 0, 0, 0}};
79478 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__UnwindAssembly_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__UnwindAssembly_t, 0, 0, 0},{0, 0, 0, 0}};
79479 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__UnwindPlan_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__UnwindPlan_t, 0, 0, 0},{0, 0, 0, 0}};
79480 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__UserExpression_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__UserExpression_t, 0, 0, 0},{0, 0, 0, 0}};
79481 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ValueObjectList_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ValueObjectList_t, 0, 0, 0},{0, 0, 0, 0}};
79482 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ValueObject_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__ValueObject_t, 0, 0, 0},{0, 0, 0, 0}};
79483 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Value_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Value_t, 0, 0, 0},{0, 0, 0, 0}};
79484 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__VariableList_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__VariableList_t, 0, 0, 0},{0, 0, 0, 0}};
79485 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Variable_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Variable_t, 0, 0, 0},{0, 0, 0, 0}};
79486 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__WatchpointResource_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t, 0, 0, 0},{0, 0, 0, 0}};
79487 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Watchpoint_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t, 0, 0, 0},{0, 0, 0, 0}};
79488 static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t[] = {  {&_swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t, 0, 0, 0},{0, 0, 0, 0}};
79489 static swig_cast_info _swigc__p_std__string[] = {  {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
79490 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t, 0, 0, 0},{0, 0, 0, 0}};
79491 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__DynamicLoader_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__DynamicLoader_t, 0, 0, 0},{0, 0, 0, 0}};
79492 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__File_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__File_t, 0, 0, 0},{0, 0, 0, 0}};
79493 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__JITLoaderList_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__JITLoaderList_t, 0, 0, 0},{0, 0, 0, 0}};
79494 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t, 0, 0, 0},{0, 0, 0, 0}};
79495 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__OperatingSystem_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__OperatingSystem_t, 0, 0, 0},{0, 0, 0, 0}};
79496 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t, 0, 0, 0},{0, 0, 0, 0}};
79497 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t, 0, 0, 0},{0, 0, 0, 0}};
79498 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SectionList_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__SectionList_t, 0, 0, 0},{0, 0, 0, 0}};
79499 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SourceManager_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__SourceManager_t, 0, 0, 0},{0, 0, 0, 0}};
79500 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t, 0, 0, 0},{0, 0, 0, 0}};
79501 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t, 0, 0, 0},{0, 0, 0, 0}};
79502 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SymbolVendor_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t, 0, 0, 0},{0, 0, 0, 0}};
79503 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SystemRuntime_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t, 0, 0, 0},{0, 0, 0, 0}};
79504 static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__TraceExporter_t[] = {  {&_swigt__p_std__unique_ptrT_lldb_private__TraceExporter_t, 0, 0, 0},{0, 0, 0, 0}};
79505 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__BreakpointLocation_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__BreakpointLocation_t, 0, 0, 0},{0, 0, 0, 0}};
79506 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Breakpoint_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Breakpoint_t, 0, 0, 0},{0, 0, 0, 0}};
79507 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__BroadcasterManager_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__BroadcasterManager_t, 0, 0, 0},{0, 0, 0, 0}};
79508 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Debugger_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Debugger_t, 0, 0, 0},{0, 0, 0, 0}};
79509 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Listener_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Listener_t, 0, 0, 0},{0, 0, 0, 0}};
79510 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Module_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Module_t, 0, 0, 0},{0, 0, 0, 0}};
79511 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t, 0, 0, 0},{0, 0, 0, 0}};
79512 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__OptionValue_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__OptionValue_t, 0, 0, 0},{0, 0, 0, 0}};
79513 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Process_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Process_t, 0, 0, 0},{0, 0, 0, 0}};
79514 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Queue_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Queue_t, 0, 0, 0},{0, 0, 0, 0}};
79515 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Section_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Section_t, 0, 0, 0},{0, 0, 0, 0}};
79516 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__StackFrame_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__StackFrame_t, 0, 0, 0},{0, 0, 0, 0}};
79517 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t, 0, 0, 0},{0, 0, 0, 0}};
79518 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Target_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Target_t, 0, 0, 0},{0, 0, 0, 0}};
79519 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__ThreadPlan_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__ThreadPlan_t, 0, 0, 0},{0, 0, 0, 0}};
79520 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Thread_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Thread_t, 0, 0, 0},{0, 0, 0, 0}};
79521 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__TypeSystem_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t, 0, 0, 0},{0, 0, 0, 0}};
79522 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__Type_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__Type_t, 0, 0, 0},{0, 0, 0, 0}};
79523 static swig_cast_info _swigc__p_std__weak_ptrT_lldb_private__UnixSignals_t[] = {  {&_swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t, 0, 0, 0},{0, 0, 0, 0}};
79524 static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
79525 static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
79526 static swig_cast_info _swigc__p_unsigned_long_long[] = {  {&_swigt__p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
79527 static swig_cast_info _swigc__p_unsigned_short[] = {  {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
79528 static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
79529 
79530 static swig_cast_info *swig_cast_initial[] = {
79531   _swigc__p_bool,
79532   _swigc__p_double,
79533   _swigc__p_f_p_q_const__char_p_void__void,
79534   _swigc__p_f_p_void__p_void,
79535   _swigc__p_f_p_void_p_q_const__void_size_t__void,
79536   _swigc__p_f_p_void_r_q_const__lldb__SBModuleSpec_r_lldb__SBFileSpec_r_lldb__SBFileSpec__lldb__SBError,
79537   _swigc__p_f_unsigned_long_long_p_void__void,
79538   _swigc__p_int,
79539   _swigc__p_lldb__ConnectionStatus,
79540   _swigc__p_lldb__SBAddress,
79541   _swigc__p_lldb__SBAttachInfo,
79542   _swigc__p_lldb__SBBlock,
79543   _swigc__p_lldb__SBBreakpoint,
79544   _swigc__p_lldb__SBBreakpointList,
79545   _swigc__p_lldb__SBBreakpointLocation,
79546   _swigc__p_lldb__SBBreakpointName,
79547   _swigc__p_lldb__SBBroadcaster,
79548   _swigc__p_lldb__SBCommandInterpreter,
79549   _swigc__p_lldb__SBCommandInterpreterRunOptions,
79550   _swigc__p_lldb__SBCommandReturnObject,
79551   _swigc__p_lldb__SBCommunication,
79552   _swigc__p_lldb__SBCompileUnit,
79553   _swigc__p_lldb__SBData,
79554   _swigc__p_lldb__SBDebugger,
79555   _swigc__p_lldb__SBDeclaration,
79556   _swigc__p_lldb__SBEnvironment,
79557   _swigc__p_lldb__SBError,
79558   _swigc__p_lldb__SBEvent,
79559   _swigc__p_lldb__SBExecutionContext,
79560   _swigc__p_lldb__SBExpressionOptions,
79561   _swigc__p_lldb__SBFile,
79562   _swigc__p_lldb__SBFileSpec,
79563   _swigc__p_lldb__SBFileSpecList,
79564   _swigc__p_lldb__SBFormat,
79565   _swigc__p_lldb__SBFrame,
79566   _swigc__p_lldb__SBFunction,
79567   _swigc__p_lldb__SBHostOS,
79568   _swigc__p_lldb__SBInstruction,
79569   _swigc__p_lldb__SBInstructionList,
79570   _swigc__p_lldb__SBLanguageRuntime,
79571   _swigc__p_lldb__SBLaunchInfo,
79572   _swigc__p_lldb__SBLineEntry,
79573   _swigc__p_lldb__SBListener,
79574   _swigc__p_lldb__SBMemoryRegionInfo,
79575   _swigc__p_lldb__SBMemoryRegionInfoList,
79576   _swigc__p_lldb__SBModule,
79577   _swigc__p_lldb__SBModuleSpec,
79578   _swigc__p_lldb__SBModuleSpecList,
79579   _swigc__p_lldb__SBPlatform,
79580   _swigc__p_lldb__SBPlatformConnectOptions,
79581   _swigc__p_lldb__SBPlatformShellCommand,
79582   _swigc__p_lldb__SBProcess,
79583   _swigc__p_lldb__SBProcessInfo,
79584   _swigc__p_lldb__SBProcessInfoList,
79585   _swigc__p_lldb__SBQueue,
79586   _swigc__p_lldb__SBQueueItem,
79587   _swigc__p_lldb__SBReproducer,
79588   _swigc__p_lldb__SBScriptObject,
79589   _swigc__p_lldb__SBSection,
79590   _swigc__p_lldb__SBSourceManager,
79591   _swigc__p_lldb__SBStream,
79592   _swigc__p_lldb__SBStringList,
79593   _swigc__p_lldb__SBStructuredData,
79594   _swigc__p_lldb__SBSymbol,
79595   _swigc__p_lldb__SBSymbolContext,
79596   _swigc__p_lldb__SBSymbolContextList,
79597   _swigc__p_lldb__SBTarget,
79598   _swigc__p_lldb__SBThread,
79599   _swigc__p_lldb__SBThreadCollection,
79600   _swigc__p_lldb__SBThreadPlan,
79601   _swigc__p_lldb__SBTrace,
79602   _swigc__p_lldb__SBTraceCursor,
79603   _swigc__p_lldb__SBType,
79604   _swigc__p_lldb__SBTypeCategory,
79605   _swigc__p_lldb__SBTypeEnumMember,
79606   _swigc__p_lldb__SBTypeEnumMemberList,
79607   _swigc__p_lldb__SBTypeFilter,
79608   _swigc__p_lldb__SBTypeFormat,
79609   _swigc__p_lldb__SBTypeList,
79610   _swigc__p_lldb__SBTypeMember,
79611   _swigc__p_lldb__SBTypeMemberFunction,
79612   _swigc__p_lldb__SBTypeNameSpecifier,
79613   _swigc__p_lldb__SBTypeSummary,
79614   _swigc__p_lldb__SBTypeSummaryOptions,
79615   _swigc__p_lldb__SBTypeSynthetic,
79616   _swigc__p_lldb__SBUnixSignals,
79617   _swigc__p_lldb__SBValue,
79618   _swigc__p_lldb__SBValueList,
79619   _swigc__p_lldb__SBVariablesOptions,
79620   _swigc__p_lldb__SBWatchpoint,
79621   _swigc__p_lldb__SBWatchpointOptions,
79622   _swigc__p_long_double,
79623   _swigc__p_long_long,
79624   _swigc__p_p_void,
79625   _swigc__p_pthread_rwlock_t,
79626   _swigc__p_pthread_t,
79627   _swigc__p_short,
79628   _swigc__p_signed_char,
79629   _swigc__p_size_t,
79630   _swigc__p_std__shared_ptrT_lldb_private__ABI_t,
79631   _swigc__p_std__shared_ptrT_lldb_private__Baton_t,
79632   _swigc__p_std__shared_ptrT_lldb_private__Block_t,
79633   _swigc__p_std__shared_ptrT_lldb_private__BreakpointLocation_t,
79634   _swigc__p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t,
79635   _swigc__p_std__shared_ptrT_lldb_private__BreakpointResolver_t,
79636   _swigc__p_std__shared_ptrT_lldb_private__BreakpointSite_t,
79637   _swigc__p_std__shared_ptrT_lldb_private__Breakpoint_t,
79638   _swigc__p_std__shared_ptrT_lldb_private__BroadcasterManager_t,
79639   _swigc__p_std__shared_ptrT_lldb_private__Broadcaster_t,
79640   _swigc__p_std__shared_ptrT_lldb_private__CommandObject_t,
79641   _swigc__p_std__shared_ptrT_lldb_private__CompileUnit_t,
79642   _swigc__p_std__shared_ptrT_lldb_private__Connection_t,
79643   _swigc__p_std__shared_ptrT_lldb_private__DataBuffer_t,
79644   _swigc__p_std__shared_ptrT_lldb_private__DataExtractor_t,
79645   _swigc__p_std__shared_ptrT_lldb_private__Debugger_t,
79646   _swigc__p_std__shared_ptrT_lldb_private__Disassembler_t,
79647   _swigc__p_std__shared_ptrT_lldb_private__EventDataStructuredData_t,
79648   _swigc__p_std__shared_ptrT_lldb_private__EventData_t,
79649   _swigc__p_std__shared_ptrT_lldb_private__Event_t,
79650   _swigc__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t,
79651   _swigc__p_std__shared_ptrT_lldb_private__ExpressionVariable_t,
79652   _swigc__p_std__shared_ptrT_lldb_private__File_t,
79653   _swigc__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t,
79654   _swigc__p_std__shared_ptrT_lldb_private__FuncUnwinders_t,
79655   _swigc__p_std__shared_ptrT_lldb_private__Function_t,
79656   _swigc__p_std__shared_ptrT_lldb_private__IOHandler_t,
79657   _swigc__p_std__shared_ptrT_lldb_private__IOObject_t,
79658   _swigc__p_std__shared_ptrT_lldb_private__IRExecutionUnit_t,
79659   _swigc__p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t,
79660   _swigc__p_std__shared_ptrT_lldb_private__Instruction_t,
79661   _swigc__p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t,
79662   _swigc__p_std__shared_ptrT_lldb_private__JITLoader_t,
79663   _swigc__p_std__shared_ptrT_lldb_private__LanguageRuntime_t,
79664   _swigc__p_std__shared_ptrT_lldb_private__Listener_t,
79665   _swigc__p_std__shared_ptrT_lldb_private__MemoryHistory_t,
79666   _swigc__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t,
79667   _swigc__p_std__shared_ptrT_lldb_private__Module_t,
79668   _swigc__p_std__shared_ptrT_lldb_private__ObjectContainer_t,
79669   _swigc__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t,
79670   _swigc__p_std__shared_ptrT_lldb_private__ObjectFile_t,
79671   _swigc__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t,
79672   _swigc__p_std__shared_ptrT_lldb_private__OptionValueProperties_t,
79673   _swigc__p_std__shared_ptrT_lldb_private__OptionValue_t,
79674   _swigc__p_std__shared_ptrT_lldb_private__Platform_t,
79675   _swigc__p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t,
79676   _swigc__p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t,
79677   _swigc__p_std__shared_ptrT_lldb_private__Process_t,
79678   _swigc__p_std__shared_ptrT_lldb_private__QueueItem_t,
79679   _swigc__p_std__shared_ptrT_lldb_private__Queue_t,
79680   _swigc__p_std__shared_ptrT_lldb_private__REPL_t,
79681   _swigc__p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t,
79682   _swigc__p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t,
79683   _swigc__p_std__shared_ptrT_lldb_private__RegisterContext_t,
79684   _swigc__p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t,
79685   _swigc__p_std__shared_ptrT_lldb_private__RegularExpression_t,
79686   _swigc__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t,
79687   _swigc__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t,
79688   _swigc__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t,
79689   _swigc__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t,
79690   _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t,
79691   _swigc__p_std__shared_ptrT_lldb_private__SearchFilter_t,
79692   _swigc__p_std__shared_ptrT_lldb_private__SectionLoadList_t,
79693   _swigc__p_std__shared_ptrT_lldb_private__Section_t,
79694   _swigc__p_std__shared_ptrT_lldb_private__StackFrameList_t,
79695   _swigc__p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t,
79696   _swigc__p_std__shared_ptrT_lldb_private__StackFrame_t,
79697   _swigc__p_std__shared_ptrT_lldb_private__StopInfo_t,
79698   _swigc__p_std__shared_ptrT_lldb_private__StreamFile_t,
79699   _swigc__p_std__shared_ptrT_lldb_private__Stream_t,
79700   _swigc__p_std__shared_ptrT_lldb_private__StringSummaryFormat_t,
79701   _swigc__p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t,
79702   _swigc__p_std__shared_ptrT_lldb_private__SupportFile_t,
79703   _swigc__p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t,
79704   _swigc__p_std__shared_ptrT_lldb_private__SymbolFileType_t,
79705   _swigc__p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t,
79706   _swigc__p_std__shared_ptrT_lldb_private__SyntheticChildren_t,
79707   _swigc__p_std__shared_ptrT_lldb_private__Target_t,
79708   _swigc__p_std__shared_ptrT_lldb_private__ThreadCollection_t,
79709   _swigc__p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t,
79710   _swigc__p_std__shared_ptrT_lldb_private__ThreadPlan_t,
79711   _swigc__p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t,
79712   _swigc__p_std__shared_ptrT_lldb_private__Thread_t,
79713   _swigc__p_std__shared_ptrT_lldb_private__TraceCursor_t,
79714   _swigc__p_std__shared_ptrT_lldb_private__Trace_t,
79715   _swigc__p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t,
79716   _swigc__p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t,
79717   _swigc__p_std__shared_ptrT_lldb_private__TypeFilterImpl_t,
79718   _swigc__p_std__shared_ptrT_lldb_private__TypeFormatImpl_t,
79719   _swigc__p_std__shared_ptrT_lldb_private__TypeImpl_t,
79720   _swigc__p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t,
79721   _swigc__p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t,
79722   _swigc__p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t,
79723   _swigc__p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t,
79724   _swigc__p_std__shared_ptrT_lldb_private__TypeSystemClang_t,
79725   _swigc__p_std__shared_ptrT_lldb_private__TypeSystem_t,
79726   _swigc__p_std__shared_ptrT_lldb_private__Type_t,
79727   _swigc__p_std__shared_ptrT_lldb_private__UnixSignals_t,
79728   _swigc__p_std__shared_ptrT_lldb_private__UnwindAssembly_t,
79729   _swigc__p_std__shared_ptrT_lldb_private__UnwindPlan_t,
79730   _swigc__p_std__shared_ptrT_lldb_private__UserExpression_t,
79731   _swigc__p_std__shared_ptrT_lldb_private__ValueObjectList_t,
79732   _swigc__p_std__shared_ptrT_lldb_private__ValueObject_t,
79733   _swigc__p_std__shared_ptrT_lldb_private__Value_t,
79734   _swigc__p_std__shared_ptrT_lldb_private__VariableList_t,
79735   _swigc__p_std__shared_ptrT_lldb_private__Variable_t,
79736   _swigc__p_std__shared_ptrT_lldb_private__WatchpointResource_t,
79737   _swigc__p_std__shared_ptrT_lldb_private__Watchpoint_t,
79738   _swigc__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t,
79739   _swigc__p_std__string,
79740   _swigc__p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t,
79741   _swigc__p_std__unique_ptrT_lldb_private__DynamicLoader_t,
79742   _swigc__p_std__unique_ptrT_lldb_private__File_t,
79743   _swigc__p_std__unique_ptrT_lldb_private__JITLoaderList_t,
79744   _swigc__p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t,
79745   _swigc__p_std__unique_ptrT_lldb_private__OperatingSystem_t,
79746   _swigc__p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t,
79747   _swigc__p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t,
79748   _swigc__p_std__unique_ptrT_lldb_private__SectionList_t,
79749   _swigc__p_std__unique_ptrT_lldb_private__SourceManager_t,
79750   _swigc__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t,
79751   _swigc__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t,
79752   _swigc__p_std__unique_ptrT_lldb_private__SymbolVendor_t,
79753   _swigc__p_std__unique_ptrT_lldb_private__SystemRuntime_t,
79754   _swigc__p_std__unique_ptrT_lldb_private__TraceExporter_t,
79755   _swigc__p_std__weak_ptrT_lldb_private__BreakpointLocation_t,
79756   _swigc__p_std__weak_ptrT_lldb_private__Breakpoint_t,
79757   _swigc__p_std__weak_ptrT_lldb_private__BroadcasterManager_t,
79758   _swigc__p_std__weak_ptrT_lldb_private__Debugger_t,
79759   _swigc__p_std__weak_ptrT_lldb_private__Listener_t,
79760   _swigc__p_std__weak_ptrT_lldb_private__Module_t,
79761   _swigc__p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t,
79762   _swigc__p_std__weak_ptrT_lldb_private__OptionValue_t,
79763   _swigc__p_std__weak_ptrT_lldb_private__Process_t,
79764   _swigc__p_std__weak_ptrT_lldb_private__Queue_t,
79765   _swigc__p_std__weak_ptrT_lldb_private__Section_t,
79766   _swigc__p_std__weak_ptrT_lldb_private__StackFrame_t,
79767   _swigc__p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t,
79768   _swigc__p_std__weak_ptrT_lldb_private__Target_t,
79769   _swigc__p_std__weak_ptrT_lldb_private__ThreadPlan_t,
79770   _swigc__p_std__weak_ptrT_lldb_private__Thread_t,
79771   _swigc__p_std__weak_ptrT_lldb_private__TypeSystem_t,
79772   _swigc__p_std__weak_ptrT_lldb_private__Type_t,
79773   _swigc__p_std__weak_ptrT_lldb_private__UnixSignals_t,
79774   _swigc__p_unsigned_char,
79775   _swigc__p_unsigned_int,
79776   _swigc__p_unsigned_long_long,
79777   _swigc__p_unsigned_short,
79778   _swigc__p_void,
79779 };
79780 
79781 
79782 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
79783 
79784 /* -----------------------------------------------------------------------------
79785  * Type initialization:
79786  * This problem is tough by the requirement that no dynamic
79787  * memory is used. Also, since swig_type_info structures store pointers to
79788  * swig_cast_info structures and swig_cast_info structures store pointers back
79789  * to swig_type_info structures, we need some lookup code at initialization.
79790  * The idea is that swig generates all the structures that are needed.
79791  * The runtime then collects these partially filled structures.
79792  * The SWIG_InitializeModule function takes these initial arrays out of
79793  * swig_module, and does all the lookup, filling in the swig_module.types
79794  * array with the correct data and linking the correct swig_cast_info
79795  * structures together.
79796  *
79797  * The generated swig_type_info structures are assigned statically to an initial
79798  * array. We just loop through that array, and handle each type individually.
79799  * First we lookup if this type has been already loaded, and if so, use the
79800  * loaded structure instead of the generated one. Then we have to fill in the
79801  * cast linked list. The cast data is initially stored in something like a
79802  * two-dimensional array. Each row corresponds to a type (there are the same
79803  * number of rows as there are in the swig_type_initial array). Each entry in
79804  * a column is one of the swig_cast_info structures for that type.
79805  * The cast_initial array is actually an array of arrays, because each row has
79806  * a variable number of columns. So to actually build the cast linked list,
79807  * we find the array of casts associated with the type, and loop through it
79808  * adding the casts to the list. The one last trick we need to do is making
79809  * sure the type pointer in the swig_cast_info struct is correct.
79810  *
79811  * First off, we lookup the cast->type name to see if it is already loaded.
79812  * There are three cases to handle:
79813  *  1) If the cast->type has already been loaded AND the type we are adding
79814  *     casting info to has not been loaded (it is in this module), THEN we
79815  *     replace the cast->type pointer with the type pointer that has already
79816  *     been loaded.
79817  *  2) If BOTH types (the one we are adding casting info to, and the
79818  *     cast->type) are loaded, THEN the cast info has already been loaded by
79819  *     the previous module so we just ignore it.
79820  *  3) Finally, if cast->type has not already been loaded, then we add that
79821  *     swig_cast_info to the linked list (because the cast->type) pointer will
79822  *     be correct.
79823  * ----------------------------------------------------------------------------- */
79824 
79825 #ifdef __cplusplus
79826 extern "C" {
79827 #if 0
79828 } /* c-mode */
79829 #endif
79830 #endif
79831 
79832 #if 0
79833 #define SWIGRUNTIME_DEBUG
79834 #endif
79835 
79836 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
79837 #define SWIG_INIT_CLIENT_DATA_TYPE void *
79838 #endif
79839 
79840 SWIGRUNTIME void
SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)79841 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
79842   size_t i;
79843   swig_module_info *module_head, *iter;
79844   int init;
79845 
79846   /* check to see if the circular list has been setup, if not, set it up */
79847   if (swig_module.next==0) {
79848     /* Initialize the swig_module */
79849     swig_module.type_initial = swig_type_initial;
79850     swig_module.cast_initial = swig_cast_initial;
79851     swig_module.next = &swig_module;
79852     init = 1;
79853   } else {
79854     init = 0;
79855   }
79856 
79857   /* Try and load any already created modules */
79858   module_head = SWIG_GetModule(clientdata);
79859   if (!module_head) {
79860     /* This is the first module loaded for this interpreter */
79861     /* so set the swig module into the interpreter */
79862     SWIG_SetModule(clientdata, &swig_module);
79863   } else {
79864     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
79865     iter=module_head;
79866     do {
79867       if (iter==&swig_module) {
79868         /* Our module is already in the list, so there's nothing more to do. */
79869         return;
79870       }
79871       iter=iter->next;
79872     } while (iter!= module_head);
79873 
79874     /* otherwise we must add our module into the list */
79875     swig_module.next = module_head->next;
79876     module_head->next = &swig_module;
79877   }
79878 
79879   /* When multiple interpreters are used, a module could have already been initialized in
79880      a different interpreter, but not yet have a pointer in this interpreter.
79881      In this case, we do not want to continue adding types... everything should be
79882      set up already */
79883   if (init == 0) return;
79884 
79885   /* Now work on filling in swig_module.types */
79886 #ifdef SWIGRUNTIME_DEBUG
79887   printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
79888 #endif
79889   for (i = 0; i < swig_module.size; ++i) {
79890     swig_type_info *type = 0;
79891     swig_type_info *ret;
79892     swig_cast_info *cast;
79893 
79894 #ifdef SWIGRUNTIME_DEBUG
79895     printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
79896 #endif
79897 
79898     /* if there is another module already loaded */
79899     if (swig_module.next != &swig_module) {
79900       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
79901     }
79902     if (type) {
79903       /* Overwrite clientdata field */
79904 #ifdef SWIGRUNTIME_DEBUG
79905       printf("SWIG_InitializeModule: found type %s\n", type->name);
79906 #endif
79907       if (swig_module.type_initial[i]->clientdata) {
79908 	type->clientdata = swig_module.type_initial[i]->clientdata;
79909 #ifdef SWIGRUNTIME_DEBUG
79910       printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
79911 #endif
79912       }
79913     } else {
79914       type = swig_module.type_initial[i];
79915     }
79916 
79917     /* Insert casting types */
79918     cast = swig_module.cast_initial[i];
79919     while (cast->type) {
79920 
79921       /* Don't need to add information already in the list */
79922       ret = 0;
79923 #ifdef SWIGRUNTIME_DEBUG
79924       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
79925 #endif
79926       if (swig_module.next != &swig_module) {
79927         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
79928 #ifdef SWIGRUNTIME_DEBUG
79929 	if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
79930 #endif
79931       }
79932       if (ret) {
79933 	if (type == swig_module.type_initial[i]) {
79934 #ifdef SWIGRUNTIME_DEBUG
79935 	  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
79936 #endif
79937 	  cast->type = ret;
79938 	  ret = 0;
79939 	} else {
79940 	  /* Check for casting already in the list */
79941 	  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
79942 #ifdef SWIGRUNTIME_DEBUG
79943 	  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
79944 #endif
79945 	  if (!ocast) ret = 0;
79946 	}
79947       }
79948 
79949       if (!ret) {
79950 #ifdef SWIGRUNTIME_DEBUG
79951 	printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
79952 #endif
79953         if (type->cast) {
79954           type->cast->prev = cast;
79955           cast->next = type->cast;
79956         }
79957         type->cast = cast;
79958       }
79959       cast++;
79960     }
79961     /* Set entry in modules->types array equal to the type */
79962     swig_module.types[i] = type;
79963   }
79964   swig_module.types[i] = 0;
79965 
79966 #ifdef SWIGRUNTIME_DEBUG
79967   printf("**** SWIG_InitializeModule: Cast List ******\n");
79968   for (i = 0; i < swig_module.size; ++i) {
79969     int j = 0;
79970     swig_cast_info *cast = swig_module.cast_initial[i];
79971     printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
79972     while (cast->type) {
79973       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
79974       cast++;
79975       ++j;
79976     }
79977   printf("---- Total casts: %d\n",j);
79978   }
79979   printf("**** SWIG_InitializeModule: Cast List ******\n");
79980 #endif
79981 }
79982 
79983 /* This function will propagate the clientdata field of type to
79984 * any new swig_type_info structures that have been added into the list
79985 * of equivalent types.  It is like calling
79986 * SWIG_TypeClientData(type, clientdata) a second time.
79987 */
79988 SWIGRUNTIME void
SWIG_PropagateClientData(void)79989 SWIG_PropagateClientData(void) {
79990   size_t i;
79991   swig_cast_info *equiv;
79992   static int init_run = 0;
79993 
79994   if (init_run) return;
79995   init_run = 1;
79996 
79997   for (i = 0; i < swig_module.size; i++) {
79998     if (swig_module.types[i]->clientdata) {
79999       equiv = swig_module.types[i]->cast;
80000       while (equiv) {
80001         if (!equiv->converter) {
80002           if (equiv->type && !equiv->type->clientdata)
80003             SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
80004         }
80005         equiv = equiv->next;
80006       }
80007     }
80008   }
80009 }
80010 
80011 #ifdef __cplusplus
80012 #if 0
80013 { /* c-mode */
80014 #endif
80015 }
80016 #endif
80017 
80018 
80019 
80020 /* Forward declaration of where the user's %init{} gets inserted */
80021 void SWIG_init_user(lua_State* L );
80022 
80023 #ifdef __cplusplus
80024 extern "C" {
80025 #endif
80026 /* this is the initialization function
80027   added at the very end of the code
80028   the function is always called SWIG_init, but an earlier #define will rename it
80029 */
80030 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
SWIG_init(lua_State * L)80031 LUALIB_API int SWIG_init(lua_State* L)
80032 #else
80033 SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
80034 #endif
80035 {
80036 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
80037   int i;
80038   int globalRegister = 0;
80039   /* start with global table */
80040   lua_pushglobaltable (L);
80041   /* SWIG's internal initialisation */
80042   SWIG_InitializeModule((void*)L);
80043   SWIG_PropagateClientData();
80044 #endif
80045 
80046 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) || defined(SWIG_LUA_ELUA_EMULATE)
80047   /* add a global fn */
80048   SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
80049   SWIG_Lua_add_function(L,"swig_equals",SWIG_Lua_class_equal);
80050 #endif
80051 
80052 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
80053   /* set up base class pointers (the hierarchy) */
80054   for (i = 0; swig_types[i]; i++){
80055     if (swig_types[i]->clientdata){
80056       SWIG_Lua_init_base_class(L,(swig_lua_class*)(swig_types[i]->clientdata));
80057     }
80058   }
80059 #ifdef SWIG_LUA_MODULE_GLOBAL
80060   globalRegister = 1;
80061 #endif
80062 
80063 
80064 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
80065   SWIG_Lua_namespace_register(L,&swig_SwigModule, globalRegister);
80066 #endif
80067 
80068 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
80069   for (i = 0; swig_types[i]; i++){
80070     if (swig_types[i]->clientdata){
80071       SWIG_Lua_elua_class_register_instance(L,(swig_lua_class*)(swig_types[i]->clientdata));
80072     }
80073   }
80074 #endif
80075 
80076 #if defined(SWIG_LUA_ELUA_EMULATE)
80077   lua_newtable(L);
80078   SWIG_Lua_elua_emulate_register(L,swig_SwigModule.ns_methods);
80079   SWIG_Lua_elua_emulate_register_clear(L);
80080   if(globalRegister) {
80081     lua_pushstring(L,swig_SwigModule.name);
80082     lua_pushvalue(L,-2);
80083     lua_rawset(L,-4);
80084   }
80085 #endif
80086 
80087 #endif
80088 
80089 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
80090   /* invoke user-specific initialization */
80091   SWIG_init_user(L);
80092   /* end module */
80093   /* Note: We do not clean up the stack here (Lua will do this for us). At this
80094      point, we have the globals table and out module table on the stack. Returning
80095      one value makes the module table the result of the require command. */
80096   return 1;
80097 #else
80098   return 0;
80099 #endif
80100 }
80101 
80102 #ifdef __cplusplus
80103 }
80104 #endif
80105 
80106 
80107 const char* SWIG_LUACODE=
80108   "";
80109 
SWIG_init_user(lua_State * L)80110 void SWIG_init_user(lua_State* L)
80111 {
80112   /* exec Lua code if applicable */
80113   SWIG_Lua_dostring(L,SWIG_LUACODE);
80114 }
80115 
80116