1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
18 /*************************************************************** -*- c -*-
19 * python/precommon.swg
21 * Rename all exported symbols from common.swg, to avoid symbol
22 * clashes if multiple interpreters are included
24 ************************************************************************/
26 #define SWIG_TypeRegister SWIG_Python_TypeRegister
27 #define SWIG_TypeCheck SWIG_Python_TypeCheck
28 #define SWIG_TypeCast SWIG_Python_TypeCast
29 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
30 #define SWIG_TypeName SWIG_Python_TypeName
31 #define SWIG_TypeQuery SWIG_Python_TypeQuery
32 #define SWIG_TypeClientData SWIG_Python_TypeClientData
33 #define SWIG_PackData SWIG_Python_PackData
34 #define SWIG_UnpackData SWIG_Python_UnpackData
37 /***********************************************************************
40 * This file contains generic SWIG runtime support for pointer
41 * type checking as well as a few commonly used macros to control
44 * Author : David Beazley (beazley@cs.uchicago.edu)
46 * Copyright (c) 1999-2000, The University of Chicago
48 * This file may be freely redistributed without license or fee provided
49 * this copyright message remains intact.
50 ************************************************************************/
54 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
55 # if defined(_MSC_VER) || defined(__GNUC__)
56 # if defined(STATIC_LINKED)
57 # define SWIGEXPORT(a) a
58 # define SWIGIMPORT(a) extern a
60 # define SWIGEXPORT(a) __declspec(dllexport) a
61 # define SWIGIMPORT(a) extern a
64 # if defined(__BORLANDC__)
65 # define SWIGEXPORT(a) a _export
66 # define SWIGIMPORT(a) a _export
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) a
73 # define SWIGEXPORT(a) a
74 # define SWIGIMPORT(a) a
78 # define SWIGRUNTIME(a) SWIGEXPORT(a)
80 # define SWIGRUNTIME(a) static a
87 typedef void *(*swig_converter_func
)(void *);
88 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
90 typedef struct swig_type_info
{
92 swig_converter_func converter
;
95 swig_dycast_func dcast
;
96 struct swig_type_info
*next
;
97 struct swig_type_info
*prev
;
100 #ifdef SWIG_NOINCLUDE
102 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
103 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
104 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
105 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
106 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
107 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
108 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
109 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
110 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
114 static swig_type_info
*swig_type_list
= 0;
116 /* Register a type mapping with the type-checking */
117 SWIGRUNTIME(swig_type_info
*)
118 SWIG_TypeRegister(swig_type_info
*ti
) {
119 swig_type_info
*tc
, *head
, *ret
, *next
;
120 /* Check to see if this type has already been registered */
123 if (strcmp(tc
->name
, ti
->name
) == 0) {
124 /* Already exists in the table. Just add additional types to the list */
125 if (tc
->clientdata
) ti
->clientdata
= tc
->clientdata
;
136 ti
->prev
= swig_type_list
;
139 /* Build linked lists */
143 /* Patch up the rest of the links */
150 if (next
) next
->prev
= head
;
155 /* Check the typename */
156 SWIGRUNTIME(swig_type_info
*)
157 SWIG_TypeCheck(char *c
, swig_type_info
*ty
) {
159 if (!ty
) return 0; /* Void pointer */
160 s
= ty
->next
; /* First element always just a name */
162 if (strcmp(s
->name
,c
) == 0) {
163 if (s
== ty
->next
) return s
;
164 /* Move s to the top of the linked list */
165 s
->prev
->next
= s
->next
;
167 s
->next
->prev
= s
->prev
;
169 /* Insert s as second element in the list */
171 if (ty
->next
) ty
->next
->prev
= s
;
177 } while (s
&& (s
!= ty
->next
));
181 /* Cast a pointer up an inheritance hierarchy */
183 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
184 if ((!ty
) || (!ty
->converter
)) return ptr
;
185 return (*ty
->converter
)(ptr
);
188 /* Dynamic pointer casting. Down an inheritance hierarchy */
189 SWIGRUNTIME(swig_type_info
*)
190 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
191 swig_type_info
*lastty
= ty
;
192 if (!ty
|| !ty
->dcast
) return ty
;
193 while (ty
&& (ty
->dcast
)) {
194 ty
= (*ty
->dcast
)(ptr
);
200 /* Return the name associated with this type */
201 SWIGRUNTIME(const char *)
202 SWIG_TypeName(const swig_type_info
*ty
) {
207 Compare two type names skipping the space characters, therefore
208 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
210 Return 0 when the two name types are equivalent, as in
211 strncmp, but skipping ' '.
214 SWIG_TypeNameComp(const char *f1
, const char *l1
,
215 const char *f2
, const char *l2
) {
216 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
217 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
218 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
219 if (*f1
!= *f2
) return *f1
- *f2
;
221 return (l1
- f1
) - (l2
- f2
);
225 Check type equivalence in a name list like <name1>|<name2>|...
228 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
230 const char* te
= tb
+ strlen(tb
);
232 while (!equiv
&& *ne
) {
233 for (nb
= ne
; *ne
; ++ne
) {
234 if (*ne
== '|') break;
236 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
243 /* Search for a swig_type_info structure */
244 SWIGRUNTIME(swig_type_info
*)
245 SWIG_TypeQuery(const char *name
) {
246 swig_type_info
*ty
= swig_type_list
;
248 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
249 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
255 /* Set the clientdata field for a type */
257 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
258 swig_type_info
*tc
, *equiv
;
259 if (ti
->clientdata
== clientdata
) return;
260 ti
->clientdata
= clientdata
;
263 if (!equiv
->converter
) {
266 if ((strcmp(tc
->name
, equiv
->name
) == 0))
267 SWIG_TypeClientData(tc
,clientdata
);
275 /* Pack binary data into a string */
277 SWIG_PackData(char *c
, void *ptr
, int sz
) {
278 static char hex
[17] = "0123456789abcdef";
280 unsigned char *u
= (unsigned char *) ptr
;
281 register unsigned char uu
;
282 for (i
= 0; i
< sz
; i
++,u
++) {
284 *(c
++) = hex
[(uu
& 0xf0) >> 4];
285 *(c
++) = hex
[uu
& 0xf];
290 /* Unpack binary data from a string */
292 SWIG_UnpackData(char *c
, void *ptr
, int sz
) {
293 register unsigned char uu
= 0;
295 unsigned char *u
= (unsigned char *) ptr
;
297 for (i
= 0; i
< sz
; i
++, u
++) {
299 if ((d
>= '0') && (d
<= '9'))
300 uu
= ((d
- '0') << 4);
301 else if ((d
>= 'a') && (d
<= 'f'))
302 uu
= ((d
- ('a'-10)) << 4);
304 if ((d
>= '0') && (d
<= '9'))
306 else if ((d
>= 'a') && (d
<= 'f'))
307 uu
|= (d
- ('a'-10));
319 /***********************************************************************
322 * This file contains the runtime support for Python modules
323 * and includes code for managing global variables and pointer
326 * Author : David Beazley (beazley@cs.uchicago.edu)
327 ************************************************************************/
335 #define SWIG_PY_INT 1
336 #define SWIG_PY_FLOAT 2
337 #define SWIG_PY_STRING 3
338 #define SWIG_PY_POINTER 4
339 #define SWIG_PY_BINARY 5
341 /* Flags for pointer conversion */
343 #define SWIG_POINTER_EXCEPTION 0x1
344 #define SWIG_POINTER_DISOWN 0x2
346 /* Exception handling in wrappers */
347 #define SWIG_fail goto fail
349 /* Constant information structure */
350 typedef struct swig_const_info
{
356 swig_type_info
**ptype
;
359 /* Common SWIG API */
360 #define SWIG_ConvertPtr(obj, pp, type, flags) \
361 SWIG_Python_ConvertPtr(obj, pp, type, flags)
362 #define SWIG_NewPointerObj(p, type, flags) \
363 SWIG_Python_NewPointerObj(p, type, flags)
364 #define SWIG_MustGetPtr(p, type, argnum, flags) \
365 SWIG_Python_MustGetPtr(p, type, argnum, flags)
367 /* Python-specific SWIG API */
368 #define SWIG_newvarlink() \
369 SWIG_Python_newvarlink()
370 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
371 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
372 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
373 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
374 #define SWIG_NewPackedObj(ptr, sz, type) \
375 SWIG_Python_NewPackedObj(ptr, sz, type)
376 #define SWIG_InstallConstants(d, constants) \
377 SWIG_Python_InstallConstants(d, constants)
379 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
381 #ifdef SWIG_NOINCLUDE
383 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
384 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
385 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
386 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
387 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
388 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
389 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
390 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
396 /* -----------------------------------------------------------------------------
397 * global variable support code.
398 * ----------------------------------------------------------------------------- */
400 typedef struct swig_globalvar
{
401 char *name
; /* Name of global variable */
402 PyObject
*(*get_attr
)(void); /* Return the current value */
403 int (*set_attr
)(PyObject
*); /* Set the value */
404 struct swig_globalvar
*next
;
407 typedef struct swig_varlinkobject
{
409 swig_globalvar
*vars
;
410 } swig_varlinkobject
;
413 swig_varlink_repr(swig_varlinkobject
*v
) {
415 return PyString_FromString("<Global variables>");
419 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
422 fprintf(fp
,"Global variables { ");
423 for (var
= v
->vars
; var
; var
=var
->next
) {
424 fprintf(fp
,"%s", var
->name
);
425 if (var
->next
) fprintf(fp
,", ");
432 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
433 swig_globalvar
*var
= v
->vars
;
435 if (strcmp(var
->name
,n
) == 0) {
436 return (*var
->get_attr
)();
440 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
445 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
446 swig_globalvar
*var
= v
->vars
;
448 if (strcmp(var
->name
,n
) == 0) {
449 return (*var
->set_attr
)(p
);
453 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
457 statichere PyTypeObject varlinktype
= {
458 PyObject_HEAD_INIT(0)
459 0, /* Number of items in variable part (ob_size) */
460 (char *)"swigvarlink", /* Type name (tp_name) */
461 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
462 0, /* Itemsize (tp_itemsize) */
463 0, /* Deallocator (tp_dealloc) */
464 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
465 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
466 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
468 (reprfunc
) swig_varlink_repr
, /* tp_repr */
469 0, /* tp_as_number */
470 0, /* tp_as_sequence */
471 0, /* tp_as_mapping */
477 0, /* tp_as_buffer */
482 0, /* tp_richcompare */
483 0, /* tp_weaklistoffset */
491 0, /* tp_descr_get */
492 0, /* tp_descr_set */
493 0, /* tp_dictoffset */
502 0, /* tp_subclasses */
506 /* Create a variable linking object for use later */
507 SWIGRUNTIME(PyObject
*)
508 SWIG_Python_newvarlink(void) {
509 swig_varlinkobject
*result
= 0;
510 result
= PyMem_NEW(swig_varlinkobject
,1);
511 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
512 result
->ob_type
= &varlinktype
;
514 result
->ob_refcnt
= 0;
515 Py_XINCREF((PyObject
*) result
);
516 return ((PyObject
*) result
);
520 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
521 swig_varlinkobject
*v
;
523 v
= (swig_varlinkobject
*) p
;
524 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
525 gv
->name
= (char *) malloc(strlen(name
)+1);
526 strcpy(gv
->name
,name
);
527 gv
->get_attr
= get_attr
;
528 gv
->set_attr
= set_attr
;
533 /* Convert a pointer value */
535 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
538 static PyObject
*SWIG_this
= 0;
543 if (obj
== Py_None
) {
547 #ifdef SWIG_COBJECT_TYPES
548 if (!(PyCObject_Check(obj
))) {
550 SWIG_this
= PyString_FromString("this");
552 obj
= PyObject_GetAttr(obj
,SWIG_this
);
554 if (!obj
) goto type_error
;
555 if (!PyCObject_Check(obj
)) {
560 *ptr
= PyCObject_AsVoidPtr(obj
);
561 c
= (char *) PyCObject_GetDesc(obj
);
562 if (newref
) Py_DECREF(obj
);
565 if (!(PyString_Check(obj
))) {
567 SWIG_this
= PyString_FromString("this");
569 obj
= PyObject_GetAttr(obj
,SWIG_this
);
571 if (!obj
) goto type_error
;
572 if (!PyString_Check(obj
)) {
577 c
= PyString_AsString(obj
);
578 /* Pointer values must start with leading underscore */
581 if (strcmp(c
,"NULL") == 0) {
582 if (newref
) { Py_DECREF(obj
); }
585 if (newref
) { Py_DECREF(obj
); }
590 c
= SWIG_UnpackData(c
,ptr
,sizeof(void *));
591 if (newref
) { Py_DECREF(obj
); }
594 #ifdef SWIG_COBJECT_TYPES
599 tc
= SWIG_TypeCheck(c
,ty
);
600 if (!tc
) goto type_error
;
601 *ptr
= SWIG_TypeCast(tc
,(void*) *ptr
);
604 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
605 PyObject
*zero
= PyInt_FromLong(0);
606 PyObject_SetAttrString(pyobj
,(char*)"thisown",zero
);
612 if (flags
& SWIG_POINTER_EXCEPTION
) {
615 PyString_FromFormat("Type error. Got %s, expected %s",c
,ty
->name
);
616 PyErr_SetObject(PyExc_TypeError
, err
);
619 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
625 /* Convert a pointer value, signal an exception on a type mismatch */
627 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
629 SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
| SWIG_POINTER_EXCEPTION
);
633 /* Convert a packed value value */
635 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, int sz
, swig_type_info
*ty
, int flags
) {
639 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
640 c
= PyString_AsString(obj
);
641 /* Pointer values must start with leading underscore */
642 if (*c
!= '_') goto type_error
;
644 c
= SWIG_UnpackData(c
,ptr
,sz
);
646 tc
= SWIG_TypeCheck(c
,ty
);
647 if (!tc
) goto type_error
;
656 PyString_FromFormat("Type error. Got %s, expected %s",c
,ty
->name
);
657 PyErr_SetObject(PyExc_TypeError
, err
);
660 PyErr_SetString(PyExc_TypeError
,"Expected a pointer");
666 /* Create a new pointer object */
667 SWIGRUNTIME(PyObject
*)
668 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
674 #ifdef SWIG_COBJECT_TYPES
675 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) type
->name
, NULL
);
681 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
682 strcpy(r
,type
->name
);
683 robj
= PyString_FromString(result
);
686 if (!robj
|| (robj
== Py_None
)) return robj
;
687 if (type
->clientdata
) {
689 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
691 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
695 PyObject
*n
= PyInt_FromLong(1);
696 PyObject_SetAttrString(inst
,(char*)"thisown",n
);
705 SWIGRUNTIME(PyObject
*)
706 SWIG_Python_NewPackedObj(void *ptr
, int sz
, swig_type_info
*type
) {
709 if ((2*sz
+ 1 + strlen(type
->name
)) > 1000) return 0;
711 r
= SWIG_PackData(r
,ptr
,sz
);
712 strcpy(r
,type
->name
);
713 return PyString_FromString(result
);
716 /* Install Constants */
718 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
721 for (i
= 0; constants
[i
].type
; i
++) {
722 switch(constants
[i
].type
) {
724 obj
= PyInt_FromLong(constants
[i
].lvalue
);
727 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
730 if (constants
[i
].pvalue
) {
731 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
737 case SWIG_PY_POINTER
:
738 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
741 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
748 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
756 /* Contract support */
758 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
765 /* -------- TYPES TABLE (BEGIN) -------- */
767 #define SWIGTYPE_p_char swig_types[0]
768 static swig_type_info
*swig_types
[2];
770 /* -------- TYPES TABLE (END) -------- */
773 /*-----------------------------------------------
774 @(target):= _swigrun.so
775 ------------------------------------------------*/
776 #define SWIG_init init_swigrun
778 #define SWIG_name "_swigrun"
780 /* Auxiliar swig macros */
783 #define SWIGSTATICINLINE(a) static inline a
784 #define SWIGSTATIC(a) static a
785 #define swig_new_array(type, size) (new type[(size)])
786 #define swig_delete_array(cptr) delete[] cptr
787 #define swig_const_cast(type,a) const_cast<type>(a)
788 #define swig_static_cast(type,a) static_cast<type>(a)
789 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
791 #ifdef HAVE_NUMERIC_CAST
792 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
794 #define swig_numeric_cast(type,a) static_cast<type>(a)
799 #define SWIGSTATICINLINE(a) static a
800 #define SWIGSTATIC(a) static a
801 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
802 #define swig_delete_array(cptr) free((char*)cptr)
803 #define swig_const_cast(type,a) (type)(a)
804 #define swig_static_cast(type,a) (type)(a)
805 #define swig_reinterpret_cast(type,a) (type)(a)
806 #define swig_numeric_cast(type,a) (type)(a)
808 #endif /* __cplusplus */
811 #define SWIG_FromSignedChar PyInt_FromLong
812 #define SWIG_FromUnsignedChar PyInt_FromLong
813 #define SWIG_FromShort PyInt_FromLong
814 #define SWIG_FromUnsignedShort PyInt_FromLong
815 #define SWIG_FromInt PyInt_FromLong
816 #define SWIG_FromLong PyInt_FromLong
817 #define SWIG_FromFloat PyFloat_FromDouble
818 #define SWIG_FromDouble PyFloat_FromDouble
819 #define SWIG_FromFloat PyFloat_FromDouble
820 #define SWIG_FromDouble PyFloat_FromDouble
825 static PyMethodDef SwigMethods
[] = {
830 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
832 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
834 static swig_type_info
*swig_types_initial
[] = {
840 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
842 static swig_const_info swig_const_table
[] = {
852 SWIGEXPORT(void) SWIG_init(void) {
853 static PyObject
*SWIG_globals
= 0;
854 static int typeinit
= 0;
857 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
858 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
859 d
= PyModule_GetDict(m
);
862 for (i
= 0; swig_types_initial
[i
]; i
++) {
863 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
867 SWIG_InstallConstants(d
,swig_const_table
);