| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
#define SWIGPYTHON |
|---|
| 12 |
|
|---|
| 13 |
* |
|---|
| 14 |
* This section contains generic SWIG labels for method/variable |
|---|
| 15 |
* declarations/attributes, and other compiler dependent labels. |
|---|
| 16 |
* |
|---|
| 17 |
************************************************************************/ |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
#ifndef SWIGTEMPLATEDISAMBIGUATOR |
|---|
| 21 |
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) |
|---|
| 22 |
# define SWIGTEMPLATEDISAMBIGUATOR template |
|---|
| 23 |
# else |
|---|
| 24 |
# define SWIGTEMPLATEDISAMBIGUATOR |
|---|
| 25 |
# endif |
|---|
| 26 |
#endif |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
#ifndef SWIGINLINE |
|---|
| 30 |
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) |
|---|
| 31 |
# define SWIGINLINE inline |
|---|
| 32 |
# else |
|---|
| 33 |
# define SWIGINLINE |
|---|
| 34 |
# endif |
|---|
| 35 |
#endif |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
#ifndef SWIGUNUSED |
|---|
| 39 |
# if defined(__GNUC__) || defined(__ICC) |
|---|
| 40 |
# define SWIGUNUSED __attribute__ ((unused)) |
|---|
| 41 |
# else |
|---|
| 42 |
# define SWIGUNUSED |
|---|
| 43 |
# endif |
|---|
| 44 |
#endif |
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
#ifndef SWIGINTERN |
|---|
| 48 |
# define SWIGINTERN static SWIGUNUSED |
|---|
| 49 |
#endif |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
#ifndef SWIGINTERNINLINE |
|---|
| 53 |
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE |
|---|
| 54 |
#endif |
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
#ifndef SWIGEXPORT |
|---|
| 58 |
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
|---|
| 59 |
# if defined(STATIC_LINKED) |
|---|
| 60 |
# define SWIGEXPORT |
|---|
| 61 |
# else |
|---|
| 62 |
# define SWIGEXPORT __declspec(dllexport) |
|---|
| 63 |
# endif |
|---|
| 64 |
# else |
|---|
| 65 |
# define SWIGEXPORT |
|---|
| 66 |
# endif |
|---|
| 67 |
#endif |
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 |
#ifndef SWIGSTDCALL |
|---|
| 71 |
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
|---|
| 72 |
# define SWIGSTDCALL __stdcall |
|---|
| 73 |
# else |
|---|
| 74 |
# define SWIGSTDCALL |
|---|
| 75 |
# endif |
|---|
| 76 |
#endif |
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 |
|
|---|
| 80 |
#include <Python.h> |
|---|
| 81 |
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 |
|
|---|
| 92 |
#define SWIG_RUNTIME_VERSION "2" |
|---|
| 93 |
|
|---|
| 94 |
|
|---|
| 95 |
#ifdef SWIG_TYPE_TABLE |
|---|
| 96 |
# define SWIG_QUOTE_STRING(x) #x |
|---|
| 97 |
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) |
|---|
| 98 |
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) |
|---|
| 99 |
#else |
|---|
| 100 |
# define SWIG_TYPE_TABLE_NAME |
|---|
| 101 |
#endif |
|---|
| 102 |
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 |
|
|---|
| 106 |
|
|---|
| 107 |
|
|---|
| 108 |
|
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 |
|
|---|
| 112 |
#ifndef SWIGRUNTIME |
|---|
| 113 |
# define SWIGRUNTIME SWIGINTERN |
|---|
| 114 |
#endif |
|---|
| 115 |
|
|---|
| 116 |
#ifndef SWIGRUNTIMEINLINE |
|---|
| 117 |
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
|---|
| 118 |
#endif |
|---|
| 119 |
|
|---|
| 120 |
#include <string.h> |
|---|
| 121 |
|
|---|
| 122 |
#ifdef __cplusplus |
|---|
| 123 |
extern "C" { |
|---|
| 124 |
#endif |
|---|
| 125 |
|
|---|
| 126 |
typedef void *(*swig_converter_func)(void *); |
|---|
| 127 |
typedef struct swig_type_info *(*swig_dycast_func)(void **); |
|---|
| 128 |
|
|---|
| 129 |
|
|---|
| 130 |
typedef struct swig_type_info { |
|---|
| 131 |
const char *name; |
|---|
| 132 |
const char *str; |
|---|
| 133 |
swig_dycast_func dcast; |
|---|
| 134 |
struct swig_cast_info *cast; |
|---|
| 135 |
void *clientdata; |
|---|
| 136 |
} swig_type_info; |
|---|
| 137 |
|
|---|
| 138 |
|
|---|
| 139 |
typedef struct swig_cast_info { |
|---|
| 140 |
swig_type_info *type; |
|---|
| 141 |
swig_converter_func converter; |
|---|
| 142 |
struct swig_cast_info *next; |
|---|
| 143 |
struct swig_cast_info *prev; |
|---|
| 144 |
} swig_cast_info; |
|---|
| 145 |
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 |
|
|---|
| 149 |
typedef struct swig_module_info { |
|---|
| 150 |
swig_type_info **types; |
|---|
| 151 |
size_t size; |
|---|
| 152 |
struct swig_module_info *next; |
|---|
| 153 |
swig_type_info **type_initial; |
|---|
| 154 |
swig_cast_info **cast_initial; |
|---|
| 155 |
void *clientdata; |
|---|
| 156 |
} swig_module_info; |
|---|
| 157 |
|
|---|
| 158 |
|
|---|
| 159 |
|
|---|
| 160 |
|
|---|
| 161 |
|
|---|
| 162 |
|
|---|
| 163 |
|
|---|
| 164 |
|
|---|
| 165 |
|
|---|
| 166 |
SWIGRUNTIME int |
|---|
| 167 |
SWIG_TypeNameComp(const char *f1, const char *l1, |
|---|
| 168 |
const char *f2, const char *l2) { |
|---|
| 169 |
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { |
|---|
| 170 |
while ((*f1 == ' ') && (f1 != l1)) ++f1; |
|---|
| 171 |
while ((*f2 == ' ') && (f2 != l2)) ++f2; |
|---|
| 172 |
if (*f1 != *f2) return (int)(*f1 - *f2); |
|---|
| 173 |
} |
|---|
| 174 |
return (l1 - f1) - (l2 - f2); |
|---|
| 175 |
} |
|---|
| 176 |
|
|---|
| 177 |
|
|---|
| 178 |
|
|---|
| 179 |
|
|---|
| 180 |
|
|---|
| 181 |
SWIGRUNTIME int |
|---|
| 182 |
SWIG_TypeEquiv(const char *nb, const char *tb) { |
|---|
| 183 |
int equiv = 0; |
|---|
| 184 |
const char* te = tb + strlen(tb); |
|---|
| 185 |
const char* ne = nb; |
|---|
| 186 |
while (!equiv && *ne) { |
|---|
| 187 |
for (nb = ne; *ne; ++ne) { |
|---|
| 188 |
if (*ne == '|') break; |
|---|
| 189 |
} |
|---|
| 190 |
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
|---|
| 191 |
if (*ne) ++ne; |
|---|
| 192 |
} |
|---|
| 193 |
return equiv; |
|---|
| 194 |
} |
|---|
| 195 |
|
|---|
| 196 |
|
|---|
| 197 |
|
|---|
| 198 |
|
|---|
| 199 |
|
|---|
| 200 |
SWIGRUNTIME int |
|---|
| 201 |
SWIG_TypeCompare(const char *nb, const char *tb) { |
|---|
| 202 |
int equiv = 0; |
|---|
| 203 |
const char* te = tb + strlen(tb); |
|---|
| 204 |
const char* ne = nb; |
|---|
| 205 |
while (!equiv && *ne) { |
|---|
| 206 |
for (nb = ne; *ne; ++ne) { |
|---|
| 207 |
if (*ne == '|') break; |
|---|
| 208 |
} |
|---|
| 209 |
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
|---|
| 210 |
if (*ne) ++ne; |
|---|
| 211 |
} |
|---|
| 212 |
return equiv; |
|---|
| 213 |
} |
|---|
| 214 |
|
|---|
| 215 |
|
|---|
| 216 |
|
|---|
| 217 |
#define SWIG_TypeCheck_Template(comparison, ty) \ |
|---|
| 218 |
if (ty) { \ |
|---|
| 219 |
swig_cast_info *iter = ty->cast; \ |
|---|
| 220 |
while (iter) { \ |
|---|
| 221 |
if (comparison) { \ |
|---|
| 222 |
if (iter == ty->cast) return iter; \ |
|---|
| 223 |
\ |
|---|
| 224 |
iter->prev->next = iter->next; \ |
|---|
| 225 |
if (iter->next) \ |
|---|
| 226 |
iter->next->prev = iter->prev; \ |
|---|
| 227 |
iter->next = ty->cast; \ |
|---|
| 228 |
iter->prev = 0; \ |
|---|
| 229 |
if (ty->cast) ty->cast->prev = iter; \ |
|---|
| 230 |
ty->cast = iter; \ |
|---|
| 231 |
return iter; \ |
|---|
| 232 |
} \ |
|---|
| 233 |
iter = iter->next; \ |
|---|
| 234 |
} \ |
|---|
| 235 |
} \ |
|---|
| 236 |
return 0 |
|---|
| 237 |
|
|---|
| 238 |
|
|---|
| 239 |
|
|---|
| 240 |
|
|---|
| 241 |
SWIGRUNTIME swig_cast_info * |
|---|
| 242 |
SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
|---|
| 243 |
SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
|---|
| 244 |
} |
|---|
| 245 |
|
|---|
| 246 |
|
|---|
| 247 |
SWIGRUNTIME swig_cast_info * |
|---|
| 248 |
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { |
|---|
| 249 |
SWIG_TypeCheck_Template(iter->type == from, into); |
|---|
| 250 |
} |
|---|
| 251 |
|
|---|
| 252 |
|
|---|
| 253 |
|
|---|
| 254 |
|
|---|
| 255 |
SWIGRUNTIMEINLINE void * |
|---|
| 256 |
SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
|---|
| 257 |
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
|---|
| 258 |
} |
|---|
| 259 |
|
|---|
| 260 |
|
|---|
| 261 |
|
|---|
| 262 |
|
|---|
| 263 |
SWIGRUNTIME swig_type_info * |
|---|
| 264 |
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { |
|---|
| 265 |
swig_type_info *lastty = ty; |
|---|
| 266 |
if (!ty || !ty->dcast) return ty; |
|---|
| 267 |
while (ty && (ty->dcast)) { |
|---|
| 268 |
ty = (*ty->dcast)(ptr); |
|---|
| 269 |
if (ty) lastty = ty; |
|---|
| 270 |
} |
|---|
| 271 |
return lastty; |
|---|
| 272 |
} |
|---|
| 273 |
|
|---|
| 274 |
|
|---|
| 275 |
|
|---|
| 276 |
|
|---|
| 277 |
SWIGRUNTIMEINLINE const char * |
|---|
| 278 |
SWIG_TypeName(const swig_type_info *ty) { |
|---|
| 279 |
return ty->name; |
|---|
| 280 |
} |
|---|
| 281 |
|
|---|
| 282 |
|
|---|
| 283 |
|
|---|
| 284 |
|
|---|
| 285 |
|
|---|
| 286 |
SWIGRUNTIME const char * |
|---|
| 287 |
SWIG_TypePrettyName(const swig_type_info *type) { |
|---|
| 288 |
|
|---|
| 289 |
|
|---|
| 290 |
|
|---|
| 291 |
|
|---|
| 292 |
if (type->str != NULL) { |
|---|
| 293 |
const char *last_name = type->str; |
|---|
| 294 |
const char *s; |
|---|
| 295 |
for (s = type->str; *s; s++) |
|---|
| 296 |
if (*s == '|') last_name = s+1; |
|---|
| 297 |
return last_name; |
|---|
| 298 |
} |
|---|
| 299 |
else |
|---|
| 300 |
return type->name; |
|---|
| 301 |
} |
|---|
| 302 |
|
|---|
| 303 |
|
|---|
| 304 |
|
|---|
| 305 |
|
|---|
| 306 |
SWIGRUNTIME void |
|---|
| 307 |
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
|---|
| 308 |
if (!ti->clientdata) { |
|---|
| 309 |
swig_cast_info *cast = ti->cast; |
|---|
| 310 |
|
|---|
| 311 |
ti->clientdata = clientdata; |
|---|
| 312 |
|
|---|
| 313 |
while (cast) { |
|---|
| 314 |
if (!cast->converter) |
|---|
| 315 |
SWIG_TypeClientData(cast->type, clientdata); |
|---|
| 316 |
cast = cast->next; |
|---|
| 317 |
} |
|---|
| 318 |
} |
|---|
| 319 |
} |
|---|
| 320 |
|
|---|
| 321 |
|
|---|
| 322 |
|
|---|
| 323 |
|
|---|
| 324 |
|
|---|
| 325 |
|
|---|
| 326 |
|
|---|
| 327 |
|
|---|
| 328 |
|
|---|
| 329 |
SWIGRUNTIME swig_type_info * |
|---|
| 330 |
SWIG_MangledTypeQueryModule(swig_module_info *start, |
|---|
| 331 |
swig_module_info *end, |
|---|
| 332 |
const char *name) { |
|---|
| 333 |
swig_module_info *iter = start; |
|---|
| 334 |
do { |
|---|
| 335 |
if (iter->size) { |
|---|
| 336 |
register size_t l = 0; |
|---|
| 337 |
register size_t r = iter->size - 1; |
|---|
| 338 |
do { |
|---|
| 339 |
|
|---|
| 340 |
register size_t i = (l + r) >> 1; |
|---|
| 341 |
const char *iname = iter->types[i]->name; |
|---|
| 342 |
if (iname) { |
|---|
| 343 |
register int compare = strcmp(name, iname); |
|---|
| 344 |
if (compare == 0) { |
|---|
| 345 |
return iter->types[i]; |
|---|
| 346 |
} else if (compare < 0) { |
|---|
| 347 |
if (i) { |
|---|
| 348 |
r = i - 1; |
|---|
| 349 |
} else { |
|---|
| 350 |
break; |
|---|
| 351 |
} |
|---|
| 352 |
} else if (compare > 0) { |
|---|
| 353 |
l = i + 1; |
|---|
| 354 |
} |
|---|
| 355 |
} else { |
|---|
| 356 |
break; |
|---|
| 357 |
} |
|---|
| 358 |
} while (l <= r); |
|---|
| 359 |
} |
|---|
| 360 |
iter = iter->next; |
|---|
| 361 |
} while (iter != end); |
|---|
| 362 |
return 0; |
|---|
| 363 |
} |
|---|
| 364 |
|
|---|
| 365 |
|
|---|
| 366 |
|
|---|
| 367 |
|
|---|
| 368 |
|
|---|
| 369 |
|
|---|
| 370 |
|
|---|
| 371 |
|
|---|
| 372 |
|
|---|
| 373 |
|
|---|
| 374 |
SWIGRUNTIME swig_type_info * |
|---|
| 375 |
SWIG_TypeQueryModule(swig_module_info *start, |
|---|
| 376 |
swig_module_info *end, |
|---|
| 377 |
const char *name) { |
|---|
| 378 |
|
|---|
| 379 |
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); |
|---|
| 380 |
if (ret) { |
|---|
| 381 |
return ret; |
|---|
| 382 |
} else { |
|---|
| 383 |
|
|---|
| 384 |
|
|---|
| 385 |
swig_module_info *iter = start; |
|---|
| 386 |
do { |
|---|
| 387 |
register size_t i = 0; |
|---|
| 388 |
for (; i < iter->size; ++i) { |
|---|
| 389 |
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) |
|---|
| 390 |
return iter->types[i]; |
|---|
| 391 |
} |
|---|
| 392 |
iter = iter->next; |
|---|
| 393 |
} while (iter != end); |
|---|
| 394 |
} |
|---|
| 395 |
|
|---|
| 396 |
|
|---|
| 397 |
return 0; |
|---|
| 398 |
} |
|---|
| 399 |
|
|---|
| 400 |
|
|---|
| 401 |
|
|---|
| 402 |
|
|---|
| 403 |
|
|---|
| 404 |
SWIGRUNTIME char * |
|---|
| 405 |
SWIG_PackData(char *c, void *ptr, size_t sz) { |
|---|
| 406 |
static const char hex[17] = "0123456789abcdef"; |
|---|
| 407 |
register const unsigned char *u = (unsigned char *) ptr; |
|---|
| 408 |
register const unsigned char *eu = u + sz; |
|---|
| 409 |
for (; u != eu; ++u) { |
|---|
| 410 |
register unsigned char uu = *u; |
|---|
| 411 |
*(c++) = hex[(uu & 0xf0) >> 4]; |
|---|
| 412 |
*(c++) = hex[uu & 0xf]; |
|---|
| 413 |
} |
|---|
| 414 |
return c; |
|---|
| 415 |
} |
|---|
| 416 |
|
|---|
| 417 |
|
|---|
| 418 |
|
|---|
| 419 |
|
|---|
| 420 |
SWIGRUNTIME const char * |
|---|
| 421 |
SWIG_UnpackData(const char *c, void *ptr, size_t sz) { |
|---|
| 422 |
register unsigned char *u = (unsigned char *) ptr; |
|---|
| 423 |
register const unsigned char *eu = u + sz; |
|---|
| 424 |
for (; u != eu; ++u) { |
|---|
| 425 |
register char d = *(c++); |
|---|
| 426 |
register unsigned char uu = 0; |
|---|
| 427 |
if ((d >= '0') && (d <= '9')) |
|---|
| 428 |
uu = ((d - '0') << 4); |
|---|
| 429 |
else if ((d >= 'a') && (d <= 'f')) |
|---|
| 430 |
uu = ((d - ('a'-10)) << 4); |
|---|
| 431 |
else |
|---|
| 432 |
return (char *) 0; |
|---|
| 433 |
d = *(c++); |
|---|
| 434 |
if ((d >= '0') && (d <= '9')) |
|---|
| 435 |
uu |= (d - '0'); |
|---|
| 436 |
else if ((d >= 'a') && (d <= 'f')) |
|---|
| 437 |
uu |= (d - ('a'-10)); |
|---|
| 438 |
else |
|---|
| 439 |
return (char *) 0; |
|---|
| 440 |
*u = uu; |
|---|
| 441 |
} |
|---|
| 442 |
return c; |
|---|
| 443 |
} |
|---|
| 444 |
|
|---|
| 445 |
|
|---|
| 446 |
|
|---|
| 447 |
|
|---|
| 448 |
SWIGRUNTIME char * |
|---|
| 449 |
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { |
|---|
| 450 |
char *r = buff; |
|---|
| 451 |
if ((2*sizeof(void *) + 2) > bsz) return 0; |
|---|
| 452 |
*(r++) = '_'; |
|---|
| 453 |
r = SWIG_PackData(r,&ptr,sizeof(void *)); |
|---|
| 454 |
if (strlen(name) + 1 > (bsz - (r - buff))) return 0; |
|---|
| 455 |
strcpy(r,name); |
|---|
| 456 |
return buff; |
|---|
| 457 |
} |
|---|
| 458 |
|
|---|
| 459 |
SWIGRUNTIME const char * |
|---|
| 460 |
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { |
|---|
| 461 |
if (*c != '_') { |
|---|
| 462 |
if (strcmp(c,"NULL") == 0) { |
|---|
| 463 |
*ptr = (void *) 0; |
|---|
| 464 |
return name; |
|---|
| 465 |
} else { |
|---|
| 466 |
return 0; |
|---|
| 467 |
} |
|---|
| 468 |
} |
|---|
| 469 |
return SWIG_UnpackData(++c,ptr,sizeof(void *)); |
|---|
| 470 |
} |
|---|
| 471 |
|
|---|
| 472 |
SWIGRUNTIME char * |
|---|
| 473 |
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { |
|---|
| 474 |
char *r = buff; |
|---|
| 475 |
size_t lname = (name ? strlen(name) : 0); |
|---|
| 476 |
if ((2*sz + 2 + lname) > bsz) return 0; |
|---|
| 477 |
*(r++) = '_'; |
|---|
| 478 |
r = SWIG_PackData(r,ptr,sz); |
|---|
| 479 |
if (lname) { |
|---|
| 480 |
strncpy(r,name,lname+1); |
|---|
| 481 |
} else { |
|---|
| 482 |
*r = 0; |
|---|
| 483 |
} |
|---|
| 484 |
return buff; |
|---|
| 485 |
} |
|---|
| 486 |
|
|---|
| 487 |
SWIGRUNTIME const char * |
|---|
| 488 |
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { |
|---|
| 489 |
if (*c != '_') { |
|---|
| 490 |
if (strcmp(c,"NULL") == 0) { |
|---|
| 491 |
memset(ptr,0,sz); |
|---|
| 492 |
return name; |
|---|
| 493 |
} else { |
|---|
| 494 |
return 0; |
|---|
| 495 |
} |
|---|
| 496 |
} |
|---|
| 497 |
return SWIG_UnpackData(++c,ptr,sz); |
|---|
| 498 |
} |
|---|
| 499 |
|
|---|
| 500 |
#ifdef __cplusplus |
|---|
| 501 |
} |
|---|
| 502 |
#endif |
|---|
| 503 |
|
|---|
| 504 |
|
|---|
| 505 |
|
|---|
| 506 |
|
|---|
| 507 |
|
|---|
| 508 |
#ifdef __cplusplus |
|---|
| 509 |
extern "C" { |
|---|
| 510 |
#endif |
|---|
| 511 |
|
|---|
| 512 |
|
|---|
| 513 |
|
|---|
| 514 |
|
|---|
| 515 |
|
|---|
| 516 |
#ifndef SWIGINTERN |
|---|
| 517 |
# define SWIGINTERN static SWIGUNUSED |
|---|
| 518 |
#endif |
|---|
| 519 |
|
|---|
| 520 |
#ifndef SWIGINTERNINLINE |
|---|
| 521 |
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE |
|---|
| 522 |
#endif |
|---|
| 523 |
|
|---|
| 524 |
|
|---|
| 525 |
|
|---|
| 526 |
|
|---|
| 527 |
#define SWIG_fail goto fail |
|---|
| 528 |
#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) |
|---|
| 529 |
#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) |
|---|
| 530 |
#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) |
|---|
| 531 |
#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) |
|---|
| 532 |
#define SWIG_null_ref(type) SWIG_Python_NullRef(type) |
|---|
| 533 |
|
|---|
| 534 |
|
|---|
| 535 |
|
|---|
| 536 |
|
|---|
| 537 |
#define SWIG_contract_assert(expr, msg) \ |
|---|
| 538 |
if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
|---|
| 539 |
|
|---|
| 540 |
|
|---|
| 541 |
|
|---|
| 542 |
|
|---|
| 543 |
|
|---|
| 544 |
|
|---|
| 545 |
#define SWIG_PY_INT 1 |
|---|
| 546 |
#define SWIG_PY_FLOAT 2 |
|---|
| 547 |
#define SWIG_PY_STRING 3 |
|---|
| 548 |
#define SWIG_PY_POINTER 4 |
|---|
| 549 |
#define SWIG_PY_BINARY 5 |
|---|
| 550 |
|
|---|
| 551 |
|
|---|
| 552 |
typedef struct swig_const_info { |
|---|
| 553 |
int type; |
|---|
| 554 |
char *name; |
|---|
| 555 |
long lvalue; |
|---|
| 556 |
double dvalue; |
|---|
| 557 |
void *pvalue; |
|---|
| 558 |
swig_type_info **ptype; |
|---|
| 559 |
} swig_const_info; |
|---|
| 560 |
|
|---|
| 561 |
|
|---|
| 562 |
|
|---|
| 563 |
|
|---|
| 564 |
|
|---|
| 565 |
#define SWIG_OLDOBJ 1 |
|---|
| 566 |
#define SWIG_NEWOBJ SWIG_OLDOBJ + 1 |
|---|
| 567 |
#define SWIG_PYSTR SWIG_NEWOBJ + 1 |
|---|
| 568 |
|
|---|
| 569 |
#ifdef __cplusplus |
|---|
| 570 |
} |
|---|
| 571 |
#endif |
|---|
| 572 |
|
|---|
| 573 |
|
|---|
| 574 |
|
|---|
| 575 |
|
|---|
| 576 |
|
|---|
| 577 |
|
|---|
| 578 |
|
|---|
| 579 |
|
|---|
| 580 |
|
|---|
| 581 |
|
|---|
| 582 |
|
|---|
| 583 |
|
|---|
| 584 |
|
|---|
| 585 |
#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) |
|---|
| 586 |
#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) |
|---|
| 587 |
#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) |
|---|
| 588 |
|
|---|
| 589 |
|
|---|
| 590 |
|
|---|
| 591 |
#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) |
|---|
| 592 |
#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) |
|---|
| 593 |
|
|---|
| 594 |
|
|---|
| 595 |
#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() |
|---|
| 596 |
#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) |
|---|
|
|---|