Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
bsDynaCore_wrap.c
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.8
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 /*! \file
12  * \brief Swig generated null wrapper c file.
13  */
14 
15 
16 
17 #ifndef SWIGPYTHON
18 #define SWIGPYTHON
19 #endif
20 
21 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
22 
23 /* -----------------------------------------------------------------------------
24  * This section contains generic SWIG labels for method/variable
25  * declarations/attributes, and other compiler dependent labels.
26  * ----------------------------------------------------------------------------- */
27 
28 /* template workaround for compilers that cannot correctly implement the C++ standard */
29 #ifndef SWIGTEMPLATEDISAMBIGUATOR
30 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
31 # define SWIGTEMPLATEDISAMBIGUATOR template
32 # elif defined(__HP_aCC)
33 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
34 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
35 # define SWIGTEMPLATEDISAMBIGUATOR template
36 # else
37 # define SWIGTEMPLATEDISAMBIGUATOR
38 # endif
39 #endif
40 
41 /* inline attribute */
42 #ifndef SWIGINLINE
43 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
44 # define SWIGINLINE inline
45 # else
46 # define SWIGINLINE
47 # endif
48 #endif
49 
50 /* attribute recognised by some compilers to avoid 'unused' warnings */
51 #ifndef SWIGUNUSED
52 # if defined(__GNUC__)
53 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
54 # define SWIGUNUSED __attribute__ ((__unused__))
55 # else
56 # define SWIGUNUSED
57 # endif
58 # elif defined(__ICC)
59 # define SWIGUNUSED __attribute__ ((__unused__))
60 # else
61 # define SWIGUNUSED
62 # endif
63 #endif
64 
65 #ifndef SWIG_MSC_UNSUPPRESS_4505
66 # if defined(_MSC_VER)
67 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
68 # endif
69 #endif
70 
71 #ifndef SWIGUNUSEDPARM
72 # ifdef __cplusplus
73 # define SWIGUNUSEDPARM(p)
74 # else
75 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
76 # endif
77 #endif
78 
79 /* internal SWIG method */
80 #ifndef SWIGINTERN
81 # define SWIGINTERN static SWIGUNUSED
82 #endif
83 
84 /* internal inline SWIG method */
85 #ifndef SWIGINTERNINLINE
86 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
87 #endif
88 
89 /* exporting methods */
90 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
91 # ifndef GCC_HASCLASSVISIBILITY
92 # define GCC_HASCLASSVISIBILITY
93 # endif
94 #endif
95 
96 #ifndef SWIGEXPORT
97 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
98 # if defined(STATIC_LINKED)
99 # define SWIGEXPORT
100 # else
101 # define SWIGEXPORT __declspec(dllexport)
102 # endif
103 # else
104 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
105 # define SWIGEXPORT __attribute__ ((visibility("default")))
106 # else
107 # define SWIGEXPORT
108 # endif
109 # endif
110 #endif
111 
112 /* calling conventions for Windows */
113 #ifndef SWIGSTDCALL
114 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
115 # define SWIGSTDCALL __stdcall
116 # else
117 # define SWIGSTDCALL
118 # endif
119 #endif
120 
121 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
122 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
123 # define _CRT_SECURE_NO_DEPRECATE
124 #endif
125 
126 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
127 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
128 # define _SCL_SECURE_NO_DEPRECATE
129 #endif
130 
131 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
132 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
133 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
134 #endif
135 
136 /* Intel's compiler complains if a variable which was never initialised is
137  * cast to void, which is a common idiom which we use to indicate that we
138  * are aware a variable isn't used. So we just silence that warning.
139  * See: https://github.com/swig/swig/issues/192 for more discussion.
140  */
141 #ifdef __INTEL_COMPILER
142 # pragma warning disable 592
143 #endif
144 
145 
146 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
147 /* Use debug wrappers with the Python release dll */
148 # undef _DEBUG
149 # include <Python.h>
150 # define _DEBUG
151 #else
152 # include <Python.h>
153 #endif
154 
155 /* -----------------------------------------------------------------------------
156  * swigrun.swg
157  *
158  * This file contains generic C API SWIG runtime support for pointer
159  * type checking.
160  * ----------------------------------------------------------------------------- */
161 
162 /* This should only be incremented when either the layout of swig_type_info changes,
163  or for whatever reason, the runtime changes incompatibly */
164 #define SWIG_RUNTIME_VERSION "4"
165 
166 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
167 #ifdef SWIG_TYPE_TABLE
168 # define SWIG_QUOTE_STRING(x) #x
169 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
170 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
171 #else
172 # define SWIG_TYPE_TABLE_NAME
173 #endif
174 
175 /*
176  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
177  creating a static or dynamic library from the SWIG runtime code.
178  In 99.9% of the cases, SWIG just needs to declare them as 'static'.
179 
180  But only do this if strictly necessary, ie, if you have problems
181  with your compiler or suchlike.
182 */
183 
184 #ifndef SWIGRUNTIME
185 # define SWIGRUNTIME SWIGINTERN
186 #endif
187 
188 #ifndef SWIGRUNTIMEINLINE
189 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
190 #endif
191 
192 /* Generic buffer size */
193 #ifndef SWIG_BUFFER_SIZE
194 # define SWIG_BUFFER_SIZE 1024
195 #endif
196 
197 /* Flags for pointer conversions */
198 #define SWIG_POINTER_DISOWN 0x1
199 #define SWIG_CAST_NEW_MEMORY 0x2
200 
201 /* Flags for new pointer objects */
202 #define SWIG_POINTER_OWN 0x1
203 
204 
205 /*
206  Flags/methods for returning states.
207 
208  The SWIG conversion methods, as ConvertPtr, return an integer
209  that tells if the conversion was successful or not. And if not,
210  an error code can be returned (see swigerrors.swg for the codes).
211 
212  Use the following macros/flags to set or process the returning
213  states.
214 
215  In old versions of SWIG, code such as the following was usually written:
216 
217  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
218  // success code
219  } else {
220  //fail code
221  }
222 
223  Now you can be more explicit:
224 
225  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
226  if (SWIG_IsOK(res)) {
227  // success code
228  } else {
229  // fail code
230  }
231 
232  which is the same really, but now you can also do
233 
234  Type *ptr;
235  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
236  if (SWIG_IsOK(res)) {
237  // success code
238  if (SWIG_IsNewObj(res) {
239  ...
240  delete *ptr;
241  } else {
242  ...
243  }
244  } else {
245  // fail code
246  }
247 
248  I.e., now SWIG_ConvertPtr can return new objects and you can
249  identify the case and take care of the deallocation. Of course that
250  also requires SWIG_ConvertPtr to return new result values, such as
251 
252  int SWIG_ConvertPtr(obj, ptr,...) {
253  if (<obj is ok>) {
254  if (<need new object>) {
255  *ptr = <ptr to new allocated object>;
256  return SWIG_NEWOBJ;
257  } else {
258  *ptr = <ptr to old object>;
259  return SWIG_OLDOBJ;
260  }
261  } else {
262  return SWIG_BADOBJ;
263  }
264  }
265 
266  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
267  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
268  SWIG errors code.
269 
270  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
271  allows to return the 'cast rank', for example, if you have this
272 
273  int food(double)
274  int fooi(int);
275 
276  and you call
277 
278  food(1) // cast rank '1' (1 -> 1.0)
279  fooi(1) // cast rank '0'
280 
281  just use the SWIG_AddCast()/SWIG_CheckState()
282 */
283 
284 #define SWIG_OK (0)
285 #define SWIG_ERROR (-1)
286 #define SWIG_IsOK(r) (r >= 0)
287 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
288 
289 /* The CastRankLimit says how many bits are used for the cast rank */
290 #define SWIG_CASTRANKLIMIT (1 << 8)
291 /* The NewMask denotes the object was created (using new/malloc) */
292 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
293 /* The TmpMask is for in/out typemaps that use temporal objects */
294 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
295 /* Simple returning values */
296 #define SWIG_BADOBJ (SWIG_ERROR)
297 #define SWIG_OLDOBJ (SWIG_OK)
298 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
299 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
300 /* Check, add and del mask methods */
301 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
302 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
303 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
304 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
305 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
306 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
307 
308 /* Cast-Rank Mode */
309 #if defined(SWIG_CASTRANK_MODE)
310 # ifndef SWIG_TypeRank
311 # define SWIG_TypeRank unsigned long
312 # endif
313 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
314 # define SWIG_MAXCASTRANK (2)
315 # endif
316 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
317 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
318 SWIGINTERNINLINE int SWIG_AddCast(int r) {
319  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
320 }
321 SWIGINTERNINLINE int SWIG_CheckState(int r) {
322  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
323 }
324 #else /* no cast-rank mode */
325 # define SWIG_AddCast(r) (r)
326 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
327 #endif
328 
329 
330 #include <string.h>
331 
332 #ifdef __cplusplus
333 extern "C" {
334 #endif
335 
336 typedef void *(*swig_converter_func)(void *, int *);
337 typedef struct swig_type_info *(*swig_dycast_func)(void **);
338 
339 /* Structure to store information on one type */
340 typedef struct swig_type_info {
341  const char *name; /* mangled name of this type */
342  const char *str; /* human readable name of this type */
343  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
344  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
345  void *clientdata; /* language specific type data */
346  int owndata; /* flag if the structure owns the clientdata */
348 
349 /* Structure to store a type and conversion function used for casting */
350 typedef struct swig_cast_info {
351  swig_type_info *type; /* pointer to type that is equivalent to this type */
352  swig_converter_func converter; /* function to cast the void pointers */
353  struct swig_cast_info *next; /* pointer to next cast in linked list */
354  struct swig_cast_info *prev; /* pointer to the previous cast */
356 
357 /* Structure used to store module information
358  * Each module generates one structure like this, and the runtime collects
359  * all of these structures and stores them in a circularly linked list.*/
360 typedef struct swig_module_info {
361  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
362  size_t size; /* Number of types in this module */
363  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
364  swig_type_info **type_initial; /* Array of initially generated type structures */
365  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
366  void *clientdata; /* Language specific module data */
368 
369 /*
370  Compare two type names skipping the space characters, therefore
371  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
372 
373  Return 0 when the two name types are equivalent, as in
374  strncmp, but skipping ' '.
375 */
376 SWIGRUNTIME int
377 SWIG_TypeNameComp(const char *f1, const char *l1,
378  const char *f2, const char *l2) {
379  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
380  while ((*f1 == ' ') && (f1 != l1)) ++f1;
381  while ((*f2 == ' ') && (f2 != l2)) ++f2;
382  if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
383  }
384  return (int)((l1 - f1) - (l2 - f2));
385 }
386 
387 /*
388  Check type equivalence in a name list like <name1>|<name2>|...
389  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 */
391 SWIGRUNTIME int
392 SWIG_TypeCmp(const char *nb, const char *tb) {
393  int equiv = 1;
394  const char* te = tb + strlen(tb);
395  const char* ne = nb;
396  while (equiv != 0 && *ne) {
397  for (nb = ne; *ne; ++ne) {
398  if (*ne == '|') break;
399  }
400  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
401  if (*ne) ++ne;
402  }
403  return equiv;
404 }
405 
406 /*
407  Check type equivalence in a name list like <name1>|<name2>|...
408  Return 0 if not equal, 1 if equal
409 */
410 SWIGRUNTIME int
411 SWIG_TypeEquiv(const char *nb, const char *tb) {
412  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
413 }
414 
415 /*
416  Check the typename
417 */
418 SWIGRUNTIME swig_cast_info *
419 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
420  if (ty) {
421  swig_cast_info *iter = ty->cast;
422  while (iter) {
423  if (strcmp(iter->type->name, c) == 0) {
424  if (iter == ty->cast)
425  return iter;
426  /* Move iter to the top of the linked list */
427  iter->prev->next = iter->next;
428  if (iter->next)
429  iter->next->prev = iter->prev;
430  iter->next = ty->cast;
431  iter->prev = 0;
432  if (ty->cast) ty->cast->prev = iter;
433  ty->cast = iter;
434  return iter;
435  }
436  iter = iter->next;
437  }
438  }
439  return 0;
440 }
441 
442 /*
443  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
444 */
445 SWIGRUNTIME swig_cast_info *
446 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
447  if (ty) {
448  swig_cast_info *iter = ty->cast;
449  while (iter) {
450  if (iter->type == from) {
451  if (iter == ty->cast)
452  return iter;
453  /* Move iter to the top of the linked list */
454  iter->prev->next = iter->next;
455  if (iter->next)
456  iter->next->prev = iter->prev;
457  iter->next = ty->cast;
458  iter->prev = 0;
459  if (ty->cast) ty->cast->prev = iter;
460  ty->cast = iter;
461  return iter;
462  }
463  iter = iter->next;
464  }
465  }
466  return 0;
467 }
468 
469 /*
470  Cast a pointer up an inheritance hierarchy
471 */
472 SWIGRUNTIMEINLINE void *
473 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
474  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
475 }
476 
477 /*
478  Dynamic pointer casting. Down an inheritance hierarchy
479 */
480 SWIGRUNTIME swig_type_info *
481 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
482  swig_type_info *lastty = ty;
483  if (!ty || !ty->dcast) return ty;
484  while (ty && (ty->dcast)) {
485  ty = (*ty->dcast)(ptr);
486  if (ty) lastty = ty;
487  }
488  return lastty;
489 }
490 
491 /*
492  Return the name associated with this type
493 */
494 SWIGRUNTIMEINLINE const char *
495 SWIG_TypeName(const swig_type_info *ty) {
496  return ty->name;
497 }
498 
499 /*
500  Return the pretty name associated with this type,
501  that is an unmangled type name in a form presentable to the user.
502 */
503 SWIGRUNTIME const char *
504 SWIG_TypePrettyName(const swig_type_info *type) {
505  /* The "str" field contains the equivalent pretty names of the
506  type, separated by vertical-bar characters. We choose
507  to print the last name, as it is often (?) the most
508  specific. */
509  if (!type) return NULL;
510  if (type->str != NULL) {
511  const char *last_name = type->str;
512  const char *s;
513  for (s = type->str; *s; s++)
514  if (*s == '|') last_name = s+1;
515  return last_name;
516  }
517  else
518  return type->name;
519 }
520 
521 /*
522  Set the clientdata field for a type
523 */
524 SWIGRUNTIME void
525 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
526  swig_cast_info *cast = ti->cast;
527  /* if (ti->clientdata == clientdata) return; */
528  ti->clientdata = clientdata;
529 
530  while (cast) {
531  if (!cast->converter) {
532  swig_type_info *tc = cast->type;
533  if (!tc->clientdata) {
534  SWIG_TypeClientData(tc, clientdata);
535  }
536  }
537  cast = cast->next;
538  }
539 }
540 SWIGRUNTIME void
541 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
542  SWIG_TypeClientData(ti, clientdata);
543  ti->owndata = 1;
544 }
545 
546 /*
547  Search for a swig_type_info structure only by mangled name
548  Search is a O(log #types)
549 
550  We start searching at module start, and finish searching when start == end.
551  Note: if start == end at the beginning of the function, we go all the way around
552  the circular list.
553 */
554 SWIGRUNTIME swig_type_info *
555 SWIG_MangledTypeQueryModule(swig_module_info *start,
556  swig_module_info *end,
557  const char *name) {
558  swig_module_info *iter = start;
559  do {
560  if (iter->size) {
561  size_t l = 0;
562  size_t r = iter->size - 1;
563  do {
564  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
565  size_t i = (l + r) >> 1;
566  const char *iname = iter->types[i]->name;
567  if (iname) {
568  int compare = strcmp(name, iname);
569  if (compare == 0) {
570  return iter->types[i];
571  } else if (compare < 0) {
572  if (i) {
573  r = i - 1;
574  } else {
575  break;
576  }
577  } else if (compare > 0) {
578  l = i + 1;
579  }
580  } else {
581  break; /* should never happen */
582  }
583  } while (l <= r);
584  }
585  iter = iter->next;
586  } while (iter != end);
587  return 0;
588 }
589 
590 /*
591  Search for a swig_type_info structure for either a mangled name or a human readable name.
592  It first searches the mangled names of the types, which is a O(log #types)
593  If a type is not found it then searches the human readable names, which is O(#types).
594 
595  We start searching at module start, and finish searching when start == end.
596  Note: if start == end at the beginning of the function, we go all the way around
597  the circular list.
598 */
599 SWIGRUNTIME swig_type_info *
600 SWIG_TypeQueryModule(swig_module_info *start,
601  swig_module_info *end,
602  const char *name) {
603  /* STEP 1: Search the name field using binary search */
604  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
605  if (ret) {
606  return ret;
607  } else {
608  /* STEP 2: If the type hasn't been found, do a complete search
609  of the str field (the human readable name) */
610  swig_module_info *iter = start;
611  do {
612  size_t i = 0;
613  for (; i < iter->size; ++i) {
614  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
615  return iter->types[i];
616  }
617  iter = iter->next;
618  } while (iter != end);
619  }
620 
621  /* neither found a match */
622  return 0;
623 }
624 
625 /*
626  Pack binary data into a string
627 */
628 SWIGRUNTIME char *
629 SWIG_PackData(char *c, void *ptr, size_t sz) {
630  static const char hex[17] = "0123456789abcdef";
631  const unsigned char *u = (unsigned char *) ptr;
632  const unsigned char *eu = u + sz;
633  for (; u != eu; ++u) {
634  unsigned char uu = *u;
635  *(c++) = hex[(uu & 0xf0) >> 4];
636  *(c++) = hex[uu & 0xf];
637  }
638  return c;
639 }
640 
641 /*
642  Unpack binary data from a string
643 */
644 SWIGRUNTIME const char *
645 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
646  unsigned char *u = (unsigned char *) ptr;
647  const unsigned char *eu = u + sz;
648  for (; u != eu; ++u) {
649  char d = *(c++);
650  unsigned char uu;
651  if ((d >= '0') && (d <= '9'))
652  uu = ((d - '0') << 4);
653  else if ((d >= 'a') && (d <= 'f'))
654  uu = ((d - ('a'-10)) << 4);
655  else
656  return (char *) 0;
657  d = *(c++);
658  if ((d >= '0') && (d <= '9'))
659  uu |= (d - '0');
660  else if ((d >= 'a') && (d <= 'f'))
661  uu |= (d - ('a'-10));
662  else
663  return (char *) 0;
664  *u = uu;
665  }
666  return c;
667 }
668 
669 /*
670  Pack 'void *' into a string buffer.
671 */
672 SWIGRUNTIME char *
673 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
674  char *r = buff;
675  if ((2*sizeof(void *) + 2) > bsz) return 0;
676  *(r++) = '_';
677  r = SWIG_PackData(r,&ptr,sizeof(void *));
678  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
679  strcpy(r,name);
680  return buff;
681 }
682 
683 SWIGRUNTIME const char *
684 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
685  if (*c != '_') {
686  if (strcmp(c,"NULL") == 0) {
687  *ptr = (void *) 0;
688  return name;
689  } else {
690  return 0;
691  }
692  }
693  return SWIG_UnpackData(++c,ptr,sizeof(void *));
694 }
695 
696 SWIGRUNTIME char *
697 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
698  char *r = buff;
699  size_t lname = (name ? strlen(name) : 0);
700  if ((2*sz + 2 + lname) > bsz) return 0;
701  *(r++) = '_';
702  r = SWIG_PackData(r,ptr,sz);
703  if (lname) {
704  strncpy(r,name,lname+1);
705  } else {
706  *r = 0;
707  }
708  return buff;
709 }
710 
711 SWIGRUNTIME const char *
712 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
713  if (*c != '_') {
714  if (strcmp(c,"NULL") == 0) {
715  memset(ptr,0,sz);
716  return name;
717  } else {
718  return 0;
719  }
720  }
721  return SWIG_UnpackData(++c,ptr,sz);
722 }
723 
724 #ifdef __cplusplus
725 }
726 #endif
727 
728 /* Errors in SWIG */
729 #define SWIG_UnknownError -1
730 #define SWIG_IOError -2
731 #define SWIG_RuntimeError -3
732 #define SWIG_IndexError -4
733 #define SWIG_TypeError -5
734 #define SWIG_DivisionByZero -6
735 #define SWIG_OverflowError -7
736 #define SWIG_SyntaxError -8
737 #define SWIG_ValueError -9
738 #define SWIG_SystemError -10
739 #define SWIG_AttributeError -11
740 #define SWIG_MemoryError -12
741 #define SWIG_NullReferenceError -13
742 
743 
744 
745 /* Compatibility macros for Python 3 */
746 #if PY_VERSION_HEX >= 0x03000000
747 
748 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
749 #define PyInt_Check(x) PyLong_Check(x)
750 #define PyInt_AsLong(x) PyLong_AsLong(x)
751 #define PyInt_FromLong(x) PyLong_FromLong(x)
752 #define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
753 #define PyString_Check(name) PyBytes_Check(name)
754 #define PyString_FromString(x) PyUnicode_FromString(x)
755 #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
756 #define PyString_AsString(str) PyBytes_AsString(str)
757 #define PyString_Size(str) PyBytes_Size(str)
758 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
759 #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
760 #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
761 #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
762 
763 #endif
764 
765 #ifndef Py_TYPE
766 # define Py_TYPE(op) ((op)->ob_type)
767 #endif
768 
769 /* SWIG APIs for compatibility of both Python 2 & 3 */
770 
771 #if PY_VERSION_HEX >= 0x03000000
772 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat
773 #else
774 # define SWIG_Python_str_FromFormat PyString_FromFormat
775 #endif
776 
777 
778 /* Warning: This function will allocate a new string in Python 3,
779  * so please call SWIG_Python_str_DelForPy3(x) to free the space.
780  */
781 SWIGINTERN char*
782 SWIG_Python_str_AsChar(PyObject *str)
783 {
784 #if PY_VERSION_HEX >= 0x03000000
785  char *cstr;
786  char *newstr;
787  Py_ssize_t len;
788  str = PyUnicode_AsUTF8String(str);
789  PyBytes_AsStringAndSize(str, &cstr, &len);
790  newstr = (char *) malloc(len+1);
791  memcpy(newstr, cstr, len+1);
792  Py_XDECREF(str);
793  return newstr;
794 #else
795  return PyString_AsString(str);
796 #endif
797 }
798 
799 #if PY_VERSION_HEX >= 0x03000000
800 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
801 #else
802 # define SWIG_Python_str_DelForPy3(x)
803 #endif
804 
805 
806 SWIGINTERN PyObject*
807 SWIG_Python_str_FromChar(const char *c)
808 {
809 #if PY_VERSION_HEX >= 0x03000000
810  return PyUnicode_FromString(c);
811 #else
812  return PyString_FromString(c);
813 #endif
814 }
815 
816 /* Add PyOS_snprintf for old Pythons */
817 #if PY_VERSION_HEX < 0x02020000
818 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
819 # define PyOS_snprintf _snprintf
820 # else
821 # define PyOS_snprintf snprintf
822 # endif
823 #endif
824 
825 /* A crude PyString_FromFormat implementation for old Pythons */
826 #if PY_VERSION_HEX < 0x02020000
827 
828 #ifndef SWIG_PYBUFFER_SIZE
829 # define SWIG_PYBUFFER_SIZE 1024
830 #endif
831 
832 static PyObject *
833 PyString_FromFormat(const char *fmt, ...) {
834  va_list ap;
835  char buf[SWIG_PYBUFFER_SIZE * 2];
836  int res;
837  va_start(ap, fmt);
838  res = vsnprintf(buf, sizeof(buf), fmt, ap);
839  va_end(ap);
840  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
841 }
842 #endif
843 
844 /* Add PyObject_Del for old Pythons */
845 #if PY_VERSION_HEX < 0x01060000
846 # define PyObject_Del(op) PyMem_DEL((op))
847 #endif
848 #ifndef PyObject_DEL
849 # define PyObject_DEL PyObject_Del
850 #endif
851 
852 /* A crude PyExc_StopIteration exception for old Pythons */
853 #if PY_VERSION_HEX < 0x02020000
854 # ifndef PyExc_StopIteration
855 # define PyExc_StopIteration PyExc_RuntimeError
856 # endif
857 # ifndef PyObject_GenericGetAttr
858 # define PyObject_GenericGetAttr 0
859 # endif
860 #endif
861 
862 /* Py_NotImplemented is defined in 2.1 and up. */
863 #if PY_VERSION_HEX < 0x02010000
864 # ifndef Py_NotImplemented
865 # define Py_NotImplemented PyExc_RuntimeError
866 # endif
867 #endif
868 
869 /* A crude PyString_AsStringAndSize implementation for old Pythons */
870 #if PY_VERSION_HEX < 0x02010000
871 # ifndef PyString_AsStringAndSize
872 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
873 # endif
874 #endif
875 
876 /* PySequence_Size for old Pythons */
877 #if PY_VERSION_HEX < 0x02000000
878 # ifndef PySequence_Size
879 # define PySequence_Size PySequence_Length
880 # endif
881 #endif
882 
883 /* PyBool_FromLong for old Pythons */
884 #if PY_VERSION_HEX < 0x02030000
885 static
886 PyObject *PyBool_FromLong(long ok)
887 {
888  PyObject *result = ok ? Py_True : Py_False;
889  Py_INCREF(result);
890  return result;
891 }
892 #endif
893 
894 /* Py_ssize_t for old Pythons */
895 /* This code is as recommended by: */
896 /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
897 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
898 typedef int Py_ssize_t;
899 # define PY_SSIZE_T_MAX INT_MAX
900 # define PY_SSIZE_T_MIN INT_MIN
901 typedef inquiry lenfunc;
902 typedef intargfunc ssizeargfunc;
903 typedef intintargfunc ssizessizeargfunc;
904 typedef intobjargproc ssizeobjargproc;
905 typedef intintobjargproc ssizessizeobjargproc;
906 typedef getreadbufferproc readbufferproc;
907 typedef getwritebufferproc writebufferproc;
908 typedef getsegcountproc segcountproc;
909 typedef getcharbufferproc charbufferproc;
910 static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
911 {
912  long result = 0;
913  PyObject *i = PyNumber_Int(x);
914  if (i) {
915  result = PyInt_AsLong(i);
916  Py_DECREF(i);
917  }
918  return result;
919 }
920 #endif
921 
922 #if PY_VERSION_HEX < 0x02050000
923 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
924 #endif
925 
926 #if PY_VERSION_HEX < 0x02040000
927 #define Py_VISIT(op) \
928  do { \
929  if (op) { \
930  int vret = visit((op), arg); \
931  if (vret) \
932  return vret; \
933  } \
934  } while (0)
935 #endif
936 
937 #if PY_VERSION_HEX < 0x02030000
938 typedef struct {
939  PyTypeObject type;
940  PyNumberMethods as_number;
941  PyMappingMethods as_mapping;
942  PySequenceMethods as_sequence;
943  PyBufferProcs as_buffer;
944  PyObject *name, *slots;
946 #endif
947 
948 #if PY_VERSION_HEX < 0x02030000
949 typedef destructor freefunc;
950 #endif
951 
952 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
953  (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
954  (PY_MAJOR_VERSION > 3))
955 # define SWIGPY_USE_CAPSULE
956 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
957 #endif
958 
959 #if PY_VERSION_HEX < 0x03020000
960 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
961 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
962 #endif
963 
964 /* -----------------------------------------------------------------------------
965  * error manipulation
966  * ----------------------------------------------------------------------------- */
967 
968 SWIGRUNTIME PyObject*
969 SWIG_Python_ErrorType(int code) {
970  PyObject* type = 0;
971  switch(code) {
972  case SWIG_MemoryError:
973  type = PyExc_MemoryError;
974  break;
975  case SWIG_IOError:
976  type = PyExc_IOError;
977  break;
978  case SWIG_RuntimeError:
979  type = PyExc_RuntimeError;
980  break;
981  case SWIG_IndexError:
982  type = PyExc_IndexError;
983  break;
984  case SWIG_TypeError:
985  type = PyExc_TypeError;
986  break;
987  case SWIG_DivisionByZero:
988  type = PyExc_ZeroDivisionError;
989  break;
990  case SWIG_OverflowError:
991  type = PyExc_OverflowError;
992  break;
993  case SWIG_SyntaxError:
994  type = PyExc_SyntaxError;
995  break;
996  case SWIG_ValueError:
997  type = PyExc_ValueError;
998  break;
999  case SWIG_SystemError:
1000  type = PyExc_SystemError;
1001  break;
1002  case SWIG_AttributeError:
1003  type = PyExc_AttributeError;
1004  break;
1005  default:
1006  type = PyExc_RuntimeError;
1007  }
1008  return type;
1009 }
1010 
1011 
1012 SWIGRUNTIME void
1013 SWIG_Python_AddErrorMsg(const char* mesg)
1014 {
1015  PyObject *type = 0;
1016  PyObject *value = 0;
1017  PyObject *traceback = 0;
1018 
1019  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1020  if (value) {
1021  char *tmp;
1022  PyObject *old_str = PyObject_Str(value);
1023  PyErr_Clear();
1024  Py_XINCREF(type);
1025 
1026  PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
1027  SWIG_Python_str_DelForPy3(tmp);
1028  Py_DECREF(old_str);
1029  Py_DECREF(value);
1030  } else {
1031  PyErr_SetString(PyExc_RuntimeError, mesg);
1032  }
1033 }
1034 
1035 #if defined(SWIG_PYTHON_NO_THREADS)
1036 # if defined(SWIG_PYTHON_THREADS)
1037 # undef SWIG_PYTHON_THREADS
1038 # endif
1039 #endif
1040 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1041 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1042 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
1043 # define SWIG_PYTHON_USE_GIL
1044 # endif
1045 # endif
1046 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1047 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
1048 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1049 # endif
1050 # ifdef __cplusplus /* C++ code */
1051  class SWIG_Python_Thread_Block {
1052  bool status;
1053  PyGILState_STATE state;
1054  public:
1055  void end() { if (status) { PyGILState_Release(state); status = false;} }
1056  SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1057  ~SWIG_Python_Thread_Block() { end(); }
1058  };
1059  class SWIG_Python_Thread_Allow {
1060  bool status;
1061  PyThreadState *save;
1062  public:
1063  void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
1064  SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1065  ~SWIG_Python_Thread_Allow() { end(); }
1066  };
1067 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1068 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1069 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1070 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1071 # else /* C code */
1072 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1073 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1074 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1075 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1076 # endif
1077 # else /* Old thread way, not implemented, user must provide it */
1078 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1079 # define SWIG_PYTHON_INITIALIZE_THREADS
1080 # endif
1081 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1082 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1083 # endif
1084 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1085 # define SWIG_PYTHON_THREAD_END_BLOCK
1086 # endif
1087 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1088 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1089 # endif
1090 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1091 # define SWIG_PYTHON_THREAD_END_ALLOW
1092 # endif
1093 # endif
1094 #else /* No thread support */
1095 # define SWIG_PYTHON_INITIALIZE_THREADS
1096 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1097 # define SWIG_PYTHON_THREAD_END_BLOCK
1098 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1099 # define SWIG_PYTHON_THREAD_END_ALLOW
1100 #endif
1101 
1102 /* -----------------------------------------------------------------------------
1103  * Python API portion that goes into the runtime
1104  * ----------------------------------------------------------------------------- */
1105 
1106 #ifdef __cplusplus
1107 extern "C" {
1108 #endif
1109 
1110 /* -----------------------------------------------------------------------------
1111  * Constant declarations
1112  * ----------------------------------------------------------------------------- */
1113 
1114 /* Constant Types */
1115 #define SWIG_PY_POINTER 4
1116 #define SWIG_PY_BINARY 5
1117 
1118 /* Constant information structure */
1119 typedef struct swig_const_info {
1120  int type;
1121  char *name;
1122  long lvalue;
1123  double dvalue;
1124  void *pvalue;
1125  swig_type_info **ptype;
1126 } swig_const_info;
1127 
1128 
1129 /* -----------------------------------------------------------------------------
1130  * Wrapper of PyInstanceMethod_New() used in Python 3
1131  * It is exported to the generated module, used for -fastproxy
1132  * ----------------------------------------------------------------------------- */
1133 #if PY_VERSION_HEX >= 0x03000000
1134 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
1135 {
1136  return PyInstanceMethod_New(func);
1137 }
1138 #else
1139 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
1140 {
1141  return NULL;
1142 }
1143 #endif
1144 
1145 #ifdef __cplusplus
1146 }
1147 #endif
1148 
1149 
1150 /* -----------------------------------------------------------------------------
1151  * pyrun.swg
1152  *
1153  * This file contains the runtime support for Python modules
1154  * and includes code for managing global variables and pointer
1155  * type checking.
1156  *
1157  * ----------------------------------------------------------------------------- */
1158 
1159 /* Common SWIG API */
1160 
1161 /* for raw pointers */
1162 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1163 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1164 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1165 
1166 #ifdef SWIGPYTHON_BUILTIN
1167 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1168 #else
1169 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1170 #endif
1171 
1172 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1173 
1174 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1175 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1176 #define swig_owntype int
1177 
1178 /* for raw packed data */
1179 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1180 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1181 
1182 /* for class or struct pointers */
1183 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1184 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1185 
1186 /* for C or C++ function pointers */
1187 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1188 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1189 
1190 /* for C++ member pointers, ie, member methods */
1191 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1192 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1193 
1194 
1195 /* Runtime API */
1196 
1197 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1198 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1199 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1200 
1201 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1202 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1203 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1204 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1205 #define SWIG_fail goto fail
1206 
1207 
1208 /* Runtime API implementation */
1209 
1210 /* Error manipulation */
1211 
1212 SWIGINTERN void
1213 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1214  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1215  PyErr_SetObject(errtype, obj);
1216  Py_DECREF(obj);
1217  SWIG_PYTHON_THREAD_END_BLOCK;
1218 }
1219 
1220 SWIGINTERN void
1221 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1222  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1223  PyErr_SetString(errtype, msg);
1224  SWIG_PYTHON_THREAD_END_BLOCK;
1225 }
1226 
1227 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1228 
1229 /* Set a constant value */
1230 
1231 #if defined(SWIGPYTHON_BUILTIN)
1232 
1233 SWIGINTERN void
1234 SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1235  PyObject *s = PyString_InternFromString(key);
1236  PyList_Append(seq, s);
1237  Py_DECREF(s);
1238 }
1239 
1240 SWIGINTERN void
1241 SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
1242 #if PY_VERSION_HEX < 0x02030000
1243  PyDict_SetItemString(d, (char *)name, obj);
1244 #else
1245  PyDict_SetItemString(d, name, obj);
1246 #endif
1247  Py_DECREF(obj);
1248  if (public_interface)
1249  SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1250 }
1251 
1252 #else
1253 
1254 SWIGINTERN void
1255 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1256 #if PY_VERSION_HEX < 0x02030000
1257  PyDict_SetItemString(d, (char *)name, obj);
1258 #else
1259  PyDict_SetItemString(d, name, obj);
1260 #endif
1261  Py_DECREF(obj);
1262 }
1263 
1264 #endif
1265 
1266 /* Append a value to the result obj */
1267 
1268 SWIGINTERN PyObject*
1269 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1270 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1271  if (!result) {
1272  result = obj;
1273  } else if (result == Py_None) {
1274  Py_DECREF(result);
1275  result = obj;
1276  } else {
1277  if (!PyList_Check(result)) {
1278  PyObject *o2 = result;
1279  result = PyList_New(1);
1280  PyList_SetItem(result, 0, o2);
1281  }
1282  PyList_Append(result,obj);
1283  Py_DECREF(obj);
1284  }
1285  return result;
1286 #else
1287  PyObject* o2;
1288  PyObject* o3;
1289  if (!result) {
1290  result = obj;
1291  } else if (result == Py_None) {
1292  Py_DECREF(result);
1293  result = obj;
1294  } else {
1295  if (!PyTuple_Check(result)) {
1296  o2 = result;
1297  result = PyTuple_New(1);
1298  PyTuple_SET_ITEM(result, 0, o2);
1299  }
1300  o3 = PyTuple_New(1);
1301  PyTuple_SET_ITEM(o3, 0, obj);
1302  o2 = result;
1303  result = PySequence_Concat(o2, o3);
1304  Py_DECREF(o2);
1305  Py_DECREF(o3);
1306  }
1307  return result;
1308 #endif
1309 }
1310 
1311 /* Unpack the argument tuple */
1312 
1313 SWIGINTERN Py_ssize_t
1314 SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1315 {
1316  if (!args) {
1317  if (!min && !max) {
1318  return 1;
1319  } else {
1320  PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1321  name, (min == max ? "" : "at least "), (int)min);
1322  return 0;
1323  }
1324  }
1325  if (!PyTuple_Check(args)) {
1326  if (min <= 1 && max >= 1) {
1327  Py_ssize_t i;
1328  objs[0] = args;
1329  for (i = 1; i < max; ++i) {
1330  objs[i] = 0;
1331  }
1332  return 2;
1333  }
1334  PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1335  return 0;
1336  } else {
1337  Py_ssize_t l = PyTuple_GET_SIZE(args);
1338  if (l < min) {
1339  PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1340  name, (min == max ? "" : "at least "), (int)min, (int)l);
1341  return 0;
1342  } else if (l > max) {
1343  PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1344  name, (min == max ? "" : "at most "), (int)max, (int)l);
1345  return 0;
1346  } else {
1347  Py_ssize_t i;
1348  for (i = 0; i < l; ++i) {
1349  objs[i] = PyTuple_GET_ITEM(args, i);
1350  }
1351  for (; l < max; ++l) {
1352  objs[l] = 0;
1353  }
1354  return i + 1;
1355  }
1356  }
1357 }
1358 
1359 /* A functor is a function object with one single object argument */
1360 #if PY_VERSION_HEX >= 0x02020000
1361 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1362 #else
1363 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1364 #endif
1365 
1366 /*
1367  Helper for static pointer initialization for both C and C++ code, for example
1368  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1369 */
1370 #ifdef __cplusplus
1371 #define SWIG_STATIC_POINTER(var) var
1372 #else
1373 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1374 #endif
1375 
1376 /* -----------------------------------------------------------------------------
1377  * Pointer declarations
1378  * ----------------------------------------------------------------------------- */
1379 
1380 /* Flags for new pointer objects */
1381 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1382 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1383 
1384 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1385 
1386 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1387 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1388 
1389 #ifdef __cplusplus
1390 extern "C" {
1391 #endif
1392 
1393 /* How to access Py_None */
1394 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1395 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1396 # ifndef SWIG_PYTHON_BUILD_NONE
1397 # define SWIG_PYTHON_BUILD_NONE
1398 # endif
1399 # endif
1400 #endif
1401 
1402 #ifdef SWIG_PYTHON_BUILD_NONE
1403 # ifdef Py_None
1404 # undef Py_None
1405 # define Py_None SWIG_Py_None()
1406 # endif
1407 SWIGRUNTIMEINLINE PyObject *
1408 _SWIG_Py_None(void)
1409 {
1410  PyObject *none = Py_BuildValue((char*)"");
1411  Py_DECREF(none);
1412  return none;
1413 }
1414 SWIGRUNTIME PyObject *
1415 SWIG_Py_None(void)
1416 {
1417  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1418  return none;
1419 }
1420 #endif
1421 
1422 /* The python void return value */
1423 
1424 SWIGRUNTIMEINLINE PyObject *
1425 SWIG_Py_Void(void)
1426 {
1427  PyObject *none = Py_None;
1428  Py_INCREF(none);
1429  return none;
1430 }
1431 
1432 /* SwigPyClientData */
1433 
1434 typedef struct {
1435  PyObject *klass;
1436  PyObject *newraw;
1437  PyObject *newargs;
1438  PyObject *destroy;
1439  int delargs;
1440  int implicitconv;
1441  PyTypeObject *pytype;
1443 
1444 SWIGRUNTIMEINLINE int
1445 SWIG_Python_CheckImplicit(swig_type_info *ty)
1446 {
1447  SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
1448  return data ? data->implicitconv : 0;
1449 }
1450 
1451 SWIGRUNTIMEINLINE PyObject *
1452 SWIG_Python_ExceptionType(swig_type_info *desc) {
1453  SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1454  PyObject *klass = data ? data->klass : 0;
1455  return (klass ? klass : PyExc_RuntimeError);
1456 }
1457 
1458 
1459 SWIGRUNTIME SwigPyClientData *
1460 SwigPyClientData_New(PyObject* obj)
1461 {
1462  if (!obj) {
1463  return 0;
1464  } else {
1465  SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1466  /* the klass element */
1467  data->klass = obj;
1468  Py_INCREF(data->klass);
1469  /* the newraw method and newargs arguments used to create a new raw instance */
1470  if (PyClass_Check(obj)) {
1471  data->newraw = 0;
1472  data->newargs = obj;
1473  Py_INCREF(obj);
1474  } else {
1475 #if (PY_VERSION_HEX < 0x02020000)
1476  data->newraw = 0;
1477 #else
1478  data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1479 #endif
1480  if (data->newraw) {
1481  Py_INCREF(data->newraw);
1482  data->newargs = PyTuple_New(1);
1483  PyTuple_SetItem(data->newargs, 0, obj);
1484  } else {
1485  data->newargs = obj;
1486  }
1487  Py_INCREF(data->newargs);
1488  }
1489  /* the destroy method, aka as the C++ delete method */
1490  data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1491  if (PyErr_Occurred()) {
1492  PyErr_Clear();
1493  data->destroy = 0;
1494  }
1495  if (data->destroy) {
1496  int flags;
1497  Py_INCREF(data->destroy);
1498  flags = PyCFunction_GET_FLAGS(data->destroy);
1499 #ifdef METH_O
1500  data->delargs = !(flags & (METH_O));
1501 #else
1502  data->delargs = 0;
1503 #endif
1504  } else {
1505  data->delargs = 0;
1506  }
1507  data->implicitconv = 0;
1508  data->pytype = 0;
1509  return data;
1510  }
1511 }
1512 
1513 SWIGRUNTIME void
1514 SwigPyClientData_Del(SwigPyClientData *data) {
1515  Py_XDECREF(data->newraw);
1516  Py_XDECREF(data->newargs);
1517  Py_XDECREF(data->destroy);
1518 }
1519 
1520 /* =============== SwigPyObject =====================*/
1521 
1522 typedef struct {
1523  PyObject_HEAD
1524  void *ptr;
1525  swig_type_info *ty;
1526  int own;
1527  PyObject *next;
1528 #ifdef SWIGPYTHON_BUILTIN
1529  PyObject *dict;
1530 #endif
1531 } SwigPyObject;
1532 
1533 
1534 #ifdef SWIGPYTHON_BUILTIN
1535 
1536 SWIGRUNTIME PyObject *
1537 SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1538 {
1539  SwigPyObject *sobj = (SwigPyObject *)v;
1540 
1541  if (!sobj->dict)
1542  sobj->dict = PyDict_New();
1543 
1544  Py_INCREF(sobj->dict);
1545  return sobj->dict;
1546 }
1547 
1548 #endif
1549 
1550 SWIGRUNTIME PyObject *
1551 SwigPyObject_long(SwigPyObject *v)
1552 {
1553  return PyLong_FromVoidPtr(v->ptr);
1554 }
1555 
1556 SWIGRUNTIME PyObject *
1557 SwigPyObject_format(const char* fmt, SwigPyObject *v)
1558 {
1559  PyObject *res = NULL;
1560  PyObject *args = PyTuple_New(1);
1561  if (args) {
1562  if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
1563  PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
1564  if (ofmt) {
1565 #if PY_VERSION_HEX >= 0x03000000
1566  res = PyUnicode_Format(ofmt,args);
1567 #else
1568  res = PyString_Format(ofmt,args);
1569 #endif
1570  Py_DECREF(ofmt);
1571  }
1572  Py_DECREF(args);
1573  }
1574  }
1575  return res;
1576 }
1577 
1578 SWIGRUNTIME PyObject *
1579 SwigPyObject_oct(SwigPyObject *v)
1580 {
1581  return SwigPyObject_format("%o",v);
1582 }
1583 
1584 SWIGRUNTIME PyObject *
1585 SwigPyObject_hex(SwigPyObject *v)
1586 {
1587  return SwigPyObject_format("%x",v);
1588 }
1589 
1590 SWIGRUNTIME PyObject *
1591 #ifdef METH_NOARGS
1592 SwigPyObject_repr(SwigPyObject *v)
1593 #else
1594 SwigPyObject_repr(SwigPyObject *v, PyObject *args)
1595 #endif
1596 {
1597  const char *name = SWIG_TypePrettyName(v->ty);
1598  PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
1599  if (v->next) {
1600 # ifdef METH_NOARGS
1601  PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
1602 # else
1603  PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
1604 # endif
1605 # if PY_VERSION_HEX >= 0x03000000
1606  PyObject *joined = PyUnicode_Concat(repr, nrep);
1607  Py_DecRef(repr);
1608  Py_DecRef(nrep);
1609  repr = joined;
1610 # else
1611  PyString_ConcatAndDel(&repr,nrep);
1612 # endif
1613  }
1614  return repr;
1615 }
1616 
1617 SWIGRUNTIME int
1618 SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
1619 {
1620  void *i = v->ptr;
1621  void *j = w->ptr;
1622  return (i < j) ? -1 : ((i > j) ? 1 : 0);
1623 }
1624 
1625 /* Added for Python 3.x, would it also be useful for Python 2.x? */
1626 SWIGRUNTIME PyObject*
1627 SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
1628 {
1629  PyObject* res;
1630  if( op != Py_EQ && op != Py_NE ) {
1631  Py_INCREF(Py_NotImplemented);
1632  return Py_NotImplemented;
1633  }
1634  res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1635  return res;
1636 }
1637 
1638 
1639 SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
1640 
1641 #ifdef SWIGPYTHON_BUILTIN
1642 static swig_type_info *SwigPyObject_stype = 0;
1643 SWIGRUNTIME PyTypeObject*
1644 SwigPyObject_type(void) {
1645  SwigPyClientData *cd;
1646  assert(SwigPyObject_stype);
1647  cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
1648  assert(cd);
1649  assert(cd->pytype);
1650  return cd->pytype;
1651 }
1652 #else
1653 SWIGRUNTIME PyTypeObject*
1654 SwigPyObject_type(void) {
1655  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
1656  return type;
1657 }
1658 #endif
1659 
1660 SWIGRUNTIMEINLINE int
1661 SwigPyObject_Check(PyObject *op) {
1662 #ifdef SWIGPYTHON_BUILTIN
1663  PyTypeObject *target_tp = SwigPyObject_type();
1664  if (PyType_IsSubtype(op->ob_type, target_tp))
1665  return 1;
1666  return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
1667 #else
1668  return (Py_TYPE(op) == SwigPyObject_type())
1669  || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
1670 #endif
1671 }
1672 
1673 SWIGRUNTIME PyObject *
1674 SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
1675 
1676 SWIGRUNTIME void
1677 SwigPyObject_dealloc(PyObject *v)
1678 {
1679  SwigPyObject *sobj = (SwigPyObject *) v;
1680  PyObject *next = sobj->next;
1681  if (sobj->own == SWIG_POINTER_OWN) {
1682  swig_type_info *ty = sobj->ty;
1683  SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
1684  PyObject *destroy = data ? data->destroy : 0;
1685  if (destroy) {
1686  /* destroy is always a VARARGS method */
1687  PyObject *res;
1688 
1689  /* PyObject_CallFunction() has the potential to silently drop
1690  the active active exception. In cases of unnamed temporary
1691  variable or where we just finished iterating over a generator
1692  StopIteration will be active right now, and this needs to
1693  remain true upon return from SwigPyObject_dealloc. So save
1694  and restore. */
1695 
1696  PyObject *val = NULL, *type = NULL, *tb = NULL;
1697  PyErr_Fetch(&val, &type, &tb);
1698 
1699  if (data->delargs) {
1700  /* we need to create a temporary object to carry the destroy operation */
1701  PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1702  res = SWIG_Python_CallFunctor(destroy, tmp);
1703  Py_DECREF(tmp);
1704  } else {
1705  PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1706  PyObject *mself = PyCFunction_GET_SELF(destroy);
1707  res = ((*meth)(mself, v));
1708  }
1709  if (!res)
1710  PyErr_WriteUnraisable(destroy);
1711 
1712  PyErr_Restore(val, type, tb);
1713 
1714  Py_XDECREF(res);
1715  }
1716 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1717  else {
1718  const char *name = SWIG_TypePrettyName(ty);
1719  printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
1720  }
1721 #endif
1722  }
1723  Py_XDECREF(next);
1724  PyObject_DEL(v);
1725 }
1726 
1727 SWIGRUNTIME PyObject*
1728 SwigPyObject_append(PyObject* v, PyObject* next)
1729 {
1730  SwigPyObject *sobj = (SwigPyObject *) v;
1731 #ifndef METH_O
1732  PyObject *tmp = 0;
1733  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1734  next = tmp;
1735 #endif
1736  if (!SwigPyObject_Check(next)) {
1737  PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
1738  return NULL;
1739  }
1740  sobj->next = next;
1741  Py_INCREF(next);
1742  return SWIG_Py_Void();
1743 }
1744 
1745 SWIGRUNTIME PyObject*
1746 #ifdef METH_NOARGS
1747 SwigPyObject_next(PyObject* v)
1748 #else
1749 SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1750 #endif
1751 {
1752  SwigPyObject *sobj = (SwigPyObject *) v;
1753  if (sobj->next) {
1754  Py_INCREF(sobj->next);
1755  return sobj->next;
1756  } else {
1757  return SWIG_Py_Void();
1758  }
1759 }
1760 
1761 SWIGINTERN PyObject*
1762 #ifdef METH_NOARGS
1763 SwigPyObject_disown(PyObject *v)
1764 #else
1765 SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1766 #endif
1767 {
1768  SwigPyObject *sobj = (SwigPyObject *)v;
1769  sobj->own = 0;
1770  return SWIG_Py_Void();
1771 }
1772 
1773 SWIGINTERN PyObject*
1774 #ifdef METH_NOARGS
1775 SwigPyObject_acquire(PyObject *v)
1776 #else
1777 SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1778 #endif
1779 {
1780  SwigPyObject *sobj = (SwigPyObject *)v;
1781  sobj->own = SWIG_POINTER_OWN;
1782  return SWIG_Py_Void();
1783 }
1784 
1785 SWIGINTERN PyObject*
1786 SwigPyObject_own(PyObject *v, PyObject *args)
1787 {
1788  PyObject *val = 0;
1789 #if (PY_VERSION_HEX < 0x02020000)
1790  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1791 #elif (PY_VERSION_HEX < 0x02050000)
1792  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1793 #else
1794  if (!PyArg_UnpackTuple(args, "own", 0, 1, &val))
1795 #endif
1796  {
1797  return NULL;
1798  }
1799  else
1800  {
1801  SwigPyObject *sobj = (SwigPyObject *)v;
1802  PyObject *obj = PyBool_FromLong(sobj->own);
1803  if (val) {
1804 #ifdef METH_NOARGS
1805  if (PyObject_IsTrue(val)) {
1806  SwigPyObject_acquire(v);
1807  } else {
1808  SwigPyObject_disown(v);
1809  }
1810 #else
1811  if (PyObject_IsTrue(val)) {
1812  SwigPyObject_acquire(v,args);
1813  } else {
1814  SwigPyObject_disown(v,args);
1815  }
1816 #endif
1817  }
1818  return obj;
1819  }
1820 }
1821 
1822 #ifdef METH_O
1823 static PyMethodDef
1824 swigobject_methods[] = {
1825  {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1826  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"acquires ownership of the pointer"},
1827  {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1828  {(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"},
1829  {(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1830  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"},
1831  {0, 0, 0, 0}
1832 };
1833 #else
1834 static PyMethodDef
1835 swigobject_methods[] = {
1836  {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1837  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (char *)"acquires ownership of the pointer"},
1838  {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1839  {(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1840  {(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1841  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
1842  {0, 0, 0, 0}
1843 };
1844 #endif
1845 
1846 #if PY_VERSION_HEX < 0x02020000
1847 SWIGINTERN PyObject *
1848 SwigPyObject_getattr(SwigPyObject *sobj,char *name)
1849 {
1850  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1851 }
1852 #endif
1853 
1854 SWIGRUNTIME PyTypeObject*
1855 SwigPyObject_TypeOnce(void) {
1856  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1857 
1858  static PyNumberMethods SwigPyObject_as_number = {
1859  (binaryfunc)0, /*nb_add*/
1860  (binaryfunc)0, /*nb_subtract*/
1861  (binaryfunc)0, /*nb_multiply*/
1862  /* nb_divide removed in Python 3 */
1863 #if PY_VERSION_HEX < 0x03000000
1864  (binaryfunc)0, /*nb_divide*/
1865 #endif
1866  (binaryfunc)0, /*nb_remainder*/
1867  (binaryfunc)0, /*nb_divmod*/
1868  (ternaryfunc)0,/*nb_power*/
1869  (unaryfunc)0, /*nb_negative*/
1870  (unaryfunc)0, /*nb_positive*/
1871  (unaryfunc)0, /*nb_absolute*/
1872  (inquiry)0, /*nb_nonzero*/
1873  0, /*nb_invert*/
1874  0, /*nb_lshift*/
1875  0, /*nb_rshift*/
1876  0, /*nb_and*/
1877  0, /*nb_xor*/
1878  0, /*nb_or*/
1879 #if PY_VERSION_HEX < 0x03000000
1880  0, /*nb_coerce*/
1881 #endif
1882  (unaryfunc)SwigPyObject_long, /*nb_int*/
1883 #if PY_VERSION_HEX < 0x03000000
1884  (unaryfunc)SwigPyObject_long, /*nb_long*/
1885 #else
1886  0, /*nb_reserved*/
1887 #endif
1888  (unaryfunc)0, /*nb_float*/
1889 #if PY_VERSION_HEX < 0x03000000
1890  (unaryfunc)SwigPyObject_oct, /*nb_oct*/
1891  (unaryfunc)SwigPyObject_hex, /*nb_hex*/
1892 #endif
1893 #if PY_VERSION_HEX >= 0x03050000 /* 3.5 */
1894  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */
1895 #elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */
1896  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
1897 #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
1898  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
1899 #elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
1900  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1901 #elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
1902  0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1903 #endif
1904  };
1905 
1906  static PyTypeObject swigpyobject_type;
1907  static int type_init = 0;
1908  if (!type_init) {
1909  const PyTypeObject tmp = {
1910  /* PyObject header changed in Python 3 */
1911 #if PY_VERSION_HEX >= 0x03000000
1912  PyVarObject_HEAD_INIT(NULL, 0)
1913 #else
1914  PyObject_HEAD_INIT(NULL)
1915  0, /* ob_size */
1916 #endif
1917  (char *)"SwigPyObject", /* tp_name */
1918  sizeof(SwigPyObject), /* tp_basicsize */
1919  0, /* tp_itemsize */
1920  (destructor)SwigPyObject_dealloc, /* tp_dealloc */
1921  0, /* tp_print */
1922 #if PY_VERSION_HEX < 0x02020000
1923  (getattrfunc)SwigPyObject_getattr, /* tp_getattr */
1924 #else
1925  (getattrfunc)0, /* tp_getattr */
1926 #endif
1927  (setattrfunc)0, /* tp_setattr */
1928 #if PY_VERSION_HEX >= 0x03000000
1929  0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
1930 #else
1931  (cmpfunc)SwigPyObject_compare, /* tp_compare */
1932 #endif
1933  (reprfunc)SwigPyObject_repr, /* tp_repr */
1934  &SwigPyObject_as_number, /* tp_as_number */
1935  0, /* tp_as_sequence */
1936  0, /* tp_as_mapping */
1937  (hashfunc)0, /* tp_hash */
1938  (ternaryfunc)0, /* tp_call */
1939  0, /* tp_str */
1940  PyObject_GenericGetAttr, /* tp_getattro */
1941  0, /* tp_setattro */
1942  0, /* tp_as_buffer */
1943  Py_TPFLAGS_DEFAULT, /* tp_flags */
1944  swigobject_doc, /* tp_doc */
1945  0, /* tp_traverse */
1946  0, /* tp_clear */
1947  (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
1948  0, /* tp_weaklistoffset */
1949 #if PY_VERSION_HEX >= 0x02020000
1950  0, /* tp_iter */
1951  0, /* tp_iternext */
1952  swigobject_methods, /* tp_methods */
1953  0, /* tp_members */
1954  0, /* tp_getset */
1955  0, /* tp_base */
1956  0, /* tp_dict */
1957  0, /* tp_descr_get */
1958  0, /* tp_descr_set */
1959  0, /* tp_dictoffset */
1960  0, /* tp_init */
1961  0, /* tp_alloc */
1962  0, /* tp_new */
1963  0, /* tp_free */
1964  0, /* tp_is_gc */
1965  0, /* tp_bases */
1966  0, /* tp_mro */
1967  0, /* tp_cache */
1968  0, /* tp_subclasses */
1969  0, /* tp_weaklist */
1970 #endif
1971 #if PY_VERSION_HEX >= 0x02030000
1972  0, /* tp_del */
1973 #endif
1974 #if PY_VERSION_HEX >= 0x02060000
1975  0, /* tp_version_tag */
1976 #endif
1977 #if PY_VERSION_HEX >= 0x03040000
1978  0, /* tp_finalize */
1979 #endif
1980 #ifdef COUNT_ALLOCS
1981  0, /* tp_allocs */
1982  0, /* tp_frees */
1983  0, /* tp_maxalloc */
1984 #if PY_VERSION_HEX >= 0x02050000
1985  0, /* tp_prev */
1986 #endif
1987  0 /* tp_next */
1988 #endif
1989  };
1990  swigpyobject_type = tmp;
1991  type_init = 1;
1992 #if PY_VERSION_HEX < 0x02020000
1993  swigpyobject_type.ob_type = &PyType_Type;
1994 #else
1995  if (PyType_Ready(&swigpyobject_type) < 0)
1996  return NULL;
1997 #endif
1998  }
1999  return &swigpyobject_type;
2000 }
2001 
2002 SWIGRUNTIME PyObject *
2003 SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
2004 {
2005  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
2006  if (sobj) {
2007  sobj->ptr = ptr;
2008  sobj->ty = ty;
2009  sobj->own = own;
2010  sobj->next = 0;
2011  }
2012  return (PyObject *)sobj;
2013 }
2014 
2015 /* -----------------------------------------------------------------------------
2016  * Implements a simple Swig Packed type, and use it instead of string
2017  * ----------------------------------------------------------------------------- */
2018 
2019 typedef struct {
2020  PyObject_HEAD
2021  void *pack;
2022  swig_type_info *ty;
2023  size_t size;
2024 } SwigPyPacked;
2025 
2026 SWIGRUNTIME int
2027 SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
2028 {
2029  char result[SWIG_BUFFER_SIZE];
2030  fputs("<Swig Packed ", fp);
2031  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2032  fputs("at ", fp);
2033  fputs(result, fp);
2034  }
2035  fputs(v->ty->name,fp);
2036  fputs(">", fp);
2037  return 0;
2038 }
2039 
2040 SWIGRUNTIME PyObject *
2041 SwigPyPacked_repr(SwigPyPacked *v)
2042 {
2043  char result[SWIG_BUFFER_SIZE];
2044  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2045  return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
2046  } else {
2047  return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
2048  }
2049 }
2050 
2051 SWIGRUNTIME PyObject *
2052 SwigPyPacked_str(SwigPyPacked *v)
2053 {
2054  char result[SWIG_BUFFER_SIZE];
2055  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2056  return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
2057  } else {
2058  return SWIG_Python_str_FromChar(v->ty->name);
2059  }
2060 }
2061 
2062 SWIGRUNTIME int
2063 SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
2064 {
2065  size_t i = v->size;
2066  size_t j = w->size;
2067  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2068  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
2069 }
2070 
2071 SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
2072 
2073 SWIGRUNTIME PyTypeObject*
2074 SwigPyPacked_type(void) {
2075  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2076  return type;
2077 }
2078 
2079 SWIGRUNTIMEINLINE int
2080 SwigPyPacked_Check(PyObject *op) {
2081  return ((op)->ob_type == SwigPyPacked_TypeOnce())
2082  || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
2083 }
2084 
2085 SWIGRUNTIME void
2086 SwigPyPacked_dealloc(PyObject *v)
2087 {
2088  if (SwigPyPacked_Check(v)) {
2089  SwigPyPacked *sobj = (SwigPyPacked *) v;
2090  free(sobj->pack);
2091  }
2092  PyObject_DEL(v);
2093 }
2094 
2095 SWIGRUNTIME PyTypeObject*
2096 SwigPyPacked_TypeOnce(void) {
2097  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
2098  static PyTypeObject swigpypacked_type;
2099  static int type_init = 0;
2100  if (!type_init) {
2101  const PyTypeObject tmp = {
2102  /* PyObject header changed in Python 3 */
2103 #if PY_VERSION_HEX>=0x03000000
2104  PyVarObject_HEAD_INIT(NULL, 0)
2105 #else
2106  PyObject_HEAD_INIT(NULL)
2107  0, /* ob_size */
2108 #endif
2109  (char *)"SwigPyPacked", /* tp_name */
2110  sizeof(SwigPyPacked), /* tp_basicsize */
2111  0, /* tp_itemsize */
2112  (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2113  (printfunc)SwigPyPacked_print, /* tp_print */
2114  (getattrfunc)0, /* tp_getattr */
2115  (setattrfunc)0, /* tp_setattr */
2116 #if PY_VERSION_HEX>=0x03000000
2117  0, /* tp_reserved in 3.0.1 */
2118 #else
2119  (cmpfunc)SwigPyPacked_compare, /* tp_compare */
2120 #endif
2121  (reprfunc)SwigPyPacked_repr, /* tp_repr */
2122  0, /* tp_as_number */
2123  0, /* tp_as_sequence */
2124  0, /* tp_as_mapping */
2125  (hashfunc)0, /* tp_hash */
2126  (ternaryfunc)0, /* tp_call */
2127  (reprfunc)SwigPyPacked_str, /* tp_str */
2128  PyObject_GenericGetAttr, /* tp_getattro */
2129  0, /* tp_setattro */
2130  0, /* tp_as_buffer */
2131  Py_TPFLAGS_DEFAULT, /* tp_flags */
2132  swigpacked_doc, /* tp_doc */
2133  0, /* tp_traverse */
2134  0, /* tp_clear */
2135  0, /* tp_richcompare */
2136  0, /* tp_weaklistoffset */
2137 #if PY_VERSION_HEX >= 0x02020000
2138  0, /* tp_iter */
2139  0, /* tp_iternext */
2140  0, /* tp_methods */
2141  0, /* tp_members */
2142  0, /* tp_getset */
2143  0, /* tp_base */
2144  0, /* tp_dict */
2145  0, /* tp_descr_get */
2146  0, /* tp_descr_set */
2147  0, /* tp_dictoffset */
2148  0, /* tp_init */
2149  0, /* tp_alloc */
2150  0, /* tp_new */
2151  0, /* tp_free */
2152  0, /* tp_is_gc */
2153  0, /* tp_bases */
2154  0, /* tp_mro */
2155  0, /* tp_cache */
2156  0, /* tp_subclasses */
2157  0, /* tp_weaklist */
2158 #endif
2159 #if PY_VERSION_HEX >= 0x02030000
2160  0, /* tp_del */
2161 #endif
2162 #if PY_VERSION_HEX >= 0x02060000
2163  0, /* tp_version_tag */
2164 #endif
2165 #if PY_VERSION_HEX >= 0x03040000
2166  0, /* tp_finalize */
2167 #endif
2168 #ifdef COUNT_ALLOCS
2169  0, /* tp_allocs */
2170  0, /* tp_frees */
2171  0, /* tp_maxalloc */
2172 #if PY_VERSION_HEX >= 0x02050000
2173  0, /* tp_prev */
2174 #endif
2175  0 /* tp_next */
2176 #endif
2177  };
2178  swigpypacked_type = tmp;
2179  type_init = 1;
2180 #if PY_VERSION_HEX < 0x02020000
2181  swigpypacked_type.ob_type = &PyType_Type;
2182 #else
2183  if (PyType_Ready(&swigpypacked_type) < 0)
2184  return NULL;
2185 #endif
2186  }
2187  return &swigpypacked_type;
2188 }
2189 
2190 SWIGRUNTIME PyObject *
2191 SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2192 {
2193  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
2194  if (sobj) {
2195  void *pack = malloc(size);
2196  if (pack) {
2197  memcpy(pack, ptr, size);
2198  sobj->pack = pack;
2199  sobj->ty = ty;
2200  sobj->size = size;
2201  } else {
2202  PyObject_DEL((PyObject *) sobj);
2203  sobj = 0;
2204  }
2205  }
2206  return (PyObject *) sobj;
2207 }
2208 
2209 SWIGRUNTIME swig_type_info *
2210 SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2211 {
2212  if (SwigPyPacked_Check(obj)) {
2213  SwigPyPacked *sobj = (SwigPyPacked *)obj;
2214  if (sobj->size != size) return 0;
2215  memcpy(ptr, sobj->pack, size);
2216  return sobj->ty;
2217  } else {
2218  return 0;
2219  }
2220 }
2221 
2222 /* -----------------------------------------------------------------------------
2223  * pointers/data manipulation
2224  * ----------------------------------------------------------------------------- */
2225 
2226 SWIGRUNTIMEINLINE PyObject *
2227 _SWIG_This(void)
2228 {
2229  return SWIG_Python_str_FromChar("this");
2230 }
2231 
2232 static PyObject *swig_this = NULL;
2233 
2234 SWIGRUNTIME PyObject *
2235 SWIG_This(void)
2236 {
2237  if (swig_this == NULL)
2238  swig_this = _SWIG_This();
2239  return swig_this;
2240 }
2241 
2242 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
2243 
2244 /* TODO: I don't know how to implement the fast getset in Python 3 right now */
2245 #if PY_VERSION_HEX>=0x03000000
2246 #define SWIG_PYTHON_SLOW_GETSET_THIS
2247 #endif
2248 
2249 SWIGRUNTIME SwigPyObject *
2250 SWIG_Python_GetSwigThis(PyObject *pyobj)
2251 {
2252  PyObject *obj;
2253 
2254  if (SwigPyObject_Check(pyobj))
2255  return (SwigPyObject *) pyobj;
2256 
2257 #ifdef SWIGPYTHON_BUILTIN
2258  (void)obj;
2259 # ifdef PyWeakref_CheckProxy
2260  if (PyWeakref_CheckProxy(pyobj)) {
2261  pyobj = PyWeakref_GET_OBJECT(pyobj);
2262  if (pyobj && SwigPyObject_Check(pyobj))
2263  return (SwigPyObject*) pyobj;
2264  }
2265 # endif
2266  return NULL;
2267 #else
2268 
2269  obj = 0;
2270 
2271 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
2272  if (PyInstance_Check(pyobj)) {
2273  obj = _PyInstance_Lookup(pyobj, SWIG_This());
2274  } else {
2275  PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2276  if (dictptr != NULL) {
2277  PyObject *dict = *dictptr;
2278  obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2279  } else {
2280 #ifdef PyWeakref_CheckProxy
2281  if (PyWeakref_CheckProxy(pyobj)) {
2282  PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2283  return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2284  }
2285 #endif
2286  obj = PyObject_GetAttr(pyobj,SWIG_This());
2287  if (obj) {
2288  Py_DECREF(obj);
2289  } else {
2290  if (PyErr_Occurred()) PyErr_Clear();
2291  return 0;
2292  }
2293  }
2294  }
2295 #else
2296  obj = PyObject_GetAttr(pyobj,SWIG_This());
2297  if (obj) {
2298  Py_DECREF(obj);
2299  } else {
2300  if (PyErr_Occurred()) PyErr_Clear();
2301  return 0;
2302  }
2303 #endif
2304  if (obj && !SwigPyObject_Check(obj)) {
2305  /* a PyObject is called 'this', try to get the 'real this'
2306  SwigPyObject from it */
2307  return SWIG_Python_GetSwigThis(obj);
2308  }
2309  return (SwigPyObject *)obj;
2310 #endif
2311 }
2312 
2313 /* Acquire a pointer value */
2314 
2315 SWIGRUNTIME int
2316 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2317  if (own == SWIG_POINTER_OWN) {
2318  SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
2319  if (sobj) {
2320  int oldown = sobj->own;
2321  sobj->own = own;
2322  return oldown;
2323  }
2324  }
2325  return 0;
2326 }
2327 
2328 /* Convert a pointer value */
2329 
2330 SWIGRUNTIME int
2331 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2332  int res;
2333  SwigPyObject *sobj;
2334  int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2335 
2336  if (!obj)
2337  return SWIG_ERROR;
2338  if (obj == Py_None && !implicit_conv) {
2339  if (ptr)
2340  *ptr = 0;
2341  return SWIG_OK;
2342  }
2343 
2344  res = SWIG_ERROR;
2345 
2346  sobj = SWIG_Python_GetSwigThis(obj);
2347  if (own)
2348  *own = 0;
2349  while (sobj) {
2350  void *vptr = sobj->ptr;
2351  if (ty) {
2352  swig_type_info *to = sobj->ty;
2353  if (to == ty) {
2354  /* no type cast needed */
2355  if (ptr) *ptr = vptr;
2356  break;
2357  } else {
2358  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2359  if (!tc) {
2360  sobj = (SwigPyObject *)sobj->next;
2361  } else {
2362  if (ptr) {
2363  int newmemory = 0;
2364  *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2365  if (newmemory == SWIG_CAST_NEW_MEMORY) {
2366  assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2367  if (own)
2368  *own = *own | SWIG_CAST_NEW_MEMORY;
2369  }
2370  }
2371  break;
2372  }
2373  }
2374  } else {
2375  if (ptr) *ptr = vptr;
2376  break;
2377  }
2378  }
2379  if (sobj) {
2380  if (own)
2381  *own = *own | sobj->own;
2382  if (flags & SWIG_POINTER_DISOWN) {
2383  sobj->own = 0;
2384  }
2385  res = SWIG_OK;
2386  } else {
2387  if (implicit_conv) {
2388  SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2389  if (data && !data->implicitconv) {
2390  PyObject *klass = data->klass;
2391  if (klass) {
2392  PyObject *impconv;
2393  data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2394  impconv = SWIG_Python_CallFunctor(klass, obj);
2395  data->implicitconv = 0;
2396  if (PyErr_Occurred()) {
2397  PyErr_Clear();
2398  impconv = 0;
2399  }
2400  if (impconv) {
2401  SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2402  if (iobj) {
2403  void *vptr;
2404  res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2405  if (SWIG_IsOK(res)) {
2406  if (ptr) {
2407  *ptr = vptr;
2408  /* transfer the ownership to 'ptr' */
2409  iobj->own = 0;
2410  res = SWIG_AddCast(res);
2411  res = SWIG_AddNewMask(res);
2412  } else {
2413  res = SWIG_AddCast(res);
2414  }
2415  }
2416  }
2417  Py_DECREF(impconv);
2418  }
2419  }
2420  }
2421  }
2422  if (!SWIG_IsOK(res) && obj == Py_None) {
2423  if (ptr)
2424  *ptr = 0;
2425  if (PyErr_Occurred())
2426  PyErr_Clear();
2427  res = SWIG_OK;
2428  }
2429  }
2430  return res;
2431 }
2432 
2433 /* Convert a function ptr value */
2434 
2435 SWIGRUNTIME int
2436 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2437  if (!PyCFunction_Check(obj)) {
2438  return SWIG_ConvertPtr(obj, ptr, ty, 0);
2439  } else {
2440  void *vptr = 0;
2441 
2442  /* here we get the method pointer for callbacks */
2443  const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2444  const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2445  if (desc)
2446  desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2447  if (!desc)
2448  return SWIG_ERROR;
2449  if (ty) {
2450  swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2451  if (tc) {
2452  int newmemory = 0;
2453  *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2454  assert(!newmemory); /* newmemory handling not yet implemented */
2455  } else {
2456  return SWIG_ERROR;
2457  }
2458  } else {
2459  *ptr = vptr;
2460  }
2461  return SWIG_OK;
2462  }
2463 }
2464 
2465 /* Convert a packed value value */
2466 
2467 SWIGRUNTIME int
2468 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2469  swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2470  if (!to) return SWIG_ERROR;
2471  if (ty) {
2472  if (to != ty) {
2473  /* check type cast? */
2474  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2475  if (!tc) return SWIG_ERROR;
2476  }
2477  }
2478  return SWIG_OK;
2479 }
2480 
2481 /* -----------------------------------------------------------------------------
2482  * Create a new pointer object
2483  * ----------------------------------------------------------------------------- */
2484 
2485 /*
2486  Create a new instance object, without calling __init__, and set the
2487  'this' attribute.
2488 */
2489 
2490 SWIGRUNTIME PyObject*
2491 SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
2492 {
2493 #if (PY_VERSION_HEX >= 0x02020000)
2494  PyObject *inst = 0;
2495  PyObject *newraw = data->newraw;
2496  if (newraw) {
2497  inst = PyObject_Call(newraw, data->newargs, NULL);
2498  if (inst) {
2499 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2500  PyObject **dictptr = _PyObject_GetDictPtr(inst);
2501  if (dictptr != NULL) {
2502  PyObject *dict = *dictptr;
2503  if (dict == NULL) {
2504  dict = PyDict_New();
2505  *dictptr = dict;
2506  PyDict_SetItem(dict, SWIG_This(), swig_this);
2507  }
2508  }
2509 #else
2510  PyObject *key = SWIG_This();
2511  PyObject_SetAttr(inst, key, swig_this);
2512 #endif
2513  }
2514  } else {
2515 #if PY_VERSION_HEX >= 0x03000000
2516  inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
2517  if (inst) {
2518  PyObject_SetAttr(inst, SWIG_This(), swig_this);
2519  Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2520  }
2521 #else
2522  PyObject *dict = PyDict_New();
2523  if (dict) {
2524  PyDict_SetItem(dict, SWIG_This(), swig_this);
2525  inst = PyInstance_NewRaw(data->newargs, dict);
2526  Py_DECREF(dict);
2527  }
2528 #endif
2529  }
2530  return inst;
2531 #else
2532 #if (PY_VERSION_HEX >= 0x02010000)
2533  PyObject *inst = 0;
2534  PyObject *dict = PyDict_New();
2535  if (dict) {
2536  PyDict_SetItem(dict, SWIG_This(), swig_this);
2537  inst = PyInstance_NewRaw(data->newargs, dict);
2538  Py_DECREF(dict);
2539  }
2540  return (PyObject *) inst;
2541 #else
2542  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2543  if (inst == NULL) {
2544  return NULL;
2545  }
2546  inst->in_class = (PyClassObject *)data->newargs;
2547  Py_INCREF(inst->in_class);
2548  inst->in_dict = PyDict_New();
2549  if (inst->in_dict == NULL) {
2550  Py_DECREF(inst);
2551  return NULL;
2552  }
2553 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2554  inst->in_weakreflist = NULL;
2555 #endif
2556 #ifdef Py_TPFLAGS_GC
2557  PyObject_GC_Init(inst);
2558 #endif
2559  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2560  return (PyObject *) inst;
2561 #endif
2562 #endif
2563 }
2564 
2565 SWIGRUNTIME void
2566 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2567 {
2568  PyObject *dict;
2569 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2570  PyObject **dictptr = _PyObject_GetDictPtr(inst);
2571  if (dictptr != NULL) {
2572  dict = *dictptr;
2573  if (dict == NULL) {
2574  dict = PyDict_New();
2575  *dictptr = dict;
2576  }
2577  PyDict_SetItem(dict, SWIG_This(), swig_this);
2578  return;
2579  }
2580 #endif
2581  dict = PyObject_GetAttrString(inst, (char*)"__dict__");
2582  PyDict_SetItem(dict, SWIG_This(), swig_this);
2583  Py_DECREF(dict);
2584 }
2585 
2586 
2587 SWIGINTERN PyObject *
2588 SWIG_Python_InitShadowInstance(PyObject *args) {
2589  PyObject *obj[2];
2590  if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
2591  return NULL;
2592  } else {
2593  SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2594  if (sthis) {
2595  SwigPyObject_append((PyObject*) sthis, obj[1]);
2596  } else {
2597  SWIG_Python_SetSwigThis(obj[0], obj[1]);
2598  }
2599  return SWIG_Py_Void();
2600  }
2601 }
2602 
2603 /* Create a new pointer object */
2604 
2605 SWIGRUNTIME PyObject *
2606 SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
2607  SwigPyClientData *clientdata;
2608  PyObject * robj;
2609  int own;
2610 
2611  if (!ptr)
2612  return SWIG_Py_Void();
2613 
2614  clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
2615  own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2616  if (clientdata && clientdata->pytype) {
2617  SwigPyObject *newobj;
2618  if (flags & SWIG_BUILTIN_TP_INIT) {
2619  newobj = (SwigPyObject*) self;
2620  if (newobj->ptr) {
2621  PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
2622  while (newobj->next)
2623  newobj = (SwigPyObject *) newobj->next;
2624  newobj->next = next_self;
2625  newobj = (SwigPyObject *)next_self;
2626 #ifdef SWIGPYTHON_BUILTIN
2627  newobj->dict = 0;
2628 #endif
2629  }
2630  } else {
2631  newobj = PyObject_New(SwigPyObject, clientdata->pytype);
2632 #ifdef SWIGPYTHON_BUILTIN
2633  newobj->dict = 0;
2634 #endif
2635  }
2636  if (newobj) {
2637  newobj->ptr = ptr;
2638  newobj->ty = type;
2639  newobj->own = own;
2640  newobj->next = 0;
2641  return (PyObject*) newobj;
2642  }
2643  return SWIG_Py_Void();
2644  }
2645 
2646  assert(!(flags & SWIG_BUILTIN_TP_INIT));
2647 
2648  robj = SwigPyObject_New(ptr, type, own);
2649  if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2650  PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2651  Py_DECREF(robj);
2652  robj = inst;
2653  }
2654  return robj;
2655 }
2656 
2657 /* Create a new packed object */
2658 
2659 SWIGRUNTIMEINLINE PyObject *
2660 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2661  return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2662 }
2663 
2664 /* -----------------------------------------------------------------------------*
2665  * Get type list
2666  * -----------------------------------------------------------------------------*/
2667 
2668 #ifdef SWIG_LINK_RUNTIME
2669 void *SWIG_ReturnGlobalTypeList(void *);
2670 #endif
2671 
2672 SWIGRUNTIME swig_module_info *
2673 SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
2674  static void *type_pointer = (void *)0;
2675  /* first check if module already created */
2676  if (!type_pointer) {
2677 #ifdef SWIG_LINK_RUNTIME
2678  type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2679 #else
2680 # ifdef SWIGPY_USE_CAPSULE
2681  type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2682 # else
2683  type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2684  (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2685 # endif
2686  if (PyErr_Occurred()) {
2687  PyErr_Clear();
2688  type_pointer = (void *)0;
2689  }
2690 #endif
2691  }
2692  return (swig_module_info *) type_pointer;
2693 }
2694 
2695 #if PY_MAJOR_VERSION < 2
2696 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2697  is copied out of Python/modsupport.c in python version 2.3.4 */
2698 SWIGINTERN int
2699 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2700 {
2701  PyObject *dict;
2702  if (!PyModule_Check(m)) {
2703  PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs module as first arg");
2704  return SWIG_ERROR;
2705  }
2706  if (!o) {
2707  PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs non-NULL value");
2708  return SWIG_ERROR;
2709  }
2710 
2711  dict = PyModule_GetDict(m);
2712  if (dict == NULL) {
2713  /* Internal error -- modules must have a dict! */
2714  PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2715  PyModule_GetName(m));
2716  return SWIG_ERROR;
2717  }
2718  if (PyDict_SetItemString(dict, name, o))
2719  return SWIG_ERROR;
2720  Py_DECREF(o);
2721  return SWIG_OK;
2722 }
2723 #endif
2724 
2725 SWIGRUNTIME void
2726 #ifdef SWIGPY_USE_CAPSULE
2727 SWIG_Python_DestroyModule(PyObject *obj)
2728 #else
2729 SWIG_Python_DestroyModule(void *vptr)
2730 #endif
2731 {
2732 #ifdef SWIGPY_USE_CAPSULE
2733  swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
2734 #else
2735  swig_module_info *swig_module = (swig_module_info *) vptr;
2736 #endif
2737  swig_type_info **types = swig_module->types;
2738  size_t i;
2739  for (i =0; i < swig_module->size; ++i) {
2740  swig_type_info *ty = types[i];
2741  if (ty->owndata) {
2742  SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
2743  if (data) SwigPyClientData_Del(data);
2744  }
2745  }
2746  Py_DECREF(SWIG_This());
2747  swig_this = NULL;
2748 }
2749 
2750 SWIGRUNTIME void
2751 SWIG_Python_SetModule(swig_module_info *swig_module) {
2752 #if PY_VERSION_HEX >= 0x03000000
2753  /* Add a dummy module object into sys.modules */
2754  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
2755 #else
2756  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
2757  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2758 #endif
2759 #ifdef SWIGPY_USE_CAPSULE
2760  PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
2761  if (pointer && module) {
2762  PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
2763  } else {
2764  Py_XDECREF(pointer);
2765  }
2766 #else
2767  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2768  if (pointer && module) {
2769  PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2770  } else {
2771  Py_XDECREF(pointer);
2772  }
2773 #endif
2774 }
2775 
2776 /* The python cached type query */
2777 SWIGRUNTIME PyObject *
2778 SWIG_Python_TypeCache(void) {
2779  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2780  return cache;
2781 }
2782 
2783 SWIGRUNTIME swig_type_info *
2784 SWIG_Python_TypeQuery(const char *type)
2785 {
2786  PyObject *cache = SWIG_Python_TypeCache();
2787  PyObject *key = SWIG_Python_str_FromChar(type);
2788  PyObject *obj = PyDict_GetItem(cache, key);
2789  swig_type_info *descriptor;
2790  if (obj) {
2791 #ifdef SWIGPY_USE_CAPSULE
2792  descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
2793 #else
2794  descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2795 #endif
2796  } else {
2797  swig_module_info *swig_module = SWIG_GetModule(0);
2798  descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2799  if (descriptor) {
2800 #ifdef SWIGPY_USE_CAPSULE
2801  obj = PyCapsule_New((void*) descriptor, NULL, NULL);
2802 #else
2803  obj = PyCObject_FromVoidPtr(descriptor, NULL);
2804 #endif
2805  PyDict_SetItem(cache, key, obj);
2806  Py_DECREF(obj);
2807  }
2808  }
2809  Py_DECREF(key);
2810  return descriptor;
2811 }
2812 
2813 /*
2814  For backward compatibility only
2815 */
2816 #define SWIG_POINTER_EXCEPTION 0
2817 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2818 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2819 
2820 SWIGRUNTIME int
2821 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2822 {
2823  if (PyErr_Occurred()) {
2824  PyObject *type = 0;
2825  PyObject *value = 0;
2826  PyObject *traceback = 0;
2827  PyErr_Fetch(&type, &value, &traceback);
2828  if (value) {
2829  char *tmp;
2830  PyObject *old_str = PyObject_Str(value);
2831  Py_XINCREF(type);
2832  PyErr_Clear();
2833  if (infront) {
2834  PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
2835  } else {
2836  PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
2837  }
2838  SWIG_Python_str_DelForPy3(tmp);
2839  Py_DECREF(old_str);
2840  }
2841  return 1;
2842  } else {
2843  return 0;
2844  }
2845 }
2846 
2847 SWIGRUNTIME int
2848 SWIG_Python_ArgFail(int argnum)
2849 {
2850  if (PyErr_Occurred()) {
2851  /* add information about failing argument */
2852  char mesg[256];
2853  PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2854  return SWIG_Python_AddErrMesg(mesg, 1);
2855  } else {
2856  return 0;
2857  }
2858 }
2859 
2860 SWIGRUNTIMEINLINE const char *
2861 SwigPyObject_GetDesc(PyObject *self)
2862 {
2863  SwigPyObject *v = (SwigPyObject *)self;
2864  swig_type_info *ty = v ? v->ty : 0;
2865  return ty ? ty->str : "";
2866 }
2867 
2868 SWIGRUNTIME void
2869 SWIG_Python_TypeError(const char *type, PyObject *obj)
2870 {
2871  if (type) {
2872 #if defined(SWIG_COBJECT_TYPES)
2873  if (obj && SwigPyObject_Check(obj)) {
2874  const char *otype = (const char *) SwigPyObject_GetDesc(obj);
2875  if (otype) {
2876  PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
2877  type, otype);
2878  return;
2879  }
2880  } else
2881 #endif
2882  {
2883  const char *otype = (obj ? obj->ob_type->tp_name : 0);
2884  if (otype) {
2885  PyObject *str = PyObject_Str(obj);
2886  const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
2887  if (cstr) {
2888  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2889  type, otype, cstr);
2890  SWIG_Python_str_DelForPy3(cstr);
2891  } else {
2892  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2893  type, otype);
2894  }
2895  Py_XDECREF(str);
2896  return;
2897  }
2898  }
2899  PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2900  } else {
2901  PyErr_Format(PyExc_TypeError, "unexpected type is received");
2902  }
2903 }
2904 
2905 
2906 /* Convert a pointer value, signal an exception on a type mismatch */
2907 SWIGRUNTIME void *
2908 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
2909  void *result;
2910  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2911  PyErr_Clear();
2912 #if SWIG_POINTER_EXCEPTION
2913  if (flags) {
2914  SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2915  SWIG_Python_ArgFail(argnum);
2916  }
2917 #endif
2918  }
2919  return result;
2920 }
2921 
2922 #ifdef SWIGPYTHON_BUILTIN
2923 SWIGRUNTIME int
2924 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
2925  PyTypeObject *tp = obj->ob_type;
2926  PyObject *descr;
2927  PyObject *encoded_name;
2928  descrsetfunc f;
2929  int res = -1;
2930 
2931 # ifdef Py_USING_UNICODE
2932  if (PyString_Check(name)) {
2933  name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2934  if (!name)
2935  return -1;
2936  } else if (!PyUnicode_Check(name))
2937 # else
2938  if (!PyString_Check(name))
2939 # endif
2940  {
2941  PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2942  return -1;
2943  } else {
2944  Py_INCREF(name);
2945  }
2946 
2947  if (!tp->tp_dict) {
2948  if (PyType_Ready(tp) < 0)
2949  goto done;
2950  }
2951 
2952  descr = _PyType_Lookup(tp, name);
2953  f = NULL;
2954  if (descr != NULL)
2955  f = descr->ob_type->tp_descr_set;
2956  if (!f) {
2957  if (PyString_Check(name)) {
2958  encoded_name = name;
2959  Py_INCREF(name);
2960  } else {
2961  encoded_name = PyUnicode_AsUTF8String(name);
2962  }
2963  PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2964  Py_DECREF(encoded_name);
2965  } else {
2966  res = f(descr, obj, value);
2967  }
2968 
2969  done:
2970  Py_DECREF(name);
2971  return res;
2972 }
2973 #endif
2974 
2975 
2976 #ifdef __cplusplus
2977 }
2978 #endif
2979 
2980 
2981 
2982 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2983 
2984 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2985 
2986 
2987 
2988 /* -------- TYPES TABLE (BEGIN) -------- */
2989 
2990 #define SWIGTYPE_p_DynaSyncWriteTuple_T swig_types[0]
2991 #define SWIGTYPE_p__bsClientStruct swig_types[1]
2992 #define SWIGTYPE_p_char swig_types[2]
2993 #define SWIGTYPE_p_int swig_types[3]
2994 #define SWIGTYPE_p_unsigned_char swig_types[4]
2995 #define SWIGTYPE_p_unsigned_int swig_types[5]
2996 #define SWIGTYPE_p_unsigned_long swig_types[6]
2997 #define SWIGTYPE_p_unsigned_short swig_types[7]
2998 static swig_type_info *swig_types[9];
2999 static swig_module_info swig_module = {swig_types, 8, 0, 0, 0, 0};
3000 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3001 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3002 
3003 /* -------- TYPES TABLE (END) -------- */
3004 
3005 #if (PY_VERSION_HEX <= 0x02000000)
3006 # if !defined(SWIG_PYTHON_CLASSIC)
3007 # error "This python version requires swig to be run with the '-classic' option"
3008 # endif
3009 #endif
3010 
3011 /*-----------------------------------------------
3012  @(target):= _bsDynaCore.so
3013  ------------------------------------------------*/
3014 #if PY_VERSION_HEX >= 0x03000000
3015 # define SWIG_init PyInit__bsDynaCore
3016 
3017 #else
3018 # define SWIG_init init_bsDynaCore
3019 
3020 #endif
3021 #define SWIG_name "_bsDynaCore"
3022 
3023 #define SWIGVERSION 0x030008
3024 #define SWIG_VERSION SWIGVERSION
3025 
3026 
3027 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
3028 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3029 
3030 
3031 #include "botsense/BotSense.h"
3032 #include "botsense/bsDyna.h"
3033 
3034 
3035 SWIGINTERNINLINE PyObject*
3036  SWIG_From_int (int value)
3037 {
3038  return PyInt_FromLong((long) value);
3039 }
3040 
3041 
3042  #define SWIG_From_double PyFloat_FromDouble
3043 
3044 
3045 SWIGINTERN swig_type_info*
3046 SWIG_pchar_descriptor(void)
3047 {
3048  static int init = 0;
3049  static swig_type_info* info = 0;
3050  if (!init) {
3051  info = SWIG_TypeQuery("_p_char");
3052  init = 1;
3053  }
3054  return info;
3055 }
3056 
3057 
3058 SWIGINTERNINLINE PyObject *
3059 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3060 {
3061  if (carray) {
3062  if (size > INT_MAX) {
3063  swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3064  return pchar_descriptor ?
3065  SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
3066  } else {
3067 #if PY_VERSION_HEX >= 0x03000000
3068 #if PY_VERSION_HEX >= 0x03010000
3069  return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size), "surrogateescape");
3070 #else
3071  return PyUnicode_FromStringAndSize(carray, (Py_ssize_t)(size));
3072 #endif
3073 #else
3074  return PyString_FromStringAndSize(carray, (Py_ssize_t)(size));
3075 #endif
3076  }
3077  } else {
3078  return SWIG_Py_Void();
3079  }
3080 }
3081 
3082 
3083 SWIGINTERNINLINE PyObject *
3084 SWIG_FromCharPtr(const char *cptr)
3085 {
3086  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
3087 }
3088 
3089 
3090 #include <limits.h>
3091 #if !defined(SWIG_NO_LLONG_MAX)
3092 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3093 # define LLONG_MAX __LONG_LONG_MAX__
3094 # define LLONG_MIN (-LLONG_MAX - 1LL)
3095 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3096 # endif
3097 #endif
3098 
3099 
3100 SWIGINTERN int
3101 SWIG_AsVal_double (PyObject *obj, double *val)
3102 {
3103  int res = SWIG_TypeError;
3104  if (PyFloat_Check(obj)) {
3105  if (val) *val = PyFloat_AsDouble(obj);
3106  return SWIG_OK;
3107 #if PY_VERSION_HEX < 0x03000000
3108  } else if (PyInt_Check(obj)) {
3109  if (val) *val = PyInt_AsLong(obj);
3110  return SWIG_OK;
3111 #endif
3112  } else if (PyLong_Check(obj)) {
3113  double v = PyLong_AsDouble(obj);
3114  if (!PyErr_Occurred()) {
3115  if (val) *val = v;
3116  return SWIG_OK;
3117  } else {
3118  PyErr_Clear();
3119  }
3120  }
3121 #ifdef SWIG_PYTHON_CAST_MODE
3122  {
3123  int dispatch = 0;
3124  double d = PyFloat_AsDouble(obj);
3125  if (!PyErr_Occurred()) {
3126  if (val) *val = d;
3127  return SWIG_AddCast(SWIG_OK);
3128  } else {
3129  PyErr_Clear();
3130  }
3131  if (!dispatch) {
3132  long v = PyLong_AsLong(obj);
3133  if (!PyErr_Occurred()) {
3134  if (val) *val = v;
3135  return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
3136  } else {
3137  PyErr_Clear();
3138  }
3139  }
3140  }
3141 #endif
3142  return res;
3143 }
3144 
3145 
3146 #include <float.h>
3147 
3148 
3149 #include <math.h>
3150 
3151 
3152 SWIGINTERNINLINE int
3153 SWIG_CanCastAsInteger(double *d, double min, double max) {
3154  double x = *d;
3155  if ((min <= x && x <= max)) {
3156  double fx = floor(x);
3157  double cx = ceil(x);
3158  double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3159  if ((errno == EDOM) || (errno == ERANGE)) {
3160  errno = 0;
3161  } else {
3162  double summ, reps, diff;
3163  if (rd < x) {
3164  diff = x - rd;
3165  } else if (rd > x) {
3166  diff = rd - x;
3167  } else {
3168  return 1;
3169  }
3170  summ = rd + x;
3171  reps = diff/summ;
3172  if (reps < 8*DBL_EPSILON) {
3173  *d = rd;
3174  return 1;
3175  }
3176  }
3177  }
3178  return 0;
3179 }
3180 
3181 
3182 SWIGINTERN int
3183 SWIG_AsVal_long (PyObject *obj, long* val)
3184 {
3185 #if PY_VERSION_HEX < 0x03000000
3186  if (PyInt_Check(obj)) {
3187  if (val) *val = PyInt_AsLong(obj);
3188  return SWIG_OK;
3189  } else
3190 #endif
3191  if (PyLong_Check(obj)) {
3192  long v = PyLong_AsLong(obj);
3193  if (!PyErr_Occurred()) {
3194  if (val) *val = v;
3195  return SWIG_OK;
3196  } else {
3197  PyErr_Clear();
3198  return SWIG_OverflowError;
3199  }
3200  }
3201 #ifdef SWIG_PYTHON_CAST_MODE
3202  {
3203  int dispatch = 0;
3204  long v = PyInt_AsLong(obj);
3205  if (!PyErr_Occurred()) {
3206  if (val) *val = v;
3207  return SWIG_AddCast(SWIG_OK);
3208  } else {
3209  PyErr_Clear();
3210  }
3211  if (!dispatch) {
3212  double d;
3213  int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3214  if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
3215  if (val) *val = (long)(d);
3216  return res;
3217  }
3218  }
3219  }
3220 #endif
3221  return SWIG_TypeError;
3222 }
3223 
3224 
3225 SWIGINTERN int
3226 SWIG_AsVal_int (PyObject * obj, int *val)
3227 {
3228  long v;
3229  int res = SWIG_AsVal_long (obj, &v);
3230  if (SWIG_IsOK(res)) {
3231  if ((v < INT_MIN || v > INT_MAX)) {
3232  return SWIG_OverflowError;
3233  } else {
3234  if (val) *val = (int)(v);
3235  }
3236  }
3237  return res;
3238 }
3239 
3240 
3241 SWIGINTERN int
3242 SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3243 {
3244 #if PY_VERSION_HEX < 0x03000000
3245  if (PyInt_Check(obj)) {
3246  long v = PyInt_AsLong(obj);
3247  if (v >= 0) {
3248  if (val) *val = v;
3249  return SWIG_OK;
3250  } else {
3251  return SWIG_OverflowError;
3252  }
3253  } else
3254 #endif
3255  if (PyLong_Check(obj)) {
3256  unsigned long v = PyLong_AsUnsignedLong(obj);
3257  if (!PyErr_Occurred()) {
3258  if (val) *val = v;
3259  return SWIG_OK;
3260  } else {
3261  PyErr_Clear();
3262  return SWIG_OverflowError;
3263  }
3264  }
3265 #ifdef SWIG_PYTHON_CAST_MODE
3266  {
3267  int dispatch = 0;
3268  unsigned long v = PyLong_AsUnsignedLong(obj);
3269  if (!PyErr_Occurred()) {
3270  if (val) *val = v;
3271  return SWIG_AddCast(SWIG_OK);
3272  } else {
3273  PyErr_Clear();
3274  }
3275  if (!dispatch) {
3276  double d;
3277  int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3278  if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
3279  if (val) *val = (unsigned long)(d);
3280  return res;
3281  }
3282  }
3283  }
3284 #endif
3285  return SWIG_TypeError;
3286 }
3287 
3288 
3289 SWIGINTERN int
3290 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3291 {
3292  unsigned long v;
3293  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3294  if (SWIG_IsOK(res)) {
3295  if ((v > UINT_MAX)) {
3296  return SWIG_OverflowError;
3297  } else {
3298  if (val) *val = (unsigned int)(v);
3299  }
3300  }
3301  return res;
3302 }
3303 
3304 
3305 SWIGINTERN int
3306 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
3307 {
3308 #if PY_VERSION_HEX>=0x03000000
3309  if (PyUnicode_Check(obj))
3310 #else
3311  if (PyString_Check(obj))
3312 #endif
3313  {
3314  char *cstr; Py_ssize_t len;
3315 #if PY_VERSION_HEX>=0x03000000
3316  if (!alloc && cptr) {
3317  /* We can't allow converting without allocation, since the internal
3318  representation of string in Python 3 is UCS-2/UCS-4 but we require
3319  a UTF-8 representation.
3320  TODO(bhy) More detailed explanation */
3321  return SWIG_RuntimeError;
3322  }
3323  obj = PyUnicode_AsUTF8String(obj);
3324  PyBytes_AsStringAndSize(obj, &cstr, &len);
3325  if(alloc) *alloc = SWIG_NEWOBJ;
3326 #else
3327  PyString_AsStringAndSize(obj, &cstr, &len);
3328 #endif
3329  if (cptr) {
3330  if (alloc) {
3331  /*
3332  In python the user should not be able to modify the inner
3333  string representation. To warranty that, if you define
3334  SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3335  buffer is always returned.
3336 
3337  The default behavior is just to return the pointer value,
3338  so, be careful.
3339  */
3340 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3341  if (*alloc != SWIG_OLDOBJ)
3342 #else
3343  if (*alloc == SWIG_NEWOBJ)
3344 #endif
3345  {
3346  *cptr = (char *)memcpy((char *)malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3347  *alloc = SWIG_NEWOBJ;
3348  } else {
3349  *cptr = cstr;
3350  *alloc = SWIG_OLDOBJ;
3351  }
3352  } else {
3353  #if PY_VERSION_HEX>=0x03000000
3354  assert(0); /* Should never reach here in Python 3 */
3355  #endif
3356  *cptr = SWIG_Python_str_AsChar(obj);
3357  }
3358  }
3359  if (psize) *psize = len + 1;
3360 #if PY_VERSION_HEX>=0x03000000
3361  Py_XDECREF(obj);
3362 #endif
3363  return SWIG_OK;
3364  } else {
3365 #if defined(SWIG_PYTHON_2_UNICODE)
3366 #if PY_VERSION_HEX<0x03000000
3367  if (PyUnicode_Check(obj)) {
3368  char *cstr; Py_ssize_t len;
3369  if (!alloc && cptr) {
3370  return SWIG_RuntimeError;
3371  }
3372  obj = PyUnicode_AsUTF8String(obj);
3373  if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
3374  if (cptr) {
3375  if (alloc) *alloc = SWIG_NEWOBJ;
3376  *cptr = (char *)memcpy((char *)malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3377  }
3378  if (psize) *psize = len + 1;
3379 
3380  Py_XDECREF(obj);
3381  return SWIG_OK;
3382  } else {
3383  Py_XDECREF(obj);
3384  }
3385  }
3386 #endif
3387 #endif
3388 
3389  swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3390  if (pchar_descriptor) {
3391  void* vptr = 0;
3392  if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
3393  if (cptr) *cptr = (char *) vptr;
3394  if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3395  if (alloc) *alloc = SWIG_OLDOBJ;
3396  return SWIG_OK;
3397  }
3398  }
3399  }
3400  return SWIG_TypeError;
3401 }
3402 
3403 
3404 
3405 
3406 
3407 SWIGINTERN int
3408 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
3409 {
3410  unsigned long v;
3411  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3412  if (SWIG_IsOK(res)) {
3413  if ((v > UCHAR_MAX)) {
3414  return SWIG_OverflowError;
3415  } else {
3416  if (val) *val = (unsigned char)(v);
3417  }
3418  }
3419  return res;
3420 }
3421 
3422 
3423 SWIGINTERN int
3424 SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val)
3425 {
3426  unsigned long v;
3427  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3428  if (SWIG_IsOK(res)) {
3429  if ((v > USHRT_MAX)) {
3430  return SWIG_OverflowError;
3431  } else {
3432  if (val) *val = (unsigned short)(v);
3433  }
3434  }
3435  return res;
3436 }
3437 
3438 
3439  static uint_t *new_uintArray(size_t nelements) {
3440  return (uint_t *)malloc((nelements)*sizeof(uint_t));
3441  }
3442 
3443  static void delete_uintArray(uint_t *ary) {
3444  free((char*)ary);
3445  }
3446 
3447  static uint_t uintArray_getitem(uint_t *ary, size_t index) {
3448  return ary[index];
3449  }
3450  static void uintArray_setitem(uint_t *ary, size_t index, uint_t value) {
3451  ary[index] = value;
3452  }
3453 
3454 
3455 SWIGINTERNINLINE int
3456 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
3457 {
3458  unsigned long v;
3459  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
3460  if (SWIG_IsOK(res) && val) *val = (size_t)(v);
3461  return res;
3462 }
3463 
3464 
3465 SWIGINTERNINLINE PyObject*
3466  SWIG_From_unsigned_SS_int (unsigned int value)
3467 {
3468  return PyInt_FromSize_t((size_t) value);
3469 }
3470 
3471 
3472  static bool_t *new_boolArray(size_t nelements) {
3473  return (bool_t *)malloc((nelements)*sizeof(bool_t));
3474  }
3475 
3476  static void delete_boolArray(bool_t *ary) {
3477  free((char*)ary);
3478  }
3479 
3480  static bool_t boolArray_getitem(bool_t *ary, size_t index) {
3481  return ary[index];
3482  }
3483  static void boolArray_setitem(bool_t *ary, size_t index, bool_t value) {
3484  ary[index] = value;
3485  }
3486 
3487 
3488  static int *new_intp() {
3489  return (int *)malloc(sizeof(int));
3490  }
3491 
3492  static int *copy_intp(int value) {
3493  return (int *)memcpy((int *)malloc(sizeof(int)),&value,sizeof(int));
3494  }
3495 
3496  static void delete_intp(int *obj) {
3497  if (obj) free((char*)obj);
3498  }
3499 
3500  static void intp_assign(int *obj, int value) {
3501  *obj = value;
3502  }
3503 
3504  static int intp_value(int *obj) {
3505  return *obj;
3506  }
3507 
3508 
3509  static uint_t *new_uintp() {
3510  return (uint_t *)malloc(sizeof(uint_t));
3511  }
3512 
3513  static uint_t *copy_uintp(uint_t value) {
3514  return (uint_t *)memcpy((uint_t *)malloc(sizeof(uint_t)),&value,sizeof(uint_t));
3515  }
3516 
3517  static void delete_uintp(uint_t *obj) {
3518  if (obj) free((char*)obj);
3519  }
3520 
3521  static void uintp_assign(uint_t *obj, uint_t value) {
3522  *obj = value;
3523  }
3524 
3525  static uint_t uintp_value(uint_t *obj) {
3526  return *obj;
3527  }
3528 
3529 #ifdef __cplusplus
3530 extern "C" {
3531 #endif
3532 SWIGINTERN PyObject *DYNA_OK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3533  PyObject *module;
3534  PyObject *d;
3535  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3536  d = PyModule_GetDict(module);
3537  if (!d) return NULL;
3538  SWIG_Python_SetConstant(d, "DYNA_OK",SWIG_From_int((int)(0)));
3539  return SWIG_Py_Void();
3540 }
3541 
3542 
3543 SWIGINTERN PyObject *DYNA_ECODE_GEN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3544  PyObject *module;
3545  PyObject *d;
3546  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3547  d = PyModule_GetDict(module);
3548  if (!d) return NULL;
3549  SWIG_Python_SetConstant(d, "DYNA_ECODE_GEN",SWIG_From_int((int)(1)));
3550  return SWIG_Py_Void();
3551 }
3552 
3553 
3554 SWIGINTERN PyObject *DYNA_ECODE_SYS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3555  PyObject *module;
3556  PyObject *d;
3557  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3558  d = PyModule_GetDict(module);
3559  if (!d) return NULL;
3560  SWIG_Python_SetConstant(d, "DYNA_ECODE_SYS",SWIG_From_int((int)(2)));
3561  return SWIG_Py_Void();
3562 }
3563 
3564 
3565 SWIGINTERN PyObject *DYNA_ECODE_INTERNAL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3566  PyObject *module;
3567  PyObject *d;
3568  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3569  d = PyModule_GetDict(module);
3570  if (!d) return NULL;
3571  SWIG_Python_SetConstant(d, "DYNA_ECODE_INTERNAL",SWIG_From_int((int)(3)));
3572  return SWIG_Py_Void();
3573 }
3574 
3575 
3576 SWIGINTERN PyObject *DYNA_ECODE_BADEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3577  PyObject *module;
3578  PyObject *d;
3579  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3580  d = PyModule_GetDict(module);
3581  if (!d) return NULL;
3582  SWIG_Python_SetConstant(d, "DYNA_ECODE_BADEC",SWIG_From_int((int)(4)));
3583  return SWIG_Py_Void();
3584 }
3585 
3586 
3587 SWIGINTERN PyObject *DYNA_ECODE_BAD_UNITS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3588  PyObject *module;
3589  PyObject *d;
3590  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3591  d = PyModule_GetDict(module);
3592  if (!d) return NULL;
3593  SWIG_Python_SetConstant(d, "DYNA_ECODE_BAD_UNITS",SWIG_From_int((int)(5)));
3594  return SWIG_Py_Void();
3595 }
3596 
3597 
3598 SWIGINTERN PyObject *DYNA_ECODE_BAD_VAL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3599  PyObject *module;
3600  PyObject *d;
3601  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3602  d = PyModule_GetDict(module);
3603  if (!d) return NULL;
3604  SWIG_Python_SetConstant(d, "DYNA_ECODE_BAD_VAL",SWIG_From_int((int)(6)));
3605  return SWIG_Py_Void();
3606 }
3607 
3608 
3609 SWIGINTERN PyObject *DYNA_ECODE_NO_SERVO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3610  PyObject *module;
3611  PyObject *d;
3612  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3613  d = PyModule_GetDict(module);
3614  if (!d) return NULL;
3615  SWIG_Python_SetConstant(d, "DYNA_ECODE_NO_SERVO",SWIG_From_int((int)(7)));
3616  return SWIG_Py_Void();
3617 }
3618 
3619 
3620 SWIGINTERN PyObject *DYNA_ECODE_BAD_DEV_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3621  PyObject *module;
3622  PyObject *d;
3623  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3624  d = PyModule_GetDict(module);
3625  if (!d) return NULL;
3626  SWIG_Python_SetConstant(d, "DYNA_ECODE_BAD_DEV",SWIG_From_int((int)(8)));
3627  return SWIG_Py_Void();
3628 }
3629 
3630 
3631 SWIGINTERN PyObject *DYNA_ECODE_BADF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3632  PyObject *module;
3633  PyObject *d;
3634  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3635  d = PyModule_GetDict(module);
3636  if (!d) return NULL;
3637  SWIG_Python_SetConstant(d, "DYNA_ECODE_BADF",SWIG_From_int((int)(9)));
3638  return SWIG_Py_Void();
3639 }
3640 
3641 
3642 SWIGINTERN PyObject *DYNA_ECODE_ECOMM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3643  PyObject *module;
3644  PyObject *d;
3645  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3646  d = PyModule_GetDict(module);
3647  if (!d) return NULL;
3648  SWIG_Python_SetConstant(d, "DYNA_ECODE_ECOMM",SWIG_From_int((int)(10)));
3649  return SWIG_Py_Void();
3650 }
3651 
3652 
3653 SWIGINTERN PyObject *DYNA_ECODE_TX_FAIL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3654  PyObject *module;
3655  PyObject *d;
3656  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3657  d = PyModule_GetDict(module);
3658  if (!d) return NULL;
3659  SWIG_Python_SetConstant(d, "DYNA_ECODE_TX_FAIL",SWIG_From_int((int)(11)));
3660  return SWIG_Py_Void();
3661 }
3662 
3663 
3664 SWIGINTERN PyObject *DYNA_ECODE_RX_FAIL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3665  PyObject *module;
3666  PyObject *d;
3667  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3668  d = PyModule_GetDict(module);
3669  if (!d) return NULL;
3670  SWIG_Python_SetConstant(d, "DYNA_ECODE_RX_FAIL",SWIG_From_int((int)(12)));
3671  return SWIG_Py_Void();
3672 }
3673 
3674 
3675 SWIGINTERN PyObject *DYNA_ECODE_TX_ERROR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3676  PyObject *module;
3677  PyObject *d;
3678  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3679  d = PyModule_GetDict(module);
3680  if (!d) return NULL;
3681  SWIG_Python_SetConstant(d, "DYNA_ECODE_TX_ERROR",SWIG_From_int((int)(13)));
3682  return SWIG_Py_Void();
3683 }
3684 
3685 
3686 SWIGINTERN PyObject *DYNA_ECODE_RX_TIMEOUT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3687  PyObject *module;
3688  PyObject *d;
3689  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3690  d = PyModule_GetDict(module);
3691  if (!d) return NULL;
3692  SWIG_Python_SetConstant(d, "DYNA_ECODE_RX_TIMEOUT",SWIG_From_int((int)(14)));
3693  return SWIG_Py_Void();
3694 }
3695 
3696 
3697 SWIGINTERN PyObject *DYNA_ECODE_RX_BAD_PKT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3698  PyObject *module;
3699  PyObject *d;
3700  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3701  d = PyModule_GetDict(module);
3702  if (!d) return NULL;
3703  SWIG_Python_SetConstant(d, "DYNA_ECODE_RX_BAD_PKT",SWIG_From_int((int)(15)));
3704  return SWIG_Py_Void();
3705 }
3706 
3707 
3708 SWIGINTERN PyObject *DYNA_ECODE_ESERVO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3709  PyObject *module;
3710  PyObject *d;
3711  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3712  d = PyModule_GetDict(module);
3713  if (!d) return NULL;
3714  SWIG_Python_SetConstant(d, "DYNA_ECODE_ESERVO",SWIG_From_int((int)(16)));
3715  return SWIG_Py_Void();
3716 }
3717 
3718 
3719 SWIGINTERN PyObject *DYNA_ECODE_RSRC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3720  PyObject *module;
3721  PyObject *d;
3722  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3723  d = PyModule_GetDict(module);
3724  if (!d) return NULL;
3725  SWIG_Python_SetConstant(d, "DYNA_ECODE_RSRC",SWIG_From_int((int)(17)));
3726  return SWIG_Py_Void();
3727 }
3728 
3729 
3730 SWIGINTERN PyObject *DYNA_ECODE_NOT_SUPP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3731  PyObject *module;
3732  PyObject *d;
3733  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3734  d = PyModule_GetDict(module);
3735  if (!d) return NULL;
3736  SWIG_Python_SetConstant(d, "DYNA_ECODE_NOT_SUPP",SWIG_From_int((int)(18)));
3737  return SWIG_Py_Void();
3738 }
3739 
3740 
3741 SWIGINTERN PyObject *DYNA_ECODE_LINKED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3742  PyObject *module;
3743  PyObject *d;
3744  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3745  d = PyModule_GetDict(module);
3746  if (!d) return NULL;
3747  SWIG_Python_SetConstant(d, "DYNA_ECODE_LINKED",SWIG_From_int((int)(19)));
3748  return SWIG_Py_Void();
3749 }
3750 
3751 
3752 SWIGINTERN PyObject *DYNA_ECODE_SLAVE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3753  PyObject *module;
3754  PyObject *d;
3755  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3756  d = PyModule_GetDict(module);
3757  if (!d) return NULL;
3758  SWIG_Python_SetConstant(d, "DYNA_ECODE_SLAVE",SWIG_From_int((int)(20)));
3759  return SWIG_Py_Void();
3760 }
3761 
3762 
3763 SWIGINTERN PyObject *DYNA_ECODE_BOTSENSE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764  PyObject *module;
3765  PyObject *d;
3766  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3767  d = PyModule_GetDict(module);
3768  if (!d) return NULL;
3769  SWIG_Python_SetConstant(d, "DYNA_ECODE_BOTSENSE",SWIG_From_int((int)(21)));
3770  return SWIG_Py_Void();
3771 }
3772 
3773 
3774 SWIGINTERN PyObject *DYNA_ECODE_PARSE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3775  PyObject *module;
3776  PyObject *d;
3777  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3778  d = PyModule_GetDict(module);
3779  if (!d) return NULL;
3780  SWIG_Python_SetConstant(d, "DYNA_ECODE_PARSE",SWIG_From_int((int)(22)));
3781  return SWIG_Py_Void();
3782 }
3783 
3784 
3785 SWIGINTERN PyObject *DYNA_ECODE_RUNTIME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3786  PyObject *module;
3787  PyObject *d;
3788  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3789  d = PyModule_GetDict(module);
3790  if (!d) return NULL;
3791  SWIG_Python_SetConstant(d, "DYNA_ECODE_RUNTIME",SWIG_From_int((int)(23)));
3792  return SWIG_Py_Void();
3793 }
3794 
3795 
3796 SWIGINTERN PyObject *DYNA_ECODE_NOEXEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3797  PyObject *module;
3798  PyObject *d;
3799  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3800  d = PyModule_GetDict(module);
3801  if (!d) return NULL;
3802  SWIG_Python_SetConstant(d, "DYNA_ECODE_NOEXEC",SWIG_From_int((int)(24)));
3803  return SWIG_Py_Void();
3804 }
3805 
3806 
3807 SWIGINTERN PyObject *DYNA_ECODE_NUMOF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3808  PyObject *module;
3809  PyObject *d;
3810  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3811  d = PyModule_GetDict(module);
3812  if (!d) return NULL;
3813  SWIG_Python_SetConstant(d, "DYNA_ECODE_NUMOF",SWIG_From_int((int)(25)));
3814  return SWIG_Py_Void();
3815 }
3816 
3817 
3818 SWIGINTERN PyObject *DYNA_MODEL_NUM_GENERIC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3819  PyObject *module;
3820  PyObject *d;
3821  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3822  d = PyModule_GetDict(module);
3823  if (!d) return NULL;
3824  SWIG_Python_SetConstant(d, "DYNA_MODEL_NUM_GENERIC",SWIG_From_int((int)(0x0000)));
3825  return SWIG_Py_Void();
3826 }
3827 
3828 
3829 SWIGINTERN PyObject *DYNA_FWVER_NA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3830  PyObject *module;
3831  PyObject *d;
3832  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3833  d = PyModule_GetDict(module);
3834  if (!d) return NULL;
3835  SWIG_Python_SetConstant(d, "DYNA_FWVER_NA",SWIG_From_int((int)(0x00)));
3836  return SWIG_Py_Void();
3837 }
3838 
3839 
3840 SWIGINTERN PyObject *DYNA_ID_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3841  PyObject *module;
3842  PyObject *d;
3843  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3844  d = PyModule_GetDict(module);
3845  if (!d) return NULL;
3846  SWIG_Python_SetConstant(d, "DYNA_ID_NONE",SWIG_From_int((int)(-1)));
3847  return SWIG_Py_Void();
3848 }
3849 
3850 
3851 SWIGINTERN PyObject *DYNA_ID_MIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852  PyObject *module;
3853  PyObject *d;
3854  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3855  d = PyModule_GetDict(module);
3856  if (!d) return NULL;
3857  SWIG_Python_SetConstant(d, "DYNA_ID_MIN",SWIG_From_int((int)(0)));
3858  return SWIG_Py_Void();
3859 }
3860 
3861 
3862 SWIGINTERN PyObject *DYNA_ID_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3863  PyObject *module;
3864  PyObject *d;
3865  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3866  d = PyModule_GetDict(module);
3867  if (!d) return NULL;
3868  SWIG_Python_SetConstant(d, "DYNA_ID_MAX",SWIG_From_int((int)(253)));
3869  return SWIG_Py_Void();
3870 }
3871 
3872 
3873 SWIGINTERN PyObject *DYNA_ID_NUMOF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3874  PyObject *module;
3875  PyObject *d;
3876  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3877  d = PyModule_GetDict(module);
3878  if (!d) return NULL;
3879  SWIG_Python_SetConstant(d, "DYNA_ID_NUMOF",SWIG_From_int((int)(254)));
3880  return SWIG_Py_Void();
3881 }
3882 
3883 
3884 SWIGINTERN PyObject *DYNA_ID_BROADCAST_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3885  PyObject *module;
3886  PyObject *d;
3887  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3888  d = PyModule_GetDict(module);
3889  if (!d) return NULL;
3890  SWIG_Python_SetConstant(d, "DYNA_ID_BROADCAST",SWIG_From_int((int)(254)));
3891  return SWIG_Py_Void();
3892 }
3893 
3894 
3895 SWIGINTERN PyObject *DYNA_ID_RESERVED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3896  PyObject *module;
3897  PyObject *d;
3898  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3899  d = PyModule_GetDict(module);
3900  if (!d) return NULL;
3901  SWIG_Python_SetConstant(d, "DYNA_ID_RESERVED",SWIG_From_int((int)(255)));
3902  return SWIG_Py_Void();
3903 }
3904 
3905 
3906 SWIGINTERN PyObject *DYNA_ID_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3907  PyObject *module;
3908  PyObject *d;
3909  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3910  d = PyModule_GetDict(module);
3911  if (!d) return NULL;
3912  SWIG_Python_SetConstant(d, "DYNA_ID_MASK",SWIG_From_int((int)(0xff)));
3913  return SWIG_Py_Void();
3914 }
3915 
3916 
3917 SWIGINTERN PyObject *DYNA_MODE_SERVO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3918  PyObject *module;
3919  PyObject *d;
3920  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3921  d = PyModule_GetDict(module);
3922  if (!d) return NULL;
3923  SWIG_Python_SetConstant(d, "DYNA_MODE_SERVO",SWIG_From_int((int)(0x01)));
3924  return SWIG_Py_Void();
3925 }
3926 
3927 
3928 SWIGINTERN PyObject *DYNA_MODE_CONTINUOUS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3929  PyObject *module;
3930  PyObject *d;
3931  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3932  d = PyModule_GetDict(module);
3933  if (!d) return NULL;
3934  SWIG_Python_SetConstant(d, "DYNA_MODE_CONTINUOUS",SWIG_From_int((int)(0x02)));
3935  return SWIG_Py_Void();
3936 }
3937 
3938 
3939 SWIGINTERN PyObject *DYNA_LINK_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3940  PyObject *module;
3941  PyObject *d;
3942  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3943  d = PyModule_GetDict(module);
3944  if (!d) return NULL;
3945  SWIG_Python_SetConstant(d, "DYNA_LINK_NONE",SWIG_From_int((int)(0)));
3946  return SWIG_Py_Void();
3947 }
3948 
3949 
3950 SWIGINTERN PyObject *DYNA_LINK_MASTER_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3951  PyObject *module;
3952  PyObject *d;
3953  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3954  d = PyModule_GetDict(module);
3955  if (!d) return NULL;
3956  SWIG_Python_SetConstant(d, "DYNA_LINK_MASTER",SWIG_From_int((int)(1)));
3957  return SWIG_Py_Void();
3958 }
3959 
3960 
3961 SWIGINTERN PyObject *DYNA_LINK_SLAVE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962  PyObject *module;
3963  PyObject *d;
3964  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3965  d = PyModule_GetDict(module);
3966  if (!d) return NULL;
3967  SWIG_Python_SetConstant(d, "DYNA_LINK_SLAVE",SWIG_From_int((int)(2)));
3968  return SWIG_Py_Void();
3969 }
3970 
3971 
3972 SWIGINTERN PyObject *DYNA_DIR_CW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973  PyObject *module;
3974  PyObject *d;
3975  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3976  d = PyModule_GetDict(module);
3977  if (!d) return NULL;
3978  SWIG_Python_SetConstant(d, "DYNA_DIR_CW",SWIG_From_int((int)((-1))));
3979  return SWIG_Py_Void();
3980 }
3981 
3982 
3983 SWIGINTERN PyObject *DYNA_DIR_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3984  PyObject *module;
3985  PyObject *d;
3986  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3987  d = PyModule_GetDict(module);
3988  if (!d) return NULL;
3989  SWIG_Python_SetConstant(d, "DYNA_DIR_NONE",SWIG_From_int((int)(0)));
3990  return SWIG_Py_Void();
3991 }
3992 
3993 
3994 SWIGINTERN PyObject *DYNA_DIR_CCW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3995  PyObject *module;
3996  PyObject *d;
3997  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
3998  d = PyModule_GetDict(module);
3999  if (!d) return NULL;
4000  SWIG_Python_SetConstant(d, "DYNA_DIR_CCW",SWIG_From_int((int)(1)));
4001  return SWIG_Py_Void();
4002 }
4003 
4004 
4005 SWIGINTERN PyObject *DYNA_CTL_METHOD_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4006  PyObject *module;
4007  PyObject *d;
4008  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4009  d = PyModule_GetDict(module);
4010  if (!d) return NULL;
4011  SWIG_Python_SetConstant(d, "DYNA_CTL_METHOD_NONE",SWIG_From_int((int)(0)));
4012  return SWIG_Py_Void();
4013 }
4014 
4015 
4016 SWIGINTERN PyObject *DYNA_CTL_METHOD_COMPLIANCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4017  PyObject *module;
4018  PyObject *d;
4019  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4020  d = PyModule_GetDict(module);
4021  if (!d) return NULL;
4022  SWIG_Python_SetConstant(d, "DYNA_CTL_METHOD_COMPLIANCE",SWIG_From_int((int)(1)));
4023  return SWIG_Py_Void();
4024 }
4025 
4026 
4027 SWIGINTERN PyObject *DYNA_CTL_METHOD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4028  PyObject *module;
4029  PyObject *d;
4030  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4031  d = PyModule_GetDict(module);
4032  if (!d) return NULL;
4033  SWIG_Python_SetConstant(d, "DYNA_CTL_METHOD_PID",SWIG_From_int((int)(2)));
4034  return SWIG_Py_Void();
4035 }
4036 
4037 
4038 SWIGINTERN PyObject *DYNA_POS_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039  PyObject *module;
4040  PyObject *d;
4041  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4042  d = PyModule_GetDict(module);
4043  if (!d) return NULL;
4044  SWIG_Python_SetConstant(d, "DYNA_POS_MASK",SWIG_From_int((int)(0x03ff)));
4045  return SWIG_Py_Void();
4046 }
4047 
4048 
4049 SWIGINTERN PyObject *DYNA_POS_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4050  PyObject *module;
4051  PyObject *d;
4052  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4053  d = PyModule_GetDict(module);
4054  if (!d) return NULL;
4055  SWIG_Python_SetConstant(d, "DYNA_POS_MIN_RAW",SWIG_From_int((int)(0)));
4056  return SWIG_Py_Void();
4057 }
4058 
4059 
4060 SWIGINTERN PyObject *DYNA_POS_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4061  PyObject *module;
4062  PyObject *d;
4063  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4064  d = PyModule_GetDict(module);
4065  if (!d) return NULL;
4066  SWIG_Python_SetConstant(d, "DYNA_POS_MAX_RAW",SWIG_From_int((int)(1023)));
4067  return SWIG_Py_Void();
4068 }
4069 
4070 
4071 SWIGINTERN PyObject *DYNA_POS_MODULO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4072  PyObject *module;
4073  PyObject *d;
4074  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4075  d = PyModule_GetDict(module);
4076  if (!d) return NULL;
4077  SWIG_Python_SetConstant(d, "DYNA_POS_MODULO",SWIG_From_int((int)((1023+1))));
4078  return SWIG_Py_Void();
4079 }
4080 
4081 
4082 SWIGINTERN PyObject *DYNA_POS_MIN_DEG_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4083  PyObject *module;
4084  PyObject *d;
4085  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4086  d = PyModule_GetDict(module);
4087  if (!d) return NULL;
4088  SWIG_Python_SetConstant(d, "DYNA_POS_MIN_DEG",SWIG_From_int((int)(0)));
4089  return SWIG_Py_Void();
4090 }
4091 
4092 
4093 SWIGINTERN PyObject *DYNA_POS_MAX_DEG_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4094  PyObject *module;
4095  PyObject *d;
4096  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4097  d = PyModule_GetDict(module);
4098  if (!d) return NULL;
4099  SWIG_Python_SetConstant(d, "DYNA_POS_MAX_DEG",SWIG_From_int((int)(300)));
4100  return SWIG_Py_Void();
4101 }
4102 
4103 
4104 SWIGINTERN PyObject *DYNA_SPEED_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4105  PyObject *module;
4106  PyObject *d;
4107  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4108  d = PyModule_GetDict(module);
4109  if (!d) return NULL;
4110  SWIG_Python_SetConstant(d, "DYNA_SPEED_MASK",SWIG_From_int((int)(0x03ff)));
4111  return SWIG_Py_Void();
4112 }
4113 
4114 
4115 SWIGINTERN PyObject *DYNA_SPEED_CONT_STOP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4116  PyObject *module;
4117  PyObject *d;
4118  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4119  d = PyModule_GetDict(module);
4120  if (!d) return NULL;
4121  SWIG_Python_SetConstant(d, "DYNA_SPEED_CONT_STOP",SWIG_From_int((int)(0)));
4122  return SWIG_Py_Void();
4123 }
4124 
4125 
4126 SWIGINTERN PyObject *DYNA_SPEED_MAX_NO_CTL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127  PyObject *module;
4128  PyObject *d;
4129  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4130  d = PyModule_GetDict(module);
4131  if (!d) return NULL;
4132  SWIG_Python_SetConstant(d, "DYNA_SPEED_MAX_NO_CTL",SWIG_From_int((int)(0)));
4133  return SWIG_Py_Void();
4134 }
4135 
4136 
4137 SWIGINTERN PyObject *DYNA_SPEED_MIN_CTL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4138  PyObject *module;
4139  PyObject *d;
4140  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4141  d = PyModule_GetDict(module);
4142  if (!d) return NULL;
4143  SWIG_Python_SetConstant(d, "DYNA_SPEED_MIN_CTL",SWIG_From_int((int)(1)));
4144  return SWIG_Py_Void();
4145 }
4146 
4147 
4148 SWIGINTERN PyObject *DYNA_SPEED_MAX_CTL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4149  PyObject *module;
4150  PyObject *d;
4151  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4152  d = PyModule_GetDict(module);
4153  if (!d) return NULL;
4154  SWIG_Python_SetConstant(d, "DYNA_SPEED_MAX_CTL",SWIG_From_int((int)(1023)));
4155  return SWIG_Py_Void();
4156 }
4157 
4158 
4159 SWIGINTERN PyObject *DYNA_SPEED_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4160  PyObject *module;
4161  PyObject *d;
4162  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4163  d = PyModule_GetDict(module);
4164  if (!d) return NULL;
4165  SWIG_Python_SetConstant(d, "DYNA_SPEED_MIN_RAW",SWIG_From_int((int)(0)));
4166  return SWIG_Py_Void();
4167 }
4168 
4169 
4170 SWIGINTERN PyObject *DYNA_SPEED_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4171  PyObject *module;
4172  PyObject *d;
4173  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4174  d = PyModule_GetDict(module);
4175  if (!d) return NULL;
4176  SWIG_Python_SetConstant(d, "DYNA_SPEED_MAX_RAW",SWIG_From_int((int)(1023)));
4177  return SWIG_Py_Void();
4178 }
4179 
4180 
4181 SWIGINTERN PyObject *DYNA_SPEED_RES_RPM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4182  PyObject *module;
4183  PyObject *d;
4184  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4185  d = PyModule_GetDict(module);
4186  if (!d) return NULL;
4187  SWIG_Python_SetConstant(d, "DYNA_SPEED_RES_RPM",SWIG_From_double((double)(0.111)));
4188  return SWIG_Py_Void();
4189 }
4190 
4191 
4192 SWIGINTERN PyObject *DYNA_SPEED_RES_PCT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4193  PyObject *module;
4194  PyObject *d;
4195  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4196  d = PyModule_GetDict(module);
4197  if (!d) return NULL;
4198  SWIG_Python_SetConstant(d, "DYNA_SPEED_RES_PCT",SWIG_From_double((double)((100.0/1023))));
4199  return SWIG_Py_Void();
4200 }
4201 
4202 
4203 SWIGINTERN PyObject *DYNA_SPEED_RES_PMIL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4204  PyObject *module;
4205  PyObject *d;
4206  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4207  d = PyModule_GetDict(module);
4208  if (!d) return NULL;
4209  SWIG_Python_SetConstant(d, "DYNA_SPEED_RES_PMIL",SWIG_From_double((double)((1000.0/1023))));
4210  return SWIG_Py_Void();
4211 }
4212 
4213 
4214 SWIGINTERN PyObject *DYNA_TORQUE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4215  PyObject *module;
4216  PyObject *d;
4217  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4218  d = PyModule_GetDict(module);
4219  if (!d) return NULL;
4220  SWIG_Python_SetConstant(d, "DYNA_TORQUE_MASK",SWIG_From_int((int)(0x03ff)));
4221  return SWIG_Py_Void();
4222 }
4223 
4224 
4225 SWIGINTERN PyObject *DYNA_TORQUE_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4226  PyObject *module;
4227  PyObject *d;
4228  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4229  d = PyModule_GetDict(module);
4230  if (!d) return NULL;
4231  SWIG_Python_SetConstant(d, "DYNA_TORQUE_MIN_RAW",SWIG_From_int((int)(0)));
4232  return SWIG_Py_Void();
4233 }
4234 
4235 
4236 SWIGINTERN PyObject *DYNA_TORQUE_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4237  PyObject *module;
4238  PyObject *d;
4239  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4240  d = PyModule_GetDict(module);
4241  if (!d) return NULL;
4242  SWIG_Python_SetConstant(d, "DYNA_TORQUE_MAX_RAW",SWIG_From_int((int)(1023)));
4243  return SWIG_Py_Void();
4244 }
4245 
4246 
4247 SWIGINTERN PyObject *DYNA_TORQUE_RES_PCT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4248  PyObject *module;
4249  PyObject *d;
4250  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4251  d = PyModule_GetDict(module);
4252  if (!d) return NULL;
4253  SWIG_Python_SetConstant(d, "DYNA_TORQUE_RES_PCT",SWIG_From_double((double)((100.0/1023))));
4254  return SWIG_Py_Void();
4255 }
4256 
4257 
4258 SWIGINTERN PyObject *DYNA_TORQUE_RES_PMIL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4259  PyObject *module;
4260  PyObject *d;
4261  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4262  d = PyModule_GetDict(module);
4263  if (!d) return NULL;
4264  SWIG_Python_SetConstant(d, "DYNA_TORQUE_RES_PMIL",SWIG_From_double((double)((1000.0/1023))));
4265  return SWIG_Py_Void();
4266 }
4267 
4268 
4269 SWIGINTERN PyObject *DYNA_TEMP_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4270  PyObject *module;
4271  PyObject *d;
4272  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4273  d = PyModule_GetDict(module);
4274  if (!d) return NULL;
4275  SWIG_Python_SetConstant(d, "DYNA_TEMP_MIN_RAW",SWIG_From_int((int)(10)));
4276  return SWIG_Py_Void();
4277 }
4278 
4279 
4280 SWIGINTERN PyObject *DYNA_TEMP_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4281  PyObject *module;
4282  PyObject *d;
4283  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4284  d = PyModule_GetDict(module);
4285  if (!d) return NULL;
4286  SWIG_Python_SetConstant(d, "DYNA_TEMP_MAX_RAW",SWIG_From_int((int)(99)));
4287  return SWIG_Py_Void();
4288 }
4289 
4290 
4291 SWIGINTERN PyObject *DYNA_TEMP_MIN_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4292  PyObject *module;
4293  PyObject *d;
4294  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4295  d = PyModule_GetDict(module);
4296  if (!d) return NULL;
4297  SWIG_Python_SetConstant(d, "DYNA_TEMP_MIN_C",SWIG_From_int((int)(10)));
4298  return SWIG_Py_Void();
4299 }
4300 
4301 
4302 SWIGINTERN PyObject *DYNA_TEMP_MAX_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4303  PyObject *module;
4304  PyObject *d;
4305  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4306  d = PyModule_GetDict(module);
4307  if (!d) return NULL;
4308  SWIG_Python_SetConstant(d, "DYNA_TEMP_MAX_C",SWIG_From_int((int)(99)));
4309  return SWIG_Py_Void();
4310 }
4311 
4312 
4313 SWIGINTERN PyObject *DYNA_TEMP_RES_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4314  PyObject *module;
4315  PyObject *d;
4316  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4317  d = PyModule_GetDict(module);
4318  if (!d) return NULL;
4319  SWIG_Python_SetConstant(d, "DYNA_TEMP_RES_C",SWIG_From_int((int)(1)));
4320  return SWIG_Py_Void();
4321 }
4322 
4323 
4324 SWIGINTERN PyObject *DYNA_VOLT_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4325  PyObject *module;
4326  PyObject *d;
4327  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4328  d = PyModule_GetDict(module);
4329  if (!d) return NULL;
4330  SWIG_Python_SetConstant(d, "DYNA_VOLT_MIN_RAW",SWIG_From_int((int)(50)));
4331  return SWIG_Py_Void();
4332 }
4333 
4334 
4335 SWIGINTERN PyObject *DYNA_VOLT_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4336  PyObject *module;
4337  PyObject *d;
4338  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4339  d = PyModule_GetDict(module);
4340  if (!d) return NULL;
4341  SWIG_Python_SetConstant(d, "DYNA_VOLT_MAX_RAW",SWIG_From_int((int)(250)));
4342  return SWIG_Py_Void();
4343 }
4344 
4345 
4346 SWIGINTERN PyObject *DYNA_VOLT_RES_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4347  PyObject *module;
4348  PyObject *d;
4349  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4350  d = PyModule_GetDict(module);
4351  if (!d) return NULL;
4352  SWIG_Python_SetConstant(d, "DYNA_VOLT_RES_V",SWIG_From_double((double)(0.1)));
4353  return SWIG_Py_Void();
4354 }
4355 
4356 
4357 SWIGINTERN PyObject *DYNA_EEPROM_MIN_ADDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4358  PyObject *module;
4359  PyObject *d;
4360  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4361  d = PyModule_GetDict(module);
4362  if (!d) return NULL;
4363  SWIG_Python_SetConstant(d, "DYNA_EEPROM_MIN_ADDR",SWIG_From_int((int)(0)));
4364  return SWIG_Py_Void();
4365 }
4366 
4367 
4368 SWIGINTERN PyObject *DYNA_EEPROM_MAX_ADDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4369  PyObject *module;
4370  PyObject *d;
4371  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4372  d = PyModule_GetDict(module);
4373  if (!d) return NULL;
4374  SWIG_Python_SetConstant(d, "DYNA_EEPROM_MAX_ADDR",SWIG_From_int((int)(18)));
4375  return SWIG_Py_Void();
4376 }
4377 
4378 
4379 SWIGINTERN PyObject *DYNA_RAM_MIN_ADDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4380  PyObject *module;
4381  PyObject *d;
4382  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4383  d = PyModule_GetDict(module);
4384  if (!d) return NULL;
4385  SWIG_Python_SetConstant(d, "DYNA_RAM_MIN_ADDR",SWIG_From_int((int)(24)));
4386  return SWIG_Py_Void();
4387 }
4388 
4389 
4390 SWIGINTERN PyObject *DYNA_RAM_MAX_ADDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4391  PyObject *module;
4392  PyObject *d;
4393  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4394  d = PyModule_GetDict(module);
4395  if (!d) return NULL;
4396  SWIG_Python_SetConstant(d, "DYNA_RAM_MAX_ADDR",SWIG_From_int((int)(49)));
4397  return SWIG_Py_Void();
4398 }
4399 
4400 
4401 SWIGINTERN PyObject *DYNA_MEM_MAX_SIZ_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4402  PyObject *module;
4403  PyObject *d;
4404  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4405  d = PyModule_GetDict(module);
4406  if (!d) return NULL;
4407  SWIG_Python_SetConstant(d, "DYNA_MEM_MAX_SIZ",SWIG_From_int((int)(50)));
4408  return SWIG_Py_Void();
4409 }
4410 
4411 
4412 SWIGINTERN PyObject *DYNA_ADDR_MODEL_NUM_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4413  PyObject *module;
4414  PyObject *d;
4415  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4416  d = PyModule_GetDict(module);
4417  if (!d) return NULL;
4418  SWIG_Python_SetConstant(d, "DYNA_ADDR_MODEL_NUM_LSB",SWIG_From_int((int)(0)));
4419  return SWIG_Py_Void();
4420 }
4421 
4422 
4423 SWIGINTERN PyObject *DYNA_ADDR_MODEL_NUM_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4424  PyObject *module;
4425  PyObject *d;
4426  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4427  d = PyModule_GetDict(module);
4428  if (!d) return NULL;
4429  SWIG_Python_SetConstant(d, "DYNA_ADDR_MODEL_NUM_MSB",SWIG_From_int((int)(1)));
4430  return SWIG_Py_Void();
4431 }
4432 
4433 
4434 SWIGINTERN PyObject *DYNA_ADDR_MODEL_NUM_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4435  PyObject *module;
4436  PyObject *d;
4437  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4438  d = PyModule_GetDict(module);
4439  if (!d) return NULL;
4440  SWIG_Python_SetConstant(d, "DYNA_ADDR_MODEL_NUM_MASK",SWIG_From_int((int)(0xffff)));
4441  return SWIG_Py_Void();
4442 }
4443 
4444 
4445 SWIGINTERN PyObject *DYNA_ADDR_FWVER_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4446  PyObject *module;
4447  PyObject *d;
4448  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4449  d = PyModule_GetDict(module);
4450  if (!d) return NULL;
4451  SWIG_Python_SetConstant(d, "DYNA_ADDR_FWVER",SWIG_From_int((int)(2)));
4452  return SWIG_Py_Void();
4453 }
4454 
4455 
4456 SWIGINTERN PyObject *DYNA_ADDR_FWVER_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4457  PyObject *module;
4458  PyObject *d;
4459  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4460  d = PyModule_GetDict(module);
4461  if (!d) return NULL;
4462  SWIG_Python_SetConstant(d, "DYNA_ADDR_FWVER_MASK",SWIG_From_int((int)(0xff)));
4463  return SWIG_Py_Void();
4464 }
4465 
4466 
4467 SWIGINTERN PyObject *DYNA_ADDR_ID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4468  PyObject *module;
4469  PyObject *d;
4470  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4471  d = PyModule_GetDict(module);
4472  if (!d) return NULL;
4473  SWIG_Python_SetConstant(d, "DYNA_ADDR_ID",SWIG_From_int((int)(3)));
4474  return SWIG_Py_Void();
4475 }
4476 
4477 
4478 SWIGINTERN PyObject *DYNA_ADDR_ID_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4479  PyObject *module;
4480  PyObject *d;
4481  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4482  d = PyModule_GetDict(module);
4483  if (!d) return NULL;
4484  SWIG_Python_SetConstant(d, "DYNA_ADDR_ID_MASK",SWIG_From_int((int)(0xff)));
4485  return SWIG_Py_Void();
4486 }
4487 
4488 
4489 SWIGINTERN PyObject *DYNA_ADDR_BAUD_RATE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4490  PyObject *module;
4491  PyObject *d;
4492  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4493  d = PyModule_GetDict(module);
4494  if (!d) return NULL;
4495  SWIG_Python_SetConstant(d, "DYNA_ADDR_BAUD_RATE",SWIG_From_int((int)(4)));
4496  return SWIG_Py_Void();
4497 }
4498 
4499 
4500 SWIGINTERN PyObject *DYNA_ADDR_BAUD_RATE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4501  PyObject *module;
4502  PyObject *d;
4503  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4504  d = PyModule_GetDict(module);
4505  if (!d) return NULL;
4506  SWIG_Python_SetConstant(d, "DYNA_ADDR_BAUD_RATE_MASK",SWIG_From_int((int)(0xff)));
4507  return SWIG_Py_Void();
4508 }
4509 
4510 
4511 SWIGINTERN PyObject *DYNA_BAUDNUM_1000000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4512  PyObject *module;
4513  PyObject *d;
4514  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4515  d = PyModule_GetDict(module);
4516  if (!d) return NULL;
4517  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_1000000",SWIG_From_int((int)(1)));
4518  return SWIG_Py_Void();
4519 }
4520 
4521 
4522 SWIGINTERN PyObject *DYNA_BAUDNUM_500000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4523  PyObject *module;
4524  PyObject *d;
4525  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4526  d = PyModule_GetDict(module);
4527  if (!d) return NULL;
4528  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_500000",SWIG_From_int((int)(3)));
4529  return SWIG_Py_Void();
4530 }
4531 
4532 
4533 SWIGINTERN PyObject *DYNA_BAUDNUM_400000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4534  PyObject *module;
4535  PyObject *d;
4536  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4537  d = PyModule_GetDict(module);
4538  if (!d) return NULL;
4539  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_400000",SWIG_From_int((int)(4)));
4540  return SWIG_Py_Void();
4541 }
4542 
4543 
4544 SWIGINTERN PyObject *DYNA_BAUDNUM_250000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4545  PyObject *module;
4546  PyObject *d;
4547  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4548  d = PyModule_GetDict(module);
4549  if (!d) return NULL;
4550  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_250000",SWIG_From_int((int)(7)));
4551  return SWIG_Py_Void();
4552 }
4553 
4554 
4555 SWIGINTERN PyObject *DYNA_BAUDNUM_200000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4556  PyObject *module;
4557  PyObject *d;
4558  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4559  d = PyModule_GetDict(module);
4560  if (!d) return NULL;
4561  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_200000",SWIG_From_int((int)(9)));
4562  return SWIG_Py_Void();
4563 }
4564 
4565 
4566 SWIGINTERN PyObject *DYNA_BAUDNUM_115200_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4567  PyObject *module;
4568  PyObject *d;
4569  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4570  d = PyModule_GetDict(module);
4571  if (!d) return NULL;
4572  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_115200",SWIG_From_int((int)(16)));
4573  return SWIG_Py_Void();
4574 }
4575 
4576 
4577 SWIGINTERN PyObject *DYNA_BAUDNUM_57600_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4578  PyObject *module;
4579  PyObject *d;
4580  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4581  d = PyModule_GetDict(module);
4582  if (!d) return NULL;
4583  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_57600",SWIG_From_int((int)(34)));
4584  return SWIG_Py_Void();
4585 }
4586 
4587 
4588 SWIGINTERN PyObject *DYNA_BAUDNUM_19200_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4589  PyObject *module;
4590  PyObject *d;
4591  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4592  d = PyModule_GetDict(module);
4593  if (!d) return NULL;
4594  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_19200",SWIG_From_int((int)(103)));
4595  return SWIG_Py_Void();
4596 }
4597 
4598 
4599 SWIGINTERN PyObject *DYNA_BAUDNUM_9600_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4600  PyObject *module;
4601  PyObject *d;
4602  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4603  d = PyModule_GetDict(module);
4604  if (!d) return NULL;
4605  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_9600",SWIG_From_int((int)(207)));
4606  return SWIG_Py_Void();
4607 }
4608 
4609 
4610 SWIGINTERN PyObject *DYNA_BAUDNUM_EXT_2250000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4611  PyObject *module;
4612  PyObject *d;
4613  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4614  d = PyModule_GetDict(module);
4615  if (!d) return NULL;
4616  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_EXT_2250000",SWIG_From_int((int)(250)));
4617  return SWIG_Py_Void();
4618 }
4619 
4620 
4621 SWIGINTERN PyObject *DYNA_BAUDNUM_EXT_2500000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622  PyObject *module;
4623  PyObject *d;
4624  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4625  d = PyModule_GetDict(module);
4626  if (!d) return NULL;
4627  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_EXT_2500000",SWIG_From_int((int)(251)));
4628  return SWIG_Py_Void();
4629 }
4630 
4631 
4632 SWIGINTERN PyObject *DYNA_BAUDNUM_EXT_3000000_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4633  PyObject *module;
4634  PyObject *d;
4635  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4636  d = PyModule_GetDict(module);
4637  if (!d) return NULL;
4638  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_EXT_3000000",SWIG_From_int((int)(252)));
4639  return SWIG_Py_Void();
4640 }
4641 
4642 
4643 SWIGINTERN PyObject *DYNA_BAUDNUM_NUMOF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4644  PyObject *module;
4645  PyObject *d;
4646  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4647  d = PyModule_GetDict(module);
4648  if (!d) return NULL;
4649  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_NUMOF",SWIG_From_int((int)(12)));
4650  return SWIG_Py_Void();
4651 }
4652 
4653 
4654 SWIGINTERN PyObject *DYNA_BAUDNUM_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4655  PyObject *module;
4656  PyObject *d;
4657  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4658  d = PyModule_GetDict(module);
4659  if (!d) return NULL;
4660  SWIG_Python_SetConstant(d, "DYNA_BAUDNUM_DFT",SWIG_From_int((int)(34)));
4661  return SWIG_Py_Void();
4662 }
4663 
4664 
4665 SWIGINTERN PyObject *DYNA_BAUDRATE_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4666  PyObject *module;
4667  PyObject *d;
4668  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4669  d = PyModule_GetDict(module);
4670  if (!d) return NULL;
4671  SWIG_Python_SetConstant(d, "DYNA_BAUDRATE_DFT",SWIG_From_int((int)(57600)));
4672  return SWIG_Py_Void();
4673 }
4674 
4675 
4676 SWIGINTERN PyObject *DYNA_ADDR_T_RET_DELAY_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4677  PyObject *module;
4678  PyObject *d;
4679  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4680  d = PyModule_GetDict(module);
4681  if (!d) return NULL;
4682  SWIG_Python_SetConstant(d, "DYNA_ADDR_T_RET_DELAY",SWIG_From_int((int)(5)));
4683  return SWIG_Py_Void();
4684 }
4685 
4686 
4687 SWIGINTERN PyObject *DYNA_ADDR_T_RET_DELAY_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4688  PyObject *module;
4689  PyObject *d;
4690  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4691  d = PyModule_GetDict(module);
4692  if (!d) return NULL;
4693  SWIG_Python_SetConstant(d, "DYNA_ADDR_T_RET_DELAY_MASK",SWIG_From_int((int)(0xff)));
4694  return SWIG_Py_Void();
4695 }
4696 
4697 
4698 SWIGINTERN PyObject *DYNA_T_RET_DELAY_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4699  PyObject *module;
4700  PyObject *d;
4701  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4702  d = PyModule_GetDict(module);
4703  if (!d) return NULL;
4704  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_MIN_RAW",SWIG_From_int((int)(0x00)));
4705  return SWIG_Py_Void();
4706 }
4707 
4708 
4709 SWIGINTERN PyObject *DYNA_T_RET_DELAY_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4710  PyObject *module;
4711  PyObject *d;
4712  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4713  d = PyModule_GetDict(module);
4714  if (!d) return NULL;
4715  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_MAX_RAW",SWIG_From_int((int)(0xff)));
4716  return SWIG_Py_Void();
4717 }
4718 
4719 
4720 SWIGINTERN PyObject *DYNA_T_RET_DELAY_DFT_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4721  PyObject *module;
4722  PyObject *d;
4723  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4724  d = PyModule_GetDict(module);
4725  if (!d) return NULL;
4726  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_DFT_RAW",SWIG_From_int((int)(0x00)));
4727  return SWIG_Py_Void();
4728 }
4729 
4730 
4731 SWIGINTERN PyObject *DYNA_T_RET_DELAY_RES_USEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732  PyObject *module;
4733  PyObject *d;
4734  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4735  d = PyModule_GetDict(module);
4736  if (!d) return NULL;
4737  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_RES_USEC",SWIG_From_int((int)(2)));
4738  return SWIG_Py_Void();
4739 }
4740 
4741 
4742 SWIGINTERN PyObject *DYNA_T_RET_DELAY_MIN_USEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743  PyObject *module;
4744  PyObject *d;
4745  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4746  d = PyModule_GetDict(module);
4747  if (!d) return NULL;
4748  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_MIN_USEC",SWIG_From_int((int)((0x00*2))));
4749  return SWIG_Py_Void();
4750 }
4751 
4752 
4753 SWIGINTERN PyObject *DYNA_T_RET_DELAY_MAX_USEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4754  PyObject *module;
4755  PyObject *d;
4756  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4757  d = PyModule_GetDict(module);
4758  if (!d) return NULL;
4759  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_MAX_USEC",SWIG_From_int((int)((0xff*2))));
4760  return SWIG_Py_Void();
4761 }
4762 
4763 
4764 SWIGINTERN PyObject *DYNA_T_RET_DELAY_DFT_USEC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4765  PyObject *module;
4766  PyObject *d;
4767  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4768  d = PyModule_GetDict(module);
4769  if (!d) return NULL;
4770  SWIG_Python_SetConstant(d, "DYNA_T_RET_DELAY_DFT_USEC",SWIG_From_int((int)((0x00*2))));
4771  return SWIG_Py_Void();
4772 }
4773 
4774 
4775 SWIGINTERN PyObject *DYNA_ADDR_LIM_CW_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4776  PyObject *module;
4777  PyObject *d;
4778  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4779  d = PyModule_GetDict(module);
4780  if (!d) return NULL;
4781  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CW_LSB",SWIG_From_int((int)(6)));
4782  return SWIG_Py_Void();
4783 }
4784 
4785 
4786 SWIGINTERN PyObject *DYNA_ADDR_LIM_CW_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4787  PyObject *module;
4788  PyObject *d;
4789  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4790  d = PyModule_GetDict(module);
4791  if (!d) return NULL;
4792  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CW_MSB",SWIG_From_int((int)(7)));
4793  return SWIG_Py_Void();
4794 }
4795 
4796 
4797 SWIGINTERN PyObject *DYNA_ADDR_LIM_CW_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4798  PyObject *module;
4799  PyObject *d;
4800  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4801  d = PyModule_GetDict(module);
4802  if (!d) return NULL;
4803  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CW_MASK",SWIG_From_int((int)(0x03ff)));
4804  return SWIG_Py_Void();
4805 }
4806 
4807 
4808 SWIGINTERN PyObject *DYNA_CW_POS_CONT_MODE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4809  PyObject *module;
4810  PyObject *d;
4811  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4812  d = PyModule_GetDict(module);
4813  if (!d) return NULL;
4814  SWIG_Python_SetConstant(d, "DYNA_CW_POS_CONT_MODE",SWIG_From_int((int)(0)));
4815  return SWIG_Py_Void();
4816 }
4817 
4818 
4819 SWIGINTERN PyObject *DYNA_ADDR_LIM_CCW_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4820  PyObject *module;
4821  PyObject *d;
4822  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4823  d = PyModule_GetDict(module);
4824  if (!d) return NULL;
4825  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CCW_LSB",SWIG_From_int((int)(8)));
4826  return SWIG_Py_Void();
4827 }
4828 
4829 
4830 SWIGINTERN PyObject *DYNA_ADDR_LIM_CCW_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4831  PyObject *module;
4832  PyObject *d;
4833  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4834  d = PyModule_GetDict(module);
4835  if (!d) return NULL;
4836  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CCW_MSB",SWIG_From_int((int)(9)));
4837  return SWIG_Py_Void();
4838 }
4839 
4840 
4841 SWIGINTERN PyObject *DYNA_ADDR_LIM_CCW_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4842  PyObject *module;
4843  PyObject *d;
4844  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4845  d = PyModule_GetDict(module);
4846  if (!d) return NULL;
4847  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_CCW_MASK",SWIG_From_int((int)(0x03ff)));
4848  return SWIG_Py_Void();
4849 }
4850 
4851 
4852 SWIGINTERN PyObject *DYNA_CCW_POS_CONT_MODE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4853  PyObject *module;
4854  PyObject *d;
4855  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4856  d = PyModule_GetDict(module);
4857  if (!d) return NULL;
4858  SWIG_Python_SetConstant(d, "DYNA_CCW_POS_CONT_MODE",SWIG_From_int((int)(0)));
4859  return SWIG_Py_Void();
4860 }
4861 
4862 
4863 SWIGINTERN PyObject *DYNA_ADDR_RESERVED_1_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4864  PyObject *module;
4865  PyObject *d;
4866  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4867  d = PyModule_GetDict(module);
4868  if (!d) return NULL;
4869  SWIG_Python_SetConstant(d, "DYNA_ADDR_RESERVED_1",SWIG_From_int((int)(10)));
4870  return SWIG_Py_Void();
4871 }
4872 
4873 
4874 SWIGINTERN PyObject *DYNA_ADDR_LIM_TEMP_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4875  PyObject *module;
4876  PyObject *d;
4877  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4878  d = PyModule_GetDict(module);
4879  if (!d) return NULL;
4880  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TEMP_MAX",SWIG_From_int((int)(11)));
4881  return SWIG_Py_Void();
4882 }
4883 
4884 
4885 SWIGINTERN PyObject *DYNA_ADDR_LIM_TEMP_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4886  PyObject *module;
4887  PyObject *d;
4888  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4889  d = PyModule_GetDict(module);
4890  if (!d) return NULL;
4891  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TEMP_MASK",SWIG_From_int((int)(0x3f)));
4892  return SWIG_Py_Void();
4893 }
4894 
4895 
4896 SWIGINTERN PyObject *DYNA_LIM_TEMP_MIN_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4897  PyObject *module;
4898  PyObject *d;
4899  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4900  d = PyModule_GetDict(module);
4901  if (!d) return NULL;
4902  SWIG_Python_SetConstant(d, "DYNA_LIM_TEMP_MIN_C",SWIG_From_int((int)(10)));
4903  return SWIG_Py_Void();
4904 }
4905 
4906 
4907 SWIGINTERN PyObject *DYNA_LIM_TEMP_MAX_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4908  PyObject *module;
4909  PyObject *d;
4910  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4911  d = PyModule_GetDict(module);
4912  if (!d) return NULL;
4913  SWIG_Python_SetConstant(d, "DYNA_LIM_TEMP_MAX_C",SWIG_From_int((int)(99)));
4914  return SWIG_Py_Void();
4915 }
4916 
4917 
4918 SWIGINTERN PyObject *DYNA_LIM_TEMP_DFT_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4919  PyObject *module;
4920  PyObject *d;
4921  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4922  d = PyModule_GetDict(module);
4923  if (!d) return NULL;
4924  SWIG_Python_SetConstant(d, "DYNA_LIM_TEMP_DFT_C",SWIG_From_int((int)(80)));
4925  return SWIG_Py_Void();
4926 }
4927 
4928 
4929 SWIGINTERN PyObject *DYNA_LIM_TEMP_RES_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4930  PyObject *module;
4931  PyObject *d;
4932  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4933  d = PyModule_GetDict(module);
4934  if (!d) return NULL;
4935  SWIG_Python_SetConstant(d, "DYNA_LIM_TEMP_RES_C",SWIG_From_int((int)(1)));
4936  return SWIG_Py_Void();
4937 }
4938 
4939 
4940 SWIGINTERN PyObject *DYNA_ADDR_LIM_VOLT_MIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4941  PyObject *module;
4942  PyObject *d;
4943  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4944  d = PyModule_GetDict(module);
4945  if (!d) return NULL;
4946  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_VOLT_MIN",SWIG_From_int((int)(12)));
4947  return SWIG_Py_Void();
4948 }
4949 
4950 
4951 SWIGINTERN PyObject *DYNA_ADDR_LIM_VOLT_MIN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4952  PyObject *module;
4953  PyObject *d;
4954  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4955  d = PyModule_GetDict(module);
4956  if (!d) return NULL;
4957  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_VOLT_MIN_MASK",SWIG_From_int((int)(0xff)));
4958  return SWIG_Py_Void();
4959 }
4960 
4961 
4962 SWIGINTERN PyObject *DYNA_LIM_VOLT_MIN_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4963  PyObject *module;
4964  PyObject *d;
4965  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4966  d = PyModule_GetDict(module);
4967  if (!d) return NULL;
4968  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MIN_MIN_RAW",SWIG_From_int((int)(50)));
4969  return SWIG_Py_Void();
4970 }
4971 
4972 
4973 SWIGINTERN PyObject *DYNA_LIM_VOLT_MIN_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4974  PyObject *module;
4975  PyObject *d;
4976  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4977  d = PyModule_GetDict(module);
4978  if (!d) return NULL;
4979  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MIN_MAX_RAW",SWIG_From_int((int)(250)));
4980  return SWIG_Py_Void();
4981 }
4982 
4983 
4984 SWIGINTERN PyObject *DYNA_LIM_VOLT_MIN_DFT_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4985  PyObject *module;
4986  PyObject *d;
4987  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4988  d = PyModule_GetDict(module);
4989  if (!d) return NULL;
4990  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MIN_DFT_RAW",SWIG_From_int((int)(60)));
4991  return SWIG_Py_Void();
4992 }
4993 
4994 
4995 SWIGINTERN PyObject *DYNA_LIM_VOLT_MIN_RES_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996  PyObject *module;
4997  PyObject *d;
4998  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
4999  d = PyModule_GetDict(module);
5000  if (!d) return NULL;
5001  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MIN_RES_V",SWIG_From_double((double)(0.1)));
5002  return SWIG_Py_Void();
5003 }
5004 
5005 
5006 SWIGINTERN PyObject *DYNA_LIM_VOLT_MIN_MIN_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5007  PyObject *module;
5008  PyObject *d;
5009  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5010  d = PyModule_GetDict(module);
5011  if (!d) return NULL;
5012  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MIN_MIN_V",SWIG_From_double((double)((50*0.1))));
5013  return SWIG_Py_Void();
5014 }
5015 
5016 
5017 SWIGINTERN PyObject *DYNA_ADDR_LIM_VOLT_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5018  PyObject *module;
5019  PyObject *d;
5020  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5021  d = PyModule_GetDict(module);
5022  if (!d) return NULL;
5023  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_VOLT_MAX",SWIG_From_int((int)(13)));
5024  return SWIG_Py_Void();
5025 }
5026 
5027 
5028 SWIGINTERN PyObject *DYNA_ADDR_LIM_VOLT_MAX_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5029  PyObject *module;
5030  PyObject *d;
5031  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5032  d = PyModule_GetDict(module);
5033  if (!d) return NULL;
5034  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_VOLT_MAX_MASK",SWIG_From_int((int)(0xff)));
5035  return SWIG_Py_Void();
5036 }
5037 
5038 
5039 SWIGINTERN PyObject *DYNA_LIM_VOLT_MAX_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5040  PyObject *module;
5041  PyObject *d;
5042  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5043  d = PyModule_GetDict(module);
5044  if (!d) return NULL;
5045  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MAX_MIN_RAW",SWIG_From_int((int)(50)));
5046  return SWIG_Py_Void();
5047 }
5048 
5049 
5050 SWIGINTERN PyObject *DYNA_LIM_VOLT_MAX_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5051  PyObject *module;
5052  PyObject *d;
5053  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5054  d = PyModule_GetDict(module);
5055  if (!d) return NULL;
5056  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MAX_MAX_RAW",SWIG_From_int((int)(250)));
5057  return SWIG_Py_Void();
5058 }
5059 
5060 
5061 SWIGINTERN PyObject *DYNA_LIM_VOLT_MAX_DFT_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5062  PyObject *module;
5063  PyObject *d;
5064  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5065  d = PyModule_GetDict(module);
5066  if (!d) return NULL;
5067  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MAX_DFT_RAW",SWIG_From_int((int)(190)));
5068  return SWIG_Py_Void();
5069 }
5070 
5071 
5072 SWIGINTERN PyObject *DYNA_LIM_VOLT_MAX_RES_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5073  PyObject *module;
5074  PyObject *d;
5075  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5076  d = PyModule_GetDict(module);
5077  if (!d) return NULL;
5078  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MAX_RES_V",SWIG_From_double((double)(0.1)));
5079  return SWIG_Py_Void();
5080 }
5081 
5082 
5083 SWIGINTERN PyObject *DYNA_LIM_VOLT_MAX_MIN_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5084  PyObject *module;
5085  PyObject *d;
5086  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5087  d = PyModule_GetDict(module);
5088  if (!d) return NULL;
5089  SWIG_Python_SetConstant(d, "DYNA_LIM_VOLT_MAX_MIN_V",SWIG_From_double((double)((50*0.1))));
5090  return SWIG_Py_Void();
5091 }
5092 
5093 
5094 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_ON_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5095  PyObject *module;
5096  PyObject *d;
5097  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5098  d = PyModule_GetDict(module);
5099  if (!d) return NULL;
5100  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_ON_LSB",SWIG_From_int((int)(14)));
5101  return SWIG_Py_Void();
5102 }
5103 
5104 
5105 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_ON_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5106  PyObject *module;
5107  PyObject *d;
5108  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5109  d = PyModule_GetDict(module);
5110  if (!d) return NULL;
5111  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_ON_MSB",SWIG_From_int((int)(15)));
5112  return SWIG_Py_Void();
5113 }
5114 
5115 
5116 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_ON_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5117  PyObject *module;
5118  PyObject *d;
5119  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5120  d = PyModule_GetDict(module);
5121  if (!d) return NULL;
5122  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_ON_MASK",SWIG_From_int((int)(0x03ff)));
5123  return SWIG_Py_Void();
5124 }
5125 
5126 
5127 SWIGINTERN PyObject *DYNA_LIM_TORQUE_MAX_ON_DFT_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5128  PyObject *module;
5129  PyObject *d;
5130  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5131  d = PyModule_GetDict(module);
5132  if (!d) return NULL;
5133  SWIG_Python_SetConstant(d, "DYNA_LIM_TORQUE_MAX_ON_DFT_RAW",SWIG_From_int((int)(1023)));
5134  return SWIG_Py_Void();
5135 }
5136 
5137 
5138 SWIGINTERN PyObject *DYNA_ADDR_SRL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5139  PyObject *module;
5140  PyObject *d;
5141  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5142  d = PyModule_GetDict(module);
5143  if (!d) return NULL;
5144  SWIG_Python_SetConstant(d, "DYNA_ADDR_SRL",SWIG_From_int((int)(16)));
5145  return SWIG_Py_Void();
5146 }
5147 
5148 
5149 SWIGINTERN PyObject *DYNA_ADDR_SRL_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5150  PyObject *module;
5151  PyObject *d;
5152  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5153  d = PyModule_GetDict(module);
5154  if (!d) return NULL;
5155  SWIG_Python_SetConstant(d, "DYNA_ADDR_SRL_MASK",SWIG_From_int((int)(0xff)));
5156  return SWIG_Py_Void();
5157 }
5158 
5159 
5160 SWIGINTERN PyObject *DYNA_SRL_RET_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5161  PyObject *module;
5162  PyObject *d;
5163  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5164  d = PyModule_GetDict(module);
5165  if (!d) return NULL;
5166  SWIG_Python_SetConstant(d, "DYNA_SRL_RET_NONE",SWIG_From_int((int)(0)));
5167  return SWIG_Py_Void();
5168 }
5169 
5170 
5171 SWIGINTERN PyObject *DYNA_SRL_RET_READ_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5172  PyObject *module;
5173  PyObject *d;
5174  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5175  d = PyModule_GetDict(module);
5176  if (!d) return NULL;
5177  SWIG_Python_SetConstant(d, "DYNA_SRL_RET_READ",SWIG_From_int((int)(1)));
5178  return SWIG_Py_Void();
5179 }
5180 
5181 
5182 SWIGINTERN PyObject *DYNA_SRL_RET_ALL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5183  PyObject *module;
5184  PyObject *d;
5185  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5186  d = PyModule_GetDict(module);
5187  if (!d) return NULL;
5188  SWIG_Python_SetConstant(d, "DYNA_SRL_RET_ALL",SWIG_From_int((int)(2)));
5189  return SWIG_Py_Void();
5190 }
5191 
5192 
5193 SWIGINTERN PyObject *DYNA_SRL_RET_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5194  PyObject *module;
5195  PyObject *d;
5196  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5197  d = PyModule_GetDict(module);
5198  if (!d) return NULL;
5199  SWIG_Python_SetConstant(d, "DYNA_SRL_RET_DFT",SWIG_From_int((int)(2)));
5200  return SWIG_Py_Void();
5201 }
5202 
5203 
5204 SWIGINTERN PyObject *DYNA_ADDR_ALARM_LED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5205  PyObject *module;
5206  PyObject *d;
5207  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5208  d = PyModule_GetDict(module);
5209  if (!d) return NULL;
5210  SWIG_Python_SetConstant(d, "DYNA_ADDR_ALARM_LED",SWIG_From_int((int)(17)));
5211  return SWIG_Py_Void();
5212 }
5213 
5214 
5215 SWIGINTERN PyObject *DYNA_ADDR_ALARM_LED_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5216  PyObject *module;
5217  PyObject *d;
5218  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5219  d = PyModule_GetDict(module);
5220  if (!d) return NULL;
5221  SWIG_Python_SetConstant(d, "DYNA_ADDR_ALARM_LED_MASK",SWIG_From_int((int)(0xff)));
5222  return SWIG_Py_Void();
5223 }
5224 
5225 
5226 SWIGINTERN PyObject *DYNA_ADDR_ALARM_SHUTDOWN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5227  PyObject *module;
5228  PyObject *d;
5229  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5230  d = PyModule_GetDict(module);
5231  if (!d) return NULL;
5232  SWIG_Python_SetConstant(d, "DYNA_ADDR_ALARM_SHUTDOWN",SWIG_From_int((int)(18)));
5233  return SWIG_Py_Void();
5234 }
5235 
5236 
5237 SWIGINTERN PyObject *DYNA_ADDR_ALARM_SHUTDOWN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5238  PyObject *module;
5239  PyObject *d;
5240  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5241  d = PyModule_GetDict(module);
5242  if (!d) return NULL;
5243  SWIG_Python_SetConstant(d, "DYNA_ADDR_ALARM_SHUTDOWN_MASK",SWIG_From_int((int)(0xff)));
5244  return SWIG_Py_Void();
5245 }
5246 
5247 
5248 SWIGINTERN PyObject *DYNA_ALARM_NONE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5249  PyObject *module;
5250  PyObject *d;
5251  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5252  d = PyModule_GetDict(module);
5253  if (!d) return NULL;
5254  SWIG_Python_SetConstant(d, "DYNA_ALARM_NONE",SWIG_From_int((int)(0x00)));
5255  return SWIG_Py_Void();
5256 }
5257 
5258 
5259 SWIGINTERN PyObject *DYNA_ALARM_VOLTAGE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5260  PyObject *module;
5261  PyObject *d;
5262  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5263  d = PyModule_GetDict(module);
5264  if (!d) return NULL;
5265  SWIG_Python_SetConstant(d, "DYNA_ALARM_VOLTAGE",SWIG_From_int((int)(0x01)));
5266  return SWIG_Py_Void();
5267 }
5268 
5269 
5270 SWIGINTERN PyObject *DYNA_ALARM_ANGLE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271  PyObject *module;
5272  PyObject *d;
5273  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5274  d = PyModule_GetDict(module);
5275  if (!d) return NULL;
5276  SWIG_Python_SetConstant(d, "DYNA_ALARM_ANGLE",SWIG_From_int((int)(0x02)));
5277  return SWIG_Py_Void();
5278 }
5279 
5280 
5281 SWIGINTERN PyObject *DYNA_ALARM_TEMP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5282  PyObject *module;
5283  PyObject *d;
5284  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5285  d = PyModule_GetDict(module);
5286  if (!d) return NULL;
5287  SWIG_Python_SetConstant(d, "DYNA_ALARM_TEMP",SWIG_From_int((int)(0x04)));
5288  return SWIG_Py_Void();
5289 }
5290 
5291 
5292 SWIGINTERN PyObject *DYNA_ALARM_CMD_RANGE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5293  PyObject *module;
5294  PyObject *d;
5295  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5296  d = PyModule_GetDict(module);
5297  if (!d) return NULL;
5298  SWIG_Python_SetConstant(d, "DYNA_ALARM_CMD_RANGE",SWIG_From_int((int)(0x08)));
5299  return SWIG_Py_Void();
5300 }
5301 
5302 
5303 SWIGINTERN PyObject *DYNA_ALARM_CHECKSUM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5304  PyObject *module;
5305  PyObject *d;
5306  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5307  d = PyModule_GetDict(module);
5308  if (!d) return NULL;
5309  SWIG_Python_SetConstant(d, "DYNA_ALARM_CHECKSUM",SWIG_From_int((int)(0x10)));
5310  return SWIG_Py_Void();
5311 }
5312 
5313 
5314 SWIGINTERN PyObject *DYNA_ALARM_LOAD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5315  PyObject *module;
5316  PyObject *d;
5317  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5318  d = PyModule_GetDict(module);
5319  if (!d) return NULL;
5320  SWIG_Python_SetConstant(d, "DYNA_ALARM_LOAD",SWIG_From_int((int)(0x20)));
5321  return SWIG_Py_Void();
5322 }
5323 
5324 
5325 SWIGINTERN PyObject *DYNA_ALARM_INSTRUCTION_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5326  PyObject *module;
5327  PyObject *d;
5328  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5329  d = PyModule_GetDict(module);
5330  if (!d) return NULL;
5331  SWIG_Python_SetConstant(d, "DYNA_ALARM_INSTRUCTION",SWIG_From_int((int)(0x40)));
5332  return SWIG_Py_Void();
5333 }
5334 
5335 
5336 SWIGINTERN PyObject *DYNA_ALARM_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337  PyObject *module;
5338  PyObject *d;
5339  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5340  d = PyModule_GetDict(module);
5341  if (!d) return NULL;
5342  SWIG_Python_SetConstant(d, "DYNA_ALARM_DFT",SWIG_From_int((int)((0x20|0x04))));
5343  return SWIG_Py_Void();
5344 }
5345 
5346 
5347 SWIGINTERN PyObject *DYNA_ADDR_TORQUE_EN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5348  PyObject *module;
5349  PyObject *d;
5350  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5351  d = PyModule_GetDict(module);
5352  if (!d) return NULL;
5353  SWIG_Python_SetConstant(d, "DYNA_ADDR_TORQUE_EN",SWIG_From_int((int)(24)));
5354  return SWIG_Py_Void();
5355 }
5356 
5357 
5358 SWIGINTERN PyObject *DYNA_ADDR_TORQUE_EN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5359  PyObject *module;
5360  PyObject *d;
5361  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5362  d = PyModule_GetDict(module);
5363  if (!d) return NULL;
5364  SWIG_Python_SetConstant(d, "DYNA_ADDR_TORQUE_EN_MASK",SWIG_From_int((int)(0xff)));
5365  return SWIG_Py_Void();
5366 }
5367 
5368 
5369 SWIGINTERN PyObject *DYNA_TORQUE_EN_OFF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5370  PyObject *module;
5371  PyObject *d;
5372  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5373  d = PyModule_GetDict(module);
5374  if (!d) return NULL;
5375  SWIG_Python_SetConstant(d, "DYNA_TORQUE_EN_OFF",SWIG_From_int((int)(0)));
5376  return SWIG_Py_Void();
5377 }
5378 
5379 
5380 SWIGINTERN PyObject *DYNA_TORQUE_EN_ON_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5381  PyObject *module;
5382  PyObject *d;
5383  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5384  d = PyModule_GetDict(module);
5385  if (!d) return NULL;
5386  SWIG_Python_SetConstant(d, "DYNA_TORQUE_EN_ON",SWIG_From_int((int)(1)));
5387  return SWIG_Py_Void();
5388 }
5389 
5390 
5391 SWIGINTERN PyObject *DYNA_TORQUE_EN_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5392  PyObject *module;
5393  PyObject *d;
5394  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5395  d = PyModule_GetDict(module);
5396  if (!d) return NULL;
5397  SWIG_Python_SetConstant(d, "DYNA_TORQUE_EN_DFT",SWIG_From_int((int)(0)));
5398  return SWIG_Py_Void();
5399 }
5400 
5401 
5402 SWIGINTERN PyObject *DYNA_ADDR_LED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5403  PyObject *module;
5404  PyObject *d;
5405  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5406  d = PyModule_GetDict(module);
5407  if (!d) return NULL;
5408  SWIG_Python_SetConstant(d, "DYNA_ADDR_LED",SWIG_From_int((int)(25)));
5409  return SWIG_Py_Void();
5410 }
5411 
5412 
5413 SWIGINTERN PyObject *DYNA_ADDR_LED_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5414  PyObject *module;
5415  PyObject *d;
5416  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5417  d = PyModule_GetDict(module);
5418  if (!d) return NULL;
5419  SWIG_Python_SetConstant(d, "DYNA_ADDR_LED_MASK",SWIG_From_int((int)(0xff)));
5420  return SWIG_Py_Void();
5421 }
5422 
5423 
5424 SWIGINTERN PyObject *DYNA_LED_OFF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5425  PyObject *module;
5426  PyObject *d;
5427  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5428  d = PyModule_GetDict(module);
5429  if (!d) return NULL;
5430  SWIG_Python_SetConstant(d, "DYNA_LED_OFF",SWIG_From_int((int)(0)));
5431  return SWIG_Py_Void();
5432 }
5433 
5434 
5435 SWIGINTERN PyObject *DYNA_LED_ON_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5436  PyObject *module;
5437  PyObject *d;
5438  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5439  d = PyModule_GetDict(module);
5440  if (!d) return NULL;
5441  SWIG_Python_SetConstant(d, "DYNA_LED_ON",SWIG_From_int((int)(1)));
5442  return SWIG_Py_Void();
5443 }
5444 
5445 
5446 SWIGINTERN PyObject *DYNA_ADDR_CW_COMP_MARGIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5447  PyObject *module;
5448  PyObject *d;
5449  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5450  d = PyModule_GetDict(module);
5451  if (!d) return NULL;
5452  SWIG_Python_SetConstant(d, "DYNA_ADDR_CW_COMP_MARGIN",SWIG_From_int((int)(26)));
5453  return SWIG_Py_Void();
5454 }
5455 
5456 
5457 SWIGINTERN PyObject *DYNA_ADDR_CW_COMP_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458  PyObject *module;
5459  PyObject *d;
5460  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5461  d = PyModule_GetDict(module);
5462  if (!d) return NULL;
5463  SWIG_Python_SetConstant(d, "DYNA_ADDR_CW_COMP_MASK",SWIG_From_int((int)(0xff)));
5464  return SWIG_Py_Void();
5465 }
5466 
5467 
5468 SWIGINTERN PyObject *DYNA_COMP_MARGIN_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469  PyObject *module;
5470  PyObject *d;
5471  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5472  d = PyModule_GetDict(module);
5473  if (!d) return NULL;
5474  SWIG_Python_SetConstant(d, "DYNA_COMP_MARGIN_MIN_RAW",SWIG_From_int((int)(0)));
5475  return SWIG_Py_Void();
5476 }
5477 
5478 
5479 SWIGINTERN PyObject *DYNA_COMP_MARGIN_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5480  PyObject *module;
5481  PyObject *d;
5482  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5483  d = PyModule_GetDict(module);
5484  if (!d) return NULL;
5485  SWIG_Python_SetConstant(d, "DYNA_COMP_MARGIN_MAX_RAW",SWIG_From_int((int)(255)));
5486  return SWIG_Py_Void();
5487 }
5488 
5489 
5490 SWIGINTERN PyObject *DYNA_COMP_MARGIN_DFT_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5491  PyObject *module;
5492  PyObject *d;
5493  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5494  d = PyModule_GetDict(module);
5495  if (!d) return NULL;
5496  SWIG_Python_SetConstant(d, "DYNA_COMP_MARGIN_DFT_RAW",SWIG_From_int((int)(1)));
5497  return SWIG_Py_Void();
5498 }
5499 
5500 
5501 SWIGINTERN PyObject *DYNA_ADDR_CCW_COMP_MARGIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5502  PyObject *module;
5503  PyObject *d;
5504  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5505  d = PyModule_GetDict(module);
5506  if (!d) return NULL;
5507  SWIG_Python_SetConstant(d, "DYNA_ADDR_CCW_COMP_MARGIN",SWIG_From_int((int)(27)));
5508  return SWIG_Py_Void();
5509 }
5510 
5511 
5512 SWIGINTERN PyObject *DYNA_ADDR_CCW_COMP_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5513  PyObject *module;
5514  PyObject *d;
5515  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5516  d = PyModule_GetDict(module);
5517  if (!d) return NULL;
5518  SWIG_Python_SetConstant(d, "DYNA_ADDR_CCW_COMP_MASK",SWIG_From_int((int)(0xff)));
5519  return SWIG_Py_Void();
5520 }
5521 
5522 
5523 SWIGINTERN PyObject *DYNA_ADDR_CW_COMP_SLOPE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5524  PyObject *module;
5525  PyObject *d;
5526  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5527  d = PyModule_GetDict(module);
5528  if (!d) return NULL;
5529  SWIG_Python_SetConstant(d, "DYNA_ADDR_CW_COMP_SLOPE",SWIG_From_int((int)(28)));
5530  return SWIG_Py_Void();
5531 }
5532 
5533 
5534 SWIGINTERN PyObject *DYNA_ADDR_CW_COMP_SLOPE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5535  PyObject *module;
5536  PyObject *d;
5537  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5538  d = PyModule_GetDict(module);
5539  if (!d) return NULL;
5540  SWIG_Python_SetConstant(d, "DYNA_ADDR_CW_COMP_SLOPE_MASK",SWIG_From_int((int)(0xff)));
5541  return SWIG_Py_Void();
5542 }
5543 
5544 
5545 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_1_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5546  PyObject *module;
5547  PyObject *d;
5548  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5549  d = PyModule_GetDict(module);
5550  if (!d) return NULL;
5551  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_1",SWIG_From_int((int)(0x02)));
5552  return SWIG_Py_Void();
5553 }
5554 
5555 
5556 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_2_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557  PyObject *module;
5558  PyObject *d;
5559  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5560  d = PyModule_GetDict(module);
5561  if (!d) return NULL;
5562  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_2",SWIG_From_int((int)(0x04)));
5563  return SWIG_Py_Void();
5564 }
5565 
5566 
5567 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_3_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5568  PyObject *module;
5569  PyObject *d;
5570  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5571  d = PyModule_GetDict(module);
5572  if (!d) return NULL;
5573  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_3",SWIG_From_int((int)(0x08)));
5574  return SWIG_Py_Void();
5575 }
5576 
5577 
5578 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_4_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5579  PyObject *module;
5580  PyObject *d;
5581  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5582  d = PyModule_GetDict(module);
5583  if (!d) return NULL;
5584  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_4",SWIG_From_int((int)(0x10)));
5585  return SWIG_Py_Void();
5586 }
5587 
5588 
5589 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_5_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5590  PyObject *module;
5591  PyObject *d;
5592  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5593  d = PyModule_GetDict(module);
5594  if (!d) return NULL;
5595  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_5",SWIG_From_int((int)(0x20)));
5596  return SWIG_Py_Void();
5597 }
5598 
5599 
5600 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5601  PyObject *module;
5602  PyObject *d;
5603  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5604  d = PyModule_GetDict(module);
5605  if (!d) return NULL;
5606  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_6",SWIG_From_int((int)(0x40)));
5607  return SWIG_Py_Void();
5608 }
5609 
5610 
5611 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_7_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5612  PyObject *module;
5613  PyObject *d;
5614  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5615  d = PyModule_GetDict(module);
5616  if (!d) return NULL;
5617  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_7",SWIG_From_int((int)(0x80)));
5618  return SWIG_Py_Void();
5619 }
5620 
5621 
5622 SWIGINTERN PyObject *DYNA_COMP_SLOPE_TORQUE_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5623  PyObject *module;
5624  PyObject *d;
5625  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5626  d = PyModule_GetDict(module);
5627  if (!d) return NULL;
5628  SWIG_Python_SetConstant(d, "DYNA_COMP_SLOPE_TORQUE_DFT",SWIG_From_int((int)(0x20)));
5629  return SWIG_Py_Void();
5630 }
5631 
5632 
5633 SWIGINTERN PyObject *DYNA_ADDR_CCW_COMP_SLOPE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5634  PyObject *module;
5635  PyObject *d;
5636  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5637  d = PyModule_GetDict(module);
5638  if (!d) return NULL;
5639  SWIG_Python_SetConstant(d, "DYNA_ADDR_CCW_COMP_SLOPE",SWIG_From_int((int)(29)));
5640  return SWIG_Py_Void();
5641 }
5642 
5643 
5644 SWIGINTERN PyObject *DYNA_ADDR_CCW_COMP_SLOPE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5645  PyObject *module;
5646  PyObject *d;
5647  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5648  d = PyModule_GetDict(module);
5649  if (!d) return NULL;
5650  SWIG_Python_SetConstant(d, "DYNA_ADDR_CCW_COMP_SLOPE_MASK",SWIG_From_int((int)(0xff)));
5651  return SWIG_Py_Void();
5652 }
5653 
5654 
5655 SWIGINTERN PyObject *DYNA_ADDR_P_GAIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656  PyObject *module;
5657  PyObject *d;
5658  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5659  d = PyModule_GetDict(module);
5660  if (!d) return NULL;
5661  SWIG_Python_SetConstant(d, "DYNA_ADDR_P_GAIN",SWIG_From_int((int)(26)));
5662  return SWIG_Py_Void();
5663 }
5664 
5665 
5666 SWIGINTERN PyObject *DYNA_ADDR_P_GAIN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5667  PyObject *module;
5668  PyObject *d;
5669  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5670  d = PyModule_GetDict(module);
5671  if (!d) return NULL;
5672  SWIG_Python_SetConstant(d, "DYNA_ADDR_P_GAIN_MASK",SWIG_From_int((int)(0xff)));
5673  return SWIG_Py_Void();
5674 }
5675 
5676 
5677 SWIGINTERN PyObject *DYNA_P_GAIN_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5678  PyObject *module;
5679  PyObject *d;
5680  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5681  d = PyModule_GetDict(module);
5682  if (!d) return NULL;
5683  SWIG_Python_SetConstant(d, "DYNA_P_GAIN_MIN_RAW",SWIG_From_int((int)(0)));
5684  return SWIG_Py_Void();
5685 }
5686 
5687 
5688 SWIGINTERN PyObject *DYNA_P_GAIN_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5689  PyObject *module;
5690  PyObject *d;
5691  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5692  d = PyModule_GetDict(module);
5693  if (!d) return NULL;
5694  SWIG_Python_SetConstant(d, "DYNA_P_GAIN_MAX_RAW",SWIG_From_int((int)(254)));
5695  return SWIG_Py_Void();
5696 }
5697 
5698 
5699 SWIGINTERN PyObject *DYNA_P_GAIN_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5700  PyObject *module;
5701  PyObject *d;
5702  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5703  d = PyModule_GetDict(module);
5704  if (!d) return NULL;
5705  SWIG_Python_SetConstant(d, "DYNA_P_GAIN_DFT",SWIG_From_int((int)(32)));
5706  return SWIG_Py_Void();
5707 }
5708 
5709 
5710 SWIGINTERN PyObject *DYNA_ADDR_I_GAIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5711  PyObject *module;
5712  PyObject *d;
5713  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5714  d = PyModule_GetDict(module);
5715  if (!d) return NULL;
5716  SWIG_Python_SetConstant(d, "DYNA_ADDR_I_GAIN",SWIG_From_int((int)(27)));
5717  return SWIG_Py_Void();
5718 }
5719 
5720 
5721 SWIGINTERN PyObject *DYNA_ADDR_I_GAIN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5722  PyObject *module;
5723  PyObject *d;
5724  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5725  d = PyModule_GetDict(module);
5726  if (!d) return NULL;
5727  SWIG_Python_SetConstant(d, "DYNA_ADDR_I_GAIN_MASK",SWIG_From_int((int)(0xff)));
5728  return SWIG_Py_Void();
5729 }
5730 
5731 
5732 SWIGINTERN PyObject *DYNA_I_GAIN_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5733  PyObject *module;
5734  PyObject *d;
5735  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5736  d = PyModule_GetDict(module);
5737  if (!d) return NULL;
5738  SWIG_Python_SetConstant(d, "DYNA_I_GAIN_MIN_RAW",SWIG_From_int((int)(0)));
5739  return SWIG_Py_Void();
5740 }
5741 
5742 
5743 SWIGINTERN PyObject *DYNA_I_GAIN_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5744  PyObject *module;
5745  PyObject *d;
5746  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5747  d = PyModule_GetDict(module);
5748  if (!d) return NULL;
5749  SWIG_Python_SetConstant(d, "DYNA_I_GAIN_MAX_RAW",SWIG_From_int((int)(254)));
5750  return SWIG_Py_Void();
5751 }
5752 
5753 
5754 SWIGINTERN PyObject *DYNA_I_GAIN_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5755  PyObject *module;
5756  PyObject *d;
5757  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5758  d = PyModule_GetDict(module);
5759  if (!d) return NULL;
5760  SWIG_Python_SetConstant(d, "DYNA_I_GAIN_DFT",SWIG_From_int((int)(0)));
5761  return SWIG_Py_Void();
5762 }
5763 
5764 
5765 SWIGINTERN PyObject *DYNA_ADDR_D_GAIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5766  PyObject *module;
5767  PyObject *d;
5768  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5769  d = PyModule_GetDict(module);
5770  if (!d) return NULL;
5771  SWIG_Python_SetConstant(d, "DYNA_ADDR_D_GAIN",SWIG_From_int((int)(28)));
5772  return SWIG_Py_Void();
5773 }
5774 
5775 
5776 SWIGINTERN PyObject *DYNA_ADDR_D_GAIN_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5777  PyObject *module;
5778  PyObject *d;
5779  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5780  d = PyModule_GetDict(module);
5781  if (!d) return NULL;
5782  SWIG_Python_SetConstant(d, "DYNA_ADDR_D_GAIN_MASK",SWIG_From_int((int)(0xff)));
5783  return SWIG_Py_Void();
5784 }
5785 
5786 
5787 SWIGINTERN PyObject *DYNA_D_GAIN_MIN_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5788  PyObject *module;
5789  PyObject *d;
5790  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5791  d = PyModule_GetDict(module);
5792  if (!d) return NULL;
5793  SWIG_Python_SetConstant(d, "DYNA_D_GAIN_MIN_RAW",SWIG_From_int((int)(0)));
5794  return SWIG_Py_Void();
5795 }
5796 
5797 
5798 SWIGINTERN PyObject *DYNA_D_GAIN_MAX_RAW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5799  PyObject *module;
5800  PyObject *d;
5801  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5802  d = PyModule_GetDict(module);
5803  if (!d) return NULL;
5804  SWIG_Python_SetConstant(d, "DYNA_D_GAIN_MAX_RAW",SWIG_From_int((int)(254)));
5805  return SWIG_Py_Void();
5806 }
5807 
5808 
5809 SWIGINTERN PyObject *DYNA_D_GAIN_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5810  PyObject *module;
5811  PyObject *d;
5812  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5813  d = PyModule_GetDict(module);
5814  if (!d) return NULL;
5815  SWIG_Python_SetConstant(d, "DYNA_D_GAIN_DFT",SWIG_From_int((int)(0)));
5816  return SWIG_Py_Void();
5817 }
5818 
5819 
5820 SWIGINTERN PyObject *DYNA_ADDR_PID_RESERVED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5821  PyObject *module;
5822  PyObject *d;
5823  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5824  d = PyModule_GetDict(module);
5825  if (!d) return NULL;
5826  SWIG_Python_SetConstant(d, "DYNA_ADDR_PID_RESERVED",SWIG_From_int((int)(29)));
5827  return SWIG_Py_Void();
5828 }
5829 
5830 
5831 SWIGINTERN PyObject *DYNA_ADDR_GOAL_POS_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5832  PyObject *module;
5833  PyObject *d;
5834  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5835  d = PyModule_GetDict(module);
5836  if (!d) return NULL;
5837  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_POS_LSB",SWIG_From_int((int)(30)));
5838  return SWIG_Py_Void();
5839 }
5840 
5841 
5842 SWIGINTERN PyObject *DYNA_ADDR_GOAL_POS_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5843  PyObject *module;
5844  PyObject *d;
5845  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5846  d = PyModule_GetDict(module);
5847  if (!d) return NULL;
5848  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_POS_MSB",SWIG_From_int((int)(31)));
5849  return SWIG_Py_Void();
5850 }
5851 
5852 
5853 SWIGINTERN PyObject *DYNA_ADDR_GOAL_POS_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5854  PyObject *module;
5855  PyObject *d;
5856  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5857  d = PyModule_GetDict(module);
5858  if (!d) return NULL;
5859  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_POS_MASK",SWIG_From_int((int)(0x03ff)));
5860  return SWIG_Py_Void();
5861 }
5862 
5863 
5864 SWIGINTERN PyObject *DYNA_ADDR_GOAL_SPEED_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5865  PyObject *module;
5866  PyObject *d;
5867  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5868  d = PyModule_GetDict(module);
5869  if (!d) return NULL;
5870  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_SPEED_LSB",SWIG_From_int((int)(32)));
5871  return SWIG_Py_Void();
5872 }
5873 
5874 
5875 SWIGINTERN PyObject *DYNA_ADDR_GOAL_SPEED_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5876  PyObject *module;
5877  PyObject *d;
5878  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5879  d = PyModule_GetDict(module);
5880  if (!d) return NULL;
5881  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_SPEED_MSB",SWIG_From_int((int)(33)));
5882  return SWIG_Py_Void();
5883 }
5884 
5885 
5886 SWIGINTERN PyObject *DYNA_ADDR_GOAL_SPEED_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5887  PyObject *module;
5888  PyObject *d;
5889  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5890  d = PyModule_GetDict(module);
5891  if (!d) return NULL;
5892  SWIG_Python_SetConstant(d, "DYNA_ADDR_GOAL_SPEED_MASK",SWIG_From_int((int)(0x07ff)));
5893  return SWIG_Py_Void();
5894 }
5895 
5896 
5897 SWIGINTERN PyObject *DYNA_GOAL_SPEED_MAG_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5898  PyObject *module;
5899  PyObject *d;
5900  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5901  d = PyModule_GetDict(module);
5902  if (!d) return NULL;
5903  SWIG_Python_SetConstant(d, "DYNA_GOAL_SPEED_MAG_MASK",SWIG_From_int((int)(0x03ff)));
5904  return SWIG_Py_Void();
5905 }
5906 
5907 
5908 SWIGINTERN PyObject *DYNA_GOAL_SPEED_MAG_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5909  PyObject *module;
5910  PyObject *d;
5911  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5912  d = PyModule_GetDict(module);
5913  if (!d) return NULL;
5914  SWIG_Python_SetConstant(d, "DYNA_GOAL_SPEED_MAG_SHIFT",SWIG_From_int((int)(0)));
5915  return SWIG_Py_Void();
5916 }
5917 
5918 
5919 SWIGINTERN PyObject *DYNA_GOAL_SPEED_DIR_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5920  PyObject *module;
5921  PyObject *d;
5922  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5923  d = PyModule_GetDict(module);
5924  if (!d) return NULL;
5925  SWIG_Python_SetConstant(d, "DYNA_GOAL_SPEED_DIR_MASK",SWIG_From_int((int)(0x0400)));
5926  return SWIG_Py_Void();
5927 }
5928 
5929 
5930 SWIGINTERN PyObject *DYNA_GOAL_SPEED_DIR_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5931  PyObject *module;
5932  PyObject *d;
5933  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5934  d = PyModule_GetDict(module);
5935  if (!d) return NULL;
5936  SWIG_Python_SetConstant(d, "DYNA_GOAL_SPEED_DIR_SHIFT",SWIG_From_int((int)(10)));
5937  return SWIG_Py_Void();
5938 }
5939 
5940 
5941 SWIGINTERN PyObject *DYNA_GOAL_SPEED_DIR_CCW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5942  PyObject *module;
5943  PyObject *d;
5944  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5945  d = PyModule_GetDict(module);
5946  if (!d) return NULL;
5947  SWIG_Python_SetConstant(d, "DYNA_GOAL_SPEED_DIR_CCW",SWIG_From_int((int)(0x00)));
5948  return SWIG_Py_Void();
5949 }
5950 
5951 
5952 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5953  PyObject *module;
5954  PyObject *d;
5955  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5956  d = PyModule_GetDict(module);
5957  if (!d) return NULL;
5958  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_LSB",SWIG_From_int((int)(34)));
5959  return SWIG_Py_Void();
5960 }
5961 
5962 
5963 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5964  PyObject *module;
5965  PyObject *d;
5966  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5967  d = PyModule_GetDict(module);
5968  if (!d) return NULL;
5969  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_MSB",SWIG_From_int((int)(35)));
5970  return SWIG_Py_Void();
5971 }
5972 
5973 
5974 SWIGINTERN PyObject *DYNA_ADDR_LIM_TORQUE_MAX_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975  PyObject *module;
5976  PyObject *d;
5977  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5978  d = PyModule_GetDict(module);
5979  if (!d) return NULL;
5980  SWIG_Python_SetConstant(d, "DYNA_ADDR_LIM_TORQUE_MAX_MASK",SWIG_From_int((int)(0x03ff)));
5981  return SWIG_Py_Void();
5982 }
5983 
5984 
5985 SWIGINTERN PyObject *DYNA_LIM_TORQUE_MAX_ALARMED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5986  PyObject *module;
5987  PyObject *d;
5988  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
5989  d = PyModule_GetDict(module);
5990  if (!d) return NULL;
5991  SWIG_Python_SetConstant(d, "DYNA_LIM_TORQUE_MAX_ALARMED",SWIG_From_int((int)(0)));
5992  return SWIG_Py_Void();
5993 }
5994 
5995 
5996 SWIGINTERN PyObject *DYNA_ADDR_CUR_POS_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5997  PyObject *module;
5998  PyObject *d;
5999  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6000  d = PyModule_GetDict(module);
6001  if (!d) return NULL;
6002  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_POS_LSB",SWIG_From_int((int)(36)));
6003  return SWIG_Py_Void();
6004 }
6005 
6006 
6007 SWIGINTERN PyObject *DYNA_ADDR_CUR_POS_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6008  PyObject *module;
6009  PyObject *d;
6010  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6011  d = PyModule_GetDict(module);
6012  if (!d) return NULL;
6013  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_POS_MSB",SWIG_From_int((int)(37)));
6014  return SWIG_Py_Void();
6015 }
6016 
6017 
6018 SWIGINTERN PyObject *DYNA_ADDR_CUR_POS_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6019  PyObject *module;
6020  PyObject *d;
6021  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6022  d = PyModule_GetDict(module);
6023  if (!d) return NULL;
6024  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_POS_MASK",SWIG_From_int((int)(0x03ff)));
6025  return SWIG_Py_Void();
6026 }
6027 
6028 
6029 SWIGINTERN PyObject *DYNA_ADDR_CUR_SPEED_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030  PyObject *module;
6031  PyObject *d;
6032  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6033  d = PyModule_GetDict(module);
6034  if (!d) return NULL;
6035  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_SPEED_LSB",SWIG_From_int((int)(38)));
6036  return SWIG_Py_Void();
6037 }
6038 
6039 
6040 SWIGINTERN PyObject *DYNA_ADDR_CUR_SPEED_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6041  PyObject *module;
6042  PyObject *d;
6043  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6044  d = PyModule_GetDict(module);
6045  if (!d) return NULL;
6046  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_SPEED_MSB",SWIG_From_int((int)(39)));
6047  return SWIG_Py_Void();
6048 }
6049 
6050 
6051 SWIGINTERN PyObject *DYNA_ADDR_CUR_SPEED_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6052  PyObject *module;
6053  PyObject *d;
6054  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6055  d = PyModule_GetDict(module);
6056  if (!d) return NULL;
6057  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_SPEED_MASK",SWIG_From_int((int)(0x07ff)));
6058  return SWIG_Py_Void();
6059 }
6060 
6061 
6062 SWIGINTERN PyObject *DYNA_CUR_SPEED_MAG_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6063  PyObject *module;
6064  PyObject *d;
6065  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6066  d = PyModule_GetDict(module);
6067  if (!d) return NULL;
6068  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_MAG_MASK",SWIG_From_int((int)(0x03ff)));
6069  return SWIG_Py_Void();
6070 }
6071 
6072 
6073 SWIGINTERN PyObject *DYNA_CUR_SPEED_MAG_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6074  PyObject *module;
6075  PyObject *d;
6076  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6077  d = PyModule_GetDict(module);
6078  if (!d) return NULL;
6079  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_MAG_SHIFT",SWIG_From_int((int)(0)));
6080  return SWIG_Py_Void();
6081 }
6082 
6083 
6084 SWIGINTERN PyObject *DYNA_CUR_SPEED_DIR_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6085  PyObject *module;
6086  PyObject *d;
6087  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6088  d = PyModule_GetDict(module);
6089  if (!d) return NULL;
6090  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_DIR_MASK",SWIG_From_int((int)(0x0400)));
6091  return SWIG_Py_Void();
6092 }
6093 
6094 
6095 SWIGINTERN PyObject *DYNA_CUR_SPEED_DIR_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6096  PyObject *module;
6097  PyObject *d;
6098  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6099  d = PyModule_GetDict(module);
6100  if (!d) return NULL;
6101  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_DIR_SHIFT",SWIG_From_int((int)(10)));
6102  return SWIG_Py_Void();
6103 }
6104 
6105 
6106 SWIGINTERN PyObject *DYNA_CUR_SPEED_DIR_CCW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6107  PyObject *module;
6108  PyObject *d;
6109  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6110  d = PyModule_GetDict(module);
6111  if (!d) return NULL;
6112  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_DIR_CCW",SWIG_From_int((int)(0x00)));
6113  return SWIG_Py_Void();
6114 }
6115 
6116 
6117 SWIGINTERN PyObject *DYNA_CUR_SPEED_DIR_CW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6118  PyObject *module;
6119  PyObject *d;
6120  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6121  d = PyModule_GetDict(module);
6122  if (!d) return NULL;
6123  SWIG_Python_SetConstant(d, "DYNA_CUR_SPEED_DIR_CW",SWIG_From_int((int)((0x01 << 10))));
6124  return SWIG_Py_Void();
6125 }
6126 
6127 
6128 SWIGINTERN PyObject *DYNA_ADDR_CUR_LOAD_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6129  PyObject *module;
6130  PyObject *d;
6131  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6132  d = PyModule_GetDict(module);
6133  if (!d) return NULL;
6134  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_LOAD_LSB",SWIG_From_int((int)(40)));
6135  return SWIG_Py_Void();
6136 }
6137 
6138 
6139 SWIGINTERN PyObject *DYNA_ADDR_CUR_LOAD_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6140  PyObject *module;
6141  PyObject *d;
6142  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6143  d = PyModule_GetDict(module);
6144  if (!d) return NULL;
6145  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_LOAD_MSB",SWIG_From_int((int)(41)));
6146  return SWIG_Py_Void();
6147 }
6148 
6149 
6150 SWIGINTERN PyObject *DYNA_ADDR_CUR_LOAD_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6151  PyObject *module;
6152  PyObject *d;
6153  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6154  d = PyModule_GetDict(module);
6155  if (!d) return NULL;
6156  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_LOAD_MASK",SWIG_From_int((int)(0x07ff)));
6157  return SWIG_Py_Void();
6158 }
6159 
6160 
6161 SWIGINTERN PyObject *DYNA_CUR_LOAD_MAG_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6162  PyObject *module;
6163  PyObject *d;
6164  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6165  d = PyModule_GetDict(module);
6166  if (!d) return NULL;
6167  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_MAG_MASK",SWIG_From_int((int)(0x03ff)));
6168  return SWIG_Py_Void();
6169 }
6170 
6171 
6172 SWIGINTERN PyObject *DYNA_CUR_LOAD_MAG_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6173  PyObject *module;
6174  PyObject *d;
6175  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6176  d = PyModule_GetDict(module);
6177  if (!d) return NULL;
6178  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_MAG_SHIFT",SWIG_From_int((int)(0)));
6179  return SWIG_Py_Void();
6180 }
6181 
6182 
6183 SWIGINTERN PyObject *DYNA_CUR_LOAD_MAG_MIN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6184  PyObject *module;
6185  PyObject *d;
6186  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6187  d = PyModule_GetDict(module);
6188  if (!d) return NULL;
6189  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_MAG_MIN",SWIG_From_int((int)(0)));
6190  return SWIG_Py_Void();
6191 }
6192 
6193 
6194 SWIGINTERN PyObject *DYNA_CUR_LOAD_MAG_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6195  PyObject *module;
6196  PyObject *d;
6197  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6198  d = PyModule_GetDict(module);
6199  if (!d) return NULL;
6200  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_MAG_MAX",SWIG_From_int((int)(1023)));
6201  return SWIG_Py_Void();
6202 }
6203 
6204 
6205 SWIGINTERN PyObject *DYNA_CUR_LOAD_DIR_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6206  PyObject *module;
6207  PyObject *d;
6208  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6209  d = PyModule_GetDict(module);
6210  if (!d) return NULL;
6211  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_DIR_MASK",SWIG_From_int((int)(0x0400)));
6212  return SWIG_Py_Void();
6213 }
6214 
6215 
6216 SWIGINTERN PyObject *DYNA_CUR_LOAD_DIR_SHIFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6217  PyObject *module;
6218  PyObject *d;
6219  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6220  d = PyModule_GetDict(module);
6221  if (!d) return NULL;
6222  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_DIR_SHIFT",SWIG_From_int((int)(10)));
6223  return SWIG_Py_Void();
6224 }
6225 
6226 
6227 SWIGINTERN PyObject *DYNA_CUR_LOAD_DIR_CCW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6228  PyObject *module;
6229  PyObject *d;
6230  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6231  d = PyModule_GetDict(module);
6232  if (!d) return NULL;
6233  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_DIR_CCW",SWIG_From_int((int)(0x00)));
6234  return SWIG_Py_Void();
6235 }
6236 
6237 
6238 SWIGINTERN PyObject *DYNA_CUR_LOAD_DIR_CW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239  PyObject *module;
6240  PyObject *d;
6241  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6242  d = PyModule_GetDict(module);
6243  if (!d) return NULL;
6244  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_DIR_CW",SWIG_From_int((int)((0x01 << 10))));
6245  return SWIG_Py_Void();
6246 }
6247 
6248 
6249 SWIGINTERN PyObject *DYNA_CUR_LOAD_RES_PCT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6250  PyObject *module;
6251  PyObject *d;
6252  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6253  d = PyModule_GetDict(module);
6254  if (!d) return NULL;
6255  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_RES_PCT",SWIG_From_double((double)((100.0/1023))));
6256  return SWIG_Py_Void();
6257 }
6258 
6259 
6260 SWIGINTERN PyObject *DYNA_CUR_LOAD_RES_PMIL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6261  PyObject *module;
6262  PyObject *d;
6263  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6264  d = PyModule_GetDict(module);
6265  if (!d) return NULL;
6266  SWIG_Python_SetConstant(d, "DYNA_CUR_LOAD_RES_PMIL",SWIG_From_double((double)((1000.0/1023))));
6267  return SWIG_Py_Void();
6268 }
6269 
6270 
6271 SWIGINTERN PyObject *DYNA_ADDR_CUR_VOLT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6272  PyObject *module;
6273  PyObject *d;
6274  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6275  d = PyModule_GetDict(module);
6276  if (!d) return NULL;
6277  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_VOLT",SWIG_From_int((int)(42)));
6278  return SWIG_Py_Void();
6279 }
6280 
6281 
6282 SWIGINTERN PyObject *DYNA_ADDR_CUR_VOLT_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6283  PyObject *module;
6284  PyObject *d;
6285  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6286  d = PyModule_GetDict(module);
6287  if (!d) return NULL;
6288  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_VOLT_MASK",SWIG_From_int((int)(0xff)));
6289  return SWIG_Py_Void();
6290 }
6291 
6292 
6293 SWIGINTERN PyObject *DYNA_CUR_VOLT_RES_V_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6294  PyObject *module;
6295  PyObject *d;
6296  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6297  d = PyModule_GetDict(module);
6298  if (!d) return NULL;
6299  SWIG_Python_SetConstant(d, "DYNA_CUR_VOLT_RES_V",SWIG_From_double((double)(0.1)));
6300  return SWIG_Py_Void();
6301 }
6302 
6303 
6304 SWIGINTERN PyObject *DYNA_ADDR_CUR_TEMP_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6305  PyObject *module;
6306  PyObject *d;
6307  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6308  d = PyModule_GetDict(module);
6309  if (!d) return NULL;
6310  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_TEMP_C",SWIG_From_int((int)(43)));
6311  return SWIG_Py_Void();
6312 }
6313 
6314 
6315 SWIGINTERN PyObject *DYNA_ADDR_CUR_TEMP_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6316  PyObject *module;
6317  PyObject *d;
6318  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6319  d = PyModule_GetDict(module);
6320  if (!d) return NULL;
6321  SWIG_Python_SetConstant(d, "DYNA_ADDR_CUR_TEMP_MASK",SWIG_From_int((int)(0xff)));
6322  return SWIG_Py_Void();
6323 }
6324 
6325 
6326 SWIGINTERN PyObject *DYNA_CUR_TEMP_RES_C_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6327  PyObject *module;
6328  PyObject *d;
6329  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6330  d = PyModule_GetDict(module);
6331  if (!d) return NULL;
6332  SWIG_Python_SetConstant(d, "DYNA_CUR_TEMP_RES_C",SWIG_From_int((int)(1)));
6333  return SWIG_Py_Void();
6334 }
6335 
6336 
6337 SWIGINTERN PyObject *DYNA_ADDR_REG_INSTR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6338  PyObject *module;
6339  PyObject *d;
6340  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6341  d = PyModule_GetDict(module);
6342  if (!d) return NULL;
6343  SWIG_Python_SetConstant(d, "DYNA_ADDR_REG_INSTR",SWIG_From_int((int)(44)));
6344  return SWIG_Py_Void();
6345 }
6346 
6347 
6348 SWIGINTERN PyObject *DYNA_ADDR_REG_INSTR_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6349  PyObject *module;
6350  PyObject *d;
6351  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6352  d = PyModule_GetDict(module);
6353  if (!d) return NULL;
6354  SWIG_Python_SetConstant(d, "DYNA_ADDR_REG_INSTR_MASK",SWIG_From_int((int)(0xff)));
6355  return SWIG_Py_Void();
6356 }
6357 
6358 
6359 SWIGINTERN PyObject *DYBA_REG_INSTR_NO_WRITE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6360  PyObject *module;
6361  PyObject *d;
6362  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6363  d = PyModule_GetDict(module);
6364  if (!d) return NULL;
6365  SWIG_Python_SetConstant(d, "DYBA_REG_INSTR_NO_WRITE",SWIG_From_int((int)(0)));
6366  return SWIG_Py_Void();
6367 }
6368 
6369 
6370 SWIGINTERN PyObject *DYBA_REG_INSTR_HAS_WRITE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6371  PyObject *module;
6372  PyObject *d;
6373  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6374  d = PyModule_GetDict(module);
6375  if (!d) return NULL;
6376  SWIG_Python_SetConstant(d, "DYBA_REG_INSTR_HAS_WRITE",SWIG_From_int((int)(1)));
6377  return SWIG_Py_Void();
6378 }
6379 
6380 
6381 SWIGINTERN PyObject *DYNA_ADDR_RESERVED_2_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6382  PyObject *module;
6383  PyObject *d;
6384  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6385  d = PyModule_GetDict(module);
6386  if (!d) return NULL;
6387  SWIG_Python_SetConstant(d, "DYNA_ADDR_RESERVED_2",SWIG_From_int((int)(45)));
6388  return SWIG_Py_Void();
6389 }
6390 
6391 
6392 SWIGINTERN PyObject *DYNA_ADDR_IS_MOVING_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6393  PyObject *module;
6394  PyObject *d;
6395  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6396  d = PyModule_GetDict(module);
6397  if (!d) return NULL;
6398  SWIG_Python_SetConstant(d, "DYNA_ADDR_IS_MOVING",SWIG_From_int((int)(46)));
6399  return SWIG_Py_Void();
6400 }
6401 
6402 
6403 SWIGINTERN PyObject *DYNA_ADDR_IS_MOVING_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6404  PyObject *module;
6405  PyObject *d;
6406  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6407  d = PyModule_GetDict(module);
6408  if (!d) return NULL;
6409  SWIG_Python_SetConstant(d, "DYNA_ADDR_IS_MOVING_MASK",SWIG_From_int((int)(0xff)));
6410  return SWIG_Py_Void();
6411 }
6412 
6413 
6414 SWIGINTERN PyObject *DYNA_IS_NOT_MOVING_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6415  PyObject *module;
6416  PyObject *d;
6417  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6418  d = PyModule_GetDict(module);
6419  if (!d) return NULL;
6420  SWIG_Python_SetConstant(d, "DYNA_IS_NOT_MOVING",SWIG_From_int((int)(0)));
6421  return SWIG_Py_Void();
6422 }
6423 
6424 
6425 SWIGINTERN PyObject *DYNA_IS_MOVING_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6426  PyObject *module;
6427  PyObject *d;
6428  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6429  d = PyModule_GetDict(module);
6430  if (!d) return NULL;
6431  SWIG_Python_SetConstant(d, "DYNA_IS_MOVING",SWIG_From_int((int)(1)));
6432  return SWIG_Py_Void();
6433 }
6434 
6435 
6436 SWIGINTERN PyObject *DYNA_ADDR_EEPROM_LOCK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6437  PyObject *module;
6438  PyObject *d;
6439  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6440  d = PyModule_GetDict(module);
6441  if (!d) return NULL;
6442  SWIG_Python_SetConstant(d, "DYNA_ADDR_EEPROM_LOCK",SWIG_From_int((int)(47)));
6443  return SWIG_Py_Void();
6444 }
6445 
6446 
6447 SWIGINTERN PyObject *DYNA_ADDR_EEPROM_LOCK_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6448  PyObject *module;
6449  PyObject *d;
6450  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6451  d = PyModule_GetDict(module);
6452  if (!d) return NULL;
6453  SWIG_Python_SetConstant(d, "DYNA_ADDR_EEPROM_LOCK_MASK",SWIG_From_int((int)(0xff)));
6454  return SWIG_Py_Void();
6455 }
6456 
6457 
6458 SWIGINTERN PyObject *DYNA_EEPROM_UNLOCKED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6459  PyObject *module;
6460  PyObject *d;
6461  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6462  d = PyModule_GetDict(module);
6463  if (!d) return NULL;
6464  SWIG_Python_SetConstant(d, "DYNA_EEPROM_UNLOCKED",SWIG_From_int((int)(0)));
6465  return SWIG_Py_Void();
6466 }
6467 
6468 
6469 SWIGINTERN PyObject *DYNA_EEPROM_LOCKED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6470  PyObject *module;
6471  PyObject *d;
6472  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6473  d = PyModule_GetDict(module);
6474  if (!d) return NULL;
6475  SWIG_Python_SetConstant(d, "DYNA_EEPROM_LOCKED",SWIG_From_int((int)(1)));
6476  return SWIG_Py_Void();
6477 }
6478 
6479 
6480 SWIGINTERN PyObject *DYNA_EEPROM_LOCK_DFT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6481  PyObject *module;
6482  PyObject *d;
6483  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6484  d = PyModule_GetDict(module);
6485  if (!d) return NULL;
6486  SWIG_Python_SetConstant(d, "DYNA_EEPROM_LOCK_DFT",SWIG_From_int((int)(0)));
6487  return SWIG_Py_Void();
6488 }
6489 
6490 
6491 SWIGINTERN PyObject *DYNA_ADDR_PUNCH_LSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492  PyObject *module;
6493  PyObject *d;
6494  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6495  d = PyModule_GetDict(module);
6496  if (!d) return NULL;
6497  SWIG_Python_SetConstant(d, "DYNA_ADDR_PUNCH_LSB",SWIG_From_int((int)(48)));
6498  return SWIG_Py_Void();
6499 }
6500 
6501 
6502 SWIGINTERN PyObject *DYNA_ADDR_PUNCH_MSB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6503  PyObject *module;
6504  PyObject *d;
6505  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6506  d = PyModule_GetDict(module);
6507  if (!d) return NULL;
6508  SWIG_Python_SetConstant(d, "DYNA_ADDR_PUNCH_MSB",SWIG_From_int((int)(49)));
6509  return SWIG_Py_Void();
6510 }
6511 
6512 
6513 SWIGINTERN PyObject *BS_DYNA_SERVER_MOD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6514  PyObject *module;
6515  PyObject *d;
6516  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6517  d = PyModule_GetDict(module);
6518  if (!d) return NULL;
6519  SWIG_Python_SetConstant(d, "BS_DYNA_SERVER_MOD",SWIG_FromCharPtr("libbsserver_dyna"));
6520  return SWIG_Py_Void();
6521 }
6522 
6523 
6524 SWIGINTERN PyObject *BS_DYNA_CLIENT_LIB_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6525  PyObject *module;
6526  PyObject *d;
6527  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
6528  d = PyModule_GetDict(module);
6529  if (!d) return NULL;
6530  SWIG_Python_SetConstant(d, "BS_DYNA_CLIENT_LIB",SWIG_FromCharPtr("libbsclient_dyna"));
6531  return SWIG_Py_Void();
6532 }
6533 
6534 
6535 SWIGINTERN PyObject *_wrap_bsDynaGetMsgName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6536  PyObject *resultobj = 0;
6537  BsClient_P arg1 = (BsClient_P) 0 ;
6538  BsVConnHnd_T arg2 ;
6539  uint_t arg3 ;
6540  void *argp1 = 0 ;
6541  int res1 = 0 ;
6542  int val2 ;
6543  int ecode2 = 0 ;
6544  unsigned int val3 ;
6545  int ecode3 = 0 ;
6546  PyObject * obj0 = 0 ;
6547  PyObject * obj1 = 0 ;
6548  PyObject * obj2 = 0 ;
6549  char *result = 0 ;
6550 
6551  if (!PyArg_ParseTuple(args,(char *)"OOO:bsDynaGetMsgName",&obj0,&obj1,&obj2)) SWIG_fail;
6552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6553  if (!SWIG_IsOK(res1)) {
6554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaGetMsgName" "', argument " "1"" of type '" "BsClient_P""'");
6555  }
6556  arg1 = (BsClient_P)(argp1);
6557  ecode2 = SWIG_AsVal_int(obj1, &val2);
6558  if (!SWIG_IsOK(ecode2)) {
6559  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaGetMsgName" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6560  }
6561  arg2 = (BsVConnHnd_T)(val2);
6562  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
6563  if (!SWIG_IsOK(ecode3)) {
6564  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaGetMsgName" "', argument " "3"" of type '" "uint_t""'");
6565  }
6566  arg3 = (uint_t)(val3);
6567  result = (char *)bsDynaGetMsgName(arg1,arg2,arg3);
6568  resultobj = SWIG_FromCharPtr((const char *)result);
6569  return resultobj;
6570 fail:
6571  return NULL;
6572 }
6573 
6574 
6575 SWIGINTERN PyObject *_wrap_bsDynaOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6576  PyObject *resultobj = 0;
6577  BsClient_P arg1 = (BsClient_P) 0 ;
6578  char *arg2 = (char *) 0 ;
6579  int arg3 ;
6580  bool_t arg4 ;
6581  void *argp1 = 0 ;
6582  int res1 = 0 ;
6583  int res2 ;
6584  char *buf2 = 0 ;
6585  int alloc2 = 0 ;
6586  int val3 ;
6587  int ecode3 = 0 ;
6588  int val4 ;
6589  int ecode4 = 0 ;
6590  PyObject * obj0 = 0 ;
6591  PyObject * obj1 = 0 ;
6592  PyObject * obj2 = 0 ;
6593  PyObject * obj3 = 0 ;
6594  int result;
6595 
6596  if (!PyArg_ParseTuple(args,(char *)"OOOO:bsDynaOpen",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6597  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6598  if (!SWIG_IsOK(res1)) {
6599  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaOpen" "', argument " "1"" of type '" "BsClient_P""'");
6600  }
6601  arg1 = (BsClient_P)(argp1);
6602  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
6603  if (!SWIG_IsOK(res2)) {
6604  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "bsDynaOpen" "', argument " "2"" of type '" "char const *""'");
6605  }
6606  arg2 = (char *)(buf2);
6607  ecode3 = SWIG_AsVal_int(obj2, &val3);
6608  if (!SWIG_IsOK(ecode3)) {
6609  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaOpen" "', argument " "3"" of type '" "int""'");
6610  }
6611  arg3 = (int)(val3);
6612  ecode4 = SWIG_AsVal_int(obj3, &val4);
6613  if (!SWIG_IsOK(ecode4)) {
6614  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaOpen" "', argument " "4"" of type '" "bool_t""'");
6615  }
6616  arg4 = (bool_t)(val4);
6617  result = (int)bsDynaOpen(arg1,(char const *)arg2,arg3,arg4);
6618  resultobj = SWIG_From_int((int)(result));
6619  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6620  return resultobj;
6621 fail:
6622  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6623  return NULL;
6624 }
6625 
6626 
6627 SWIGINTERN PyObject *_wrap_bsDynaClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6628  PyObject *resultobj = 0;
6629  BsClient_P arg1 = (BsClient_P) 0 ;
6630  BsVConnHnd_T arg2 ;
6631  void *argp1 = 0 ;
6632  int res1 = 0 ;
6633  int val2 ;
6634  int ecode2 = 0 ;
6635  PyObject * obj0 = 0 ;
6636  PyObject * obj1 = 0 ;
6637  int result;
6638 
6639  if (!PyArg_ParseTuple(args,(char *)"OO:bsDynaClose",&obj0,&obj1)) SWIG_fail;
6640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6641  if (!SWIG_IsOK(res1)) {
6642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaClose" "', argument " "1"" of type '" "BsClient_P""'");
6643  }
6644  arg1 = (BsClient_P)(argp1);
6645  ecode2 = SWIG_AsVal_int(obj1, &val2);
6646  if (!SWIG_IsOK(ecode2)) {
6647  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaClose" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6648  }
6649  arg2 = (BsVConnHnd_T)(val2);
6650  result = (int)bsDynaClose(arg1,arg2);
6651  resultobj = SWIG_From_int((int)(result));
6652  return resultobj;
6653 fail:
6654  return NULL;
6655 }
6656 
6657 
6658 SWIGINTERN PyObject *_wrap_bsDynaSetBaudRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6659  PyObject *resultobj = 0;
6660  BsClient_P arg1 = (BsClient_P) 0 ;
6661  BsVConnHnd_T arg2 ;
6662  int arg3 ;
6663  void *argp1 = 0 ;
6664  int res1 = 0 ;
6665  int val2 ;
6666  int ecode2 = 0 ;
6667  int val3 ;
6668  int ecode3 = 0 ;
6669  PyObject * obj0 = 0 ;
6670  PyObject * obj1 = 0 ;
6671  PyObject * obj2 = 0 ;
6672  int result;
6673 
6674  if (!PyArg_ParseTuple(args,(char *)"OOO:bsDynaSetBaudRate",&obj0,&obj1,&obj2)) SWIG_fail;
6675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6676  if (!SWIG_IsOK(res1)) {
6677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaSetBaudRate" "', argument " "1"" of type '" "BsClient_P""'");
6678  }
6679  arg1 = (BsClient_P)(argp1);
6680  ecode2 = SWIG_AsVal_int(obj1, &val2);
6681  if (!SWIG_IsOK(ecode2)) {
6682  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaSetBaudRate" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6683  }
6684  arg2 = (BsVConnHnd_T)(val2);
6685  ecode3 = SWIG_AsVal_int(obj2, &val3);
6686  if (!SWIG_IsOK(ecode3)) {
6687  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaSetBaudRate" "', argument " "3"" of type '" "int""'");
6688  }
6689  arg3 = (int)(val3);
6690  result = (int)bsDynaSetBaudRate(arg1,arg2,arg3);
6691  resultobj = SWIG_From_int((int)(result));
6692  return resultobj;
6693 fail:
6694  return NULL;
6695 }
6696 
6697 
6698 SWIGINTERN PyObject *_wrap_bsDynaRead8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6699  PyObject *resultobj = 0;
6700  BsClient_P arg1 = (BsClient_P) 0 ;
6701  BsVConnHnd_T arg2 ;
6702  int arg3 ;
6703  uint_t arg4 ;
6704  byte_t *arg5 = (byte_t *) 0 ;
6705  uint_t *arg6 = (uint_t *) 0 ;
6706  void *argp1 = 0 ;
6707  int res1 = 0 ;
6708  int val2 ;
6709  int ecode2 = 0 ;
6710  int val3 ;
6711  int ecode3 = 0 ;
6712  unsigned int val4 ;
6713  int ecode4 = 0 ;
6714  void *argp5 = 0 ;
6715  int res5 = 0 ;
6716  void *argp6 = 0 ;
6717  int res6 = 0 ;
6718  PyObject * obj0 = 0 ;
6719  PyObject * obj1 = 0 ;
6720  PyObject * obj2 = 0 ;
6721  PyObject * obj3 = 0 ;
6722  PyObject * obj4 = 0 ;
6723  PyObject * obj5 = 0 ;
6724  int result;
6725 
6726  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:bsDynaRead8",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6728  if (!SWIG_IsOK(res1)) {
6729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaRead8" "', argument " "1"" of type '" "BsClient_P""'");
6730  }
6731  arg1 = (BsClient_P)(argp1);
6732  ecode2 = SWIG_AsVal_int(obj1, &val2);
6733  if (!SWIG_IsOK(ecode2)) {
6734  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaRead8" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6735  }
6736  arg2 = (BsVConnHnd_T)(val2);
6737  ecode3 = SWIG_AsVal_int(obj2, &val3);
6738  if (!SWIG_IsOK(ecode3)) {
6739  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaRead8" "', argument " "3"" of type '" "int""'");
6740  }
6741  arg3 = (int)(val3);
6742  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
6743  if (!SWIG_IsOK(ecode4)) {
6744  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaRead8" "', argument " "4"" of type '" "uint_t""'");
6745  }
6746  arg4 = (uint_t)(val4);
6747  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 );
6748  if (!SWIG_IsOK(res5)) {
6749  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "bsDynaRead8" "', argument " "5"" of type '" "byte_t *""'");
6750  }
6751  arg5 = (byte_t *)(argp5);
6752  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_int, 0 | 0 );
6753  if (!SWIG_IsOK(res6)) {
6754  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "bsDynaRead8" "', argument " "6"" of type '" "uint_t *""'");
6755  }
6756  arg6 = (uint_t *)(argp6);
6757  result = (int)bsDynaRead8(arg1,arg2,arg3,arg4,arg5,arg6);
6758  resultobj = SWIG_From_int((int)(result));
6759  return resultobj;
6760 fail:
6761  return NULL;
6762 }
6763 
6764 
6765 SWIGINTERN PyObject *_wrap_bsDynaWrite8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6766  PyObject *resultobj = 0;
6767  BsClient_P arg1 = (BsClient_P) 0 ;
6768  BsVConnHnd_T arg2 ;
6769  int arg3 ;
6770  uint_t arg4 ;
6771  byte_t arg5 ;
6772  uint_t *arg6 = (uint_t *) 0 ;
6773  void *argp1 = 0 ;
6774  int res1 = 0 ;
6775  int val2 ;
6776  int ecode2 = 0 ;
6777  int val3 ;
6778  int ecode3 = 0 ;
6779  unsigned int val4 ;
6780  int ecode4 = 0 ;
6781  unsigned char val5 ;
6782  int ecode5 = 0 ;
6783  void *argp6 = 0 ;
6784  int res6 = 0 ;
6785  PyObject * obj0 = 0 ;
6786  PyObject * obj1 = 0 ;
6787  PyObject * obj2 = 0 ;
6788  PyObject * obj3 = 0 ;
6789  PyObject * obj4 = 0 ;
6790  PyObject * obj5 = 0 ;
6791  int result;
6792 
6793  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:bsDynaWrite8",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6795  if (!SWIG_IsOK(res1)) {
6796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaWrite8" "', argument " "1"" of type '" "BsClient_P""'");
6797  }
6798  arg1 = (BsClient_P)(argp1);
6799  ecode2 = SWIG_AsVal_int(obj1, &val2);
6800  if (!SWIG_IsOK(ecode2)) {
6801  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaWrite8" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6802  }
6803  arg2 = (BsVConnHnd_T)(val2);
6804  ecode3 = SWIG_AsVal_int(obj2, &val3);
6805  if (!SWIG_IsOK(ecode3)) {
6806  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaWrite8" "', argument " "3"" of type '" "int""'");
6807  }
6808  arg3 = (int)(val3);
6809  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
6810  if (!SWIG_IsOK(ecode4)) {
6811  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaWrite8" "', argument " "4"" of type '" "uint_t""'");
6812  }
6813  arg4 = (uint_t)(val4);
6814  ecode5 = SWIG_AsVal_unsigned_SS_char(obj4, &val5);
6815  if (!SWIG_IsOK(ecode5)) {
6816  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "bsDynaWrite8" "', argument " "5"" of type '" "byte_t""'");
6817  }
6818  arg5 = (byte_t)(val5);
6819  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_int, 0 | 0 );
6820  if (!SWIG_IsOK(res6)) {
6821  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "bsDynaWrite8" "', argument " "6"" of type '" "uint_t *""'");
6822  }
6823  arg6 = (uint_t *)(argp6);
6824  result = (int)bsDynaWrite8(arg1,arg2,arg3,arg4,arg5,arg6);
6825  resultobj = SWIG_From_int((int)(result));
6826  return resultobj;
6827 fail:
6828  return NULL;
6829 }
6830 
6831 
6832 SWIGINTERN PyObject *_wrap_bsDynaRead16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6833  PyObject *resultobj = 0;
6834  BsClient_P arg1 = (BsClient_P) 0 ;
6835  BsVConnHnd_T arg2 ;
6836  int arg3 ;
6837  uint_t arg4 ;
6838  ushort_t *arg5 = (ushort_t *) 0 ;
6839  uint_t *arg6 = (uint_t *) 0 ;
6840  void *argp1 = 0 ;
6841  int res1 = 0 ;
6842  int val2 ;
6843  int ecode2 = 0 ;
6844  int val3 ;
6845  int ecode3 = 0 ;
6846  unsigned int val4 ;
6847  int ecode4 = 0 ;
6848  void *argp5 = 0 ;
6849  int res5 = 0 ;
6850  void *argp6 = 0 ;
6851  int res6 = 0 ;
6852  PyObject * obj0 = 0 ;
6853  PyObject * obj1 = 0 ;
6854  PyObject * obj2 = 0 ;
6855  PyObject * obj3 = 0 ;
6856  PyObject * obj4 = 0 ;
6857  PyObject * obj5 = 0 ;
6858  int result;
6859 
6860  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:bsDynaRead16",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6861  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6862  if (!SWIG_IsOK(res1)) {
6863  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaRead16" "', argument " "1"" of type '" "BsClient_P""'");
6864  }
6865  arg1 = (BsClient_P)(argp1);
6866  ecode2 = SWIG_AsVal_int(obj1, &val2);
6867  if (!SWIG_IsOK(ecode2)) {
6868  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaRead16" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6869  }
6870  arg2 = (BsVConnHnd_T)(val2);
6871  ecode3 = SWIG_AsVal_int(obj2, &val3);
6872  if (!SWIG_IsOK(ecode3)) {
6873  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaRead16" "', argument " "3"" of type '" "int""'");
6874  }
6875  arg3 = (int)(val3);
6876  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
6877  if (!SWIG_IsOK(ecode4)) {
6878  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaRead16" "', argument " "4"" of type '" "uint_t""'");
6879  }
6880  arg4 = (uint_t)(val4);
6881  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_short, 0 | 0 );
6882  if (!SWIG_IsOK(res5)) {
6883  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "bsDynaRead16" "', argument " "5"" of type '" "ushort_t *""'");
6884  }
6885  arg5 = (ushort_t *)(argp5);
6886  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_int, 0 | 0 );
6887  if (!SWIG_IsOK(res6)) {
6888  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "bsDynaRead16" "', argument " "6"" of type '" "uint_t *""'");
6889  }
6890  arg6 = (uint_t *)(argp6);
6891  result = (int)bsDynaRead16(arg1,arg2,arg3,arg4,arg5,arg6);
6892  resultobj = SWIG_From_int((int)(result));
6893  return resultobj;
6894 fail:
6895  return NULL;
6896 }
6897 
6898 
6899 SWIGINTERN PyObject *_wrap_bsDynaWrite16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6900  PyObject *resultobj = 0;
6901  BsClient_P arg1 = (BsClient_P) 0 ;
6902  BsVConnHnd_T arg2 ;
6903  int arg3 ;
6904  uint_t arg4 ;
6905  ushort_t arg5 ;
6906  uint_t *arg6 = (uint_t *) 0 ;
6907  void *argp1 = 0 ;
6908  int res1 = 0 ;
6909  int val2 ;
6910  int ecode2 = 0 ;
6911  int val3 ;
6912  int ecode3 = 0 ;
6913  unsigned int val4 ;
6914  int ecode4 = 0 ;
6915  unsigned short val5 ;
6916  int ecode5 = 0 ;
6917  void *argp6 = 0 ;
6918  int res6 = 0 ;
6919  PyObject * obj0 = 0 ;
6920  PyObject * obj1 = 0 ;
6921  PyObject * obj2 = 0 ;
6922  PyObject * obj3 = 0 ;
6923  PyObject * obj4 = 0 ;
6924  PyObject * obj5 = 0 ;
6925  int result;
6926 
6927  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:bsDynaWrite16",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6929  if (!SWIG_IsOK(res1)) {
6930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaWrite16" "', argument " "1"" of type '" "BsClient_P""'");
6931  }
6932  arg1 = (BsClient_P)(argp1);
6933  ecode2 = SWIG_AsVal_int(obj1, &val2);
6934  if (!SWIG_IsOK(ecode2)) {
6935  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaWrite16" "', argument " "2"" of type '" "BsVConnHnd_T""'");
6936  }
6937  arg2 = (BsVConnHnd_T)(val2);
6938  ecode3 = SWIG_AsVal_int(obj2, &val3);
6939  if (!SWIG_IsOK(ecode3)) {
6940  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaWrite16" "', argument " "3"" of type '" "int""'");
6941  }
6942  arg3 = (int)(val3);
6943  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
6944  if (!SWIG_IsOK(ecode4)) {
6945  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaWrite16" "', argument " "4"" of type '" "uint_t""'");
6946  }
6947  arg4 = (uint_t)(val4);
6948  ecode5 = SWIG_AsVal_unsigned_SS_short(obj4, &val5);
6949  if (!SWIG_IsOK(ecode5)) {
6950  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "bsDynaWrite16" "', argument " "5"" of type '" "ushort_t""'");
6951  }
6952  arg5 = (ushort_t)(val5);
6953  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_int, 0 | 0 );
6954  if (!SWIG_IsOK(res6)) {
6955  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "bsDynaWrite16" "', argument " "6"" of type '" "uint_t *""'");
6956  }
6957  arg6 = (uint_t *)(argp6);
6958  result = (int)bsDynaWrite16(arg1,arg2,arg3,arg4,arg5,arg6);
6959  resultobj = SWIG_From_int((int)(result));
6960  return resultobj;
6961 fail:
6962  return NULL;
6963 }
6964 
6965 
6966 SWIGINTERN PyObject *_wrap_bsDynaSyncWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6967  PyObject *resultobj = 0;
6968  BsClient_P arg1 = (BsClient_P) 0 ;
6969  BsVConnHnd_T arg2 ;
6970  uint_t arg3 ;
6971  uint_t arg4 ;
6972  DynaSyncWriteTuple_T *arg5 ;
6973  uint_t arg6 ;
6974  void *argp1 = 0 ;
6975  int res1 = 0 ;
6976  int val2 ;
6977  int ecode2 = 0 ;
6978  unsigned int val3 ;
6979  int ecode3 = 0 ;
6980  unsigned int val4 ;
6981  int ecode4 = 0 ;
6982  void *argp5 = 0 ;
6983  int res5 = 0 ;
6984  unsigned int val6 ;
6985  int ecode6 = 0 ;
6986  PyObject * obj0 = 0 ;
6987  PyObject * obj1 = 0 ;
6988  PyObject * obj2 = 0 ;
6989  PyObject * obj3 = 0 ;
6990  PyObject * obj4 = 0 ;
6991  PyObject * obj5 = 0 ;
6992  int result;
6993 
6994  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:bsDynaSyncWrite",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6995  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
6996  if (!SWIG_IsOK(res1)) {
6997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaSyncWrite" "', argument " "1"" of type '" "BsClient_P""'");
6998  }
6999  arg1 = (BsClient_P)(argp1);
7000  ecode2 = SWIG_AsVal_int(obj1, &val2);
7001  if (!SWIG_IsOK(ecode2)) {
7002  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaSyncWrite" "', argument " "2"" of type '" "BsVConnHnd_T""'");
7003  }
7004  arg2 = (BsVConnHnd_T)(val2);
7005  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
7006  if (!SWIG_IsOK(ecode3)) {
7007  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaSyncWrite" "', argument " "3"" of type '" "uint_t""'");
7008  }
7009  arg3 = (uint_t)(val3);
7010  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7011  if (!SWIG_IsOK(ecode4)) {
7012  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bsDynaSyncWrite" "', argument " "4"" of type '" "uint_t""'");
7013  }
7014  arg4 = (uint_t)(val4);
7015  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_DynaSyncWriteTuple_T, 0 | 0 );
7016  if (!SWIG_IsOK(res5)) {
7017  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "bsDynaSyncWrite" "', argument " "5"" of type '" "DynaSyncWriteTuple_T []""'");
7018  }
7019  arg5 = (DynaSyncWriteTuple_T *)(argp5);
7020  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
7021  if (!SWIG_IsOK(ecode6)) {
7022  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "bsDynaSyncWrite" "', argument " "6"" of type '" "uint_t""'");
7023  }
7024  arg6 = (uint_t)(val6);
7025  result = (int)bsDynaSyncWrite(arg1,arg2,arg3,arg4,arg5,arg6);
7026  resultobj = SWIG_From_int((int)(result));
7027  return resultobj;
7028 fail:
7029  return NULL;
7030 }
7031 
7032 
7033 SWIGINTERN PyObject *_wrap_bsDynaPing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7034  PyObject *resultobj = 0;
7035  BsClient_P arg1 = (BsClient_P) 0 ;
7036  BsVConnHnd_T arg2 ;
7037  int arg3 ;
7038  bool_t *arg4 = (bool_t *) 0 ;
7039  void *argp1 = 0 ;
7040  int res1 = 0 ;
7041  int val2 ;
7042  int ecode2 = 0 ;
7043  int val3 ;
7044  int ecode3 = 0 ;
7045  void *argp4 = 0 ;
7046  int res4 = 0 ;
7047  PyObject * obj0 = 0 ;
7048  PyObject * obj1 = 0 ;
7049  PyObject * obj2 = 0 ;
7050  PyObject * obj3 = 0 ;
7051  int result;
7052 
7053  if (!PyArg_ParseTuple(args,(char *)"OOOO:bsDynaPing",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
7055  if (!SWIG_IsOK(res1)) {
7056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaPing" "', argument " "1"" of type '" "BsClient_P""'");
7057  }
7058  arg1 = (BsClient_P)(argp1);
7059  ecode2 = SWIG_AsVal_int(obj1, &val2);
7060  if (!SWIG_IsOK(ecode2)) {
7061  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaPing" "', argument " "2"" of type '" "BsVConnHnd_T""'");
7062  }
7063  arg2 = (BsVConnHnd_T)(val2);
7064  ecode3 = SWIG_AsVal_int(obj2, &val3);
7065  if (!SWIG_IsOK(ecode3)) {
7066  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaPing" "', argument " "3"" of type '" "int""'");
7067  }
7068  arg3 = (int)(val3);
7069  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
7070  if (!SWIG_IsOK(res4)) {
7071  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "bsDynaPing" "', argument " "4"" of type '" "bool_t *""'");
7072  }
7073  arg4 = (bool_t *)(argp4);
7074  result = (int)bsDynaPing(arg1,arg2,arg3,arg4);
7075  resultobj = SWIG_From_int((int)(result));
7076  return resultobj;
7077 fail:
7078  return NULL;
7079 }
7080 
7081 
7082 SWIGINTERN PyObject *_wrap_bsDynaReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7083  PyObject *resultobj = 0;
7084  BsClient_P arg1 = (BsClient_P) 0 ;
7085  BsVConnHnd_T arg2 ;
7086  int arg3 ;
7087  void *argp1 = 0 ;
7088  int res1 = 0 ;
7089  int val2 ;
7090  int ecode2 = 0 ;
7091  int val3 ;
7092  int ecode3 = 0 ;
7093  PyObject * obj0 = 0 ;
7094  PyObject * obj1 = 0 ;
7095  PyObject * obj2 = 0 ;
7096  int result;
7097 
7098  if (!PyArg_ParseTuple(args,(char *)"OOO:bsDynaReset",&obj0,&obj1,&obj2)) SWIG_fail;
7099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
7100  if (!SWIG_IsOK(res1)) {
7101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaReset" "', argument " "1"" of type '" "BsClient_P""'");
7102  }
7103  arg1 = (BsClient_P)(argp1);
7104  ecode2 = SWIG_AsVal_int(obj1, &val2);
7105  if (!SWIG_IsOK(ecode2)) {
7106  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaReset" "', argument " "2"" of type '" "BsVConnHnd_T""'");
7107  }
7108  arg2 = (BsVConnHnd_T)(val2);
7109  ecode3 = SWIG_AsVal_int(obj2, &val3);
7110  if (!SWIG_IsOK(ecode3)) {
7111  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaReset" "', argument " "3"" of type '" "int""'");
7112  }
7113  arg3 = (int)(val3);
7114  result = (int)bsDynaReset(arg1,arg2,arg3);
7115  resultobj = SWIG_From_int((int)(result));
7116  return resultobj;
7117 fail:
7118  return NULL;
7119 }
7120 
7121 
7122 SWIGINTERN PyObject *_wrap_bsDynaSetHalfDuplexCtl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123  PyObject *resultobj = 0;
7124  BsClient_P arg1 = (BsClient_P) 0 ;
7125  BsVConnHnd_T arg2 ;
7126  int arg3 ;
7127  void *argp1 = 0 ;
7128  int res1 = 0 ;
7129  int val2 ;
7130  int ecode2 = 0 ;
7131  int val3 ;
7132  int ecode3 = 0 ;
7133  PyObject * obj0 = 0 ;
7134  PyObject * obj1 = 0 ;
7135  PyObject * obj2 = 0 ;
7136  int result;
7137 
7138  if (!PyArg_ParseTuple(args,(char *)"OOO:bsDynaSetHalfDuplexCtl",&obj0,&obj1,&obj2)) SWIG_fail;
7139  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__bsClientStruct, 0 | 0 );
7140  if (!SWIG_IsOK(res1)) {
7141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "bsDynaSetHalfDuplexCtl" "', argument " "1"" of type '" "BsClient_P""'");
7142  }
7143  arg1 = (BsClient_P)(argp1);
7144  ecode2 = SWIG_AsVal_int(obj1, &val2);
7145  if (!SWIG_IsOK(ecode2)) {
7146  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "bsDynaSetHalfDuplexCtl" "', argument " "2"" of type '" "BsVConnHnd_T""'");
7147  }
7148  arg2 = (BsVConnHnd_T)(val2);
7149  ecode3 = SWIG_AsVal_int(obj2, &val3);
7150  if (!SWIG_IsOK(ecode3)) {
7151  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "bsDynaSetHalfDuplexCtl" "', argument " "3"" of type '" "int""'");
7152  }
7153  arg3 = (int)(val3);
7154  result = (int)bsDynaSetHalfDuplexCtl(arg1,arg2,arg3);
7155  resultobj = SWIG_From_int((int)(result));
7156  return resultobj;
7157 fail:
7158  return NULL;
7159 }
7160 
7161 
7162 SWIGINTERN PyObject *_wrap_new_uintArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7163  PyObject *resultobj = 0;
7164  size_t arg1 ;
7165  size_t val1 ;
7166  int ecode1 = 0 ;
7167  PyObject * obj0 = 0 ;
7168  uint_t *result = 0 ;
7169 
7170  if (!PyArg_ParseTuple(args,(char *)"O:new_uintArray",&obj0)) SWIG_fail;
7171  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
7172  if (!SWIG_IsOK(ecode1)) {
7173  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_uintArray" "', argument " "1"" of type '" "size_t""'");
7174  }
7175  arg1 = (size_t)(val1);
7176  result = (uint_t *)new_uintArray(arg1);
7177  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 );
7178  return resultobj;
7179 fail:
7180  return NULL;
7181 }
7182 
7183 
7184 SWIGINTERN PyObject *_wrap_delete_uintArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7185  PyObject *resultobj = 0;
7186  uint_t *arg1 = (uint_t *) 0 ;
7187  void *argp1 = 0 ;
7188  int res1 = 0 ;
7189  PyObject * obj0 = 0 ;
7190 
7191  if (!PyArg_ParseTuple(args,(char *)"O:delete_uintArray",&obj0)) SWIG_fail;
7192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7193  if (!SWIG_IsOK(res1)) {
7194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_uintArray" "', argument " "1"" of type '" "uint_t *""'");
7195  }
7196  arg1 = (uint_t *)(argp1);
7197  delete_uintArray(arg1);
7198  resultobj = SWIG_Py_Void();
7199  return resultobj;
7200 fail:
7201  return NULL;
7202 }
7203 
7204 
7205 SWIGINTERN PyObject *_wrap_uintArray_getitem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7206  PyObject *resultobj = 0;
7207  uint_t *arg1 = (uint_t *) 0 ;
7208  size_t arg2 ;
7209  void *argp1 = 0 ;
7210  int res1 = 0 ;
7211  size_t val2 ;
7212  int ecode2 = 0 ;
7213  PyObject * obj0 = 0 ;
7214  PyObject * obj1 = 0 ;
7215  uint_t result;
7216 
7217  if (!PyArg_ParseTuple(args,(char *)"OO:uintArray_getitem",&obj0,&obj1)) SWIG_fail;
7218  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7219  if (!SWIG_IsOK(res1)) {
7220  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "uintArray_getitem" "', argument " "1"" of type '" "uint_t *""'");
7221  }
7222  arg1 = (uint_t *)(argp1);
7223  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7224  if (!SWIG_IsOK(ecode2)) {
7225  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "uintArray_getitem" "', argument " "2"" of type '" "size_t""'");
7226  }
7227  arg2 = (size_t)(val2);
7228  result = (uint_t)uintArray_getitem(arg1,arg2);
7229  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
7230  return resultobj;
7231 fail:
7232  return NULL;
7233 }
7234 
7235 
7236 SWIGINTERN PyObject *_wrap_uintArray_setitem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7237  PyObject *resultobj = 0;
7238  uint_t *arg1 = (uint_t *) 0 ;
7239  size_t arg2 ;
7240  uint_t arg3 ;
7241  void *argp1 = 0 ;
7242  int res1 = 0 ;
7243  size_t val2 ;
7244  int ecode2 = 0 ;
7245  unsigned int val3 ;
7246  int ecode3 = 0 ;
7247  PyObject * obj0 = 0 ;
7248  PyObject * obj1 = 0 ;
7249  PyObject * obj2 = 0 ;
7250 
7251  if (!PyArg_ParseTuple(args,(char *)"OOO:uintArray_setitem",&obj0,&obj1,&obj2)) SWIG_fail;
7252  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7253  if (!SWIG_IsOK(res1)) {
7254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "uintArray_setitem" "', argument " "1"" of type '" "uint_t *""'");
7255  }
7256  arg1 = (uint_t *)(argp1);
7257  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7258  if (!SWIG_IsOK(ecode2)) {
7259  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "uintArray_setitem" "', argument " "2"" of type '" "size_t""'");
7260  }
7261  arg2 = (size_t)(val2);
7262  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
7263  if (!SWIG_IsOK(ecode3)) {
7264  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "uintArray_setitem" "', argument " "3"" of type '" "uint_t""'");
7265  }
7266  arg3 = (uint_t)(val3);
7267  uintArray_setitem(arg1,arg2,arg3);
7268  resultobj = SWIG_Py_Void();
7269  return resultobj;
7270 fail:
7271  return NULL;
7272 }
7273 
7274 
7275 SWIGINTERN PyObject *_wrap_new_boolArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7276  PyObject *resultobj = 0;
7277  size_t arg1 ;
7278  size_t val1 ;
7279  int ecode1 = 0 ;
7280  PyObject * obj0 = 0 ;
7281  bool_t *result = 0 ;
7282 
7283  if (!PyArg_ParseTuple(args,(char *)"O:new_boolArray",&obj0)) SWIG_fail;
7284  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
7285  if (!SWIG_IsOK(ecode1)) {
7286  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_boolArray" "', argument " "1"" of type '" "size_t""'");
7287  }
7288  arg1 = (size_t)(val1);
7289  result = (bool_t *)new_boolArray(arg1);
7290  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
7291  return resultobj;
7292 fail:
7293  return NULL;
7294 }
7295 
7296 
7297 SWIGINTERN PyObject *_wrap_delete_boolArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7298  PyObject *resultobj = 0;
7299  bool_t *arg1 = (bool_t *) 0 ;
7300  void *argp1 = 0 ;
7301  int res1 = 0 ;
7302  PyObject * obj0 = 0 ;
7303 
7304  if (!PyArg_ParseTuple(args,(char *)"O:delete_boolArray",&obj0)) SWIG_fail;
7305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7306  if (!SWIG_IsOK(res1)) {
7307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_boolArray" "', argument " "1"" of type '" "bool_t *""'");
7308  }
7309  arg1 = (bool_t *)(argp1);
7310  delete_boolArray(arg1);
7311  resultobj = SWIG_Py_Void();
7312  return resultobj;
7313 fail:
7314  return NULL;
7315 }
7316 
7317 
7318 SWIGINTERN PyObject *_wrap_boolArray_getitem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7319  PyObject *resultobj = 0;
7320  bool_t *arg1 = (bool_t *) 0 ;
7321  size_t arg2 ;
7322  void *argp1 = 0 ;
7323  int res1 = 0 ;
7324  size_t val2 ;
7325  int ecode2 = 0 ;
7326  PyObject * obj0 = 0 ;
7327  PyObject * obj1 = 0 ;
7328  bool_t result;
7329 
7330  if (!PyArg_ParseTuple(args,(char *)"OO:boolArray_getitem",&obj0,&obj1)) SWIG_fail;
7331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7332  if (!SWIG_IsOK(res1)) {
7333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "boolArray_getitem" "', argument " "1"" of type '" "bool_t *""'");
7334  }
7335  arg1 = (bool_t *)(argp1);
7336  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7337  if (!SWIG_IsOK(ecode2)) {
7338  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "boolArray_getitem" "', argument " "2"" of type '" "size_t""'");
7339  }
7340  arg2 = (size_t)(val2);
7341  result = (bool_t)boolArray_getitem(arg1,arg2);
7342  resultobj = SWIG_From_int((int)(result));
7343  return resultobj;
7344 fail:
7345  return NULL;
7346 }
7347 
7348 
7349 SWIGINTERN PyObject *_wrap_boolArray_setitem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7350  PyObject *resultobj = 0;
7351  bool_t *arg1 = (bool_t *) 0 ;
7352  size_t arg2 ;
7353  bool_t arg3 ;
7354  void *argp1 = 0 ;
7355  int res1 = 0 ;
7356  size_t val2 ;
7357  int ecode2 = 0 ;
7358  int val3 ;
7359  int ecode3 = 0 ;
7360  PyObject * obj0 = 0 ;
7361  PyObject * obj1 = 0 ;
7362  PyObject * obj2 = 0 ;
7363 
7364  if (!PyArg_ParseTuple(args,(char *)"OOO:boolArray_setitem",&obj0,&obj1,&obj2)) SWIG_fail;
7365  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7366  if (!SWIG_IsOK(res1)) {
7367  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "boolArray_setitem" "', argument " "1"" of type '" "bool_t *""'");
7368  }
7369  arg1 = (bool_t *)(argp1);
7370  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7371  if (!SWIG_IsOK(ecode2)) {
7372  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "boolArray_setitem" "', argument " "2"" of type '" "size_t""'");
7373  }
7374  arg2 = (size_t)(val2);
7375  ecode3 = SWIG_AsVal_int(obj2, &val3);
7376  if (!SWIG_IsOK(ecode3)) {
7377  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "boolArray_setitem" "', argument " "3"" of type '" "bool_t""'");
7378  }
7379  arg3 = (bool_t)(val3);
7380  boolArray_setitem(arg1,arg2,arg3);
7381  resultobj = SWIG_Py_Void();
7382  return resultobj;
7383 fail:
7384  return NULL;
7385 }
7386 
7387 
7388 SWIGINTERN PyObject *_wrap_new_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7389  PyObject *resultobj = 0;
7390  int *result = 0 ;
7391 
7392  if (!PyArg_ParseTuple(args,(char *)":new_intp")) SWIG_fail;
7393  result = (int *)new_intp();
7394  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
7395  return resultobj;
7396 fail:
7397  return NULL;
7398 }
7399 
7400 
7401 SWIGINTERN PyObject *_wrap_copy_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7402  PyObject *resultobj = 0;
7403  int arg1 ;
7404  int val1 ;
7405  int ecode1 = 0 ;
7406  PyObject * obj0 = 0 ;
7407  int *result = 0 ;
7408 
7409  if (!PyArg_ParseTuple(args,(char *)"O:copy_intp",&obj0)) SWIG_fail;
7410  ecode1 = SWIG_AsVal_int(obj0, &val1);
7411  if (!SWIG_IsOK(ecode1)) {
7412  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "copy_intp" "', argument " "1"" of type '" "int""'");
7413  }
7414  arg1 = (int)(val1);
7415  result = (int *)copy_intp(arg1);
7416  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
7417  return resultobj;
7418 fail:
7419  return NULL;
7420 }
7421 
7422 
7423 SWIGINTERN PyObject *_wrap_delete_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7424  PyObject *resultobj = 0;
7425  int *arg1 = (int *) 0 ;
7426  void *argp1 = 0 ;
7427  int res1 = 0 ;
7428  PyObject * obj0 = 0 ;
7429 
7430  if (!PyArg_ParseTuple(args,(char *)"O:delete_intp",&obj0)) SWIG_fail;
7431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7432  if (!SWIG_IsOK(res1)) {
7433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intp" "', argument " "1"" of type '" "int *""'");
7434  }
7435  arg1 = (int *)(argp1);
7436  delete_intp(arg1);
7437  resultobj = SWIG_Py_Void();
7438  return resultobj;
7439 fail:
7440  return NULL;
7441 }
7442 
7443 
7444 SWIGINTERN PyObject *_wrap_intp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7445  PyObject *resultobj = 0;
7446  int *arg1 = (int *) 0 ;
7447  int arg2 ;
7448  void *argp1 = 0 ;
7449  int res1 = 0 ;
7450  int val2 ;
7451  int ecode2 = 0 ;
7452  PyObject * obj0 = 0 ;
7453  PyObject * obj1 = 0 ;
7454 
7455  if (!PyArg_ParseTuple(args,(char *)"OO:intp_assign",&obj0,&obj1)) SWIG_fail;
7456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7457  if (!SWIG_IsOK(res1)) {
7458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_assign" "', argument " "1"" of type '" "int *""'");
7459  }
7460  arg1 = (int *)(argp1);
7461  ecode2 = SWIG_AsVal_int(obj1, &val2);
7462  if (!SWIG_IsOK(ecode2)) {
7463  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intp_assign" "', argument " "2"" of type '" "int""'");
7464  }
7465  arg2 = (int)(val2);
7466  intp_assign(arg1,arg2);
7467  resultobj = SWIG_Py_Void();
7468  return resultobj;
7469 fail:
7470  return NULL;
7471 }
7472 
7473 
7474 SWIGINTERN PyObject *_wrap_intp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7475  PyObject *resultobj = 0;
7476  int *arg1 = (int *) 0 ;
7477  void *argp1 = 0 ;
7478  int res1 = 0 ;
7479  PyObject * obj0 = 0 ;
7480  int result;
7481 
7482  if (!PyArg_ParseTuple(args,(char *)"O:intp_value",&obj0)) SWIG_fail;
7483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 );
7484  if (!SWIG_IsOK(res1)) {
7485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_value" "', argument " "1"" of type '" "int *""'");
7486  }
7487  arg1 = (int *)(argp1);
7488  result = (int)intp_value(arg1);
7489  resultobj = SWIG_From_int((int)(result));
7490  return resultobj;
7491 fail:
7492  return NULL;
7493 }
7494 
7495 
7496 SWIGINTERN PyObject *_wrap_new_uintp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7497  PyObject *resultobj = 0;
7498  uint_t *result = 0 ;
7499 
7500  if (!PyArg_ParseTuple(args,(char *)":new_uintp")) SWIG_fail;
7501  result = (uint_t *)new_uintp();
7502  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 );
7503  return resultobj;
7504 fail:
7505  return NULL;
7506 }
7507 
7508 
7509 SWIGINTERN PyObject *_wrap_copy_uintp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7510  PyObject *resultobj = 0;
7511  uint_t arg1 ;
7512  unsigned int val1 ;
7513  int ecode1 = 0 ;
7514  PyObject * obj0 = 0 ;
7515  uint_t *result = 0 ;
7516 
7517  if (!PyArg_ParseTuple(args,(char *)"O:copy_uintp",&obj0)) SWIG_fail;
7518  ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
7519  if (!SWIG_IsOK(ecode1)) {
7520  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "copy_uintp" "', argument " "1"" of type '" "uint_t""'");
7521  }
7522  arg1 = (uint_t)(val1);
7523  result = (uint_t *)copy_uintp(arg1);
7524  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 );
7525  return resultobj;
7526 fail:
7527  return NULL;
7528 }
7529 
7530 
7531 SWIGINTERN PyObject *_wrap_delete_uintp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7532  PyObject *resultobj = 0;
7533  uint_t *arg1 = (uint_t *) 0 ;
7534  void *argp1 = 0 ;
7535  int res1 = 0 ;
7536  PyObject * obj0 = 0 ;
7537 
7538  if (!PyArg_ParseTuple(args,(char *)"O:delete_uintp",&obj0)) SWIG_fail;
7539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7540  if (!SWIG_IsOK(res1)) {
7541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_uintp" "', argument " "1"" of type '" "uint_t *""'");
7542  }
7543  arg1 = (uint_t *)(argp1);
7544  delete_uintp(arg1);
7545  resultobj = SWIG_Py_Void();
7546  return resultobj;
7547 fail:
7548  return NULL;
7549 }
7550 
7551 
7552 SWIGINTERN PyObject *_wrap_uintp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7553  PyObject *resultobj = 0;
7554  uint_t *arg1 = (uint_t *) 0 ;
7555  uint_t arg2 ;
7556  void *argp1 = 0 ;
7557  int res1 = 0 ;
7558  unsigned int val2 ;
7559  int ecode2 = 0 ;
7560  PyObject * obj0 = 0 ;
7561  PyObject * obj1 = 0 ;
7562 
7563  if (!PyArg_ParseTuple(args,(char *)"OO:uintp_assign",&obj0,&obj1)) SWIG_fail;
7564  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7565  if (!SWIG_IsOK(res1)) {
7566  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "uintp_assign" "', argument " "1"" of type '" "uint_t *""'");
7567  }
7568  arg1 = (uint_t *)(argp1);
7569  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
7570  if (!SWIG_IsOK(ecode2)) {
7571  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "uintp_assign" "', argument " "2"" of type '" "uint_t""'");
7572  }
7573  arg2 = (uint_t)(val2);
7574  uintp_assign(arg1,arg2);
7575  resultobj = SWIG_Py_Void();
7576  return resultobj;
7577 fail:
7578  return NULL;
7579 }
7580 
7581 
7582 SWIGINTERN PyObject *_wrap_uintp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7583  PyObject *resultobj = 0;
7584  uint_t *arg1 = (uint_t *) 0 ;
7585  void *argp1 = 0 ;
7586  int res1 = 0 ;
7587  PyObject * obj0 = 0 ;
7588  uint_t result;
7589 
7590  if (!PyArg_ParseTuple(args,(char *)"O:uintp_value",&obj0)) SWIG_fail;
7591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
7592  if (!SWIG_IsOK(res1)) {
7593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "uintp_value" "', argument " "1"" of type '" "uint_t *""'");
7594  }
7595  arg1 = (uint_t *)(argp1);
7596  result = (uint_t)uintp_value(arg1);
7597  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
7598  return resultobj;
7599 fail:
7600  return NULL;
7601 }
7602 
7603 
7604 static PyMethodDef SwigMethods[] = {
7605  { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
7606  { (char *)"DYNA_OK_swigconstant", DYNA_OK_swigconstant, METH_VARARGS, NULL},
7607  { (char *)"DYNA_ECODE_GEN_swigconstant", DYNA_ECODE_GEN_swigconstant, METH_VARARGS, NULL},
7608  { (char *)"DYNA_ECODE_SYS_swigconstant", DYNA_ECODE_SYS_swigconstant, METH_VARARGS, NULL},
7609  { (char *)"DYNA_ECODE_INTERNAL_swigconstant", DYNA_ECODE_INTERNAL_swigconstant, METH_VARARGS, NULL},
7610  { (char *)"DYNA_ECODE_BADEC_swigconstant", DYNA_ECODE_BADEC_swigconstant, METH_VARARGS, NULL},
7611  { (char *)"DYNA_ECODE_BAD_UNITS_swigconstant", DYNA_ECODE_BAD_UNITS_swigconstant, METH_VARARGS, NULL},
7612  { (char *)"DYNA_ECODE_BAD_VAL_swigconstant", DYNA_ECODE_BAD_VAL_swigconstant, METH_VARARGS, NULL},
7613  { (char *)"DYNA_ECODE_NO_SERVO_swigconstant", DYNA_ECODE_NO_SERVO_swigconstant, METH_VARARGS, NULL},
7614  { (char *)"DYNA_ECODE_BAD_DEV_swigconstant", DYNA_ECODE_BAD_DEV_swigconstant, METH_VARARGS, NULL},
7615  { (char *)"DYNA_ECODE_BADF_swigconstant", DYNA_ECODE_BADF_swigconstant, METH_VARARGS, NULL},
7616  { (char *)"DYNA_ECODE_ECOMM_swigconstant", DYNA_ECODE_ECOMM_swigconstant, METH_VARARGS, NULL},
7617  { (char *)"DYNA_ECODE_TX_FAIL_swigconstant", DYNA_ECODE_TX_FAIL_swigconstant, METH_VARARGS, NULL},
7618  { (char *)"DYNA_ECODE_RX_FAIL_swigconstant", DYNA_ECODE_RX_FAIL_swigconstant, METH_VARARGS, NULL},
7619  { (char *)"DYNA_ECODE_TX_ERROR_swigconstant", DYNA_ECODE_TX_ERROR_swigconstant, METH_VARARGS, NULL},
7620  { (char *)"DYNA_ECODE_RX_TIMEOUT_swigconstant", DYNA_ECODE_RX_TIMEOUT_swigconstant, METH_VARARGS, NULL},
7621  { (char *)"DYNA_ECODE_RX_BAD_PKT_swigconstant", DYNA_ECODE_RX_BAD_PKT_swigconstant, METH_VARARGS, NULL},
7622  { (char *)"DYNA_ECODE_ESERVO_swigconstant", DYNA_ECODE_ESERVO_swigconstant, METH_VARARGS, NULL},
7623  { (char *)"DYNA_ECODE_RSRC_swigconstant", DYNA_ECODE_RSRC_swigconstant, METH_VARARGS, NULL},
7624  { (char *)"DYNA_ECODE_NOT_SUPP_swigconstant", DYNA_ECODE_NOT_SUPP_swigconstant, METH_VARARGS, NULL},
7625  { (char *)"DYNA_ECODE_LINKED_swigconstant", DYNA_ECODE_LINKED_swigconstant, METH_VARARGS, NULL},
7626  { (char *)"DYNA_ECODE_SLAVE_swigconstant", DYNA_ECODE_SLAVE_swigconstant, METH_VARARGS, NULL},
7627  { (char *)"DYNA_ECODE_BOTSENSE_swigconstant", DYNA_ECODE_BOTSENSE_swigconstant, METH_VARARGS, NULL},
7628  { (char *)"DYNA_ECODE_PARSE_swigconstant", DYNA_ECODE_PARSE_swigconstant, METH_VARARGS, NULL},
7629  { (char *)"DYNA_ECODE_RUNTIME_swigconstant", DYNA_ECODE_RUNTIME_swigconstant, METH_VARARGS, NULL},
7630  { (char *)"DYNA_ECODE_NOEXEC_swigconstant", DYNA_ECODE_NOEXEC_swigconstant, METH_VARARGS, NULL},
7631  { (char *)"DYNA_ECODE_NUMOF_swigconstant", DYNA_ECODE_NUMOF_swigconstant, METH_VARARGS, NULL},
7632  { (char *)"DYNA_MODEL_NUM_GENERIC_swigconstant", DYNA_MODEL_NUM_GENERIC_swigconstant, METH_VARARGS, NULL},
7633  { (char *)"DYNA_FWVER_NA_swigconstant", DYNA_FWVER_NA_swigconstant, METH_VARARGS, NULL},
7634  { (char *)"DYNA_ID_NONE_swigconstant", DYNA_ID_NONE_swigconstant, METH_VARARGS, NULL},
7635  { (char *)"DYNA_ID_MIN_swigconstant", DYNA_ID_MIN_swigconstant, METH_VARARGS, NULL},
7636  { (char *)"DYNA_ID_MAX_swigconstant", DYNA_ID_MAX_swigconstant, METH_VARARGS, NULL},
7637  { (char *)"DYNA_ID_NUMOF_swigconstant", DYNA_ID_NUMOF_swigconstant, METH_VARARGS, NULL},
7638  { (char *)"DYNA_ID_BROADCAST_swigconstant", DYNA_ID_BROADCAST_swigconstant, METH_VARARGS, NULL},
7639  { (char *)"DYNA_ID_RESERVED_swigconstant", DYNA_ID_RESERVED_swigconstant, METH_VARARGS, NULL},
7640  { (char *)"DYNA_ID_MASK_swigconstant", DYNA_ID_MASK_swigconstant, METH_VARARGS, NULL},
7641  { (char *)"DYNA_MODE_SERVO_swigconstant", DYNA_MODE_SERVO_swigconstant, METH_VARARGS, NULL},
7642  { (char *)"DYNA_MODE_CONTINUOUS_swigconstant", DYNA_MODE_CONTINUOUS_swigconstant, METH_VARARGS, NULL},
7643  { (char *)"DYNA_LINK_NONE_swigconstant", DYNA_LINK_NONE_swigconstant, METH_VARARGS, NULL},
7644  { (char *)"DYNA_LINK_MASTER_swigconstant", DYNA_LINK_MASTER_swigconstant, METH_VARARGS, NULL},
7645  { (char *)"DYNA_LINK_SLAVE_swigconstant", DYNA_LINK_SLAVE_swigconstant, METH_VARARGS, NULL},
7646  { (char *)"DYNA_DIR_CW_swigconstant", DYNA_DIR_CW_swigconstant, METH_VARARGS, NULL},
7647  { (char *)"DYNA_DIR_NONE_swigconstant", DYNA_DIR_NONE_swigconstant, METH_VARARGS, NULL},
7648  { (char *)"DYNA_DIR_CCW_swigconstant", DYNA_DIR_CCW_swigconstant, METH_VARARGS, NULL},
7649  { (char *)"DYNA_CTL_METHOD_NONE_swigconstant", DYNA_CTL_METHOD_NONE_swigconstant, METH_VARARGS, NULL},
7650  { (char *)"DYNA_CTL_METHOD_COMPLIANCE_swigconstant", DYNA_CTL_METHOD_COMPLIANCE_swigconstant, METH_VARARGS, NULL},
7651  { (char *)"DYNA_CTL_METHOD_PID_swigconstant", DYNA_CTL_METHOD_PID_swigconstant, METH_VARARGS, NULL},
7652  { (char *)"DYNA_POS_MASK_swigconstant", DYNA_POS_MASK_swigconstant, METH_VARARGS, NULL},
7653  { (char *)"DYNA_POS_MIN_RAW_swigconstant", DYNA_POS_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7654  { (char *)"DYNA_POS_MAX_RAW_swigconstant", DYNA_POS_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7655  { (char *)"DYNA_POS_MODULO_swigconstant", DYNA_POS_MODULO_swigconstant, METH_VARARGS, NULL},
7656  { (char *)"DYNA_POS_MIN_DEG_swigconstant", DYNA_POS_MIN_DEG_swigconstant, METH_VARARGS, NULL},
7657  { (char *)"DYNA_POS_MAX_DEG_swigconstant", DYNA_POS_MAX_DEG_swigconstant, METH_VARARGS, NULL},
7658  { (char *)"DYNA_SPEED_MASK_swigconstant", DYNA_SPEED_MASK_swigconstant, METH_VARARGS, NULL},
7659  { (char *)"DYNA_SPEED_CONT_STOP_swigconstant", DYNA_SPEED_CONT_STOP_swigconstant, METH_VARARGS, NULL},
7660  { (char *)"DYNA_SPEED_MAX_NO_CTL_swigconstant", DYNA_SPEED_MAX_NO_CTL_swigconstant, METH_VARARGS, NULL},
7661  { (char *)"DYNA_SPEED_MIN_CTL_swigconstant", DYNA_SPEED_MIN_CTL_swigconstant, METH_VARARGS, NULL},
7662  { (char *)"DYNA_SPEED_MAX_CTL_swigconstant", DYNA_SPEED_MAX_CTL_swigconstant, METH_VARARGS, NULL},
7663  { (char *)"DYNA_SPEED_MIN_RAW_swigconstant", DYNA_SPEED_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7664  { (char *)"DYNA_SPEED_MAX_RAW_swigconstant", DYNA_SPEED_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7665  { (char *)"DYNA_SPEED_RES_RPM_swigconstant", DYNA_SPEED_RES_RPM_swigconstant, METH_VARARGS, NULL},
7666  { (char *)"DYNA_SPEED_RES_PCT_swigconstant", DYNA_SPEED_RES_PCT_swigconstant, METH_VARARGS, NULL},
7667  { (char *)"DYNA_SPEED_RES_PMIL_swigconstant", DYNA_SPEED_RES_PMIL_swigconstant, METH_VARARGS, NULL},
7668  { (char *)"DYNA_TORQUE_MASK_swigconstant", DYNA_TORQUE_MASK_swigconstant, METH_VARARGS, NULL},
7669  { (char *)"DYNA_TORQUE_MIN_RAW_swigconstant", DYNA_TORQUE_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7670  { (char *)"DYNA_TORQUE_MAX_RAW_swigconstant", DYNA_TORQUE_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7671  { (char *)"DYNA_TORQUE_RES_PCT_swigconstant", DYNA_TORQUE_RES_PCT_swigconstant, METH_VARARGS, NULL},
7672  { (char *)"DYNA_TORQUE_RES_PMIL_swigconstant", DYNA_TORQUE_RES_PMIL_swigconstant, METH_VARARGS, NULL},
7673  { (char *)"DYNA_TEMP_MIN_RAW_swigconstant", DYNA_TEMP_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7674  { (char *)"DYNA_TEMP_MAX_RAW_swigconstant", DYNA_TEMP_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7675  { (char *)"DYNA_TEMP_MIN_C_swigconstant", DYNA_TEMP_MIN_C_swigconstant, METH_VARARGS, NULL},
7676  { (char *)"DYNA_TEMP_MAX_C_swigconstant", DYNA_TEMP_MAX_C_swigconstant, METH_VARARGS, NULL},
7677  { (char *)"DYNA_TEMP_RES_C_swigconstant", DYNA_TEMP_RES_C_swigconstant, METH_VARARGS, NULL},
7678  { (char *)"DYNA_VOLT_MIN_RAW_swigconstant", DYNA_VOLT_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7679  { (char *)"DYNA_VOLT_MAX_RAW_swigconstant", DYNA_VOLT_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7680  { (char *)"DYNA_VOLT_RES_V_swigconstant", DYNA_VOLT_RES_V_swigconstant, METH_VARARGS, NULL},
7681  { (char *)"DYNA_EEPROM_MIN_ADDR_swigconstant", DYNA_EEPROM_MIN_ADDR_swigconstant, METH_VARARGS, NULL},
7682  { (char *)"DYNA_EEPROM_MAX_ADDR_swigconstant", DYNA_EEPROM_MAX_ADDR_swigconstant, METH_VARARGS, NULL},
7683  { (char *)"DYNA_RAM_MIN_ADDR_swigconstant", DYNA_RAM_MIN_ADDR_swigconstant, METH_VARARGS, NULL},
7684  { (char *)"DYNA_RAM_MAX_ADDR_swigconstant", DYNA_RAM_MAX_ADDR_swigconstant, METH_VARARGS, NULL},
7685  { (char *)"DYNA_MEM_MAX_SIZ_swigconstant", DYNA_MEM_MAX_SIZ_swigconstant, METH_VARARGS, NULL},
7686  { (char *)"DYNA_ADDR_MODEL_NUM_LSB_swigconstant", DYNA_ADDR_MODEL_NUM_LSB_swigconstant, METH_VARARGS, NULL},
7687  { (char *)"DYNA_ADDR_MODEL_NUM_MSB_swigconstant", DYNA_ADDR_MODEL_NUM_MSB_swigconstant, METH_VARARGS, NULL},
7688  { (char *)"DYNA_ADDR_MODEL_NUM_MASK_swigconstant", DYNA_ADDR_MODEL_NUM_MASK_swigconstant, METH_VARARGS, NULL},
7689  { (char *)"DYNA_ADDR_FWVER_swigconstant", DYNA_ADDR_FWVER_swigconstant, METH_VARARGS, NULL},
7690  { (char *)"DYNA_ADDR_FWVER_MASK_swigconstant", DYNA_ADDR_FWVER_MASK_swigconstant, METH_VARARGS, NULL},
7691  { (char *)"DYNA_ADDR_ID_swigconstant", DYNA_ADDR_ID_swigconstant, METH_VARARGS, NULL},
7692  { (char *)"DYNA_ADDR_ID_MASK_swigconstant", DYNA_ADDR_ID_MASK_swigconstant, METH_VARARGS, NULL},
7693  { (char *)"DYNA_ADDR_BAUD_RATE_swigconstant", DYNA_ADDR_BAUD_RATE_swigconstant, METH_VARARGS, NULL},
7694  { (char *)"DYNA_ADDR_BAUD_RATE_MASK_swigconstant", DYNA_ADDR_BAUD_RATE_MASK_swigconstant, METH_VARARGS, NULL},
7695  { (char *)"DYNA_BAUDNUM_1000000_swigconstant", DYNA_BAUDNUM_1000000_swigconstant, METH_VARARGS, NULL},
7696  { (char *)"DYNA_BAUDNUM_500000_swigconstant", DYNA_BAUDNUM_500000_swigconstant, METH_VARARGS, NULL},
7697  { (char *)"DYNA_BAUDNUM_400000_swigconstant", DYNA_BAUDNUM_400000_swigconstant, METH_VARARGS, NULL},
7698  { (char *)"DYNA_BAUDNUM_250000_swigconstant", DYNA_BAUDNUM_250000_swigconstant, METH_VARARGS, NULL},
7699  { (char *)"DYNA_BAUDNUM_200000_swigconstant", DYNA_BAUDNUM_200000_swigconstant, METH_VARARGS, NULL},
7700  { (char *)"DYNA_BAUDNUM_115200_swigconstant", DYNA_BAUDNUM_115200_swigconstant, METH_VARARGS, NULL},
7701  { (char *)"DYNA_BAUDNUM_57600_swigconstant", DYNA_BAUDNUM_57600_swigconstant, METH_VARARGS, NULL},
7702  { (char *)"DYNA_BAUDNUM_19200_swigconstant", DYNA_BAUDNUM_19200_swigconstant, METH_VARARGS, NULL},
7703  { (char *)"DYNA_BAUDNUM_9600_swigconstant", DYNA_BAUDNUM_9600_swigconstant, METH_VARARGS, NULL},
7704  { (char *)"DYNA_BAUDNUM_EXT_2250000_swigconstant", DYNA_BAUDNUM_EXT_2250000_swigconstant, METH_VARARGS, NULL},
7705  { (char *)"DYNA_BAUDNUM_EXT_2500000_swigconstant", DYNA_BAUDNUM_EXT_2500000_swigconstant, METH_VARARGS, NULL},
7706  { (char *)"DYNA_BAUDNUM_EXT_3000000_swigconstant", DYNA_BAUDNUM_EXT_3000000_swigconstant, METH_VARARGS, NULL},
7707  { (char *)"DYNA_BAUDNUM_NUMOF_swigconstant", DYNA_BAUDNUM_NUMOF_swigconstant, METH_VARARGS, NULL},
7708  { (char *)"DYNA_BAUDNUM_DFT_swigconstant", DYNA_BAUDNUM_DFT_swigconstant, METH_VARARGS, NULL},
7709  { (char *)"DYNA_BAUDRATE_DFT_swigconstant", DYNA_BAUDRATE_DFT_swigconstant, METH_VARARGS, NULL},
7710  { (char *)"DYNA_ADDR_T_RET_DELAY_swigconstant", DYNA_ADDR_T_RET_DELAY_swigconstant, METH_VARARGS, NULL},
7711  { (char *)"DYNA_ADDR_T_RET_DELAY_MASK_swigconstant", DYNA_ADDR_T_RET_DELAY_MASK_swigconstant, METH_VARARGS, NULL},
7712  { (char *)"DYNA_T_RET_DELAY_MIN_RAW_swigconstant", DYNA_T_RET_DELAY_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7713  { (char *)"DYNA_T_RET_DELAY_MAX_RAW_swigconstant", DYNA_T_RET_DELAY_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7714  { (char *)"DYNA_T_RET_DELAY_DFT_RAW_swigconstant", DYNA_T_RET_DELAY_DFT_RAW_swigconstant, METH_VARARGS, NULL},
7715  { (char *)"DYNA_T_RET_DELAY_RES_USEC_swigconstant", DYNA_T_RET_DELAY_RES_USEC_swigconstant, METH_VARARGS, NULL},
7716  { (char *)"DYNA_T_RET_DELAY_MIN_USEC_swigconstant", DYNA_T_RET_DELAY_MIN_USEC_swigconstant, METH_VARARGS, NULL},
7717  { (char *)"DYNA_T_RET_DELAY_MAX_USEC_swigconstant", DYNA_T_RET_DELAY_MAX_USEC_swigconstant, METH_VARARGS, NULL},
7718  { (char *)"DYNA_T_RET_DELAY_DFT_USEC_swigconstant", DYNA_T_RET_DELAY_DFT_USEC_swigconstant, METH_VARARGS, NULL},
7719  { (char *)"DYNA_ADDR_LIM_CW_LSB_swigconstant", DYNA_ADDR_LIM_CW_LSB_swigconstant, METH_VARARGS, NULL},
7720  { (char *)"DYNA_ADDR_LIM_CW_MSB_swigconstant", DYNA_ADDR_LIM_CW_MSB_swigconstant, METH_VARARGS, NULL},
7721  { (char *)"DYNA_ADDR_LIM_CW_MASK_swigconstant", DYNA_ADDR_LIM_CW_MASK_swigconstant, METH_VARARGS, NULL},
7722  { (char *)"DYNA_CW_POS_CONT_MODE_swigconstant", DYNA_CW_POS_CONT_MODE_swigconstant, METH_VARARGS, NULL},
7723  { (char *)"DYNA_ADDR_LIM_CCW_LSB_swigconstant", DYNA_ADDR_LIM_CCW_LSB_swigconstant, METH_VARARGS, NULL},
7724  { (char *)"DYNA_ADDR_LIM_CCW_MSB_swigconstant", DYNA_ADDR_LIM_CCW_MSB_swigconstant, METH_VARARGS, NULL},
7725  { (char *)"DYNA_ADDR_LIM_CCW_MASK_swigconstant", DYNA_ADDR_LIM_CCW_MASK_swigconstant, METH_VARARGS, NULL},
7726  { (char *)"DYNA_CCW_POS_CONT_MODE_swigconstant", DYNA_CCW_POS_CONT_MODE_swigconstant, METH_VARARGS, NULL},
7727  { (char *)"DYNA_ADDR_RESERVED_1_swigconstant", DYNA_ADDR_RESERVED_1_swigconstant, METH_VARARGS, NULL},
7728  { (char *)"DYNA_ADDR_LIM_TEMP_MAX_swigconstant", DYNA_ADDR_LIM_TEMP_MAX_swigconstant, METH_VARARGS, NULL},
7729  { (char *)"DYNA_ADDR_LIM_TEMP_MASK_swigconstant", DYNA_ADDR_LIM_TEMP_MASK_swigconstant, METH_VARARGS, NULL},
7730  { (char *)"DYNA_LIM_TEMP_MIN_C_swigconstant", DYNA_LIM_TEMP_MIN_C_swigconstant, METH_VARARGS, NULL},
7731  { (char *)"DYNA_LIM_TEMP_MAX_C_swigconstant", DYNA_LIM_TEMP_MAX_C_swigconstant, METH_VARARGS, NULL},
7732  { (char *)"DYNA_LIM_TEMP_DFT_C_swigconstant", DYNA_LIM_TEMP_DFT_C_swigconstant, METH_VARARGS, NULL},
7733  { (char *)"DYNA_LIM_TEMP_RES_C_swigconstant", DYNA_LIM_TEMP_RES_C_swigconstant, METH_VARARGS, NULL},
7734  { (char *)"DYNA_ADDR_LIM_VOLT_MIN_swigconstant", DYNA_ADDR_LIM_VOLT_MIN_swigconstant, METH_VARARGS, NULL},
7735  { (char *)"DYNA_ADDR_LIM_VOLT_MIN_MASK_swigconstant", DYNA_ADDR_LIM_VOLT_MIN_MASK_swigconstant, METH_VARARGS, NULL},
7736  { (char *)"DYNA_LIM_VOLT_MIN_MIN_RAW_swigconstant", DYNA_LIM_VOLT_MIN_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7737  { (char *)"DYNA_LIM_VOLT_MIN_MAX_RAW_swigconstant", DYNA_LIM_VOLT_MIN_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7738  { (char *)"DYNA_LIM_VOLT_MIN_DFT_RAW_swigconstant", DYNA_LIM_VOLT_MIN_DFT_RAW_swigconstant, METH_VARARGS, NULL},
7739  { (char *)"DYNA_LIM_VOLT_MIN_RES_V_swigconstant", DYNA_LIM_VOLT_MIN_RES_V_swigconstant, METH_VARARGS, NULL},
7740  { (char *)"DYNA_LIM_VOLT_MIN_MIN_V_swigconstant", DYNA_LIM_VOLT_MIN_MIN_V_swigconstant, METH_VARARGS, NULL},
7741  { (char *)"DYNA_ADDR_LIM_VOLT_MAX_swigconstant", DYNA_ADDR_LIM_VOLT_MAX_swigconstant, METH_VARARGS, NULL},
7742  { (char *)"DYNA_ADDR_LIM_VOLT_MAX_MASK_swigconstant", DYNA_ADDR_LIM_VOLT_MAX_MASK_swigconstant, METH_VARARGS, NULL},
7743  { (char *)"DYNA_LIM_VOLT_MAX_MIN_RAW_swigconstant", DYNA_LIM_VOLT_MAX_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7744  { (char *)"DYNA_LIM_VOLT_MAX_MAX_RAW_swigconstant", DYNA_LIM_VOLT_MAX_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7745  { (char *)"DYNA_LIM_VOLT_MAX_DFT_RAW_swigconstant", DYNA_LIM_VOLT_MAX_DFT_RAW_swigconstant, METH_VARARGS, NULL},
7746  { (char *)"DYNA_LIM_VOLT_MAX_RES_V_swigconstant", DYNA_LIM_VOLT_MAX_RES_V_swigconstant, METH_VARARGS, NULL},
7747  { (char *)"DYNA_LIM_VOLT_MAX_MIN_V_swigconstant", DYNA_LIM_VOLT_MAX_MIN_V_swigconstant, METH_VARARGS, NULL},
7748  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_ON_LSB_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_ON_LSB_swigconstant, METH_VARARGS, NULL},
7749  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_ON_MSB_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_ON_MSB_swigconstant, METH_VARARGS, NULL},
7750  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_ON_MASK_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_ON_MASK_swigconstant, METH_VARARGS, NULL},
7751  { (char *)"DYNA_LIM_TORQUE_MAX_ON_DFT_RAW_swigconstant", DYNA_LIM_TORQUE_MAX_ON_DFT_RAW_swigconstant, METH_VARARGS, NULL},
7752  { (char *)"DYNA_ADDR_SRL_swigconstant", DYNA_ADDR_SRL_swigconstant, METH_VARARGS, NULL},
7753  { (char *)"DYNA_ADDR_SRL_MASK_swigconstant", DYNA_ADDR_SRL_MASK_swigconstant, METH_VARARGS, NULL},
7754  { (char *)"DYNA_SRL_RET_NONE_swigconstant", DYNA_SRL_RET_NONE_swigconstant, METH_VARARGS, NULL},
7755  { (char *)"DYNA_SRL_RET_READ_swigconstant", DYNA_SRL_RET_READ_swigconstant, METH_VARARGS, NULL},
7756  { (char *)"DYNA_SRL_RET_ALL_swigconstant", DYNA_SRL_RET_ALL_swigconstant, METH_VARARGS, NULL},
7757  { (char *)"DYNA_SRL_RET_DFT_swigconstant", DYNA_SRL_RET_DFT_swigconstant, METH_VARARGS, NULL},
7758  { (char *)"DYNA_ADDR_ALARM_LED_swigconstant", DYNA_ADDR_ALARM_LED_swigconstant, METH_VARARGS, NULL},
7759  { (char *)"DYNA_ADDR_ALARM_LED_MASK_swigconstant", DYNA_ADDR_ALARM_LED_MASK_swigconstant, METH_VARARGS, NULL},
7760  { (char *)"DYNA_ADDR_ALARM_SHUTDOWN_swigconstant", DYNA_ADDR_ALARM_SHUTDOWN_swigconstant, METH_VARARGS, NULL},
7761  { (char *)"DYNA_ADDR_ALARM_SHUTDOWN_MASK_swigconstant", DYNA_ADDR_ALARM_SHUTDOWN_MASK_swigconstant, METH_VARARGS, NULL},
7762  { (char *)"DYNA_ALARM_NONE_swigconstant", DYNA_ALARM_NONE_swigconstant, METH_VARARGS, NULL},
7763  { (char *)"DYNA_ALARM_VOLTAGE_swigconstant", DYNA_ALARM_VOLTAGE_swigconstant, METH_VARARGS, NULL},
7764  { (char *)"DYNA_ALARM_ANGLE_swigconstant", DYNA_ALARM_ANGLE_swigconstant, METH_VARARGS, NULL},
7765  { (char *)"DYNA_ALARM_TEMP_swigconstant", DYNA_ALARM_TEMP_swigconstant, METH_VARARGS, NULL},
7766  { (char *)"DYNA_ALARM_CMD_RANGE_swigconstant", DYNA_ALARM_CMD_RANGE_swigconstant, METH_VARARGS, NULL},
7767  { (char *)"DYNA_ALARM_CHECKSUM_swigconstant", DYNA_ALARM_CHECKSUM_swigconstant, METH_VARARGS, NULL},
7768  { (char *)"DYNA_ALARM_LOAD_swigconstant", DYNA_ALARM_LOAD_swigconstant, METH_VARARGS, NULL},
7769  { (char *)"DYNA_ALARM_INSTRUCTION_swigconstant", DYNA_ALARM_INSTRUCTION_swigconstant, METH_VARARGS, NULL},
7770  { (char *)"DYNA_ALARM_DFT_swigconstant", DYNA_ALARM_DFT_swigconstant, METH_VARARGS, NULL},
7771  { (char *)"DYNA_ADDR_TORQUE_EN_swigconstant", DYNA_ADDR_TORQUE_EN_swigconstant, METH_VARARGS, NULL},
7772  { (char *)"DYNA_ADDR_TORQUE_EN_MASK_swigconstant", DYNA_ADDR_TORQUE_EN_MASK_swigconstant, METH_VARARGS, NULL},
7773  { (char *)"DYNA_TORQUE_EN_OFF_swigconstant", DYNA_TORQUE_EN_OFF_swigconstant, METH_VARARGS, NULL},
7774  { (char *)"DYNA_TORQUE_EN_ON_swigconstant", DYNA_TORQUE_EN_ON_swigconstant, METH_VARARGS, NULL},
7775  { (char *)"DYNA_TORQUE_EN_DFT_swigconstant", DYNA_TORQUE_EN_DFT_swigconstant, METH_VARARGS, NULL},
7776  { (char *)"DYNA_ADDR_LED_swigconstant", DYNA_ADDR_LED_swigconstant, METH_VARARGS, NULL},
7777  { (char *)"DYNA_ADDR_LED_MASK_swigconstant", DYNA_ADDR_LED_MASK_swigconstant, METH_VARARGS, NULL},
7778  { (char *)"DYNA_LED_OFF_swigconstant", DYNA_LED_OFF_swigconstant, METH_VARARGS, NULL},
7779  { (char *)"DYNA_LED_ON_swigconstant", DYNA_LED_ON_swigconstant, METH_VARARGS, NULL},
7780  { (char *)"DYNA_ADDR_CW_COMP_MARGIN_swigconstant", DYNA_ADDR_CW_COMP_MARGIN_swigconstant, METH_VARARGS, NULL},
7781  { (char *)"DYNA_ADDR_CW_COMP_MASK_swigconstant", DYNA_ADDR_CW_COMP_MASK_swigconstant, METH_VARARGS, NULL},
7782  { (char *)"DYNA_COMP_MARGIN_MIN_RAW_swigconstant", DYNA_COMP_MARGIN_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7783  { (char *)"DYNA_COMP_MARGIN_MAX_RAW_swigconstant", DYNA_COMP_MARGIN_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7784  { (char *)"DYNA_COMP_MARGIN_DFT_RAW_swigconstant", DYNA_COMP_MARGIN_DFT_RAW_swigconstant, METH_VARARGS, NULL},
7785  { (char *)"DYNA_ADDR_CCW_COMP_MARGIN_swigconstant", DYNA_ADDR_CCW_COMP_MARGIN_swigconstant, METH_VARARGS, NULL},
7786  { (char *)"DYNA_ADDR_CCW_COMP_MASK_swigconstant", DYNA_ADDR_CCW_COMP_MASK_swigconstant, METH_VARARGS, NULL},
7787  { (char *)"DYNA_ADDR_CW_COMP_SLOPE_swigconstant", DYNA_ADDR_CW_COMP_SLOPE_swigconstant, METH_VARARGS, NULL},
7788  { (char *)"DYNA_ADDR_CW_COMP_SLOPE_MASK_swigconstant", DYNA_ADDR_CW_COMP_SLOPE_MASK_swigconstant, METH_VARARGS, NULL},
7789  { (char *)"DYNA_COMP_SLOPE_TORQUE_1_swigconstant", DYNA_COMP_SLOPE_TORQUE_1_swigconstant, METH_VARARGS, NULL},
7790  { (char *)"DYNA_COMP_SLOPE_TORQUE_2_swigconstant", DYNA_COMP_SLOPE_TORQUE_2_swigconstant, METH_VARARGS, NULL},
7791  { (char *)"DYNA_COMP_SLOPE_TORQUE_3_swigconstant", DYNA_COMP_SLOPE_TORQUE_3_swigconstant, METH_VARARGS, NULL},
7792  { (char *)"DYNA_COMP_SLOPE_TORQUE_4_swigconstant", DYNA_COMP_SLOPE_TORQUE_4_swigconstant, METH_VARARGS, NULL},
7793  { (char *)"DYNA_COMP_SLOPE_TORQUE_5_swigconstant", DYNA_COMP_SLOPE_TORQUE_5_swigconstant, METH_VARARGS, NULL},
7794  { (char *)"DYNA_COMP_SLOPE_TORQUE_6_swigconstant", DYNA_COMP_SLOPE_TORQUE_6_swigconstant, METH_VARARGS, NULL},
7795  { (char *)"DYNA_COMP_SLOPE_TORQUE_7_swigconstant", DYNA_COMP_SLOPE_TORQUE_7_swigconstant, METH_VARARGS, NULL},
7796  { (char *)"DYNA_COMP_SLOPE_TORQUE_DFT_swigconstant", DYNA_COMP_SLOPE_TORQUE_DFT_swigconstant, METH_VARARGS, NULL},
7797  { (char *)"DYNA_ADDR_CCW_COMP_SLOPE_swigconstant", DYNA_ADDR_CCW_COMP_SLOPE_swigconstant, METH_VARARGS, NULL},
7798  { (char *)"DYNA_ADDR_CCW_COMP_SLOPE_MASK_swigconstant", DYNA_ADDR_CCW_COMP_SLOPE_MASK_swigconstant, METH_VARARGS, NULL},
7799  { (char *)"DYNA_ADDR_P_GAIN_swigconstant", DYNA_ADDR_P_GAIN_swigconstant, METH_VARARGS, NULL},
7800  { (char *)"DYNA_ADDR_P_GAIN_MASK_swigconstant", DYNA_ADDR_P_GAIN_MASK_swigconstant, METH_VARARGS, NULL},
7801  { (char *)"DYNA_P_GAIN_MIN_RAW_swigconstant", DYNA_P_GAIN_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7802  { (char *)"DYNA_P_GAIN_MAX_RAW_swigconstant", DYNA_P_GAIN_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7803  { (char *)"DYNA_P_GAIN_DFT_swigconstant", DYNA_P_GAIN_DFT_swigconstant, METH_VARARGS, NULL},
7804  { (char *)"DYNA_ADDR_I_GAIN_swigconstant", DYNA_ADDR_I_GAIN_swigconstant, METH_VARARGS, NULL},
7805  { (char *)"DYNA_ADDR_I_GAIN_MASK_swigconstant", DYNA_ADDR_I_GAIN_MASK_swigconstant, METH_VARARGS, NULL},
7806  { (char *)"DYNA_I_GAIN_MIN_RAW_swigconstant", DYNA_I_GAIN_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7807  { (char *)"DYNA_I_GAIN_MAX_RAW_swigconstant", DYNA_I_GAIN_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7808  { (char *)"DYNA_I_GAIN_DFT_swigconstant", DYNA_I_GAIN_DFT_swigconstant, METH_VARARGS, NULL},
7809  { (char *)"DYNA_ADDR_D_GAIN_swigconstant", DYNA_ADDR_D_GAIN_swigconstant, METH_VARARGS, NULL},
7810  { (char *)"DYNA_ADDR_D_GAIN_MASK_swigconstant", DYNA_ADDR_D_GAIN_MASK_swigconstant, METH_VARARGS, NULL},
7811  { (char *)"DYNA_D_GAIN_MIN_RAW_swigconstant", DYNA_D_GAIN_MIN_RAW_swigconstant, METH_VARARGS, NULL},
7812  { (char *)"DYNA_D_GAIN_MAX_RAW_swigconstant", DYNA_D_GAIN_MAX_RAW_swigconstant, METH_VARARGS, NULL},
7813  { (char *)"DYNA_D_GAIN_DFT_swigconstant", DYNA_D_GAIN_DFT_swigconstant, METH_VARARGS, NULL},
7814  { (char *)"DYNA_ADDR_PID_RESERVED_swigconstant", DYNA_ADDR_PID_RESERVED_swigconstant, METH_VARARGS, NULL},
7815  { (char *)"DYNA_ADDR_GOAL_POS_LSB_swigconstant", DYNA_ADDR_GOAL_POS_LSB_swigconstant, METH_VARARGS, NULL},
7816  { (char *)"DYNA_ADDR_GOAL_POS_MSB_swigconstant", DYNA_ADDR_GOAL_POS_MSB_swigconstant, METH_VARARGS, NULL},
7817  { (char *)"DYNA_ADDR_GOAL_POS_MASK_swigconstant", DYNA_ADDR_GOAL_POS_MASK_swigconstant, METH_VARARGS, NULL},
7818  { (char *)"DYNA_ADDR_GOAL_SPEED_LSB_swigconstant", DYNA_ADDR_GOAL_SPEED_LSB_swigconstant, METH_VARARGS, NULL},
7819  { (char *)"DYNA_ADDR_GOAL_SPEED_MSB_swigconstant", DYNA_ADDR_GOAL_SPEED_MSB_swigconstant, METH_VARARGS, NULL},
7820  { (char *)"DYNA_ADDR_GOAL_SPEED_MASK_swigconstant", DYNA_ADDR_GOAL_SPEED_MASK_swigconstant, METH_VARARGS, NULL},
7821  { (char *)"DYNA_GOAL_SPEED_MAG_MASK_swigconstant", DYNA_GOAL_SPEED_MAG_MASK_swigconstant, METH_VARARGS, NULL},
7822  { (char *)"DYNA_GOAL_SPEED_MAG_SHIFT_swigconstant", DYNA_GOAL_SPEED_MAG_SHIFT_swigconstant, METH_VARARGS, NULL},
7823  { (char *)"DYNA_GOAL_SPEED_DIR_MASK_swigconstant", DYNA_GOAL_SPEED_DIR_MASK_swigconstant, METH_VARARGS, NULL},
7824  { (char *)"DYNA_GOAL_SPEED_DIR_SHIFT_swigconstant", DYNA_GOAL_SPEED_DIR_SHIFT_swigconstant, METH_VARARGS, NULL},
7825  { (char *)"DYNA_GOAL_SPEED_DIR_CCW_swigconstant", DYNA_GOAL_SPEED_DIR_CCW_swigconstant, METH_VARARGS, NULL},
7826  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_LSB_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_LSB_swigconstant, METH_VARARGS, NULL},
7827  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_MSB_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_MSB_swigconstant, METH_VARARGS, NULL},
7828  { (char *)"DYNA_ADDR_LIM_TORQUE_MAX_MASK_swigconstant", DYNA_ADDR_LIM_TORQUE_MAX_MASK_swigconstant, METH_VARARGS, NULL},
7829  { (char *)"DYNA_LIM_TORQUE_MAX_ALARMED_swigconstant", DYNA_LIM_TORQUE_MAX_ALARMED_swigconstant, METH_VARARGS, NULL},
7830  { (char *)"DYNA_ADDR_CUR_POS_LSB_swigconstant", DYNA_ADDR_CUR_POS_LSB_swigconstant, METH_VARARGS, NULL},
7831  { (char *)"DYNA_ADDR_CUR_POS_MSB_swigconstant", DYNA_ADDR_CUR_POS_MSB_swigconstant, METH_VARARGS, NULL},
7832  { (char *)"DYNA_ADDR_CUR_POS_MASK_swigconstant", DYNA_ADDR_CUR_POS_MASK_swigconstant, METH_VARARGS, NULL},
7833  { (char *)"DYNA_ADDR_CUR_SPEED_LSB_swigconstant", DYNA_ADDR_CUR_SPEED_LSB_swigconstant, METH_VARARGS, NULL},
7834  { (char *)"DYNA_ADDR_CUR_SPEED_MSB_swigconstant", DYNA_ADDR_CUR_SPEED_MSB_swigconstant, METH_VARARGS, NULL},
7835  { (char *)"DYNA_ADDR_CUR_SPEED_MASK_swigconstant", DYNA_ADDR_CUR_SPEED_MASK_swigconstant, METH_VARARGS, NULL},
7836  { (char *)"DYNA_CUR_SPEED_MAG_MASK_swigconstant", DYNA_CUR_SPEED_MAG_MASK_swigconstant, METH_VARARGS, NULL},
7837  { (char *)"DYNA_CUR_SPEED_MAG_SHIFT_swigconstant", DYNA_CUR_SPEED_MAG_SHIFT_swigconstant, METH_VARARGS, NULL},
7838  { (char *)"DYNA_CUR_SPEED_DIR_MASK_swigconstant", DYNA_CUR_SPEED_DIR_MASK_swigconstant, METH_VARARGS, NULL},
7839  { (char *)"DYNA_CUR_SPEED_DIR_SHIFT_swigconstant", DYNA_CUR_SPEED_DIR_SHIFT_swigconstant, METH_VARARGS, NULL},
7840  { (char *)"DYNA_CUR_SPEED_DIR_CCW_swigconstant", DYNA_CUR_SPEED_DIR_CCW_swigconstant, METH_VARARGS, NULL},
7841  { (char *)"DYNA_CUR_SPEED_DIR_CW_swigconstant", DYNA_CUR_SPEED_DIR_CW_swigconstant, METH_VARARGS, NULL},
7842  { (char *)"DYNA_ADDR_CUR_LOAD_LSB_swigconstant", DYNA_ADDR_CUR_LOAD_LSB_swigconstant, METH_VARARGS, NULL},
7843  { (char *)"DYNA_ADDR_CUR_LOAD_MSB_swigconstant", DYNA_ADDR_CUR_LOAD_MSB_swigconstant, METH_VARARGS, NULL},
7844  { (char *)"DYNA_ADDR_CUR_LOAD_MASK_swigconstant", DYNA_ADDR_CUR_LOAD_MASK_swigconstant, METH_VARARGS, NULL},
7845  { (char *)"DYNA_CUR_LOAD_MAG_MASK_swigconstant", DYNA_CUR_LOAD_MAG_MASK_swigconstant, METH_VARARGS, NULL},
7846  { (char *)"DYNA_CUR_LOAD_MAG_SHIFT_swigconstant", DYNA_CUR_LOAD_MAG_SHIFT_swigconstant, METH_VARARGS, NULL},
7847  { (char *)"DYNA_CUR_LOAD_MAG_MIN_swigconstant", DYNA_CUR_LOAD_MAG_MIN_swigconstant, METH_VARARGS, NULL},
7848  { (char *)"DYNA_CUR_LOAD_MAG_MAX_swigconstant", DYNA_CUR_LOAD_MAG_MAX_swigconstant, METH_VARARGS, NULL},
7849  { (char *)"DYNA_CUR_LOAD_DIR_MASK_swigconstant", DYNA_CUR_LOAD_DIR_MASK_swigconstant, METH_VARARGS, NULL},
7850  { (char *)"DYNA_CUR_LOAD_DIR_SHIFT_swigconstant", DYNA_CUR_LOAD_DIR_SHIFT_swigconstant, METH_VARARGS, NULL},
7851  { (char *)"DYNA_CUR_LOAD_DIR_CCW_swigconstant", DYNA_CUR_LOAD_DIR_CCW_swigconstant, METH_VARARGS, NULL},
7852  { (char *)"DYNA_CUR_LOAD_DIR_CW_swigconstant", DYNA_CUR_LOAD_DIR_CW_swigconstant, METH_VARARGS, NULL},
7853  { (char *)"DYNA_CUR_LOAD_RES_PCT_swigconstant", DYNA_CUR_LOAD_RES_PCT_swigconstant, METH_VARARGS, NULL},
7854  { (char *)"DYNA_CUR_LOAD_RES_PMIL_swigconstant", DYNA_CUR_LOAD_RES_PMIL_swigconstant, METH_VARARGS, NULL},
7855  { (char *)"DYNA_ADDR_CUR_VOLT_swigconstant", DYNA_ADDR_CUR_VOLT_swigconstant, METH_VARARGS, NULL},
7856  { (char *)"DYNA_ADDR_CUR_VOLT_MASK_swigconstant", DYNA_ADDR_CUR_VOLT_MASK_swigconstant, METH_VARARGS, NULL},
7857  { (char *)"DYNA_CUR_VOLT_RES_V_swigconstant", DYNA_CUR_VOLT_RES_V_swigconstant, METH_VARARGS, NULL},
7858  { (char *)"DYNA_ADDR_CUR_TEMP_C_swigconstant", DYNA_ADDR_CUR_TEMP_C_swigconstant, METH_VARARGS, NULL},
7859  { (char *)"DYNA_ADDR_CUR_TEMP_MASK_swigconstant", DYNA_ADDR_CUR_TEMP_MASK_swigconstant, METH_VARARGS, NULL},
7860  { (char *)"DYNA_CUR_TEMP_RES_C_swigconstant", DYNA_CUR_TEMP_RES_C_swigconstant, METH_VARARGS, NULL},
7861  { (char *)"DYNA_ADDR_REG_INSTR_swigconstant", DYNA_ADDR_REG_INSTR_swigconstant, METH_VARARGS, NULL},
7862  { (char *)"DYNA_ADDR_REG_INSTR_MASK_swigconstant", DYNA_ADDR_REG_INSTR_MASK_swigconstant, METH_VARARGS, NULL},
7863  { (char *)"DYBA_REG_INSTR_NO_WRITE_swigconstant", DYBA_REG_INSTR_NO_WRITE_swigconstant, METH_VARARGS, NULL},
7864  { (char *)"DYBA_REG_INSTR_HAS_WRITE_swigconstant", DYBA_REG_INSTR_HAS_WRITE_swigconstant, METH_VARARGS, NULL},
7865  { (char *)"DYNA_ADDR_RESERVED_2_swigconstant", DYNA_ADDR_RESERVED_2_swigconstant, METH_VARARGS, NULL},
7866  { (char *)"DYNA_ADDR_IS_MOVING_swigconstant", DYNA_ADDR_IS_MOVING_swigconstant, METH_VARARGS, NULL},
7867  { (char *)"DYNA_ADDR_IS_MOVING_MASK_swigconstant", DYNA_ADDR_IS_MOVING_MASK_swigconstant, METH_VARARGS, NULL},
7868  { (char *)"DYNA_IS_NOT_MOVING_swigconstant", DYNA_IS_NOT_MOVING_swigconstant, METH_VARARGS, NULL},
7869  { (char *)"DYNA_IS_MOVING_swigconstant", DYNA_IS_MOVING_swigconstant, METH_VARARGS, NULL},
7870  { (char *)"DYNA_ADDR_EEPROM_LOCK_swigconstant", DYNA_ADDR_EEPROM_LOCK_swigconstant, METH_VARARGS, NULL},
7871  { (char *)"DYNA_ADDR_EEPROM_LOCK_MASK_swigconstant", DYNA_ADDR_EEPROM_LOCK_MASK_swigconstant, METH_VARARGS, NULL},
7872  { (char *)"DYNA_EEPROM_UNLOCKED_swigconstant", DYNA_EEPROM_UNLOCKED_swigconstant, METH_VARARGS, NULL},
7873  { (char *)"DYNA_EEPROM_LOCKED_swigconstant", DYNA_EEPROM_LOCKED_swigconstant, METH_VARARGS, NULL},
7874  { (char *)"DYNA_EEPROM_LOCK_DFT_swigconstant", DYNA_EEPROM_LOCK_DFT_swigconstant, METH_VARARGS, NULL},
7875  { (char *)"DYNA_ADDR_PUNCH_LSB_swigconstant", DYNA_ADDR_PUNCH_LSB_swigconstant, METH_VARARGS, NULL},
7876  { (char *)"DYNA_ADDR_PUNCH_MSB_swigconstant", DYNA_ADDR_PUNCH_MSB_swigconstant, METH_VARARGS, NULL},
7877  { (char *)"BS_DYNA_SERVER_MOD_swigconstant", BS_DYNA_SERVER_MOD_swigconstant, METH_VARARGS, NULL},
7878  { (char *)"BS_DYNA_CLIENT_LIB_swigconstant", BS_DYNA_CLIENT_LIB_swigconstant, METH_VARARGS, NULL},
7879  { (char *)"bsDynaGetMsgName", _wrap_bsDynaGetMsgName, METH_VARARGS, NULL},
7880  { (char *)"bsDynaOpen", _wrap_bsDynaOpen, METH_VARARGS, NULL},
7881  { (char *)"bsDynaClose", _wrap_bsDynaClose, METH_VARARGS, NULL},
7882  { (char *)"bsDynaSetBaudRate", _wrap_bsDynaSetBaudRate, METH_VARARGS, NULL},
7883  { (char *)"bsDynaRead8", _wrap_bsDynaRead8, METH_VARARGS, NULL},
7884  { (char *)"bsDynaWrite8", _wrap_bsDynaWrite8, METH_VARARGS, NULL},
7885  { (char *)"bsDynaRead16", _wrap_bsDynaRead16, METH_VARARGS, NULL},
7886  { (char *)"bsDynaWrite16", _wrap_bsDynaWrite16, METH_VARARGS, NULL},
7887  { (char *)"bsDynaSyncWrite", _wrap_bsDynaSyncWrite, METH_VARARGS, NULL},
7888  { (char *)"bsDynaPing", _wrap_bsDynaPing, METH_VARARGS, NULL},
7889  { (char *)"bsDynaReset", _wrap_bsDynaReset, METH_VARARGS, NULL},
7890  { (char *)"bsDynaSetHalfDuplexCtl", _wrap_bsDynaSetHalfDuplexCtl, METH_VARARGS, NULL},
7891  { (char *)"new_uintArray", _wrap_new_uintArray, METH_VARARGS, NULL},
7892  { (char *)"delete_uintArray", _wrap_delete_uintArray, METH_VARARGS, NULL},
7893  { (char *)"uintArray_getitem", _wrap_uintArray_getitem, METH_VARARGS, NULL},
7894  { (char *)"uintArray_setitem", _wrap_uintArray_setitem, METH_VARARGS, NULL},
7895  { (char *)"new_boolArray", _wrap_new_boolArray, METH_VARARGS, NULL},
7896  { (char *)"delete_boolArray", _wrap_delete_boolArray, METH_VARARGS, NULL},
7897  { (char *)"boolArray_getitem", _wrap_boolArray_getitem, METH_VARARGS, NULL},
7898  { (char *)"boolArray_setitem", _wrap_boolArray_setitem, METH_VARARGS, NULL},
7899  { (char *)"new_intp", _wrap_new_intp, METH_VARARGS, NULL},
7900  { (char *)"copy_intp", _wrap_copy_intp, METH_VARARGS, NULL},
7901  { (char *)"delete_intp", _wrap_delete_intp, METH_VARARGS, NULL},
7902  { (char *)"intp_assign", _wrap_intp_assign, METH_VARARGS, NULL},
7903  { (char *)"intp_value", _wrap_intp_value, METH_VARARGS, NULL},
7904  { (char *)"new_uintp", _wrap_new_uintp, METH_VARARGS, NULL},
7905  { (char *)"copy_uintp", _wrap_copy_uintp, METH_VARARGS, NULL},
7906  { (char *)"delete_uintp", _wrap_delete_uintp, METH_VARARGS, NULL},
7907  { (char *)"uintp_assign", _wrap_uintp_assign, METH_VARARGS, NULL},
7908  { (char *)"uintp_value", _wrap_uintp_value, METH_VARARGS, NULL},
7909  { NULL, NULL, 0, NULL }
7910 };
7911 
7912 
7913 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
7914 
7915 static swig_type_info _swigt__p_DynaSyncWriteTuple_T = {"_p_DynaSyncWriteTuple_T", "DynaSyncWriteTuple_T *", 0, 0, (void*)0, 0};
7916 static swig_type_info _swigt__p__bsClientStruct = {"_p__bsClientStruct", "BsClient_P|struct _bsClientStruct *", 0, 0, (void*)0, 0};
7917 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
7918 static swig_type_info _swigt__p_int = {"_p_int", "bool_t *|int *|BsVConnHnd_T *|units_t *", 0, 0, (void*)0, 0};
7919 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte_t *", 0, 0, (void*)0, 0};
7920 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|uint_t *", 0, 0, (void*)0, 0};
7921 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|ulong_t *", 0, 0, (void*)0, 0};
7922 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|ushort_t *", 0, 0, (void*)0, 0};
7923 
7924 static swig_type_info *swig_type_initial[] = {
7925  &_swigt__p_DynaSyncWriteTuple_T,
7926  &_swigt__p__bsClientStruct,
7927  &_swigt__p_char,
7928  &_swigt__p_int,
7929  &_swigt__p_unsigned_char,
7930  &_swigt__p_unsigned_int,
7931  &_swigt__p_unsigned_long,
7932  &_swigt__p_unsigned_short,
7933 };
7934 
7935 static swig_cast_info _swigc__p_DynaSyncWriteTuple_T[] = { {&_swigt__p_DynaSyncWriteTuple_T, 0, 0, 0},{0, 0, 0, 0}};
7936 static swig_cast_info _swigc__p__bsClientStruct[] = { {&_swigt__p__bsClientStruct, 0, 0, 0},{0, 0, 0, 0}};
7937 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
7938 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
7939 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
7940 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
7941 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
7942 static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
7943 
7944 static swig_cast_info *swig_cast_initial[] = {
7945  _swigc__p_DynaSyncWriteTuple_T,
7946  _swigc__p__bsClientStruct,
7947  _swigc__p_char,
7948  _swigc__p_int,
7949  _swigc__p_unsigned_char,
7950  _swigc__p_unsigned_int,
7951  _swigc__p_unsigned_long,
7952  _swigc__p_unsigned_short,
7953 };
7954 
7955 
7956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
7957 
7958 static swig_const_info swig_const_table[] = {
7959 {0, 0, 0, 0.0, 0, 0}};
7960 
7961 #ifdef __cplusplus
7962 }
7963 #endif
7964 /* -----------------------------------------------------------------------------
7965  * Type initialization:
7966  * This problem is tough by the requirement that no dynamic
7967  * memory is used. Also, since swig_type_info structures store pointers to
7968  * swig_cast_info structures and swig_cast_info structures store pointers back
7969  * to swig_type_info structures, we need some lookup code at initialization.
7970  * The idea is that swig generates all the structures that are needed.
7971  * The runtime then collects these partially filled structures.
7972  * The SWIG_InitializeModule function takes these initial arrays out of
7973  * swig_module, and does all the lookup, filling in the swig_module.types
7974  * array with the correct data and linking the correct swig_cast_info
7975  * structures together.
7976  *
7977  * The generated swig_type_info structures are assigned statically to an initial
7978  * array. We just loop through that array, and handle each type individually.
7979  * First we lookup if this type has been already loaded, and if so, use the
7980  * loaded structure instead of the generated one. Then we have to fill in the
7981  * cast linked list. The cast data is initially stored in something like a
7982  * two-dimensional array. Each row corresponds to a type (there are the same
7983  * number of rows as there are in the swig_type_initial array). Each entry in
7984  * a column is one of the swig_cast_info structures for that type.
7985  * The cast_initial array is actually an array of arrays, because each row has
7986  * a variable number of columns. So to actually build the cast linked list,
7987  * we find the array of casts associated with the type, and loop through it
7988  * adding the casts to the list. The one last trick we need to do is making
7989  * sure the type pointer in the swig_cast_info struct is correct.
7990  *
7991  * First off, we lookup the cast->type name to see if it is already loaded.
7992  * There are three cases to handle:
7993  * 1) If the cast->type has already been loaded AND the type we are adding
7994  * casting info to has not been loaded (it is in this module), THEN we
7995  * replace the cast->type pointer with the type pointer that has already
7996  * been loaded.
7997  * 2) If BOTH types (the one we are adding casting info to, and the
7998  * cast->type) are loaded, THEN the cast info has already been loaded by
7999  * the previous module so we just ignore it.
8000  * 3) Finally, if cast->type has not already been loaded, then we add that
8001  * swig_cast_info to the linked list (because the cast->type) pointer will
8002  * be correct.
8003  * ----------------------------------------------------------------------------- */
8004 
8005 #ifdef __cplusplus
8006 extern "C" {
8007 #if 0
8008 } /* c-mode */
8009 #endif
8010 #endif
8011 
8012 #if 0
8013 #define SWIGRUNTIME_DEBUG
8014 #endif
8015 
8016 
8017 SWIGRUNTIME void
8018 SWIG_InitializeModule(void *clientdata) {
8019  size_t i;
8020  swig_module_info *module_head, *iter;
8021  int init;
8022 
8023  /* check to see if the circular list has been setup, if not, set it up */
8024  if (swig_module.next==0) {
8025  /* Initialize the swig_module */
8026  swig_module.type_initial = swig_type_initial;
8027  swig_module.cast_initial = swig_cast_initial;
8028  swig_module.next = &swig_module;
8029  init = 1;
8030  } else {
8031  init = 0;
8032  }
8033 
8034  /* Try and load any already created modules */
8035  module_head = SWIG_GetModule(clientdata);
8036  if (!module_head) {
8037  /* This is the first module loaded for this interpreter */
8038  /* so set the swig module into the interpreter */
8039  SWIG_SetModule(clientdata, &swig_module);
8040  } else {
8041  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
8042  iter=module_head;
8043  do {
8044  if (iter==&swig_module) {
8045  /* Our module is already in the list, so there's nothing more to do. */
8046  return;
8047  }
8048  iter=iter->next;
8049  } while (iter!= module_head);
8050 
8051  /* otherwise we must add our module into the list */
8052  swig_module.next = module_head->next;
8053  module_head->next = &swig_module;
8054  }
8055 
8056  /* When multiple interpreters are used, a module could have already been initialized in
8057  a different interpreter, but not yet have a pointer in this interpreter.
8058  In this case, we do not want to continue adding types... everything should be
8059  set up already */
8060  if (init == 0) return;
8061 
8062  /* Now work on filling in swig_module.types */
8063 #ifdef SWIGRUNTIME_DEBUG
8064  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
8065 #endif
8066  for (i = 0; i < swig_module.size; ++i) {
8067  swig_type_info *type = 0;
8068  swig_type_info *ret;
8069  swig_cast_info *cast;
8070 
8071 #ifdef SWIGRUNTIME_DEBUG
8072  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
8073 #endif
8074 
8075  /* if there is another module already loaded */
8076  if (swig_module.next != &swig_module) {
8077  type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
8078  }
8079  if (type) {
8080  /* Overwrite clientdata field */
8081 #ifdef SWIGRUNTIME_DEBUG
8082  printf("SWIG_InitializeModule: found type %s\n", type->name);
8083 #endif
8084  if (swig_module.type_initial[i]->clientdata) {
8085  type->clientdata = swig_module.type_initial[i]->clientdata;
8086 #ifdef SWIGRUNTIME_DEBUG
8087  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
8088 #endif
8089  }
8090  } else {
8091  type = swig_module.type_initial[i];
8092  }
8093 
8094  /* Insert casting types */
8095  cast = swig_module.cast_initial[i];
8096  while (cast->type) {
8097  /* Don't need to add information already in the list */
8098  ret = 0;
8099 #ifdef SWIGRUNTIME_DEBUG
8100  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
8101 #endif
8102  if (swig_module.next != &swig_module) {
8103  ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
8104 #ifdef SWIGRUNTIME_DEBUG
8105  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
8106 #endif
8107  }
8108  if (ret) {
8109  if (type == swig_module.type_initial[i]) {
8110 #ifdef SWIGRUNTIME_DEBUG
8111  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
8112 #endif
8113  cast->type = ret;
8114  ret = 0;
8115  } else {
8116  /* Check for casting already in the list */
8117  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
8118 #ifdef SWIGRUNTIME_DEBUG
8119  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
8120 #endif
8121  if (!ocast) ret = 0;
8122  }
8123  }
8124 
8125  if (!ret) {
8126 #ifdef SWIGRUNTIME_DEBUG
8127  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
8128 #endif
8129  if (type->cast) {
8130  type->cast->prev = cast;
8131  cast->next = type->cast;
8132  }
8133  type->cast = cast;
8134  }
8135  cast++;
8136  }
8137  /* Set entry in modules->types array equal to the type */
8138  swig_module.types[i] = type;
8139  }
8140  swig_module.types[i] = 0;
8141 
8142 #ifdef SWIGRUNTIME_DEBUG
8143  printf("**** SWIG_InitializeModule: Cast List ******\n");
8144  for (i = 0; i < swig_module.size; ++i) {
8145  int j = 0;
8146  swig_cast_info *cast = swig_module.cast_initial[i];
8147  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
8148  while (cast->type) {
8149  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
8150  cast++;
8151  ++j;
8152  }
8153  printf("---- Total casts: %d\n",j);
8154  }
8155  printf("**** SWIG_InitializeModule: Cast List ******\n");
8156 #endif
8157 }
8158 
8159 /* This function will propagate the clientdata field of type to
8160 * any new swig_type_info structures that have been added into the list
8161 * of equivalent types. It is like calling
8162 * SWIG_TypeClientData(type, clientdata) a second time.
8163 */
8164 SWIGRUNTIME void
8165 SWIG_PropagateClientData(void) {
8166  size_t i;
8167  swig_cast_info *equiv;
8168  static int init_run = 0;
8169 
8170  if (init_run) return;
8171  init_run = 1;
8172 
8173  for (i = 0; i < swig_module.size; i++) {
8174  if (swig_module.types[i]->clientdata) {
8175  equiv = swig_module.types[i]->cast;
8176  while (equiv) {
8177  if (!equiv->converter) {
8178  if (equiv->type && !equiv->type->clientdata)
8179  SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
8180  }
8181  equiv = equiv->next;
8182  }
8183  }
8184  }
8185 }
8186 
8187 #ifdef __cplusplus
8188 #if 0
8189 {
8190  /* c-mode */
8191 #endif
8192 }
8193 #endif
8194 
8195 
8196 
8197 #ifdef __cplusplus
8198 extern "C" {
8199 #endif
8200 
8201  /* Python-specific SWIG API */
8202 #define SWIG_newvarlink() SWIG_Python_newvarlink()
8203 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
8204 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
8205 
8206  /* -----------------------------------------------------------------------------
8207  * global variable support code.
8208  * ----------------------------------------------------------------------------- */
8209 
8210  typedef struct swig_globalvar {
8211  char *name; /* Name of global variable */
8212  PyObject *(*get_attr)(void); /* Return the current value */
8213  int (*set_attr)(PyObject *); /* Set the value */
8214  struct swig_globalvar *next;
8215  } swig_globalvar;
8216 
8217  typedef struct swig_varlinkobject {
8218  PyObject_HEAD
8219  swig_globalvar *vars;
8221 
8222  SWIGINTERN PyObject *
8223  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
8224 #if PY_VERSION_HEX >= 0x03000000
8225  return PyUnicode_InternFromString("<Swig global variables>");
8226 #else
8227  return PyString_FromString("<Swig global variables>");
8228 #endif
8229  }
8230 
8231  SWIGINTERN PyObject *
8232  swig_varlink_str(swig_varlinkobject *v) {
8233 #if PY_VERSION_HEX >= 0x03000000
8234  PyObject *str = PyUnicode_InternFromString("(");
8235  PyObject *tail;
8236  PyObject *joined;
8237  swig_globalvar *var;
8238  for (var = v->vars; var; var=var->next) {
8239  tail = PyUnicode_FromString(var->name);
8240  joined = PyUnicode_Concat(str, tail);
8241  Py_DecRef(str);
8242  Py_DecRef(tail);
8243  str = joined;
8244  if (var->next) {
8245  tail = PyUnicode_InternFromString(", ");
8246  joined = PyUnicode_Concat(str, tail);
8247  Py_DecRef(str);
8248  Py_DecRef(tail);
8249  str = joined;
8250  }
8251  }
8252  tail = PyUnicode_InternFromString(")");
8253  joined = PyUnicode_Concat(str, tail);
8254  Py_DecRef(str);
8255  Py_DecRef(tail);
8256  str = joined;
8257 #else
8258  PyObject *str = PyString_FromString("(");
8259  swig_globalvar *var;
8260  for (var = v->vars; var; var=var->next) {
8261  PyString_ConcatAndDel(&str,PyString_FromString(var->name));
8262  if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
8263  }
8264  PyString_ConcatAndDel(&str,PyString_FromString(")"));
8265 #endif
8266  return str;
8267  }
8268 
8269  SWIGINTERN int
8270  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
8271  char *tmp;
8272  PyObject *str = swig_varlink_str(v);
8273  fprintf(fp,"Swig global variables ");
8274  fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
8275  SWIG_Python_str_DelForPy3(tmp);
8276  Py_DECREF(str);
8277  return 0;
8278  }
8279 
8280  SWIGINTERN void
8281  swig_varlink_dealloc(swig_varlinkobject *v) {
8282  swig_globalvar *var = v->vars;
8283  while (var) {
8284  swig_globalvar *n = var->next;
8285  free(var->name);
8286  free(var);
8287  var = n;
8288  }
8289  }
8290 
8291  SWIGINTERN PyObject *
8292  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
8293  PyObject *res = NULL;
8294  swig_globalvar *var = v->vars;
8295  while (var) {
8296  if (strcmp(var->name,n) == 0) {
8297  res = (*var->get_attr)();
8298  break;
8299  }
8300  var = var->next;
8301  }
8302  if (res == NULL && !PyErr_Occurred()) {
8303  PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
8304  }
8305  return res;
8306  }
8307 
8308  SWIGINTERN int
8309  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
8310  int res = 1;
8311  swig_globalvar *var = v->vars;
8312  while (var) {
8313  if (strcmp(var->name,n) == 0) {
8314  res = (*var->set_attr)(p);
8315  break;
8316  }
8317  var = var->next;
8318  }
8319  if (res == 1 && !PyErr_Occurred()) {
8320  PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
8321  }
8322  return res;
8323  }
8324 
8325  SWIGINTERN PyTypeObject*
8326  swig_varlink_type(void) {
8327  static char varlink__doc__[] = "Swig var link object";
8328  static PyTypeObject varlink_type;
8329  static int type_init = 0;
8330  if (!type_init) {
8331  const PyTypeObject tmp = {
8332  /* PyObject header changed in Python 3 */
8333 #if PY_VERSION_HEX >= 0x03000000
8334  PyVarObject_HEAD_INIT(NULL, 0)
8335 #else
8336  PyObject_HEAD_INIT(NULL)
8337  0, /* ob_size */
8338 #endif
8339  (char *)"swigvarlink", /* tp_name */
8340  sizeof(swig_varlinkobject), /* tp_basicsize */
8341  0, /* tp_itemsize */
8342  (destructor) swig_varlink_dealloc, /* tp_dealloc */
8343  (printfunc) swig_varlink_print, /* tp_print */
8344  (getattrfunc) swig_varlink_getattr, /* tp_getattr */
8345  (setattrfunc) swig_varlink_setattr, /* tp_setattr */
8346  0, /* tp_compare */
8347  (reprfunc) swig_varlink_repr, /* tp_repr */
8348  0, /* tp_as_number */
8349  0, /* tp_as_sequence */
8350  0, /* tp_as_mapping */
8351  0, /* tp_hash */
8352  0, /* tp_call */
8353  (reprfunc) swig_varlink_str, /* tp_str */
8354  0, /* tp_getattro */
8355  0, /* tp_setattro */
8356  0, /* tp_as_buffer */
8357  0, /* tp_flags */
8358  varlink__doc__, /* tp_doc */
8359  0, /* tp_traverse */
8360  0, /* tp_clear */
8361  0, /* tp_richcompare */
8362  0, /* tp_weaklistoffset */
8363 #if PY_VERSION_HEX >= 0x02020000
8364  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
8365 #endif
8366 #if PY_VERSION_HEX >= 0x02030000
8367  0, /* tp_del */
8368 #endif
8369 #if PY_VERSION_HEX >= 0x02060000
8370  0, /* tp_version_tag */
8371 #endif
8372 #if PY_VERSION_HEX >= 0x03040000
8373  0, /* tp_finalize */
8374 #endif
8375 #ifdef COUNT_ALLOCS
8376  0, /* tp_allocs */
8377  0, /* tp_frees */
8378  0, /* tp_maxalloc */
8379 #if PY_VERSION_HEX >= 0x02050000
8380  0, /* tp_prev */
8381 #endif
8382  0 /* tp_next */
8383 #endif
8384  };
8385  varlink_type = tmp;
8386  type_init = 1;
8387 #if PY_VERSION_HEX < 0x02020000
8388  varlink_type.ob_type = &PyType_Type;
8389 #else
8390  if (PyType_Ready(&varlink_type) < 0)
8391  return NULL;
8392 #endif
8393  }
8394  return &varlink_type;
8395  }
8396 
8397  /* Create a variable linking object for use later */
8398  SWIGINTERN PyObject *
8399  SWIG_Python_newvarlink(void) {
8400  swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
8401  if (result) {
8402  result->vars = 0;
8403  }
8404  return ((PyObject*) result);
8405  }
8406 
8407  SWIGINTERN void
8408  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
8410  swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
8411  if (gv) {
8412  size_t size = strlen(name)+1;
8413  gv->name = (char *)malloc(size);
8414  if (gv->name) {
8415  strncpy(gv->name,name,size);
8416  gv->get_attr = get_attr;
8417  gv->set_attr = set_attr;
8418  gv->next = v->vars;
8419  }
8420  }
8421  v->vars = gv;
8422  }
8423 
8424  SWIGINTERN PyObject *
8425  SWIG_globals(void) {
8426  static PyObject *_SWIG_globals = 0;
8427  if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
8428  return _SWIG_globals;
8429  }
8430 
8431  /* -----------------------------------------------------------------------------
8432  * constants/methods manipulation
8433  * ----------------------------------------------------------------------------- */
8434 
8435  /* Install Constants */
8436  SWIGINTERN void
8437  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
8438  PyObject *obj = 0;
8439  size_t i;
8440  for (i = 0; constants[i].type; ++i) {
8441  switch(constants[i].type) {
8442  case SWIG_PY_POINTER:
8443  obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
8444  break;
8445  case SWIG_PY_BINARY:
8446  obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
8447  break;
8448  default:
8449  obj = 0;
8450  break;
8451  }
8452  if (obj) {
8453  PyDict_SetItemString(d, constants[i].name, obj);
8454  Py_DECREF(obj);
8455  }
8456  }
8457  }
8458 
8459  /* -----------------------------------------------------------------------------*/
8460  /* Fix SwigMethods to carry the callback ptrs when needed */
8461  /* -----------------------------------------------------------------------------*/
8462 
8463  SWIGINTERN void
8464  SWIG_Python_FixMethods(PyMethodDef *methods,
8465  swig_const_info *const_table,
8466  swig_type_info **types,
8467  swig_type_info **types_initial) {
8468  size_t i;
8469  for (i = 0; methods[i].ml_name; ++i) {
8470  const char *c = methods[i].ml_doc;
8471  if (!c) continue;
8472  c = strstr(c, "swig_ptr: ");
8473  if (c) {
8474  int j;
8475  swig_const_info *ci = 0;
8476  const char *name = c + 10;
8477  for (j = 0; const_table[j].type; ++j) {
8478  if (strncmp(const_table[j].name, name,
8479  strlen(const_table[j].name)) == 0) {
8480  ci = &(const_table[j]);
8481  break;
8482  }
8483  }
8484  if (ci) {
8485  void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
8486  if (ptr) {
8487  size_t shift = (ci->ptype) - types;
8488  swig_type_info *ty = types_initial[shift];
8489  size_t ldoc = (c - methods[i].ml_doc);
8490  size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
8491  char *ndoc = (char*)malloc(ldoc + lptr + 10);
8492  if (ndoc) {
8493  char *buff = ndoc;
8494  strncpy(buff, methods[i].ml_doc, ldoc);
8495  buff += ldoc;
8496  strncpy(buff, "swig_ptr: ", 10);
8497  buff += 10;
8498  SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
8499  methods[i].ml_doc = ndoc;
8500  }
8501  }
8502  }
8503  }
8504  }
8505  }
8506 
8507 #ifdef __cplusplus
8508 }
8509 #endif
8510 
8511 /* -----------------------------------------------------------------------------*
8512  * Partial Init method
8513  * -----------------------------------------------------------------------------*/
8514 
8515 #ifdef __cplusplus
8516 extern "C"
8517 #endif
8518 
8519 SWIGEXPORT
8520 #if PY_VERSION_HEX >= 0x03000000
8521 PyObject*
8522 #else
8523 void
8524 #endif
8525 SWIG_init(void) {
8526  PyObject *m, *d, *md;
8527 #if PY_VERSION_HEX >= 0x03000000
8528  static struct PyModuleDef SWIG_module = {
8529 # if PY_VERSION_HEX >= 0x03020000
8530  PyModuleDef_HEAD_INIT,
8531 # else
8532  {
8533  PyObject_HEAD_INIT(NULL)
8534  NULL, /* m_init */
8535  0, /* m_index */
8536  NULL, /* m_copy */
8537  },
8538 # endif
8539  (char *) SWIG_name,
8540  NULL,
8541  -1,
8542  SwigMethods,
8543  NULL,
8544  NULL,
8545  NULL,
8546  NULL
8547  };
8548 #endif
8549 
8550 #if defined(SWIGPYTHON_BUILTIN)
8551  static SwigPyClientData SwigPyObject_clientdata = {
8552  0, 0, 0, 0, 0, 0, 0
8553  };
8554  static PyGetSetDef this_getset_def = {
8555  (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
8556  };
8557  static SwigPyGetSet thisown_getset_closure = {
8558  (PyCFunction) SwigPyObject_own,
8559  (PyCFunction) SwigPyObject_own
8560  };
8561  static PyGetSetDef thisown_getset_def = {
8562  (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
8563  };
8564  PyObject *metatype_args;
8565  PyTypeObject *builtin_pytype;
8566  int builtin_base_count;
8567  swig_type_info *builtin_basetype;
8568  PyObject *tuple;
8569  PyGetSetDescrObject *static_getset;
8570  PyTypeObject *metatype;
8571  SwigPyClientData *cd;
8572  PyObject *public_interface, *public_symbol;
8573  PyObject *this_descr;
8574  PyObject *thisown_descr;
8575  PyObject *self = 0;
8576  int i;
8577 
8578  (void)builtin_pytype;
8579  (void)builtin_base_count;
8580  (void)builtin_basetype;
8581  (void)tuple;
8582  (void)static_getset;
8583  (void)self;
8584 
8585  /* metatype is used to implement static member variables. */
8586  metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
8587  assert(metatype_args);
8588  metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
8589  assert(metatype);
8590  Py_DECREF(metatype_args);
8591  metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
8592  assert(PyType_Ready(metatype) >= 0);
8593 #endif
8594 
8595  /* Fix SwigMethods to carry the callback ptrs when needed */
8596  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
8597 
8598 #if PY_VERSION_HEX >= 0x03000000
8599  m = PyModule_Create(&SWIG_module);
8600 #else
8601  m = Py_InitModule((char *) SWIG_name, SwigMethods);
8602 #endif
8603 
8604  md = d = PyModule_GetDict(m);
8605  (void)md;
8606 
8607  SWIG_InitializeModule(0);
8608 
8609 #ifdef SWIGPYTHON_BUILTIN
8610  SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
8611  assert(SwigPyObject_stype);
8612  cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
8613  if (!cd) {
8614  SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
8615  SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
8616  } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
8617  PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
8618 # if PY_VERSION_HEX >= 0x03000000
8619  return NULL;
8620 # else
8621  return;
8622 # endif
8623  }
8624 
8625  /* All objects have a 'this' attribute */
8626  this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
8627  (void)this_descr;
8628 
8629  /* All objects have a 'thisown' attribute */
8630  thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
8631  (void)thisown_descr;
8632 
8633  public_interface = PyList_New(0);
8634  public_symbol = 0;
8635  (void)public_symbol;
8636 
8637  PyDict_SetItemString(md, "__all__", public_interface);
8638  Py_DECREF(public_interface);
8639  for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
8640  SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
8641  for (i = 0; swig_const_table[i].name != 0; ++i)
8642  SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
8643 #endif
8644 
8645  SWIG_InstallConstants(d,swig_const_table);
8646 
8647 #if PY_VERSION_HEX >= 0x03000000
8648  return m;
8649 #else
8650  return;
8651 #endif
8652 }
8653 
char * newstr(const char *s)
Allocate new duplicated string.
bsProxy client library Dynamixel interface.